sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105
  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.1\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.defineGetter(J.get$$prototype$x(t1._as(new A.FunctionExpression0(_null, A.stringReplaceAllUnchecked("a", "_", "-"), "a", $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure6(), _null);
  30157. A.defineGetter(J.get$$prototype$x(t1._as(new A.IfExpression0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure7(), _null);
  30158. A.defineGetter(J.get$$prototype$x(t1._as(new A.InterpolatedFunctionExpression0(t2, $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure8(), _null);
  30159. A._addSupportsConditionToInterpolation();
  30160. 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) {
  30161. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30162. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure9()), enumerable: false};
  30163. self.Object.defineProperty(t3, "span", t4);
  30164. }
  30165. },
  30166. _addSupportsConditionToInterpolation() {
  30167. var t3, _i, $function, t4,
  30168. t1 = $.$get$_interpolation(),
  30169. t2 = $.$get$bogusSpan0(),
  30170. anything = new A.SupportsAnything0(t1, t2);
  30171. 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) {
  30172. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30173. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30174. t4 = {value: "toInterpolation", enumerable: false};
  30175. self.Object.defineProperty($function, "name", t4);
  30176. A._hideDartProperties($function);
  30177. t1.toInterpolation = $function;
  30178. }
  30179. },
  30180. _parse(css, syntax, path) {
  30181. var t1;
  30182. $label0$0: {
  30183. if ("scss" === syntax) {
  30184. t1 = B.Syntax_SCSS_scss0;
  30185. break $label0$0;
  30186. }
  30187. if ("sass" === syntax) {
  30188. t1 = B.Syntax_Sass_sass0;
  30189. break $label0$0;
  30190. }
  30191. if ("css" === syntax) {
  30192. t1 = B.Syntax_CSS_css0;
  30193. break $label0$0;
  30194. }
  30195. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30196. }
  30197. return A.Stylesheet_Stylesheet$parse0(css, t1, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30198. },
  30199. _parseIdentifier(identifier) {
  30200. var t1, exception;
  30201. try {
  30202. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30203. return t1;
  30204. } catch (exception) {
  30205. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30206. return null;
  30207. else
  30208. throw exception;
  30209. }
  30210. },
  30211. _toCssIdentifier(text) {
  30212. return A.StringExtension_toCssIdentifier(text);
  30213. },
  30214. ParserExports: function ParserExports() {
  30215. },
  30216. loadParserExports_closure: function loadParserExports_closure() {
  30217. },
  30218. loadParserExports_closure0: function loadParserExports_closure0() {
  30219. },
  30220. loadParserExports_closure1: function loadParserExports_closure1() {
  30221. },
  30222. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30223. },
  30224. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30225. },
  30226. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30227. },
  30228. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30229. },
  30230. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30231. },
  30232. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30233. },
  30234. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30235. },
  30236. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30237. },
  30238. _updateAstPrototypes_closure7: function _updateAstPrototypes_closure7() {
  30239. },
  30240. _updateAstPrototypes_closure8: function _updateAstPrototypes_closure8() {
  30241. },
  30242. _updateAstPrototypes_closure9: function _updateAstPrototypes_closure9() {
  30243. },
  30244. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30245. },
  30246. Parser_isIdentifier0(text) {
  30247. var exception;
  30248. try {
  30249. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30250. return true;
  30251. } catch (exception) {
  30252. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30253. return false;
  30254. else
  30255. throw exception;
  30256. }
  30257. },
  30258. Parser1: function Parser1(t0, t1) {
  30259. this.scanner = t0;
  30260. this._parser1$_interpolationMap = t1;
  30261. },
  30262. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30263. this.$this = t0;
  30264. },
  30265. Parser_escape_closure0: function Parser_escape_closure0() {
  30266. },
  30267. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30268. this.caseSensitive = t0;
  30269. this.char = t1;
  30270. },
  30271. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30272. this.$this = t0;
  30273. this.span = t1;
  30274. },
  30275. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30276. this.name = t0;
  30277. this.span = t1;
  30278. },
  30279. PlainCssCallable0: function PlainCssCallable0(t0) {
  30280. this.name = t0;
  30281. },
  30282. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30283. this._prefixed_map_view0$_map = t0;
  30284. this._prefixed_map_view0$_prefix = t1;
  30285. this.$ti = t2;
  30286. },
  30287. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30288. this._prefixed_map_view0$_view = t0;
  30289. },
  30290. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30291. this.$this = t0;
  30292. },
  30293. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30294. this.name = t0;
  30295. this._space$_channels = t1;
  30296. },
  30297. PseudoSelector$0($name, span, argument, element, selector) {
  30298. var t1 = !element,
  30299. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30300. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30301. },
  30302. PseudoSelector__isFakePseudoElement0($name) {
  30303. switch ($name.charCodeAt(0)) {
  30304. case 97:
  30305. case 65:
  30306. return A.equalsIgnoreCase0($name, "after");
  30307. case 98:
  30308. case 66:
  30309. return A.equalsIgnoreCase0($name, "before");
  30310. case 102:
  30311. case 70:
  30312. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30313. default:
  30314. return false;
  30315. }
  30316. },
  30317. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30318. var _ = this;
  30319. _.name = t0;
  30320. _.normalizedName = t1;
  30321. _.isClass = t2;
  30322. _.isSyntacticClass = t3;
  30323. _.argument = t4;
  30324. _.selector = t5;
  30325. _._pseudo$__PseudoSelector_specificity_FI = $;
  30326. _.span = t6;
  30327. },
  30328. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30329. this.$this = t0;
  30330. },
  30331. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30332. },
  30333. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30334. },
  30335. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30336. },
  30337. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30338. this._public_member_map_view0$_inner = t0;
  30339. this.$ti = t1;
  30340. },
  30341. QualifiedName0: function QualifiedName0(t0, t1) {
  30342. this.name = t0;
  30343. this.namespace = t1;
  30344. },
  30345. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30346. this.name = t0;
  30347. this._space$_channels = t1;
  30348. },
  30349. createJSClass($name, $constructor) {
  30350. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30351. },
  30352. JSClassExtension_injectSuperclass(_this, superclass) {
  30353. var t1 = J.getInterceptor$x(superclass),
  30354. t2 = J.getInterceptor$x(_this);
  30355. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30356. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30357. },
  30358. JSClassExtension_setCustomInspect(_this, inspect) {
  30359. if (self.util == null)
  30360. return;
  30361. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30362. },
  30363. JSClassExtension_get_defineStaticMethod(_this) {
  30364. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30365. },
  30366. JSClassExtension_get_defineMethod(_this) {
  30367. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30368. },
  30369. JSClassExtension_defineMethods(_this, methods) {
  30370. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30371. },
  30372. JSClassExtension_get_defineGetter(_this) {
  30373. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30374. },
  30375. JSClass0: function JSClass0() {
  30376. },
  30377. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30378. this.inspect = t0;
  30379. },
  30380. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30381. this._this = t0;
  30382. },
  30383. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30384. this._this = t0;
  30385. },
  30386. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30387. this._this = t0;
  30388. },
  30389. RenderContext0: function RenderContext0() {
  30390. },
  30391. RenderContextOptions0: function RenderContextOptions0() {
  30392. },
  30393. RenderContextResult0: function RenderContextResult0() {
  30394. },
  30395. RenderContextResultStats0: function RenderContextResultStats0() {
  30396. },
  30397. RenderOptions: function RenderOptions() {
  30398. },
  30399. RenderResult: function RenderResult() {
  30400. },
  30401. RenderResultStats: function RenderResultStats() {
  30402. },
  30403. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30404. },
  30405. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30406. this.$this = t0;
  30407. },
  30408. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30409. this.$this = t0;
  30410. },
  30411. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30412. this.$this = t0;
  30413. },
  30414. ImporterResult$(contents, sourceMapUrl, syntax) {
  30415. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30416. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30417. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30418. },
  30419. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30420. this.contents = t0;
  30421. this._result$_sourceMapUrl = t1;
  30422. this.syntax = t2;
  30423. },
  30424. ReturnRule0: function ReturnRule0(t0, t1) {
  30425. this.expression = t0;
  30426. this.span = t1;
  30427. },
  30428. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30429. this.name = t0;
  30430. this._space$_channels = t1;
  30431. },
  30432. SassParser0: function SassParser0(t0, t1, t2, t3) {
  30433. var _ = this;
  30434. _._sass0$_currentIndentation = 0;
  30435. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30436. _._stylesheet0$_isUseAllowed = true;
  30437. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30438. _._stylesheet0$_globalVariables = t0;
  30439. _.warnings = t1;
  30440. _.lastSilentComment = null;
  30441. _.scanner = t2;
  30442. _._parser1$_interpolationMap = t3;
  30443. },
  30444. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30445. },
  30446. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30447. this.$this = t0;
  30448. this.child = t1;
  30449. this.children = t2;
  30450. },
  30451. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30452. },
  30453. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30454. },
  30455. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30456. },
  30457. _translateReturnValue(val) {
  30458. if (val instanceof A._Future)
  30459. return A.futureToPromise(val, type$.dynamic);
  30460. else
  30461. return val;
  30462. },
  30463. main2() {
  30464. new Uint8Array(0);
  30465. A.main();
  30466. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30467. },
  30468. _wrapMain(main) {
  30469. if (type$.dynamic_Function._is(main))
  30470. return A.allowInterop(new A._wrapMain_closure(main));
  30471. else
  30472. return A.allowInterop(new A._wrapMain_closure0(main));
  30473. },
  30474. _Exports: function _Exports() {
  30475. },
  30476. _wrapMain_closure: function _wrapMain_closure(t0) {
  30477. this.main = t0;
  30478. },
  30479. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30480. this.main = t0;
  30481. },
  30482. ScssParser$0(contents, url) {
  30483. 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);
  30484. },
  30485. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  30486. var _ = this;
  30487. _._stylesheet0$_isUseAllowed = true;
  30488. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30489. _._stylesheet0$_globalVariables = t0;
  30490. _.warnings = t1;
  30491. _.lastSilentComment = null;
  30492. _.scanner = t2;
  30493. _._parser1$_interpolationMap = t3;
  30494. },
  30495. Selector0: function Selector0() {
  30496. },
  30497. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30498. this.includeBogus = t0;
  30499. },
  30500. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30501. this.includeLeadingCombinator = t0;
  30502. },
  30503. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30504. this.$this = t0;
  30505. },
  30506. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30507. },
  30508. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30509. this.$this = t0;
  30510. },
  30511. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30512. },
  30513. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30514. },
  30515. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30516. },
  30517. SelectorExpression0: function SelectorExpression0(t0) {
  30518. this.span = t0;
  30519. },
  30520. _prependParent0(compound) {
  30521. var _0_3, _0_4, t2, _0_4_isSet, t3, rest,
  30522. t1 = A.EvaluationContext_currentOrNull0(),
  30523. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30524. _0_0 = compound.components;
  30525. $label0$0: {
  30526. _0_3 = _0_0.length >= 1;
  30527. if (_0_3) {
  30528. _0_4 = _0_0[0];
  30529. t1 = _0_4 instanceof A.UniversalSelector0;
  30530. } else {
  30531. _0_4 = null;
  30532. t1 = false;
  30533. }
  30534. t2 = null;
  30535. if (t1) {
  30536. t1 = t2;
  30537. break $label0$0;
  30538. }
  30539. t1 = false;
  30540. if (_0_3) {
  30541. _0_4_isSet = true;
  30542. t3 = _0_4;
  30543. if (t3 instanceof A.TypeSelector0) {
  30544. t1 = _0_4;
  30545. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30546. }
  30547. } else
  30548. _0_4_isSet = _0_3;
  30549. if (t1) {
  30550. t1 = t2;
  30551. break $label0$0;
  30552. }
  30553. if (_0_3) {
  30554. if (_0_4_isSet)
  30555. t1 = _0_4;
  30556. else {
  30557. _0_4 = _0_0[0];
  30558. t1 = _0_4;
  30559. _0_4_isSet = true;
  30560. }
  30561. t1 = t1 instanceof A.TypeSelector0;
  30562. } else
  30563. t1 = false;
  30564. if (t1) {
  30565. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  30566. type$.TypeSelector_2._as(t1);
  30567. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30568. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30569. B.JSArray_methods.addAll$1(t1, rest);
  30570. t1 = A.CompoundSelector$0(t1, span);
  30571. break $label0$0;
  30572. }
  30573. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30574. B.JSArray_methods.addAll$1(t1, _0_0);
  30575. t1 = A.CompoundSelector$0(t1, span);
  30576. break $label0$0;
  30577. }
  30578. return t1;
  30579. },
  30580. _function8($name, $arguments, callback) {
  30581. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30582. },
  30583. _nest_closure0: function _nest_closure0() {
  30584. },
  30585. _nest__closure1: function _nest__closure1(t0) {
  30586. this._box_0 = t0;
  30587. },
  30588. _nest__closure2: function _nest__closure2() {
  30589. },
  30590. _append_closure1: function _append_closure1() {
  30591. },
  30592. _append__closure1: function _append__closure1() {
  30593. },
  30594. _append__closure2: function _append__closure2(t0) {
  30595. this.span = t0;
  30596. },
  30597. _append___closure0: function _append___closure0(t0, t1) {
  30598. this.parent = t0;
  30599. this.span = t1;
  30600. },
  30601. _extend_closure0: function _extend_closure0() {
  30602. },
  30603. _replace_closure0: function _replace_closure0() {
  30604. },
  30605. _unify_closure0: function _unify_closure0() {
  30606. },
  30607. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30608. },
  30609. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30610. },
  30611. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30612. },
  30613. _parse_closure0: function _parse_closure0() {
  30614. },
  30615. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30616. var _ = this;
  30617. _._selector$_allowParent = t0;
  30618. _._selector$_plainCss = t1;
  30619. _.scanner = t2;
  30620. _._parser1$_interpolationMap = t3;
  30621. },
  30622. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30623. this.$this = t0;
  30624. },
  30625. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30626. this.$this = t0;
  30627. },
  30628. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30629. },
  30630. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30631. this.$this = t0;
  30632. },
  30633. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30634. this.$this = t0;
  30635. },
  30636. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30637. var t1, css, t2, prefix,
  30638. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30639. node.accept$1(visitor);
  30640. t1 = visitor._serialize0$_buffer;
  30641. css = t1.toString$0(0);
  30642. if (charset) {
  30643. t2 = new A.CodeUnits(css);
  30644. t2 = t2.any$1(t2, new A.serialize_closure0());
  30645. } else
  30646. t2 = false;
  30647. if (t2)
  30648. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30649. else
  30650. prefix = "";
  30651. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30652. return new A._Record_2_sourceMap(prefix + css, t1);
  30653. },
  30654. serializeValue0(value, inspect, quote) {
  30655. var _null = null,
  30656. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30657. value.accept$1(visitor);
  30658. return visitor._serialize0$_buffer.toString$0(0);
  30659. },
  30660. serializeSelector0(selector, inspect) {
  30661. var _null = null,
  30662. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30663. selector.accept$1(visitor);
  30664. return visitor._serialize0$_buffer.toString$0(0);
  30665. },
  30666. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30667. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30668. t2 = style == null ? B.OutputStyle_00 : style,
  30669. t3 = useSpaces ? 32 : 9,
  30670. t4 = indentWidth == null ? 2 : indentWidth,
  30671. t5 = lineFeed == null ? B.LineFeed_9HY : lineFeed,
  30672. t6 = logger == null ? B.StderrLogger_false0 : logger;
  30673. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30674. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5, t6);
  30675. },
  30676. serialize_closure0: function serialize_closure0() {
  30677. },
  30678. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  30679. var _ = this;
  30680. _._serialize0$_buffer = t0;
  30681. _._serialize0$_indentation = 0;
  30682. _._serialize0$_style = t1;
  30683. _._serialize0$_inspect = t2;
  30684. _._serialize0$_quote = t3;
  30685. _._serialize0$_indentCharacter = t4;
  30686. _._serialize0$_indentWidth = t5;
  30687. _._lineFeed = t6;
  30688. _._serialize0$_logger = t7;
  30689. },
  30690. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30691. this.$this = t0;
  30692. this.node = t1;
  30693. },
  30694. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30695. this.$this = t0;
  30696. this.node = t1;
  30697. },
  30698. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30699. this.$this = t0;
  30700. this.node = t1;
  30701. },
  30702. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30703. this.$this = t0;
  30704. this.node = t1;
  30705. },
  30706. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30707. this.$this = t0;
  30708. this.node = t1;
  30709. },
  30710. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30711. this.$this = t0;
  30712. this.node = t1;
  30713. },
  30714. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30715. this.$this = t0;
  30716. this.node = t1;
  30717. },
  30718. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30719. this.$this = t0;
  30720. this.node = t1;
  30721. },
  30722. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30723. this.$this = t0;
  30724. this.node = t1;
  30725. },
  30726. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30727. this.$this = t0;
  30728. this.node = t1;
  30729. },
  30730. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30731. },
  30732. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30733. this.$this = t0;
  30734. this.value = t1;
  30735. },
  30736. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30737. this.$this = t0;
  30738. },
  30739. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30740. this.$this = t0;
  30741. },
  30742. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30743. },
  30744. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30745. this.$this = t0;
  30746. this.value = t1;
  30747. },
  30748. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30749. this.$this = t0;
  30750. this.child = t1;
  30751. },
  30752. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30753. this.$this = t0;
  30754. this.child = t1;
  30755. },
  30756. OutputStyle0: function OutputStyle0(t0) {
  30757. this._name = t0;
  30758. },
  30759. LineFeed0: function LineFeed0(t0, t1, t2) {
  30760. this.name = t0;
  30761. this.text = t1;
  30762. this._name = t2;
  30763. },
  30764. JSSet: function JSSet() {
  30765. },
  30766. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30767. 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;
  30768. },
  30769. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30770. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30771. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30772. },
  30773. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30774. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30775. },
  30776. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30777. var _ = this;
  30778. _._shadowed_view0$_inner = t0;
  30779. _.variables = t1;
  30780. _.variableNodes = t2;
  30781. _.functions = t3;
  30782. _.mixins = t4;
  30783. _.$ti = t5;
  30784. },
  30785. SilentComment0: function SilentComment0(t0, t1) {
  30786. this.text = t0;
  30787. this.span = t1;
  30788. },
  30789. SimpleSelector0: function SimpleSelector0() {
  30790. },
  30791. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30792. this.$this = t0;
  30793. },
  30794. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30795. this.$this = t0;
  30796. },
  30797. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30798. var _ = this;
  30799. _._single_unit$_unit = t0;
  30800. _._number1$_value = t1;
  30801. _.hashCache = null;
  30802. _.asSlash = t2;
  30803. },
  30804. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30805. this.$this = t0;
  30806. this.unit = t1;
  30807. },
  30808. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  30809. this.$this = t0;
  30810. },
  30811. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  30812. this._box_0 = t0;
  30813. this.$this = t1;
  30814. },
  30815. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  30816. this._box_0 = t0;
  30817. this.$this = t1;
  30818. },
  30819. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  30820. this.buffer = t0;
  30821. },
  30822. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  30823. var _ = this;
  30824. _._source_map_buffer0$_buffer = t0;
  30825. _._source_map_buffer0$_entries = t1;
  30826. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  30827. _._source_map_buffer0$_inSpan = false;
  30828. },
  30829. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  30830. this._box_0 = t0;
  30831. this.prefixLength = t1;
  30832. },
  30833. updateSourceSpanPrototype() {
  30834. var t3, t4, _i, t5,
  30835. span = A.SourceFile$fromString("", null).span$1(0, 0),
  30836. t1 = type$.SourceSpan,
  30837. t2 = type$.String;
  30838. 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) {
  30839. t5 = t3._as(t1[_i].constructor);
  30840. 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));
  30841. }
  30842. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  30843. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30844. },
  30845. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  30846. this.span = t0;
  30847. },
  30848. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  30849. },
  30850. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  30851. },
  30852. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  30853. },
  30854. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  30855. },
  30856. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  30857. },
  30858. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  30859. },
  30860. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  30861. },
  30862. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  30863. },
  30864. ColorSpace_fromName0($name, argumentName) {
  30865. var t1,
  30866. _0_0 = $name.toLowerCase();
  30867. $label0$0: {
  30868. if ("rgb" === _0_0) {
  30869. t1 = B.RgbColorSpace_i0P0;
  30870. break $label0$0;
  30871. }
  30872. if ("hwb" === _0_0) {
  30873. t1 = B.HwbColorSpace_guQ0;
  30874. break $label0$0;
  30875. }
  30876. if ("hsl" === _0_0) {
  30877. t1 = B.HslColorSpace_JQ20;
  30878. break $label0$0;
  30879. }
  30880. if ("srgb" === _0_0) {
  30881. t1 = B.SrgbColorSpace_thf0;
  30882. break $label0$0;
  30883. }
  30884. if ("srgb-linear" === _0_0) {
  30885. t1 = B.SrgbLinearColorSpace_kUj0;
  30886. break $label0$0;
  30887. }
  30888. if ("display-p3" === _0_0) {
  30889. t1 = B.DisplayP3ColorSpace_MmT0;
  30890. break $label0$0;
  30891. }
  30892. if ("a98-rgb" === _0_0) {
  30893. t1 = B.A98RgbColorSpace_lf20;
  30894. break $label0$0;
  30895. }
  30896. if ("prophoto-rgb" === _0_0) {
  30897. t1 = B.ProphotoRgbColorSpace_BDz0;
  30898. break $label0$0;
  30899. }
  30900. if ("rec2020" === _0_0) {
  30901. t1 = B.Rec2020ColorSpace_6oo0;
  30902. break $label0$0;
  30903. }
  30904. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  30905. t1 = B.XyzD65ColorSpace_WiJ0;
  30906. break $label0$0;
  30907. }
  30908. if ("xyz-d50" === _0_0) {
  30909. t1 = B.XyzD50ColorSpace_2OB0;
  30910. break $label0$0;
  30911. }
  30912. if ("lab" === _0_0) {
  30913. t1 = B.LabColorSpace_2nT0;
  30914. break $label0$0;
  30915. }
  30916. if ("lch" === _0_0) {
  30917. t1 = B.LchColorSpace_Bpv0;
  30918. break $label0$0;
  30919. }
  30920. if ("oklab" === _0_0) {
  30921. t1 = B.OklabColorSpace_5400;
  30922. break $label0$0;
  30923. }
  30924. if ("oklch" === _0_0) {
  30925. t1 = B.OklchColorSpace_9Gj0;
  30926. break $label0$0;
  30927. }
  30928. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  30929. }
  30930. return t1;
  30931. },
  30932. ColorSpace0: function ColorSpace0() {
  30933. },
  30934. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  30935. this.name = t0;
  30936. this._space$_channels = t1;
  30937. },
  30938. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  30939. this.name = t0;
  30940. this._space$_channels = t1;
  30941. },
  30942. Statement0: function Statement0() {
  30943. },
  30944. JSStatementVisitor: function JSStatementVisitor(t0) {
  30945. this._statement$_inner = t0;
  30946. },
  30947. JSStatementVisitorObject: function JSStatementVisitorObject() {
  30948. },
  30949. StatementSearchVisitor0: function StatementSearchVisitor0() {
  30950. },
  30951. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  30952. this.$this = t0;
  30953. },
  30954. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  30955. this.$this = t0;
  30956. },
  30957. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  30958. this.$this = t0;
  30959. },
  30960. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  30961. this.$this = t0;
  30962. },
  30963. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  30964. this.$this = t0;
  30965. },
  30966. StaticImport0: function StaticImport0(t0, t1, t2) {
  30967. this.url = t0;
  30968. this.modifiers = t1;
  30969. this.span = t2;
  30970. },
  30971. StderrLogger0: function StderrLogger0(t0) {
  30972. this.color = t0;
  30973. },
  30974. StringExpression_quoteText0(text) {
  30975. var t1,
  30976. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  30977. buffer = new A.StringBuffer("");
  30978. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  30979. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  30980. t1 = A.Primitives_stringFromCharCode(quote);
  30981. t1 = buffer._contents += t1;
  30982. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30983. },
  30984. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  30985. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  30986. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  30987. _1_0 = text.charCodeAt(i);
  30988. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  30989. buffer.writeCharCode$1(92);
  30990. buffer.writeCharCode$1(97);
  30991. if (i !== t2) {
  30992. _0_0 = text.charCodeAt(i + 1);
  30993. t3 = true;
  30994. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  30995. if (!(_0_0 >= 48 && _0_0 <= 57))
  30996. if (!(_0_0 >= 97 && _0_0 <= 102))
  30997. t3 = _0_0 >= 65 && _0_0 <= 70;
  30998. if (t3)
  30999. buffer.writeCharCode$1(32);
  31000. }
  31001. continue;
  31002. }
  31003. t3 = 92 === _1_0;
  31004. if (t3)
  31005. t4 = _1_0;
  31006. else
  31007. t4 = null;
  31008. if (!t3) {
  31009. t3 = false;
  31010. t5 = _1_0 === quote;
  31011. if (t5)
  31012. t4 = _1_0;
  31013. if (!t5)
  31014. if (35 === _1_0)
  31015. if ($static)
  31016. if (i < t2) {
  31017. t3 = text.charCodeAt(i + 1) === 123;
  31018. if (t3)
  31019. t4 = _1_0;
  31020. t0 = t4;
  31021. t4 = t3;
  31022. t3 = t0;
  31023. } else {
  31024. t0 = t4;
  31025. t4 = t3;
  31026. t3 = t0;
  31027. }
  31028. else {
  31029. t0 = t4;
  31030. t4 = t3;
  31031. t3 = t0;
  31032. }
  31033. else {
  31034. t0 = t4;
  31035. t4 = t3;
  31036. t3 = t0;
  31037. }
  31038. else {
  31039. t3 = t4;
  31040. t4 = true;
  31041. }
  31042. } else {
  31043. t3 = t4;
  31044. t4 = true;
  31045. }
  31046. if (t4) {
  31047. buffer.writeCharCode$1(92);
  31048. buffer.writeCharCode$1(t3);
  31049. continue;
  31050. }
  31051. buffer.writeCharCode$1(_1_0);
  31052. }
  31053. },
  31054. StringExpression__bestQuote0(strings) {
  31055. var t1, t2, t3, containsDoubleQuote, t4, t5;
  31056. 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();)
  31057. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  31058. t5 = t4.__internal$_current;
  31059. if (t5 == null)
  31060. t5 = t2._as(t5);
  31061. if (t5 === 39)
  31062. return 34;
  31063. if (t5 === 34)
  31064. containsDoubleQuote = true;
  31065. }
  31066. return containsDoubleQuote ? 39 : 34;
  31067. },
  31068. StringExpression0: function StringExpression0(t0, t1) {
  31069. this.text = t0;
  31070. this.hasQuotes = t1;
  31071. },
  31072. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  31073. var result;
  31074. if (index === 0)
  31075. return 0;
  31076. if (index > 0)
  31077. return Math.min(index - 1, lengthInCodepoints);
  31078. result = lengthInCodepoints + index;
  31079. if (result < 0 && !allowNegative)
  31080. return 0;
  31081. return result;
  31082. },
  31083. _function7($name, $arguments, callback) {
  31084. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  31085. },
  31086. module_closure25: function module_closure25() {
  31087. },
  31088. module__closure3: function module__closure3(t0) {
  31089. this.string = t0;
  31090. },
  31091. module__closure4: function module__closure4(t0) {
  31092. this.string = t0;
  31093. },
  31094. _unquote_closure0: function _unquote_closure0() {
  31095. },
  31096. _quote_closure0: function _quote_closure0() {
  31097. },
  31098. _length_closure1: function _length_closure1() {
  31099. },
  31100. _insert_closure0: function _insert_closure0() {
  31101. },
  31102. _index_closure1: function _index_closure1() {
  31103. },
  31104. _slice_closure0: function _slice_closure0() {
  31105. },
  31106. _toUpperCase_closure0: function _toUpperCase_closure0() {
  31107. },
  31108. _toLowerCase_closure0: function _toLowerCase_closure0() {
  31109. },
  31110. _uniqueId_closure0: function _uniqueId_closure0() {
  31111. },
  31112. StringExtension_toCssIdentifier(_this) {
  31113. var t1, doubleDash, _2_0, character, _3_0,
  31114. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  31115. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  31116. buffer = new A.StringBuffer(""),
  31117. scanner = A.SpanScanner$(_this, null),
  31118. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31119. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31120. if (scanner.scanChar$1(45)) {
  31121. if (scanner._string_scanner$_position === scanner.string.length)
  31122. return "\\2d";
  31123. t1 = A.Primitives_stringFromCharCode(45);
  31124. buffer._contents += t1;
  31125. doubleDash = scanner.scanChar$1(45);
  31126. if (doubleDash) {
  31127. t1 = A.Primitives_stringFromCharCode(45);
  31128. buffer._contents += t1;
  31129. }
  31130. } else
  31131. doubleDash = false;
  31132. if (!doubleDash)
  31133. $label0$0: {
  31134. _2_0 = scanner.peekChar$0();
  31135. if (_2_0 == null)
  31136. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31137. if (0 === _2_0)
  31138. scanner.error$1(0, _s52_);
  31139. if (A._isInt(_2_0)) {
  31140. t1 = _2_0 >>> 10 === 54;
  31141. character = _2_0;
  31142. } else {
  31143. character = null;
  31144. t1 = false;
  31145. }
  31146. if (t1) {
  31147. consumeSurrogatePair.call$1(character);
  31148. break $label0$0;
  31149. }
  31150. if (_2_0 >>> 10 === 55)
  31151. scanner.error$2$length(0, _s65_, 1);
  31152. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31153. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31154. else
  31155. t1 = false;
  31156. if (t1) {
  31157. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31158. buffer._contents += t1;
  31159. break $label0$0;
  31160. }
  31161. writeEscape.call$1(scanner.readChar$0());
  31162. }
  31163. for (; true;) {
  31164. _3_0 = scanner.peekChar$0();
  31165. if (_3_0 == null)
  31166. break;
  31167. if (0 === _3_0)
  31168. scanner.error$1(0, _s52_);
  31169. t1 = _3_0 >>> 10 === 54;
  31170. if (t1) {
  31171. consumeSurrogatePair.call$1(_3_0);
  31172. continue;
  31173. }
  31174. if (_3_0 >>> 10 === 55)
  31175. scanner.error$2$length(0, _s65_, 1);
  31176. if (_3_0 !== 95) {
  31177. if (!(_3_0 >= 97 && _3_0 <= 122))
  31178. t1 = _3_0 >= 65 && _3_0 <= 90;
  31179. else
  31180. t1 = true;
  31181. t1 = t1 || _3_0 >= 128;
  31182. } else
  31183. t1 = true;
  31184. if (!t1)
  31185. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31186. else
  31187. t1 = true;
  31188. if (t1)
  31189. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31190. else
  31191. t1 = false;
  31192. if (t1) {
  31193. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31194. buffer._contents += t1;
  31195. continue;
  31196. }
  31197. writeEscape.call$1(scanner.readChar$0());
  31198. }
  31199. t1 = buffer._contents;
  31200. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31201. },
  31202. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31203. this.buffer = t0;
  31204. this.scanner = t1;
  31205. },
  31206. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31207. this.scanner = t0;
  31208. this.writeEscape = t1;
  31209. this.buffer = t2;
  31210. },
  31211. stringClass_closure: function stringClass_closure() {
  31212. },
  31213. stringClass__closure: function stringClass__closure() {
  31214. },
  31215. stringClass__closure0: function stringClass__closure0() {
  31216. },
  31217. stringClass__closure1: function stringClass__closure1() {
  31218. },
  31219. stringClass__closure2: function stringClass__closure2() {
  31220. },
  31221. stringClass__closure3: function stringClass__closure3() {
  31222. },
  31223. _ConstructorOptions1: function _ConstructorOptions1() {
  31224. },
  31225. _NodeSassString: function _NodeSassString() {
  31226. },
  31227. legacyStringClass_closure: function legacyStringClass_closure() {
  31228. },
  31229. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31230. },
  31231. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31232. },
  31233. SassString$0(_text, quotes) {
  31234. return new A.SassString0(_text, quotes);
  31235. },
  31236. SassString0: function SassString0(t0, t1) {
  31237. var _ = this;
  31238. _._string0$_text = t0;
  31239. _._string0$_hasQuotes = t1;
  31240. _._string0$__SassString__sassLength_FI = $;
  31241. _._string0$_hashCache = null;
  31242. },
  31243. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31244. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31245. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31246. },
  31247. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31248. var _ = this;
  31249. _._style_rule0$_selector = t0;
  31250. _.originalSelector = t1;
  31251. _.span = t2;
  31252. _.fromPlainCss = t3;
  31253. _.children = t4;
  31254. _._node$_children = t5;
  31255. _._node$_indexInParent = _._node$_parent = null;
  31256. _.isGroupEnd = false;
  31257. },
  31258. StyleRule$0(selector, children, span) {
  31259. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31260. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31261. return new A.StyleRule0(selector, span, t1, t2);
  31262. },
  31263. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  31264. var _ = this;
  31265. _.selector = t0;
  31266. _.span = t1;
  31267. _.children = t2;
  31268. _.hasDeclarations = t3;
  31269. },
  31270. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31271. this.children = t0;
  31272. this.span = t1;
  31273. },
  31274. ModifiableCssStylesheet$0(span) {
  31275. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31276. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31277. },
  31278. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31279. var _ = this;
  31280. _.span = t0;
  31281. _.children = t1;
  31282. _._node$_children = t2;
  31283. _._node$_indexInParent = _._node$_parent = null;
  31284. _.isGroupEnd = false;
  31285. },
  31286. StylesheetParser0: function StylesheetParser0() {
  31287. },
  31288. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31289. this.$this = t0;
  31290. },
  31291. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31292. this.$this = t0;
  31293. },
  31294. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31295. this.$this = t0;
  31296. },
  31297. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31298. this.$this = t0;
  31299. this.production = t1;
  31300. this.T = t2;
  31301. },
  31302. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31303. this.$this = t0;
  31304. this.requireParens = t1;
  31305. },
  31306. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31307. this.$this = t0;
  31308. },
  31309. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31310. this.$this = t0;
  31311. this.start = t1;
  31312. },
  31313. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31314. this.declaration = t0;
  31315. },
  31316. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  31317. this.$this = t0;
  31318. },
  31319. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31320. this.$this = t0;
  31321. },
  31322. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31323. this.$this = t0;
  31324. },
  31325. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  31326. var _ = this;
  31327. _._box_0 = t0;
  31328. _.$this = t1;
  31329. _.wasInStyleRule = t2;
  31330. _.start = t3;
  31331. },
  31332. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31333. this.$this = t0;
  31334. },
  31335. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31336. this.name = t0;
  31337. this.value = t1;
  31338. },
  31339. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31340. this.query = t0;
  31341. },
  31342. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31343. },
  31344. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31345. var _ = this;
  31346. _.$this = t0;
  31347. _.wasInControlDirective = t1;
  31348. _.variables = t2;
  31349. _.list = t3;
  31350. },
  31351. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31352. this.name = t0;
  31353. this.parameters = t1;
  31354. this.precedingComment = t2;
  31355. },
  31356. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31357. this._box_0 = t0;
  31358. this.$this = t1;
  31359. },
  31360. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31361. var _ = this;
  31362. _._box_0 = t0;
  31363. _.$this = t1;
  31364. _.wasInControlDirective = t2;
  31365. _.variable = t3;
  31366. _.from = t4;
  31367. _.to = t5;
  31368. },
  31369. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31370. this.$this = t0;
  31371. this.variables = t1;
  31372. this.identifiers = t2;
  31373. },
  31374. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31375. this.contentParameters_ = t0;
  31376. },
  31377. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31378. this.query = t0;
  31379. },
  31380. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31381. var _ = this;
  31382. _.$this = t0;
  31383. _.name = t1;
  31384. _.parameters = t2;
  31385. _.precedingComment = t3;
  31386. },
  31387. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31388. this.$this = t0;
  31389. },
  31390. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31391. var _ = this;
  31392. _._box_0 = t0;
  31393. _.$this = t1;
  31394. _.name = t2;
  31395. _.value = t3;
  31396. },
  31397. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31398. this.condition = t0;
  31399. },
  31400. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31401. this.$this = t0;
  31402. this.wasInControlDirective = t1;
  31403. this.condition = t2;
  31404. },
  31405. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31406. this._box_0 = t0;
  31407. this.name = t1;
  31408. },
  31409. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31410. this._box_0 = t0;
  31411. this.$this = t1;
  31412. this.start = t2;
  31413. },
  31414. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31415. this._box_0 = t0;
  31416. this.$this = t1;
  31417. },
  31418. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31419. this._box_0 = t0;
  31420. this.resolveOneOperation = t1;
  31421. },
  31422. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31423. var _ = this;
  31424. _._box_0 = t0;
  31425. _.$this = t1;
  31426. _.resetState = t2;
  31427. _.resolveOperations = t3;
  31428. },
  31429. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  31430. this._box_0 = t0;
  31431. this.$this = t1;
  31432. this.resolveOneOperation = t2;
  31433. },
  31434. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31435. this._box_0 = t0;
  31436. this.$this = t1;
  31437. this.resolveOperations = t2;
  31438. },
  31439. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31440. this.$this = t0;
  31441. },
  31442. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31443. },
  31444. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31445. },
  31446. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31447. },
  31448. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31449. this.$this = t0;
  31450. this.start = t1;
  31451. },
  31452. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31453. },
  31454. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31455. this.$this = t0;
  31456. },
  31457. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31458. this.$this = t0;
  31459. this.start = t1;
  31460. },
  31461. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31462. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31463. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31464. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31465. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31466. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31467. 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);
  31468. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31469. return t1;
  31470. },
  31471. Stylesheet_Stylesheet$parse0(contents, syntax, url) {
  31472. var error, stackTrace, url0, t1, exception, t2;
  31473. try {
  31474. switch (syntax) {
  31475. case B.Syntax_Sass_sass0:
  31476. 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);
  31477. return t1;
  31478. case B.Syntax_SCSS_scss0:
  31479. t1 = A.ScssParser$0(contents, url).parse$0(0);
  31480. return t1;
  31481. case B.Syntax_CSS_css0:
  31482. 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);
  31483. return t1;
  31484. }
  31485. } catch (exception) {
  31486. t1 = A.unwrapException(exception);
  31487. if (t1 instanceof A.SassException0) {
  31488. error = t1;
  31489. stackTrace = A.getTraceFromException(exception);
  31490. t1 = error;
  31491. t2 = J.getInterceptor$z(t1);
  31492. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31493. url0 = t1.get$sourceUrl(t1);
  31494. if (url0 == null || J.toString$0$(url0) === "stdin")
  31495. throw exception;
  31496. t1 = type$.Uri;
  31497. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31498. } else
  31499. throw exception;
  31500. }
  31501. },
  31502. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31503. var _ = this;
  31504. _.span = t0;
  31505. _.plainCss = t1;
  31506. _._stylesheet1$_uses = t2;
  31507. _._stylesheet1$_forwards = t3;
  31508. _.parseTimeWarnings = t4;
  31509. _.globalVariables = t5;
  31510. _.children = t6;
  31511. _.hasDeclarations = t7;
  31512. },
  31513. SupportsExpression0: function SupportsExpression0(t0) {
  31514. this.condition = t0;
  31515. },
  31516. ModifiableCssSupportsRule$0(condition, span) {
  31517. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31518. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31519. },
  31520. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31521. var _ = this;
  31522. _.condition = t0;
  31523. _.span = t1;
  31524. _.children = t2;
  31525. _._node$_children = t3;
  31526. _._node$_indexInParent = _._node$_parent = null;
  31527. _.isGroupEnd = false;
  31528. },
  31529. SupportsRule$0(condition, children, span) {
  31530. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31531. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31532. return new A.SupportsRule0(condition, span, t1, t2);
  31533. },
  31534. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31535. var _ = this;
  31536. _.condition = t0;
  31537. _.span = t1;
  31538. _.children = t2;
  31539. _.hasDeclarations = t3;
  31540. },
  31541. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31542. this._sync$_canonicalize = t0;
  31543. this._sync$_load = t1;
  31544. this._sync$_nonCanonicalSchemes = t2;
  31545. },
  31546. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31547. this.$this = t0;
  31548. this.url = t1;
  31549. },
  31550. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31551. this.$this = t0;
  31552. this.url = t1;
  31553. },
  31554. Syntax_forPath0(path) {
  31555. var t1,
  31556. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31557. $label0$0: {
  31558. if (".sass" === _0_0) {
  31559. t1 = B.Syntax_Sass_sass0;
  31560. break $label0$0;
  31561. }
  31562. if (".css" === _0_0) {
  31563. t1 = B.Syntax_CSS_css0;
  31564. break $label0$0;
  31565. }
  31566. t1 = B.Syntax_SCSS_scss0;
  31567. break $label0$0;
  31568. }
  31569. return t1;
  31570. },
  31571. Syntax0: function Syntax0(t0, t1) {
  31572. this._syntax0$_name = t0;
  31573. this._name = t1;
  31574. },
  31575. TypeSelector0: function TypeSelector0(t0, t1) {
  31576. this.name = t0;
  31577. this.span = t1;
  31578. },
  31579. Types: function Types() {
  31580. },
  31581. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31582. this.operator = t0;
  31583. this.operand = t1;
  31584. this.span = t2;
  31585. },
  31586. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  31587. this.name = t0;
  31588. this.operator = t1;
  31589. this._name = t2;
  31590. },
  31591. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31592. this._number1$_value = t0;
  31593. this.hashCache = null;
  31594. this.asSlash = t1;
  31595. },
  31596. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31597. this.namespace = t0;
  31598. this.span = t1;
  31599. },
  31600. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31601. this._unprefixed_map_view0$_map = t0;
  31602. this._unprefixed_map_view0$_prefix = t1;
  31603. this.$ti = t2;
  31604. },
  31605. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31606. this._unprefixed_map_view0$_view = t0;
  31607. },
  31608. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31609. this.$this = t0;
  31610. },
  31611. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31612. this.$this = t0;
  31613. },
  31614. JSUrl0: function JSUrl0() {
  31615. },
  31616. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31617. var _ = this;
  31618. _.url = t0;
  31619. _.namespace = t1;
  31620. _.configuration = t2;
  31621. _.span = t3;
  31622. },
  31623. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31624. var _ = this;
  31625. _.declaration = t0;
  31626. _.environment = t1;
  31627. _.inDependency = t2;
  31628. _.$ti = t3;
  31629. },
  31630. fromImport0() {
  31631. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31632. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31633. return t1 === true;
  31634. },
  31635. canonicalizeContext0() {
  31636. var t1,
  31637. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31638. $label0$0: {
  31639. if (_0_0 == null)
  31640. A.throwExpression(A.StateError$(string$.canoni));
  31641. if (_0_0 instanceof A.CanonicalizeContext0) {
  31642. t1 = _0_0;
  31643. break $label0$0;
  31644. }
  31645. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31646. }
  31647. return t1;
  31648. },
  31649. inImportRule(callback, $T) {
  31650. var t1,
  31651. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31652. $label0$0: {
  31653. if (_0_0 == null) {
  31654. t1 = type$.nullable_Object;
  31655. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31656. break $label0$0;
  31657. }
  31658. if (_0_0 instanceof A.CanonicalizeContext0) {
  31659. t1 = _0_0.withFromImport$2(true, callback);
  31660. break $label0$0;
  31661. }
  31662. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31663. }
  31664. return t1;
  31665. },
  31666. resolveImportPath0(path) {
  31667. var t1,
  31668. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31669. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31670. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31671. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31672. }
  31673. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31674. if (t1 == null)
  31675. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31676. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31677. },
  31678. _tryPathWithExtensions0(path) {
  31679. var result = A._tryPath0(path + ".sass");
  31680. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31681. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31682. },
  31683. _tryPath0(path) {
  31684. var t1 = $.$get$context(),
  31685. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31686. t1 = A._setArrayType([], type$.JSArray_String);
  31687. if (A.fileExists0(partial))
  31688. t1.push(partial);
  31689. if (A.fileExists0(path))
  31690. t1.push(path);
  31691. return t1;
  31692. },
  31693. _tryPathAsDirectory0(path) {
  31694. var t1;
  31695. if (!A.dirExists0(path))
  31696. return null;
  31697. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31698. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31699. },
  31700. _exactlyOne0(paths) {
  31701. var _0_1, t1, path;
  31702. $label0$0: {
  31703. _0_1 = paths.length;
  31704. if (_0_1 <= 0) {
  31705. t1 = null;
  31706. break $label0$0;
  31707. }
  31708. if (_0_1 === 1) {
  31709. path = paths[0];
  31710. t1 = path;
  31711. break $label0$0;
  31712. }
  31713. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31714. }
  31715. return t1;
  31716. },
  31717. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31718. this.path = t0;
  31719. this.extension = t1;
  31720. },
  31721. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31722. this.path = t0;
  31723. },
  31724. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31725. this.path = t0;
  31726. },
  31727. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31728. },
  31729. jsThrow(error) {
  31730. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31731. },
  31732. attachJsStack(error, trace) {
  31733. var traceString = trace.toString$0(0),
  31734. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31735. if (firstRealLine !== -1)
  31736. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31737. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31738. },
  31739. jsForEach(object, callback) {
  31740. var t1, t2;
  31741. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31742. t2 = t1.get$current(t1);
  31743. callback.call$2(t2, object[t2]);
  31744. }
  31745. },
  31746. jsType(value) {
  31747. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31748. 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));
  31749. },
  31750. defineGetter(object, $name, get, value) {
  31751. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31752. },
  31753. allowInteropNamed($name, $function) {
  31754. $function = A.allowInterop($function);
  31755. A.defineGetter($function, "name", null, $name);
  31756. A._hideDartProperties($function);
  31757. return $function;
  31758. },
  31759. allowInteropCaptureThisNamed($name, $function) {
  31760. $function = A.allowInteropCaptureThis($function);
  31761. A.defineGetter($function, "name", null, $name);
  31762. A._hideDartProperties($function);
  31763. return $function;
  31764. },
  31765. _hideDartProperties(object) {
  31766. var t1, t2, t3, t4;
  31767. 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();) {
  31768. t3 = t1.__internal$_current;
  31769. if (t3 == null)
  31770. t3 = t2._as(t3);
  31771. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31772. t4 = {value: object[t3], enumerable: false};
  31773. self.Object.defineProperty(object, t3, t4);
  31774. }
  31775. }
  31776. },
  31777. futureToPromise0(future) {
  31778. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  31779. },
  31780. jsToDartUrl(url) {
  31781. return A.Uri_parse(J.toString$0$(url));
  31782. },
  31783. dartToJSUrl(url) {
  31784. return new self.URL(url.toString$0(0));
  31785. },
  31786. toJSArray(iterable) {
  31787. var t1, t2,
  31788. array = new self.Array();
  31789. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  31790. t2.push$1(array, t1.get$current(t1));
  31791. return array;
  31792. },
  31793. objectToMap(object) {
  31794. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  31795. A.jsForEach(object, new A.objectToMap_closure(map));
  31796. return map;
  31797. },
  31798. mapToObject(map) {
  31799. var t1, t2,
  31800. result = new self.Object();
  31801. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  31802. t2 = t1.get$current(t1);
  31803. result[t2._0] = t2._1;
  31804. }
  31805. return result;
  31806. },
  31807. jsToDartSeparator(separator) {
  31808. var t1;
  31809. $label0$0: {
  31810. if (" " === separator) {
  31811. t1 = B.ListSeparator_qSL0;
  31812. break $label0$0;
  31813. }
  31814. if ("," === separator) {
  31815. t1 = B.ListSeparator_qVN0;
  31816. break $label0$0;
  31817. }
  31818. if ("/" === separator) {
  31819. t1 = B.ListSeparator_bRz0;
  31820. break $label0$0;
  31821. }
  31822. if (separator == null) {
  31823. t1 = B.ListSeparator_undecided_null_undecided0;
  31824. break $label0$0;
  31825. }
  31826. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  31827. }
  31828. return t1;
  31829. },
  31830. parseSyntax(syntax) {
  31831. var t1;
  31832. $label0$0: {
  31833. if (syntax == null || "scss" === syntax) {
  31834. t1 = B.Syntax_SCSS_scss0;
  31835. break $label0$0;
  31836. }
  31837. if ("indented" === syntax) {
  31838. t1 = B.Syntax_Sass_sass0;
  31839. break $label0$0;
  31840. }
  31841. if ("css" === syntax) {
  31842. t1 = B.Syntax_CSS_css0;
  31843. break $label0$0;
  31844. }
  31845. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  31846. }
  31847. return t1;
  31848. },
  31849. entrypointFilename() {
  31850. var _1_0, _1_5_isSet, _1_5, t2, path,
  31851. t1 = self.require.main,
  31852. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  31853. if (_0_0 != null)
  31854. return _0_0;
  31855. else {
  31856. _1_0 = J.get$argv$x(self.process);
  31857. t1 = J.getInterceptor$asx(_1_0);
  31858. _1_5_isSet = t1.get$length(_1_0) >= 2;
  31859. if (_1_5_isSet) {
  31860. _1_5 = t1.$index(_1_0, 1);
  31861. t2 = typeof _1_5 == "string";
  31862. } else {
  31863. _1_5 = null;
  31864. t2 = false;
  31865. }
  31866. if (t2) {
  31867. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  31868. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  31869. } else
  31870. return null;
  31871. }
  31872. },
  31873. _PropertyDescriptor0: function _PropertyDescriptor0() {
  31874. },
  31875. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  31876. this.future = t0;
  31877. },
  31878. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  31879. this.resolve = t0;
  31880. },
  31881. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  31882. this.reject = t0;
  31883. },
  31884. objectToMap_closure: function objectToMap_closure(t0) {
  31885. this.map = t0;
  31886. },
  31887. _RequireMain0: function _RequireMain0() {
  31888. },
  31889. toSentence0(iter, conjunction) {
  31890. if (iter.get$length(iter) === 1)
  31891. return J.toString$0$(iter.get$first(iter));
  31892. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  31893. },
  31894. indent0(string, indentation) {
  31895. 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");
  31896. },
  31897. pluralize0($name, number, plural) {
  31898. if (number === 1)
  31899. return $name;
  31900. if (plural != null)
  31901. return plural;
  31902. return $name + "s";
  31903. },
  31904. trimAscii0(string, excludeEscape) {
  31905. var t1,
  31906. start = A._firstNonWhitespace0(string);
  31907. if (start == null)
  31908. t1 = "";
  31909. else {
  31910. t1 = A._lastNonWhitespace0(string, true);
  31911. t1.toString;
  31912. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  31913. }
  31914. return t1;
  31915. },
  31916. trimAsciiRight0(string, excludeEscape) {
  31917. var end = A._lastNonWhitespace0(string, excludeEscape);
  31918. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  31919. },
  31920. _firstNonWhitespace0(string) {
  31921. var t1, i, t2;
  31922. for (t1 = string.length, i = 0; i < t1; ++i) {
  31923. t2 = string.charCodeAt(i);
  31924. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  31925. return i;
  31926. }
  31927. return null;
  31928. },
  31929. _lastNonWhitespace0(string, excludeEscape) {
  31930. var i, i0, codeUnit;
  31931. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  31932. codeUnit = string.charCodeAt(i0);
  31933. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  31934. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  31935. return i0 + 1;
  31936. else
  31937. return i0;
  31938. }
  31939. return null;
  31940. },
  31941. isPublic0(member) {
  31942. var start = member.charCodeAt(0);
  31943. return start !== 45 && start !== 95;
  31944. },
  31945. flattenVertically0(iterable, $T) {
  31946. var result, flags,
  31947. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  31948. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  31949. if (queues.length === 1)
  31950. return B.JSArray_methods.get$first(queues);
  31951. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  31952. for (flags = queues.$flags | 0; queues.length !== 0;) {
  31953. flags & 1 && A.throwUnsupportedOperation(queues, 16);
  31954. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  31955. }
  31956. return result;
  31957. },
  31958. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  31959. var codeUnitIndex, i, codeUnitIndex0;
  31960. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  31961. codeUnitIndex0 = codeUnitIndex + 1;
  31962. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  31963. }
  31964. return codeUnitIndex;
  31965. },
  31966. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  31967. var codepointIndex, i;
  31968. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  31969. ++codepointIndex;
  31970. return codepointIndex;
  31971. },
  31972. frameForSpan0(span, member, url) {
  31973. var t2, t3,
  31974. t1 = url == null ? span.get$sourceUrl(span) : url;
  31975. if (t1 == null)
  31976. t1 = $.$get$_noSourceUrl0();
  31977. t2 = span.get$start(span);
  31978. t2 = t2.file.getLine$1(t2.offset);
  31979. t3 = span.get$start(span);
  31980. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  31981. },
  31982. declarationName0(span) {
  31983. var text = span.get$text();
  31984. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  31985. },
  31986. unvendor0($name) {
  31987. var i,
  31988. t1 = $name.length;
  31989. if (t1 < 2)
  31990. return $name;
  31991. if ($name.charCodeAt(0) !== 45)
  31992. return $name;
  31993. if ($name.charCodeAt(1) === 45)
  31994. return $name;
  31995. for (i = 2; i < t1; ++i)
  31996. if ($name.charCodeAt(i) === 45)
  31997. return B.JSString_methods.substring$1($name, i + 1);
  31998. return $name;
  31999. },
  32000. equalsIgnoreCase0(string1, string2) {
  32001. var t1, i;
  32002. if (string1 === string2)
  32003. return true;
  32004. if (string1 == null)
  32005. return false;
  32006. t1 = string1.length;
  32007. if (t1 !== string2.length)
  32008. return false;
  32009. for (i = 0; i < t1; ++i)
  32010. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  32011. return false;
  32012. return true;
  32013. },
  32014. startsWithIgnoreCase0(string, prefix) {
  32015. var i,
  32016. t1 = prefix.length;
  32017. if (string.length < t1)
  32018. return false;
  32019. for (i = 0; i < t1; ++i)
  32020. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  32021. return false;
  32022. return true;
  32023. },
  32024. mapInPlace0(list, $function) {
  32025. var i;
  32026. for (i = 0; i < list.length; ++i)
  32027. list[i] = $function.call$1(list[i]);
  32028. },
  32029. longestCommonSubsequence0(list1, list2, select, $T) {
  32030. var t1, _i, selections, i, i0, j, selection, j0,
  32031. _length = list1.get$length(0) + 1,
  32032. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  32033. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  32034. 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);
  32035. _length = list1.get$length(0);
  32036. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  32037. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  32038. 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);
  32039. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  32040. 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) {
  32041. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  32042. selections[i][j] = selection;
  32043. t1 = lengths[i0];
  32044. j0 = j + 1;
  32045. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  32046. }
  32047. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  32048. },
  32049. removeFirstWhere0(list, test, orElse) {
  32050. var i;
  32051. for (i = 0; i < list.length; ++i) {
  32052. if (!test.call$1(list[i]))
  32053. continue;
  32054. B.JSArray_methods.removeAt$1(list, i);
  32055. return;
  32056. }
  32057. orElse.call$0();
  32058. },
  32059. mapAddAll20(destination, source, K1, K2, $V) {
  32060. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  32061. },
  32062. setAll0(map, keys, value) {
  32063. var t1;
  32064. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  32065. map.$indexSet(0, t1.get$current(t1), value);
  32066. },
  32067. rotateSlice0(list, start, end) {
  32068. var i, next,
  32069. element = list.$index(0, end - 1);
  32070. for (i = start; i < end; ++i, element = next) {
  32071. next = list.$index(0, i);
  32072. list.$indexSet(0, i, element);
  32073. }
  32074. },
  32075. mapAsync0(iterable, callback, $E, $F) {
  32076. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  32077. },
  32078. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  32079. var $async$goto = 0,
  32080. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32081. $async$returnValue, t2, _i, t1, $async$temp1;
  32082. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32083. if ($async$errorCode === 1)
  32084. return A._asyncRethrow($async$result, $async$completer);
  32085. while (true)
  32086. switch ($async$goto) {
  32087. case 0:
  32088. // Function start
  32089. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  32090. t2 = iterable.length, _i = 0;
  32091. case 3:
  32092. // for condition
  32093. if (!(_i < t2)) {
  32094. // goto after for
  32095. $async$goto = 5;
  32096. break;
  32097. }
  32098. $async$temp1 = t1;
  32099. $async$goto = 6;
  32100. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  32101. case 6:
  32102. // returning from await.
  32103. $async$temp1.push($async$result);
  32104. case 4:
  32105. // for update
  32106. ++_i;
  32107. // goto for condition
  32108. $async$goto = 3;
  32109. break;
  32110. case 5:
  32111. // after for
  32112. $async$returnValue = t1;
  32113. // goto return
  32114. $async$goto = 1;
  32115. break;
  32116. case 1:
  32117. // return
  32118. return A._asyncReturn($async$returnValue, $async$completer);
  32119. }
  32120. });
  32121. return A._asyncStartSync($async$mapAsync0, $async$completer);
  32122. },
  32123. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32124. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32125. },
  32126. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32127. var $async$goto = 0,
  32128. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32129. $async$returnValue, t1, value;
  32130. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32131. if ($async$errorCode === 1)
  32132. return A._asyncRethrow($async$result, $async$completer);
  32133. while (true)
  32134. switch ($async$goto) {
  32135. case 0:
  32136. // Function start
  32137. if (map.containsKey$1(key)) {
  32138. t1 = map.$index(0, key);
  32139. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32140. // goto return
  32141. $async$goto = 1;
  32142. break;
  32143. }
  32144. $async$goto = 3;
  32145. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32146. case 3:
  32147. // returning from await.
  32148. value = $async$result;
  32149. map.$indexSet(0, key, value);
  32150. $async$returnValue = value;
  32151. // goto return
  32152. $async$goto = 1;
  32153. break;
  32154. case 1:
  32155. // return
  32156. return A._asyncReturn($async$returnValue, $async$completer);
  32157. }
  32158. });
  32159. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32160. },
  32161. copyMapOfMap0(map, K1, K2, $V) {
  32162. var t3, key, child,
  32163. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32164. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  32165. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32166. t3 = t1.get$current(t1);
  32167. key = t3._0;
  32168. child = t3._1;
  32169. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  32170. t3.addAll$1(0, child);
  32171. t2.$indexSet(0, key, t3);
  32172. }
  32173. return t2;
  32174. },
  32175. copyMapOfList0(map, $K, $E) {
  32176. var t3,
  32177. t1 = $E._eval$1("List<0>"),
  32178. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32179. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32180. t3 = t1.get$current(t1);
  32181. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32182. }
  32183. return t2;
  32184. },
  32185. consumeEscapedCharacter0(scanner) {
  32186. var _1_0, value, i, next, t1;
  32187. scanner.expectChar$1(92);
  32188. _1_0 = scanner.peekChar$0();
  32189. if (_1_0 == null)
  32190. return 65533;
  32191. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32192. scanner.error$1(0, "Expected escape sequence.");
  32193. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32194. for (value = 0, i = 0; i < 6; ++i) {
  32195. next = scanner.peekChar$0();
  32196. if (next != null) {
  32197. t1 = true;
  32198. if (!(next >= 48 && next <= 57))
  32199. if (!(next >= 97 && next <= 102))
  32200. t1 = next >= 65 && next <= 70;
  32201. t1 = !t1;
  32202. } else
  32203. t1 = true;
  32204. if (t1)
  32205. break;
  32206. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32207. }
  32208. t1 = scanner.peekChar$0();
  32209. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32210. scanner.readChar$0();
  32211. $label0$1: {
  32212. if (0 !== value)
  32213. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32214. else
  32215. t1 = true;
  32216. if (t1) {
  32217. t1 = 65533;
  32218. break $label0$1;
  32219. }
  32220. t1 = value;
  32221. break $label0$1;
  32222. }
  32223. return t1;
  32224. }
  32225. return scanner.readChar$0();
  32226. },
  32227. throwWithTrace0(error, originalError, trace) {
  32228. var t1 = A.getTrace0(originalError);
  32229. A.attachTrace0(error, t1 == null ? trace : t1);
  32230. throw A.wrapException(error);
  32231. },
  32232. attachTrace0(error, trace) {
  32233. var t1;
  32234. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32235. return;
  32236. if (trace.toString$0(0).length === 0)
  32237. return;
  32238. t1 = $.$get$_traces0();
  32239. A.Expando__checkType(error);
  32240. if (t1._jsWeakMap.get(error) == null)
  32241. t1.$indexSet(0, error, trace);
  32242. },
  32243. getTrace0(error) {
  32244. var t1;
  32245. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32246. t1 = null;
  32247. else {
  32248. t1 = $.$get$_traces0();
  32249. A.Expando__checkType(error);
  32250. t1 = t1._jsWeakMap.get(error);
  32251. }
  32252. return t1;
  32253. },
  32254. parseSignature(signature, requireParens) {
  32255. var error, stackTrace, t1, exception, t2;
  32256. try {
  32257. t1 = A.ScssParser$0(signature, null).parseSignature$1$requireParens(requireParens);
  32258. return t1;
  32259. } catch (exception) {
  32260. t1 = A.unwrapException(exception);
  32261. if (type$.SassFormatException_2._is(t1)) {
  32262. error = t1;
  32263. stackTrace = A.getTraceFromException(exception);
  32264. t1 = error._span_exception$_message;
  32265. t2 = J.get$span$z(error);
  32266. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32267. } else
  32268. throw exception;
  32269. }
  32270. },
  32271. indent_closure0: function indent_closure0(t0) {
  32272. this.indentation = t0;
  32273. },
  32274. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32275. this.T = t0;
  32276. },
  32277. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32278. this.result = t0;
  32279. this.T = t1;
  32280. },
  32281. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32282. this.selections = t0;
  32283. this.lengths = t1;
  32284. this.T = t2;
  32285. },
  32286. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32287. var _ = this;
  32288. _.destination = t0;
  32289. _.K1 = t1;
  32290. _.K2 = t2;
  32291. _.V = t3;
  32292. },
  32293. CssValue0: function CssValue0(t0, t1, t2) {
  32294. this.value = t0;
  32295. this.span = t1;
  32296. this.$ti = t2;
  32297. },
  32298. ValueExpression0: function ValueExpression0(t0, t1) {
  32299. this.value = t0;
  32300. this.span = t1;
  32301. },
  32302. valueClass_closure: function valueClass_closure() {
  32303. },
  32304. valueClass__closure: function valueClass__closure() {
  32305. },
  32306. valueClass__closure0: function valueClass__closure0() {
  32307. },
  32308. valueClass__closure1: function valueClass__closure1() {
  32309. },
  32310. valueClass__closure2: function valueClass__closure2() {
  32311. },
  32312. valueClass__closure3: function valueClass__closure3() {
  32313. },
  32314. valueClass__closure4: function valueClass__closure4() {
  32315. },
  32316. valueClass__closure5: function valueClass__closure5() {
  32317. },
  32318. valueClass__closure6: function valueClass__closure6() {
  32319. },
  32320. valueClass__closure7: function valueClass__closure7() {
  32321. },
  32322. valueClass__closure8: function valueClass__closure8() {
  32323. },
  32324. valueClass__closure9: function valueClass__closure9() {
  32325. },
  32326. valueClass__closure10: function valueClass__closure10() {
  32327. },
  32328. valueClass__closure11: function valueClass__closure11() {
  32329. },
  32330. valueClass__closure12: function valueClass__closure12() {
  32331. },
  32332. valueClass__closure13: function valueClass__closure13() {
  32333. },
  32334. valueClass__closure14: function valueClass__closure14() {
  32335. },
  32336. valueClass__closure15: function valueClass__closure15() {
  32337. },
  32338. valueClass__closure16: function valueClass__closure16() {
  32339. },
  32340. valueClass__closure17: function valueClass__closure17() {
  32341. },
  32342. valueClass__closure18: function valueClass__closure18() {
  32343. },
  32344. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32345. var error, stackTrace, t1, exception,
  32346. string = _this._value$_selectorString$1($name);
  32347. try {
  32348. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32349. return t1;
  32350. } catch (exception) {
  32351. t1 = A.unwrapException(exception);
  32352. if (type$.SassFormatException_2._is(t1)) {
  32353. error = t1;
  32354. stackTrace = A.getTraceFromException(exception);
  32355. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32356. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32357. } else
  32358. throw exception;
  32359. }
  32360. },
  32361. SassApiValue_assertCompoundSelector0(_this, $name) {
  32362. var error, stackTrace, t1, exception,
  32363. allowParent = false,
  32364. string = _this._value$_selectorString$1($name);
  32365. try {
  32366. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32367. return t1;
  32368. } catch (exception) {
  32369. t1 = A.unwrapException(exception);
  32370. if (type$.SassFormatException_2._is(t1)) {
  32371. error = t1;
  32372. stackTrace = A.getTraceFromException(exception);
  32373. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32374. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32375. } else
  32376. throw exception;
  32377. }
  32378. },
  32379. Value0: function Value0() {
  32380. },
  32381. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32382. this.namespace = t0;
  32383. this.name = t1;
  32384. this.span = t2;
  32385. },
  32386. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32387. if (namespace != null && global)
  32388. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32389. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32390. },
  32391. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32392. var _ = this;
  32393. _.namespace = t0;
  32394. _.name = t1;
  32395. _.expression = t2;
  32396. _.isGuarded = t3;
  32397. _.isGlobal = t4;
  32398. _.span = t5;
  32399. },
  32400. WarnRule0: function WarnRule0(t0, t1) {
  32401. this.expression = t0;
  32402. this.span = t1;
  32403. },
  32404. WhileRule$0(condition, children, span) {
  32405. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32406. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32407. return new A.WhileRule0(condition, span, t1, t2);
  32408. },
  32409. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32410. var _ = this;
  32411. _.condition = t0;
  32412. _.span = t1;
  32413. _.children = t2;
  32414. _.hasDeclarations = t3;
  32415. },
  32416. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32417. this.name = t0;
  32418. this._space$_channels = t1;
  32419. },
  32420. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32421. this.name = t0;
  32422. this._space$_channels = t1;
  32423. },
  32424. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32425. var _0_0 = A.parseSignature(signature, requireParens);
  32426. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32427. },
  32428. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32429. var _0_0 = A.parseSignature(signature, requireParens);
  32430. 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);
  32431. },
  32432. printString(string) {
  32433. if (typeof dartPrint == "function") {
  32434. dartPrint(string);
  32435. return;
  32436. }
  32437. if (typeof console == "object" && typeof console.log != "undefined") {
  32438. console.log(string);
  32439. return;
  32440. }
  32441. if (typeof print == "function") {
  32442. print(string);
  32443. return;
  32444. }
  32445. throw "Unable to print message: " + String(string);
  32446. },
  32447. mergeMaps(map1, map2, $K, $V) {
  32448. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32449. result.addAll$1(0, map2);
  32450. return result;
  32451. },
  32452. groupBy(values, key, $S, $T) {
  32453. var t1, t2, _i, element, t3, t4,
  32454. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32455. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32456. element = values[_i];
  32457. t3 = key.call$1(element);
  32458. t4 = map.$index(0, t3);
  32459. if (t4 == null) {
  32460. t4 = A._setArrayType([], t2);
  32461. map.$indexSet(0, t3, t4);
  32462. t3 = t4;
  32463. } else
  32464. t3 = t4;
  32465. J.add$1$ax(t3, element);
  32466. }
  32467. return map;
  32468. },
  32469. minBy(values, orderBy) {
  32470. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32471. 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();) {
  32472. element = t2.__internal$_current;
  32473. if (element == null)
  32474. element = t1._as(element);
  32475. elementOrderBy = orderBy.call$1(element);
  32476. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32477. minOrderBy = elementOrderBy;
  32478. minValue = element;
  32479. }
  32480. }
  32481. return minValue;
  32482. },
  32483. IterableExtension_firstWhereOrNull(_this, test) {
  32484. var t1, element;
  32485. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32486. element = t1.get$current(t1);
  32487. if (test.call$1(element))
  32488. return element;
  32489. }
  32490. return null;
  32491. },
  32492. IterableExtension_get_firstOrNull(_this) {
  32493. var iterator = J.get$iterator$ax(_this);
  32494. if (iterator.moveNext$0())
  32495. return iterator.get$current(iterator);
  32496. return null;
  32497. },
  32498. IterableExtension_get_lastOrNull(_this) {
  32499. if (_this.get$length(0) === 0)
  32500. return null;
  32501. return _this.get$last(_this);
  32502. },
  32503. IterableExtension_get_singleOrNull(_this) {
  32504. var result,
  32505. iterator = J.get$iterator$ax(_this);
  32506. if (iterator.moveNext$0()) {
  32507. result = iterator.get$current(iterator);
  32508. if (!iterator.moveNext$0())
  32509. return result;
  32510. }
  32511. return null;
  32512. },
  32513. IterableIntegerExtension_get_maxOrNull(_this) {
  32514. var value, newValue,
  32515. iterator = _this.get$iterator(_this);
  32516. if (iterator.moveNext$0()) {
  32517. value = iterator.get$current(iterator);
  32518. for (; iterator.moveNext$0();) {
  32519. newValue = iterator.get$current(iterator);
  32520. if (newValue > value)
  32521. value = newValue;
  32522. }
  32523. return value;
  32524. }
  32525. return null;
  32526. },
  32527. IterableIntegerExtension_get_max(_this) {
  32528. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32529. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32530. },
  32531. IterableIntegerExtension_get_sum(_this) {
  32532. var t1, t2, result, t3;
  32533. 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();) {
  32534. t3 = t2.__internal$_current;
  32535. result += t3 == null ? t1._as(t3) : t3;
  32536. }
  32537. return result;
  32538. },
  32539. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32540. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32541. },
  32542. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32543. return function() {
  32544. var _this = $async$_this,
  32545. convert = $async$convert,
  32546. $E = $async$$E,
  32547. $R = $async$$R;
  32548. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32549. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32550. if ($async$errorCode === 1) {
  32551. $async$errorStack.push($async$result);
  32552. $async$goto = $async$handler;
  32553. }
  32554. while (true)
  32555. switch ($async$goto) {
  32556. case 0:
  32557. // Function start
  32558. t1 = _this.length, index = 0;
  32559. case 2:
  32560. // for condition
  32561. if (!(index < t1)) {
  32562. // goto after for
  32563. $async$goto = 4;
  32564. break;
  32565. }
  32566. $async$goto = 5;
  32567. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32568. case 5:
  32569. // after yield
  32570. case 3:
  32571. // for update
  32572. ++index;
  32573. // goto for condition
  32574. $async$goto = 2;
  32575. break;
  32576. case 4:
  32577. // after for
  32578. // implicit return
  32579. return 0;
  32580. case 1:
  32581. // rethrow
  32582. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32583. }
  32584. };
  32585. };
  32586. },
  32587. ListExtensions_elementAtOrNull(_this, index) {
  32588. var t1 = J.getInterceptor$asx(_this);
  32589. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32590. },
  32591. defaultCompare(value1, value2) {
  32592. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32593. },
  32594. current() {
  32595. var exception, t1, path, lastIndex, uri = null;
  32596. try {
  32597. uri = A.Uri_base();
  32598. } catch (exception) {
  32599. if (type$.Exception._is(A.unwrapException(exception))) {
  32600. t1 = $._current;
  32601. if (t1 != null)
  32602. return t1;
  32603. throw exception;
  32604. } else
  32605. throw exception;
  32606. }
  32607. if (J.$eq$(uri, $._currentUriBase)) {
  32608. t1 = $._current;
  32609. t1.toString;
  32610. return t1;
  32611. }
  32612. $._currentUriBase = uri;
  32613. if ($.$get$Style_platform() === $.$get$Style_url())
  32614. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32615. else {
  32616. path = uri.toFilePath$0();
  32617. lastIndex = path.length - 1;
  32618. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32619. }
  32620. return t1;
  32621. },
  32622. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32623. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32624. },
  32625. join(part1, part2, part3) {
  32626. var _null = null;
  32627. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32628. },
  32629. toUri(path) {
  32630. return $.$get$context().toUri$1(path);
  32631. },
  32632. prettyUri(uri) {
  32633. var t1 = $.$get$context();
  32634. uri.toString;
  32635. return t1.prettyUri$1(uri);
  32636. },
  32637. isAlphabetic(char) {
  32638. var t1;
  32639. if (!(char >= 65 && char <= 90))
  32640. t1 = char >= 97 && char <= 122;
  32641. else
  32642. t1 = true;
  32643. return t1;
  32644. },
  32645. driveLetterEnd(path, index) {
  32646. var t2, t3, _null = null,
  32647. t1 = path.length,
  32648. index0 = index + 2;
  32649. if (t1 < index0)
  32650. return _null;
  32651. if (!A.isAlphabetic(path.charCodeAt(index)))
  32652. return _null;
  32653. t2 = index + 1;
  32654. if (path.charCodeAt(t2) !== 58) {
  32655. t3 = index + 4;
  32656. if (t1 < t3)
  32657. return _null;
  32658. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32659. return _null;
  32660. index = index0;
  32661. }
  32662. t2 = index + 2;
  32663. if (t1 === t2)
  32664. return t2;
  32665. if (path.charCodeAt(t2) !== 47)
  32666. return _null;
  32667. return index + 3;
  32668. },
  32669. main0(args) {
  32670. var $async$goto = 0,
  32671. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32672. t1;
  32673. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32674. if ($async$errorCode === 1)
  32675. return A._asyncRethrow($async$result, $async$completer);
  32676. while (true)
  32677. switch ($async$goto) {
  32678. case 0:
  32679. // Function start
  32680. A.printError("sass --embedded is unavailable in pure JS mode.");
  32681. t1 = A.isNodeJs() ? self.process : null;
  32682. if (t1 != null)
  32683. J.set$exitCode$x(t1, 1);
  32684. // implicit return
  32685. return A._asyncReturn(null, $async$completer);
  32686. }
  32687. });
  32688. return A._asyncStartSync($async$main0, $async$completer);
  32689. },
  32690. EvaluationContext_currentOrNull() {
  32691. var t1,
  32692. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32693. $label0$0: {
  32694. if (type$.EvaluationContext._is(_0_0)) {
  32695. t1 = _0_0;
  32696. break $label0$0;
  32697. }
  32698. t1 = null;
  32699. break $label0$0;
  32700. }
  32701. return t1;
  32702. },
  32703. warn(message) {
  32704. var t1, _null = null,
  32705. _0_0 = A.EvaluationContext_currentOrNull();
  32706. $label0$0: {
  32707. if (_0_0 != null) {
  32708. t1 = _0_0.warn$2(0, message, _null);
  32709. break $label0$0;
  32710. }
  32711. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32712. t1 = _null;
  32713. break $label0$0;
  32714. }
  32715. return t1;
  32716. },
  32717. warnForDeprecation(message, deprecation) {
  32718. var t1,
  32719. _0_0 = A.EvaluationContext_currentOrNull();
  32720. $label0$0: {
  32721. if (_0_0 != null) {
  32722. t1 = _0_0.warn$2(0, message, deprecation);
  32723. break $label0$0;
  32724. }
  32725. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32726. break $label0$0;
  32727. }
  32728. return t1;
  32729. },
  32730. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32731. var $async$goto = 0,
  32732. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32733. $async$returnValue, t2, _1_4, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32734. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32735. if ($async$errorCode === 1)
  32736. return A._asyncRethrow($async$result, $async$completer);
  32737. while (true)
  32738. switch ($async$goto) {
  32739. case 0:
  32740. // Function start
  32741. t1 = type$.nullable_String;
  32742. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  32743. t2 = t1.length;
  32744. $async$goto = t2 === 1 ? 4 : 5;
  32745. break;
  32746. case 4:
  32747. // then
  32748. _1_4 = t1[0];
  32749. $async$temp1 = A;
  32750. $async$goto = 6;
  32751. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32752. case 6:
  32753. // returning from await.
  32754. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32755. // goto break $label0$0
  32756. $async$goto = 3;
  32757. break;
  32758. case 5:
  32759. // join
  32760. t3 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32761. for (_i = 0; _i < t2; ++_i) {
  32762. t4 = t1[_i];
  32763. t3.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32764. }
  32765. $async$goto = 7;
  32766. 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);
  32767. case 7:
  32768. // returning from await.
  32769. t1 = $async$result;
  32770. // goto break $label0$0
  32771. $async$goto = 3;
  32772. break;
  32773. case 3:
  32774. // break $label0$0
  32775. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  32776. errorWithStackTrace = t1.get$current(t1);
  32777. if (errorWithStackTrace == null)
  32778. continue;
  32779. code = errorWithStackTrace._0;
  32780. error = errorWithStackTrace._1;
  32781. stackTrace = errorWithStackTrace._2;
  32782. t2 = self.process;
  32783. if (t2 == null)
  32784. t2 = null;
  32785. else {
  32786. t2 = J.get$release$x(t2);
  32787. t2 = t2 == null ? null : J.get$name$x(t2);
  32788. }
  32789. t2 = J.$eq$(t2, "node") ? self.process : null;
  32790. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  32791. if (t2 == null)
  32792. t2 = 0;
  32793. t2 = Math.max(t2, code);
  32794. t3 = self.process;
  32795. if (t3 == null)
  32796. t3 = null;
  32797. else {
  32798. t3 = J.get$release$x(t3);
  32799. t3 = t3 == null ? null : J.get$name$x(t3);
  32800. }
  32801. t3 = J.$eq$(t3, "node") ? self.process : null;
  32802. if (t3 != null)
  32803. J.set$exitCode$x(t3, t2);
  32804. buffer = new A.StringBuffer("");
  32805. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  32806. buffer._contents = t2;
  32807. if (stackTrace != null) {
  32808. t2 += "\n";
  32809. buffer._contents = t2;
  32810. t2 += "\n";
  32811. buffer._contents = t2;
  32812. buffer._contents = t2 + stackTrace;
  32813. }
  32814. A.printError(buffer);
  32815. printedError = true;
  32816. }
  32817. $async$returnValue = !printedError;
  32818. // goto return
  32819. $async$goto = 1;
  32820. break;
  32821. case 1:
  32822. // return
  32823. return A._asyncReturn($async$returnValue, $async$completer);
  32824. }
  32825. });
  32826. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  32827. },
  32828. CharacterExtension_get_isAlphabetic(_this) {
  32829. var t1;
  32830. if (!(_this >= 97 && _this <= 122))
  32831. t1 = _this >= 65 && _this <= 90;
  32832. else
  32833. t1 = true;
  32834. return t1;
  32835. },
  32836. CharacterExtension_get_isHex(_this) {
  32837. var t1 = true;
  32838. if (!(_this >= 48 && _this <= 57))
  32839. if (!(_this >= 97 && _this <= 102))
  32840. t1 = _this >= 65 && _this <= 70;
  32841. return t1;
  32842. },
  32843. asHex(character) {
  32844. var t1;
  32845. $label0$0: {
  32846. if (character <= 57) {
  32847. t1 = character - 48;
  32848. break $label0$0;
  32849. }
  32850. if (character <= 70) {
  32851. t1 = 10 + character - 65;
  32852. break $label0$0;
  32853. }
  32854. t1 = 10 + character - 97;
  32855. break $label0$0;
  32856. }
  32857. return t1;
  32858. },
  32859. hexCharFor(number) {
  32860. return number < 10 ? 48 + number : 87 + number;
  32861. },
  32862. opposite(character) {
  32863. var t1;
  32864. $label0$0: {
  32865. if (40 === character) {
  32866. t1 = 41;
  32867. break $label0$0;
  32868. }
  32869. if (123 === character) {
  32870. t1 = 125;
  32871. break $label0$0;
  32872. }
  32873. if (91 === character) {
  32874. t1 = 93;
  32875. break $label0$0;
  32876. }
  32877. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  32878. }
  32879. return t1;
  32880. },
  32881. characterEqualsIgnoreCase(character1, character2) {
  32882. var upperCase1;
  32883. if (character1 === character2)
  32884. return true;
  32885. if ((character1 ^ character2) >>> 0 !== 32)
  32886. return false;
  32887. upperCase1 = (character1 & 4294967263) >>> 0;
  32888. return upperCase1 >= 65 && upperCase1 <= 90;
  32889. },
  32890. IterableExtension_search(_this, callback) {
  32891. var t1, _0_0;
  32892. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32893. _0_0 = callback.call$1(t1.get$current(t1));
  32894. if (_0_0 != null)
  32895. return _0_0;
  32896. }
  32897. return null;
  32898. },
  32899. IterableExtension_get_exceptLast(_this) {
  32900. var t1 = J.getInterceptor$asx(_this),
  32901. size = t1.get$length(_this) - 1;
  32902. if (size < 0)
  32903. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  32904. return t1.take$1(_this, size);
  32905. },
  32906. NullableExtension_andThen(_this, fn) {
  32907. return _this == null ? null : fn.call$1(_this);
  32908. },
  32909. SetExtension_removeNull(_this, $T) {
  32910. _this.remove$1(0, null);
  32911. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  32912. },
  32913. fuzzyEquals(number1, number2) {
  32914. var t1;
  32915. if (number1 === number2)
  32916. return true;
  32917. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32918. t1 = $.$get$_inverseEpsilon();
  32919. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32920. } else
  32921. t1 = false;
  32922. return t1;
  32923. },
  32924. fuzzyEqualsNullable(number1, number2) {
  32925. var t1;
  32926. if (number1 == number2)
  32927. return true;
  32928. if (number1 == null || number2 == null)
  32929. return false;
  32930. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32931. t1 = $.$get$_inverseEpsilon();
  32932. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32933. } else
  32934. t1 = false;
  32935. return t1;
  32936. },
  32937. fuzzyHashCode(number) {
  32938. if (!isFinite(number))
  32939. return B.JSNumber_methods.get$hashCode(number);
  32940. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  32941. },
  32942. fuzzyLessThan(number1, number2) {
  32943. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  32944. },
  32945. fuzzyLessThanOrEquals(number1, number2) {
  32946. return number1 < number2 || A.fuzzyEquals(number1, number2);
  32947. },
  32948. fuzzyGreaterThan(number1, number2) {
  32949. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  32950. },
  32951. fuzzyGreaterThanOrEquals(number1, number2) {
  32952. return number1 > number2 || A.fuzzyEquals(number1, number2);
  32953. },
  32954. fuzzyIsInt(number) {
  32955. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32956. return false;
  32957. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  32958. },
  32959. fuzzyAsInt(number) {
  32960. var rounded;
  32961. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32962. return null;
  32963. rounded = B.JSNumber_methods.round$0(number);
  32964. return A.fuzzyEquals(number, rounded) ? rounded : null;
  32965. },
  32966. fuzzyRound(number) {
  32967. var t1;
  32968. if (number > 0) {
  32969. t1 = B.JSNumber_methods.$mod(number, 1);
  32970. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32971. } else {
  32972. t1 = B.JSNumber_methods.$mod(number, 1);
  32973. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32974. }
  32975. },
  32976. fuzzyCheckRange(number, min, max) {
  32977. if (A.fuzzyEquals(number, min))
  32978. return min;
  32979. if (A.fuzzyEquals(number, max))
  32980. return max;
  32981. if (number > min && number < max)
  32982. return number;
  32983. return null;
  32984. },
  32985. fuzzyAssertRange(number, min, max, $name) {
  32986. var result = A.fuzzyCheckRange(number, min, max);
  32987. if (result != null)
  32988. return result;
  32989. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  32990. },
  32991. moduloLikeSass(num1, num2) {
  32992. var result;
  32993. if (num1 == 1 / 0 || num1 == -1 / 0)
  32994. return 0 / 0;
  32995. if (num2 == 1 / 0 || num2 == -1 / 0)
  32996. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  32997. if (num2 > 0)
  32998. return B.JSNumber_methods.$mod(num1, num2);
  32999. if (num2 === 0)
  33000. return 0 / 0;
  33001. result = B.JSNumber_methods.$mod(num1, num2);
  33002. return result === 0 ? 0 : result + num2;
  33003. },
  33004. sqrt(number) {
  33005. number.assertNoUnits$1("number");
  33006. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  33007. },
  33008. sin(number) {
  33009. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33010. },
  33011. cos(number) {
  33012. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33013. },
  33014. tan(number) {
  33015. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33016. },
  33017. atan(number) {
  33018. number.assertNoUnits$1("number");
  33019. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33020. },
  33021. asin(number) {
  33022. number.assertNoUnits$1("number");
  33023. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33024. },
  33025. acos(number) {
  33026. number.assertNoUnits$1("number");
  33027. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33028. },
  33029. log(number, base) {
  33030. if (base != null)
  33031. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  33032. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  33033. },
  33034. pow0(base, exponent) {
  33035. base.assertNoUnits$1("base");
  33036. exponent.assertNoUnits$1("exponent");
  33037. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  33038. },
  33039. DoubleWithSignedZero_get_signIncludingZero(_this) {
  33040. if (_this === -0.0)
  33041. return -1;
  33042. if (_this === 0)
  33043. return 1;
  33044. return J.get$sign$in(_this);
  33045. },
  33046. SpanExtensions_trimLeft(_this) {
  33047. var t1, start = 0;
  33048. while (true) {
  33049. t1 = _this.get$text().charCodeAt(start);
  33050. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33051. break;
  33052. ++start;
  33053. }
  33054. return A.FileSpanExtension_subspan(_this, start, null);
  33055. },
  33056. SpanExtensions_trimRight(_this) {
  33057. var t1,
  33058. end = _this.get$text().length - 1;
  33059. while (true) {
  33060. t1 = _this.get$text().charCodeAt(end);
  33061. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33062. break;
  33063. --end;
  33064. }
  33065. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33066. },
  33067. SpanExtensions_initialIdentifier(_this) {
  33068. var i,
  33069. scanner = A.StringScanner$(_this.get$text(), null, null);
  33070. for (i = 0; false; ++i)
  33071. scanner.readChar$0();
  33072. A._scanIdentifier(scanner);
  33073. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33074. },
  33075. SpanExtensions_withoutInitialIdentifier(_this) {
  33076. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33077. A._scanIdentifier(scanner);
  33078. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33079. },
  33080. _scanIdentifier(scanner) {
  33081. var t1, _0_0, t2;
  33082. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33083. _0_0 = scanner.peekChar$0();
  33084. if (92 === _0_0) {
  33085. A.consumeEscapedCharacter(scanner);
  33086. continue;
  33087. }
  33088. if (A._isInt(_0_0)) {
  33089. if (_0_0 !== 95) {
  33090. if (!(_0_0 >= 97 && _0_0 <= 122))
  33091. t2 = _0_0 >= 65 && _0_0 <= 90;
  33092. else
  33093. t2 = true;
  33094. t2 = t2 || _0_0 >= 128;
  33095. } else
  33096. t2 = true;
  33097. if (!t2)
  33098. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33099. else
  33100. t2 = true;
  33101. } else
  33102. t2 = false;
  33103. if (t2) {
  33104. scanner.readChar$0();
  33105. continue;
  33106. }
  33107. break;
  33108. }
  33109. },
  33110. hueToRgb(m1, m2, hue) {
  33111. var t1;
  33112. if (hue < 0)
  33113. ++hue;
  33114. if (hue > 1)
  33115. --hue;
  33116. $label0$0: {
  33117. if (hue < 0.16666666666666666) {
  33118. t1 = m1 + (m2 - m1) * hue * 6;
  33119. break $label0$0;
  33120. }
  33121. if (hue < 0.5) {
  33122. t1 = m2;
  33123. break $label0$0;
  33124. }
  33125. if (hue < 0.6666666666666666) {
  33126. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33127. break $label0$0;
  33128. }
  33129. t1 = m1;
  33130. break $label0$0;
  33131. }
  33132. return t1;
  33133. },
  33134. srgbAndDisplayP3ToLinear(channel) {
  33135. var abs = Math.abs(channel);
  33136. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33137. },
  33138. srgbAndDisplayP3FromLinear(channel) {
  33139. var abs = Math.abs(channel);
  33140. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33141. },
  33142. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33143. var t3, t4, chroma, hue,
  33144. t1 = a == null,
  33145. t2 = t1 ? 0 : a;
  33146. t2 = Math.pow(t2, 2);
  33147. t3 = b == null;
  33148. t4 = t3 ? 0 : b;
  33149. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33150. if (missingHue || A.fuzzyEquals(chroma, 0))
  33151. hue = null;
  33152. else {
  33153. t2 = t3 ? 0 : b;
  33154. t1 = t1 ? 0 : a;
  33155. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33156. }
  33157. t1 = missingChroma ? null : chroma;
  33158. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33159. },
  33160. encodeVlq(value) {
  33161. var res, signBit, digit, t1;
  33162. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33163. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33164. res = A._setArrayType([], type$.JSArray_String);
  33165. if (value < 0) {
  33166. value = -value;
  33167. signBit = 1;
  33168. } else
  33169. signBit = 0;
  33170. value = value << 1 | signBit;
  33171. do {
  33172. digit = value & 31;
  33173. value = value >>> 5;
  33174. t1 = value > 0;
  33175. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33176. } while (t1);
  33177. return res;
  33178. },
  33179. isAllTheSame(iter) {
  33180. var firstValue, t1, t2, value;
  33181. if (iter.get$length(0) === 0)
  33182. return true;
  33183. firstValue = iter.get$first(0);
  33184. 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();) {
  33185. value = t1.__internal$_current;
  33186. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33187. return false;
  33188. }
  33189. return true;
  33190. },
  33191. replaceFirstNull(list, element) {
  33192. var index = B.JSArray_methods.indexOf$1(list, null);
  33193. if (index < 0)
  33194. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33195. list[index] = element;
  33196. },
  33197. replaceWithNull(list, element) {
  33198. var index = B.JSArray_methods.indexOf$1(list, element);
  33199. if (index < 0)
  33200. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33201. list[index] = null;
  33202. },
  33203. countCodeUnits(string, codeUnit) {
  33204. var t1, t2, count, t3;
  33205. 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();) {
  33206. t3 = t1.__internal$_current;
  33207. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33208. ++count;
  33209. }
  33210. return count;
  33211. },
  33212. findLineStart(context, text, column) {
  33213. var beginningOfLine, index, lineStart;
  33214. if (text.length === 0)
  33215. for (beginningOfLine = 0; true;) {
  33216. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33217. if (index === -1)
  33218. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33219. if (index - beginningOfLine >= column)
  33220. return beginningOfLine;
  33221. beginningOfLine = index + 1;
  33222. }
  33223. index = B.JSString_methods.indexOf$1(context, text);
  33224. for (; index !== -1;) {
  33225. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33226. if (column === index - lineStart)
  33227. return lineStart;
  33228. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33229. }
  33230. return null;
  33231. },
  33232. validateErrorArgs(string, match, position, $length) {
  33233. var t2,
  33234. t1 = position != null;
  33235. if (t1)
  33236. if (position < 0)
  33237. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33238. else if (position > string.length)
  33239. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33240. t2 = $length != null;
  33241. if (t2 && $length < 0)
  33242. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33243. if (t1 && t2 && position + $length > string.length)
  33244. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33245. },
  33246. CharacterExtension_get_isAlphabetic0(_this) {
  33247. var t1;
  33248. if (!(_this >= 97 && _this <= 122))
  33249. t1 = _this >= 65 && _this <= 90;
  33250. else
  33251. t1 = true;
  33252. return t1;
  33253. },
  33254. CharacterExtension_get_isHex0(_this) {
  33255. var t1 = true;
  33256. if (!(_this >= 48 && _this <= 57))
  33257. if (!(_this >= 97 && _this <= 102))
  33258. t1 = _this >= 65 && _this <= 70;
  33259. return t1;
  33260. },
  33261. combineSurrogates(highSurrogate, lowSurrogate) {
  33262. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33263. },
  33264. asHex0(character) {
  33265. var t1;
  33266. $label0$0: {
  33267. if (character <= 57) {
  33268. t1 = character - 48;
  33269. break $label0$0;
  33270. }
  33271. if (character <= 70) {
  33272. t1 = 10 + character - 65;
  33273. break $label0$0;
  33274. }
  33275. t1 = 10 + character - 97;
  33276. break $label0$0;
  33277. }
  33278. return t1;
  33279. },
  33280. hexCharFor0(number) {
  33281. return number < 10 ? 48 + number : 87 + number;
  33282. },
  33283. opposite0(character) {
  33284. var t1;
  33285. $label0$0: {
  33286. if (40 === character) {
  33287. t1 = 41;
  33288. break $label0$0;
  33289. }
  33290. if (123 === character) {
  33291. t1 = 125;
  33292. break $label0$0;
  33293. }
  33294. if (91 === character) {
  33295. t1 = 93;
  33296. break $label0$0;
  33297. }
  33298. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33299. }
  33300. return t1;
  33301. },
  33302. characterEqualsIgnoreCase0(character1, character2) {
  33303. var upperCase1;
  33304. if (character1 === character2)
  33305. return true;
  33306. if ((character1 ^ character2) >>> 0 !== 32)
  33307. return false;
  33308. upperCase1 = (character1 & 4294967263) >>> 0;
  33309. return upperCase1 >= 65 && upperCase1 <= 90;
  33310. },
  33311. EvaluationContext_currentOrNull0() {
  33312. var t1,
  33313. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33314. $label0$0: {
  33315. if (type$.EvaluationContext_2._is(_0_0)) {
  33316. t1 = _0_0;
  33317. break $label0$0;
  33318. }
  33319. t1 = null;
  33320. break $label0$0;
  33321. }
  33322. return t1;
  33323. },
  33324. EvaluationContext__currentOrNull() {
  33325. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33326. if (type$.EvaluationContext_2._is(_0_0))
  33327. return _0_0;
  33328. else
  33329. return null;
  33330. },
  33331. warn0(message) {
  33332. var t1, _null = null,
  33333. _0_0 = A.EvaluationContext_currentOrNull0();
  33334. $label0$0: {
  33335. if (_0_0 != null) {
  33336. t1 = _0_0.warn$2(0, message, _null);
  33337. break $label0$0;
  33338. }
  33339. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33340. t1 = _null;
  33341. break $label0$0;
  33342. }
  33343. return t1;
  33344. },
  33345. warnForDeprecation0(message, deprecation) {
  33346. var t1,
  33347. _0_0 = A.EvaluationContext_currentOrNull0();
  33348. $label0$0: {
  33349. if (_0_0 != null) {
  33350. t1 = _0_0.warn$2(0, message, deprecation);
  33351. break $label0$0;
  33352. }
  33353. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33354. break $label0$0;
  33355. }
  33356. return t1;
  33357. },
  33358. warnForDeprecationFromApi(message, deprecation) {
  33359. var _0_0 = A.EvaluationContext__currentOrNull();
  33360. if (_0_0 != null)
  33361. _0_0.warn$2(0, message, deprecation);
  33362. else
  33363. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33364. },
  33365. IterableExtension_search0(_this, callback) {
  33366. var t1, _0_0;
  33367. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33368. _0_0 = callback.call$1(t1.get$current(t1));
  33369. if (_0_0 != null)
  33370. return _0_0;
  33371. }
  33372. return null;
  33373. },
  33374. IterableExtension_get_exceptLast0(_this) {
  33375. var t1 = J.getInterceptor$asx(_this),
  33376. size = t1.get$length(_this) - 1;
  33377. if (size < 0)
  33378. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33379. return t1.take$1(_this, size);
  33380. },
  33381. NullableExtension_andThen0(_this, fn) {
  33382. return _this == null ? null : fn.call$1(_this);
  33383. },
  33384. fuzzyEquals0(number1, number2) {
  33385. var t1;
  33386. if (number1 === number2)
  33387. return true;
  33388. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33389. t1 = $.$get$_inverseEpsilon0();
  33390. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33391. } else
  33392. t1 = false;
  33393. return t1;
  33394. },
  33395. fuzzyEqualsNullable0(number1, number2) {
  33396. var t1;
  33397. if (number1 == number2)
  33398. return true;
  33399. if (number1 == null || number2 == null)
  33400. return false;
  33401. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33402. t1 = $.$get$_inverseEpsilon0();
  33403. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33404. } else
  33405. t1 = false;
  33406. return t1;
  33407. },
  33408. fuzzyHashCode0(number) {
  33409. if (!isFinite(number))
  33410. return B.JSNumber_methods.get$hashCode(number);
  33411. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33412. },
  33413. fuzzyLessThan0(number1, number2) {
  33414. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33415. },
  33416. fuzzyLessThanOrEquals0(number1, number2) {
  33417. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33418. },
  33419. fuzzyGreaterThan0(number1, number2) {
  33420. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33421. },
  33422. fuzzyGreaterThanOrEquals0(number1, number2) {
  33423. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33424. },
  33425. fuzzyIsInt0(number) {
  33426. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33427. return false;
  33428. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33429. },
  33430. fuzzyAsInt0(number) {
  33431. var rounded;
  33432. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33433. return null;
  33434. rounded = B.JSNumber_methods.round$0(number);
  33435. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33436. },
  33437. fuzzyRound0(number) {
  33438. var t1;
  33439. if (number > 0) {
  33440. t1 = B.JSNumber_methods.$mod(number, 1);
  33441. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33442. } else {
  33443. t1 = B.JSNumber_methods.$mod(number, 1);
  33444. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33445. }
  33446. },
  33447. fuzzyCheckRange0(number, min, max) {
  33448. if (A.fuzzyEquals0(number, min))
  33449. return min;
  33450. if (A.fuzzyEquals0(number, max))
  33451. return max;
  33452. if (number > min && number < max)
  33453. return number;
  33454. return null;
  33455. },
  33456. fuzzyAssertRange0(number, min, max, $name) {
  33457. var result = A.fuzzyCheckRange0(number, min, max);
  33458. if (result != null)
  33459. return result;
  33460. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33461. },
  33462. moduloLikeSass0(num1, num2) {
  33463. var result;
  33464. if (num1 == 1 / 0 || num1 == -1 / 0)
  33465. return 0 / 0;
  33466. if (num2 == 1 / 0 || num2 == -1 / 0)
  33467. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33468. if (num2 > 0)
  33469. return B.JSNumber_methods.$mod(num1, num2);
  33470. if (num2 === 0)
  33471. return 0 / 0;
  33472. result = B.JSNumber_methods.$mod(num1, num2);
  33473. return result === 0 ? 0 : result + num2;
  33474. },
  33475. sqrt0(number) {
  33476. number.assertNoUnits$1("number");
  33477. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33478. },
  33479. sin0(number) {
  33480. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33481. },
  33482. cos0(number) {
  33483. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33484. },
  33485. tan0(number) {
  33486. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33487. },
  33488. atan0(number) {
  33489. number.assertNoUnits$1("number");
  33490. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33491. },
  33492. asin0(number) {
  33493. number.assertNoUnits$1("number");
  33494. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33495. },
  33496. acos0(number) {
  33497. number.assertNoUnits$1("number");
  33498. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33499. },
  33500. log0(number, base) {
  33501. if (base != null)
  33502. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33503. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33504. },
  33505. pow1(base, exponent) {
  33506. base.assertNoUnits$1("base");
  33507. exponent.assertNoUnits$1("exponent");
  33508. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33509. },
  33510. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33511. if (_this === -0.0)
  33512. return -1;
  33513. if (_this === 0)
  33514. return 1;
  33515. return J.get$sign$in(_this);
  33516. },
  33517. main1(args) {
  33518. return A.main$body(args);
  33519. },
  33520. main$body(args) {
  33521. var $async$goto = 0,
  33522. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33523. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33524. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33525. if ($async$errorCode === 1) {
  33526. $async$errorStack.push($async$result);
  33527. $async$goto = $async$handler;
  33528. }
  33529. while (true)
  33530. switch ($async$goto) {
  33531. case 0:
  33532. // Function start
  33533. if (args.length >= 1 && "--embedded" === args[0]) {
  33534. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33535. // goto return
  33536. $async$goto = 1;
  33537. break;
  33538. }
  33539. options = null;
  33540. $async$handler = 4;
  33541. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33542. t2 = options._options;
  33543. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33544. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33545. break;
  33546. case 7:
  33547. // then
  33548. $async$temp1 = A;
  33549. $async$goto = 9;
  33550. return A._asyncAwait(A._loadVersion(), $async$main1);
  33551. case 9:
  33552. // returning from await.
  33553. $async$temp1.print($async$result);
  33554. t1 = A.isNodeJs() ? self.process : null;
  33555. if (t1 != null)
  33556. J.set$exitCode$x(t1, 0);
  33557. // goto return
  33558. $async$goto = 1;
  33559. break;
  33560. case 8:
  33561. // join
  33562. $async$goto = options.get$interactive() ? 10 : 11;
  33563. break;
  33564. case 10:
  33565. // then
  33566. $async$goto = 12;
  33567. return A._asyncAwait(A.repl(options), $async$main1);
  33568. case 12:
  33569. // returning from await.
  33570. // goto return
  33571. $async$goto = 1;
  33572. break;
  33573. case 11:
  33574. // join
  33575. J.get$silenceDeprecations$x(options);
  33576. J.get$futureDeprecations$x(options);
  33577. J.get$fatalDeprecations$x(options);
  33578. t1 = A.List_List$of(options.get$pkgImporters(), true, type$.Importer_2);
  33579. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33580. t2 = type$.Uri;
  33581. 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));
  33582. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33583. break;
  33584. case 13:
  33585. // then
  33586. $async$goto = 15;
  33587. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33588. case 15:
  33589. // returning from await.
  33590. // goto return
  33591. $async$goto = 1;
  33592. break;
  33593. case 14:
  33594. // join
  33595. t1 = options;
  33596. t2 = options;
  33597. t2._ensureSources$0();
  33598. t2 = t2._sourcesToDestinations;
  33599. t2.toString;
  33600. $async$goto = 16;
  33601. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33602. case 16:
  33603. // returning from await.
  33604. $async$handler = 2;
  33605. // goto after finally
  33606. $async$goto = 6;
  33607. break;
  33608. case 4:
  33609. // catch
  33610. $async$handler = 3;
  33611. $async$exception = $async$errorStack.pop();
  33612. t1 = A.unwrapException($async$exception);
  33613. if (t1 instanceof A.UsageException) {
  33614. error = t1;
  33615. A.print(error.message + "\n");
  33616. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33617. t1 = $.$get$ExecutableOptions__parser();
  33618. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33619. t1 = A.isNodeJs() ? self.process : null;
  33620. if (t1 != null)
  33621. J.set$exitCode$x(t1, 64);
  33622. } else {
  33623. error0 = t1;
  33624. stackTrace = A.getTraceFromException($async$exception);
  33625. buffer = new A.StringBuffer("");
  33626. t1 = options;
  33627. t1 = t1 == null ? null : t1.get$color();
  33628. if (t1 === true)
  33629. buffer._contents += "\x1b[31m\x1b[1m";
  33630. buffer._contents += "Unexpected exception:";
  33631. t1 = options;
  33632. t1 = t1 == null ? null : t1.get$color();
  33633. if (t1 === true)
  33634. buffer._contents += "\x1b[0m";
  33635. buffer._contents += "\n";
  33636. t1 = buffer;
  33637. t2 = A.S(error0) + "\n";
  33638. t1._contents += t2;
  33639. buffer._contents += "\n";
  33640. buffer._contents += "\n";
  33641. t2 = buffer;
  33642. t1 = A.getTrace(error0);
  33643. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33644. t2._contents += t1;
  33645. A.printError(buffer);
  33646. t1 = A.isNodeJs() ? self.process : null;
  33647. if (t1 != null)
  33648. J.set$exitCode$x(t1, 255);
  33649. }
  33650. // goto after finally
  33651. $async$goto = 6;
  33652. break;
  33653. case 3:
  33654. // uncaught
  33655. // goto rethrow
  33656. $async$goto = 2;
  33657. break;
  33658. case 6:
  33659. // after finally
  33660. case 1:
  33661. // return
  33662. return A._asyncReturn($async$returnValue, $async$completer);
  33663. case 2:
  33664. // rethrow
  33665. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33666. }
  33667. });
  33668. return A._asyncStartSync($async$main1, $async$completer);
  33669. },
  33670. _loadVersion() {
  33671. var $async$goto = 0,
  33672. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33673. $async$returnValue;
  33674. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33675. if ($async$errorCode === 1)
  33676. return A._asyncRethrow($async$result, $async$completer);
  33677. while (true)
  33678. switch ($async$goto) {
  33679. case 0:
  33680. // Function start
  33681. $async$returnValue = "1.85.1 compiled with dart2js 3.7.0";
  33682. // goto return
  33683. $async$goto = 1;
  33684. break;
  33685. case 1:
  33686. // return
  33687. return A._asyncReturn($async$returnValue, $async$completer);
  33688. }
  33689. });
  33690. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33691. },
  33692. SpanExtensions_trimLeft0(_this) {
  33693. var t1, start = 0;
  33694. while (true) {
  33695. t1 = _this.get$text().charCodeAt(start);
  33696. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33697. break;
  33698. ++start;
  33699. }
  33700. return A.FileSpanExtension_subspan(_this, start, null);
  33701. },
  33702. SpanExtensions_trimRight0(_this) {
  33703. var t1,
  33704. end = _this.get$text().length - 1;
  33705. while (true) {
  33706. t1 = _this.get$text().charCodeAt(end);
  33707. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33708. break;
  33709. --end;
  33710. }
  33711. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33712. },
  33713. SpanExtensions_initialIdentifier0(_this) {
  33714. var i,
  33715. scanner = A.StringScanner$(_this.get$text(), null, null);
  33716. for (i = 0; false; ++i)
  33717. scanner.readChar$0();
  33718. A._scanIdentifier0(scanner);
  33719. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33720. },
  33721. SpanExtensions_withoutInitialIdentifier0(_this) {
  33722. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33723. A._scanIdentifier0(scanner);
  33724. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33725. },
  33726. SpanExtensions_between(_this, other) {
  33727. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33728. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33729. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33730. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33731. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33732. },
  33733. SpanExtensions_before(_this, inner) {
  33734. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33735. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33736. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33737. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33738. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33739. },
  33740. SpanExtensions_after(_this, inner) {
  33741. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33742. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33743. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33744. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33745. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33746. },
  33747. _scanIdentifier0(scanner) {
  33748. var t1, _0_0, t2;
  33749. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33750. _0_0 = scanner.peekChar$0();
  33751. if (92 === _0_0) {
  33752. A.consumeEscapedCharacter0(scanner);
  33753. continue;
  33754. }
  33755. if (A._isInt(_0_0)) {
  33756. if (_0_0 !== 95) {
  33757. if (!(_0_0 >= 97 && _0_0 <= 122))
  33758. t2 = _0_0 >= 65 && _0_0 <= 90;
  33759. else
  33760. t2 = true;
  33761. t2 = t2 || _0_0 >= 128;
  33762. } else
  33763. t2 = true;
  33764. if (!t2)
  33765. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33766. else
  33767. t2 = true;
  33768. } else
  33769. t2 = false;
  33770. if (t2) {
  33771. scanner.readChar$0();
  33772. continue;
  33773. }
  33774. break;
  33775. }
  33776. },
  33777. validateUrlScheme(scheme) {
  33778. var t1 = $.$get$_urlSchemeRegExp();
  33779. if (!t1._nativeRegExp.test(scheme))
  33780. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33781. },
  33782. hueToRgb0(m1, m2, hue) {
  33783. var t1;
  33784. if (hue < 0)
  33785. ++hue;
  33786. if (hue > 1)
  33787. --hue;
  33788. $label0$0: {
  33789. if (hue < 0.16666666666666666) {
  33790. t1 = m1 + (m2 - m1) * hue * 6;
  33791. break $label0$0;
  33792. }
  33793. if (hue < 0.5) {
  33794. t1 = m2;
  33795. break $label0$0;
  33796. }
  33797. if (hue < 0.6666666666666666) {
  33798. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33799. break $label0$0;
  33800. }
  33801. t1 = m1;
  33802. break $label0$0;
  33803. }
  33804. return t1;
  33805. },
  33806. srgbAndDisplayP3ToLinear0(channel) {
  33807. var abs = Math.abs(channel);
  33808. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33809. },
  33810. srgbAndDisplayP3FromLinear0(channel) {
  33811. var abs = Math.abs(channel);
  33812. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33813. },
  33814. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33815. var t3, t4, chroma, hue,
  33816. t1 = a == null,
  33817. t2 = t1 ? 0 : a;
  33818. t2 = Math.pow(t2, 2);
  33819. t3 = b == null;
  33820. t4 = t3 ? 0 : b;
  33821. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33822. if (missingHue || A.fuzzyEquals0(chroma, 0))
  33823. hue = null;
  33824. else {
  33825. t2 = t3 ? 0 : b;
  33826. t1 = t1 ? 0 : a;
  33827. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33828. }
  33829. t1 = missingChroma ? null : chroma;
  33830. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33831. },
  33832. unwrapValue(object) {
  33833. var value;
  33834. if (object != null) {
  33835. if (object instanceof A.Value0)
  33836. return object;
  33837. value = object.dartValue;
  33838. if (value != null && value instanceof A.Value0)
  33839. return value;
  33840. if (object instanceof self.Error)
  33841. throw A.wrapException(object);
  33842. }
  33843. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  33844. },
  33845. wrapValue(value) {
  33846. var t1;
  33847. $label0$0: {
  33848. if (value instanceof A.SassColor0) {
  33849. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  33850. break $label0$0;
  33851. }
  33852. if (value instanceof A.SassList0) {
  33853. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  33854. break $label0$0;
  33855. }
  33856. if (value instanceof A.SassMap0) {
  33857. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  33858. break $label0$0;
  33859. }
  33860. if (value instanceof A.SassNumber0) {
  33861. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  33862. break $label0$0;
  33863. }
  33864. if (value instanceof A.SassString0) {
  33865. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  33866. break $label0$0;
  33867. }
  33868. t1 = value;
  33869. break $label0$0;
  33870. }
  33871. return t1;
  33872. }
  33873. },
  33874. B = {};
  33875. var holders = [A, J, B];
  33876. var $ = {};
  33877. A.JS_CONST.prototype = {};
  33878. J.Interceptor.prototype = {
  33879. $eq(receiver, other) {
  33880. return receiver === other;
  33881. },
  33882. get$hashCode(receiver) {
  33883. return A.Primitives_objectHashCode(receiver);
  33884. },
  33885. toString$0(receiver) {
  33886. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  33887. },
  33888. noSuchMethod$1(receiver, invocation) {
  33889. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  33890. },
  33891. get$runtimeType(receiver) {
  33892. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  33893. }
  33894. };
  33895. J.JSBool.prototype = {
  33896. toString$0(receiver) {
  33897. return String(receiver);
  33898. },
  33899. $or(receiver, other) {
  33900. return other || receiver;
  33901. },
  33902. get$hashCode(receiver) {
  33903. return receiver ? 519018 : 218159;
  33904. },
  33905. get$runtimeType(receiver) {
  33906. return A.createRuntimeType(type$.bool);
  33907. },
  33908. $isTrustedGetRuntimeType: 1,
  33909. $isbool: 1
  33910. };
  33911. J.JSNull.prototype = {
  33912. $eq(receiver, other) {
  33913. return null == other;
  33914. },
  33915. toString$0(receiver) {
  33916. return "null";
  33917. },
  33918. get$hashCode(receiver) {
  33919. return 0;
  33920. },
  33921. get$runtimeType(receiver) {
  33922. return A.createRuntimeType(type$.Null);
  33923. },
  33924. $isTrustedGetRuntimeType: 1,
  33925. $isNull: 1
  33926. };
  33927. J.JavaScriptObject.prototype = {$isJSObject: 1};
  33928. J.LegacyJavaScriptObject.prototype = {
  33929. get$hashCode(receiver) {
  33930. return 0;
  33931. },
  33932. toString$0(receiver) {
  33933. return String(receiver);
  33934. },
  33935. $isPromise: 1,
  33936. $isJsSystemError: 1,
  33937. $isImmutableList: 1,
  33938. $is_ConstructionOptions: 1,
  33939. $is_ChannelOptions: 1,
  33940. $is_ToGamutOptions: 1,
  33941. $is_InterpolationOptions: 1,
  33942. $is_NodeSassColor: 1,
  33943. $isCompileOptions: 1,
  33944. $isCompileStringOptions: 1,
  33945. $isNodeCompileResult: 1,
  33946. $isDeprecation1: 1,
  33947. $is_NodeException: 1,
  33948. $isJSExpressionVisitorObject: 1,
  33949. $isFiber: 1,
  33950. $isJSFunction0: 1,
  33951. $isImmutableList0: 1,
  33952. $isImmutableMap0: 1,
  33953. $isJSImporter: 1,
  33954. $isJSImporterResult: 1,
  33955. $isNodeImporterResult0: 1,
  33956. $is_ConstructorOptions: 1,
  33957. $is_NodeSassList: 1,
  33958. $isWarnOptions: 1,
  33959. $isDebugOptions: 1,
  33960. $is_NodeSassMap: 1,
  33961. $is_ConstructorOptions0: 1,
  33962. $is_NodeSassNumber: 1,
  33963. $isParserExports: 1,
  33964. $isJSClass0: 1,
  33965. $isRenderContextOptions0: 1,
  33966. $isRenderOptions: 1,
  33967. $isRenderResult: 1,
  33968. $isJSSet: 1,
  33969. $isJSStatementVisitorObject: 1,
  33970. $is_ConstructorOptions1: 1,
  33971. $is_NodeSassString: 1,
  33972. $isJSUrl0: 1,
  33973. get$isTTY(obj) {
  33974. return obj.isTTY;
  33975. },
  33976. get$write(obj) {
  33977. return obj.write;
  33978. },
  33979. write$1(receiver, p0) {
  33980. return receiver.write(p0);
  33981. },
  33982. createInterface$1(receiver, p0) {
  33983. return receiver.createInterface(p0);
  33984. },
  33985. on$2(receiver, p0, p1) {
  33986. return receiver.on(p0, p1);
  33987. },
  33988. get$close(obj) {
  33989. return obj.close;
  33990. },
  33991. close$0(receiver) {
  33992. return receiver.close();
  33993. },
  33994. setPrompt$1(receiver, p0) {
  33995. return receiver.setPrompt(p0);
  33996. },
  33997. get$length(obj) {
  33998. return obj.length;
  33999. },
  34000. toString$0(receiver) {
  34001. return receiver.toString();
  34002. },
  34003. get$debug(obj) {
  34004. return obj.debug;
  34005. },
  34006. debug$2(receiver, p0, p1) {
  34007. return receiver.debug(p0, p1);
  34008. },
  34009. get$error(obj) {
  34010. return obj.error;
  34011. },
  34012. error$1(receiver, p0) {
  34013. return receiver.error(p0);
  34014. },
  34015. error$2(receiver, p0, p1) {
  34016. return receiver.error(p0, p1);
  34017. },
  34018. log$1(receiver, p0) {
  34019. return receiver.log(p0);
  34020. },
  34021. get$warn(obj) {
  34022. return obj.warn;
  34023. },
  34024. warn$1(receiver, p0) {
  34025. return receiver.warn(p0);
  34026. },
  34027. warn$2(receiver, p0, p1) {
  34028. return receiver.warn(p0, p1);
  34029. },
  34030. existsSync$1(receiver, p0) {
  34031. return receiver.existsSync(p0);
  34032. },
  34033. mkdirSync$1(receiver, p0) {
  34034. return receiver.mkdirSync(p0);
  34035. },
  34036. readdirSync$1(receiver, p0) {
  34037. return receiver.readdirSync(p0);
  34038. },
  34039. readFileSync$2(receiver, p0, p1) {
  34040. return receiver.readFileSync(p0, p1);
  34041. },
  34042. statSync$1(receiver, p0) {
  34043. return receiver.statSync(p0);
  34044. },
  34045. unlinkSync$1(receiver, p0) {
  34046. return receiver.unlinkSync(p0);
  34047. },
  34048. watch$2(receiver, p0, p1) {
  34049. return receiver.watch(p0, p1);
  34050. },
  34051. writeFileSync$2(receiver, p0, p1) {
  34052. return receiver.writeFileSync(p0, p1);
  34053. },
  34054. get$path(obj) {
  34055. return obj.path;
  34056. },
  34057. isDirectory$0(receiver) {
  34058. return receiver.isDirectory();
  34059. },
  34060. isFile$0(receiver) {
  34061. return receiver.isFile();
  34062. },
  34063. get$mtime(obj) {
  34064. return obj.mtime;
  34065. },
  34066. then$2(receiver, p0, p1) {
  34067. return receiver.then(p0, p1);
  34068. },
  34069. then$1$1(receiver, p0) {
  34070. return receiver.then(p0);
  34071. },
  34072. getTime$0(receiver) {
  34073. return receiver.getTime();
  34074. },
  34075. get$message(obj) {
  34076. return obj.message;
  34077. },
  34078. message$1(receiver, p0) {
  34079. return receiver.message(p0);
  34080. },
  34081. get$filename(obj) {
  34082. return obj.filename;
  34083. },
  34084. get$id(obj) {
  34085. return obj.id;
  34086. },
  34087. get$code(obj) {
  34088. return obj.code;
  34089. },
  34090. get$syscall(obj) {
  34091. return obj.syscall;
  34092. },
  34093. get$argv(obj) {
  34094. return obj.argv;
  34095. },
  34096. get$env(obj) {
  34097. return obj.env;
  34098. },
  34099. get$exitCode(obj) {
  34100. return obj.exitCode;
  34101. },
  34102. set$exitCode(obj, v) {
  34103. return obj.exitCode = v;
  34104. },
  34105. get$platform(obj) {
  34106. return obj.platform;
  34107. },
  34108. get$release(obj) {
  34109. return obj.release;
  34110. },
  34111. get$stderr(obj) {
  34112. return obj.stderr;
  34113. },
  34114. get$stdin(obj) {
  34115. return obj.stdin;
  34116. },
  34117. get$stdout(obj) {
  34118. return obj.stdout;
  34119. },
  34120. get$name(obj) {
  34121. return obj.name;
  34122. },
  34123. push$1(receiver, p0) {
  34124. return receiver.push(p0);
  34125. },
  34126. call$0(receiver) {
  34127. return receiver.call();
  34128. },
  34129. call$1(receiver, p0) {
  34130. return receiver.call(p0);
  34131. },
  34132. call$2(receiver, p0, p1) {
  34133. return receiver.call(p0, p1);
  34134. },
  34135. call$3$1(receiver, p0) {
  34136. return receiver.call(p0);
  34137. },
  34138. call$2$1(receiver, p0) {
  34139. return receiver.call(p0);
  34140. },
  34141. call$1$1(receiver, p0) {
  34142. return receiver.call(p0);
  34143. },
  34144. call$3(receiver, p0, p1, p2) {
  34145. return receiver.call(p0, p1, p2);
  34146. },
  34147. call$3$3(receiver, p0, p1, p2) {
  34148. return receiver.call(p0, p1, p2);
  34149. },
  34150. call$2$2(receiver, p0, p1) {
  34151. return receiver.call(p0, p1);
  34152. },
  34153. call$2$0(receiver) {
  34154. return receiver.call();
  34155. },
  34156. call$1$0(receiver) {
  34157. return receiver.call();
  34158. },
  34159. call$1$2(receiver, p0, p1) {
  34160. return receiver.call(p0, p1);
  34161. },
  34162. call$2$3(receiver, p0, p1, p2) {
  34163. return receiver.call(p0, p1, p2);
  34164. },
  34165. apply$2(receiver, p0, p1) {
  34166. return receiver.apply(p0, p1);
  34167. },
  34168. toArray$0(receiver) {
  34169. return receiver.toArray();
  34170. },
  34171. asMutable$0(receiver) {
  34172. return receiver.asMutable();
  34173. },
  34174. asImmutable$0(receiver) {
  34175. return receiver.asImmutable();
  34176. },
  34177. $set$2(receiver, p0, p1) {
  34178. return receiver.set(p0, p1);
  34179. },
  34180. forEach$1(receiver, p0) {
  34181. return receiver.forEach(p0);
  34182. },
  34183. get$file(obj) {
  34184. return obj.file;
  34185. },
  34186. get$contents(obj) {
  34187. return obj.contents;
  34188. },
  34189. get$options(obj) {
  34190. return obj.options;
  34191. },
  34192. get$data(obj) {
  34193. return obj.data;
  34194. },
  34195. get$includePaths(obj) {
  34196. return obj.includePaths;
  34197. },
  34198. get$style(obj) {
  34199. return obj.style;
  34200. },
  34201. get$indentType(obj) {
  34202. return obj.indentType;
  34203. },
  34204. get$indentWidth(obj) {
  34205. return obj.indentWidth;
  34206. },
  34207. get$linefeed(obj) {
  34208. return obj.linefeed;
  34209. },
  34210. set$context(obj, v) {
  34211. return obj.context = v;
  34212. },
  34213. createRequire$1(receiver, p0) {
  34214. return receiver.createRequire(p0);
  34215. },
  34216. resolve$1(receiver, p0) {
  34217. return receiver.resolve(p0);
  34218. },
  34219. get$$prototype(obj) {
  34220. return obj.prototype;
  34221. },
  34222. get$red(obj) {
  34223. return obj.red;
  34224. },
  34225. get$green(obj) {
  34226. return obj.green;
  34227. },
  34228. get$blue(obj) {
  34229. return obj.blue;
  34230. },
  34231. get$hue(obj) {
  34232. return obj.hue;
  34233. },
  34234. get$saturation(obj) {
  34235. return obj.saturation;
  34236. },
  34237. get$lightness(obj) {
  34238. return obj.lightness;
  34239. },
  34240. get$whiteness(obj) {
  34241. return obj.whiteness;
  34242. },
  34243. get$blackness(obj) {
  34244. return obj.blackness;
  34245. },
  34246. get$alpha(obj) {
  34247. return obj.alpha;
  34248. },
  34249. get$a(obj) {
  34250. return obj.a;
  34251. },
  34252. get$b(obj) {
  34253. return obj.b;
  34254. },
  34255. get$x(obj) {
  34256. return obj.x;
  34257. },
  34258. get$y(obj) {
  34259. return obj.y;
  34260. },
  34261. get$z(obj) {
  34262. return obj.z;
  34263. },
  34264. get$chroma(obj) {
  34265. return obj.chroma;
  34266. },
  34267. get$space(obj) {
  34268. return obj.space;
  34269. },
  34270. get$method(obj) {
  34271. return obj.method;
  34272. },
  34273. get$weight(obj) {
  34274. return obj.weight;
  34275. },
  34276. get$dartValue(obj) {
  34277. return obj.dartValue;
  34278. },
  34279. set$dartValue(obj, v) {
  34280. return obj.dartValue = v;
  34281. },
  34282. get$alertAscii(obj) {
  34283. return obj.alertAscii;
  34284. },
  34285. get$alertColor(obj) {
  34286. return obj.alertColor;
  34287. },
  34288. get$loadPaths(obj) {
  34289. return obj.loadPaths;
  34290. },
  34291. get$quietDeps(obj) {
  34292. return obj.quietDeps;
  34293. },
  34294. get$verbose(obj) {
  34295. return obj.verbose;
  34296. },
  34297. get$charset(obj) {
  34298. return obj.charset;
  34299. },
  34300. get$sourceMap(obj) {
  34301. return obj.sourceMap;
  34302. },
  34303. get$sourceMapIncludeSources(obj) {
  34304. return obj.sourceMapIncludeSources;
  34305. },
  34306. get$logger(obj) {
  34307. return obj.logger;
  34308. },
  34309. get$importers(obj) {
  34310. return obj.importers;
  34311. },
  34312. get$functions(obj) {
  34313. return obj.functions;
  34314. },
  34315. get$fatalDeprecations(obj) {
  34316. return obj.fatalDeprecations;
  34317. },
  34318. get$silenceDeprecations(obj) {
  34319. return obj.silenceDeprecations;
  34320. },
  34321. get$futureDeprecations(obj) {
  34322. return obj.futureDeprecations;
  34323. },
  34324. get$syntax(obj) {
  34325. return obj.syntax;
  34326. },
  34327. get$url(obj) {
  34328. return obj.url;
  34329. },
  34330. get$importer(obj) {
  34331. return obj.importer;
  34332. },
  34333. get$_dartException(obj) {
  34334. return obj._dartException;
  34335. },
  34336. set$renderSync(obj, v) {
  34337. return obj.renderSync = v;
  34338. },
  34339. set$compileString(obj, v) {
  34340. return obj.compileString = v;
  34341. },
  34342. set$compileStringAsync(obj, v) {
  34343. return obj.compileStringAsync = v;
  34344. },
  34345. set$compile(obj, v) {
  34346. return obj.compile = v;
  34347. },
  34348. set$compileAsync(obj, v) {
  34349. return obj.compileAsync = v;
  34350. },
  34351. set$initCompiler(obj, v) {
  34352. return obj.initCompiler = v;
  34353. },
  34354. set$initAsyncCompiler(obj, v) {
  34355. return obj.initAsyncCompiler = v;
  34356. },
  34357. set$Compiler(obj, v) {
  34358. return obj.Compiler = v;
  34359. },
  34360. set$AsyncCompiler(obj, v) {
  34361. return obj.AsyncCompiler = v;
  34362. },
  34363. set$info(obj, v) {
  34364. return obj.info = v;
  34365. },
  34366. set$Exception(obj, v) {
  34367. return obj.Exception = v;
  34368. },
  34369. set$Logger(obj, v) {
  34370. return obj.Logger = v;
  34371. },
  34372. set$NodePackageImporter(obj, v) {
  34373. return obj.NodePackageImporter = v;
  34374. },
  34375. set$deprecations(obj, v) {
  34376. return obj.deprecations = v;
  34377. },
  34378. set$Version(obj, v) {
  34379. return obj.Version = v;
  34380. },
  34381. set$Value(obj, v) {
  34382. return obj.Value = v;
  34383. },
  34384. set$SassArgumentList(obj, v) {
  34385. return obj.SassArgumentList = v;
  34386. },
  34387. set$SassCalculation(obj, v) {
  34388. return obj.SassCalculation = v;
  34389. },
  34390. set$CalculationOperation(obj, v) {
  34391. return obj.CalculationOperation = v;
  34392. },
  34393. set$CalculationInterpolation(obj, v) {
  34394. return obj.CalculationInterpolation = v;
  34395. },
  34396. set$SassBoolean(obj, v) {
  34397. return obj.SassBoolean = v;
  34398. },
  34399. set$SassColor(obj, v) {
  34400. return obj.SassColor = v;
  34401. },
  34402. set$SassFunction(obj, v) {
  34403. return obj.SassFunction = v;
  34404. },
  34405. set$SassMixin(obj, v) {
  34406. return obj.SassMixin = v;
  34407. },
  34408. set$SassList(obj, v) {
  34409. return obj.SassList = v;
  34410. },
  34411. set$SassMap(obj, v) {
  34412. return obj.SassMap = v;
  34413. },
  34414. set$SassNumber(obj, v) {
  34415. return obj.SassNumber = v;
  34416. },
  34417. set$SassString(obj, v) {
  34418. return obj.SassString = v;
  34419. },
  34420. set$sassNull(obj, v) {
  34421. return obj.sassNull = v;
  34422. },
  34423. set$sassTrue(obj, v) {
  34424. return obj.sassTrue = v;
  34425. },
  34426. set$sassFalse(obj, v) {
  34427. return obj.sassFalse = v;
  34428. },
  34429. set$render(obj, v) {
  34430. return obj.render = v;
  34431. },
  34432. set$types(obj, v) {
  34433. return obj.types = v;
  34434. },
  34435. set$NULL(obj, v) {
  34436. return obj.NULL = v;
  34437. },
  34438. set$TRUE(obj, v) {
  34439. return obj.TRUE = v;
  34440. },
  34441. set$FALSE(obj, v) {
  34442. return obj.FALSE = v;
  34443. },
  34444. set$loadParserExports_(obj, v) {
  34445. return obj.loadParserExports_ = v;
  34446. },
  34447. visitBinaryOperationExpression$1(receiver, p0) {
  34448. return receiver.visitBinaryOperationExpression(p0);
  34449. },
  34450. visitBooleanExpression$1(receiver, p0) {
  34451. return receiver.visitBooleanExpression(p0);
  34452. },
  34453. visitColorExpression$1(receiver, p0) {
  34454. return receiver.visitColorExpression(p0);
  34455. },
  34456. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34457. return receiver.visitInterpolatedFunctionExpression(p0);
  34458. },
  34459. visitFunctionExpression$1(receiver, p0) {
  34460. return receiver.visitFunctionExpression(p0);
  34461. },
  34462. visitIfExpression$1(receiver, p0) {
  34463. return receiver.visitIfExpression(p0);
  34464. },
  34465. visitListExpression$1(receiver, p0) {
  34466. return receiver.visitListExpression(p0);
  34467. },
  34468. visitMapExpression$1(receiver, p0) {
  34469. return receiver.visitMapExpression(p0);
  34470. },
  34471. visitNullExpression$1(receiver, p0) {
  34472. return receiver.visitNullExpression(p0);
  34473. },
  34474. visitNumberExpression$1(receiver, p0) {
  34475. return receiver.visitNumberExpression(p0);
  34476. },
  34477. visitParenthesizedExpression$1(receiver, p0) {
  34478. return receiver.visitParenthesizedExpression(p0);
  34479. },
  34480. visitSelectorExpression$1(receiver, p0) {
  34481. return receiver.visitSelectorExpression(p0);
  34482. },
  34483. visitStringExpression$1(receiver, p0) {
  34484. return receiver.visitStringExpression(p0);
  34485. },
  34486. visitSupportsExpression$1(receiver, p0) {
  34487. return receiver.visitSupportsExpression(p0);
  34488. },
  34489. visitUnaryOperationExpression$1(receiver, p0) {
  34490. return receiver.visitUnaryOperationExpression(p0);
  34491. },
  34492. visitValueExpression$1(receiver, p0) {
  34493. return receiver.visitValueExpression(p0);
  34494. },
  34495. visitVariableExpression$1(receiver, p0) {
  34496. return receiver.visitVariableExpression(p0);
  34497. },
  34498. get$current(obj) {
  34499. return obj.current;
  34500. },
  34501. yield$0(receiver) {
  34502. return receiver.yield();
  34503. },
  34504. run$1$1(receiver, p0) {
  34505. return receiver.run(p0);
  34506. },
  34507. run$1(receiver, p0) {
  34508. return receiver.run(p0);
  34509. },
  34510. run$0(receiver) {
  34511. return receiver.run();
  34512. },
  34513. get$canonicalize(obj) {
  34514. return obj.canonicalize;
  34515. },
  34516. canonicalize$1(receiver, p0) {
  34517. return receiver.canonicalize(p0);
  34518. },
  34519. get$load(obj) {
  34520. return obj.load;
  34521. },
  34522. load$1(receiver, p0) {
  34523. return receiver.load(p0);
  34524. },
  34525. get$findFileUrl(obj) {
  34526. return obj.findFileUrl;
  34527. },
  34528. get$nonCanonicalScheme(obj) {
  34529. return obj.nonCanonicalScheme;
  34530. },
  34531. get$sourceMapUrl(obj) {
  34532. return obj.sourceMapUrl;
  34533. },
  34534. get$separator(obj) {
  34535. return obj.separator;
  34536. },
  34537. get$brackets(obj) {
  34538. return obj.brackets;
  34539. },
  34540. get$numeratorUnits(obj) {
  34541. return obj.numeratorUnits;
  34542. },
  34543. get$denominatorUnits(obj) {
  34544. return obj.denominatorUnits;
  34545. },
  34546. get$pkgImporter(obj) {
  34547. return obj.pkgImporter;
  34548. },
  34549. get$indentedSyntax(obj) {
  34550. return obj.indentedSyntax;
  34551. },
  34552. get$omitSourceMapUrl(obj) {
  34553. return obj.omitSourceMapUrl;
  34554. },
  34555. get$outFile(obj) {
  34556. return obj.outFile;
  34557. },
  34558. get$outputStyle(obj) {
  34559. return obj.outputStyle;
  34560. },
  34561. get$fiber(obj) {
  34562. return obj.fiber;
  34563. },
  34564. get$sourceMapContents(obj) {
  34565. return obj.sourceMapContents;
  34566. },
  34567. get$sourceMapEmbed(obj) {
  34568. return obj.sourceMapEmbed;
  34569. },
  34570. get$sourceMapRoot(obj) {
  34571. return obj.sourceMapRoot;
  34572. },
  34573. set$cli_pkg_main_0_(obj, v) {
  34574. return obj.cli_pkg_main_0_ = v;
  34575. },
  34576. visitAtRootRule$1(receiver, p0) {
  34577. return receiver.visitAtRootRule(p0);
  34578. },
  34579. visitAtRule$1(receiver, p0) {
  34580. return receiver.visitAtRule(p0);
  34581. },
  34582. get$visitContentBlock(obj) {
  34583. return obj.visitContentBlock;
  34584. },
  34585. visitContentBlock$1(receiver, p0) {
  34586. return receiver.visitContentBlock(p0);
  34587. },
  34588. visitContentRule$1(receiver, p0) {
  34589. return receiver.visitContentRule(p0);
  34590. },
  34591. visitDebugRule$1(receiver, p0) {
  34592. return receiver.visitDebugRule(p0);
  34593. },
  34594. visitDeclaration$1(receiver, p0) {
  34595. return receiver.visitDeclaration(p0);
  34596. },
  34597. visitEachRule$1(receiver, p0) {
  34598. return receiver.visitEachRule(p0);
  34599. },
  34600. visitErrorRule$1(receiver, p0) {
  34601. return receiver.visitErrorRule(p0);
  34602. },
  34603. visitExtendRule$1(receiver, p0) {
  34604. return receiver.visitExtendRule(p0);
  34605. },
  34606. visitForRule$1(receiver, p0) {
  34607. return receiver.visitForRule(p0);
  34608. },
  34609. visitForwardRule$1(receiver, p0) {
  34610. return receiver.visitForwardRule(p0);
  34611. },
  34612. visitFunctionRule$1(receiver, p0) {
  34613. return receiver.visitFunctionRule(p0);
  34614. },
  34615. visitIfRule$1(receiver, p0) {
  34616. return receiver.visitIfRule(p0);
  34617. },
  34618. visitImportRule$1(receiver, p0) {
  34619. return receiver.visitImportRule(p0);
  34620. },
  34621. visitIncludeRule$1(receiver, p0) {
  34622. return receiver.visitIncludeRule(p0);
  34623. },
  34624. visitLoudComment$1(receiver, p0) {
  34625. return receiver.visitLoudComment(p0);
  34626. },
  34627. visitMediaRule$1(receiver, p0) {
  34628. return receiver.visitMediaRule(p0);
  34629. },
  34630. visitMixinRule$1(receiver, p0) {
  34631. return receiver.visitMixinRule(p0);
  34632. },
  34633. visitReturnRule$1(receiver, p0) {
  34634. return receiver.visitReturnRule(p0);
  34635. },
  34636. visitSilentComment$1(receiver, p0) {
  34637. return receiver.visitSilentComment(p0);
  34638. },
  34639. visitStyleRule$1(receiver, p0) {
  34640. return receiver.visitStyleRule(p0);
  34641. },
  34642. visitStylesheet$1(receiver, p0) {
  34643. return receiver.visitStylesheet(p0);
  34644. },
  34645. visitSupportsRule$1(receiver, p0) {
  34646. return receiver.visitSupportsRule(p0);
  34647. },
  34648. visitUseRule$1(receiver, p0) {
  34649. return receiver.visitUseRule(p0);
  34650. },
  34651. visitVariableDeclaration$1(receiver, p0) {
  34652. return receiver.visitVariableDeclaration(p0);
  34653. },
  34654. visitWarnRule$1(receiver, p0) {
  34655. return receiver.visitWarnRule(p0);
  34656. },
  34657. visitWhileRule$1(receiver, p0) {
  34658. return receiver.visitWhileRule(p0);
  34659. },
  34660. get$quotes(obj) {
  34661. return obj.quotes;
  34662. }
  34663. };
  34664. J.PlainJavaScriptObject.prototype = {};
  34665. J.UnknownJavaScriptObject.prototype = {};
  34666. J.JavaScriptFunction.prototype = {
  34667. toString$0(receiver) {
  34668. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34669. if (dartClosure == null)
  34670. return this.super$LegacyJavaScriptObject$toString(receiver);
  34671. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34672. },
  34673. $isFunction: 1
  34674. };
  34675. J.JavaScriptBigInt.prototype = {
  34676. get$hashCode(receiver) {
  34677. return 0;
  34678. },
  34679. toString$0(receiver) {
  34680. return String(receiver);
  34681. }
  34682. };
  34683. J.JavaScriptSymbol.prototype = {
  34684. get$hashCode(receiver) {
  34685. return 0;
  34686. },
  34687. toString$0(receiver) {
  34688. return String(receiver);
  34689. }
  34690. };
  34691. J.JSArray.prototype = {
  34692. cast$1$0(receiver, $R) {
  34693. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34694. },
  34695. add$1(receiver, value) {
  34696. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34697. receiver.push(value);
  34698. },
  34699. removeAt$1(receiver, index) {
  34700. var t1;
  34701. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34702. t1 = receiver.length;
  34703. if (index >= t1)
  34704. throw A.wrapException(A.RangeError$value(index, null, null));
  34705. return receiver.splice(index, 1)[0];
  34706. },
  34707. insert$2(receiver, index, value) {
  34708. var t1;
  34709. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34710. t1 = receiver.length;
  34711. if (index > t1)
  34712. throw A.wrapException(A.RangeError$value(index, null, null));
  34713. receiver.splice(index, 0, value);
  34714. },
  34715. insertAll$2(receiver, index, iterable) {
  34716. var insertionLength, end;
  34717. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34718. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34719. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34720. iterable = J.toList$0$ax(iterable);
  34721. insertionLength = J.get$length$asx(iterable);
  34722. receiver.length = receiver.length + insertionLength;
  34723. end = index + insertionLength;
  34724. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34725. this.setRange$3(receiver, index, end, iterable);
  34726. },
  34727. removeLast$0(receiver) {
  34728. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34729. if (receiver.length === 0)
  34730. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34731. return receiver.pop();
  34732. },
  34733. _removeWhere$2(receiver, test, removeMatching) {
  34734. var i, element, t1, retained = [],
  34735. end = receiver.length;
  34736. for (i = 0; i < end; ++i) {
  34737. element = receiver[i];
  34738. if (!test.call$1(element))
  34739. retained.push(element);
  34740. if (receiver.length !== end)
  34741. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34742. }
  34743. t1 = retained.length;
  34744. if (t1 === end)
  34745. return;
  34746. this.set$length(receiver, t1);
  34747. for (i = 0; i < retained.length; ++i)
  34748. receiver[i] = retained[i];
  34749. },
  34750. where$1(receiver, f) {
  34751. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  34752. },
  34753. expand$1$1(receiver, f, $T) {
  34754. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  34755. },
  34756. addAll$1(receiver, collection) {
  34757. var t1;
  34758. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  34759. if (Array.isArray(collection)) {
  34760. this._addAllFromArray$1(receiver, collection);
  34761. return;
  34762. }
  34763. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  34764. receiver.push(t1.get$current(t1));
  34765. },
  34766. _addAllFromArray$1(receiver, array) {
  34767. var i,
  34768. len = array.length;
  34769. if (len === 0)
  34770. return;
  34771. if (receiver === array)
  34772. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34773. for (i = 0; i < len; ++i)
  34774. receiver.push(array[i]);
  34775. },
  34776. clear$0(receiver) {
  34777. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  34778. receiver.length = 0;
  34779. },
  34780. forEach$1(receiver, f) {
  34781. var i,
  34782. end = receiver.length;
  34783. for (i = 0; i < end; ++i) {
  34784. f.call$1(receiver[i]);
  34785. if (receiver.length !== end)
  34786. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34787. }
  34788. },
  34789. map$1$1(receiver, f, $T) {
  34790. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  34791. },
  34792. join$1(receiver, separator) {
  34793. var i,
  34794. list = A.List_List$filled(receiver.length, "", false, type$.String);
  34795. for (i = 0; i < receiver.length; ++i)
  34796. list[i] = A.S(receiver[i]);
  34797. return list.join(separator);
  34798. },
  34799. join$0(receiver) {
  34800. return this.join$1(receiver, "");
  34801. },
  34802. take$1(receiver, n) {
  34803. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  34804. },
  34805. skip$1(receiver, n) {
  34806. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  34807. },
  34808. fold$1$2(receiver, initialValue, combine) {
  34809. var value, i,
  34810. $length = receiver.length;
  34811. for (value = initialValue, i = 0; i < $length; ++i) {
  34812. value = combine.call$2(value, receiver[i]);
  34813. if (receiver.length !== $length)
  34814. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34815. }
  34816. return value;
  34817. },
  34818. fold$2(receiver, initialValue, combine) {
  34819. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  34820. },
  34821. firstWhere$1(receiver, test) {
  34822. var i, element,
  34823. end = receiver.length;
  34824. for (i = 0; i < end; ++i) {
  34825. element = receiver[i];
  34826. if (test.call$1(element))
  34827. return element;
  34828. if (receiver.length !== end)
  34829. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34830. }
  34831. throw A.wrapException(A.IterableElementError_noElement());
  34832. },
  34833. elementAt$1(receiver, index) {
  34834. return receiver[index];
  34835. },
  34836. sublist$2(receiver, start, end) {
  34837. var end0 = receiver.length;
  34838. if (start > end0)
  34839. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  34840. if (end == null)
  34841. end = end0;
  34842. else if (end < start || end > end0)
  34843. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  34844. if (start === end)
  34845. return A._setArrayType([], A._arrayInstanceType(receiver));
  34846. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  34847. },
  34848. sublist$1(receiver, start) {
  34849. return this.sublist$2(receiver, start, null);
  34850. },
  34851. getRange$2(receiver, start, end) {
  34852. A.RangeError_checkValidRange(start, end, receiver.length);
  34853. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  34854. },
  34855. get$first(receiver) {
  34856. if (receiver.length > 0)
  34857. return receiver[0];
  34858. throw A.wrapException(A.IterableElementError_noElement());
  34859. },
  34860. get$last(receiver) {
  34861. var t1 = receiver.length;
  34862. if (t1 > 0)
  34863. return receiver[t1 - 1];
  34864. throw A.wrapException(A.IterableElementError_noElement());
  34865. },
  34866. get$single(receiver) {
  34867. var t1 = receiver.length;
  34868. if (t1 === 1)
  34869. return receiver[0];
  34870. if (t1 === 0)
  34871. throw A.wrapException(A.IterableElementError_noElement());
  34872. throw A.wrapException(A.IterableElementError_tooMany());
  34873. },
  34874. removeRange$2(receiver, start, end) {
  34875. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  34876. A.RangeError_checkValidRange(start, end, receiver.length);
  34877. receiver.splice(start, end - start);
  34878. },
  34879. setRange$4(receiver, start, end, iterable, skipCount) {
  34880. var $length, otherList, otherStart, t1, i;
  34881. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  34882. A.RangeError_checkValidRange(start, end, receiver.length);
  34883. $length = end - start;
  34884. if ($length === 0)
  34885. return;
  34886. A.RangeError_checkNotNegative(skipCount, "skipCount");
  34887. if (type$.List_dynamic._is(iterable)) {
  34888. otherList = iterable;
  34889. otherStart = skipCount;
  34890. } else {
  34891. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  34892. otherStart = 0;
  34893. }
  34894. t1 = J.getInterceptor$asx(otherList);
  34895. if (otherStart + $length > t1.get$length(otherList))
  34896. throw A.wrapException(A.IterableElementError_tooFew());
  34897. if (otherStart < start)
  34898. for (i = $length - 1; i >= 0; --i)
  34899. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34900. else
  34901. for (i = 0; i < $length; ++i)
  34902. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34903. },
  34904. setRange$3(receiver, start, end, iterable) {
  34905. return this.setRange$4(receiver, start, end, iterable, 0);
  34906. },
  34907. fillRange$3(receiver, start, end, fillValue) {
  34908. var i;
  34909. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  34910. A.RangeError_checkValidRange(start, end, receiver.length);
  34911. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  34912. for (i = start; i < end; ++i)
  34913. receiver[i] = fillValue;
  34914. },
  34915. any$1(receiver, test) {
  34916. var i,
  34917. end = receiver.length;
  34918. for (i = 0; i < end; ++i) {
  34919. if (test.call$1(receiver[i]))
  34920. return true;
  34921. if (receiver.length !== end)
  34922. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34923. }
  34924. return false;
  34925. },
  34926. every$1(receiver, test) {
  34927. var i,
  34928. end = receiver.length;
  34929. for (i = 0; i < end; ++i) {
  34930. if (!test.call$1(receiver[i]))
  34931. return false;
  34932. if (receiver.length !== end)
  34933. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34934. }
  34935. return true;
  34936. },
  34937. get$reversed(receiver) {
  34938. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  34939. },
  34940. sort$1(receiver, compare) {
  34941. var len, a, b, undefineds, i;
  34942. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  34943. len = receiver.length;
  34944. if (len < 2)
  34945. return;
  34946. if (compare == null)
  34947. compare = J._interceptors_JSArray__compareAny$closure();
  34948. if (len === 2) {
  34949. a = receiver[0];
  34950. b = receiver[1];
  34951. if (compare.call$2(a, b) > 0) {
  34952. receiver[0] = b;
  34953. receiver[1] = a;
  34954. }
  34955. return;
  34956. }
  34957. undefineds = 0;
  34958. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  34959. for (i = 0; i < receiver.length; ++i)
  34960. if (receiver[i] === void 0) {
  34961. receiver[i] = null;
  34962. ++undefineds;
  34963. }
  34964. receiver.sort(A.convertDartClosureToJS(compare, 2));
  34965. if (undefineds > 0)
  34966. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  34967. },
  34968. sort$0(receiver) {
  34969. return this.sort$1(receiver, null);
  34970. },
  34971. _replaceSomeNullsWithUndefined$1(receiver, count) {
  34972. var i0,
  34973. i = receiver.length;
  34974. for (; i0 = i - 1, i > 0; i = i0)
  34975. if (receiver[i0] === null) {
  34976. receiver[i0] = void 0;
  34977. --count;
  34978. if (count === 0)
  34979. break;
  34980. }
  34981. },
  34982. indexOf$1(receiver, element) {
  34983. var i,
  34984. $length = receiver.length;
  34985. if (0 >= $length)
  34986. return -1;
  34987. for (i = 0; i < $length; ++i)
  34988. if (J.$eq$(receiver[i], element))
  34989. return i;
  34990. return -1;
  34991. },
  34992. contains$1(receiver, other) {
  34993. var i;
  34994. for (i = 0; i < receiver.length; ++i)
  34995. if (J.$eq$(receiver[i], other))
  34996. return true;
  34997. return false;
  34998. },
  34999. get$isEmpty(receiver) {
  35000. return receiver.length === 0;
  35001. },
  35002. get$isNotEmpty(receiver) {
  35003. return receiver.length !== 0;
  35004. },
  35005. toString$0(receiver) {
  35006. return A.Iterable_iterableToFullString(receiver, "[", "]");
  35007. },
  35008. toList$1$growable(receiver, growable) {
  35009. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  35010. return t1;
  35011. },
  35012. toList$0(receiver) {
  35013. return this.toList$1$growable(receiver, true);
  35014. },
  35015. toSet$0(receiver) {
  35016. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35017. },
  35018. get$iterator(receiver) {
  35019. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  35020. },
  35021. get$hashCode(receiver) {
  35022. return A.Primitives_objectHashCode(receiver);
  35023. },
  35024. get$length(receiver) {
  35025. return receiver.length;
  35026. },
  35027. set$length(receiver, newLength) {
  35028. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  35029. if (newLength < 0)
  35030. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  35031. if (newLength > receiver.length)
  35032. A._arrayInstanceType(receiver)._precomputed1._as(null);
  35033. receiver.length = newLength;
  35034. },
  35035. $index(receiver, index) {
  35036. if (!(index >= 0 && index < receiver.length))
  35037. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35038. return receiver[index];
  35039. },
  35040. $indexSet(receiver, index, value) {
  35041. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  35042. if (!(index >= 0 && index < receiver.length))
  35043. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35044. receiver[index] = value;
  35045. },
  35046. $add(receiver, other) {
  35047. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  35048. this.addAll$1(t1, other);
  35049. return t1;
  35050. },
  35051. indexWhere$1(receiver, test) {
  35052. var i;
  35053. if (0 >= receiver.length)
  35054. return -1;
  35055. for (i = 0; i < receiver.length; ++i)
  35056. if (test.call$1(receiver[i]))
  35057. return i;
  35058. return -1;
  35059. },
  35060. $isEfficientLengthIterable: 1,
  35061. $isIterable: 1,
  35062. $isList: 1
  35063. };
  35064. J.JSUnmodifiableArray.prototype = {};
  35065. J.ArrayIterator.prototype = {
  35066. get$current(_) {
  35067. var t1 = this._current;
  35068. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35069. },
  35070. moveNext$0() {
  35071. var t2, _this = this,
  35072. t1 = _this._iterable,
  35073. $length = t1.length;
  35074. if (_this._length !== $length)
  35075. throw A.wrapException(A.throwConcurrentModificationError(t1));
  35076. t2 = _this._index;
  35077. if (t2 >= $length) {
  35078. _this._current = null;
  35079. return false;
  35080. }
  35081. _this._current = t1[t2];
  35082. _this._index = t2 + 1;
  35083. return true;
  35084. }
  35085. };
  35086. J.JSNumber.prototype = {
  35087. compareTo$1(receiver, b) {
  35088. var bIsNegative;
  35089. if (receiver < b)
  35090. return -1;
  35091. else if (receiver > b)
  35092. return 1;
  35093. else if (receiver === b) {
  35094. if (receiver === 0) {
  35095. bIsNegative = this.get$isNegative(b);
  35096. if (this.get$isNegative(receiver) === bIsNegative)
  35097. return 0;
  35098. if (this.get$isNegative(receiver))
  35099. return -1;
  35100. return 1;
  35101. }
  35102. return 0;
  35103. } else if (isNaN(receiver)) {
  35104. if (isNaN(b))
  35105. return 0;
  35106. return 1;
  35107. } else
  35108. return -1;
  35109. },
  35110. get$isNegative(receiver) {
  35111. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35112. },
  35113. get$sign(receiver) {
  35114. var t1;
  35115. if (receiver > 0)
  35116. t1 = 1;
  35117. else
  35118. t1 = receiver < 0 ? -1 : receiver;
  35119. return t1;
  35120. },
  35121. ceil$0(receiver) {
  35122. var truncated, d;
  35123. if (receiver >= 0) {
  35124. if (receiver <= 2147483647) {
  35125. truncated = receiver | 0;
  35126. return receiver === truncated ? truncated : truncated + 1;
  35127. }
  35128. } else if (receiver >= -2147483648)
  35129. return receiver | 0;
  35130. d = Math.ceil(receiver);
  35131. if (isFinite(d))
  35132. return d;
  35133. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35134. },
  35135. floor$0(receiver) {
  35136. var truncated, d;
  35137. if (receiver >= 0) {
  35138. if (receiver <= 2147483647)
  35139. return receiver | 0;
  35140. } else if (receiver >= -2147483648) {
  35141. truncated = receiver | 0;
  35142. return receiver === truncated ? truncated : truncated - 1;
  35143. }
  35144. d = Math.floor(receiver);
  35145. if (isFinite(d))
  35146. return d;
  35147. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35148. },
  35149. round$0(receiver) {
  35150. if (receiver > 0) {
  35151. if (receiver !== 1 / 0)
  35152. return Math.round(receiver);
  35153. } else if (receiver > -1 / 0)
  35154. return 0 - Math.round(0 - receiver);
  35155. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35156. },
  35157. clamp$2(receiver, lowerLimit, upperLimit) {
  35158. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35159. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35160. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35161. return lowerLimit;
  35162. if (this.compareTo$1(receiver, upperLimit) > 0)
  35163. return upperLimit;
  35164. return receiver;
  35165. },
  35166. toRadixString$1(receiver, radix) {
  35167. var result, match, exponent, t1;
  35168. if (radix < 2 || radix > 36)
  35169. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35170. result = receiver.toString(radix);
  35171. if (result.charCodeAt(result.length - 1) !== 41)
  35172. return result;
  35173. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35174. if (match == null)
  35175. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35176. result = match[1];
  35177. exponent = +match[3];
  35178. t1 = match[2];
  35179. if (t1 != null) {
  35180. result += t1;
  35181. exponent -= t1.length;
  35182. }
  35183. return result + B.JSString_methods.$mul("0", exponent);
  35184. },
  35185. toString$0(receiver) {
  35186. if (receiver === 0 && 1 / receiver < 0)
  35187. return "-0.0";
  35188. else
  35189. return "" + receiver;
  35190. },
  35191. get$hashCode(receiver) {
  35192. var absolute, floorLog2, factor, scaled,
  35193. intValue = receiver | 0;
  35194. if (receiver === intValue)
  35195. return intValue & 536870911;
  35196. absolute = Math.abs(receiver);
  35197. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35198. factor = Math.pow(2, floorLog2);
  35199. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35200. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35201. },
  35202. $mod(receiver, other) {
  35203. var result = receiver % other;
  35204. if (result === 0)
  35205. return 0;
  35206. if (result > 0)
  35207. return result;
  35208. if (other < 0)
  35209. return result - other;
  35210. else
  35211. return result + other;
  35212. },
  35213. $tdiv(receiver, other) {
  35214. if ((receiver | 0) === receiver)
  35215. if (other >= 1 || other < -1)
  35216. return receiver / other | 0;
  35217. return this._tdivSlow$1(receiver, other);
  35218. },
  35219. _tdivFast$1(receiver, other) {
  35220. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35221. },
  35222. _tdivSlow$1(receiver, other) {
  35223. var quotient = receiver / other;
  35224. if (quotient >= -2147483648 && quotient <= 2147483647)
  35225. return quotient | 0;
  35226. if (quotient > 0) {
  35227. if (quotient !== 1 / 0)
  35228. return Math.floor(quotient);
  35229. } else if (quotient > -1 / 0)
  35230. return Math.ceil(quotient);
  35231. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35232. },
  35233. _shrOtherPositive$1(receiver, other) {
  35234. var t1;
  35235. if (receiver > 0)
  35236. t1 = this._shrBothPositive$1(receiver, other);
  35237. else {
  35238. t1 = other > 31 ? 31 : other;
  35239. t1 = receiver >> t1 >>> 0;
  35240. }
  35241. return t1;
  35242. },
  35243. _shrReceiverPositive$1(receiver, other) {
  35244. if (0 > other)
  35245. throw A.wrapException(A.argumentErrorValue(other));
  35246. return this._shrBothPositive$1(receiver, other);
  35247. },
  35248. _shrBothPositive$1(receiver, other) {
  35249. return other > 31 ? 0 : receiver >>> other;
  35250. },
  35251. get$runtimeType(receiver) {
  35252. return A.createRuntimeType(type$.num);
  35253. },
  35254. $isComparable: 1,
  35255. $isdouble: 1,
  35256. $isnum: 1
  35257. };
  35258. J.JSInt.prototype = {
  35259. get$sign(receiver) {
  35260. var t1;
  35261. if (receiver > 0)
  35262. t1 = 1;
  35263. else
  35264. t1 = receiver < 0 ? -1 : receiver;
  35265. return t1;
  35266. },
  35267. get$runtimeType(receiver) {
  35268. return A.createRuntimeType(type$.int);
  35269. },
  35270. $isTrustedGetRuntimeType: 1,
  35271. $isint: 1
  35272. };
  35273. J.JSNumNotInt.prototype = {
  35274. get$runtimeType(receiver) {
  35275. return A.createRuntimeType(type$.double);
  35276. },
  35277. $isTrustedGetRuntimeType: 1
  35278. };
  35279. J.JSString.prototype = {
  35280. codeUnitAt$1(receiver, index) {
  35281. if (index < 0)
  35282. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35283. if (index >= receiver.length)
  35284. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35285. return receiver.charCodeAt(index);
  35286. },
  35287. allMatches$2(receiver, string, start) {
  35288. var t1 = string.length;
  35289. if (start > t1)
  35290. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35291. return new A._StringAllMatchesIterable(string, receiver, start);
  35292. },
  35293. allMatches$1(receiver, string) {
  35294. return this.allMatches$2(receiver, string, 0);
  35295. },
  35296. matchAsPrefix$2(receiver, string, start) {
  35297. var t1, i, _null = null;
  35298. if (start < 0 || start > string.length)
  35299. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35300. t1 = receiver.length;
  35301. if (start + t1 > string.length)
  35302. return _null;
  35303. for (i = 0; i < t1; ++i)
  35304. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35305. return _null;
  35306. return new A.StringMatch(start, receiver);
  35307. },
  35308. $add(receiver, other) {
  35309. return receiver + other;
  35310. },
  35311. endsWith$1(receiver, other) {
  35312. var otherLength = other.length,
  35313. t1 = receiver.length;
  35314. if (otherLength > t1)
  35315. return false;
  35316. return other === this.substring$1(receiver, t1 - otherLength);
  35317. },
  35318. replaceFirst$2(receiver, from, to) {
  35319. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35320. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35321. },
  35322. split$1(receiver, pattern) {
  35323. var nativeAnchoredRegExp, t1;
  35324. if (typeof pattern == "string")
  35325. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35326. else {
  35327. if (pattern instanceof A.JSSyntaxRegExp) {
  35328. nativeAnchoredRegExp = pattern.get$_nativeAnchoredVersion();
  35329. nativeAnchoredRegExp.lastIndex = 0;
  35330. t1 = nativeAnchoredRegExp.exec("").length - 2 === 0;
  35331. } else
  35332. t1 = false;
  35333. if (t1)
  35334. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35335. else
  35336. return this._defaultSplit$1(receiver, pattern);
  35337. }
  35338. },
  35339. replaceRange$3(receiver, start, end, replacement) {
  35340. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35341. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35342. },
  35343. _defaultSplit$1(receiver, pattern) {
  35344. var t1, start, $length, match, matchStart, matchEnd,
  35345. result = A._setArrayType([], type$.JSArray_String);
  35346. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35347. match = t1.get$current(t1);
  35348. matchStart = match.get$start(match);
  35349. matchEnd = match.get$end(match);
  35350. $length = matchEnd - matchStart;
  35351. if ($length === 0 && start === matchStart)
  35352. continue;
  35353. result.push(this.substring$2(receiver, start, matchStart));
  35354. start = matchEnd;
  35355. }
  35356. if (start < receiver.length || $length > 0)
  35357. result.push(this.substring$1(receiver, start));
  35358. return result;
  35359. },
  35360. startsWith$2(receiver, pattern, index) {
  35361. var endIndex;
  35362. if (index < 0 || index > receiver.length)
  35363. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35364. if (typeof pattern == "string") {
  35365. endIndex = index + pattern.length;
  35366. if (endIndex > receiver.length)
  35367. return false;
  35368. return pattern === receiver.substring(index, endIndex);
  35369. }
  35370. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35371. },
  35372. startsWith$1(receiver, pattern) {
  35373. return this.startsWith$2(receiver, pattern, 0);
  35374. },
  35375. substring$2(receiver, start, end) {
  35376. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35377. },
  35378. substring$1(receiver, start) {
  35379. return this.substring$2(receiver, start, null);
  35380. },
  35381. trim$0(receiver) {
  35382. var startIndex, t1, endIndex0,
  35383. result = receiver.trim(),
  35384. endIndex = result.length;
  35385. if (endIndex === 0)
  35386. return result;
  35387. if (result.charCodeAt(0) === 133) {
  35388. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35389. if (startIndex === endIndex)
  35390. return "";
  35391. } else
  35392. startIndex = 0;
  35393. t1 = endIndex - 1;
  35394. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35395. if (startIndex === 0 && endIndex0 === endIndex)
  35396. return result;
  35397. return result.substring(startIndex, endIndex0);
  35398. },
  35399. trimLeft$0(receiver) {
  35400. var result = receiver.trimStart();
  35401. if (result.length === 0)
  35402. return result;
  35403. if (result.charCodeAt(0) !== 133)
  35404. return result;
  35405. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35406. },
  35407. trimRight$0(receiver) {
  35408. var t1,
  35409. result = receiver.trimEnd(),
  35410. endIndex = result.length;
  35411. if (endIndex === 0)
  35412. return result;
  35413. t1 = endIndex - 1;
  35414. if (result.charCodeAt(t1) !== 133)
  35415. return result;
  35416. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35417. },
  35418. $mul(receiver, times) {
  35419. var s, result;
  35420. if (0 >= times)
  35421. return "";
  35422. if (times === 1 || receiver.length === 0)
  35423. return receiver;
  35424. if (times !== times >>> 0)
  35425. throw A.wrapException(B.C_OutOfMemoryError);
  35426. for (s = receiver, result = ""; true;) {
  35427. if ((times & 1) === 1)
  35428. result = s + result;
  35429. times = times >>> 1;
  35430. if (times === 0)
  35431. break;
  35432. s += s;
  35433. }
  35434. return result;
  35435. },
  35436. padLeft$2(receiver, width, padding) {
  35437. var delta = width - receiver.length;
  35438. if (delta <= 0)
  35439. return receiver;
  35440. return this.$mul(padding, delta) + receiver;
  35441. },
  35442. padRight$1(receiver, width) {
  35443. var delta = width - receiver.length;
  35444. if (delta <= 0)
  35445. return receiver;
  35446. return receiver + this.$mul(" ", delta);
  35447. },
  35448. indexOf$2(receiver, pattern, start) {
  35449. var t1;
  35450. if (start < 0 || start > receiver.length)
  35451. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35452. t1 = receiver.indexOf(pattern, start);
  35453. return t1;
  35454. },
  35455. indexOf$1(receiver, pattern) {
  35456. return this.indexOf$2(receiver, pattern, 0);
  35457. },
  35458. lastIndexOf$2(receiver, pattern, start) {
  35459. var t1, t2, i;
  35460. if (start == null)
  35461. start = receiver.length;
  35462. else if (start < 0 || start > receiver.length)
  35463. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35464. if (typeof pattern == "string") {
  35465. t1 = pattern.length;
  35466. t2 = receiver.length;
  35467. if (start + t1 > t2)
  35468. start = t2 - t1;
  35469. return receiver.lastIndexOf(pattern, start);
  35470. }
  35471. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35472. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35473. return i;
  35474. return -1;
  35475. },
  35476. lastIndexOf$1(receiver, pattern) {
  35477. return this.lastIndexOf$2(receiver, pattern, null);
  35478. },
  35479. contains$2(receiver, other, startIndex) {
  35480. var t1 = receiver.length;
  35481. if (startIndex > t1)
  35482. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35483. return A.stringContainsUnchecked(receiver, other, startIndex);
  35484. },
  35485. contains$1(receiver, other) {
  35486. return this.contains$2(receiver, other, 0);
  35487. },
  35488. compareTo$1(receiver, other) {
  35489. var t1;
  35490. if (receiver === other)
  35491. t1 = 0;
  35492. else
  35493. t1 = receiver < other ? -1 : 1;
  35494. return t1;
  35495. },
  35496. toString$0(receiver) {
  35497. return receiver;
  35498. },
  35499. get$hashCode(receiver) {
  35500. var t1, hash, i;
  35501. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35502. hash = hash + receiver.charCodeAt(i) & 536870911;
  35503. hash = hash + ((hash & 524287) << 10) & 536870911;
  35504. hash ^= hash >> 6;
  35505. }
  35506. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35507. hash ^= hash >> 11;
  35508. return hash + ((hash & 16383) << 15) & 536870911;
  35509. },
  35510. get$runtimeType(receiver) {
  35511. return A.createRuntimeType(type$.String);
  35512. },
  35513. get$length(receiver) {
  35514. return receiver.length;
  35515. },
  35516. $isTrustedGetRuntimeType: 1,
  35517. $isComparable: 1,
  35518. $isString: 1
  35519. };
  35520. A._CastIterableBase.prototype = {
  35521. get$iterator(_) {
  35522. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35523. },
  35524. get$length(_) {
  35525. return J.get$length$asx(this.get$_source());
  35526. },
  35527. get$isEmpty(_) {
  35528. return J.get$isEmpty$asx(this.get$_source());
  35529. },
  35530. get$isNotEmpty(_) {
  35531. return J.get$isNotEmpty$asx(this.get$_source());
  35532. },
  35533. skip$1(_, count) {
  35534. var t1 = A._instanceType(this);
  35535. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35536. },
  35537. take$1(_, count) {
  35538. var t1 = A._instanceType(this);
  35539. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35540. },
  35541. elementAt$1(_, index) {
  35542. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35543. },
  35544. get$first(_) {
  35545. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35546. },
  35547. get$last(_) {
  35548. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35549. },
  35550. get$single(_) {
  35551. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35552. },
  35553. contains$1(_, other) {
  35554. return J.contains$1$asx(this.get$_source(), other);
  35555. },
  35556. toString$0(_) {
  35557. return J.toString$0$(this.get$_source());
  35558. }
  35559. };
  35560. A.CastIterator.prototype = {
  35561. moveNext$0() {
  35562. return this._source.moveNext$0();
  35563. },
  35564. get$current(_) {
  35565. var t1 = this._source;
  35566. return this.$ti._rest[1]._as(t1.get$current(t1));
  35567. }
  35568. };
  35569. A.CastIterable.prototype = {
  35570. get$_source() {
  35571. return this._source;
  35572. }
  35573. };
  35574. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35575. A._CastListBase.prototype = {
  35576. $index(_, index) {
  35577. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35578. },
  35579. $indexSet(_, index, value) {
  35580. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35581. },
  35582. set$length(_, $length) {
  35583. J.set$length$asx(this._source, $length);
  35584. },
  35585. add$1(_, value) {
  35586. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35587. },
  35588. addAll$1(_, values) {
  35589. var t1 = this.$ti;
  35590. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35591. },
  35592. sort$1(_, compare) {
  35593. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35594. J.sort$1$ax(this._source, t1);
  35595. },
  35596. getRange$2(_, start, end) {
  35597. var t1 = this.$ti;
  35598. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35599. },
  35600. setRange$4(_, start, end, iterable, skipCount) {
  35601. var t1 = this.$ti;
  35602. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35603. },
  35604. removeRange$2(_, start, end) {
  35605. J.removeRange$2$ax(this._source, start, end);
  35606. },
  35607. fillRange$3(_, start, end, fillValue) {
  35608. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35609. },
  35610. $isEfficientLengthIterable: 1,
  35611. $isList: 1
  35612. };
  35613. A._CastListBase_sort_closure.prototype = {
  35614. call$2(v1, v2) {
  35615. var t1 = this.$this.$ti._rest[1];
  35616. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35617. },
  35618. $signature() {
  35619. return this.$this.$ti._eval$1("int(1,1)");
  35620. }
  35621. };
  35622. A.CastList.prototype = {
  35623. cast$1$0(_, $R) {
  35624. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35625. },
  35626. get$_source() {
  35627. return this._source;
  35628. }
  35629. };
  35630. A.CastSet.prototype = {
  35631. add$1(_, value) {
  35632. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35633. },
  35634. addAll$1(_, elements) {
  35635. var t1 = this.$ti;
  35636. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35637. },
  35638. difference$1(other) {
  35639. var _this = this;
  35640. if (_this._emptySet != null)
  35641. return _this._conditionalAdd$2(other, false);
  35642. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35643. },
  35644. _conditionalAdd$2(other, otherContains) {
  35645. var t3, castElement,
  35646. emptySet = this._emptySet,
  35647. t1 = this.$ti,
  35648. t2 = t1._rest[1],
  35649. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35650. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35651. castElement = t1._as(t2.get$current(t2));
  35652. if (otherContains === t3.contains$1(0, castElement))
  35653. result.add$1(0, castElement);
  35654. }
  35655. return result;
  35656. },
  35657. toSet$0(_) {
  35658. var emptySet = this._emptySet,
  35659. t1 = this.$ti._rest[1],
  35660. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35661. result.addAll$1(0, this);
  35662. return result;
  35663. },
  35664. $isEfficientLengthIterable: 1,
  35665. $isSet: 1,
  35666. get$_source() {
  35667. return this._source;
  35668. }
  35669. };
  35670. A.CastMap.prototype = {
  35671. cast$2$0(_, RK, RV) {
  35672. 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>"));
  35673. },
  35674. containsKey$1(key) {
  35675. return this._source.containsKey$1(key);
  35676. },
  35677. $index(_, key) {
  35678. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35679. },
  35680. $indexSet(_, key, value) {
  35681. var t1 = this.$ti;
  35682. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35683. },
  35684. addAll$1(_, other) {
  35685. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35686. },
  35687. remove$1(_, key) {
  35688. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35689. },
  35690. forEach$1(_, f) {
  35691. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35692. },
  35693. get$keys(_) {
  35694. var t1 = this._source,
  35695. t2 = this.$ti;
  35696. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35697. },
  35698. get$values(_) {
  35699. var t1 = this._source,
  35700. t2 = this.$ti;
  35701. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35702. },
  35703. get$length(_) {
  35704. var t1 = this._source;
  35705. return t1.get$length(t1);
  35706. },
  35707. get$isEmpty(_) {
  35708. var t1 = this._source;
  35709. return t1.get$isEmpty(t1);
  35710. },
  35711. get$isNotEmpty(_) {
  35712. var t1 = this._source;
  35713. return t1.get$isNotEmpty(t1);
  35714. },
  35715. get$entries(_) {
  35716. var t1 = this._source;
  35717. t1 = t1.get$entries(t1);
  35718. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35719. }
  35720. };
  35721. A.CastMap_forEach_closure.prototype = {
  35722. call$2(key, value) {
  35723. var t1 = this.$this.$ti;
  35724. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35725. },
  35726. $signature() {
  35727. return this.$this.$ti._eval$1("~(1,2)");
  35728. }
  35729. };
  35730. A.CastMap_entries_closure.prototype = {
  35731. call$1(e) {
  35732. var t1 = this.$this.$ti;
  35733. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  35734. },
  35735. $signature() {
  35736. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  35737. }
  35738. };
  35739. A.LateError.prototype = {
  35740. toString$0(_) {
  35741. return "LateInitializationError: " + this._message;
  35742. }
  35743. };
  35744. A.CodeUnits.prototype = {
  35745. get$length(_) {
  35746. return this._string.length;
  35747. },
  35748. $index(_, i) {
  35749. return this._string.charCodeAt(i);
  35750. }
  35751. };
  35752. A.nullFuture_closure.prototype = {
  35753. call$0() {
  35754. return A.Future_Future$value(null, type$.void);
  35755. },
  35756. $signature: 29
  35757. };
  35758. A.SentinelValue.prototype = {};
  35759. A.EfficientLengthIterable.prototype = {};
  35760. A.ListIterable.prototype = {
  35761. get$iterator(_) {
  35762. var _this = this;
  35763. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  35764. },
  35765. get$isEmpty(_) {
  35766. return this.get$length(this) === 0;
  35767. },
  35768. get$first(_) {
  35769. if (this.get$length(this) === 0)
  35770. throw A.wrapException(A.IterableElementError_noElement());
  35771. return this.elementAt$1(0, 0);
  35772. },
  35773. get$last(_) {
  35774. var _this = this;
  35775. if (_this.get$length(_this) === 0)
  35776. throw A.wrapException(A.IterableElementError_noElement());
  35777. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  35778. },
  35779. get$single(_) {
  35780. var _this = this;
  35781. if (_this.get$length(_this) === 0)
  35782. throw A.wrapException(A.IterableElementError_noElement());
  35783. if (_this.get$length(_this) > 1)
  35784. throw A.wrapException(A.IterableElementError_tooMany());
  35785. return _this.elementAt$1(0, 0);
  35786. },
  35787. contains$1(_, element) {
  35788. var i, _this = this,
  35789. $length = _this.get$length(_this);
  35790. for (i = 0; i < $length; ++i) {
  35791. if (J.$eq$(_this.elementAt$1(0, i), element))
  35792. return true;
  35793. if ($length !== _this.get$length(_this))
  35794. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35795. }
  35796. return false;
  35797. },
  35798. every$1(_, test) {
  35799. var i, _this = this,
  35800. $length = _this.get$length(_this);
  35801. for (i = 0; i < $length; ++i) {
  35802. if (!test.call$1(_this.elementAt$1(0, i)))
  35803. return false;
  35804. if ($length !== _this.get$length(_this))
  35805. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35806. }
  35807. return true;
  35808. },
  35809. any$1(_, test) {
  35810. var i, _this = this,
  35811. $length = _this.get$length(_this);
  35812. for (i = 0; i < $length; ++i) {
  35813. if (test.call$1(_this.elementAt$1(0, i)))
  35814. return true;
  35815. if ($length !== _this.get$length(_this))
  35816. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35817. }
  35818. return false;
  35819. },
  35820. join$1(_, separator) {
  35821. var first, t1, i, _this = this,
  35822. $length = _this.get$length(_this);
  35823. if (separator.length !== 0) {
  35824. if ($length === 0)
  35825. return "";
  35826. first = A.S(_this.elementAt$1(0, 0));
  35827. if ($length !== _this.get$length(_this))
  35828. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35829. for (t1 = first, i = 1; i < $length; ++i) {
  35830. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  35831. if ($length !== _this.get$length(_this))
  35832. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35833. }
  35834. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35835. } else {
  35836. for (i = 0, t1 = ""; i < $length; ++i) {
  35837. t1 += A.S(_this.elementAt$1(0, i));
  35838. if ($length !== _this.get$length(_this))
  35839. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35840. }
  35841. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35842. }
  35843. },
  35844. join$0(_) {
  35845. return this.join$1(0, "");
  35846. },
  35847. where$1(_, test) {
  35848. return this.super$Iterable$where(0, test);
  35849. },
  35850. map$1$1(_, toElement, $T) {
  35851. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35852. },
  35853. reduce$1(_, combine) {
  35854. var value, i, _this = this,
  35855. $length = _this.get$length(_this);
  35856. if ($length === 0)
  35857. throw A.wrapException(A.IterableElementError_noElement());
  35858. value = _this.elementAt$1(0, 0);
  35859. for (i = 1; i < $length; ++i) {
  35860. value = combine.call$2(value, _this.elementAt$1(0, i));
  35861. if ($length !== _this.get$length(_this))
  35862. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35863. }
  35864. return value;
  35865. },
  35866. fold$1$2(_, initialValue, combine) {
  35867. var value, i, _this = this,
  35868. $length = _this.get$length(_this);
  35869. for (value = initialValue, i = 0; i < $length; ++i) {
  35870. value = combine.call$2(value, _this.elementAt$1(0, i));
  35871. if ($length !== _this.get$length(_this))
  35872. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35873. }
  35874. return value;
  35875. },
  35876. fold$2(_, initialValue, combine) {
  35877. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  35878. },
  35879. skip$1(_, count) {
  35880. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  35881. },
  35882. take$1(_, count) {
  35883. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  35884. },
  35885. toList$1$growable(_, growable) {
  35886. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  35887. },
  35888. toList$0(_) {
  35889. return this.toList$1$growable(0, true);
  35890. },
  35891. toSet$0(_) {
  35892. var i, _this = this,
  35893. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  35894. for (i = 0; i < _this.get$length(_this); ++i)
  35895. result.add$1(0, _this.elementAt$1(0, i));
  35896. return result;
  35897. }
  35898. };
  35899. A.SubListIterable.prototype = {
  35900. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  35901. var endOrLength,
  35902. t1 = this._start;
  35903. A.RangeError_checkNotNegative(t1, "start");
  35904. endOrLength = this._endOrLength;
  35905. if (endOrLength != null) {
  35906. A.RangeError_checkNotNegative(endOrLength, "end");
  35907. if (t1 > endOrLength)
  35908. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  35909. }
  35910. },
  35911. get$_endIndex() {
  35912. var $length = J.get$length$asx(this.__internal$_iterable),
  35913. endOrLength = this._endOrLength;
  35914. if (endOrLength == null || endOrLength > $length)
  35915. return $length;
  35916. return endOrLength;
  35917. },
  35918. get$_startIndex() {
  35919. var $length = J.get$length$asx(this.__internal$_iterable),
  35920. t1 = this._start;
  35921. if (t1 > $length)
  35922. return $length;
  35923. return t1;
  35924. },
  35925. get$length(_) {
  35926. var endOrLength,
  35927. $length = J.get$length$asx(this.__internal$_iterable),
  35928. t1 = this._start;
  35929. if (t1 >= $length)
  35930. return 0;
  35931. endOrLength = this._endOrLength;
  35932. if (endOrLength == null || endOrLength >= $length)
  35933. return $length - t1;
  35934. return endOrLength - t1;
  35935. },
  35936. elementAt$1(_, index) {
  35937. var _this = this,
  35938. realIndex = _this.get$_startIndex() + index;
  35939. if (index < 0 || realIndex >= _this.get$_endIndex())
  35940. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  35941. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  35942. },
  35943. skip$1(_, count) {
  35944. var newStart, endOrLength, _this = this;
  35945. A.RangeError_checkNotNegative(count, "count");
  35946. newStart = _this._start + count;
  35947. endOrLength = _this._endOrLength;
  35948. if (endOrLength != null && newStart >= endOrLength)
  35949. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  35950. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  35951. },
  35952. take$1(_, count) {
  35953. var endOrLength, t1, newEnd, _this = this;
  35954. A.RangeError_checkNotNegative(count, "count");
  35955. endOrLength = _this._endOrLength;
  35956. t1 = _this._start;
  35957. newEnd = t1 + count;
  35958. if (endOrLength == null)
  35959. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35960. else {
  35961. if (endOrLength < newEnd)
  35962. return _this;
  35963. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35964. }
  35965. },
  35966. toList$1$growable(_, growable) {
  35967. var $length, result, i, _this = this,
  35968. start = _this._start,
  35969. t1 = _this.__internal$_iterable,
  35970. t2 = J.getInterceptor$asx(t1),
  35971. end = t2.get$length(t1),
  35972. endOrLength = _this._endOrLength;
  35973. if (endOrLength != null && endOrLength < end)
  35974. end = endOrLength;
  35975. $length = end - start;
  35976. if ($length <= 0) {
  35977. t1 = _this.$ti._precomputed1;
  35978. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  35979. }
  35980. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  35981. for (i = 1; i < $length; ++i) {
  35982. result[i] = t2.elementAt$1(t1, start + i);
  35983. if (t2.get$length(t1) < end)
  35984. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35985. }
  35986. return result;
  35987. },
  35988. toList$0(_) {
  35989. return this.toList$1$growable(0, true);
  35990. }
  35991. };
  35992. A.ListIterator.prototype = {
  35993. get$current(_) {
  35994. var t1 = this.__internal$_current;
  35995. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35996. },
  35997. moveNext$0() {
  35998. var t3, _this = this,
  35999. t1 = _this.__internal$_iterable,
  36000. t2 = J.getInterceptor$asx(t1),
  36001. $length = t2.get$length(t1);
  36002. if (_this.__internal$_length !== $length)
  36003. throw A.wrapException(A.ConcurrentModificationError$(t1));
  36004. t3 = _this.__internal$_index;
  36005. if (t3 >= $length) {
  36006. _this.__internal$_current = null;
  36007. return false;
  36008. }
  36009. _this.__internal$_current = t2.elementAt$1(t1, t3);
  36010. ++_this.__internal$_index;
  36011. return true;
  36012. }
  36013. };
  36014. A.MappedIterable.prototype = {
  36015. get$iterator(_) {
  36016. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  36017. },
  36018. get$length(_) {
  36019. return J.get$length$asx(this.__internal$_iterable);
  36020. },
  36021. get$isEmpty(_) {
  36022. return J.get$isEmpty$asx(this.__internal$_iterable);
  36023. },
  36024. get$first(_) {
  36025. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  36026. },
  36027. get$last(_) {
  36028. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  36029. },
  36030. get$single(_) {
  36031. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  36032. },
  36033. elementAt$1(_, index) {
  36034. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  36035. }
  36036. };
  36037. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  36038. A.MappedIterator.prototype = {
  36039. moveNext$0() {
  36040. var _this = this,
  36041. t1 = _this._iterator;
  36042. if (t1.moveNext$0()) {
  36043. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  36044. return true;
  36045. }
  36046. _this.__internal$_current = null;
  36047. return false;
  36048. },
  36049. get$current(_) {
  36050. var t1 = this.__internal$_current;
  36051. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36052. }
  36053. };
  36054. A.MappedListIterable.prototype = {
  36055. get$length(_) {
  36056. return J.get$length$asx(this._source);
  36057. },
  36058. elementAt$1(_, index) {
  36059. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  36060. }
  36061. };
  36062. A.WhereIterable.prototype = {
  36063. get$iterator(_) {
  36064. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36065. },
  36066. map$1$1(_, toElement, $T) {
  36067. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  36068. }
  36069. };
  36070. A.WhereIterator.prototype = {
  36071. moveNext$0() {
  36072. var t1, t2;
  36073. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  36074. if (t2.call$1(t1.get$current(t1)))
  36075. return true;
  36076. return false;
  36077. },
  36078. get$current(_) {
  36079. var t1 = this._iterator;
  36080. return t1.get$current(t1);
  36081. }
  36082. };
  36083. A.ExpandIterable.prototype = {
  36084. get$iterator(_) {
  36085. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  36086. }
  36087. };
  36088. A.ExpandIterator.prototype = {
  36089. get$current(_) {
  36090. var t1 = this.__internal$_current;
  36091. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36092. },
  36093. moveNext$0() {
  36094. var t2, t3, _this = this,
  36095. t1 = _this._currentExpansion;
  36096. if (t1 == null)
  36097. return false;
  36098. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36099. _this.__internal$_current = null;
  36100. if (t2.moveNext$0()) {
  36101. _this._currentExpansion = null;
  36102. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36103. _this._currentExpansion = t1;
  36104. } else
  36105. return false;
  36106. }
  36107. t1 = _this._currentExpansion;
  36108. _this.__internal$_current = t1.get$current(t1);
  36109. return true;
  36110. }
  36111. };
  36112. A.TakeIterable.prototype = {
  36113. get$iterator(_) {
  36114. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36115. }
  36116. };
  36117. A.EfficientLengthTakeIterable.prototype = {
  36118. get$length(_) {
  36119. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  36120. t1 = this._takeCount;
  36121. if (iterableLength > t1)
  36122. return t1;
  36123. return iterableLength;
  36124. },
  36125. $isEfficientLengthIterable: 1
  36126. };
  36127. A.TakeIterator.prototype = {
  36128. moveNext$0() {
  36129. if (--this._remaining >= 0)
  36130. return this._iterator.moveNext$0();
  36131. this._remaining = -1;
  36132. return false;
  36133. },
  36134. get$current(_) {
  36135. var t1;
  36136. if (this._remaining < 0) {
  36137. this.$ti._precomputed1._as(null);
  36138. return null;
  36139. }
  36140. t1 = this._iterator;
  36141. return t1.get$current(t1);
  36142. }
  36143. };
  36144. A.SkipIterable.prototype = {
  36145. skip$1(_, count) {
  36146. A.ArgumentError_checkNotNull(count, "count");
  36147. A.RangeError_checkNotNegative(count, "count");
  36148. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36149. },
  36150. get$iterator(_) {
  36151. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  36152. }
  36153. };
  36154. A.EfficientLengthSkipIterable.prototype = {
  36155. get$length(_) {
  36156. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  36157. if ($length >= 0)
  36158. return $length;
  36159. return 0;
  36160. },
  36161. skip$1(_, count) {
  36162. A.ArgumentError_checkNotNull(count, "count");
  36163. A.RangeError_checkNotNegative(count, "count");
  36164. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36165. },
  36166. $isEfficientLengthIterable: 1
  36167. };
  36168. A.SkipIterator.prototype = {
  36169. moveNext$0() {
  36170. var t1, i;
  36171. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36172. t1.moveNext$0();
  36173. this._skipCount = 0;
  36174. return t1.moveNext$0();
  36175. },
  36176. get$current(_) {
  36177. var t1 = this._iterator;
  36178. return t1.get$current(t1);
  36179. }
  36180. };
  36181. A.SkipWhileIterable.prototype = {
  36182. get$iterator(_) {
  36183. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36184. }
  36185. };
  36186. A.SkipWhileIterator.prototype = {
  36187. moveNext$0() {
  36188. var t1, t2, _this = this;
  36189. if (!_this._hasSkipped) {
  36190. _this._hasSkipped = true;
  36191. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36192. if (!t2.call$1(t1.get$current(t1)))
  36193. return true;
  36194. }
  36195. return _this._iterator.moveNext$0();
  36196. },
  36197. get$current(_) {
  36198. var t1 = this._iterator;
  36199. return t1.get$current(t1);
  36200. }
  36201. };
  36202. A.EmptyIterable.prototype = {
  36203. get$iterator(_) {
  36204. return B.C_EmptyIterator;
  36205. },
  36206. get$isEmpty(_) {
  36207. return true;
  36208. },
  36209. get$length(_) {
  36210. return 0;
  36211. },
  36212. get$first(_) {
  36213. throw A.wrapException(A.IterableElementError_noElement());
  36214. },
  36215. get$last(_) {
  36216. throw A.wrapException(A.IterableElementError_noElement());
  36217. },
  36218. get$single(_) {
  36219. throw A.wrapException(A.IterableElementError_noElement());
  36220. },
  36221. elementAt$1(_, index) {
  36222. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36223. },
  36224. contains$1(_, element) {
  36225. return false;
  36226. },
  36227. every$1(_, test) {
  36228. return true;
  36229. },
  36230. any$1(_, test) {
  36231. return false;
  36232. },
  36233. join$1(_, separator) {
  36234. return "";
  36235. },
  36236. where$1(_, test) {
  36237. return this;
  36238. },
  36239. map$1$1(_, toElement, $T) {
  36240. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36241. },
  36242. skip$1(_, count) {
  36243. A.RangeError_checkNotNegative(count, "count");
  36244. return this;
  36245. },
  36246. take$1(_, count) {
  36247. A.RangeError_checkNotNegative(count, "count");
  36248. return this;
  36249. },
  36250. toList$1$growable(_, growable) {
  36251. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36252. return t1;
  36253. },
  36254. toList$0(_) {
  36255. return this.toList$1$growable(0, true);
  36256. },
  36257. toSet$0(_) {
  36258. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36259. }
  36260. };
  36261. A.EmptyIterator.prototype = {
  36262. moveNext$0() {
  36263. return false;
  36264. },
  36265. get$current(_) {
  36266. throw A.wrapException(A.IterableElementError_noElement());
  36267. }
  36268. };
  36269. A.FollowedByIterable.prototype = {
  36270. get$iterator(_) {
  36271. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36272. },
  36273. get$length(_) {
  36274. var t1 = this._second;
  36275. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36276. },
  36277. get$isEmpty(_) {
  36278. var t1;
  36279. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36280. t1 = this._second;
  36281. t1 = t1.get$isEmpty(t1);
  36282. } else
  36283. t1 = false;
  36284. return t1;
  36285. },
  36286. get$isNotEmpty(_) {
  36287. var t1;
  36288. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36289. t1 = this._second;
  36290. t1 = t1.get$isNotEmpty(t1);
  36291. } else
  36292. t1 = true;
  36293. return t1;
  36294. },
  36295. contains$1(_, value) {
  36296. var t1;
  36297. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36298. t1 = this._second;
  36299. t1 = t1.contains$1(t1, value);
  36300. } else
  36301. t1 = true;
  36302. return t1;
  36303. },
  36304. get$first(_) {
  36305. var t1,
  36306. iterator = J.get$iterator$ax(this.__internal$_first);
  36307. if (iterator.moveNext$0())
  36308. return iterator.get$current(iterator);
  36309. t1 = this._second;
  36310. return t1.get$first(t1);
  36311. },
  36312. get$last(_) {
  36313. var last,
  36314. t1 = this._second,
  36315. iterator = t1.get$iterator(t1);
  36316. if (iterator.moveNext$0()) {
  36317. last = iterator.get$current(iterator);
  36318. for (; iterator.moveNext$0();)
  36319. last = iterator.get$current(iterator);
  36320. return last;
  36321. }
  36322. return J.get$last$ax(this.__internal$_first);
  36323. }
  36324. };
  36325. A.EfficientLengthFollowedByIterable.prototype = {
  36326. elementAt$1(_, index) {
  36327. var t1 = this.__internal$_first,
  36328. t2 = J.getInterceptor$asx(t1),
  36329. firstLength = t2.get$length(t1);
  36330. if (index < firstLength)
  36331. return t2.elementAt$1(t1, index);
  36332. t1 = this._second;
  36333. return t1.elementAt$1(t1, index - firstLength);
  36334. },
  36335. get$first(_) {
  36336. var t1 = this.__internal$_first,
  36337. t2 = J.getInterceptor$asx(t1);
  36338. if (t2.get$isNotEmpty(t1))
  36339. return t2.get$first(t1);
  36340. t1 = this._second;
  36341. return t1.get$first(t1);
  36342. },
  36343. get$last(_) {
  36344. var t1 = this._second;
  36345. if (t1.get$isNotEmpty(t1))
  36346. return t1.get$last(t1);
  36347. return J.get$last$ax(this.__internal$_first);
  36348. },
  36349. $isEfficientLengthIterable: 1
  36350. };
  36351. A.FollowedByIterator.prototype = {
  36352. moveNext$0() {
  36353. var t1, _this = this;
  36354. if (_this._currentIterator.moveNext$0())
  36355. return true;
  36356. t1 = _this._nextIterable;
  36357. if (t1 != null) {
  36358. t1 = t1.get$iterator(t1);
  36359. _this._currentIterator = t1;
  36360. _this._nextIterable = null;
  36361. return t1.moveNext$0();
  36362. }
  36363. return false;
  36364. },
  36365. get$current(_) {
  36366. var t1 = this._currentIterator;
  36367. return t1.get$current(t1);
  36368. }
  36369. };
  36370. A.WhereTypeIterable.prototype = {
  36371. get$iterator(_) {
  36372. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36373. }
  36374. };
  36375. A.WhereTypeIterator.prototype = {
  36376. moveNext$0() {
  36377. var t1, t2;
  36378. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36379. if (t2._is(t1.get$current(t1)))
  36380. return true;
  36381. return false;
  36382. },
  36383. get$current(_) {
  36384. var t1 = this._source;
  36385. return this.$ti._precomputed1._as(t1.get$current(t1));
  36386. }
  36387. };
  36388. A.NonNullsIterable.prototype = {
  36389. get$_firstNonNull() {
  36390. var t1, element;
  36391. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36392. element = t1.get$current(t1);
  36393. if (element != null)
  36394. return element;
  36395. }
  36396. return null;
  36397. },
  36398. get$isEmpty(_) {
  36399. return this.get$_firstNonNull() == null;
  36400. },
  36401. get$isNotEmpty(_) {
  36402. return this.get$_firstNonNull() != null;
  36403. },
  36404. get$first(_) {
  36405. var t1 = this.get$_firstNonNull();
  36406. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36407. },
  36408. get$iterator(_) {
  36409. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36410. }
  36411. };
  36412. A.NonNullsIterator.prototype = {
  36413. moveNext$0() {
  36414. var t1, next;
  36415. this.__internal$_current = null;
  36416. for (t1 = this._source; t1.moveNext$0();) {
  36417. next = t1.get$current(t1);
  36418. if (next != null) {
  36419. this.__internal$_current = next;
  36420. return true;
  36421. }
  36422. }
  36423. return false;
  36424. },
  36425. get$current(_) {
  36426. var t1 = this.__internal$_current;
  36427. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36428. }
  36429. };
  36430. A.FixedLengthListMixin.prototype = {
  36431. set$length(receiver, newLength) {
  36432. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36433. },
  36434. add$1(receiver, value) {
  36435. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36436. },
  36437. addAll$1(receiver, iterable) {
  36438. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36439. },
  36440. removeRange$2(receiver, start, end) {
  36441. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36442. }
  36443. };
  36444. A.UnmodifiableListMixin.prototype = {
  36445. $indexSet(_, index, value) {
  36446. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36447. },
  36448. set$length(_, newLength) {
  36449. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36450. },
  36451. add$1(_, value) {
  36452. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36453. },
  36454. addAll$1(_, iterable) {
  36455. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36456. },
  36457. sort$1(_, compare) {
  36458. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36459. },
  36460. setRange$4(_, start, end, iterable, skipCount) {
  36461. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36462. },
  36463. removeRange$2(_, start, end) {
  36464. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36465. },
  36466. fillRange$3(_, start, end, fillValue) {
  36467. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36468. }
  36469. };
  36470. A.UnmodifiableListBase.prototype = {};
  36471. A.ReversedListIterable.prototype = {
  36472. get$length(_) {
  36473. return J.get$length$asx(this._source);
  36474. },
  36475. elementAt$1(_, index) {
  36476. var t1 = this._source,
  36477. t2 = J.getInterceptor$asx(t1);
  36478. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36479. }
  36480. };
  36481. A.Symbol.prototype = {
  36482. get$hashCode(_) {
  36483. var hash = this._hashCode;
  36484. if (hash != null)
  36485. return hash;
  36486. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36487. this._hashCode = hash;
  36488. return hash;
  36489. },
  36490. toString$0(_) {
  36491. return 'Symbol("' + this.__internal$_name + '")';
  36492. },
  36493. $eq(_, other) {
  36494. if (other == null)
  36495. return false;
  36496. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36497. },
  36498. $isSymbol0: 1
  36499. };
  36500. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36501. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36502. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36503. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36504. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36505. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36506. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36507. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36508. A._Record_3_deprecation_message_span.prototype = {
  36509. get$message(_) {
  36510. return this._1;
  36511. },
  36512. $recipe: "+deprecation,message,span(1,2,3)",
  36513. $shape: 11
  36514. };
  36515. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36516. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36517. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36518. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36519. A.ConstantMapView.prototype = {};
  36520. A.ConstantMap.prototype = {
  36521. cast$2$0(_, RK, RV) {
  36522. var t1 = A._instanceType(this);
  36523. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  36524. },
  36525. get$isEmpty(_) {
  36526. return this.get$length(this) === 0;
  36527. },
  36528. get$isNotEmpty(_) {
  36529. return this.get$length(this) !== 0;
  36530. },
  36531. toString$0(_) {
  36532. return A.MapBase_mapToString(this);
  36533. },
  36534. $indexSet(_, key, value) {
  36535. A.ConstantMap__throwUnmodifiable();
  36536. },
  36537. remove$1(_, key) {
  36538. A.ConstantMap__throwUnmodifiable();
  36539. },
  36540. addAll$1(_, other) {
  36541. A.ConstantMap__throwUnmodifiable();
  36542. },
  36543. get$entries(_) {
  36544. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36545. },
  36546. entries$body$ConstantMap($async$_) {
  36547. var $async$self = this;
  36548. return function() {
  36549. var _ = $async$_;
  36550. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36551. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36552. if ($async$errorCode === 1) {
  36553. $async$errorStack.push($async$result);
  36554. $async$goto = $async$handler;
  36555. }
  36556. while (true)
  36557. switch ($async$goto) {
  36558. case 0:
  36559. // Function start
  36560. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36561. case 2:
  36562. // for condition
  36563. if (!t1.moveNext$0()) {
  36564. // goto after for
  36565. $async$goto = 3;
  36566. break;
  36567. }
  36568. key = t1.get$current(t1);
  36569. $async$goto = 4;
  36570. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36571. case 4:
  36572. // after yield
  36573. // goto for condition
  36574. $async$goto = 2;
  36575. break;
  36576. case 3:
  36577. // after for
  36578. // implicit return
  36579. return 0;
  36580. case 1:
  36581. // rethrow
  36582. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36583. }
  36584. };
  36585. };
  36586. },
  36587. $isMap: 1
  36588. };
  36589. A.ConstantStringMap.prototype = {
  36590. get$length(_) {
  36591. return this._values.length;
  36592. },
  36593. get$_keys() {
  36594. var keys = this.$keys;
  36595. if (keys == null) {
  36596. keys = Object.keys(this._jsIndex);
  36597. this.$keys = keys;
  36598. }
  36599. return keys;
  36600. },
  36601. containsKey$1(key) {
  36602. if (typeof key != "string")
  36603. return false;
  36604. if ("__proto__" === key)
  36605. return false;
  36606. return this._jsIndex.hasOwnProperty(key);
  36607. },
  36608. $index(_, key) {
  36609. if (!this.containsKey$1(key))
  36610. return null;
  36611. return this._values[this._jsIndex[key]];
  36612. },
  36613. forEach$1(_, f) {
  36614. var t1, i,
  36615. keys = this.get$_keys(),
  36616. values = this._values;
  36617. for (t1 = keys.length, i = 0; i < t1; ++i)
  36618. f.call$2(keys[i], values[i]);
  36619. },
  36620. get$keys(_) {
  36621. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36622. },
  36623. get$values(_) {
  36624. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36625. }
  36626. };
  36627. A._KeysOrValues.prototype = {
  36628. get$length(_) {
  36629. return this._elements.length;
  36630. },
  36631. get$isEmpty(_) {
  36632. return 0 === this._elements.length;
  36633. },
  36634. get$isNotEmpty(_) {
  36635. return 0 !== this._elements.length;
  36636. },
  36637. get$iterator(_) {
  36638. var t1 = this._elements;
  36639. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36640. }
  36641. };
  36642. A._KeysOrValuesOrElementsIterator.prototype = {
  36643. get$current(_) {
  36644. var t1 = this.__js_helper$_current;
  36645. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36646. },
  36647. moveNext$0() {
  36648. var _this = this,
  36649. t1 = _this.__js_helper$_index;
  36650. if (t1 >= _this.__js_helper$_length) {
  36651. _this.__js_helper$_current = null;
  36652. return false;
  36653. }
  36654. _this.__js_helper$_current = _this._elements[t1];
  36655. _this.__js_helper$_index = t1 + 1;
  36656. return true;
  36657. }
  36658. };
  36659. A.ConstantSet.prototype = {
  36660. add$1(_, value) {
  36661. A.ConstantSet__throwUnmodifiable();
  36662. },
  36663. addAll$1(_, elements) {
  36664. A.ConstantSet__throwUnmodifiable();
  36665. },
  36666. remove$1(_, value) {
  36667. A.ConstantSet__throwUnmodifiable();
  36668. }
  36669. };
  36670. A.ConstantStringSet.prototype = {
  36671. get$length(_) {
  36672. return this.__js_helper$_length;
  36673. },
  36674. get$isEmpty(_) {
  36675. return this.__js_helper$_length === 0;
  36676. },
  36677. get$isNotEmpty(_) {
  36678. return this.__js_helper$_length !== 0;
  36679. },
  36680. get$iterator(_) {
  36681. var t1, _this = this,
  36682. keys = _this.$keys;
  36683. if (keys == null) {
  36684. keys = Object.keys(_this._jsIndex);
  36685. _this.$keys = keys;
  36686. }
  36687. t1 = keys;
  36688. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36689. },
  36690. contains$1(_, key) {
  36691. if (typeof key != "string")
  36692. return false;
  36693. if ("__proto__" === key)
  36694. return false;
  36695. return this._jsIndex.hasOwnProperty(key);
  36696. },
  36697. toSet$0(_) {
  36698. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36699. }
  36700. };
  36701. A.GeneralConstantSet.prototype = {
  36702. get$length(_) {
  36703. return this._elements.length;
  36704. },
  36705. get$isEmpty(_) {
  36706. return this._elements.length === 0;
  36707. },
  36708. get$isNotEmpty(_) {
  36709. return this._elements.length !== 0;
  36710. },
  36711. get$iterator(_) {
  36712. var t1 = this._elements;
  36713. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36714. },
  36715. _getMap$0() {
  36716. var t1, t2, _i, key, _this = this,
  36717. backingMap = _this.$map;
  36718. if (backingMap == null) {
  36719. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36720. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36721. key = t1[_i];
  36722. backingMap.$indexSet(0, key, key);
  36723. }
  36724. _this.$map = backingMap;
  36725. }
  36726. return backingMap;
  36727. },
  36728. contains$1(_, key) {
  36729. return this._getMap$0().containsKey$1(key);
  36730. },
  36731. toSet$0(_) {
  36732. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36733. }
  36734. };
  36735. A.Instantiation.prototype = {
  36736. Instantiation$1(_genericClosure) {
  36737. if (false)
  36738. A.instantiatedGenericFunctionType(0, 0);
  36739. },
  36740. $eq(_, other) {
  36741. if (other == null)
  36742. return false;
  36743. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  36744. },
  36745. get$hashCode(_) {
  36746. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  36747. },
  36748. toString$0(_) {
  36749. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  36750. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  36751. }
  36752. };
  36753. A.Instantiation1.prototype = {
  36754. call$0() {
  36755. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  36756. },
  36757. call$2(a0, a1) {
  36758. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  36759. },
  36760. call$3(a0, a1, a2) {
  36761. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  36762. },
  36763. call$4(a0, a1, a2, a3) {
  36764. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  36765. },
  36766. $signature() {
  36767. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  36768. }
  36769. };
  36770. A.JSInvocationMirror.prototype = {
  36771. get$memberName() {
  36772. var t1 = this.__js_helper$_memberName;
  36773. if (t1 instanceof A.Symbol)
  36774. return t1;
  36775. return this.__js_helper$_memberName = new A.Symbol(t1);
  36776. },
  36777. get$positionalArguments() {
  36778. var t1, t2, argumentCount, list, index, _this = this;
  36779. if (_this.__js_helper$_kind === 1)
  36780. return B.List_empty6;
  36781. t1 = _this._arguments;
  36782. t2 = J.getInterceptor$asx(t1);
  36783. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  36784. if (argumentCount === 0)
  36785. return B.List_empty6;
  36786. list = [];
  36787. for (index = 0; index < argumentCount; ++index)
  36788. list.push(t2.$index(t1, index));
  36789. list.$flags = 3;
  36790. return list;
  36791. },
  36792. get$namedArguments() {
  36793. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  36794. if (_this.__js_helper$_kind !== 0)
  36795. return B.Map_empty3;
  36796. t1 = _this._namedArgumentNames;
  36797. t2 = J.getInterceptor$asx(t1);
  36798. namedArgumentCount = t2.get$length(t1);
  36799. t3 = _this._arguments;
  36800. t4 = J.getInterceptor$asx(t3);
  36801. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  36802. if (namedArgumentCount === 0)
  36803. return B.Map_empty3;
  36804. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  36805. for (i = 0; i < namedArgumentCount; ++i)
  36806. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  36807. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  36808. }
  36809. };
  36810. A.Primitives_functionNoSuchMethod_closure.prototype = {
  36811. call$2($name, argument) {
  36812. var t1 = this._box_0;
  36813. t1.names = t1.names + "$" + $name;
  36814. this.namedArgumentList.push($name);
  36815. this.$arguments.push(argument);
  36816. ++t1.argumentCount;
  36817. },
  36818. $signature: 130
  36819. };
  36820. A.TypeErrorDecoder.prototype = {
  36821. matchTypeError$1(message) {
  36822. var result, t1, _this = this,
  36823. match = new RegExp(_this._pattern).exec(message);
  36824. if (match == null)
  36825. return null;
  36826. result = Object.create(null);
  36827. t1 = _this._arguments;
  36828. if (t1 !== -1)
  36829. result.arguments = match[t1 + 1];
  36830. t1 = _this._argumentsExpr;
  36831. if (t1 !== -1)
  36832. result.argumentsExpr = match[t1 + 1];
  36833. t1 = _this._expr;
  36834. if (t1 !== -1)
  36835. result.expr = match[t1 + 1];
  36836. t1 = _this._method;
  36837. if (t1 !== -1)
  36838. result.method = match[t1 + 1];
  36839. t1 = _this._receiver;
  36840. if (t1 !== -1)
  36841. result.receiver = match[t1 + 1];
  36842. return result;
  36843. }
  36844. };
  36845. A.NullError.prototype = {
  36846. toString$0(_) {
  36847. return "Null check operator used on a null value";
  36848. }
  36849. };
  36850. A.JsNoSuchMethodError.prototype = {
  36851. toString$0(_) {
  36852. var t2, _this = this,
  36853. _s38_ = "NoSuchMethodError: method not found: '",
  36854. t1 = _this._method;
  36855. if (t1 == null)
  36856. return "NoSuchMethodError: " + _this.__js_helper$_message;
  36857. t2 = _this._receiver;
  36858. if (t2 == null)
  36859. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  36860. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  36861. }
  36862. };
  36863. A.UnknownJsTypeError.prototype = {
  36864. toString$0(_) {
  36865. var t1 = this.__js_helper$_message;
  36866. return t1.length === 0 ? "Error" : "Error: " + t1;
  36867. }
  36868. };
  36869. A.NullThrownFromJavaScriptException.prototype = {
  36870. toString$0(_) {
  36871. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  36872. },
  36873. $isException: 1
  36874. };
  36875. A.ExceptionAndStackTrace.prototype = {};
  36876. A._StackTrace.prototype = {
  36877. toString$0(_) {
  36878. var trace,
  36879. t1 = this._trace;
  36880. if (t1 != null)
  36881. return t1;
  36882. t1 = this._exception;
  36883. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  36884. return this._trace = trace == null ? "" : trace;
  36885. },
  36886. $isStackTrace: 1
  36887. };
  36888. A.Closure.prototype = {
  36889. toString$0(_) {
  36890. var $constructor = this.constructor,
  36891. $name = $constructor == null ? null : $constructor.name;
  36892. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  36893. },
  36894. $isFunction: 1,
  36895. get$$call() {
  36896. return this;
  36897. },
  36898. "call*": "call$1",
  36899. $requiredArgCount: 1,
  36900. $defaultValues: null
  36901. };
  36902. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  36903. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  36904. A.TearOffClosure.prototype = {};
  36905. A.StaticClosure.prototype = {
  36906. toString$0(_) {
  36907. var $name = this.$static_name;
  36908. if ($name == null)
  36909. return "Closure of unknown static method";
  36910. return "Closure '" + A.unminifyOrTag($name) + "'";
  36911. }
  36912. };
  36913. A.BoundClosure.prototype = {
  36914. $eq(_, other) {
  36915. if (other == null)
  36916. return false;
  36917. if (this === other)
  36918. return true;
  36919. if (!(other instanceof A.BoundClosure))
  36920. return false;
  36921. return this.$_target === other.$_target && this._receiver === other._receiver;
  36922. },
  36923. get$hashCode(_) {
  36924. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  36925. },
  36926. toString$0(_) {
  36927. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  36928. }
  36929. };
  36930. A._CyclicInitializationError.prototype = {
  36931. toString$0(_) {
  36932. return "Reading static variable '" + this.variableName + "' during its initialization";
  36933. }
  36934. };
  36935. A.RuntimeError.prototype = {
  36936. toString$0(_) {
  36937. return "RuntimeError: " + this.message;
  36938. },
  36939. get$message(receiver) {
  36940. return this.message;
  36941. }
  36942. };
  36943. A._Required.prototype = {};
  36944. A.JsLinkedHashMap.prototype = {
  36945. get$length(_) {
  36946. return this.__js_helper$_length;
  36947. },
  36948. get$isEmpty(_) {
  36949. return this.__js_helper$_length === 0;
  36950. },
  36951. get$isNotEmpty(_) {
  36952. return this.__js_helper$_length !== 0;
  36953. },
  36954. get$keys(_) {
  36955. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  36956. },
  36957. get$values(_) {
  36958. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  36959. },
  36960. get$entries(_) {
  36961. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  36962. },
  36963. containsKey$1(key) {
  36964. var strings, nums;
  36965. if (typeof key == "string") {
  36966. strings = this.__js_helper$_strings;
  36967. if (strings == null)
  36968. return false;
  36969. return strings[key] != null;
  36970. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36971. nums = this.__js_helper$_nums;
  36972. if (nums == null)
  36973. return false;
  36974. return nums[key] != null;
  36975. } else
  36976. return this.internalContainsKey$1(key);
  36977. },
  36978. internalContainsKey$1(key) {
  36979. var rest = this.__js_helper$_rest;
  36980. if (rest == null)
  36981. return false;
  36982. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  36983. },
  36984. addAll$1(_, other) {
  36985. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  36986. },
  36987. $index(_, key) {
  36988. var strings, cell, t1, nums, _null = null;
  36989. if (typeof key == "string") {
  36990. strings = this.__js_helper$_strings;
  36991. if (strings == null)
  36992. return _null;
  36993. cell = strings[key];
  36994. t1 = cell == null ? _null : cell.hashMapCellValue;
  36995. return t1;
  36996. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36997. nums = this.__js_helper$_nums;
  36998. if (nums == null)
  36999. return _null;
  37000. cell = nums[key];
  37001. t1 = cell == null ? _null : cell.hashMapCellValue;
  37002. return t1;
  37003. } else
  37004. return this.internalGet$1(key);
  37005. },
  37006. internalGet$1(key) {
  37007. var bucket, index,
  37008. rest = this.__js_helper$_rest;
  37009. if (rest == null)
  37010. return null;
  37011. bucket = rest[this.internalComputeHashCode$1(key)];
  37012. index = this.internalFindBucketIndex$2(bucket, key);
  37013. if (index < 0)
  37014. return null;
  37015. return bucket[index].hashMapCellValue;
  37016. },
  37017. $indexSet(_, key, value) {
  37018. var strings, nums, _this = this;
  37019. if (typeof key == "string") {
  37020. strings = _this.__js_helper$_strings;
  37021. _this.__js_helper$_addHashTableEntry$3(strings == null ? _this.__js_helper$_strings = _this._newHashTable$0() : strings, key, value);
  37022. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37023. nums = _this.__js_helper$_nums;
  37024. _this.__js_helper$_addHashTableEntry$3(nums == null ? _this.__js_helper$_nums = _this._newHashTable$0() : nums, key, value);
  37025. } else
  37026. _this.internalSet$2(key, value);
  37027. },
  37028. internalSet$2(key, value) {
  37029. var hash, bucket, index, _this = this,
  37030. rest = _this.__js_helper$_rest;
  37031. if (rest == null)
  37032. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  37033. hash = _this.internalComputeHashCode$1(key);
  37034. bucket = rest[hash];
  37035. if (bucket == null)
  37036. rest[hash] = [_this.__js_helper$_newLinkedCell$2(key, value)];
  37037. else {
  37038. index = _this.internalFindBucketIndex$2(bucket, key);
  37039. if (index >= 0)
  37040. bucket[index].hashMapCellValue = value;
  37041. else
  37042. bucket.push(_this.__js_helper$_newLinkedCell$2(key, value));
  37043. }
  37044. },
  37045. putIfAbsent$2(key, ifAbsent) {
  37046. var t1, value, _this = this;
  37047. if (_this.containsKey$1(key)) {
  37048. t1 = _this.$index(0, key);
  37049. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  37050. }
  37051. value = ifAbsent.call$0();
  37052. _this.$indexSet(0, key, value);
  37053. return value;
  37054. },
  37055. remove$1(_, key) {
  37056. var _this = this;
  37057. if (typeof key == "string")
  37058. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_strings, key);
  37059. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  37060. return _this.__js_helper$_removeHashTableEntry$2(_this.__js_helper$_nums, key);
  37061. else
  37062. return _this.internalRemove$1(key);
  37063. },
  37064. internalRemove$1(key) {
  37065. var hash, bucket, index, cell, _this = this,
  37066. rest = _this.__js_helper$_rest;
  37067. if (rest == null)
  37068. return null;
  37069. hash = _this.internalComputeHashCode$1(key);
  37070. bucket = rest[hash];
  37071. index = _this.internalFindBucketIndex$2(bucket, key);
  37072. if (index < 0)
  37073. return null;
  37074. cell = bucket.splice(index, 1)[0];
  37075. _this.__js_helper$_unlinkCell$1(cell);
  37076. if (bucket.length === 0)
  37077. delete rest[hash];
  37078. return cell.hashMapCellValue;
  37079. },
  37080. clear$0(_) {
  37081. var _this = this;
  37082. if (_this.__js_helper$_length > 0) {
  37083. _this.__js_helper$_strings = _this.__js_helper$_nums = _this.__js_helper$_rest = _this.__js_helper$_first = _this.__js_helper$_last = null;
  37084. _this.__js_helper$_length = 0;
  37085. _this.__js_helper$_modified$0();
  37086. }
  37087. },
  37088. forEach$1(_, action) {
  37089. var _this = this,
  37090. cell = _this.__js_helper$_first,
  37091. modifications = _this.__js_helper$_modifications;
  37092. for (; cell != null;) {
  37093. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37094. if (modifications !== _this.__js_helper$_modifications)
  37095. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37096. cell = cell.__js_helper$_next;
  37097. }
  37098. },
  37099. __js_helper$_addHashTableEntry$3(table, key, value) {
  37100. var cell = table[key];
  37101. if (cell == null)
  37102. table[key] = this.__js_helper$_newLinkedCell$2(key, value);
  37103. else
  37104. cell.hashMapCellValue = value;
  37105. },
  37106. __js_helper$_removeHashTableEntry$2(table, key) {
  37107. var cell;
  37108. if (table == null)
  37109. return null;
  37110. cell = table[key];
  37111. if (cell == null)
  37112. return null;
  37113. this.__js_helper$_unlinkCell$1(cell);
  37114. delete table[key];
  37115. return cell.hashMapCellValue;
  37116. },
  37117. __js_helper$_modified$0() {
  37118. this.__js_helper$_modifications = this.__js_helper$_modifications + 1 & 1073741823;
  37119. },
  37120. __js_helper$_newLinkedCell$2(key, value) {
  37121. var t1, _this = this,
  37122. cell = new A.LinkedHashMapCell(key, value);
  37123. if (_this.__js_helper$_first == null)
  37124. _this.__js_helper$_first = _this.__js_helper$_last = cell;
  37125. else {
  37126. t1 = _this.__js_helper$_last;
  37127. t1.toString;
  37128. cell.__js_helper$_previous = t1;
  37129. _this.__js_helper$_last = t1.__js_helper$_next = cell;
  37130. }
  37131. ++_this.__js_helper$_length;
  37132. _this.__js_helper$_modified$0();
  37133. return cell;
  37134. },
  37135. __js_helper$_unlinkCell$1(cell) {
  37136. var _this = this,
  37137. previous = cell.__js_helper$_previous,
  37138. next = cell.__js_helper$_next;
  37139. if (previous == null)
  37140. _this.__js_helper$_first = next;
  37141. else
  37142. previous.__js_helper$_next = next;
  37143. if (next == null)
  37144. _this.__js_helper$_last = previous;
  37145. else
  37146. next.__js_helper$_previous = previous;
  37147. --_this.__js_helper$_length;
  37148. _this.__js_helper$_modified$0();
  37149. },
  37150. internalComputeHashCode$1(key) {
  37151. return J.get$hashCode$(key) & 1073741823;
  37152. },
  37153. internalFindBucketIndex$2(bucket, key) {
  37154. var $length, i;
  37155. if (bucket == null)
  37156. return -1;
  37157. $length = bucket.length;
  37158. for (i = 0; i < $length; ++i)
  37159. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37160. return i;
  37161. return -1;
  37162. },
  37163. toString$0(_) {
  37164. return A.MapBase_mapToString(this);
  37165. },
  37166. _newHashTable$0() {
  37167. var table = Object.create(null);
  37168. table["<non-identifier-key>"] = table;
  37169. delete table["<non-identifier-key>"];
  37170. return table;
  37171. }
  37172. };
  37173. A.JsLinkedHashMap_addAll_closure.prototype = {
  37174. call$2(key, value) {
  37175. this.$this.$indexSet(0, key, value);
  37176. },
  37177. $signature() {
  37178. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37179. }
  37180. };
  37181. A.LinkedHashMapCell.prototype = {};
  37182. A.LinkedHashMapKeysIterable.prototype = {
  37183. get$length(_) {
  37184. return this.__js_helper$_map.__js_helper$_length;
  37185. },
  37186. get$isEmpty(_) {
  37187. return this.__js_helper$_map.__js_helper$_length === 0;
  37188. },
  37189. get$iterator(_) {
  37190. var t1 = this.__js_helper$_map;
  37191. return new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first);
  37192. },
  37193. contains$1(_, element) {
  37194. return this.__js_helper$_map.containsKey$1(element);
  37195. }
  37196. };
  37197. A.LinkedHashMapKeyIterator.prototype = {
  37198. get$current(_) {
  37199. return this.__js_helper$_current;
  37200. },
  37201. moveNext$0() {
  37202. var cell, _this = this,
  37203. t1 = _this.__js_helper$_map;
  37204. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37205. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37206. cell = _this.__js_helper$_cell;
  37207. if (cell == null) {
  37208. _this.__js_helper$_current = null;
  37209. return false;
  37210. } else {
  37211. _this.__js_helper$_current = cell.hashMapCellKey;
  37212. _this.__js_helper$_cell = cell.__js_helper$_next;
  37213. return true;
  37214. }
  37215. }
  37216. };
  37217. A.LinkedHashMapValuesIterable.prototype = {
  37218. get$length(_) {
  37219. return this.__js_helper$_map.__js_helper$_length;
  37220. },
  37221. get$isEmpty(_) {
  37222. return this.__js_helper$_map.__js_helper$_length === 0;
  37223. },
  37224. get$iterator(_) {
  37225. var t1 = this.__js_helper$_map;
  37226. return new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first);
  37227. }
  37228. };
  37229. A.LinkedHashMapValueIterator.prototype = {
  37230. get$current(_) {
  37231. return this.__js_helper$_current;
  37232. },
  37233. moveNext$0() {
  37234. var cell, _this = this,
  37235. t1 = _this.__js_helper$_map;
  37236. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37237. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37238. cell = _this.__js_helper$_cell;
  37239. if (cell == null) {
  37240. _this.__js_helper$_current = null;
  37241. return false;
  37242. } else {
  37243. _this.__js_helper$_current = cell.hashMapCellValue;
  37244. _this.__js_helper$_cell = cell.__js_helper$_next;
  37245. return true;
  37246. }
  37247. }
  37248. };
  37249. A.LinkedHashMapEntriesIterable.prototype = {
  37250. get$length(_) {
  37251. return this.__js_helper$_map.__js_helper$_length;
  37252. },
  37253. get$isEmpty(_) {
  37254. return this.__js_helper$_map.__js_helper$_length === 0;
  37255. },
  37256. get$iterator(_) {
  37257. var t1 = this.__js_helper$_map;
  37258. return new A.LinkedHashMapEntryIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37259. }
  37260. };
  37261. A.LinkedHashMapEntryIterator.prototype = {
  37262. get$current(_) {
  37263. var t1 = this.__js_helper$_current;
  37264. t1.toString;
  37265. return t1;
  37266. },
  37267. moveNext$0() {
  37268. var cell, _this = this,
  37269. t1 = _this.__js_helper$_map;
  37270. if (_this.__js_helper$_modifications !== t1.__js_helper$_modifications)
  37271. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37272. cell = _this.__js_helper$_cell;
  37273. if (cell == null) {
  37274. _this.__js_helper$_current = null;
  37275. return false;
  37276. } else {
  37277. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37278. _this.__js_helper$_cell = cell.__js_helper$_next;
  37279. return true;
  37280. }
  37281. }
  37282. };
  37283. A.JsIdentityLinkedHashMap.prototype = {
  37284. internalComputeHashCode$1(key) {
  37285. return A.objectHashCode(key) & 1073741823;
  37286. },
  37287. internalFindBucketIndex$2(bucket, key) {
  37288. var $length, i, t1;
  37289. if (bucket == null)
  37290. return -1;
  37291. $length = bucket.length;
  37292. for (i = 0; i < $length; ++i) {
  37293. t1 = bucket[i].hashMapCellKey;
  37294. if (t1 == null ? key == null : t1 === key)
  37295. return i;
  37296. }
  37297. return -1;
  37298. }
  37299. };
  37300. A.JsConstantLinkedHashMap.prototype = {
  37301. internalComputeHashCode$1(key) {
  37302. return A.constantHashCode(key) & 1073741823;
  37303. },
  37304. internalFindBucketIndex$2(bucket, key) {
  37305. var $length, i;
  37306. if (bucket == null)
  37307. return -1;
  37308. $length = bucket.length;
  37309. for (i = 0; i < $length; ++i)
  37310. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37311. return i;
  37312. return -1;
  37313. }
  37314. };
  37315. A.initHooks_closure.prototype = {
  37316. call$1(o) {
  37317. return this.getTag(o);
  37318. },
  37319. $signature: 86
  37320. };
  37321. A.initHooks_closure0.prototype = {
  37322. call$2(o, tag) {
  37323. return this.getUnknownTag(o, tag);
  37324. },
  37325. $signature: 302
  37326. };
  37327. A.initHooks_closure1.prototype = {
  37328. call$1(tag) {
  37329. return this.prototypeForTag(tag);
  37330. },
  37331. $signature: 219
  37332. };
  37333. A._Record.prototype = {
  37334. toString$0(_) {
  37335. return this._toString$1(false);
  37336. },
  37337. _toString$1(safe) {
  37338. var t2, separator, i, key, value,
  37339. keys = this._fieldKeys$0(),
  37340. values = this._getFieldValues$0(),
  37341. t1 = (safe ? "" + "Record " : "") + "(";
  37342. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37343. t1 += separator;
  37344. key = keys[i];
  37345. if (typeof key == "string")
  37346. t1 = t1 + key + ": ";
  37347. value = values[i];
  37348. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37349. }
  37350. t1 += ")";
  37351. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37352. },
  37353. _fieldKeys$0() {
  37354. var t1,
  37355. shapeTag = this.$shape;
  37356. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  37357. $._Record__computedFieldKeys.push(null);
  37358. t1 = $._Record__computedFieldKeys[shapeTag];
  37359. if (t1 == null) {
  37360. t1 = this._computeFieldKeys$0();
  37361. $._Record__computedFieldKeys[shapeTag] = t1;
  37362. }
  37363. return t1;
  37364. },
  37365. _computeFieldKeys$0() {
  37366. var i, names, last,
  37367. recipe = this.$recipe,
  37368. position = recipe.indexOf("("),
  37369. joinedNames = recipe.substring(1, position),
  37370. fields = recipe.substring(position),
  37371. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37372. t1 = type$.Object,
  37373. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37374. for (i = 0; i < arity; ++i)
  37375. result[i] = i;
  37376. if (joinedNames !== "") {
  37377. names = joinedNames.split(",");
  37378. i = names.length;
  37379. for (last = arity; i > 0;) {
  37380. --last;
  37381. --i;
  37382. result[last] = names[i];
  37383. }
  37384. }
  37385. return A.List_List$unmodifiable(result, t1);
  37386. }
  37387. };
  37388. A._Record2.prototype = {
  37389. _getFieldValues$0() {
  37390. return [this._0, this._1];
  37391. },
  37392. $eq(_, other) {
  37393. if (other == null)
  37394. return false;
  37395. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37396. },
  37397. get$hashCode(_) {
  37398. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37399. }
  37400. };
  37401. A._Record1.prototype = {
  37402. _getFieldValues$0() {
  37403. return [this._0];
  37404. },
  37405. $eq(_, other) {
  37406. if (other == null)
  37407. return false;
  37408. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37409. },
  37410. get$hashCode(_) {
  37411. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37412. }
  37413. };
  37414. A._Record3.prototype = {
  37415. _getFieldValues$0() {
  37416. return [this._0, this._1, this._2];
  37417. },
  37418. $eq(_, other) {
  37419. var _this = this;
  37420. if (other == null)
  37421. return false;
  37422. 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);
  37423. },
  37424. get$hashCode(_) {
  37425. var _this = this;
  37426. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37427. }
  37428. };
  37429. A._RecordN.prototype = {
  37430. _getFieldValues$0() {
  37431. return this._values;
  37432. },
  37433. $eq(_, other) {
  37434. if (other == null)
  37435. return false;
  37436. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37437. },
  37438. get$hashCode(_) {
  37439. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37440. }
  37441. };
  37442. A.JSSyntaxRegExp.prototype = {
  37443. toString$0(_) {
  37444. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37445. },
  37446. get$_nativeGlobalVersion() {
  37447. var _this = this,
  37448. t1 = _this._nativeGlobalRegExp;
  37449. if (t1 != null)
  37450. return t1;
  37451. t1 = _this._nativeRegExp;
  37452. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  37453. },
  37454. get$_nativeAnchoredVersion() {
  37455. var _this = this,
  37456. t1 = _this._nativeAnchoredRegExp;
  37457. if (t1 != null)
  37458. return t1;
  37459. t1 = _this._nativeRegExp;
  37460. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  37461. },
  37462. firstMatch$1(string) {
  37463. var m = this._nativeRegExp.exec(string);
  37464. if (m == null)
  37465. return null;
  37466. return new A._MatchImplementation(m);
  37467. },
  37468. allMatches$2(_, string, start) {
  37469. var t1 = string.length;
  37470. if (start > t1)
  37471. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37472. return new A._AllMatchesIterable(this, string, start);
  37473. },
  37474. allMatches$1(_, string) {
  37475. return this.allMatches$2(0, string, 0);
  37476. },
  37477. _execGlobal$2(string, start) {
  37478. var match,
  37479. regexp = this.get$_nativeGlobalVersion();
  37480. regexp.lastIndex = start;
  37481. match = regexp.exec(string);
  37482. if (match == null)
  37483. return null;
  37484. return new A._MatchImplementation(match);
  37485. },
  37486. _execAnchored$2(string, start) {
  37487. var match,
  37488. regexp = this.get$_nativeAnchoredVersion();
  37489. regexp.lastIndex = start;
  37490. match = regexp.exec(string);
  37491. if (match == null)
  37492. return null;
  37493. if (match.pop() != null)
  37494. return null;
  37495. return new A._MatchImplementation(match);
  37496. },
  37497. matchAsPrefix$2(_, string, start) {
  37498. if (start < 0 || start > string.length)
  37499. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37500. return this._execAnchored$2(string, start);
  37501. }
  37502. };
  37503. A._MatchImplementation.prototype = {
  37504. get$start(_) {
  37505. return this._match.index;
  37506. },
  37507. get$end(_) {
  37508. var t1 = this._match;
  37509. return t1.index + t1[0].length;
  37510. },
  37511. namedGroup$1($name) {
  37512. var result,
  37513. groups = this._match.groups;
  37514. if (groups != null) {
  37515. result = groups[$name];
  37516. if (result != null || $name in groups)
  37517. return result;
  37518. }
  37519. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37520. },
  37521. $isMatch: 1,
  37522. $isRegExpMatch: 1
  37523. };
  37524. A._AllMatchesIterable.prototype = {
  37525. get$iterator(_) {
  37526. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37527. }
  37528. };
  37529. A._AllMatchesIterator.prototype = {
  37530. get$current(_) {
  37531. var t1 = this.__js_helper$_current;
  37532. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37533. },
  37534. moveNext$0() {
  37535. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37536. string = _this.__js_helper$_string;
  37537. if (string == null)
  37538. return false;
  37539. t1 = _this._nextIndex;
  37540. t2 = string.length;
  37541. if (t1 <= t2) {
  37542. t3 = _this._regExp;
  37543. match = t3._execGlobal$2(string, t1);
  37544. if (match != null) {
  37545. _this.__js_helper$_current = match;
  37546. nextIndex = match.get$end(0);
  37547. if (match._match.index === nextIndex) {
  37548. t1 = false;
  37549. if (t3._nativeRegExp.unicode) {
  37550. t3 = _this._nextIndex;
  37551. t4 = t3 + 1;
  37552. if (t4 < t2) {
  37553. t2 = string.charCodeAt(t3);
  37554. if (t2 >= 55296 && t2 <= 56319) {
  37555. t1 = string.charCodeAt(t4);
  37556. t1 = t1 >= 56320 && t1 <= 57343;
  37557. }
  37558. }
  37559. }
  37560. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37561. }
  37562. _this._nextIndex = nextIndex;
  37563. return true;
  37564. }
  37565. }
  37566. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37567. return false;
  37568. }
  37569. };
  37570. A.StringMatch.prototype = {
  37571. get$end(_) {
  37572. return this.start + this.pattern.length;
  37573. },
  37574. $isMatch: 1,
  37575. get$start(receiver) {
  37576. return this.start;
  37577. }
  37578. };
  37579. A._StringAllMatchesIterable.prototype = {
  37580. get$iterator(_) {
  37581. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37582. },
  37583. get$first(_) {
  37584. var t1 = this._pattern,
  37585. index = this._input.indexOf(t1, this.__js_helper$_index);
  37586. if (index >= 0)
  37587. return new A.StringMatch(index, t1);
  37588. throw A.wrapException(A.IterableElementError_noElement());
  37589. }
  37590. };
  37591. A._StringAllMatchesIterator.prototype = {
  37592. moveNext$0() {
  37593. var index, end, _this = this,
  37594. t1 = _this.__js_helper$_index,
  37595. t2 = _this._pattern,
  37596. t3 = t2.length,
  37597. t4 = _this._input,
  37598. t5 = t4.length;
  37599. if (t1 + t3 > t5) {
  37600. _this.__js_helper$_current = null;
  37601. return false;
  37602. }
  37603. index = t4.indexOf(t2, t1);
  37604. if (index < 0) {
  37605. _this.__js_helper$_index = t5 + 1;
  37606. _this.__js_helper$_current = null;
  37607. return false;
  37608. }
  37609. end = index + t3;
  37610. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37611. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37612. return true;
  37613. },
  37614. get$current(_) {
  37615. var t1 = this.__js_helper$_current;
  37616. t1.toString;
  37617. return t1;
  37618. }
  37619. };
  37620. A._Cell.prototype = {
  37621. readLocal$1$0() {
  37622. var t1 = this.__late_helper$_value;
  37623. if (t1 === this)
  37624. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37625. return t1;
  37626. },
  37627. readLocal$0() {
  37628. return this.readLocal$1$0(type$.dynamic);
  37629. },
  37630. _readLocal$0() {
  37631. var t1 = this.__late_helper$_value;
  37632. if (t1 === this)
  37633. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37634. return t1;
  37635. }
  37636. };
  37637. A.NativeByteBuffer.prototype = {
  37638. get$runtimeType(receiver) {
  37639. return B.Type_ByteBuffer_rqD;
  37640. },
  37641. $isTrustedGetRuntimeType: 1,
  37642. $isByteBuffer: 1
  37643. };
  37644. A.NativeTypedData.prototype = {
  37645. _invalidPosition$3(receiver, position, $length, $name) {
  37646. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37647. throw A.wrapException(t1);
  37648. },
  37649. _checkPosition$3(receiver, position, $length, $name) {
  37650. if (position >>> 0 !== position || position > $length)
  37651. this._invalidPosition$3(receiver, position, $length, $name);
  37652. }
  37653. };
  37654. A.NativeByteData.prototype = {
  37655. get$runtimeType(receiver) {
  37656. return B.Type_ByteData_9dB;
  37657. },
  37658. $isTrustedGetRuntimeType: 1,
  37659. $isByteData: 1
  37660. };
  37661. A.NativeTypedArray.prototype = {
  37662. get$length(receiver) {
  37663. return receiver.length;
  37664. },
  37665. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37666. var count, sourceLength,
  37667. targetLength = receiver.length;
  37668. this._checkPosition$3(receiver, start, targetLength, "start");
  37669. this._checkPosition$3(receiver, end, targetLength, "end");
  37670. if (start > end)
  37671. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37672. count = end - start;
  37673. if (skipCount < 0)
  37674. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37675. sourceLength = source.length;
  37676. if (sourceLength - skipCount < count)
  37677. throw A.wrapException(A.StateError$("Not enough elements"));
  37678. if (skipCount !== 0 || sourceLength !== count)
  37679. source = source.subarray(skipCount, skipCount + count);
  37680. receiver.set(source, start);
  37681. },
  37682. $isJavaScriptIndexingBehavior: 1
  37683. };
  37684. A.NativeTypedArrayOfDouble.prototype = {
  37685. $index(receiver, index) {
  37686. A._checkValidIndex(index, receiver, receiver.length);
  37687. return receiver[index];
  37688. },
  37689. $indexSet(receiver, index, value) {
  37690. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37691. A._checkValidIndex(index, receiver, receiver.length);
  37692. receiver[index] = value;
  37693. },
  37694. setRange$4(receiver, start, end, iterable, skipCount) {
  37695. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37696. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37697. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37698. return;
  37699. }
  37700. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37701. },
  37702. $isEfficientLengthIterable: 1,
  37703. $isIterable: 1,
  37704. $isList: 1
  37705. };
  37706. A.NativeTypedArrayOfInt.prototype = {
  37707. $indexSet(receiver, index, value) {
  37708. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37709. A._checkValidIndex(index, receiver, receiver.length);
  37710. receiver[index] = value;
  37711. },
  37712. setRange$4(receiver, start, end, iterable, skipCount) {
  37713. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37714. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37715. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37716. return;
  37717. }
  37718. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37719. },
  37720. $isEfficientLengthIterable: 1,
  37721. $isIterable: 1,
  37722. $isList: 1
  37723. };
  37724. A.NativeFloat32List.prototype = {
  37725. get$runtimeType(receiver) {
  37726. return B.Type_Float32List_9Kz;
  37727. },
  37728. sublist$2(receiver, start, end) {
  37729. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37730. },
  37731. sublist$1(receiver, start) {
  37732. return this.sublist$2(receiver, start, null);
  37733. },
  37734. $isTrustedGetRuntimeType: 1,
  37735. $isFloat32List: 1
  37736. };
  37737. A.NativeFloat64List.prototype = {
  37738. get$runtimeType(receiver) {
  37739. return B.Type_Float64List_9Kz;
  37740. },
  37741. sublist$2(receiver, start, end) {
  37742. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37743. },
  37744. sublist$1(receiver, start) {
  37745. return this.sublist$2(receiver, start, null);
  37746. },
  37747. $isTrustedGetRuntimeType: 1,
  37748. $isFloat64List: 1
  37749. };
  37750. A.NativeInt16List.prototype = {
  37751. get$runtimeType(receiver) {
  37752. return B.Type_Int16List_s5h;
  37753. },
  37754. $index(receiver, index) {
  37755. A._checkValidIndex(index, receiver, receiver.length);
  37756. return receiver[index];
  37757. },
  37758. sublist$2(receiver, start, end) {
  37759. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37760. },
  37761. sublist$1(receiver, start) {
  37762. return this.sublist$2(receiver, start, null);
  37763. },
  37764. $isTrustedGetRuntimeType: 1,
  37765. $isInt16List: 1
  37766. };
  37767. A.NativeInt32List.prototype = {
  37768. get$runtimeType(receiver) {
  37769. return B.Type_Int32List_O8Z;
  37770. },
  37771. $index(receiver, index) {
  37772. A._checkValidIndex(index, receiver, receiver.length);
  37773. return receiver[index];
  37774. },
  37775. sublist$2(receiver, start, end) {
  37776. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37777. },
  37778. sublist$1(receiver, start) {
  37779. return this.sublist$2(receiver, start, null);
  37780. },
  37781. $isTrustedGetRuntimeType: 1,
  37782. $isInt32List: 1
  37783. };
  37784. A.NativeInt8List.prototype = {
  37785. get$runtimeType(receiver) {
  37786. return B.Type_Int8List_rFV;
  37787. },
  37788. $index(receiver, index) {
  37789. A._checkValidIndex(index, receiver, receiver.length);
  37790. return receiver[index];
  37791. },
  37792. sublist$2(receiver, start, end) {
  37793. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37794. },
  37795. sublist$1(receiver, start) {
  37796. return this.sublist$2(receiver, start, null);
  37797. },
  37798. $isTrustedGetRuntimeType: 1,
  37799. $isInt8List: 1
  37800. };
  37801. A.NativeUint16List.prototype = {
  37802. get$runtimeType(receiver) {
  37803. return B.Type_Uint16List_kmP;
  37804. },
  37805. $index(receiver, index) {
  37806. A._checkValidIndex(index, receiver, receiver.length);
  37807. return receiver[index];
  37808. },
  37809. sublist$2(receiver, start, end) {
  37810. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37811. },
  37812. sublist$1(receiver, start) {
  37813. return this.sublist$2(receiver, start, null);
  37814. },
  37815. $isTrustedGetRuntimeType: 1,
  37816. $isUint16List: 1
  37817. };
  37818. A.NativeUint32List.prototype = {
  37819. get$runtimeType(receiver) {
  37820. return B.Type_Uint32List_kmP;
  37821. },
  37822. $index(receiver, index) {
  37823. A._checkValidIndex(index, receiver, receiver.length);
  37824. return receiver[index];
  37825. },
  37826. sublist$2(receiver, start, end) {
  37827. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37828. },
  37829. sublist$1(receiver, start) {
  37830. return this.sublist$2(receiver, start, null);
  37831. },
  37832. $isTrustedGetRuntimeType: 1,
  37833. $isUint32List: 1
  37834. };
  37835. A.NativeUint8ClampedList.prototype = {
  37836. get$runtimeType(receiver) {
  37837. return B.Type_Uint8ClampedList_04U;
  37838. },
  37839. get$length(receiver) {
  37840. return receiver.length;
  37841. },
  37842. $index(receiver, index) {
  37843. A._checkValidIndex(index, receiver, receiver.length);
  37844. return receiver[index];
  37845. },
  37846. sublist$2(receiver, start, end) {
  37847. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37848. },
  37849. sublist$1(receiver, start) {
  37850. return this.sublist$2(receiver, start, null);
  37851. },
  37852. $isTrustedGetRuntimeType: 1,
  37853. $isUint8ClampedList: 1
  37854. };
  37855. A.NativeUint8List.prototype = {
  37856. get$runtimeType(receiver) {
  37857. return B.Type_Uint8List_8Eb;
  37858. },
  37859. get$length(receiver) {
  37860. return receiver.length;
  37861. },
  37862. $index(receiver, index) {
  37863. A._checkValidIndex(index, receiver, receiver.length);
  37864. return receiver[index];
  37865. },
  37866. sublist$2(receiver, start, end) {
  37867. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37868. },
  37869. sublist$1(receiver, start) {
  37870. return this.sublist$2(receiver, start, null);
  37871. },
  37872. $isTrustedGetRuntimeType: 1,
  37873. $isNativeUint8List: 1,
  37874. $isUint8List: 1
  37875. };
  37876. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  37877. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37878. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  37879. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37880. A.Rti.prototype = {
  37881. _eval$1(recipe) {
  37882. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  37883. },
  37884. _bind$1(typeOrTuple) {
  37885. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  37886. }
  37887. };
  37888. A._FunctionParameters.prototype = {};
  37889. A._Type.prototype = {
  37890. toString$0(_) {
  37891. return A._rtiToString(this._rti, null);
  37892. }
  37893. };
  37894. A._Error.prototype = {
  37895. toString$0(_) {
  37896. return this.__rti$_message;
  37897. }
  37898. };
  37899. A._TypeError.prototype = {
  37900. get$message(_) {
  37901. return this.__rti$_message;
  37902. },
  37903. $isTypeError: 1
  37904. };
  37905. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  37906. call$1(__wc0_formal) {
  37907. var t1 = this._box_0,
  37908. f = t1.storedCallback;
  37909. t1.storedCallback = null;
  37910. f.call$0();
  37911. },
  37912. $signature: 56
  37913. };
  37914. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  37915. call$1(callback) {
  37916. var t1, t2;
  37917. this._box_0.storedCallback = callback;
  37918. t1 = this.div;
  37919. t2 = this.span;
  37920. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  37921. },
  37922. $signature: 35
  37923. };
  37924. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  37925. call$0() {
  37926. this.callback.call$0();
  37927. },
  37928. $signature: 1
  37929. };
  37930. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  37931. call$0() {
  37932. this.callback.call$0();
  37933. },
  37934. $signature: 1
  37935. };
  37936. A._TimerImpl.prototype = {
  37937. _TimerImpl$2(milliseconds, callback) {
  37938. if (self.setTimeout != null)
  37939. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  37940. else
  37941. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  37942. },
  37943. _TimerImpl$periodic$2(milliseconds, callback) {
  37944. if (self.setTimeout != null)
  37945. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  37946. else
  37947. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  37948. },
  37949. cancel$0() {
  37950. if (self.setTimeout != null) {
  37951. var t1 = this._handle;
  37952. if (t1 == null)
  37953. return;
  37954. if (this._once)
  37955. self.clearTimeout(t1);
  37956. else
  37957. self.clearInterval(t1);
  37958. this._handle = null;
  37959. } else
  37960. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  37961. }
  37962. };
  37963. A._TimerImpl_internalCallback.prototype = {
  37964. call$0() {
  37965. var t1 = this.$this;
  37966. t1._handle = null;
  37967. t1._tick = 1;
  37968. this.callback.call$0();
  37969. },
  37970. $signature: 0
  37971. };
  37972. A._TimerImpl$periodic_closure.prototype = {
  37973. call$0() {
  37974. var duration, _this = this,
  37975. t1 = _this.$this,
  37976. tick = t1._tick + 1,
  37977. t2 = _this.milliseconds;
  37978. if (t2 > 0) {
  37979. duration = Date.now() - _this.start;
  37980. if (duration > (tick + 1) * t2)
  37981. tick = B.JSInt_methods.$tdiv(duration, t2);
  37982. }
  37983. t1._tick = tick;
  37984. _this.callback.call$1(t1);
  37985. },
  37986. $signature: 1
  37987. };
  37988. A._AsyncAwaitCompleter.prototype = {
  37989. complete$1(value) {
  37990. var t1, _this = this;
  37991. if (value == null)
  37992. value = _this.$ti._precomputed1._as(value);
  37993. if (!_this.isSync)
  37994. _this._future._asyncComplete$1(value);
  37995. else {
  37996. t1 = _this._future;
  37997. if (_this.$ti._eval$1("Future<1>")._is(value))
  37998. t1._chainFuture$1(value);
  37999. else
  38000. t1._completeWithValue$1(value);
  38001. }
  38002. },
  38003. completeError$2(e, st) {
  38004. var t1 = this._future;
  38005. if (this.isSync)
  38006. t1._completeError$2(e, st);
  38007. else
  38008. t1._asyncCompleteError$2(e, st);
  38009. }
  38010. };
  38011. A._awaitOnObject_closure.prototype = {
  38012. call$1(result) {
  38013. return this.bodyFunction.call$2(0, result);
  38014. },
  38015. $signature: 77
  38016. };
  38017. A._awaitOnObject_closure0.prototype = {
  38018. call$2(error, stackTrace) {
  38019. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  38020. },
  38021. $signature: 485
  38022. };
  38023. A._wrapJsFunctionForAsync_closure.prototype = {
  38024. call$2(errorCode, result) {
  38025. this.$protected(errorCode, result);
  38026. },
  38027. $signature: 458
  38028. };
  38029. A._SyncStarIterator.prototype = {
  38030. get$current(_) {
  38031. return this._async$_current;
  38032. },
  38033. _resumeBody$2(errorCode, errorValue) {
  38034. var body, t1, exception;
  38035. errorCode = errorCode;
  38036. errorValue = errorValue;
  38037. body = this._body;
  38038. for (; true;)
  38039. try {
  38040. t1 = body(this, errorCode, errorValue);
  38041. return t1;
  38042. } catch (exception) {
  38043. errorValue = exception;
  38044. errorCode = 1;
  38045. }
  38046. },
  38047. moveNext$0() {
  38048. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  38049. for (; true;) {
  38050. nestedIterator = _this._nestedIterator;
  38051. if (nestedIterator != null)
  38052. try {
  38053. if (nestedIterator.moveNext$0()) {
  38054. _this._async$_current = J.get$current$x(nestedIterator);
  38055. return true;
  38056. } else
  38057. _this._nestedIterator = null;
  38058. } catch (exception) {
  38059. errorValue = exception;
  38060. errorCode = 1;
  38061. _this._nestedIterator = null;
  38062. }
  38063. value = _this._resumeBody$2(errorCode, errorValue);
  38064. if (1 === value)
  38065. return true;
  38066. if (0 === value) {
  38067. _this._async$_current = null;
  38068. suspendedBodies = _this._suspendedBodies;
  38069. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38070. _this._body = A._SyncStarIterator__terminatedBody;
  38071. return false;
  38072. }
  38073. _this._body = suspendedBodies.pop();
  38074. errorCode = 0;
  38075. errorValue = null;
  38076. continue;
  38077. }
  38078. if (2 === value) {
  38079. errorCode = 0;
  38080. errorValue = null;
  38081. continue;
  38082. }
  38083. if (3 === value) {
  38084. errorValue = _this._datum;
  38085. _this._datum = null;
  38086. suspendedBodies = _this._suspendedBodies;
  38087. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38088. _this._async$_current = null;
  38089. _this._body = A._SyncStarIterator__terminatedBody;
  38090. throw errorValue;
  38091. return false;
  38092. }
  38093. _this._body = suspendedBodies.pop();
  38094. errorCode = 1;
  38095. continue;
  38096. }
  38097. throw A.wrapException(A.StateError$("sync*"));
  38098. }
  38099. return false;
  38100. },
  38101. _yieldStar$1(iterable) {
  38102. var t1, t2, _this = this;
  38103. if (iterable instanceof A._SyncStarIterable) {
  38104. t1 = iterable._outerHelper();
  38105. t2 = _this._suspendedBodies;
  38106. if (t2 == null)
  38107. t2 = _this._suspendedBodies = [];
  38108. t2.push(_this._body);
  38109. _this._body = t1;
  38110. return 2;
  38111. } else {
  38112. _this._nestedIterator = J.get$iterator$ax(iterable);
  38113. return 2;
  38114. }
  38115. }
  38116. };
  38117. A._SyncStarIterable.prototype = {
  38118. get$iterator(_) {
  38119. return new A._SyncStarIterator(this._outerHelper());
  38120. }
  38121. };
  38122. A.AsyncError.prototype = {
  38123. toString$0(_) {
  38124. return A.S(this.error);
  38125. },
  38126. $isError: 1,
  38127. get$stackTrace() {
  38128. return this.stackTrace;
  38129. }
  38130. };
  38131. A.Future_wait_handleError.prototype = {
  38132. call$2(theError, theStackTrace) {
  38133. var _this = this,
  38134. t1 = _this._box_0,
  38135. t2 = --t1.remaining;
  38136. if (t1.values != null) {
  38137. t1.values = null;
  38138. t1.error = theError;
  38139. t1.stackTrace = theStackTrace;
  38140. if (t2 === 0 || _this.eagerError)
  38141. _this._future._completeError$2(theError, theStackTrace);
  38142. } else if (t2 === 0 && !_this.eagerError) {
  38143. t2 = t1.error;
  38144. t2.toString;
  38145. t1 = t1.stackTrace;
  38146. t1.toString;
  38147. _this._future._completeError$2(t2, t1);
  38148. }
  38149. },
  38150. $signature: 73
  38151. };
  38152. A.Future_wait_closure.prototype = {
  38153. call$1(value) {
  38154. var t1, value0, t3, t4, _i, t5, _this = this,
  38155. t2 = _this._box_0,
  38156. remainingResults = --t2.remaining,
  38157. valueList = t2.values;
  38158. if (valueList != null) {
  38159. J.$indexSet$ax(valueList, _this.pos, value);
  38160. if (J.$eq$(remainingResults, 0)) {
  38161. t2 = _this.T;
  38162. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38163. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38164. value0 = t3[_i];
  38165. t5 = value0;
  38166. if (t5 == null)
  38167. t5 = t2._as(t5);
  38168. J.add$1$ax(t1, t5);
  38169. }
  38170. _this._future._completeWithValue$1(t1);
  38171. }
  38172. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38173. t1 = t2.error;
  38174. t1.toString;
  38175. t2 = t2.stackTrace;
  38176. t2.toString;
  38177. _this._future._completeError$2(t1, t2);
  38178. }
  38179. },
  38180. $signature() {
  38181. return this.T._eval$1("Null(0)");
  38182. }
  38183. };
  38184. A._Completer.prototype = {
  38185. completeError$2(error, stackTrace) {
  38186. var _0_0;
  38187. if ((this.future._state & 30) !== 0)
  38188. throw A.wrapException(A.StateError$("Future already completed"));
  38189. _0_0 = A._interceptUserError(error, stackTrace);
  38190. this._completeError$2(_0_0.error, _0_0.stackTrace);
  38191. },
  38192. completeError$1(error) {
  38193. return this.completeError$2(error, null);
  38194. }
  38195. };
  38196. A._AsyncCompleter.prototype = {
  38197. complete$1(value) {
  38198. var t1 = this.future;
  38199. if ((t1._state & 30) !== 0)
  38200. throw A.wrapException(A.StateError$("Future already completed"));
  38201. t1._asyncComplete$1(value);
  38202. },
  38203. complete$0() {
  38204. return this.complete$1(null);
  38205. },
  38206. _completeError$2(error, stackTrace) {
  38207. this.future._asyncCompleteError$2(error, stackTrace);
  38208. }
  38209. };
  38210. A._SyncCompleter.prototype = {
  38211. complete$1(value) {
  38212. var t1 = this.future;
  38213. if ((t1._state & 30) !== 0)
  38214. throw A.wrapException(A.StateError$("Future already completed"));
  38215. t1._complete$1(value);
  38216. },
  38217. _completeError$2(error, stackTrace) {
  38218. this.future._completeError$2(error, stackTrace);
  38219. }
  38220. };
  38221. A._FutureListener.prototype = {
  38222. matchesErrorTest$1(asyncError) {
  38223. if ((this.state & 15) !== 6)
  38224. return true;
  38225. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38226. },
  38227. handleError$1(asyncError) {
  38228. var exception,
  38229. errorCallback = this.errorCallback,
  38230. result = null,
  38231. t1 = type$.dynamic,
  38232. t2 = type$.Object,
  38233. t3 = asyncError.error,
  38234. t4 = this.result._zone;
  38235. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38236. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38237. else
  38238. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38239. try {
  38240. t1 = result;
  38241. return t1;
  38242. } catch (exception) {
  38243. if (type$.TypeError._is(A.unwrapException(exception))) {
  38244. if ((this.state & 1) !== 0)
  38245. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38246. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38247. } else
  38248. throw exception;
  38249. }
  38250. }
  38251. };
  38252. A._Future.prototype = {
  38253. then$1$2$onError(_, f, onError, $R) {
  38254. var result, t1,
  38255. currentZone = $.Zone__current;
  38256. if (currentZone === B.C__RootZone) {
  38257. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38258. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38259. } else {
  38260. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38261. if (onError != null)
  38262. onError = A._registerErrorHandler(onError, currentZone);
  38263. }
  38264. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38265. t1 = onError == null ? 1 : 3;
  38266. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38267. return result;
  38268. },
  38269. then$1$1(_, f, $R) {
  38270. return this.then$1$2$onError(0, f, null, $R);
  38271. },
  38272. _thenAwait$1$2(f, onError, $E) {
  38273. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38274. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38275. return result;
  38276. },
  38277. catchError$1(onError) {
  38278. var t1 = this.$ti,
  38279. t2 = $.Zone__current,
  38280. result = new A._Future(t2, t1);
  38281. if (t2 !== B.C__RootZone)
  38282. onError = A._registerErrorHandler(onError, t2);
  38283. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38284. return result;
  38285. },
  38286. whenComplete$1(action) {
  38287. var t1 = this.$ti,
  38288. t2 = $.Zone__current,
  38289. result = new A._Future(t2, t1);
  38290. if (t2 !== B.C__RootZone)
  38291. action = t2.registerCallback$1$1(action, type$.dynamic);
  38292. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38293. return result;
  38294. },
  38295. _setErrorObject$1(error) {
  38296. this._state = this._state & 1 | 16;
  38297. this._resultOrListeners = error;
  38298. },
  38299. _cloneResult$1(source) {
  38300. this._state = source._state & 30 | this._state & 1;
  38301. this._resultOrListeners = source._resultOrListeners;
  38302. },
  38303. _addListener$1(listener) {
  38304. var _this = this,
  38305. t1 = _this._state;
  38306. if (t1 <= 3) {
  38307. listener._nextListener = _this._resultOrListeners;
  38308. _this._resultOrListeners = listener;
  38309. } else {
  38310. if ((t1 & 4) !== 0) {
  38311. t1 = _this._resultOrListeners;
  38312. if ((t1._state & 24) === 0) {
  38313. t1._addListener$1(listener);
  38314. return;
  38315. }
  38316. _this._cloneResult$1(t1);
  38317. }
  38318. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38319. }
  38320. },
  38321. _prependListeners$1(listeners) {
  38322. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38323. _box_0.listeners = listeners;
  38324. if (listeners == null)
  38325. return;
  38326. t1 = _this._state;
  38327. if (t1 <= 3) {
  38328. existingListeners = _this._resultOrListeners;
  38329. _this._resultOrListeners = listeners;
  38330. if (existingListeners != null) {
  38331. next = listeners._nextListener;
  38332. for (cursor = listeners; next != null; cursor = next, next = next0)
  38333. next0 = next._nextListener;
  38334. cursor._nextListener = existingListeners;
  38335. }
  38336. } else {
  38337. if ((t1 & 4) !== 0) {
  38338. t1 = _this._resultOrListeners;
  38339. if ((t1._state & 24) === 0) {
  38340. t1._prependListeners$1(listeners);
  38341. return;
  38342. }
  38343. _this._cloneResult$1(t1);
  38344. }
  38345. _box_0.listeners = _this._reverseListeners$1(listeners);
  38346. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38347. }
  38348. },
  38349. _removeListeners$0() {
  38350. var current = this._resultOrListeners;
  38351. this._resultOrListeners = null;
  38352. return this._reverseListeners$1(current);
  38353. },
  38354. _reverseListeners$1(listeners) {
  38355. var current, prev, next;
  38356. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38357. next = current._nextListener;
  38358. current._nextListener = prev;
  38359. }
  38360. return prev;
  38361. },
  38362. _chainForeignFuture$1(source) {
  38363. var e, s, exception, _this = this;
  38364. _this._state ^= 2;
  38365. try {
  38366. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  38367. } catch (exception) {
  38368. e = A.unwrapException(exception);
  38369. s = A.getTraceFromException(exception);
  38370. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  38371. }
  38372. },
  38373. _complete$1(value) {
  38374. var listeners, _this = this,
  38375. t1 = _this.$ti;
  38376. if (t1._eval$1("Future<1>")._is(value))
  38377. if (t1._is(value))
  38378. A._Future__chainCoreFuture(value, _this, true);
  38379. else
  38380. _this._chainForeignFuture$1(value);
  38381. else {
  38382. listeners = _this._removeListeners$0();
  38383. _this._state = 8;
  38384. _this._resultOrListeners = value;
  38385. A._Future__propagateToListeners(_this, listeners);
  38386. }
  38387. },
  38388. _completeWithValue$1(value) {
  38389. var _this = this,
  38390. listeners = _this._removeListeners$0();
  38391. _this._state = 8;
  38392. _this._resultOrListeners = value;
  38393. A._Future__propagateToListeners(_this, listeners);
  38394. },
  38395. _completeWithResultOf$1(source) {
  38396. var t1, t2, listeners, _this = this;
  38397. if ((source._state & 16) !== 0) {
  38398. t1 = _this._zone;
  38399. t2 = source._zone;
  38400. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38401. } else
  38402. t1 = false;
  38403. if (t1)
  38404. return;
  38405. listeners = _this._removeListeners$0();
  38406. _this._cloneResult$1(source);
  38407. A._Future__propagateToListeners(_this, listeners);
  38408. },
  38409. _completeError$2(error, stackTrace) {
  38410. var listeners = this._removeListeners$0();
  38411. this._setErrorObject$1(new A.AsyncError(error, stackTrace));
  38412. A._Future__propagateToListeners(this, listeners);
  38413. },
  38414. _asyncComplete$1(value) {
  38415. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38416. this._chainFuture$1(value);
  38417. return;
  38418. }
  38419. this._asyncCompleteWithValue$1(value);
  38420. },
  38421. _asyncCompleteWithValue$1(value) {
  38422. this._state ^= 2;
  38423. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38424. },
  38425. _chainFuture$1(value) {
  38426. if (this.$ti._is(value)) {
  38427. A._Future__chainCoreFuture(value, this, false);
  38428. return;
  38429. }
  38430. this._chainForeignFuture$1(value);
  38431. },
  38432. _asyncCompleteError$2(error, stackTrace) {
  38433. this._state ^= 2;
  38434. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  38435. },
  38436. $isFuture: 1
  38437. };
  38438. A._Future__addListener_closure.prototype = {
  38439. call$0() {
  38440. A._Future__propagateToListeners(this.$this, this.listener);
  38441. },
  38442. $signature: 0
  38443. };
  38444. A._Future__prependListeners_closure.prototype = {
  38445. call$0() {
  38446. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38447. },
  38448. $signature: 0
  38449. };
  38450. A._Future__chainForeignFuture_closure.prototype = {
  38451. call$1(value) {
  38452. var error, stackTrace, exception,
  38453. t1 = this.$this;
  38454. t1._state ^= 2;
  38455. try {
  38456. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  38457. } catch (exception) {
  38458. error = A.unwrapException(exception);
  38459. stackTrace = A.getTraceFromException(exception);
  38460. t1._completeError$2(error, stackTrace);
  38461. }
  38462. },
  38463. $signature: 56
  38464. };
  38465. A._Future__chainForeignFuture_closure0.prototype = {
  38466. call$2(error, stackTrace) {
  38467. this.$this._completeError$2(error, stackTrace);
  38468. },
  38469. $signature: 48
  38470. };
  38471. A._Future__chainForeignFuture_closure1.prototype = {
  38472. call$0() {
  38473. this.$this._completeError$2(this.e, this.s);
  38474. },
  38475. $signature: 0
  38476. };
  38477. A._Future__chainCoreFuture_closure.prototype = {
  38478. call$0() {
  38479. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38480. },
  38481. $signature: 0
  38482. };
  38483. A._Future__asyncCompleteWithValue_closure.prototype = {
  38484. call$0() {
  38485. this.$this._completeWithValue$1(this.value);
  38486. },
  38487. $signature: 0
  38488. };
  38489. A._Future__asyncCompleteError_closure.prototype = {
  38490. call$0() {
  38491. this.$this._completeError$2(this.error, this.stackTrace);
  38492. },
  38493. $signature: 0
  38494. };
  38495. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38496. call$0() {
  38497. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38498. try {
  38499. t1 = _this._box_0.listener;
  38500. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38501. } catch (exception) {
  38502. e = A.unwrapException(exception);
  38503. s = A.getTraceFromException(exception);
  38504. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38505. t1 = _this._box_0;
  38506. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38507. } else {
  38508. t1 = e;
  38509. t2 = s;
  38510. if (t2 == null)
  38511. t2 = A.AsyncError_defaultStackTrace(t1);
  38512. t3 = _this._box_0;
  38513. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38514. t1 = t3;
  38515. }
  38516. t1.listenerHasError = true;
  38517. return;
  38518. }
  38519. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38520. if ((completeResult._state & 16) !== 0) {
  38521. t1 = _this._box_0;
  38522. t1.listenerValueOrError = completeResult._resultOrListeners;
  38523. t1.listenerHasError = true;
  38524. }
  38525. return;
  38526. }
  38527. if (completeResult instanceof A._Future) {
  38528. originalSource = _this._box_1.source;
  38529. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38530. J.then$1$2$onError$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38531. t1 = _this._box_0;
  38532. t1.listenerValueOrError = joinedResult;
  38533. t1.listenerHasError = false;
  38534. }
  38535. },
  38536. $signature: 0
  38537. };
  38538. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38539. call$1(__wc0_formal) {
  38540. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38541. },
  38542. $signature: 56
  38543. };
  38544. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38545. call$2(e, s) {
  38546. this.joinedResult._completeError$2(e, s);
  38547. },
  38548. $signature: 48
  38549. };
  38550. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38551. call$0() {
  38552. var e, s, t1, t2, t3, exception;
  38553. try {
  38554. t1 = this._box_0;
  38555. t2 = t1.listener;
  38556. t3 = t2.$ti;
  38557. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38558. } catch (exception) {
  38559. e = A.unwrapException(exception);
  38560. s = A.getTraceFromException(exception);
  38561. t1 = e;
  38562. t2 = s;
  38563. if (t2 == null)
  38564. t2 = A.AsyncError_defaultStackTrace(t1);
  38565. t3 = this._box_0;
  38566. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38567. t3.listenerHasError = true;
  38568. }
  38569. },
  38570. $signature: 0
  38571. };
  38572. A._Future__propagateToListeners_handleError.prototype = {
  38573. call$0() {
  38574. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38575. try {
  38576. asyncError = _this._box_1.source._resultOrListeners;
  38577. t1 = _this._box_0;
  38578. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38579. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38580. t1.listenerHasError = false;
  38581. }
  38582. } catch (exception) {
  38583. e = A.unwrapException(exception);
  38584. s = A.getTraceFromException(exception);
  38585. t1 = _this._box_1.source._resultOrListeners;
  38586. if (t1.error === e) {
  38587. t2 = _this._box_0;
  38588. t2.listenerValueOrError = t1;
  38589. t1 = t2;
  38590. } else {
  38591. t1 = e;
  38592. t2 = s;
  38593. if (t2 == null)
  38594. t2 = A.AsyncError_defaultStackTrace(t1);
  38595. t3 = _this._box_0;
  38596. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38597. t1 = t3;
  38598. }
  38599. t1.listenerHasError = true;
  38600. }
  38601. },
  38602. $signature: 0
  38603. };
  38604. A._AsyncCallbackEntry.prototype = {};
  38605. A.Stream.prototype = {
  38606. get$isBroadcast() {
  38607. return false;
  38608. },
  38609. get$length(_) {
  38610. var t1 = {},
  38611. future = new A._Future($.Zone__current, type$._Future_int);
  38612. t1.count = 0;
  38613. 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());
  38614. return future;
  38615. }
  38616. };
  38617. A.Stream_Stream$fromFuture_closure.prototype = {
  38618. call$1(value) {
  38619. var t1 = this.controller;
  38620. t1._async$_add$1(value);
  38621. t1._closeUnchecked$0();
  38622. },
  38623. $signature() {
  38624. return this.T._eval$1("Null(0)");
  38625. }
  38626. };
  38627. A.Stream_Stream$fromFuture_closure0.prototype = {
  38628. call$2(error, stackTrace) {
  38629. var t1 = this.controller;
  38630. t1._addError$2(error, stackTrace);
  38631. t1._closeUnchecked$0();
  38632. },
  38633. $signature: 320
  38634. };
  38635. A.Stream_length_closure.prototype = {
  38636. call$1(__wc0_formal) {
  38637. ++this._box_0.count;
  38638. },
  38639. $signature() {
  38640. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38641. }
  38642. };
  38643. A.Stream_length_closure0.prototype = {
  38644. call$0() {
  38645. this.future._complete$1(this._box_0.count);
  38646. },
  38647. $signature: 0
  38648. };
  38649. A._StreamController.prototype = {
  38650. get$stream() {
  38651. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38652. },
  38653. get$_pendingEvents() {
  38654. if ((this._state & 8) === 0)
  38655. return this._varData;
  38656. return this._varData._varData;
  38657. },
  38658. _ensurePendingEvents$0() {
  38659. var events, state, _this = this;
  38660. if ((_this._state & 8) === 0) {
  38661. events = _this._varData;
  38662. return events == null ? _this._varData = new A._PendingEvents() : events;
  38663. }
  38664. state = _this._varData;
  38665. events = state._varData;
  38666. return events == null ? state._varData = new A._PendingEvents() : events;
  38667. },
  38668. get$_subscription() {
  38669. var varData = this._varData;
  38670. return (this._state & 8) !== 0 ? varData._varData : varData;
  38671. },
  38672. _badEventState$0() {
  38673. if ((this._state & 4) !== 0)
  38674. return new A.StateError("Cannot add event after closing");
  38675. return new A.StateError("Cannot add event while adding a stream");
  38676. },
  38677. addStream$2$cancelOnError(source, cancelOnError) {
  38678. var t2, t3, t4, _this = this,
  38679. t1 = _this._state;
  38680. if (t1 >= 4)
  38681. throw A.wrapException(_this._badEventState$0());
  38682. if ((t1 & 2) !== 0) {
  38683. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38684. t1._asyncComplete$1(null);
  38685. return t1;
  38686. }
  38687. t1 = _this._varData;
  38688. t2 = cancelOnError === true;
  38689. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38690. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38691. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38692. t2 = _this._state;
  38693. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38694. t4.pause$0(0);
  38695. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38696. _this._state |= 8;
  38697. return t3;
  38698. },
  38699. _ensureDoneFuture$0() {
  38700. var t1 = this._doneFuture;
  38701. if (t1 == null)
  38702. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38703. return t1;
  38704. },
  38705. add$1(_, value) {
  38706. if (this._state >= 4)
  38707. throw A.wrapException(this._badEventState$0());
  38708. this._async$_add$1(value);
  38709. },
  38710. addError$2(error, stackTrace) {
  38711. var _0_0;
  38712. if (this._state >= 4)
  38713. throw A.wrapException(this._badEventState$0());
  38714. _0_0 = A._interceptUserError(error, stackTrace);
  38715. this._addError$2(_0_0.error, _0_0.stackTrace);
  38716. },
  38717. addError$1(error) {
  38718. return this.addError$2(error, null);
  38719. },
  38720. close$0(_) {
  38721. var _this = this,
  38722. t1 = _this._state;
  38723. if ((t1 & 4) !== 0)
  38724. return _this._ensureDoneFuture$0();
  38725. if (t1 >= 4)
  38726. throw A.wrapException(_this._badEventState$0());
  38727. _this._closeUnchecked$0();
  38728. return _this._ensureDoneFuture$0();
  38729. },
  38730. _closeUnchecked$0() {
  38731. var t1 = this._state |= 4;
  38732. if ((t1 & 1) !== 0)
  38733. this._sendDone$0();
  38734. else if ((t1 & 3) === 0)
  38735. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38736. },
  38737. _async$_add$1(value) {
  38738. var t1 = this._state;
  38739. if ((t1 & 1) !== 0)
  38740. this._sendData$1(value);
  38741. else if ((t1 & 3) === 0)
  38742. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38743. },
  38744. _addError$2(error, stackTrace) {
  38745. var t1 = this._state;
  38746. if ((t1 & 1) !== 0)
  38747. this._sendError$2(error, stackTrace);
  38748. else if ((t1 & 3) === 0)
  38749. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38750. },
  38751. _close$0() {
  38752. var addState = this._varData;
  38753. this._varData = addState._varData;
  38754. this._state &= 4294967287;
  38755. addState.addStreamFuture._asyncComplete$1(null);
  38756. },
  38757. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38758. var subscription, pendingEvents, t1, addState, _this = this;
  38759. if ((_this._state & 3) !== 0)
  38760. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38761. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38762. pendingEvents = _this.get$_pendingEvents();
  38763. t1 = _this._state |= 1;
  38764. if ((t1 & 8) !== 0) {
  38765. addState = _this._varData;
  38766. addState._varData = subscription;
  38767. addState.addSubscription.resume$0(0);
  38768. } else
  38769. _this._varData = subscription;
  38770. subscription._setPendingEvents$1(pendingEvents);
  38771. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  38772. return subscription;
  38773. },
  38774. _recordCancel$1(subscription) {
  38775. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  38776. if ((_this._state & 8) !== 0)
  38777. result = _this._varData.cancel$0();
  38778. _this._varData = null;
  38779. _this._state = _this._state & 4294967286 | 2;
  38780. onCancel = _this.onCancel;
  38781. if (onCancel != null)
  38782. if (result == null)
  38783. try {
  38784. cancelResult = onCancel.call$0();
  38785. if (cancelResult instanceof A._Future)
  38786. result = cancelResult;
  38787. } catch (exception) {
  38788. e = A.unwrapException(exception);
  38789. s = A.getTraceFromException(exception);
  38790. result0 = new A._Future($.Zone__current, type$._Future_void);
  38791. result0._asyncCompleteError$2(e, s);
  38792. result = result0;
  38793. }
  38794. else
  38795. result = result.whenComplete$1(onCancel);
  38796. t1 = new A._StreamController__recordCancel_complete(_this);
  38797. if (result != null)
  38798. result = result.whenComplete$1(t1);
  38799. else
  38800. t1.call$0();
  38801. return result;
  38802. },
  38803. _recordPause$1(subscription) {
  38804. if ((this._state & 8) !== 0)
  38805. this._varData.addSubscription.pause$0(0);
  38806. A._runGuarded(this.onPause);
  38807. },
  38808. _recordResume$1(subscription) {
  38809. if ((this._state & 8) !== 0)
  38810. this._varData.addSubscription.resume$0(0);
  38811. A._runGuarded(this.onResume);
  38812. },
  38813. $isEventSink: 1,
  38814. set$onPause(val) {
  38815. return this.onPause = val;
  38816. },
  38817. set$onResume(val) {
  38818. return this.onResume = val;
  38819. },
  38820. set$onCancel(val) {
  38821. return this.onCancel = val;
  38822. }
  38823. };
  38824. A._StreamController__subscribe_closure.prototype = {
  38825. call$0() {
  38826. A._runGuarded(this.$this.onListen);
  38827. },
  38828. $signature: 0
  38829. };
  38830. A._StreamController__recordCancel_complete.prototype = {
  38831. call$0() {
  38832. var doneFuture = this.$this._doneFuture;
  38833. if (doneFuture != null && (doneFuture._state & 30) === 0)
  38834. doneFuture._asyncComplete$1(null);
  38835. },
  38836. $signature: 0
  38837. };
  38838. A._SyncStreamControllerDispatch.prototype = {
  38839. _sendData$1(data) {
  38840. this.get$_subscription()._async$_add$1(data);
  38841. },
  38842. _sendError$2(error, stackTrace) {
  38843. this.get$_subscription()._addError$2(error, stackTrace);
  38844. },
  38845. _sendDone$0() {
  38846. this.get$_subscription()._close$0();
  38847. }
  38848. };
  38849. A._AsyncStreamControllerDispatch.prototype = {
  38850. _sendData$1(data) {
  38851. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  38852. },
  38853. _sendError$2(error, stackTrace) {
  38854. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  38855. },
  38856. _sendDone$0() {
  38857. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  38858. }
  38859. };
  38860. A._AsyncStreamController.prototype = {};
  38861. A._SyncStreamController.prototype = {};
  38862. A._ControllerStream.prototype = {
  38863. get$hashCode(_) {
  38864. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  38865. },
  38866. $eq(_, other) {
  38867. if (other == null)
  38868. return false;
  38869. if (this === other)
  38870. return true;
  38871. return other instanceof A._ControllerStream && other._controller === this._controller;
  38872. }
  38873. };
  38874. A._ControllerSubscription.prototype = {
  38875. _async$_onCancel$0() {
  38876. return this._controller._recordCancel$1(this);
  38877. },
  38878. _async$_onPause$0() {
  38879. this._controller._recordPause$1(this);
  38880. },
  38881. _async$_onResume$0() {
  38882. this._controller._recordResume$1(this);
  38883. }
  38884. };
  38885. A._AddStreamState.prototype = {
  38886. cancel$0() {
  38887. var cancel = this.addSubscription.cancel$0();
  38888. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  38889. }
  38890. };
  38891. A._AddStreamState_makeErrorHandler_closure.prototype = {
  38892. call$2(e, s) {
  38893. var t1 = this.controller;
  38894. t1._addError$2(e, s);
  38895. t1._close$0();
  38896. },
  38897. $signature: 48
  38898. };
  38899. A._AddStreamState_cancel_closure.prototype = {
  38900. call$0() {
  38901. this.$this.addStreamFuture._asyncComplete$1(null);
  38902. },
  38903. $signature: 1
  38904. };
  38905. A._StreamControllerAddStreamState.prototype = {};
  38906. A._BufferingStreamSubscription.prototype = {
  38907. _setPendingEvents$1(pendingEvents) {
  38908. var _this = this;
  38909. if (pendingEvents == null)
  38910. return;
  38911. _this._pending = pendingEvents;
  38912. if (pendingEvents.lastPendingEvent != null) {
  38913. _this._state = (_this._state | 128) >>> 0;
  38914. pendingEvents.schedule$1(_this);
  38915. }
  38916. },
  38917. pause$1(_, resumeSignal) {
  38918. var t2, t3, _this = this,
  38919. t1 = _this._state;
  38920. if ((t1 & 8) !== 0)
  38921. return;
  38922. t2 = (t1 + 256 | 4) >>> 0;
  38923. _this._state = t2;
  38924. if (t1 < 256) {
  38925. t3 = _this._pending;
  38926. if (t3 != null)
  38927. if (t3._state === 1)
  38928. t3._state = 3;
  38929. }
  38930. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  38931. _this._guardCallback$1(_this.get$_async$_onPause());
  38932. },
  38933. pause$0(_) {
  38934. return this.pause$1(0, null);
  38935. },
  38936. resume$0(_) {
  38937. var _this = this,
  38938. t1 = _this._state;
  38939. if ((t1 & 8) !== 0)
  38940. return;
  38941. if (t1 >= 256) {
  38942. t1 = _this._state = t1 - 256;
  38943. if (t1 < 256)
  38944. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  38945. _this._pending.schedule$1(_this);
  38946. else {
  38947. t1 = (t1 & 4294967291) >>> 0;
  38948. _this._state = t1;
  38949. if ((t1 & 64) === 0)
  38950. _this._guardCallback$1(_this.get$_async$_onResume());
  38951. }
  38952. }
  38953. },
  38954. cancel$0() {
  38955. var _this = this,
  38956. t1 = (_this._state & 4294967279) >>> 0;
  38957. _this._state = t1;
  38958. if ((t1 & 8) === 0)
  38959. _this._cancel$0();
  38960. t1 = _this._cancelFuture;
  38961. return t1 == null ? $.$get$Future__nullFuture() : t1;
  38962. },
  38963. _cancel$0() {
  38964. var t2, _this = this,
  38965. t1 = _this._state = (_this._state | 8) >>> 0;
  38966. if ((t1 & 128) !== 0) {
  38967. t2 = _this._pending;
  38968. if (t2._state === 1)
  38969. t2._state = 3;
  38970. }
  38971. if ((t1 & 64) === 0)
  38972. _this._pending = null;
  38973. _this._cancelFuture = _this._async$_onCancel$0();
  38974. },
  38975. _async$_add$1(data) {
  38976. var t1 = this._state;
  38977. if ((t1 & 8) !== 0)
  38978. return;
  38979. if (t1 < 64)
  38980. this._sendData$1(data);
  38981. else
  38982. this._addPending$1(new A._DelayedData(data));
  38983. },
  38984. _addError$2(error, stackTrace) {
  38985. var t1;
  38986. if (type$.Error._is(error))
  38987. A.Primitives_trySetStackTrace(error, stackTrace);
  38988. t1 = this._state;
  38989. if ((t1 & 8) !== 0)
  38990. return;
  38991. if (t1 < 64)
  38992. this._sendError$2(error, stackTrace);
  38993. else
  38994. this._addPending$1(new A._DelayedError(error, stackTrace));
  38995. },
  38996. _close$0() {
  38997. var _this = this,
  38998. t1 = _this._state;
  38999. if ((t1 & 8) !== 0)
  39000. return;
  39001. t1 = (t1 | 2) >>> 0;
  39002. _this._state = t1;
  39003. if (t1 < 64)
  39004. _this._sendDone$0();
  39005. else
  39006. _this._addPending$1(B.C__DelayedDone);
  39007. },
  39008. _async$_onPause$0() {
  39009. },
  39010. _async$_onResume$0() {
  39011. },
  39012. _async$_onCancel$0() {
  39013. return null;
  39014. },
  39015. _addPending$1($event) {
  39016. var t1, _this = this,
  39017. pending = _this._pending;
  39018. if (pending == null)
  39019. pending = _this._pending = new A._PendingEvents();
  39020. pending.add$1(0, $event);
  39021. t1 = _this._state;
  39022. if ((t1 & 128) === 0) {
  39023. t1 = (t1 | 128) >>> 0;
  39024. _this._state = t1;
  39025. if (t1 < 256)
  39026. pending.schedule$1(_this);
  39027. }
  39028. },
  39029. _sendData$1(data) {
  39030. var _this = this,
  39031. t1 = _this._state;
  39032. _this._state = (t1 | 64) >>> 0;
  39033. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  39034. _this._state = (_this._state & 4294967231) >>> 0;
  39035. _this._checkState$1((t1 & 4) !== 0);
  39036. },
  39037. _sendError$2(error, stackTrace) {
  39038. var cancelFuture, _this = this,
  39039. t1 = _this._state,
  39040. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  39041. if ((t1 & 1) !== 0) {
  39042. _this._state = (t1 | 16) >>> 0;
  39043. _this._cancel$0();
  39044. cancelFuture = _this._cancelFuture;
  39045. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39046. cancelFuture.whenComplete$1(t2);
  39047. else
  39048. t2.call$0();
  39049. } else {
  39050. t2.call$0();
  39051. _this._checkState$1((t1 & 4) !== 0);
  39052. }
  39053. },
  39054. _sendDone$0() {
  39055. var cancelFuture, _this = this,
  39056. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  39057. _this._cancel$0();
  39058. _this._state = (_this._state | 16) >>> 0;
  39059. cancelFuture = _this._cancelFuture;
  39060. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39061. cancelFuture.whenComplete$1(t1);
  39062. else
  39063. t1.call$0();
  39064. },
  39065. _guardCallback$1(callback) {
  39066. var _this = this,
  39067. t1 = _this._state;
  39068. _this._state = (t1 | 64) >>> 0;
  39069. callback.call$0();
  39070. _this._state = (_this._state & 4294967231) >>> 0;
  39071. _this._checkState$1((t1 & 4) !== 0);
  39072. },
  39073. _checkState$1(wasInputPaused) {
  39074. var t2, isInputPaused, _this = this,
  39075. t1 = _this._state;
  39076. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  39077. t1 = _this._state = (t1 & 4294967167) >>> 0;
  39078. t2 = false;
  39079. if ((t1 & 4) !== 0)
  39080. if (t1 < 256) {
  39081. t2 = _this._pending;
  39082. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  39083. t2 = t2 !== false;
  39084. }
  39085. if (t2) {
  39086. t1 = (t1 & 4294967291) >>> 0;
  39087. _this._state = t1;
  39088. }
  39089. }
  39090. for (; true; wasInputPaused = isInputPaused) {
  39091. if ((t1 & 8) !== 0) {
  39092. _this._pending = null;
  39093. return;
  39094. }
  39095. isInputPaused = (t1 & 4) !== 0;
  39096. if (wasInputPaused === isInputPaused)
  39097. break;
  39098. _this._state = (t1 ^ 64) >>> 0;
  39099. if (isInputPaused)
  39100. _this._async$_onPause$0();
  39101. else
  39102. _this._async$_onResume$0();
  39103. t1 = (_this._state & 4294967231) >>> 0;
  39104. _this._state = t1;
  39105. }
  39106. if ((t1 & 128) !== 0 && t1 < 256)
  39107. _this._pending.schedule$1(_this);
  39108. },
  39109. $isStreamSubscription: 1
  39110. };
  39111. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  39112. call$0() {
  39113. var onError, t3, t4,
  39114. t1 = this.$this,
  39115. t2 = t1._state;
  39116. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  39117. return;
  39118. t1._state = (t2 | 64) >>> 0;
  39119. onError = t1._onError;
  39120. t2 = this.error;
  39121. t3 = type$.Object;
  39122. t4 = t1._zone;
  39123. if (type$.void_Function_Object_StackTrace._is(onError))
  39124. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  39125. else
  39126. t4.runUnaryGuarded$1$2(onError, t2, t3);
  39127. t1._state = (t1._state & 4294967231) >>> 0;
  39128. },
  39129. $signature: 0
  39130. };
  39131. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39132. call$0() {
  39133. var t1 = this.$this,
  39134. t2 = t1._state;
  39135. if ((t2 & 16) === 0)
  39136. return;
  39137. t1._state = (t2 | 74) >>> 0;
  39138. t1._zone.runGuarded$1(t1._onDone);
  39139. t1._state = (t1._state & 4294967231) >>> 0;
  39140. },
  39141. $signature: 0
  39142. };
  39143. A._StreamImpl.prototype = {
  39144. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39145. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39146. },
  39147. listen$1(_, onData) {
  39148. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39149. },
  39150. listen$3$onDone$onError(_, onData, onDone, onError) {
  39151. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39152. }
  39153. };
  39154. A._DelayedEvent.prototype = {
  39155. get$next() {
  39156. return this.next;
  39157. },
  39158. set$next(val) {
  39159. return this.next = val;
  39160. }
  39161. };
  39162. A._DelayedData.prototype = {
  39163. perform$1(dispatch) {
  39164. dispatch._sendData$1(this.value);
  39165. }
  39166. };
  39167. A._DelayedError.prototype = {
  39168. perform$1(dispatch) {
  39169. dispatch._sendError$2(this.error, this.stackTrace);
  39170. }
  39171. };
  39172. A._DelayedDone.prototype = {
  39173. perform$1(dispatch) {
  39174. dispatch._sendDone$0();
  39175. },
  39176. get$next() {
  39177. return null;
  39178. },
  39179. set$next(__wc0_formal) {
  39180. throw A.wrapException(A.StateError$("No events after a done."));
  39181. }
  39182. };
  39183. A._PendingEvents.prototype = {
  39184. schedule$1(dispatch) {
  39185. var _this = this,
  39186. t1 = _this._state;
  39187. if (t1 === 1)
  39188. return;
  39189. if (t1 >= 1) {
  39190. _this._state = 1;
  39191. return;
  39192. }
  39193. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39194. _this._state = 1;
  39195. },
  39196. add$1(_, $event) {
  39197. var _this = this,
  39198. lastEvent = _this.lastPendingEvent;
  39199. if (lastEvent == null)
  39200. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39201. else {
  39202. lastEvent.set$next($event);
  39203. _this.lastPendingEvent = $event;
  39204. }
  39205. }
  39206. };
  39207. A._PendingEvents_schedule_closure.prototype = {
  39208. call$0() {
  39209. var $event, nextEvent,
  39210. t1 = this.$this,
  39211. oldState = t1._state;
  39212. t1._state = 0;
  39213. if (oldState === 3)
  39214. return;
  39215. $event = t1.firstPendingEvent;
  39216. nextEvent = $event.get$next();
  39217. t1.firstPendingEvent = nextEvent;
  39218. if (nextEvent == null)
  39219. t1.lastPendingEvent = null;
  39220. $event.perform$1(this.dispatch);
  39221. },
  39222. $signature: 0
  39223. };
  39224. A._StreamIterator.prototype = {
  39225. get$current(_) {
  39226. if (this._async$_hasValue)
  39227. return this._stateData;
  39228. return null;
  39229. },
  39230. moveNext$0() {
  39231. var future, _this = this,
  39232. subscription = _this._subscription;
  39233. if (subscription != null) {
  39234. if (_this._async$_hasValue) {
  39235. future = new A._Future($.Zone__current, type$._Future_bool);
  39236. _this._stateData = future;
  39237. _this._async$_hasValue = false;
  39238. subscription.resume$0(0);
  39239. return future;
  39240. }
  39241. throw A.wrapException(A.StateError$("Already waiting for next."));
  39242. }
  39243. return _this._initializeOrDone$0();
  39244. },
  39245. _initializeOrDone$0() {
  39246. var future, subscription, _this = this,
  39247. stateData = _this._stateData;
  39248. if (stateData != null) {
  39249. future = new A._Future($.Zone__current, type$._Future_bool);
  39250. _this._stateData = future;
  39251. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39252. if (_this._stateData != null)
  39253. _this._subscription = subscription;
  39254. return future;
  39255. }
  39256. return $.$get$Future__falseFuture();
  39257. },
  39258. cancel$0() {
  39259. var _this = this,
  39260. subscription = _this._subscription,
  39261. stateData = _this._stateData;
  39262. _this._stateData = null;
  39263. if (subscription != null) {
  39264. _this._subscription = null;
  39265. if (!_this._async$_hasValue)
  39266. stateData._asyncComplete$1(false);
  39267. else
  39268. _this._async$_hasValue = false;
  39269. return subscription.cancel$0();
  39270. }
  39271. return $.$get$Future__nullFuture();
  39272. },
  39273. _onData$1(data) {
  39274. var moveNextFuture, t1, _this = this;
  39275. if (_this._subscription == null)
  39276. return;
  39277. moveNextFuture = _this._stateData;
  39278. _this._stateData = data;
  39279. _this._async$_hasValue = true;
  39280. moveNextFuture._complete$1(true);
  39281. if (_this._async$_hasValue) {
  39282. t1 = _this._subscription;
  39283. if (t1 != null)
  39284. t1.pause$0(0);
  39285. }
  39286. },
  39287. _onError$2(error, stackTrace) {
  39288. var _this = this,
  39289. subscription = _this._subscription,
  39290. moveNextFuture = _this._stateData;
  39291. _this._stateData = _this._subscription = null;
  39292. if (subscription != null)
  39293. moveNextFuture._completeError$2(error, stackTrace);
  39294. else
  39295. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  39296. },
  39297. _onDone$0() {
  39298. var _this = this,
  39299. subscription = _this._subscription,
  39300. moveNextFuture = _this._stateData;
  39301. _this._stateData = _this._subscription = null;
  39302. if (subscription != null)
  39303. moveNextFuture._completeWithValue$1(false);
  39304. else
  39305. moveNextFuture._asyncCompleteWithValue$1(false);
  39306. }
  39307. };
  39308. A._ForwardingStream.prototype = {
  39309. get$isBroadcast() {
  39310. return this._async$_source.get$isBroadcast();
  39311. },
  39312. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39313. var t1 = this.$ti,
  39314. t2 = $.Zone__current,
  39315. t3 = cancelOnError === true ? 1 : 0,
  39316. t4 = onError != null ? 32 : 0,
  39317. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39318. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39319. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39320. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39321. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39322. return t1;
  39323. },
  39324. listen$1(_, onData) {
  39325. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39326. },
  39327. listen$3$onDone$onError(_, onData, onDone, onError) {
  39328. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39329. }
  39330. };
  39331. A._ForwardingStreamSubscription.prototype = {
  39332. _async$_add$1(data) {
  39333. if ((this._state & 2) !== 0)
  39334. return;
  39335. this.super$_BufferingStreamSubscription$_add(data);
  39336. },
  39337. _addError$2(error, stackTrace) {
  39338. if ((this._state & 2) !== 0)
  39339. return;
  39340. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39341. },
  39342. _async$_onPause$0() {
  39343. var t1 = this._subscription;
  39344. if (t1 != null)
  39345. t1.pause$0(0);
  39346. },
  39347. _async$_onResume$0() {
  39348. var t1 = this._subscription;
  39349. if (t1 != null)
  39350. t1.resume$0(0);
  39351. },
  39352. _async$_onCancel$0() {
  39353. var subscription = this._subscription;
  39354. if (subscription != null) {
  39355. this._subscription = null;
  39356. return subscription.cancel$0();
  39357. }
  39358. return null;
  39359. },
  39360. _handleData$1(data) {
  39361. this._stream._handleData$2(data, this);
  39362. },
  39363. _handleError$2(error, stackTrace) {
  39364. this._addError$2(error, stackTrace);
  39365. },
  39366. _handleDone$0() {
  39367. this._close$0();
  39368. }
  39369. };
  39370. A._MapStream.prototype = {
  39371. _handleData$2(inputEvent, sink) {
  39372. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39373. try {
  39374. outputEvent = this._transform.call$1(inputEvent);
  39375. } catch (exception) {
  39376. e = A.unwrapException(exception);
  39377. s = A.getTraceFromException(exception);
  39378. error = e;
  39379. stackTrace = s;
  39380. replacement = A._interceptError(error, stackTrace);
  39381. if (replacement != null) {
  39382. error = replacement.error;
  39383. stackTrace = replacement.stackTrace;
  39384. }
  39385. sink._addError$2(error, stackTrace);
  39386. return;
  39387. }
  39388. sink._async$_add$1(outputEvent);
  39389. }
  39390. };
  39391. A._ZoneFunction.prototype = {};
  39392. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39393. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39394. A._Zone.prototype = {
  39395. _processUncaughtError$3(zone, error, stackTrace) {
  39396. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39397. implementation = this.get$_handleUncaughtError(),
  39398. implZone = implementation.zone;
  39399. if (implZone === B.C__RootZone) {
  39400. A._rootHandleError(error, stackTrace);
  39401. return;
  39402. }
  39403. handler = implementation.$function;
  39404. parentDelegate = implZone.get$_parentDelegate();
  39405. t1 = J.get$parent$z(implZone);
  39406. t1.toString;
  39407. parentZone = t1;
  39408. currentZone = $.Zone__current;
  39409. try {
  39410. $.Zone__current = parentZone;
  39411. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39412. $.Zone__current = currentZone;
  39413. } catch (exception) {
  39414. e = A.unwrapException(exception);
  39415. s = A.getTraceFromException(exception);
  39416. $.Zone__current = currentZone;
  39417. t1 = error === e ? stackTrace : s;
  39418. parentZone._processUncaughtError$3(implZone, e, t1);
  39419. }
  39420. },
  39421. $isZone: 1
  39422. };
  39423. A._CustomZone.prototype = {
  39424. get$_delegate() {
  39425. var t1 = this._delegateCache;
  39426. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39427. },
  39428. get$_parentDelegate() {
  39429. return this.parent.get$_delegate();
  39430. },
  39431. get$errorZone() {
  39432. return this._handleUncaughtError.zone;
  39433. },
  39434. runGuarded$1(f) {
  39435. var e, s, exception;
  39436. try {
  39437. this.run$1$1(0, f, type$.void);
  39438. } catch (exception) {
  39439. e = A.unwrapException(exception);
  39440. s = A.getTraceFromException(exception);
  39441. this._processUncaughtError$3(this, e, s);
  39442. }
  39443. },
  39444. runUnaryGuarded$1$2(f, arg, $T) {
  39445. var e, s, exception;
  39446. try {
  39447. this.runUnary$2$2(f, arg, type$.void, $T);
  39448. } catch (exception) {
  39449. e = A.unwrapException(exception);
  39450. s = A.getTraceFromException(exception);
  39451. this._processUncaughtError$3(this, e, s);
  39452. }
  39453. },
  39454. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  39455. var e, s, exception;
  39456. try {
  39457. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  39458. } catch (exception) {
  39459. e = A.unwrapException(exception);
  39460. s = A.getTraceFromException(exception);
  39461. this._processUncaughtError$3(this, e, s);
  39462. }
  39463. },
  39464. bindCallback$1$1(f, $R) {
  39465. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39466. },
  39467. bindUnaryCallback$2$1(f, $R, $T) {
  39468. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39469. },
  39470. bindCallbackGuarded$1(f) {
  39471. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39472. },
  39473. $index(_, key) {
  39474. var value,
  39475. t1 = this._async$_map,
  39476. result = t1.$index(0, key);
  39477. if (result != null || t1.containsKey$1(key))
  39478. return result;
  39479. value = this.parent.$index(0, key);
  39480. if (value != null)
  39481. t1.$indexSet(0, key, value);
  39482. return value;
  39483. },
  39484. handleUncaughtError$2(error, stackTrace) {
  39485. this._processUncaughtError$3(this, error, stackTrace);
  39486. },
  39487. fork$2$specification$zoneValues(specification, zoneValues) {
  39488. var implementation = this._fork,
  39489. t1 = implementation.zone;
  39490. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39491. },
  39492. run$1$1(_, f) {
  39493. var implementation = this._run,
  39494. t1 = implementation.zone;
  39495. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39496. },
  39497. runUnary$2$2(f, arg) {
  39498. var implementation = this._runUnary,
  39499. t1 = implementation.zone;
  39500. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39501. },
  39502. runBinary$3$3(f, arg1, arg2) {
  39503. var implementation = this._runBinary,
  39504. t1 = implementation.zone;
  39505. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39506. },
  39507. registerCallback$1$1(callback) {
  39508. var implementation = this._registerCallback,
  39509. t1 = implementation.zone;
  39510. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39511. },
  39512. registerUnaryCallback$2$1(callback) {
  39513. var implementation = this._registerUnaryCallback,
  39514. t1 = implementation.zone;
  39515. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39516. },
  39517. registerBinaryCallback$3$1(callback) {
  39518. var implementation = this._registerBinaryCallback,
  39519. t1 = implementation.zone;
  39520. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39521. },
  39522. errorCallback$2(error, stackTrace) {
  39523. var implementation = this._errorCallback,
  39524. implementationZone = implementation.zone;
  39525. if (implementationZone === B.C__RootZone)
  39526. return null;
  39527. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39528. },
  39529. scheduleMicrotask$1(f) {
  39530. var implementation = this._scheduleMicrotask,
  39531. t1 = implementation.zone;
  39532. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39533. },
  39534. createTimer$2(duration, f) {
  39535. var implementation = this._createTimer,
  39536. t1 = implementation.zone;
  39537. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39538. },
  39539. print$1(line) {
  39540. var implementation = this._print,
  39541. t1 = implementation.zone;
  39542. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39543. },
  39544. get$_run() {
  39545. return this._run;
  39546. },
  39547. get$_runUnary() {
  39548. return this._runUnary;
  39549. },
  39550. get$_runBinary() {
  39551. return this._runBinary;
  39552. },
  39553. get$_registerCallback() {
  39554. return this._registerCallback;
  39555. },
  39556. get$_registerUnaryCallback() {
  39557. return this._registerUnaryCallback;
  39558. },
  39559. get$_registerBinaryCallback() {
  39560. return this._registerBinaryCallback;
  39561. },
  39562. get$_errorCallback() {
  39563. return this._errorCallback;
  39564. },
  39565. get$_scheduleMicrotask() {
  39566. return this._scheduleMicrotask;
  39567. },
  39568. get$_createTimer() {
  39569. return this._createTimer;
  39570. },
  39571. get$_createPeriodicTimer() {
  39572. return this._createPeriodicTimer;
  39573. },
  39574. get$_print() {
  39575. return this._print;
  39576. },
  39577. get$_fork() {
  39578. return this._fork;
  39579. },
  39580. get$_handleUncaughtError() {
  39581. return this._handleUncaughtError;
  39582. },
  39583. get$parent(receiver) {
  39584. return this.parent;
  39585. },
  39586. get$_async$_map() {
  39587. return this._async$_map;
  39588. }
  39589. };
  39590. A._CustomZone_bindCallback_closure.prototype = {
  39591. call$0() {
  39592. return this.$this.run$1$1(0, this.registered, this.R);
  39593. },
  39594. $signature() {
  39595. return this.R._eval$1("0()");
  39596. }
  39597. };
  39598. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39599. call$1(arg) {
  39600. var _this = this;
  39601. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39602. },
  39603. $signature() {
  39604. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39605. }
  39606. };
  39607. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39608. call$0() {
  39609. return this.$this.runGuarded$1(this.registered);
  39610. },
  39611. $signature: 0
  39612. };
  39613. A._rootHandleError_closure.prototype = {
  39614. call$0() {
  39615. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39616. },
  39617. $signature: 0
  39618. };
  39619. A._RootZone.prototype = {
  39620. get$_run() {
  39621. return B._ZoneFunction__RootZone__rootRun;
  39622. },
  39623. get$_runUnary() {
  39624. return B._ZoneFunction__RootZone__rootRunUnary;
  39625. },
  39626. get$_runBinary() {
  39627. return B._ZoneFunction__RootZone__rootRunBinary;
  39628. },
  39629. get$_registerCallback() {
  39630. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39631. },
  39632. get$_registerUnaryCallback() {
  39633. return B._ZoneFunction_Xkh;
  39634. },
  39635. get$_registerBinaryCallback() {
  39636. return B._ZoneFunction_e9o;
  39637. },
  39638. get$_errorCallback() {
  39639. return B._ZoneFunction__RootZone__rootErrorCallback;
  39640. },
  39641. get$_scheduleMicrotask() {
  39642. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39643. },
  39644. get$_createTimer() {
  39645. return B._ZoneFunction__RootZone__rootCreateTimer;
  39646. },
  39647. get$_createPeriodicTimer() {
  39648. return B._ZoneFunction_PAY;
  39649. },
  39650. get$_print() {
  39651. return B._ZoneFunction__RootZone__rootPrint;
  39652. },
  39653. get$_fork() {
  39654. return B._ZoneFunction__RootZone__rootFork;
  39655. },
  39656. get$_handleUncaughtError() {
  39657. return B._ZoneFunction_KjJ;
  39658. },
  39659. get$parent(_) {
  39660. return null;
  39661. },
  39662. get$_async$_map() {
  39663. return $.$get$_RootZone__rootMap();
  39664. },
  39665. get$_delegate() {
  39666. var t1 = $._RootZone__rootDelegate;
  39667. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39668. },
  39669. get$_parentDelegate() {
  39670. var t1 = $._RootZone__rootDelegate;
  39671. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39672. },
  39673. get$errorZone() {
  39674. return this;
  39675. },
  39676. runGuarded$1(f) {
  39677. var e, s, exception;
  39678. try {
  39679. if (B.C__RootZone === $.Zone__current) {
  39680. f.call$0();
  39681. return;
  39682. }
  39683. A._rootRun(null, null, this, f);
  39684. } catch (exception) {
  39685. e = A.unwrapException(exception);
  39686. s = A.getTraceFromException(exception);
  39687. A._rootHandleError(e, s);
  39688. }
  39689. },
  39690. runUnaryGuarded$1$2(f, arg) {
  39691. var e, s, exception;
  39692. try {
  39693. if (B.C__RootZone === $.Zone__current) {
  39694. f.call$1(arg);
  39695. return;
  39696. }
  39697. A._rootRunUnary(null, null, this, f, arg);
  39698. } catch (exception) {
  39699. e = A.unwrapException(exception);
  39700. s = A.getTraceFromException(exception);
  39701. A._rootHandleError(e, s);
  39702. }
  39703. },
  39704. runBinaryGuarded$2$3(f, arg1, arg2) {
  39705. var e, s, exception;
  39706. try {
  39707. if (B.C__RootZone === $.Zone__current) {
  39708. f.call$2(arg1, arg2);
  39709. return;
  39710. }
  39711. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39712. } catch (exception) {
  39713. e = A.unwrapException(exception);
  39714. s = A.getTraceFromException(exception);
  39715. A._rootHandleError(e, s);
  39716. }
  39717. },
  39718. bindCallback$1$1(f, $R) {
  39719. return new A._RootZone_bindCallback_closure(this, f, $R);
  39720. },
  39721. bindUnaryCallback$2$1(f, $R, $T) {
  39722. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39723. },
  39724. bindCallbackGuarded$1(f) {
  39725. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39726. },
  39727. $index(_, key) {
  39728. return null;
  39729. },
  39730. handleUncaughtError$2(error, stackTrace) {
  39731. A._rootHandleError(error, stackTrace);
  39732. },
  39733. fork$2$specification$zoneValues(specification, zoneValues) {
  39734. return A._rootFork(null, null, this, specification, zoneValues);
  39735. },
  39736. run$1$1(_, f) {
  39737. if ($.Zone__current === B.C__RootZone)
  39738. return f.call$0();
  39739. return A._rootRun(null, null, this, f);
  39740. },
  39741. runUnary$2$2(f, arg) {
  39742. if ($.Zone__current === B.C__RootZone)
  39743. return f.call$1(arg);
  39744. return A._rootRunUnary(null, null, this, f, arg);
  39745. },
  39746. runBinary$3$3(f, arg1, arg2) {
  39747. if ($.Zone__current === B.C__RootZone)
  39748. return f.call$2(arg1, arg2);
  39749. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39750. },
  39751. registerCallback$1$1(f) {
  39752. return f;
  39753. },
  39754. registerUnaryCallback$2$1(f) {
  39755. return f;
  39756. },
  39757. registerBinaryCallback$3$1(f) {
  39758. return f;
  39759. },
  39760. errorCallback$2(error, stackTrace) {
  39761. return null;
  39762. },
  39763. scheduleMicrotask$1(f) {
  39764. A._rootScheduleMicrotask(null, null, this, f);
  39765. },
  39766. createTimer$2(duration, f) {
  39767. return A.Timer__createTimer(duration, f);
  39768. },
  39769. print$1(line) {
  39770. A.printString(line);
  39771. }
  39772. };
  39773. A._RootZone_bindCallback_closure.prototype = {
  39774. call$0() {
  39775. return this.$this.run$1$1(0, this.f, this.R);
  39776. },
  39777. $signature() {
  39778. return this.R._eval$1("0()");
  39779. }
  39780. };
  39781. A._RootZone_bindUnaryCallback_closure.prototype = {
  39782. call$1(arg) {
  39783. var _this = this;
  39784. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  39785. },
  39786. $signature() {
  39787. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39788. }
  39789. };
  39790. A._RootZone_bindCallbackGuarded_closure.prototype = {
  39791. call$0() {
  39792. return this.$this.runGuarded$1(this.f);
  39793. },
  39794. $signature: 0
  39795. };
  39796. A._HashMap.prototype = {
  39797. get$length(_) {
  39798. return this._collection$_length;
  39799. },
  39800. get$isEmpty(_) {
  39801. return this._collection$_length === 0;
  39802. },
  39803. get$isNotEmpty(_) {
  39804. return this._collection$_length !== 0;
  39805. },
  39806. get$keys(_) {
  39807. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  39808. },
  39809. get$values(_) {
  39810. var t1 = A._instanceType(this);
  39811. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  39812. },
  39813. containsKey$1(key) {
  39814. var strings, nums;
  39815. if (typeof key == "string" && key !== "__proto__") {
  39816. strings = this._strings;
  39817. return strings == null ? false : strings[key] != null;
  39818. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39819. nums = this._nums;
  39820. return nums == null ? false : nums[key] != null;
  39821. } else
  39822. return this._containsKey$1(key);
  39823. },
  39824. _containsKey$1(key) {
  39825. var rest = this._collection$_rest;
  39826. if (rest == null)
  39827. return false;
  39828. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  39829. },
  39830. addAll$1(_, other) {
  39831. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  39832. },
  39833. $index(_, key) {
  39834. var strings, t1, nums;
  39835. if (typeof key == "string" && key !== "__proto__") {
  39836. strings = this._strings;
  39837. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  39838. return t1;
  39839. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39840. nums = this._nums;
  39841. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  39842. return t1;
  39843. } else
  39844. return this._get$1(key);
  39845. },
  39846. _get$1(key) {
  39847. var bucket, index,
  39848. rest = this._collection$_rest;
  39849. if (rest == null)
  39850. return null;
  39851. bucket = this._getBucket$2(rest, key);
  39852. index = this._findBucketIndex$2(bucket, key);
  39853. return index < 0 ? null : bucket[index + 1];
  39854. },
  39855. $indexSet(_, key, value) {
  39856. var strings, nums, _this = this;
  39857. if (typeof key == "string" && key !== "__proto__") {
  39858. strings = _this._strings;
  39859. _this._addHashTableEntry$3(strings == null ? _this._strings = A._HashMap__newHashTable() : strings, key, value);
  39860. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39861. nums = _this._nums;
  39862. _this._addHashTableEntry$3(nums == null ? _this._nums = A._HashMap__newHashTable() : nums, key, value);
  39863. } else
  39864. _this._set$2(key, value);
  39865. },
  39866. _set$2(key, value) {
  39867. var hash, bucket, index, _this = this,
  39868. rest = _this._collection$_rest;
  39869. if (rest == null)
  39870. rest = _this._collection$_rest = A._HashMap__newHashTable();
  39871. hash = _this._computeHashCode$1(key);
  39872. bucket = rest[hash];
  39873. if (bucket == null) {
  39874. A._HashMap__setTableEntry(rest, hash, [key, value]);
  39875. ++_this._collection$_length;
  39876. _this._collection$_keys = null;
  39877. } else {
  39878. index = _this._findBucketIndex$2(bucket, key);
  39879. if (index >= 0)
  39880. bucket[index + 1] = value;
  39881. else {
  39882. bucket.push(key, value);
  39883. ++_this._collection$_length;
  39884. _this._collection$_keys = null;
  39885. }
  39886. }
  39887. },
  39888. remove$1(_, key) {
  39889. var t1;
  39890. if (key !== "__proto__")
  39891. return this._removeHashTableEntry$2(this._strings, key);
  39892. else {
  39893. t1 = this._remove$1(key);
  39894. return t1;
  39895. }
  39896. },
  39897. _remove$1(key) {
  39898. var hash, bucket, index, result, _this = this,
  39899. rest = _this._collection$_rest;
  39900. if (rest == null)
  39901. return null;
  39902. hash = _this._computeHashCode$1(key);
  39903. bucket = rest[hash];
  39904. index = _this._findBucketIndex$2(bucket, key);
  39905. if (index < 0)
  39906. return null;
  39907. --_this._collection$_length;
  39908. _this._collection$_keys = null;
  39909. result = bucket.splice(index, 2)[1];
  39910. if (0 === bucket.length)
  39911. delete rest[hash];
  39912. return result;
  39913. },
  39914. forEach$1(_, action) {
  39915. var $length, t1, i, key, t2, _this = this,
  39916. keys = _this._computeKeys$0();
  39917. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  39918. key = keys[i];
  39919. t2 = _this.$index(0, key);
  39920. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  39921. if (keys !== _this._collection$_keys)
  39922. throw A.wrapException(A.ConcurrentModificationError$(_this));
  39923. }
  39924. },
  39925. _computeKeys$0() {
  39926. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  39927. result = _this._collection$_keys;
  39928. if (result != null)
  39929. return result;
  39930. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  39931. strings = _this._strings;
  39932. index = 0;
  39933. if (strings != null) {
  39934. names = Object.getOwnPropertyNames(strings);
  39935. entries = names.length;
  39936. for (i = 0; i < entries; ++i) {
  39937. result[index] = names[i];
  39938. ++index;
  39939. }
  39940. }
  39941. nums = _this._nums;
  39942. if (nums != null) {
  39943. names = Object.getOwnPropertyNames(nums);
  39944. entries = names.length;
  39945. for (i = 0; i < entries; ++i) {
  39946. result[index] = +names[i];
  39947. ++index;
  39948. }
  39949. }
  39950. rest = _this._collection$_rest;
  39951. if (rest != null) {
  39952. names = Object.getOwnPropertyNames(rest);
  39953. entries = names.length;
  39954. for (i = 0; i < entries; ++i) {
  39955. bucket = rest[names[i]];
  39956. $length = bucket.length;
  39957. for (i0 = 0; i0 < $length; i0 += 2) {
  39958. result[index] = bucket[i0];
  39959. ++index;
  39960. }
  39961. }
  39962. }
  39963. return _this._collection$_keys = result;
  39964. },
  39965. _addHashTableEntry$3(table, key, value) {
  39966. if (table[key] == null) {
  39967. ++this._collection$_length;
  39968. this._collection$_keys = null;
  39969. }
  39970. A._HashMap__setTableEntry(table, key, value);
  39971. },
  39972. _removeHashTableEntry$2(table, key) {
  39973. var value;
  39974. if (table != null && table[key] != null) {
  39975. value = A._HashMap__getTableEntry(table, key);
  39976. delete table[key];
  39977. --this._collection$_length;
  39978. this._collection$_keys = null;
  39979. return value;
  39980. } else
  39981. return null;
  39982. },
  39983. _computeHashCode$1(key) {
  39984. return J.get$hashCode$(key) & 1073741823;
  39985. },
  39986. _getBucket$2(table, key) {
  39987. return table[this._computeHashCode$1(key)];
  39988. },
  39989. _findBucketIndex$2(bucket, key) {
  39990. var $length, i;
  39991. if (bucket == null)
  39992. return -1;
  39993. $length = bucket.length;
  39994. for (i = 0; i < $length; i += 2)
  39995. if (J.$eq$(bucket[i], key))
  39996. return i;
  39997. return -1;
  39998. }
  39999. };
  40000. A._HashMap_values_closure.prototype = {
  40001. call$1(each) {
  40002. var t1 = this.$this,
  40003. t2 = t1.$index(0, each);
  40004. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  40005. },
  40006. $signature() {
  40007. return A._instanceType(this.$this)._eval$1("2(1)");
  40008. }
  40009. };
  40010. A._HashMap_addAll_closure.prototype = {
  40011. call$2(key, value) {
  40012. this.$this.$indexSet(0, key, value);
  40013. },
  40014. $signature() {
  40015. return A._instanceType(this.$this)._eval$1("~(1,2)");
  40016. }
  40017. };
  40018. A._IdentityHashMap.prototype = {
  40019. _computeHashCode$1(key) {
  40020. return A.objectHashCode(key) & 1073741823;
  40021. },
  40022. _findBucketIndex$2(bucket, key) {
  40023. var $length, i, t1;
  40024. if (bucket == null)
  40025. return -1;
  40026. $length = bucket.length;
  40027. for (i = 0; i < $length; i += 2) {
  40028. t1 = bucket[i];
  40029. if (t1 == null ? key == null : t1 === key)
  40030. return i;
  40031. }
  40032. return -1;
  40033. }
  40034. };
  40035. A._HashMapKeyIterable.prototype = {
  40036. get$length(_) {
  40037. return this._map._collection$_length;
  40038. },
  40039. get$isEmpty(_) {
  40040. return this._map._collection$_length === 0;
  40041. },
  40042. get$isNotEmpty(_) {
  40043. return this._map._collection$_length !== 0;
  40044. },
  40045. get$iterator(_) {
  40046. var t1 = this._map;
  40047. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  40048. },
  40049. contains$1(_, element) {
  40050. return this._map.containsKey$1(element);
  40051. }
  40052. };
  40053. A._HashMapKeyIterator.prototype = {
  40054. get$current(_) {
  40055. var t1 = this._collection$_current;
  40056. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40057. },
  40058. moveNext$0() {
  40059. var _this = this,
  40060. keys = _this._collection$_keys,
  40061. offset = _this._offset,
  40062. t1 = _this._map;
  40063. if (keys !== t1._collection$_keys)
  40064. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40065. else if (offset >= keys.length) {
  40066. _this._collection$_current = null;
  40067. return false;
  40068. } else {
  40069. _this._collection$_current = keys[offset];
  40070. _this._offset = offset + 1;
  40071. return true;
  40072. }
  40073. }
  40074. };
  40075. A._LinkedCustomHashMap.prototype = {
  40076. $index(_, key) {
  40077. if (!this._validKey.call$1(key))
  40078. return null;
  40079. return this.super$JsLinkedHashMap$internalGet(key);
  40080. },
  40081. $indexSet(_, key, value) {
  40082. this.super$JsLinkedHashMap$internalSet(key, value);
  40083. },
  40084. containsKey$1(key) {
  40085. if (!this._validKey.call$1(key))
  40086. return false;
  40087. return this.super$JsLinkedHashMap$internalContainsKey(key);
  40088. },
  40089. remove$1(_, key) {
  40090. if (!this._validKey.call$1(key))
  40091. return null;
  40092. return this.super$JsLinkedHashMap$internalRemove(key);
  40093. },
  40094. internalComputeHashCode$1(key) {
  40095. return this._hashCode.call$1(key) & 1073741823;
  40096. },
  40097. internalFindBucketIndex$2(bucket, key) {
  40098. var $length, t1, i;
  40099. if (bucket == null)
  40100. return -1;
  40101. $length = bucket.length;
  40102. for (t1 = this._equals, i = 0; i < $length; ++i)
  40103. if (t1.call$2(bucket[i].hashMapCellKey, key))
  40104. return i;
  40105. return -1;
  40106. }
  40107. };
  40108. A._LinkedCustomHashMap_closure.prototype = {
  40109. call$1(v) {
  40110. return this.K._is(v);
  40111. },
  40112. $signature: 9
  40113. };
  40114. A._LinkedHashSet.prototype = {
  40115. _newSet$0() {
  40116. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  40117. },
  40118. _newSimilarSet$1$0($R) {
  40119. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  40120. },
  40121. _newSimilarSet$0() {
  40122. return this._newSimilarSet$1$0(type$.dynamic);
  40123. },
  40124. get$iterator(_) {
  40125. var _this = this,
  40126. t1 = new A._LinkedHashSetIterator(_this, _this._modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  40127. t1._cell = _this._first;
  40128. return t1;
  40129. },
  40130. get$length(_) {
  40131. return this._collection$_length;
  40132. },
  40133. get$isEmpty(_) {
  40134. return this._collection$_length === 0;
  40135. },
  40136. get$isNotEmpty(_) {
  40137. return this._collection$_length !== 0;
  40138. },
  40139. contains$1(_, object) {
  40140. var strings, nums;
  40141. if (typeof object == "string" && object !== "__proto__") {
  40142. strings = this._strings;
  40143. if (strings == null)
  40144. return false;
  40145. return strings[object] != null;
  40146. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40147. nums = this._nums;
  40148. if (nums == null)
  40149. return false;
  40150. return nums[object] != null;
  40151. } else
  40152. return this._contains$1(object);
  40153. },
  40154. _contains$1(object) {
  40155. var rest = this._collection$_rest;
  40156. if (rest == null)
  40157. return false;
  40158. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40159. },
  40160. get$first(_) {
  40161. var first = this._first;
  40162. if (first == null)
  40163. throw A.wrapException(A.StateError$("No elements"));
  40164. return first._element;
  40165. },
  40166. get$last(_) {
  40167. var last = this._last;
  40168. if (last == null)
  40169. throw A.wrapException(A.StateError$("No elements"));
  40170. return last._element;
  40171. },
  40172. add$1(_, element) {
  40173. var strings, nums, _this = this;
  40174. if (typeof element == "string" && element !== "__proto__") {
  40175. strings = _this._strings;
  40176. return _this._addHashTableEntry$2(strings == null ? _this._strings = A._LinkedHashSet__newHashTable() : strings, element);
  40177. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40178. nums = _this._nums;
  40179. return _this._addHashTableEntry$2(nums == null ? _this._nums = A._LinkedHashSet__newHashTable() : nums, element);
  40180. } else
  40181. return _this._add$1(element);
  40182. },
  40183. _add$1(element) {
  40184. var hash, bucket, _this = this,
  40185. rest = _this._collection$_rest;
  40186. if (rest == null)
  40187. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40188. hash = _this._computeHashCode$1(element);
  40189. bucket = rest[hash];
  40190. if (bucket == null)
  40191. rest[hash] = [_this._newLinkedCell$1(element)];
  40192. else {
  40193. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40194. return false;
  40195. bucket.push(_this._newLinkedCell$1(element));
  40196. }
  40197. return true;
  40198. },
  40199. remove$1(_, object) {
  40200. var _this = this;
  40201. if (typeof object == "string" && object !== "__proto__")
  40202. return _this._removeHashTableEntry$2(_this._strings, object);
  40203. else if (typeof object == "number" && (object & 1073741823) === object)
  40204. return _this._removeHashTableEntry$2(_this._nums, object);
  40205. else
  40206. return _this._remove$1(object);
  40207. },
  40208. _remove$1(object) {
  40209. var hash, bucket, index, cell, _this = this,
  40210. rest = _this._collection$_rest;
  40211. if (rest == null)
  40212. return false;
  40213. hash = _this._computeHashCode$1(object);
  40214. bucket = rest[hash];
  40215. index = _this._findBucketIndex$2(bucket, object);
  40216. if (index < 0)
  40217. return false;
  40218. cell = bucket.splice(index, 1)[0];
  40219. if (0 === bucket.length)
  40220. delete rest[hash];
  40221. _this._unlinkCell$1(cell);
  40222. return true;
  40223. },
  40224. _addHashTableEntry$2(table, element) {
  40225. if (table[element] != null)
  40226. return false;
  40227. table[element] = this._newLinkedCell$1(element);
  40228. return true;
  40229. },
  40230. _removeHashTableEntry$2(table, element) {
  40231. var cell;
  40232. if (table == null)
  40233. return false;
  40234. cell = table[element];
  40235. if (cell == null)
  40236. return false;
  40237. this._unlinkCell$1(cell);
  40238. delete table[element];
  40239. return true;
  40240. },
  40241. _modified$0() {
  40242. this._modifications = this._modifications + 1 & 1073741823;
  40243. },
  40244. _newLinkedCell$1(element) {
  40245. var t1, _this = this,
  40246. cell = new A._LinkedHashSetCell(element);
  40247. if (_this._first == null)
  40248. _this._first = _this._last = cell;
  40249. else {
  40250. t1 = _this._last;
  40251. t1.toString;
  40252. cell._previous = t1;
  40253. _this._last = t1._next = cell;
  40254. }
  40255. ++_this._collection$_length;
  40256. _this._modified$0();
  40257. return cell;
  40258. },
  40259. _unlinkCell$1(cell) {
  40260. var _this = this,
  40261. previous = cell._previous,
  40262. next = cell._next;
  40263. if (previous == null)
  40264. _this._first = next;
  40265. else
  40266. previous._next = next;
  40267. if (next == null)
  40268. _this._last = previous;
  40269. else
  40270. next._previous = previous;
  40271. --_this._collection$_length;
  40272. _this._modified$0();
  40273. },
  40274. _computeHashCode$1(element) {
  40275. return J.get$hashCode$(element) & 1073741823;
  40276. },
  40277. _findBucketIndex$2(bucket, element) {
  40278. var $length, i;
  40279. if (bucket == null)
  40280. return -1;
  40281. $length = bucket.length;
  40282. for (i = 0; i < $length; ++i)
  40283. if (J.$eq$(bucket[i]._element, element))
  40284. return i;
  40285. return -1;
  40286. }
  40287. };
  40288. A._LinkedIdentityHashSet.prototype = {
  40289. _newSet$0() {
  40290. return new A._LinkedIdentityHashSet(this.$ti);
  40291. },
  40292. _newSimilarSet$1$0($R) {
  40293. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40294. },
  40295. _newSimilarSet$0() {
  40296. return this._newSimilarSet$1$0(type$.dynamic);
  40297. },
  40298. _computeHashCode$1(key) {
  40299. return A.objectHashCode(key) & 1073741823;
  40300. },
  40301. _findBucketIndex$2(bucket, element) {
  40302. var $length, i, t1;
  40303. if (bucket == null)
  40304. return -1;
  40305. $length = bucket.length;
  40306. for (i = 0; i < $length; ++i) {
  40307. t1 = bucket[i]._element;
  40308. if (t1 == null ? element == null : t1 === element)
  40309. return i;
  40310. }
  40311. return -1;
  40312. }
  40313. };
  40314. A._LinkedHashSetCell.prototype = {};
  40315. A._LinkedHashSetIterator.prototype = {
  40316. get$current(_) {
  40317. var t1 = this._collection$_current;
  40318. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40319. },
  40320. moveNext$0() {
  40321. var _this = this,
  40322. cell = _this._cell,
  40323. t1 = _this._set;
  40324. if (_this._modifications !== t1._modifications)
  40325. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40326. else if (cell == null) {
  40327. _this._collection$_current = null;
  40328. return false;
  40329. } else {
  40330. _this._collection$_current = cell._element;
  40331. _this._cell = cell._next;
  40332. return true;
  40333. }
  40334. }
  40335. };
  40336. A.UnmodifiableListView.prototype = {
  40337. cast$1$0(_, $R) {
  40338. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40339. },
  40340. get$length(_) {
  40341. return J.get$length$asx(this._collection$_source);
  40342. },
  40343. $index(_, index) {
  40344. return J.elementAt$1$ax(this._collection$_source, index);
  40345. }
  40346. };
  40347. A.HashMap_HashMap$from_closure.prototype = {
  40348. call$2(k, v) {
  40349. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40350. },
  40351. $signature: 175
  40352. };
  40353. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40354. call$2(k, v) {
  40355. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40356. },
  40357. $signature: 175
  40358. };
  40359. A.ListBase.prototype = {
  40360. get$iterator(receiver) {
  40361. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40362. },
  40363. elementAt$1(receiver, index) {
  40364. return this.$index(receiver, index);
  40365. },
  40366. forEach$1(receiver, action) {
  40367. var i,
  40368. $length = this.get$length(receiver);
  40369. for (i = 0; i < $length; ++i) {
  40370. action.call$1(this.$index(receiver, i));
  40371. if ($length !== this.get$length(receiver))
  40372. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40373. }
  40374. },
  40375. get$isEmpty(receiver) {
  40376. return this.get$length(receiver) === 0;
  40377. },
  40378. get$isNotEmpty(receiver) {
  40379. return !this.get$isEmpty(receiver);
  40380. },
  40381. get$first(receiver) {
  40382. if (this.get$length(receiver) === 0)
  40383. throw A.wrapException(A.IterableElementError_noElement());
  40384. return this.$index(receiver, 0);
  40385. },
  40386. get$last(receiver) {
  40387. if (this.get$length(receiver) === 0)
  40388. throw A.wrapException(A.IterableElementError_noElement());
  40389. return this.$index(receiver, this.get$length(receiver) - 1);
  40390. },
  40391. get$single(receiver) {
  40392. if (this.get$length(receiver) === 0)
  40393. throw A.wrapException(A.IterableElementError_noElement());
  40394. if (this.get$length(receiver) > 1)
  40395. throw A.wrapException(A.IterableElementError_tooMany());
  40396. return this.$index(receiver, 0);
  40397. },
  40398. contains$1(receiver, element) {
  40399. var i,
  40400. $length = this.get$length(receiver);
  40401. for (i = 0; i < $length; ++i) {
  40402. if (J.$eq$(this.$index(receiver, i), element))
  40403. return true;
  40404. if ($length !== this.get$length(receiver))
  40405. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40406. }
  40407. return false;
  40408. },
  40409. every$1(receiver, test) {
  40410. var i,
  40411. $length = this.get$length(receiver);
  40412. for (i = 0; i < $length; ++i) {
  40413. if (!test.call$1(this.$index(receiver, i)))
  40414. return false;
  40415. if ($length !== this.get$length(receiver))
  40416. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40417. }
  40418. return true;
  40419. },
  40420. any$1(receiver, test) {
  40421. var i,
  40422. $length = this.get$length(receiver);
  40423. for (i = 0; i < $length; ++i) {
  40424. if (test.call$1(this.$index(receiver, i)))
  40425. return true;
  40426. if ($length !== this.get$length(receiver))
  40427. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40428. }
  40429. return false;
  40430. },
  40431. lastWhere$2$orElse(receiver, test, orElse) {
  40432. var i, element,
  40433. $length = this.get$length(receiver);
  40434. for (i = $length - 1; i >= 0; --i) {
  40435. element = this.$index(receiver, i);
  40436. if (test.call$1(element))
  40437. return element;
  40438. if ($length !== this.get$length(receiver))
  40439. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40440. }
  40441. if (orElse != null)
  40442. return orElse.call$0();
  40443. throw A.wrapException(A.IterableElementError_noElement());
  40444. },
  40445. join$1(receiver, separator) {
  40446. var t1;
  40447. if (this.get$length(receiver) === 0)
  40448. return "";
  40449. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40450. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40451. },
  40452. where$1(receiver, test) {
  40453. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40454. },
  40455. map$1$1(receiver, f, $T) {
  40456. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40457. },
  40458. expand$1$1(receiver, f, $T) {
  40459. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40460. },
  40461. skip$1(receiver, count) {
  40462. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40463. },
  40464. take$1(receiver, count) {
  40465. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40466. },
  40467. toList$1$growable(receiver, growable) {
  40468. var t1, first, result, i, _this = this;
  40469. if (_this.get$isEmpty(receiver)) {
  40470. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40471. return t1;
  40472. }
  40473. first = _this.$index(receiver, 0);
  40474. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40475. for (i = 1; i < _this.get$length(receiver); ++i)
  40476. result[i] = _this.$index(receiver, i);
  40477. return result;
  40478. },
  40479. toList$0(receiver) {
  40480. return this.toList$1$growable(receiver, true);
  40481. },
  40482. toSet$0(receiver) {
  40483. var i,
  40484. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40485. for (i = 0; i < this.get$length(receiver); ++i)
  40486. result.add$1(0, this.$index(receiver, i));
  40487. return result;
  40488. },
  40489. add$1(receiver, element) {
  40490. var t1 = this.get$length(receiver);
  40491. this.set$length(receiver, t1 + 1);
  40492. this.$indexSet(receiver, t1, element);
  40493. },
  40494. addAll$1(receiver, iterable) {
  40495. var t1,
  40496. i = this.get$length(receiver);
  40497. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40498. this.add$1(receiver, t1.get$current(t1));
  40499. ++i;
  40500. }
  40501. },
  40502. _closeGap$2(receiver, start, end) {
  40503. var i, _this = this,
  40504. $length = _this.get$length(receiver),
  40505. size = end - start;
  40506. for (i = end; i < $length; ++i)
  40507. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40508. _this.set$length(receiver, $length - size);
  40509. },
  40510. cast$1$0(receiver, $R) {
  40511. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40512. },
  40513. sort$1(receiver, compare) {
  40514. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40515. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40516. },
  40517. sublist$2(receiver, start, end) {
  40518. var listLength = this.get$length(receiver);
  40519. A.RangeError_checkValidRange(start, listLength, listLength);
  40520. return A.List_List$of(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40521. },
  40522. sublist$1(receiver, start) {
  40523. return this.sublist$2(receiver, start, null);
  40524. },
  40525. getRange$2(receiver, start, end) {
  40526. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40527. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40528. },
  40529. removeRange$2(receiver, start, end) {
  40530. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40531. if (end > start)
  40532. this._closeGap$2(receiver, start, end);
  40533. },
  40534. fillRange$3(receiver, start, end, fill) {
  40535. var i;
  40536. A.instanceType(receiver)._eval$1("ListBase.E")._as(fill);
  40537. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40538. for (i = start; i < end; ++i)
  40539. this.$indexSet(receiver, i, fill);
  40540. },
  40541. setRange$4(receiver, start, end, iterable, skipCount) {
  40542. var $length, otherStart, otherList, t1, i;
  40543. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40544. $length = end - start;
  40545. if ($length === 0)
  40546. return;
  40547. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40548. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  40549. otherStart = skipCount;
  40550. otherList = iterable;
  40551. } else {
  40552. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40553. otherStart = 0;
  40554. }
  40555. t1 = J.getInterceptor$asx(otherList);
  40556. if (otherStart + $length > t1.get$length(otherList))
  40557. throw A.wrapException(A.IterableElementError_tooFew());
  40558. if (otherStart < start)
  40559. for (i = $length - 1; i >= 0; --i)
  40560. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40561. else
  40562. for (i = 0; i < $length; ++i)
  40563. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40564. },
  40565. indexOf$1(receiver, element) {
  40566. var i;
  40567. for (i = 0; i < this.get$length(receiver); ++i)
  40568. if (J.$eq$(this.$index(receiver, i), element))
  40569. return i;
  40570. return -1;
  40571. },
  40572. get$reversed(receiver) {
  40573. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40574. },
  40575. toString$0(receiver) {
  40576. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40577. },
  40578. $isEfficientLengthIterable: 1,
  40579. $isIterable: 1,
  40580. $isList: 1
  40581. };
  40582. A.MapBase.prototype = {
  40583. cast$2$0(_, RK, RV) {
  40584. var t1 = A._instanceType(this);
  40585. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  40586. },
  40587. forEach$1(_, action) {
  40588. var t1, t2, key, t3, _this = this;
  40589. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40590. key = t1.get$current(t1);
  40591. t3 = _this.$index(0, key);
  40592. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40593. }
  40594. },
  40595. addAll$1(_, other) {
  40596. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40597. },
  40598. get$entries(_) {
  40599. var _this = this;
  40600. 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>"));
  40601. },
  40602. containsKey$1(key) {
  40603. return J.contains$1$asx(this.get$keys(this), key);
  40604. },
  40605. get$length(_) {
  40606. return J.get$length$asx(this.get$keys(this));
  40607. },
  40608. get$isEmpty(_) {
  40609. return J.get$isEmpty$asx(this.get$keys(this));
  40610. },
  40611. get$isNotEmpty(_) {
  40612. return J.get$isNotEmpty$asx(this.get$keys(this));
  40613. },
  40614. get$values(_) {
  40615. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40616. },
  40617. toString$0(_) {
  40618. return A.MapBase_mapToString(this);
  40619. },
  40620. $isMap: 1
  40621. };
  40622. A.MapBase_addAll_closure.prototype = {
  40623. call$2(key, value) {
  40624. this.$this.$indexSet(0, key, value);
  40625. },
  40626. $signature() {
  40627. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40628. }
  40629. };
  40630. A.MapBase_entries_closure.prototype = {
  40631. call$1(key) {
  40632. var t1 = this.$this,
  40633. t2 = t1.$index(0, key);
  40634. if (t2 == null)
  40635. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40636. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40637. },
  40638. $signature() {
  40639. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40640. }
  40641. };
  40642. A.MapBase_mapToString_closure.prototype = {
  40643. call$2(k, v) {
  40644. var t2,
  40645. t1 = this._box_0;
  40646. if (!t1.first)
  40647. this.result._contents += ", ";
  40648. t1.first = false;
  40649. t1 = this.result;
  40650. t2 = A.S(k);
  40651. t2 = t1._contents += t2;
  40652. t1._contents = t2 + ": ";
  40653. t2 = A.S(v);
  40654. t1._contents += t2;
  40655. },
  40656. $signature: 177
  40657. };
  40658. A.UnmodifiableMapBase.prototype = {};
  40659. A._MapBaseValueIterable.prototype = {
  40660. get$length(_) {
  40661. var t1 = this._map;
  40662. return t1.get$length(t1);
  40663. },
  40664. get$isEmpty(_) {
  40665. var t1 = this._map;
  40666. return t1.get$isEmpty(t1);
  40667. },
  40668. get$isNotEmpty(_) {
  40669. var t1 = this._map;
  40670. return t1.get$isNotEmpty(t1);
  40671. },
  40672. get$first(_) {
  40673. var t1 = this._map;
  40674. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  40675. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40676. },
  40677. get$single(_) {
  40678. var t1 = this._map;
  40679. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  40680. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40681. },
  40682. get$last(_) {
  40683. var t1 = this._map;
  40684. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  40685. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40686. },
  40687. get$iterator(_) {
  40688. var t1 = this._map;
  40689. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40690. }
  40691. };
  40692. A._MapBaseValueIterator.prototype = {
  40693. moveNext$0() {
  40694. var _this = this,
  40695. t1 = _this._collection$_keys;
  40696. if (t1.moveNext$0()) {
  40697. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40698. return true;
  40699. }
  40700. _this._collection$_current = null;
  40701. return false;
  40702. },
  40703. get$current(_) {
  40704. var t1 = this._collection$_current;
  40705. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40706. }
  40707. };
  40708. A._UnmodifiableMapMixin.prototype = {
  40709. $indexSet(_, key, value) {
  40710. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40711. },
  40712. addAll$1(_, other) {
  40713. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40714. },
  40715. remove$1(_, key) {
  40716. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40717. }
  40718. };
  40719. A.MapView.prototype = {
  40720. cast$2$0(_, RK, RV) {
  40721. return this._map.cast$2$0(0, RK, RV);
  40722. },
  40723. $index(_, key) {
  40724. return this._map.$index(0, key);
  40725. },
  40726. $indexSet(_, key, value) {
  40727. this._map.$indexSet(0, key, value);
  40728. },
  40729. addAll$1(_, other) {
  40730. this._map.addAll$1(0, other);
  40731. },
  40732. containsKey$1(key) {
  40733. return this._map.containsKey$1(key);
  40734. },
  40735. forEach$1(_, action) {
  40736. this._map.forEach$1(0, action);
  40737. },
  40738. get$isEmpty(_) {
  40739. var t1 = this._map;
  40740. return t1.get$isEmpty(t1);
  40741. },
  40742. get$isNotEmpty(_) {
  40743. var t1 = this._map;
  40744. return t1.get$isNotEmpty(t1);
  40745. },
  40746. get$length(_) {
  40747. var t1 = this._map;
  40748. return t1.get$length(t1);
  40749. },
  40750. get$keys(_) {
  40751. var t1 = this._map;
  40752. return t1.get$keys(t1);
  40753. },
  40754. remove$1(_, key) {
  40755. return this._map.remove$1(0, key);
  40756. },
  40757. toString$0(_) {
  40758. return this._map.toString$0(0);
  40759. },
  40760. get$values(_) {
  40761. var t1 = this._map;
  40762. return t1.get$values(t1);
  40763. },
  40764. get$entries(_) {
  40765. var t1 = this._map;
  40766. return t1.get$entries(t1);
  40767. },
  40768. $isMap: 1
  40769. };
  40770. A.UnmodifiableMapView.prototype = {
  40771. cast$2$0(_, RK, RV) {
  40772. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  40773. }
  40774. };
  40775. A.ListQueue.prototype = {
  40776. get$iterator(_) {
  40777. var _this = this;
  40778. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  40779. },
  40780. get$isEmpty(_) {
  40781. return this._head === this._tail;
  40782. },
  40783. get$length(_) {
  40784. return (this._tail - this._head & this._table.length - 1) >>> 0;
  40785. },
  40786. get$first(_) {
  40787. var _this = this,
  40788. t1 = _this._head;
  40789. if (t1 === _this._tail)
  40790. throw A.wrapException(A.IterableElementError_noElement());
  40791. t1 = _this._table[t1];
  40792. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40793. },
  40794. get$last(_) {
  40795. var _this = this,
  40796. t1 = _this._head,
  40797. t2 = _this._tail;
  40798. if (t1 === t2)
  40799. throw A.wrapException(A.IterableElementError_noElement());
  40800. t1 = _this._table;
  40801. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  40802. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40803. },
  40804. get$single(_) {
  40805. var t1, _this = this;
  40806. if (_this._head === _this._tail)
  40807. throw A.wrapException(A.IterableElementError_noElement());
  40808. if (_this.get$length(0) > 1)
  40809. throw A.wrapException(A.IterableElementError_tooMany());
  40810. t1 = _this._table[_this._head];
  40811. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40812. },
  40813. elementAt$1(_, index) {
  40814. var t1, _this = this;
  40815. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  40816. t1 = _this._table;
  40817. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  40818. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40819. },
  40820. toList$1$growable(_, growable) {
  40821. var t1, list, t2, t3, i, t4, _this = this,
  40822. mask = _this._table.length - 1,
  40823. $length = (_this._tail - _this._head & mask) >>> 0;
  40824. if ($length === 0) {
  40825. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  40826. return t1;
  40827. }
  40828. t1 = _this.$ti._precomputed1;
  40829. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  40830. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  40831. t4 = t2[(t3 + i & mask) >>> 0];
  40832. list[i] = t4 == null ? t1._as(t4) : t4;
  40833. }
  40834. return list;
  40835. },
  40836. toList$0(_) {
  40837. return this.toList$1$growable(0, true);
  40838. },
  40839. addAll$1(_, elements) {
  40840. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  40841. t1 = _this.$ti;
  40842. if (t1._eval$1("List<1>")._is(elements)) {
  40843. addCount = elements.length;
  40844. $length = _this.get$length(0);
  40845. t2 = $length + addCount;
  40846. t3 = _this._table;
  40847. t4 = t3.length;
  40848. if (t2 >= t4) {
  40849. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  40850. _this._tail = _this._collection$_writeToList$1(newTable);
  40851. _this._table = newTable;
  40852. _this._head = 0;
  40853. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  40854. _this._tail += addCount;
  40855. } else {
  40856. t1 = _this._tail;
  40857. endSpace = t4 - t1;
  40858. if (addCount < endSpace) {
  40859. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  40860. _this._tail += addCount;
  40861. } else {
  40862. preSpace = addCount - endSpace;
  40863. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  40864. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  40865. _this._tail = preSpace;
  40866. }
  40867. }
  40868. ++_this._modificationCount;
  40869. } else
  40870. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  40871. _this._add$1(elements[_i]);
  40872. },
  40873. clear$0(_) {
  40874. var t2, t3, _this = this,
  40875. i = _this._head,
  40876. t1 = _this._tail;
  40877. if (i !== t1) {
  40878. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  40879. t2[i] = null;
  40880. _this._head = _this._tail = 0;
  40881. ++_this._modificationCount;
  40882. }
  40883. },
  40884. toString$0(_) {
  40885. return A.Iterable_iterableToFullString(this, "{", "}");
  40886. },
  40887. addFirst$1(value) {
  40888. var _this = this,
  40889. t1 = _this._head,
  40890. t2 = _this._table;
  40891. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  40892. t2[t1] = value;
  40893. if (t1 === _this._tail)
  40894. _this._grow$0();
  40895. ++_this._modificationCount;
  40896. },
  40897. removeFirst$0() {
  40898. var t2, result, _this = this,
  40899. t1 = _this._head;
  40900. if (t1 === _this._tail)
  40901. throw A.wrapException(A.IterableElementError_noElement());
  40902. ++_this._modificationCount;
  40903. t2 = _this._table;
  40904. result = t2[t1];
  40905. if (result == null)
  40906. result = _this.$ti._precomputed1._as(result);
  40907. t2[t1] = null;
  40908. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  40909. return result;
  40910. },
  40911. _add$1(element) {
  40912. var _this = this,
  40913. t1 = _this._table,
  40914. t2 = _this._tail;
  40915. t1[t2] = element;
  40916. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  40917. _this._tail = t1;
  40918. if (_this._head === t1)
  40919. _this._grow$0();
  40920. ++_this._modificationCount;
  40921. },
  40922. _grow$0() {
  40923. var _this = this,
  40924. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  40925. t1 = _this._table,
  40926. t2 = _this._head,
  40927. split = t1.length - t2;
  40928. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  40929. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  40930. _this._head = 0;
  40931. _this._tail = _this._table.length;
  40932. _this._table = newTable;
  40933. },
  40934. _collection$_writeToList$1(target) {
  40935. var $length, firstPartSize, _this = this,
  40936. t1 = _this._head,
  40937. t2 = _this._tail,
  40938. t3 = _this._table;
  40939. if (t1 <= t2) {
  40940. $length = t2 - t1;
  40941. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  40942. return $length;
  40943. } else {
  40944. firstPartSize = t3.length - t1;
  40945. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  40946. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  40947. return _this._tail + firstPartSize;
  40948. }
  40949. },
  40950. $isQueue: 1
  40951. };
  40952. A._ListQueueIterator.prototype = {
  40953. get$current(_) {
  40954. var t1 = this._collection$_current;
  40955. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40956. },
  40957. moveNext$0() {
  40958. var t2, _this = this,
  40959. t1 = _this._queue;
  40960. if (_this._modificationCount !== t1._modificationCount)
  40961. A.throwExpression(A.ConcurrentModificationError$(t1));
  40962. t2 = _this._collection$_position;
  40963. if (t2 === _this._collection$_end) {
  40964. _this._collection$_current = null;
  40965. return false;
  40966. }
  40967. t1 = t1._table;
  40968. _this._collection$_current = t1[t2];
  40969. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  40970. return true;
  40971. }
  40972. };
  40973. A.SetBase.prototype = {
  40974. get$isEmpty(_) {
  40975. return this.get$length(this) === 0;
  40976. },
  40977. get$isNotEmpty(_) {
  40978. return this.get$length(this) !== 0;
  40979. },
  40980. addAll$1(_, elements) {
  40981. var t1;
  40982. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40983. this.add$1(0, t1.get$current(t1));
  40984. },
  40985. removeAll$1(elements) {
  40986. var t1;
  40987. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40988. this.remove$1(0, t1.get$current(t1));
  40989. },
  40990. difference$1(other) {
  40991. var t1, t2, element,
  40992. result = this.toSet$0(0);
  40993. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  40994. element = t1.get$current(t1);
  40995. if (t2.contains$1(0, element))
  40996. result.remove$1(0, element);
  40997. }
  40998. return result;
  40999. },
  41000. toList$1$growable(_, growable) {
  41001. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  41002. },
  41003. toList$0(_) {
  41004. return this.toList$1$growable(0, true);
  41005. },
  41006. map$1$1(_, f, $T) {
  41007. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  41008. },
  41009. get$single(_) {
  41010. var it, _this = this;
  41011. if (_this.get$length(_this) > 1)
  41012. throw A.wrapException(A.IterableElementError_tooMany());
  41013. it = _this.get$iterator(_this);
  41014. if (!it.moveNext$0())
  41015. throw A.wrapException(A.IterableElementError_noElement());
  41016. return it.get$current(it);
  41017. },
  41018. toString$0(_) {
  41019. return A.Iterable_iterableToFullString(this, "{", "}");
  41020. },
  41021. where$1(_, f) {
  41022. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  41023. },
  41024. forEach$1(_, f) {
  41025. var t1;
  41026. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41027. f.call$1(t1.get$current(t1));
  41028. },
  41029. every$1(_, f) {
  41030. var t1;
  41031. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41032. if (!f.call$1(t1.get$current(t1)))
  41033. return false;
  41034. return true;
  41035. },
  41036. any$1(_, test) {
  41037. var t1;
  41038. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  41039. if (test.call$1(t1.get$current(t1)))
  41040. return true;
  41041. return false;
  41042. },
  41043. take$1(_, n) {
  41044. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  41045. },
  41046. skip$1(_, n) {
  41047. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  41048. },
  41049. get$first(_) {
  41050. var it = this.get$iterator(this);
  41051. if (!it.moveNext$0())
  41052. throw A.wrapException(A.IterableElementError_noElement());
  41053. return it.get$current(it);
  41054. },
  41055. get$last(_) {
  41056. var result,
  41057. it = this.get$iterator(this);
  41058. if (!it.moveNext$0())
  41059. throw A.wrapException(A.IterableElementError_noElement());
  41060. do
  41061. result = it.get$current(it);
  41062. while (it.moveNext$0());
  41063. return result;
  41064. },
  41065. elementAt$1(_, index) {
  41066. var iterator, skipCount;
  41067. A.RangeError_checkNotNegative(index, "index");
  41068. iterator = this.get$iterator(this);
  41069. for (skipCount = index; iterator.moveNext$0();) {
  41070. if (skipCount === 0)
  41071. return iterator.get$current(iterator);
  41072. --skipCount;
  41073. }
  41074. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  41075. },
  41076. $isEfficientLengthIterable: 1,
  41077. $isIterable: 1,
  41078. $isSet: 1
  41079. };
  41080. A._SetBase.prototype = {
  41081. difference$1(other) {
  41082. var t1, t2, t3, element, _this = this,
  41083. result = _this._newSet$0();
  41084. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._source, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41085. element = t1._collection$_current;
  41086. if (element == null)
  41087. element = t3._as(element);
  41088. if (!t2.contains$1(0, element))
  41089. result.add$1(0, element);
  41090. }
  41091. return result;
  41092. },
  41093. intersection$1(other) {
  41094. var t1, t2, t3, element, _this = this,
  41095. result = _this._newSet$0();
  41096. for (t1 = A._LinkedHashSetIterator$(_this, _this._modifications, A._instanceType(_this)._precomputed1), t2 = other._baseMap, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41097. element = t1._collection$_current;
  41098. if (element == null)
  41099. element = t3._as(element);
  41100. if (t2.containsKey$1(element))
  41101. result.add$1(0, element);
  41102. }
  41103. return result;
  41104. },
  41105. toSet$0(_) {
  41106. var t1 = this._newSet$0();
  41107. t1.addAll$1(0, this);
  41108. return t1;
  41109. }
  41110. };
  41111. A._UnmodifiableSetMixin.prototype = {
  41112. add$1(_, value) {
  41113. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41114. },
  41115. addAll$1(_, elements) {
  41116. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41117. },
  41118. remove$1(_, value) {
  41119. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41120. }
  41121. };
  41122. A.UnmodifiableSetView.prototype = {
  41123. contains$1(_, element) {
  41124. return this._collection$_source.contains$1(0, element);
  41125. },
  41126. get$length(_) {
  41127. return this._collection$_source._collection$_length;
  41128. },
  41129. get$iterator(_) {
  41130. var t1 = this._collection$_source;
  41131. return A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1);
  41132. },
  41133. toSet$0(_) {
  41134. return this._collection$_source.toSet$0(0);
  41135. }
  41136. };
  41137. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41138. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41139. A._JsonMap.prototype = {
  41140. $index(_, key) {
  41141. var result,
  41142. t1 = this._processed;
  41143. if (t1 == null)
  41144. return this._data.$index(0, key);
  41145. else if (typeof key != "string")
  41146. return null;
  41147. else {
  41148. result = t1[key];
  41149. return typeof result == "undefined" ? this._process$1(key) : result;
  41150. }
  41151. },
  41152. get$length(_) {
  41153. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41154. },
  41155. get$isEmpty(_) {
  41156. return this.get$length(0) === 0;
  41157. },
  41158. get$isNotEmpty(_) {
  41159. return this.get$length(0) > 0;
  41160. },
  41161. get$keys(_) {
  41162. var t1;
  41163. if (this._processed == null) {
  41164. t1 = this._data;
  41165. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41166. }
  41167. return new A._JsonMapKeyIterable(this);
  41168. },
  41169. get$values(_) {
  41170. var t1, _this = this;
  41171. if (_this._processed == null) {
  41172. t1 = _this._data;
  41173. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41174. }
  41175. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41176. },
  41177. $indexSet(_, key, value) {
  41178. var processed, original, _this = this;
  41179. if (_this._processed == null)
  41180. _this._data.$indexSet(0, key, value);
  41181. else if (_this.containsKey$1(key)) {
  41182. processed = _this._processed;
  41183. processed[key] = value;
  41184. original = _this._original;
  41185. if (original == null ? processed != null : original !== processed)
  41186. original[key] = null;
  41187. } else
  41188. _this._upgrade$0().$indexSet(0, key, value);
  41189. },
  41190. addAll$1(_, other) {
  41191. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41192. },
  41193. containsKey$1(key) {
  41194. if (this._processed == null)
  41195. return this._data.containsKey$1(key);
  41196. if (typeof key != "string")
  41197. return false;
  41198. return Object.prototype.hasOwnProperty.call(this._original, key);
  41199. },
  41200. remove$1(_, key) {
  41201. if (this._processed != null && !this.containsKey$1(key))
  41202. return null;
  41203. return this._upgrade$0().remove$1(0, key);
  41204. },
  41205. forEach$1(_, f) {
  41206. var keys, i, key, value, _this = this;
  41207. if (_this._processed == null)
  41208. return _this._data.forEach$1(0, f);
  41209. keys = _this._convert$_computeKeys$0();
  41210. for (i = 0; i < keys.length; ++i) {
  41211. key = keys[i];
  41212. value = _this._processed[key];
  41213. if (typeof value == "undefined") {
  41214. value = A._convertJsonToDartLazy(_this._original[key]);
  41215. _this._processed[key] = value;
  41216. }
  41217. f.call$2(key, value);
  41218. if (keys !== _this._data)
  41219. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41220. }
  41221. },
  41222. _convert$_computeKeys$0() {
  41223. var keys = this._data;
  41224. if (keys == null)
  41225. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41226. return keys;
  41227. },
  41228. _upgrade$0() {
  41229. var result, keys, i, t1, key, _this = this;
  41230. if (_this._processed == null)
  41231. return _this._data;
  41232. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41233. keys = _this._convert$_computeKeys$0();
  41234. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41235. key = keys[i];
  41236. result.$indexSet(0, key, _this.$index(0, key));
  41237. }
  41238. if (t1 === 0)
  41239. keys.push("");
  41240. else
  41241. B.JSArray_methods.clear$0(keys);
  41242. _this._original = _this._processed = null;
  41243. return _this._data = result;
  41244. },
  41245. _process$1(key) {
  41246. var result;
  41247. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41248. return null;
  41249. result = A._convertJsonToDartLazy(this._original[key]);
  41250. return this._processed[key] = result;
  41251. }
  41252. };
  41253. A._JsonMap_values_closure.prototype = {
  41254. call$1(each) {
  41255. return this.$this.$index(0, each);
  41256. },
  41257. $signature: 219
  41258. };
  41259. A._JsonMap_addAll_closure.prototype = {
  41260. call$2(key, value) {
  41261. this.$this.$indexSet(0, key, value);
  41262. },
  41263. $signature: 130
  41264. };
  41265. A._JsonMapKeyIterable.prototype = {
  41266. get$length(_) {
  41267. return this._convert$_parent.get$length(0);
  41268. },
  41269. elementAt$1(_, index) {
  41270. var t1 = this._convert$_parent;
  41271. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41272. },
  41273. get$iterator(_) {
  41274. var t1 = this._convert$_parent;
  41275. if (t1._processed == null) {
  41276. t1 = t1.get$keys(0);
  41277. t1 = t1.get$iterator(t1);
  41278. } else {
  41279. t1 = t1._convert$_computeKeys$0();
  41280. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41281. }
  41282. return t1;
  41283. },
  41284. contains$1(_, key) {
  41285. return this._convert$_parent.containsKey$1(key);
  41286. }
  41287. };
  41288. A._Utf8Decoder__decoder_closure.prototype = {
  41289. call$0() {
  41290. var t1, exception;
  41291. try {
  41292. t1 = new TextDecoder("utf-8", {fatal: true});
  41293. return t1;
  41294. } catch (exception) {
  41295. }
  41296. return null;
  41297. },
  41298. $signature: 66
  41299. };
  41300. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41301. call$0() {
  41302. var t1, exception;
  41303. try {
  41304. t1 = new TextDecoder("utf-8", {fatal: false});
  41305. return t1;
  41306. } catch (exception) {
  41307. }
  41308. return null;
  41309. },
  41310. $signature: 66
  41311. };
  41312. A.AsciiCodec.prototype = {
  41313. encode$1(source) {
  41314. return B.AsciiEncoder_127.convert$1(source);
  41315. }
  41316. };
  41317. A._UnicodeSubsetEncoder.prototype = {
  41318. convert$1(string) {
  41319. var t1, i, codeUnit,
  41320. end = A.RangeError_checkValidRange(0, null, string.length),
  41321. result = new Uint8Array(end);
  41322. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41323. codeUnit = string.charCodeAt(i);
  41324. if ((codeUnit & t1) !== 0)
  41325. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41326. result[i] = codeUnit;
  41327. }
  41328. return result;
  41329. }
  41330. };
  41331. A.AsciiEncoder.prototype = {};
  41332. A.Base64Codec.prototype = {
  41333. normalize$3(source, start, end) {
  41334. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41335. _s31_ = "Invalid base64 encoding length ";
  41336. end = A.RangeError_checkValidRange(start, end, source.length);
  41337. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41338. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41339. i0 = i + 1;
  41340. char = source.charCodeAt(i);
  41341. if (char === 37) {
  41342. i1 = i0 + 2;
  41343. if (i1 <= end) {
  41344. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41345. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41346. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41347. if (char0 === 37)
  41348. char0 = -1;
  41349. i0 = i1;
  41350. } else
  41351. char0 = -1;
  41352. } else
  41353. char0 = char;
  41354. if (0 <= char0 && char0 <= 127) {
  41355. value = inverseAlphabet[char0];
  41356. if (value >= 0) {
  41357. char0 = string$.ABCDEF.charCodeAt(value);
  41358. if (char0 === char)
  41359. continue;
  41360. char = char0;
  41361. } else {
  41362. if (value === -1) {
  41363. if (firstPadding < 0) {
  41364. t1 = buffer == null ? null : buffer._contents.length;
  41365. if (t1 == null)
  41366. t1 = 0;
  41367. firstPadding = t1 + (i - sliceStart);
  41368. firstPaddingSourceIndex = i;
  41369. }
  41370. ++paddingCount;
  41371. if (char === 61)
  41372. continue;
  41373. }
  41374. char = char0;
  41375. }
  41376. if (value !== -2) {
  41377. if (buffer == null) {
  41378. buffer = new A.StringBuffer("");
  41379. t1 = buffer;
  41380. } else
  41381. t1 = buffer;
  41382. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41383. t2 = A.Primitives_stringFromCharCode(char);
  41384. t1._contents += t2;
  41385. sliceStart = i0;
  41386. continue;
  41387. }
  41388. }
  41389. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41390. }
  41391. if (buffer != null) {
  41392. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41393. t1 = buffer._contents += t1;
  41394. t2 = t1.length;
  41395. if (firstPadding >= 0)
  41396. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41397. else {
  41398. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41399. if (endLength === 1)
  41400. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41401. for (; endLength < 4;) {
  41402. t1 += "=";
  41403. buffer._contents = t1;
  41404. ++endLength;
  41405. }
  41406. }
  41407. t1 = buffer._contents;
  41408. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41409. }
  41410. $length = end - start;
  41411. if (firstPadding >= 0)
  41412. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41413. else {
  41414. endLength = B.JSInt_methods.$mod($length, 4);
  41415. if (endLength === 1)
  41416. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41417. if (endLength > 1)
  41418. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41419. }
  41420. return source;
  41421. }
  41422. };
  41423. A.Base64Encoder.prototype = {
  41424. startChunkedConversion$1(sink) {
  41425. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41426. }
  41427. };
  41428. A._Base64Encoder.prototype = {
  41429. createBuffer$1(bufferLength) {
  41430. return new Uint8Array(bufferLength);
  41431. },
  41432. encode$4(bytes, start, end, isLast) {
  41433. var output, _this = this,
  41434. byteCount = (_this._convert$_state & 3) + (end - start),
  41435. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41436. bufferLength = fullChunks * 4;
  41437. if (isLast && byteCount - fullChunks * 3 > 0)
  41438. bufferLength += 4;
  41439. output = _this.createBuffer$1(bufferLength);
  41440. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41441. if (bufferLength > 0)
  41442. return output;
  41443. return null;
  41444. }
  41445. };
  41446. A._Base64EncoderSink.prototype = {};
  41447. A._Utf8Base64EncoderSink.prototype = {
  41448. _convert$_add$4(source, start, end, isLast) {
  41449. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41450. if (buffer != null)
  41451. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41452. }
  41453. };
  41454. A.ByteConversionSink.prototype = {};
  41455. A.Codec.prototype = {};
  41456. A.Converter.prototype = {};
  41457. A.Encoding.prototype = {};
  41458. A.JsonUnsupportedObjectError.prototype = {
  41459. toString$0(_) {
  41460. var safeString = A.Error_safeToString(this.unsupportedObject);
  41461. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41462. }
  41463. };
  41464. A.JsonCyclicError.prototype = {
  41465. toString$0(_) {
  41466. return "Cyclic error in JSON stringify";
  41467. }
  41468. };
  41469. A.JsonCodec.prototype = {
  41470. decode$1(source) {
  41471. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41472. return t1;
  41473. },
  41474. encode$2$toEncodable(value, toEncodable) {
  41475. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41476. return t1;
  41477. },
  41478. get$encoder() {
  41479. return B.JsonEncoder_null;
  41480. },
  41481. get$decoder() {
  41482. return B.JsonDecoder_null;
  41483. }
  41484. };
  41485. A.JsonEncoder.prototype = {};
  41486. A.JsonDecoder.prototype = {};
  41487. A._JsonStringifier.prototype = {
  41488. writeStringContent$1(s) {
  41489. var offset, i, charCode, t1, t2, _this = this,
  41490. $length = s.length;
  41491. for (offset = 0, i = 0; i < $length; ++i) {
  41492. charCode = s.charCodeAt(i);
  41493. if (charCode > 92) {
  41494. if (charCode >= 55296) {
  41495. t1 = charCode & 64512;
  41496. if (t1 === 55296) {
  41497. t2 = i + 1;
  41498. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41499. } else
  41500. t2 = false;
  41501. if (!t2)
  41502. if (t1 === 56320) {
  41503. t1 = i - 1;
  41504. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41505. } else
  41506. t1 = false;
  41507. else
  41508. t1 = true;
  41509. if (t1) {
  41510. if (i > offset)
  41511. _this.writeStringSlice$3(s, offset, i);
  41512. offset = i + 1;
  41513. _this.writeCharCode$1(92);
  41514. _this.writeCharCode$1(117);
  41515. _this.writeCharCode$1(100);
  41516. t1 = charCode >>> 8 & 15;
  41517. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41518. t1 = charCode >>> 4 & 15;
  41519. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41520. t1 = charCode & 15;
  41521. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41522. }
  41523. }
  41524. continue;
  41525. }
  41526. if (charCode < 32) {
  41527. if (i > offset)
  41528. _this.writeStringSlice$3(s, offset, i);
  41529. offset = i + 1;
  41530. _this.writeCharCode$1(92);
  41531. switch (charCode) {
  41532. case 8:
  41533. _this.writeCharCode$1(98);
  41534. break;
  41535. case 9:
  41536. _this.writeCharCode$1(116);
  41537. break;
  41538. case 10:
  41539. _this.writeCharCode$1(110);
  41540. break;
  41541. case 12:
  41542. _this.writeCharCode$1(102);
  41543. break;
  41544. case 13:
  41545. _this.writeCharCode$1(114);
  41546. break;
  41547. default:
  41548. _this.writeCharCode$1(117);
  41549. _this.writeCharCode$1(48);
  41550. _this.writeCharCode$1(48);
  41551. t1 = charCode >>> 4 & 15;
  41552. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41553. t1 = charCode & 15;
  41554. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41555. break;
  41556. }
  41557. } else if (charCode === 34 || charCode === 92) {
  41558. if (i > offset)
  41559. _this.writeStringSlice$3(s, offset, i);
  41560. offset = i + 1;
  41561. _this.writeCharCode$1(92);
  41562. _this.writeCharCode$1(charCode);
  41563. }
  41564. }
  41565. if (offset === 0)
  41566. _this.writeString$1(s);
  41567. else if (offset < $length)
  41568. _this.writeStringSlice$3(s, offset, $length);
  41569. },
  41570. _checkCycle$1(object) {
  41571. var t1, t2, i, t3;
  41572. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41573. t3 = t1[i];
  41574. if (object == null ? t3 == null : object === t3)
  41575. throw A.wrapException(new A.JsonCyclicError(object, null));
  41576. }
  41577. t1.push(object);
  41578. },
  41579. writeObject$1(object) {
  41580. var customJson, e, t1, exception, _this = this;
  41581. if (_this.writeJsonValue$1(object))
  41582. return;
  41583. _this._checkCycle$1(object);
  41584. try {
  41585. customJson = _this._toEncodable.call$1(object);
  41586. if (!_this.writeJsonValue$1(customJson)) {
  41587. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41588. throw A.wrapException(t1);
  41589. }
  41590. _this._seen.pop();
  41591. } catch (exception) {
  41592. e = A.unwrapException(exception);
  41593. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41594. throw A.wrapException(t1);
  41595. }
  41596. },
  41597. writeJsonValue$1(object) {
  41598. var success, _this = this;
  41599. if (typeof object == "number") {
  41600. if (!isFinite(object))
  41601. return false;
  41602. _this.writeNumber$1(object);
  41603. return true;
  41604. } else if (object === true) {
  41605. _this.writeString$1("true");
  41606. return true;
  41607. } else if (object === false) {
  41608. _this.writeString$1("false");
  41609. return true;
  41610. } else if (object == null) {
  41611. _this.writeString$1("null");
  41612. return true;
  41613. } else if (typeof object == "string") {
  41614. _this.writeString$1('"');
  41615. _this.writeStringContent$1(object);
  41616. _this.writeString$1('"');
  41617. return true;
  41618. } else if (type$.List_dynamic._is(object)) {
  41619. _this._checkCycle$1(object);
  41620. _this.writeList$1(object);
  41621. _this._seen.pop();
  41622. return true;
  41623. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41624. _this._checkCycle$1(object);
  41625. success = _this.writeMap$1(object);
  41626. _this._seen.pop();
  41627. return success;
  41628. } else
  41629. return false;
  41630. },
  41631. writeList$1(list) {
  41632. var t1, i, _this = this;
  41633. _this.writeString$1("[");
  41634. t1 = J.getInterceptor$asx(list);
  41635. if (t1.get$isNotEmpty(list)) {
  41636. _this.writeObject$1(t1.$index(list, 0));
  41637. for (i = 1; i < t1.get$length(list); ++i) {
  41638. _this.writeString$1(",");
  41639. _this.writeObject$1(t1.$index(list, i));
  41640. }
  41641. }
  41642. _this.writeString$1("]");
  41643. },
  41644. writeMap$1(map) {
  41645. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41646. if (map.get$isEmpty(map)) {
  41647. _this.writeString$1("{}");
  41648. return true;
  41649. }
  41650. t1 = map.get$length(map) * 2;
  41651. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41652. i = _box_0.i = 0;
  41653. _box_0.allStringKeys = true;
  41654. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41655. if (!_box_0.allStringKeys)
  41656. return false;
  41657. _this.writeString$1("{");
  41658. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41659. _this.writeString$1(separator);
  41660. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41661. _this.writeString$1('":');
  41662. _this.writeObject$1(keyValueList[i + 1]);
  41663. }
  41664. _this.writeString$1("}");
  41665. return true;
  41666. }
  41667. };
  41668. A._JsonStringifier_writeMap_closure.prototype = {
  41669. call$2(key, value) {
  41670. var t1, t2, t3, i;
  41671. if (typeof key != "string")
  41672. this._box_0.allStringKeys = false;
  41673. t1 = this.keyValueList;
  41674. t2 = this._box_0;
  41675. t3 = t2.i;
  41676. i = t2.i = t3 + 1;
  41677. t1[t3] = key;
  41678. t2.i = i + 1;
  41679. t1[i] = value;
  41680. },
  41681. $signature: 177
  41682. };
  41683. A._JsonStringStringifier.prototype = {
  41684. get$_partialResult() {
  41685. var t1 = this._sink._contents;
  41686. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41687. },
  41688. writeNumber$1(number) {
  41689. var t1 = this._sink,
  41690. t2 = B.JSNumber_methods.toString$0(number);
  41691. t1._contents += t2;
  41692. },
  41693. writeString$1(string) {
  41694. this._sink._contents += string;
  41695. },
  41696. writeStringSlice$3(string, start, end) {
  41697. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41698. },
  41699. writeCharCode$1(charCode) {
  41700. var t1 = this._sink,
  41701. t2 = A.Primitives_stringFromCharCode(charCode);
  41702. t1._contents += t2;
  41703. }
  41704. };
  41705. A.StringConversionSink.prototype = {};
  41706. A._StringSinkConversionSink.prototype = {
  41707. close$0(_) {
  41708. }
  41709. };
  41710. A._StringCallbackSink.prototype = {
  41711. close$0(_) {
  41712. var t1 = this._stringSink,
  41713. t2 = t1._contents;
  41714. t1._contents = "";
  41715. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41716. },
  41717. asUtf8Sink$1(allowMalformed) {
  41718. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41719. }
  41720. };
  41721. A._Utf8StringSinkAdapter.prototype = {
  41722. close$0(_) {
  41723. this._decoder.flush$1(this._stringSink);
  41724. this._sink.close$0(0);
  41725. },
  41726. add$1(_, chunk) {
  41727. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41728. },
  41729. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41730. var t1 = this._stringSink,
  41731. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41732. t1._contents += t2;
  41733. if (isLast)
  41734. this.close$0(0);
  41735. }
  41736. };
  41737. A.Utf8Codec.prototype = {
  41738. encode$1(string) {
  41739. return B.C_Utf8Encoder.convert$1(string);
  41740. }
  41741. };
  41742. A.Utf8Encoder.prototype = {
  41743. convert$1(string) {
  41744. var t1, encoder,
  41745. end = A.RangeError_checkValidRange(0, null, string.length);
  41746. if (end === 0)
  41747. return new Uint8Array(0);
  41748. t1 = new Uint8Array(end * 3);
  41749. encoder = new A._Utf8Encoder(t1);
  41750. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41751. encoder._writeReplacementCharacter$0();
  41752. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41753. }
  41754. };
  41755. A._Utf8Encoder.prototype = {
  41756. _writeReplacementCharacter$0() {
  41757. var _this = this,
  41758. t1 = _this._buffer,
  41759. t2 = _this._bufferIndex,
  41760. t3 = _this._bufferIndex = t2 + 1;
  41761. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41762. t1[t2] = 239;
  41763. t2 = _this._bufferIndex = t3 + 1;
  41764. t1[t3] = 191;
  41765. _this._bufferIndex = t2 + 1;
  41766. t1[t2] = 189;
  41767. },
  41768. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  41769. var rune, t1, t2, t3, _this = this;
  41770. if ((nextCodeUnit & 64512) === 56320) {
  41771. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  41772. t1 = _this._buffer;
  41773. t2 = _this._bufferIndex;
  41774. t3 = _this._bufferIndex = t2 + 1;
  41775. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41776. t1[t2] = rune >>> 18 | 240;
  41777. t2 = _this._bufferIndex = t3 + 1;
  41778. t1[t3] = rune >>> 12 & 63 | 128;
  41779. t3 = _this._bufferIndex = t2 + 1;
  41780. t1[t2] = rune >>> 6 & 63 | 128;
  41781. _this._bufferIndex = t3 + 1;
  41782. t1[t3] = rune & 63 | 128;
  41783. return true;
  41784. } else {
  41785. _this._writeReplacementCharacter$0();
  41786. return false;
  41787. }
  41788. },
  41789. _fillBuffer$3(str, start, end) {
  41790. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  41791. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  41792. --end;
  41793. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  41794. codeUnit = str.charCodeAt(stringIndex);
  41795. if (codeUnit <= 127) {
  41796. t4 = _this._bufferIndex;
  41797. if (t4 >= t3)
  41798. break;
  41799. _this._bufferIndex = t4 + 1;
  41800. t2 & 2 && A.throwUnsupportedOperation(t1);
  41801. t1[t4] = codeUnit;
  41802. } else {
  41803. t4 = codeUnit & 64512;
  41804. if (t4 === 55296) {
  41805. if (_this._bufferIndex + 4 > t3)
  41806. break;
  41807. stringIndex0 = stringIndex + 1;
  41808. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  41809. stringIndex = stringIndex0;
  41810. } else if (t4 === 56320) {
  41811. if (_this._bufferIndex + 3 > t3)
  41812. break;
  41813. _this._writeReplacementCharacter$0();
  41814. } else if (codeUnit <= 2047) {
  41815. t4 = _this._bufferIndex;
  41816. t5 = t4 + 1;
  41817. if (t5 >= t3)
  41818. break;
  41819. _this._bufferIndex = t5;
  41820. t2 & 2 && A.throwUnsupportedOperation(t1);
  41821. t1[t4] = codeUnit >>> 6 | 192;
  41822. _this._bufferIndex = t5 + 1;
  41823. t1[t5] = codeUnit & 63 | 128;
  41824. } else {
  41825. t4 = _this._bufferIndex;
  41826. if (t4 + 2 >= t3)
  41827. break;
  41828. t5 = _this._bufferIndex = t4 + 1;
  41829. t2 & 2 && A.throwUnsupportedOperation(t1);
  41830. t1[t4] = codeUnit >>> 12 | 224;
  41831. t4 = _this._bufferIndex = t5 + 1;
  41832. t1[t5] = codeUnit >>> 6 & 63 | 128;
  41833. _this._bufferIndex = t4 + 1;
  41834. t1[t4] = codeUnit & 63 | 128;
  41835. }
  41836. }
  41837. }
  41838. return stringIndex;
  41839. }
  41840. };
  41841. A.Utf8Decoder.prototype = {
  41842. convert$1(codeUnits) {
  41843. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  41844. }
  41845. };
  41846. A._Utf8Decoder.prototype = {
  41847. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  41848. var casted, bytes, errorOffset, t1, result, message, _this = this,
  41849. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  41850. if (start === end)
  41851. return "";
  41852. if (codeUnits instanceof Uint8Array) {
  41853. casted = codeUnits;
  41854. bytes = casted;
  41855. errorOffset = 0;
  41856. } else {
  41857. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  41858. end -= start;
  41859. errorOffset = start;
  41860. start = 0;
  41861. }
  41862. if (single && end - start >= 15) {
  41863. t1 = _this.allowMalformed;
  41864. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  41865. if (result != null) {
  41866. if (!t1)
  41867. return result;
  41868. if (result.indexOf("\ufffd") < 0)
  41869. return result;
  41870. }
  41871. }
  41872. result = _this._decodeRecursive$4(bytes, start, end, single);
  41873. t1 = _this._convert$_state;
  41874. if ((t1 & 1) !== 0) {
  41875. message = A._Utf8Decoder_errorDescription(t1);
  41876. _this._convert$_state = 0;
  41877. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  41878. }
  41879. return result;
  41880. },
  41881. _decodeRecursive$4(bytes, start, end, single) {
  41882. var mid, s1, _this = this;
  41883. if (end - start > 1000) {
  41884. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  41885. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  41886. if ((_this._convert$_state & 1) !== 0)
  41887. return s1;
  41888. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  41889. }
  41890. return _this.decodeGeneral$4(bytes, start, end, single);
  41891. },
  41892. flush$1(sink) {
  41893. var t1,
  41894. state = this._convert$_state;
  41895. this._convert$_state = 0;
  41896. if (state <= 32)
  41897. return;
  41898. if (this.allowMalformed) {
  41899. t1 = A.Primitives_stringFromCharCode(65533);
  41900. sink._contents += t1;
  41901. } else
  41902. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  41903. },
  41904. decodeGeneral$4(bytes, start, end, single) {
  41905. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  41906. state = _this._convert$_state,
  41907. char = _this._charOrIndex,
  41908. buffer = new A.StringBuffer(""),
  41909. i = start + 1,
  41910. byte = bytes[start];
  41911. $label0$0:
  41912. for (t1 = _this.allowMalformed; true;) {
  41913. for (; true; i = i0) {
  41914. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  41915. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  41916. 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);
  41917. if (state === 0) {
  41918. t2 = A.Primitives_stringFromCharCode(char);
  41919. buffer._contents += t2;
  41920. if (i === end)
  41921. break $label0$0;
  41922. break;
  41923. } else if ((state & 1) !== 0) {
  41924. if (t1)
  41925. switch (state) {
  41926. case 69:
  41927. case 67:
  41928. t2 = A.Primitives_stringFromCharCode(_65533);
  41929. buffer._contents += t2;
  41930. break;
  41931. case 65:
  41932. t2 = A.Primitives_stringFromCharCode(_65533);
  41933. buffer._contents += t2;
  41934. --i;
  41935. break;
  41936. default:
  41937. t2 = A.Primitives_stringFromCharCode(_65533);
  41938. t2 = buffer._contents += t2;
  41939. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  41940. break;
  41941. }
  41942. else {
  41943. _this._convert$_state = state;
  41944. _this._charOrIndex = i - 1;
  41945. return "";
  41946. }
  41947. state = 0;
  41948. }
  41949. if (i === end)
  41950. break $label0$0;
  41951. i0 = i + 1;
  41952. byte = bytes[i];
  41953. }
  41954. i0 = i + 1;
  41955. byte = bytes[i];
  41956. if (byte < 128) {
  41957. while (true) {
  41958. if (!(i0 < end)) {
  41959. markEnd = end;
  41960. break;
  41961. }
  41962. i1 = i0 + 1;
  41963. byte = bytes[i0];
  41964. if (byte >= 128) {
  41965. markEnd = i1 - 1;
  41966. i0 = i1;
  41967. break;
  41968. }
  41969. i0 = i1;
  41970. }
  41971. if (markEnd - i < 20)
  41972. for (m = i; m < markEnd; ++m) {
  41973. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  41974. buffer._contents += t2;
  41975. }
  41976. else {
  41977. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  41978. buffer._contents += t2;
  41979. }
  41980. if (markEnd === end)
  41981. break $label0$0;
  41982. i = i0;
  41983. } else
  41984. i = i0;
  41985. }
  41986. if (single && state > 32)
  41987. if (t1) {
  41988. t1 = A.Primitives_stringFromCharCode(_65533);
  41989. buffer._contents += t1;
  41990. } else {
  41991. _this._convert$_state = 77;
  41992. _this._charOrIndex = end;
  41993. return "";
  41994. }
  41995. _this._convert$_state = state;
  41996. _this._charOrIndex = char;
  41997. t1 = buffer._contents;
  41998. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41999. }
  42000. };
  42001. A.NoSuchMethodError_toString_closure.prototype = {
  42002. call$2(key, value) {
  42003. var t1 = this.sb,
  42004. t2 = this._box_0,
  42005. t3 = t1._contents += t2.comma;
  42006. t3 += key.__internal$_name;
  42007. t1._contents = t3;
  42008. t1._contents = t3 + ": ";
  42009. t3 = A.Error_safeToString(value);
  42010. t1._contents += t3;
  42011. t2.comma = ", ";
  42012. },
  42013. $signature: 530
  42014. };
  42015. A.DateTime.prototype = {
  42016. $eq(_, other) {
  42017. var t1;
  42018. if (other == null)
  42019. return false;
  42020. t1 = false;
  42021. if (other instanceof A.DateTime)
  42022. if (this._value === other._value)
  42023. t1 = this._microsecond === other._microsecond;
  42024. return t1;
  42025. },
  42026. get$hashCode(_) {
  42027. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  42028. },
  42029. isAfter$1(other) {
  42030. var t1 = this._value,
  42031. t2 = other._value;
  42032. if (t1 <= t2)
  42033. t1 = t1 === t2 && this._microsecond > other._microsecond;
  42034. else
  42035. t1 = true;
  42036. return t1;
  42037. },
  42038. compareTo$1(_, other) {
  42039. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  42040. if (r !== 0)
  42041. return r;
  42042. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  42043. },
  42044. toString$0(_) {
  42045. var _this = this,
  42046. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  42047. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  42048. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  42049. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  42050. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  42051. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  42052. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  42053. t1 = _this._microsecond,
  42054. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  42055. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  42056. },
  42057. $isComparable: 1
  42058. };
  42059. A.Duration.prototype = {
  42060. $eq(_, other) {
  42061. if (other == null)
  42062. return false;
  42063. return other instanceof A.Duration && this._duration === other._duration;
  42064. },
  42065. get$hashCode(_) {
  42066. return B.JSInt_methods.get$hashCode(this._duration);
  42067. },
  42068. compareTo$1(_, other) {
  42069. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  42070. },
  42071. toString$0(_) {
  42072. var sign, minutes, minutesPadding, seconds, secondsPadding,
  42073. microseconds = this._duration,
  42074. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  42075. microseconds0 = microseconds % 3600000000;
  42076. if (microseconds < 0) {
  42077. hours = 0 - hours;
  42078. microseconds = 0 - microseconds0;
  42079. sign = "-";
  42080. } else {
  42081. microseconds = microseconds0;
  42082. sign = "";
  42083. }
  42084. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  42085. microseconds %= 60000000;
  42086. minutesPadding = minutes < 10 ? "0" : "";
  42087. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  42088. secondsPadding = seconds < 10 ? "0" : "";
  42089. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  42090. },
  42091. $isComparable: 1
  42092. };
  42093. A._Enum.prototype = {
  42094. toString$0(_) {
  42095. return this._enumToString$0();
  42096. }
  42097. };
  42098. A.Error.prototype = {
  42099. get$stackTrace() {
  42100. return A.Primitives_extractStackTrace(this);
  42101. }
  42102. };
  42103. A.AssertionError.prototype = {
  42104. toString$0(_) {
  42105. var t1 = this.message;
  42106. if (t1 != null)
  42107. return "Assertion failed: " + A.Error_safeToString(t1);
  42108. return "Assertion failed";
  42109. },
  42110. get$message(receiver) {
  42111. return this.message;
  42112. }
  42113. };
  42114. A.TypeError.prototype = {};
  42115. A.ArgumentError.prototype = {
  42116. get$_errorName() {
  42117. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  42118. },
  42119. get$_errorExplanation() {
  42120. return "";
  42121. },
  42122. toString$0(_) {
  42123. var _this = this,
  42124. $name = _this.name,
  42125. nameString = $name == null ? "" : " (" + $name + ")",
  42126. message = _this.message,
  42127. messageString = message == null ? "" : ": " + A.S(message),
  42128. prefix = _this.get$_errorName() + nameString + messageString;
  42129. if (!_this._hasValue)
  42130. return prefix;
  42131. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42132. },
  42133. get$invalidValue() {
  42134. return this.invalidValue;
  42135. },
  42136. get$message(receiver) {
  42137. return this.message;
  42138. }
  42139. };
  42140. A.RangeError.prototype = {
  42141. get$invalidValue() {
  42142. return this.invalidValue;
  42143. },
  42144. get$_errorName() {
  42145. return "RangeError";
  42146. },
  42147. get$_errorExplanation() {
  42148. var explanation,
  42149. start = this.start,
  42150. end = this.end;
  42151. if (start == null)
  42152. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42153. else if (end == null)
  42154. explanation = ": Not greater than or equal to " + A.S(start);
  42155. else if (end > start)
  42156. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42157. else
  42158. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42159. return explanation;
  42160. }
  42161. };
  42162. A.IndexError.prototype = {
  42163. get$invalidValue() {
  42164. return this.invalidValue;
  42165. },
  42166. get$_errorName() {
  42167. return "RangeError";
  42168. },
  42169. get$_errorExplanation() {
  42170. if (this.invalidValue < 0)
  42171. return ": index must not be negative";
  42172. var t1 = this.length;
  42173. if (t1 === 0)
  42174. return ": no indices are valid";
  42175. return ": index should be less than " + t1;
  42176. },
  42177. $isRangeError: 1,
  42178. get$length(receiver) {
  42179. return this.length;
  42180. }
  42181. };
  42182. A.NoSuchMethodError.prototype = {
  42183. toString$0(_) {
  42184. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42185. sb = new A.StringBuffer("");
  42186. _box_0.comma = "";
  42187. $arguments = _this._core$_arguments;
  42188. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42189. argument = $arguments[_i];
  42190. sb._contents = t2 + t3;
  42191. t2 = A.Error_safeToString(argument);
  42192. t2 = sb._contents += t2;
  42193. _box_0.comma = ", ";
  42194. }
  42195. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42196. receiverText = A.Error_safeToString(_this._core$_receiver);
  42197. actualParameters = sb.toString$0(0);
  42198. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42199. }
  42200. };
  42201. A.UnsupportedError.prototype = {
  42202. toString$0(_) {
  42203. return "Unsupported operation: " + this.message;
  42204. },
  42205. get$message(receiver) {
  42206. return this.message;
  42207. }
  42208. };
  42209. A.UnimplementedError.prototype = {
  42210. toString$0(_) {
  42211. return "UnimplementedError: " + this.message;
  42212. },
  42213. get$message(receiver) {
  42214. return this.message;
  42215. }
  42216. };
  42217. A.StateError.prototype = {
  42218. toString$0(_) {
  42219. return "Bad state: " + this.message;
  42220. },
  42221. get$message(receiver) {
  42222. return this.message;
  42223. }
  42224. };
  42225. A.ConcurrentModificationError.prototype = {
  42226. toString$0(_) {
  42227. var t1 = this.modifiedObject;
  42228. if (t1 == null)
  42229. return "Concurrent modification during iteration.";
  42230. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42231. }
  42232. };
  42233. A.OutOfMemoryError.prototype = {
  42234. toString$0(_) {
  42235. return "Out of Memory";
  42236. },
  42237. get$stackTrace() {
  42238. return null;
  42239. },
  42240. $isError: 1
  42241. };
  42242. A.StackOverflowError.prototype = {
  42243. toString$0(_) {
  42244. return "Stack Overflow";
  42245. },
  42246. get$stackTrace() {
  42247. return null;
  42248. },
  42249. $isError: 1
  42250. };
  42251. A._Exception.prototype = {
  42252. toString$0(_) {
  42253. return "Exception: " + this.message;
  42254. },
  42255. $isException: 1,
  42256. get$message(receiver) {
  42257. return this.message;
  42258. }
  42259. };
  42260. A.FormatException.prototype = {
  42261. toString$0(_) {
  42262. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42263. message = this.message,
  42264. report = "" !== message ? "FormatException: " + message : "FormatException",
  42265. offset = this.offset,
  42266. source = this.source;
  42267. if (typeof source == "string") {
  42268. if (offset != null)
  42269. t1 = offset < 0 || offset > source.length;
  42270. else
  42271. t1 = false;
  42272. if (t1)
  42273. offset = null;
  42274. if (offset == null) {
  42275. if (source.length > 78)
  42276. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42277. return report + "\n" + source;
  42278. }
  42279. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42280. char = source.charCodeAt(i);
  42281. if (char === 10) {
  42282. if (lineStart !== i || !previousCharWasCR)
  42283. ++lineNum;
  42284. lineStart = i + 1;
  42285. previousCharWasCR = false;
  42286. } else if (char === 13) {
  42287. ++lineNum;
  42288. lineStart = i + 1;
  42289. previousCharWasCR = true;
  42290. }
  42291. }
  42292. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42293. lineEnd = source.length;
  42294. for (i = offset; i < lineEnd; ++i) {
  42295. char = source.charCodeAt(i);
  42296. if (char === 10 || char === 13) {
  42297. lineEnd = i;
  42298. break;
  42299. }
  42300. }
  42301. prefix = "";
  42302. if (lineEnd - lineStart > 78) {
  42303. postfix = "...";
  42304. if (offset - lineStart < 75) {
  42305. end = lineStart + 75;
  42306. start = lineStart;
  42307. } else {
  42308. if (lineEnd - offset < 75) {
  42309. start = lineEnd - 75;
  42310. end = lineEnd;
  42311. postfix = "";
  42312. } else {
  42313. start = offset - 36;
  42314. end = offset + 36;
  42315. }
  42316. prefix = "...";
  42317. }
  42318. } else {
  42319. end = lineEnd;
  42320. start = lineStart;
  42321. postfix = "";
  42322. }
  42323. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42324. } else
  42325. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42326. },
  42327. $isException: 1,
  42328. get$message(receiver) {
  42329. return this.message;
  42330. }
  42331. };
  42332. A.Iterable.prototype = {
  42333. cast$1$0(_, $R) {
  42334. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42335. },
  42336. followedBy$1(_, other) {
  42337. var _this = this,
  42338. t1 = A._instanceType(_this);
  42339. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  42340. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  42341. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  42342. },
  42343. map$1$1(_, toElement, $T) {
  42344. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42345. },
  42346. where$1(_, test) {
  42347. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42348. },
  42349. expand$1$1(_, toElements, $T) {
  42350. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42351. },
  42352. contains$1(_, element) {
  42353. var t1;
  42354. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42355. if (J.$eq$(t1.get$current(t1), element))
  42356. return true;
  42357. return false;
  42358. },
  42359. forEach$1(_, action) {
  42360. var t1;
  42361. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42362. action.call$1(t1.get$current(t1));
  42363. },
  42364. fold$1$2(_, initialValue, combine) {
  42365. var t1, value;
  42366. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42367. value = combine.call$2(value, t1.get$current(t1));
  42368. return value;
  42369. },
  42370. fold$2(_, initialValue, combine) {
  42371. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42372. },
  42373. every$1(_, test) {
  42374. var t1;
  42375. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42376. if (!test.call$1(t1.get$current(t1)))
  42377. return false;
  42378. return true;
  42379. },
  42380. join$1(_, separator) {
  42381. var first, t1,
  42382. iterator = this.get$iterator(this);
  42383. if (!iterator.moveNext$0())
  42384. return "";
  42385. first = J.toString$0$(iterator.get$current(iterator));
  42386. if (!iterator.moveNext$0())
  42387. return first;
  42388. if (separator.length === 0) {
  42389. t1 = first;
  42390. do
  42391. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42392. while (iterator.moveNext$0());
  42393. } else {
  42394. t1 = first;
  42395. do
  42396. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42397. while (iterator.moveNext$0());
  42398. }
  42399. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42400. },
  42401. any$1(_, test) {
  42402. var t1;
  42403. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42404. if (test.call$1(t1.get$current(t1)))
  42405. return true;
  42406. return false;
  42407. },
  42408. toList$1$growable(_, growable) {
  42409. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  42410. },
  42411. toList$0(_) {
  42412. return this.toList$1$growable(0, true);
  42413. },
  42414. toSet$0(_) {
  42415. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42416. },
  42417. get$length(_) {
  42418. var count,
  42419. it = this.get$iterator(this);
  42420. for (count = 0; it.moveNext$0();)
  42421. ++count;
  42422. return count;
  42423. },
  42424. get$isEmpty(_) {
  42425. return !this.get$iterator(this).moveNext$0();
  42426. },
  42427. get$isNotEmpty(_) {
  42428. return !this.get$isEmpty(this);
  42429. },
  42430. take$1(_, count) {
  42431. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42432. },
  42433. skip$1(_, count) {
  42434. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42435. },
  42436. skipWhile$1(_, test) {
  42437. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42438. },
  42439. get$first(_) {
  42440. var it = this.get$iterator(this);
  42441. if (!it.moveNext$0())
  42442. throw A.wrapException(A.IterableElementError_noElement());
  42443. return it.get$current(it);
  42444. },
  42445. get$last(_) {
  42446. var result,
  42447. it = this.get$iterator(this);
  42448. if (!it.moveNext$0())
  42449. throw A.wrapException(A.IterableElementError_noElement());
  42450. do
  42451. result = it.get$current(it);
  42452. while (it.moveNext$0());
  42453. return result;
  42454. },
  42455. get$single(_) {
  42456. var result,
  42457. it = this.get$iterator(this);
  42458. if (!it.moveNext$0())
  42459. throw A.wrapException(A.IterableElementError_noElement());
  42460. result = it.get$current(it);
  42461. if (it.moveNext$0())
  42462. throw A.wrapException(A.IterableElementError_tooMany());
  42463. return result;
  42464. },
  42465. elementAt$1(_, index) {
  42466. var iterator, skipCount;
  42467. A.RangeError_checkNotNegative(index, "index");
  42468. iterator = this.get$iterator(this);
  42469. for (skipCount = index; iterator.moveNext$0();) {
  42470. if (skipCount === 0)
  42471. return iterator.get$current(iterator);
  42472. --skipCount;
  42473. }
  42474. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42475. },
  42476. toString$0(_) {
  42477. return A.Iterable_iterableToShortString(this, "(", ")");
  42478. }
  42479. };
  42480. A._GeneratorIterable.prototype = {
  42481. elementAt$1(_, index) {
  42482. A.IndexError_check(index, this.length, this, null, null);
  42483. return this._generator.call$1(index);
  42484. },
  42485. get$length(receiver) {
  42486. return this.length;
  42487. }
  42488. };
  42489. A.MapEntry.prototype = {
  42490. toString$0(_) {
  42491. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42492. }
  42493. };
  42494. A.Null.prototype = {
  42495. get$hashCode(_) {
  42496. return A.Object.prototype.get$hashCode.call(this, 0);
  42497. },
  42498. toString$0(_) {
  42499. return "null";
  42500. }
  42501. };
  42502. A.Object.prototype = {$isObject: 1,
  42503. $eq(_, other) {
  42504. return this === other;
  42505. },
  42506. get$hashCode(_) {
  42507. return A.Primitives_objectHashCode(this);
  42508. },
  42509. toString$0(_) {
  42510. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42511. },
  42512. noSuchMethod$1(_, invocation) {
  42513. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42514. },
  42515. get$runtimeType(_) {
  42516. return A.getRuntimeTypeOfDartObject(this);
  42517. },
  42518. toString() {
  42519. return this.toString$0(this);
  42520. }
  42521. };
  42522. A._StringStackTrace.prototype = {
  42523. toString$0(_) {
  42524. return this._stackTrace;
  42525. },
  42526. $isStackTrace: 1
  42527. };
  42528. A.Runes.prototype = {
  42529. get$iterator(_) {
  42530. return new A.RuneIterator(this.string);
  42531. },
  42532. get$last(_) {
  42533. var code, previousCode,
  42534. t1 = this.string,
  42535. t2 = t1.length;
  42536. if (t2 === 0)
  42537. throw A.wrapException(A.StateError$("No elements."));
  42538. code = t1.charCodeAt(t2 - 1);
  42539. if ((code & 64512) === 56320 && t2 > 1) {
  42540. previousCode = t1.charCodeAt(t2 - 2);
  42541. if ((previousCode & 64512) === 55296)
  42542. return A._combineSurrogatePair(previousCode, code);
  42543. }
  42544. return code;
  42545. }
  42546. };
  42547. A.RuneIterator.prototype = {
  42548. get$current(_) {
  42549. return this._currentCodePoint;
  42550. },
  42551. moveNext$0() {
  42552. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42553. t1 = _this._position = _this._nextPosition,
  42554. t2 = _this.string,
  42555. t3 = t2.length;
  42556. if (t1 === t3) {
  42557. _this._currentCodePoint = -1;
  42558. return false;
  42559. }
  42560. codeUnit = t2.charCodeAt(t1);
  42561. nextPosition = t1 + 1;
  42562. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42563. nextCodeUnit = t2.charCodeAt(nextPosition);
  42564. if ((nextCodeUnit & 64512) === 56320) {
  42565. _this._nextPosition = nextPosition + 1;
  42566. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42567. return true;
  42568. }
  42569. }
  42570. _this._nextPosition = nextPosition;
  42571. _this._currentCodePoint = codeUnit;
  42572. return true;
  42573. }
  42574. };
  42575. A.StringBuffer.prototype = {
  42576. get$length(_) {
  42577. return this._contents.length;
  42578. },
  42579. write$1(_, obj) {
  42580. var t1 = A.S(obj);
  42581. this._contents += t1;
  42582. },
  42583. writeCharCode$1(charCode) {
  42584. var t1 = A.Primitives_stringFromCharCode(charCode);
  42585. this._contents += t1;
  42586. },
  42587. toString$0(_) {
  42588. var t1 = this._contents;
  42589. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42590. }
  42591. };
  42592. A.Uri__parseIPv4Address_error.prototype = {
  42593. call$2(msg, position) {
  42594. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  42595. },
  42596. $signature: 523
  42597. };
  42598. A.Uri_parseIPv6Address_error.prototype = {
  42599. call$2(msg, position) {
  42600. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42601. },
  42602. $signature: 521
  42603. };
  42604. A.Uri_parseIPv6Address_parseHex.prototype = {
  42605. call$2(start, end) {
  42606. var value;
  42607. if (end - start > 4)
  42608. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  42609. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  42610. if (value < 0 || value > 65535)
  42611. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  42612. return value;
  42613. },
  42614. $signature: 508
  42615. };
  42616. A._Uri.prototype = {
  42617. get$_text() {
  42618. var t1, t2, t3, t4, _this = this,
  42619. value = _this.___Uri__text_FI;
  42620. if (value === $) {
  42621. t1 = _this.scheme;
  42622. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  42623. t3 = _this._host;
  42624. t4 = t3 == null;
  42625. if (!t4 || t1 === "file") {
  42626. t1 = t2 + "//";
  42627. t2 = _this._userInfo;
  42628. if (t2.length !== 0)
  42629. t1 = t1 + t2 + "@";
  42630. if (!t4)
  42631. t1 += t3;
  42632. t2 = _this._port;
  42633. if (t2 != null)
  42634. t1 = t1 + ":" + A.S(t2);
  42635. } else
  42636. t1 = t2;
  42637. t1 += _this.path;
  42638. t2 = _this._query;
  42639. if (t2 != null)
  42640. t1 = t1 + "?" + t2;
  42641. t2 = _this._fragment;
  42642. if (t2 != null)
  42643. t1 = t1 + "#" + t2;
  42644. value !== $ && A.throwUnnamedLateFieldADI();
  42645. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42646. }
  42647. return value;
  42648. },
  42649. get$pathSegments() {
  42650. var pathToSplit, result, _this = this,
  42651. value = _this.___Uri_pathSegments_FI;
  42652. if (value === $) {
  42653. pathToSplit = _this.path;
  42654. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42655. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42656. 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);
  42657. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42658. value = _this.___Uri_pathSegments_FI = result;
  42659. }
  42660. return value;
  42661. },
  42662. get$hashCode(_) {
  42663. var result, _this = this,
  42664. value = _this.___Uri_hashCode_FI;
  42665. if (value === $) {
  42666. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42667. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42668. _this.___Uri_hashCode_FI = result;
  42669. value = result;
  42670. }
  42671. return value;
  42672. },
  42673. get$userInfo() {
  42674. return this._userInfo;
  42675. },
  42676. get$host() {
  42677. var host = this._host;
  42678. if (host == null)
  42679. return "";
  42680. if (B.JSString_methods.startsWith$1(host, "["))
  42681. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42682. return host;
  42683. },
  42684. get$port(_) {
  42685. var t1 = this._port;
  42686. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42687. },
  42688. get$query() {
  42689. var t1 = this._query;
  42690. return t1 == null ? "" : t1;
  42691. },
  42692. get$fragment() {
  42693. var t1 = this._fragment;
  42694. return t1 == null ? "" : t1;
  42695. },
  42696. isScheme$1(scheme) {
  42697. var thisScheme = this.scheme;
  42698. if (scheme.length !== thisScheme.length)
  42699. return false;
  42700. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42701. },
  42702. replace$1$scheme(scheme) {
  42703. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42704. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42705. isFile = scheme === "file";
  42706. userInfo = _this._userInfo;
  42707. port = _this._port;
  42708. if (scheme !== _this.scheme)
  42709. port = A._Uri__makePort(port, scheme);
  42710. host = _this._host;
  42711. if (!(host != null))
  42712. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42713. currentPath = _this.path;
  42714. if (!isFile)
  42715. t1 = host != null && currentPath.length !== 0;
  42716. else
  42717. t1 = true;
  42718. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42719. currentPath = "/" + currentPath;
  42720. path = currentPath;
  42721. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42722. },
  42723. _mergePaths$2(base, reference) {
  42724. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42725. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42726. refStart += 3;
  42727. ++backCount;
  42728. }
  42729. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42730. while (true) {
  42731. if (!(baseEnd > 0 && backCount > 0))
  42732. break;
  42733. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42734. if (newEnd < 0)
  42735. break;
  42736. delta = baseEnd - newEnd;
  42737. t1 = delta !== 2;
  42738. t2 = false;
  42739. if (!t1 || delta === 3)
  42740. if (base.charCodeAt(newEnd + 1) === 46)
  42741. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42742. else
  42743. t1 = t2;
  42744. else
  42745. t1 = t2;
  42746. if (t1)
  42747. break;
  42748. --backCount;
  42749. baseEnd = newEnd;
  42750. }
  42751. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42752. },
  42753. resolve$1(_, reference) {
  42754. return this.resolveUri$1(A.Uri_parse(reference));
  42755. },
  42756. resolveUri$1(reference) {
  42757. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42758. if (reference.get$scheme().length !== 0) {
  42759. if (type$._PlatformUri._is(reference))
  42760. return reference;
  42761. targetScheme = reference.get$scheme();
  42762. if (reference.get$hasAuthority()) {
  42763. targetUserInfo = reference.get$userInfo();
  42764. targetHost = reference.get$host();
  42765. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42766. } else {
  42767. targetPort = _null;
  42768. targetHost = targetPort;
  42769. targetUserInfo = "";
  42770. }
  42771. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42772. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42773. split = 0;
  42774. } else {
  42775. targetScheme = _this.scheme;
  42776. if (reference.get$hasAuthority()) {
  42777. if (type$._PlatformUri._is(reference))
  42778. return reference.replace$1$scheme(targetScheme);
  42779. targetUserInfo = reference.get$userInfo();
  42780. targetHost = reference.get$host();
  42781. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42782. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42783. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42784. split = 1;
  42785. } else {
  42786. targetUserInfo = _this._userInfo;
  42787. targetHost = _this._host;
  42788. targetPort = _this._port;
  42789. targetPath = _this.path;
  42790. if (reference.get$hasEmptyPath())
  42791. if (reference.get$hasQuery()) {
  42792. targetQuery = reference.get$query();
  42793. split = 3;
  42794. } else {
  42795. targetQuery = _this._query;
  42796. split = 4;
  42797. }
  42798. else {
  42799. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  42800. if (packageNameEnd > 0) {
  42801. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  42802. 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)));
  42803. } else if (reference.get$hasAbsolutePath())
  42804. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42805. else if (targetPath.length === 0)
  42806. if (targetHost == null)
  42807. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  42808. else
  42809. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  42810. else {
  42811. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  42812. t1 = targetScheme.length === 0;
  42813. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  42814. targetPath = A._Uri__removeDotSegments(mergedPath);
  42815. else
  42816. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  42817. }
  42818. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42819. split = 2;
  42820. }
  42821. }
  42822. }
  42823. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  42824. if (!type$._PlatformUri._is(reference)) {
  42825. if (split === 0)
  42826. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  42827. if (split <= 1) {
  42828. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  42829. if (targetPort != null)
  42830. targetPort = A._Uri__makePort(targetPort, targetScheme);
  42831. if (targetHost != null && targetHost.length !== 0)
  42832. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  42833. }
  42834. t1 = split <= 3;
  42835. if (t1)
  42836. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  42837. if (t1 && targetQuery != null)
  42838. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  42839. if (fragment != null)
  42840. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  42841. }
  42842. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  42843. },
  42844. get$hasAuthority() {
  42845. return this._host != null;
  42846. },
  42847. get$hasPort() {
  42848. return this._port != null;
  42849. },
  42850. get$hasQuery() {
  42851. return this._query != null;
  42852. },
  42853. get$hasFragment() {
  42854. return this._fragment != null;
  42855. },
  42856. get$hasEmptyPath() {
  42857. return this.path.length === 0;
  42858. },
  42859. get$hasAbsolutePath() {
  42860. return B.JSString_methods.startsWith$1(this.path, "/");
  42861. },
  42862. toFilePath$0() {
  42863. var pathSegments, _this = this,
  42864. t1 = _this.scheme;
  42865. if (t1 !== "" && t1 !== "file")
  42866. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  42867. t1 = _this._query;
  42868. if ((t1 == null ? "" : t1) !== "")
  42869. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  42870. t1 = _this._fragment;
  42871. if ((t1 == null ? "" : t1) !== "")
  42872. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  42873. t1 = $.$get$_Uri__isWindowsCached();
  42874. if (t1)
  42875. t1 = A._Uri__toWindowsFilePath(_this);
  42876. else {
  42877. if (_this._host != null && _this.get$host() !== "")
  42878. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  42879. pathSegments = _this.get$pathSegments();
  42880. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  42881. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  42882. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  42883. }
  42884. return t1;
  42885. },
  42886. toString$0(_) {
  42887. return this.get$_text();
  42888. },
  42889. $eq(_, other) {
  42890. var t1, t2, t3, _this = this;
  42891. if (other == null)
  42892. return false;
  42893. if (_this === other)
  42894. return true;
  42895. t1 = false;
  42896. if (type$.Uri._is(other))
  42897. if (_this.scheme === other.get$scheme())
  42898. if (_this._host != null === other.get$hasAuthority())
  42899. if (_this._userInfo === other.get$userInfo())
  42900. if (_this.get$host() === other.get$host())
  42901. if (_this.get$port(0) === other.get$port(other))
  42902. if (_this.path === other.get$path(other)) {
  42903. t2 = _this._query;
  42904. t3 = t2 == null;
  42905. if (!t3 === other.get$hasQuery()) {
  42906. if (t3)
  42907. t2 = "";
  42908. if (t2 === other.get$query()) {
  42909. t2 = _this._fragment;
  42910. t3 = t2 == null;
  42911. if (!t3 === other.get$hasFragment()) {
  42912. t1 = t3 ? "" : t2;
  42913. t1 = t1 === other.get$fragment();
  42914. }
  42915. }
  42916. }
  42917. }
  42918. return t1;
  42919. },
  42920. $isUri: 1,
  42921. $is_PlatformUri: 1,
  42922. get$scheme() {
  42923. return this.scheme;
  42924. },
  42925. get$path(receiver) {
  42926. return this.path;
  42927. }
  42928. };
  42929. A._Uri__makePath_closure.prototype = {
  42930. call$1(s) {
  42931. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  42932. },
  42933. $signature: 6
  42934. };
  42935. A.UriData.prototype = {
  42936. get$uri() {
  42937. var t2, queryIndex, end, query, _this = this, _null = null,
  42938. t1 = _this._uriCache;
  42939. if (t1 == null) {
  42940. t1 = _this._text;
  42941. t2 = _this._separatorIndices[0] + 1;
  42942. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  42943. end = t1.length;
  42944. if (queryIndex >= 0) {
  42945. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  42946. end = queryIndex;
  42947. } else
  42948. query = _null;
  42949. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  42950. }
  42951. return t1;
  42952. },
  42953. toString$0(_) {
  42954. var t1 = this._text;
  42955. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  42956. }
  42957. };
  42958. A._SimpleUri.prototype = {
  42959. get$hasAuthority() {
  42960. return this._hostStart > 0;
  42961. },
  42962. get$hasPort() {
  42963. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  42964. },
  42965. get$hasQuery() {
  42966. return this._queryStart < this._fragmentStart;
  42967. },
  42968. get$hasFragment() {
  42969. return this._fragmentStart < this._uri.length;
  42970. },
  42971. get$hasAbsolutePath() {
  42972. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  42973. },
  42974. get$hasEmptyPath() {
  42975. return this._pathStart === this._queryStart;
  42976. },
  42977. get$scheme() {
  42978. var t1 = this._schemeCache;
  42979. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  42980. },
  42981. _computeScheme$0() {
  42982. var t2, _this = this,
  42983. t1 = _this._schemeEnd;
  42984. if (t1 <= 0)
  42985. return "";
  42986. t2 = t1 === 4;
  42987. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42988. return "http";
  42989. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42990. return "https";
  42991. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  42992. return "file";
  42993. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  42994. return "package";
  42995. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  42996. },
  42997. get$userInfo() {
  42998. var t1 = this._hostStart,
  42999. t2 = this._schemeEnd + 3;
  43000. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  43001. },
  43002. get$host() {
  43003. var t1 = this._hostStart;
  43004. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  43005. },
  43006. get$port(_) {
  43007. var t1, _this = this;
  43008. if (_this.get$hasPort())
  43009. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  43010. t1 = _this._schemeEnd;
  43011. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  43012. return 80;
  43013. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  43014. return 443;
  43015. return 0;
  43016. },
  43017. get$path(_) {
  43018. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  43019. },
  43020. get$query() {
  43021. var t1 = this._queryStart,
  43022. t2 = this._fragmentStart;
  43023. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  43024. },
  43025. get$fragment() {
  43026. var t1 = this._fragmentStart,
  43027. t2 = this._uri;
  43028. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  43029. },
  43030. get$pathSegments() {
  43031. var parts, i,
  43032. start = this._pathStart,
  43033. end = this._queryStart,
  43034. t1 = this._uri;
  43035. if (B.JSString_methods.startsWith$2(t1, "/", start))
  43036. ++start;
  43037. if (start === end)
  43038. return B.List_empty;
  43039. parts = A._setArrayType([], type$.JSArray_String);
  43040. for (i = start; i < end; ++i)
  43041. if (t1.charCodeAt(i) === 47) {
  43042. parts.push(B.JSString_methods.substring$2(t1, start, i));
  43043. start = i + 1;
  43044. }
  43045. parts.push(B.JSString_methods.substring$2(t1, start, end));
  43046. return A.List_List$unmodifiable(parts, type$.String);
  43047. },
  43048. _isPort$1(port) {
  43049. var portDigitStart = this._portStart + 1;
  43050. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  43051. },
  43052. removeFragment$0() {
  43053. var _this = this,
  43054. t1 = _this._fragmentStart,
  43055. t2 = _this._uri;
  43056. if (t1 >= t2.length)
  43057. return _this;
  43058. 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);
  43059. },
  43060. replace$1$scheme(scheme) {
  43061. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  43062. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  43063. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  43064. isFile = scheme === "file";
  43065. t1 = _this._hostStart;
  43066. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  43067. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  43068. if (schemeChanged)
  43069. port = A._Uri__makePort(port, scheme);
  43070. t1 = _this._hostStart;
  43071. if (t1 > 0)
  43072. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  43073. else
  43074. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  43075. t1 = _this._uri;
  43076. t2 = _this._queryStart;
  43077. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  43078. if (!isFile)
  43079. t3 = host != null && path.length !== 0;
  43080. else
  43081. t3 = true;
  43082. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  43083. path = "/" + path;
  43084. t3 = _this._fragmentStart;
  43085. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  43086. t2 = _this._fragmentStart;
  43087. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  43088. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  43089. },
  43090. resolve$1(_, reference) {
  43091. return this.resolveUri$1(A.Uri_parse(reference));
  43092. },
  43093. resolveUri$1(reference) {
  43094. if (reference instanceof A._SimpleUri)
  43095. return this._simpleMerge$2(this, reference);
  43096. return this._toNonSimple$0().resolveUri$1(reference);
  43097. },
  43098. _simpleMerge$2(base, ref) {
  43099. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  43100. t1 = ref._schemeEnd;
  43101. if (t1 > 0)
  43102. return ref;
  43103. t2 = ref._hostStart;
  43104. if (t2 > 0) {
  43105. t3 = base._schemeEnd;
  43106. if (t3 <= 0)
  43107. return ref;
  43108. t4 = t3 === 4;
  43109. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  43110. isSimple = ref._pathStart !== ref._queryStart;
  43111. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  43112. isSimple = !ref._isPort$1("80");
  43113. else
  43114. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  43115. if (isSimple) {
  43116. delta = t3 + 1;
  43117. 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);
  43118. } else
  43119. return this._toNonSimple$0().resolveUri$1(ref);
  43120. }
  43121. refStart = ref._pathStart;
  43122. t1 = ref._queryStart;
  43123. if (refStart === t1) {
  43124. t2 = ref._fragmentStart;
  43125. if (t1 < t2) {
  43126. t3 = base._queryStart;
  43127. delta = t3 - t1;
  43128. 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);
  43129. }
  43130. t1 = ref._uri;
  43131. if (t2 < t1.length) {
  43132. t3 = base._fragmentStart;
  43133. 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);
  43134. }
  43135. return base.removeFragment$0();
  43136. }
  43137. t2 = ref._uri;
  43138. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43139. basePathStart = base._pathStart;
  43140. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43141. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43142. delta = basePathStart0 - refStart;
  43143. 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);
  43144. }
  43145. baseStart = base._pathStart;
  43146. baseEnd = base._queryStart;
  43147. if (baseStart === baseEnd && base._hostStart > 0) {
  43148. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  43149. refStart += 3;
  43150. delta = baseStart - refStart + 1;
  43151. 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);
  43152. }
  43153. baseUri = base._uri;
  43154. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43155. if (packageNameEnd >= 0)
  43156. baseStart0 = packageNameEnd;
  43157. else
  43158. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43159. baseStart0 += 3;
  43160. backCount = 0;
  43161. while (true) {
  43162. refStart0 = refStart + 3;
  43163. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43164. break;
  43165. ++backCount;
  43166. refStart = refStart0;
  43167. }
  43168. for (insert = ""; baseEnd > baseStart0;) {
  43169. --baseEnd;
  43170. if (baseUri.charCodeAt(baseEnd) === 47) {
  43171. if (backCount === 0) {
  43172. insert = "/";
  43173. break;
  43174. }
  43175. --backCount;
  43176. insert = "/";
  43177. }
  43178. }
  43179. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43180. refStart -= backCount * 3;
  43181. insert = "";
  43182. }
  43183. delta = baseEnd - refStart + insert.length;
  43184. 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);
  43185. },
  43186. toFilePath$0() {
  43187. var t2, t3, _this = this,
  43188. t1 = _this._schemeEnd;
  43189. if (t1 >= 0) {
  43190. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43191. t1 = t2;
  43192. } else
  43193. t1 = false;
  43194. if (t1)
  43195. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43196. t1 = _this._queryStart;
  43197. t2 = _this._uri;
  43198. if (t1 < t2.length) {
  43199. if (t1 < _this._fragmentStart)
  43200. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43201. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43202. }
  43203. t3 = $.$get$_Uri__isWindowsCached();
  43204. if (t3)
  43205. t1 = A._Uri__toWindowsFilePath(_this);
  43206. else {
  43207. if (_this._hostStart < _this._portStart)
  43208. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43209. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43210. }
  43211. return t1;
  43212. },
  43213. get$hashCode(_) {
  43214. var t1 = this._hashCodeCache;
  43215. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43216. },
  43217. $eq(_, other) {
  43218. if (other == null)
  43219. return false;
  43220. if (this === other)
  43221. return true;
  43222. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43223. },
  43224. _toNonSimple$0() {
  43225. var _this = this, _null = null,
  43226. t1 = _this.get$scheme(),
  43227. t2 = _this.get$userInfo(),
  43228. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43229. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43230. t5 = _this._uri,
  43231. t6 = _this._queryStart,
  43232. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43233. t8 = _this._fragmentStart;
  43234. t6 = t6 < t8 ? _this.get$query() : _null;
  43235. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43236. },
  43237. toString$0(_) {
  43238. return this._uri;
  43239. },
  43240. $isUri: 1,
  43241. $is_PlatformUri: 1
  43242. };
  43243. A._DataUri.prototype = {};
  43244. A.Expando.prototype = {
  43245. $indexSet(_, object, value) {
  43246. if (object instanceof A._Record)
  43247. A.Expando__badExpandoKey(object);
  43248. this._jsWeakMap.set(object, value);
  43249. },
  43250. toString$0(_) {
  43251. return "Expando:null";
  43252. }
  43253. };
  43254. A.jsify__convert.prototype = {
  43255. call$1(o) {
  43256. var t1, convertedMap, key, convertedList;
  43257. if (A._noJsifyRequired(o))
  43258. return o;
  43259. t1 = this._convertedObjects;
  43260. if (t1.containsKey$1(o))
  43261. return t1.$index(0, o);
  43262. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  43263. convertedMap = {};
  43264. t1.$indexSet(0, o, convertedMap);
  43265. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  43266. key = t1.get$current(t1);
  43267. convertedMap[key] = this.call$1(o.$index(0, key));
  43268. }
  43269. return convertedMap;
  43270. } else if (type$.Iterable_nullable_Object._is(o)) {
  43271. convertedList = [];
  43272. t1.$indexSet(0, o, convertedList);
  43273. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43274. return convertedList;
  43275. } else
  43276. return o;
  43277. },
  43278. $signature: 467
  43279. };
  43280. A.promiseToFuture_closure.prototype = {
  43281. call$1(r) {
  43282. return this.completer.complete$1(r);
  43283. },
  43284. $signature: 77
  43285. };
  43286. A.promiseToFuture_closure0.prototype = {
  43287. call$1(e) {
  43288. if (e == null)
  43289. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43290. return this.completer.completeError$1(e);
  43291. },
  43292. $signature: 77
  43293. };
  43294. A.NullRejectionException.prototype = {
  43295. toString$0(_) {
  43296. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43297. },
  43298. $isException: 1
  43299. };
  43300. A._JSRandom.prototype = {
  43301. nextInt$1(max) {
  43302. if (max <= 0 || max > 4294967296)
  43303. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43304. return Math.random() * max >>> 0;
  43305. },
  43306. nextDouble$0() {
  43307. return Math.random();
  43308. }
  43309. };
  43310. A.ArgParser.prototype = {
  43311. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43312. var _null = null;
  43313. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, negatable);
  43314. },
  43315. addFlag$2$hide($name, hide) {
  43316. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43317. },
  43318. addFlag$2$help($name, help) {
  43319. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43320. },
  43321. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43322. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43323. },
  43324. addFlag$3$help$negatable($name, help, negatable) {
  43325. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43326. },
  43327. addFlag$3$abbr$help($name, abbr, help) {
  43328. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43329. },
  43330. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43331. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43332. },
  43333. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43334. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43335. },
  43336. addOption$2$hide($name, hide) {
  43337. var _null = null;
  43338. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43339. },
  43340. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43341. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43342. },
  43343. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43344. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43345. },
  43346. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43347. var t1 = A._setArrayType([], type$.JSArray_String);
  43348. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43349. },
  43350. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43351. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43352. },
  43353. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43354. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43355. },
  43356. addMultiOption$2$help($name, help) {
  43357. var _null = null;
  43358. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43359. },
  43360. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  43361. var existing, t2, t3, option, _i, _this = this, _null = null,
  43362. t1 = A._setArrayType([$name], type$.JSArray_String);
  43363. B.JSArray_methods.addAll$1(t1, aliases);
  43364. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43365. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43366. t1 = abbr != null;
  43367. if (t1) {
  43368. existing = _this.findByAbbreviation$1(abbr);
  43369. if (existing != null)
  43370. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43371. }
  43372. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43373. if (allowedHelp == null)
  43374. t3 = _null;
  43375. else {
  43376. t3 = type$.String;
  43377. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43378. }
  43379. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43380. if ($name.length === 0)
  43381. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43382. else if (B.JSString_methods.startsWith$1($name, "-"))
  43383. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43384. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43385. if (t2.test($name))
  43386. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43387. if (t1) {
  43388. if (abbr.length !== 1)
  43389. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43390. else if (abbr === "-")
  43391. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43392. if (t2.test(abbr))
  43393. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43394. }
  43395. _this._arg_parser$_options.$indexSet(0, $name, option);
  43396. _this._optionsAndSeparators.push(option);
  43397. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43398. t1.$indexSet(0, aliases[_i], $name);
  43399. },
  43400. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43401. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  43402. },
  43403. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43404. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  43405. },
  43406. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  43407. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  43408. },
  43409. findByAbbreviation$1(abbr) {
  43410. var t1, t2;
  43411. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43412. t2 = t1.get$current(t1);
  43413. if (t2.abbr === abbr)
  43414. return t2;
  43415. }
  43416. return null;
  43417. },
  43418. findByNameOrAlias$1($name) {
  43419. var t1 = this._aliases.$index(0, $name);
  43420. if (t1 == null)
  43421. t1 = $name;
  43422. return this.options._map.$index(0, t1);
  43423. }
  43424. };
  43425. A.ArgParser__addOption_closure.prototype = {
  43426. call$1($name) {
  43427. return this.$this.findByNameOrAlias$1($name) != null;
  43428. },
  43429. $signature: 5
  43430. };
  43431. A.ArgParserException.prototype = {};
  43432. A.ArgResults.prototype = {
  43433. $index(_, $name) {
  43434. var t1 = this._parser.options._map;
  43435. if (!t1.containsKey$1($name))
  43436. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43437. t1 = t1.$index(0, $name);
  43438. t1.toString;
  43439. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43440. },
  43441. wasParsed$1($name) {
  43442. if (!this._parser.options._map.containsKey$1($name))
  43443. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43444. return this._parsed.containsKey$1($name);
  43445. }
  43446. };
  43447. A.Option.prototype = {
  43448. valueOrDefault$1(value) {
  43449. var t1;
  43450. if (value != null)
  43451. return value;
  43452. if (this.type === B.OptionType_1Ol) {
  43453. t1 = this.defaultsTo;
  43454. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43455. }
  43456. return this.defaultsTo;
  43457. }
  43458. };
  43459. A.OptionType.prototype = {};
  43460. A.Parser0.prototype = {
  43461. parse$0(_) {
  43462. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43463. t2 = _this._args;
  43464. t2.toList$0(0);
  43465. commandResults = null;
  43466. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43467. t7 = t2._head;
  43468. if (t7 === t2._tail)
  43469. A.throwExpression(A.IterableElementError_noElement());
  43470. t7 = t2._table[t7];
  43471. t8 = t7 == null;
  43472. if ((t8 ? t6._as(t7) : t7) === "--") {
  43473. t2.removeFirst$0();
  43474. break;
  43475. }
  43476. if (t8)
  43477. t7 = t6._as(t7);
  43478. command = t5._map.$index(0, t7);
  43479. if (command != null) {
  43480. t5 = t3.length;
  43481. t7 = t2._head;
  43482. if (t7 === t2._tail)
  43483. A.throwExpression(A.IterableElementError_noElement());
  43484. t7 = t2._table[t7];
  43485. t6 = t7 == null ? t6._as(t7) : t7;
  43486. if (t5 !== 0)
  43487. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43488. commandName = t2.removeFirst$0();
  43489. t5 = type$.JSArray_String;
  43490. t6 = A._setArrayType([], t5);
  43491. B.JSArray_methods.addAll$1(t6, t3);
  43492. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43493. try {
  43494. commandResults = J.parse$0$z(commandParser);
  43495. } catch (exception) {
  43496. t2 = A.unwrapException(exception);
  43497. if (t2 instanceof A.ArgParserException) {
  43498. error = t2;
  43499. t2 = error.message;
  43500. t1 = A._setArrayType([commandName], t5);
  43501. J.addAll$1$ax(t1, error.commands);
  43502. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43503. } else
  43504. throw exception;
  43505. }
  43506. B.JSArray_methods.clear$0(t3);
  43507. break;
  43508. }
  43509. if (_this._parseSoloOption$0())
  43510. continue;
  43511. if (_this._parseAbbreviation$1(_this))
  43512. continue;
  43513. if (_this._parseLongOption$0())
  43514. continue;
  43515. t3.push(t2.removeFirst$0());
  43516. }
  43517. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43518. B.JSArray_methods.addAll$1(t3, t2);
  43519. t2.clear$0(0);
  43520. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43521. },
  43522. _readNextArgAsValue$2(option, arg) {
  43523. var _this = this,
  43524. t1 = _this._args;
  43525. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43526. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43527. t1.removeFirst$0();
  43528. },
  43529. _parseSoloOption$0() {
  43530. var opt,
  43531. t1 = this._args;
  43532. if (t1.get$first(0).length !== 2)
  43533. return false;
  43534. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43535. return false;
  43536. opt = t1.get$first(0)[1];
  43537. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43538. return false;
  43539. this._handleSoloOption$1(opt);
  43540. return true;
  43541. },
  43542. _handleSoloOption$1(opt) {
  43543. var t1, _this = this,
  43544. option = _this._grammar.findByAbbreviation$1(opt);
  43545. if (option == null) {
  43546. t1 = _this._parser$_parent;
  43547. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43548. t1._handleSoloOption$1(opt);
  43549. return true;
  43550. }
  43551. _this._args.removeFirst$0();
  43552. if (option.type === B.OptionType_tI9)
  43553. _this._results.$indexSet(0, option.name, true);
  43554. else
  43555. _this._readNextArgAsValue$2(option, "-" + opt);
  43556. return true;
  43557. },
  43558. _parseAbbreviation$1(innermostCommand) {
  43559. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43560. t1 = this._args;
  43561. if (t1.get$first(0).length < 2)
  43562. return false;
  43563. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43564. return false;
  43565. t2 = t1.$ti._precomputed1;
  43566. index = 1;
  43567. while (true) {
  43568. t3 = t1._head;
  43569. if (t3 === t1._tail)
  43570. A.throwExpression(A.IterableElementError_noElement());
  43571. t3 = t1._table[t3];
  43572. t4 = t3 == null;
  43573. if (index < (t4 ? t2._as(t3) : t3).length) {
  43574. t5 = true;
  43575. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43576. if (!(t3 >= 65 && t3 <= 90))
  43577. if (!(t3 >= 97 && t3 <= 122))
  43578. t3 = t3 >= 48 && t3 <= 57;
  43579. else
  43580. t3 = t5;
  43581. else
  43582. t3 = t5;
  43583. } else
  43584. t3 = false;
  43585. if (!t3)
  43586. break;
  43587. ++index;
  43588. }
  43589. if (index === 1)
  43590. return false;
  43591. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43592. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43593. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43594. return false;
  43595. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43596. return true;
  43597. },
  43598. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43599. var t1, i, i0, _this = this,
  43600. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43601. first = _this._grammar.findByAbbreviation$1(c);
  43602. if (first == null) {
  43603. t1 = _this._parser$_parent;
  43604. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43605. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43606. return true;
  43607. } else {
  43608. t1 = "-" + c;
  43609. if (first.type !== B.OptionType_tI9)
  43610. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43611. else {
  43612. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43613. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43614. i0 = i + 1;
  43615. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43616. }
  43617. }
  43618. }
  43619. _this._args.removeFirst$0();
  43620. return true;
  43621. },
  43622. _parseShortFlag$1(c) {
  43623. var t1, _this = this,
  43624. option = _this._grammar.findByAbbreviation$1(c);
  43625. if (option == null) {
  43626. t1 = _this._parser$_parent;
  43627. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43628. t1._parseShortFlag$1(c);
  43629. return;
  43630. }
  43631. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43632. _this._results.$indexSet(0, option.name, true);
  43633. },
  43634. _parseLongOption$0() {
  43635. var index, t2, $name, t3, i, t4, t5, value,
  43636. t1 = this._args;
  43637. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43638. return false;
  43639. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43640. t2 = index === -1;
  43641. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43642. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43643. t4 = $name.charCodeAt(i);
  43644. t5 = true;
  43645. if (!(t4 >= 65 && t4 <= 90))
  43646. if (!(t4 >= 97 && t4 <= 122))
  43647. t5 = t4 >= 48 && t4 <= 57;
  43648. if (!(t5 || t4 === 45 || t4 === 95))
  43649. return false;
  43650. }
  43651. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43652. if (value != null)
  43653. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43654. else
  43655. t1 = false;
  43656. if (t1)
  43657. return false;
  43658. this._handleLongOption$2($name, value);
  43659. return true;
  43660. },
  43661. _handleLongOption$2($name, value) {
  43662. var _this = this,
  43663. _s34_ = 'Could not find an option named "--',
  43664. t1 = _this._grammar,
  43665. option = t1.findByNameOrAlias$1($name);
  43666. if (option != null) {
  43667. _this._args.removeFirst$0();
  43668. if (option.type === B.OptionType_tI9) {
  43669. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43670. _this._results.$indexSet(0, option.name, true);
  43671. } else {
  43672. t1 = "--" + $name;
  43673. if (value != null)
  43674. _this._setOption$4(_this._results, option, value, t1);
  43675. else
  43676. _this._readNextArgAsValue$2(option, t1);
  43677. }
  43678. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43679. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43680. if (option == null) {
  43681. t1 = _this._parser$_parent;
  43682. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43683. t1._handleLongOption$2($name, value);
  43684. return true;
  43685. }
  43686. _this._args.removeFirst$0();
  43687. t1 = "--" + $name;
  43688. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43689. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43690. _this._results.$indexSet(0, option.name, false);
  43691. } else {
  43692. t1 = _this._parser$_parent;
  43693. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43694. t1._handleLongOption$2($name, value);
  43695. return true;
  43696. }
  43697. return true;
  43698. },
  43699. _validate$3(condition, message, args) {
  43700. if (!condition)
  43701. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43702. },
  43703. _setOption$4(results, option, value, arg) {
  43704. var list, t1, t2, t3, _i, element;
  43705. if (option.type !== B.OptionType_1Ol) {
  43706. this._validateAllowed$3(option, value, arg);
  43707. results.$indexSet(0, option.name, value);
  43708. return;
  43709. }
  43710. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43711. if (option.splitCommas)
  43712. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43713. element = t1[_i];
  43714. this._validateAllowed$3(option, element, arg);
  43715. t3.add$1(list, element);
  43716. }
  43717. else {
  43718. this._validateAllowed$3(option, value, arg);
  43719. J.add$1$ax(list, value);
  43720. }
  43721. },
  43722. _validateAllowed$3(option, value, arg) {
  43723. var t1 = option.allowed;
  43724. if (t1 == null)
  43725. return;
  43726. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43727. }
  43728. };
  43729. A.Parser_parse_closure.prototype = {
  43730. call$2($name, option) {
  43731. var parsedOption = this.$this._results.$index(0, $name),
  43732. callback = option.callback;
  43733. if (callback == null)
  43734. return;
  43735. callback.call$1(option.valueOrDefault$1(parsedOption));
  43736. },
  43737. $signature: 456
  43738. };
  43739. A.Parser__setOption_closure.prototype = {
  43740. call$0() {
  43741. return A._setArrayType([], type$.JSArray_String);
  43742. },
  43743. $signature: 139
  43744. };
  43745. A._Usage.prototype = {
  43746. get$_columnWidths() {
  43747. var result, _this = this,
  43748. value = _this.___Usage__columnWidths_FI;
  43749. if (value === $) {
  43750. result = _this._calculateColumnWidths$0();
  43751. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43752. _this.___Usage__columnWidths_FI = result;
  43753. value = result;
  43754. }
  43755. return value;
  43756. },
  43757. generate$0() {
  43758. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43759. 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) {
  43760. optionOrSeparator = t1[_i];
  43761. if (typeof optionOrSeparator == "string") {
  43762. t5 = t4._contents;
  43763. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43764. _this._newlinesNeeded = 1;
  43765. continue;
  43766. }
  43767. t3._as(optionOrSeparator);
  43768. if (optionOrSeparator.hide)
  43769. continue;
  43770. _this._writeOption$1(optionOrSeparator);
  43771. }
  43772. t1 = t4._contents;
  43773. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43774. },
  43775. _writeOption$1(option) {
  43776. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  43777. t1 = option.abbr;
  43778. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43779. t1 = _this._longOption$1(option);
  43780. _this._write$2(1, t1);
  43781. t1 = option.help;
  43782. if (t1 != null)
  43783. _this._write$2(2, t1);
  43784. t1 = option.allowedHelp;
  43785. if (t1 != null) {
  43786. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  43787. B.JSArray_methods.sort$0(allowedNames);
  43788. _this._newline$0();
  43789. 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) {
  43790. $name = allowedNames[_i];
  43791. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  43792. _this._write$2(1, " [" + $name + "]" + t5);
  43793. t5 = t1.$index(0, $name);
  43794. t5.toString;
  43795. _this._write$2(2, t5);
  43796. }
  43797. _this._newline$0();
  43798. } else if (option.allowed != null)
  43799. _this._write$2(2, _this._buildAllowedList$1(option));
  43800. else {
  43801. t1 = option.type;
  43802. if (t1 === B.OptionType_tI9) {
  43803. if (option.defaultsTo === true)
  43804. _this._write$2(2, "(defaults to on)");
  43805. } else if (t1 === B.OptionType_1Ol) {
  43806. t1 = option.defaultsTo;
  43807. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  43808. type$.List_dynamic._as(t1);
  43809. _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, ", ") + ")");
  43810. }
  43811. } else {
  43812. t1 = option.defaultsTo;
  43813. if (t1 != null)
  43814. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  43815. }
  43816. }
  43817. },
  43818. _longOption$1(option) {
  43819. var t1 = option.name,
  43820. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  43821. t1 = option.valueHelp;
  43822. return t1 != null ? result + ("=<" + t1 + ">") : result;
  43823. },
  43824. _calculateColumnWidths$0() {
  43825. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  43826. 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) {
  43827. option = t1[_i];
  43828. if (!(option instanceof A.Option))
  43829. continue;
  43830. if (option.hide)
  43831. continue;
  43832. t4 = option.abbr;
  43833. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  43834. t4 = this._longOption$1(option);
  43835. title = Math.max(title, t4.length);
  43836. t4 = option.allowedHelp;
  43837. if (t4 != null)
  43838. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  43839. t7 = t4.get$current(t4);
  43840. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  43841. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  43842. }
  43843. }
  43844. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  43845. },
  43846. _newline$0() {
  43847. ++this._newlinesNeeded;
  43848. this._currentColumn = 0;
  43849. },
  43850. _write$2(column, text) {
  43851. var t1, _i,
  43852. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  43853. this.get$_columnWidths();
  43854. while (true) {
  43855. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  43856. break;
  43857. B.JSArray_methods.removeAt$1(lines, 0);
  43858. }
  43859. while (true) {
  43860. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  43861. break;
  43862. lines.pop();
  43863. }
  43864. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  43865. this._writeLine$2(column, lines[_i]);
  43866. },
  43867. _writeLine$2(column, text) {
  43868. var t1, t2, _this = this;
  43869. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  43870. t1._contents += "\n";
  43871. _this._newlinesNeeded = t2 - 1;
  43872. }
  43873. for (; t2 = _this._currentColumn, t2 !== column;) {
  43874. if (t2 < 2) {
  43875. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  43876. t1._contents += t2;
  43877. } else
  43878. t1._contents += "\n";
  43879. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43880. }
  43881. _this.get$_columnWidths();
  43882. if (column < 2) {
  43883. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  43884. t1._contents += t2;
  43885. } else
  43886. t1._contents += text;
  43887. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43888. if (column === 2)
  43889. ++_this._newlinesNeeded;
  43890. },
  43891. _buildAllowedList$1(option) {
  43892. var t2, t3, first, _i, allowed,
  43893. t1 = option.defaultsTo,
  43894. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  43895. t1 = "" + "[";
  43896. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  43897. allowed = t2[_i];
  43898. t1 = (!first ? t1 + ", " : t1) + allowed;
  43899. if (isDefault.call$1(allowed))
  43900. t1 += " (default)";
  43901. }
  43902. t1 += "]";
  43903. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43904. }
  43905. };
  43906. A._Usage__writeOption_closure.prototype = {
  43907. call$1(value) {
  43908. return '"' + A.S(value) + '"';
  43909. },
  43910. $signature: 113
  43911. };
  43912. A._Usage__buildAllowedList_closure.prototype = {
  43913. call$1(value) {
  43914. return value === this.option.defaultsTo;
  43915. },
  43916. $signature: 5
  43917. };
  43918. A.FutureGroup.prototype = {
  43919. add$1(_, task) {
  43920. var t1, index, _this = this;
  43921. if (_this._future_group$_closed)
  43922. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  43923. t1 = _this._future_group$_values;
  43924. index = t1.length;
  43925. t1.push(null);
  43926. ++_this._future_group$_pending;
  43927. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  43928. },
  43929. close$0(_) {
  43930. var t1, t2, _this = this;
  43931. _this._future_group$_closed = true;
  43932. if (_this._future_group$_pending !== 0)
  43933. return;
  43934. t1 = _this._future_group$_completer;
  43935. if ((t1.future._state & 30) !== 0)
  43936. return;
  43937. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  43938. t1.complete$1(A.List_List$of(new A.WhereTypeIterable(_this._future_group$_values, t2), true, t2._eval$1("Iterable.E")));
  43939. }
  43940. };
  43941. A.FutureGroup_add_closure.prototype = {
  43942. call$1(value) {
  43943. var t3, t4,
  43944. t1 = this.$this,
  43945. t2 = t1._future_group$_completer;
  43946. if ((t2.future._state & 30) !== 0)
  43947. return null;
  43948. t3 = --t1._future_group$_pending;
  43949. t4 = t1._future_group$_values;
  43950. t4[this.index] = value;
  43951. if (t3 !== 0)
  43952. return null;
  43953. if (!t1._future_group$_closed)
  43954. return null;
  43955. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  43956. t2.complete$1(A.List_List$of(new A.WhereTypeIterable(t4, t1), true, t1._eval$1("Iterable.E")));
  43957. },
  43958. $signature() {
  43959. return this.$this.$ti._eval$1("Null(1)");
  43960. }
  43961. };
  43962. A.FutureGroup_add_closure0.prototype = {
  43963. call$2(error, stackTrace) {
  43964. var t1 = this.$this._future_group$_completer;
  43965. if ((t1.future._state & 30) !== 0)
  43966. return null;
  43967. t1.completeError$2(error, stackTrace);
  43968. },
  43969. $signature: 48
  43970. };
  43971. A.ErrorResult.prototype = {
  43972. complete$1(completer) {
  43973. completer.completeError$2(this.error, this.stackTrace);
  43974. },
  43975. get$hashCode(_) {
  43976. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  43977. },
  43978. $eq(_, other) {
  43979. if (other == null)
  43980. return false;
  43981. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  43982. },
  43983. $isResult: 1
  43984. };
  43985. A.ValueResult.prototype = {
  43986. complete$1(completer) {
  43987. completer.complete$1(this.value);
  43988. },
  43989. get$hashCode(_) {
  43990. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  43991. },
  43992. $eq(_, other) {
  43993. if (other == null)
  43994. return false;
  43995. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  43996. },
  43997. $isResult: 1
  43998. };
  43999. A.StreamCompleter.prototype = {
  44000. setSourceStream$1(sourceStream) {
  44001. var t1 = this._stream_completer$_stream;
  44002. if (t1._sourceStream != null)
  44003. throw A.wrapException(A.StateError$("Source stream already set"));
  44004. t1._sourceStream = sourceStream;
  44005. if (t1._stream_completer$_controller != null)
  44006. t1._linkStreamToController$0();
  44007. },
  44008. setError$2(error, stackTrace) {
  44009. var t1 = this.$ti._precomputed1;
  44010. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  44011. },
  44012. setError$1(error) {
  44013. return this.setError$2(error, null);
  44014. }
  44015. };
  44016. A._CompleterStream.prototype = {
  44017. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  44018. var sourceStream, t1, _this = this, _null = null;
  44019. if (_this._stream_completer$_controller == null) {
  44020. sourceStream = _this._sourceStream;
  44021. if (sourceStream != null && !sourceStream.get$isBroadcast())
  44022. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44023. if (_this._stream_completer$_controller == null)
  44024. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  44025. if (_this._sourceStream != null)
  44026. _this._linkStreamToController$0();
  44027. }
  44028. t1 = _this._stream_completer$_controller;
  44029. t1.toString;
  44030. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  44031. },
  44032. listen$1(_, onData) {
  44033. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  44034. },
  44035. listen$3$onDone$onError(_, onData, onDone, onError) {
  44036. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  44037. },
  44038. _linkStreamToController$0() {
  44039. var t2,
  44040. t1 = this._stream_completer$_controller;
  44041. t1.toString;
  44042. t2 = this._sourceStream;
  44043. t2.toString;
  44044. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  44045. }
  44046. };
  44047. A.StreamGroup.prototype = {
  44048. add$1(_, stream) {
  44049. var t1, _this = this;
  44050. if (_this._closed)
  44051. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  44052. t1 = _this._stream_group$_state;
  44053. if (t1 === B._StreamGroupState_dormant)
  44054. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  44055. else if (t1 === B._StreamGroupState_canceled)
  44056. return stream.listen$1(0, null).cancel$0();
  44057. else
  44058. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  44059. return null;
  44060. },
  44061. remove$1(_, stream) {
  44062. var t1 = this._subscriptions,
  44063. subscription = t1.remove$1(0, stream),
  44064. future = subscription == null ? null : subscription.cancel$0();
  44065. if (t1.__js_helper$_length === 0)
  44066. if (this._closed) {
  44067. t1 = this.__StreamGroup__controller_A;
  44068. t1 === $ && A.throwUnnamedLateFieldNI();
  44069. A.scheduleMicrotask(t1.get$close(t1));
  44070. }
  44071. return future;
  44072. },
  44073. _onListen$0() {
  44074. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  44075. _this._stream_group$_state = B._StreamGroupState_listening;
  44076. 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) {
  44077. entry = t2[_i];
  44078. if (entry.value != null)
  44079. continue;
  44080. stream = entry.key;
  44081. try {
  44082. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  44083. } catch (exception) {
  44084. t1 = _this._onCancel$0();
  44085. if (t1 != null)
  44086. t1.catchError$1(new A.StreamGroup__onListen_closure());
  44087. throw exception;
  44088. }
  44089. }
  44090. },
  44091. _onPause$0() {
  44092. this._stream_group$_state = B._StreamGroupState_paused;
  44093. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();)
  44094. t1.__js_helper$_current.pause$0(0);
  44095. },
  44096. _onResume$0() {
  44097. this._stream_group$_state = B._StreamGroupState_listening;
  44098. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();)
  44099. t1.__js_helper$_current.resume$0(0);
  44100. },
  44101. _onCancel$0() {
  44102. var t1, t2, t3, futures;
  44103. this._stream_group$_state = B._StreamGroupState_canceled;
  44104. t1 = this._subscriptions;
  44105. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  44106. t3 = type$.NonNullsIterable_Future_void;
  44107. 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"));
  44108. t1.clear$0(0);
  44109. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  44110. },
  44111. _listenToStream$1(stream) {
  44112. var subscription,
  44113. t1 = this.__StreamGroup__controller_A;
  44114. t1 === $ && A.throwUnnamedLateFieldNI();
  44115. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44116. if (this._stream_group$_state === B._StreamGroupState_paused)
  44117. subscription.pause$0(0);
  44118. return subscription;
  44119. }
  44120. };
  44121. A.StreamGroup_add_closure.prototype = {
  44122. call$0() {
  44123. return null;
  44124. },
  44125. $signature: 1
  44126. };
  44127. A.StreamGroup_add_closure0.prototype = {
  44128. call$0() {
  44129. return this.$this._listenToStream$1(this.stream);
  44130. },
  44131. $signature() {
  44132. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44133. }
  44134. };
  44135. A.StreamGroup__onListen_closure.prototype = {
  44136. call$1(_) {
  44137. },
  44138. $signature: 56
  44139. };
  44140. A.StreamGroup__onCancel_closure.prototype = {
  44141. call$1(entry) {
  44142. var t1, exception,
  44143. subscription = entry.value;
  44144. try {
  44145. if (subscription != null) {
  44146. t1 = subscription.cancel$0();
  44147. return t1;
  44148. }
  44149. t1 = J.listen$1$z(entry.key, null).cancel$0();
  44150. return t1;
  44151. } catch (exception) {
  44152. return null;
  44153. }
  44154. },
  44155. $signature() {
  44156. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44157. }
  44158. };
  44159. A.StreamGroup__listenToStream_closure.prototype = {
  44160. call$0() {
  44161. return this.$this.remove$1(0, this.stream);
  44162. },
  44163. $signature: 0
  44164. };
  44165. A._StreamGroupState.prototype = {
  44166. toString$0(_) {
  44167. return this.name;
  44168. }
  44169. };
  44170. A.StreamQueue.prototype = {
  44171. _updateRequests$0() {
  44172. var t1, t2, t3, t4, _this = this;
  44173. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44174. t4 = t1._head;
  44175. if (t4 === t1._tail)
  44176. A.throwExpression(A.IterableElementError_noElement());
  44177. t4 = t1._table[t4];
  44178. if (t4 == null)
  44179. t4 = t3._as(t4);
  44180. if (t4.update$2(t2, _this._isDone))
  44181. t1.removeFirst$0();
  44182. else
  44183. return;
  44184. }
  44185. if (!_this._isDone)
  44186. _this._stream_queue$_subscription.pause$0(0);
  44187. },
  44188. _ensureListening$0() {
  44189. var t1, _this = this;
  44190. if (_this._isDone)
  44191. return;
  44192. t1 = _this._stream_queue$_subscription;
  44193. if (t1 == null)
  44194. _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));
  44195. else
  44196. t1.resume$0(0);
  44197. },
  44198. _addResult$1(result) {
  44199. ++this._eventsReceived;
  44200. this._eventQueue._queue_list$_add$1(result);
  44201. this._updateRequests$0();
  44202. },
  44203. _addRequest$1(request) {
  44204. var _this = this,
  44205. t1 = _this._requestQueue;
  44206. if (t1._head === t1._tail) {
  44207. if (request.update$2(_this._eventQueue, _this._isDone))
  44208. return;
  44209. _this._ensureListening$0();
  44210. }
  44211. t1._add$1(request);
  44212. }
  44213. };
  44214. A.StreamQueue__ensureListening_closure.prototype = {
  44215. call$1(data) {
  44216. var t1 = this.$this;
  44217. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44218. },
  44219. $signature() {
  44220. return this.$this.$ti._eval$1("~(1)");
  44221. }
  44222. };
  44223. A.StreamQueue__ensureListening_closure1.prototype = {
  44224. call$2(error, stackTrace) {
  44225. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44226. },
  44227. $signature: 48
  44228. };
  44229. A.StreamQueue__ensureListening_closure0.prototype = {
  44230. call$0() {
  44231. var t1 = this.$this;
  44232. t1._stream_queue$_subscription = null;
  44233. t1._isDone = true;
  44234. t1._updateRequests$0();
  44235. },
  44236. $signature: 0
  44237. };
  44238. A._NextRequest.prototype = {
  44239. update$2(events, isDone) {
  44240. if (!events.get$isEmpty(events)) {
  44241. events.removeFirst$0().complete$1(this._completer);
  44242. return true;
  44243. }
  44244. if (isDone) {
  44245. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44246. return true;
  44247. }
  44248. return false;
  44249. },
  44250. $is_EventRequest: 1
  44251. };
  44252. A._isStrictMode_closure.prototype = {
  44253. call$0() {
  44254. var exception;
  44255. try {
  44256. "".name = null;
  44257. return false;
  44258. } catch (exception) {
  44259. return true;
  44260. }
  44261. },
  44262. $signature: 22
  44263. };
  44264. A.Repl.prototype = {};
  44265. A.alwaysValid_closure.prototype = {
  44266. call$1(text) {
  44267. return true;
  44268. },
  44269. $signature: 5
  44270. };
  44271. A.ReplAdapter.prototype = {
  44272. runAsync$0() {
  44273. var rl, runController, _this = this, t1 = {},
  44274. t2 = J.get$isTTY$x(self.process.stdin),
  44275. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44276. t2 = _this.repl.prompt;
  44277. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44278. _this.rl = rl;
  44279. t1.statement = "";
  44280. t1.prompt = t2;
  44281. runController = A._Cell$();
  44282. 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);
  44283. return runController._readLocal$0().get$stream();
  44284. },
  44285. exit$0(_) {
  44286. var t1 = this.rl;
  44287. if (t1 != null)
  44288. J.close$0$x(t1);
  44289. this.rl = null;
  44290. }
  44291. };
  44292. A.ReplAdapter_runAsync_closure.prototype = {
  44293. call$0() {
  44294. var $async$goto = 0,
  44295. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44296. $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;
  44297. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44298. if ($async$errorCode === 1) {
  44299. $async$errorStack.push($async$result);
  44300. $async$goto = $async$handler;
  44301. }
  44302. while (true)
  44303. switch ($async$goto) {
  44304. case 0:
  44305. // Function start
  44306. $async$handler = 3;
  44307. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44308. t1 = lineController;
  44309. t2 = A.QueueList$(null, type$.Result_String);
  44310. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44311. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44312. t1 = $async$self.rl;
  44313. t2 = J.getInterceptor$x(t1);
  44314. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44315. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44316. case 6:
  44317. // for condition
  44318. // trivial condition
  44319. t6 = J.get$isTTY$x(self.process.stdin);
  44320. if (t6 == null ? false : t6)
  44321. J.write$1$x(self.process.stdout, t3.prompt);
  44322. t6 = lineQueue;
  44323. t6.toString;
  44324. t7 = t6.$ti;
  44325. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44326. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44327. $async$goto = 8;
  44328. return A._asyncAwait(t8, $async$call$0);
  44329. case 8:
  44330. // returning from await.
  44331. line = $async$result;
  44332. t6 = J.get$isTTY$x(self.process.stdin);
  44333. if (!(t6 == null ? false : t6)) {
  44334. line0 = t3.prompt + A.S(line);
  44335. toZone = $.printToZone;
  44336. if (toZone == null)
  44337. A.printString(line0);
  44338. else
  44339. toZone.call$1(line0);
  44340. }
  44341. statement = B.JSString_methods.$add(t3.statement, line);
  44342. t3.statement = statement;
  44343. if (t4.validator.call$1(statement)) {
  44344. t6 = t5.__late_helper$_value;
  44345. if (t6 === t5)
  44346. A.throwExpression(A.LateError$localNI(""));
  44347. J.add$1$ax(t6, t3.statement);
  44348. t3.statement = "";
  44349. t3.prompt = prompt0;
  44350. t2.setPrompt$1(t1, prompt0);
  44351. } else {
  44352. t3.statement += "\n";
  44353. t3.prompt = $prompt;
  44354. t2.setPrompt$1(t1, $prompt);
  44355. }
  44356. // goto for condition
  44357. $async$goto = 6;
  44358. break;
  44359. case 7:
  44360. // after for
  44361. $async$handler = 1;
  44362. // goto after finally
  44363. $async$goto = 5;
  44364. break;
  44365. case 3:
  44366. // catch
  44367. $async$handler = 2;
  44368. $async$exception = $async$errorStack.pop();
  44369. error = A.unwrapException($async$exception);
  44370. stackTrace = A.getTraceFromException($async$exception);
  44371. t1 = $async$self.runController;
  44372. t1._readLocal$0().addError$2(error, stackTrace);
  44373. t2 = $async$self.$this.exit$0(0);
  44374. t2 = A._Future$value(t2, type$.void);
  44375. $async$goto = 9;
  44376. return A._asyncAwait(t2, $async$call$0);
  44377. case 9:
  44378. // returning from await.
  44379. J.close$0$x(t1._readLocal$0());
  44380. // goto after finally
  44381. $async$goto = 5;
  44382. break;
  44383. case 2:
  44384. // uncaught
  44385. // goto rethrow
  44386. $async$goto = 1;
  44387. break;
  44388. case 5:
  44389. // after finally
  44390. // implicit return
  44391. return A._asyncReturn(null, $async$completer);
  44392. case 1:
  44393. // rethrow
  44394. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44395. }
  44396. });
  44397. return A._asyncStartSync($async$call$0, $async$completer);
  44398. },
  44399. $signature: 29
  44400. };
  44401. A.ReplAdapter_runAsync__closure.prototype = {
  44402. call$1(value) {
  44403. return this.lineController.add$1(0, A._asString(value));
  44404. },
  44405. $signature: 77
  44406. };
  44407. A.Stdin.prototype = {};
  44408. A.Stdout.prototype = {};
  44409. A.ReadlineModule.prototype = {};
  44410. A.ReadlineOptions.prototype = {};
  44411. A.ReadlineInterface.prototype = {};
  44412. A.EmptyUnmodifiableSet.prototype = {
  44413. get$iterator(_) {
  44414. return B.C_EmptyIterator;
  44415. },
  44416. get$length(_) {
  44417. return 0;
  44418. },
  44419. contains$1(_, element) {
  44420. return false;
  44421. },
  44422. toSet$0(_) {
  44423. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44424. },
  44425. $isEfficientLengthIterable: 1,
  44426. $isSet: 1
  44427. };
  44428. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44429. A.DefaultEquality.prototype = {};
  44430. A.IterableEquality.prototype = {
  44431. equals$2(_, elements1, elements2) {
  44432. var it1, it2, hasNext;
  44433. if (elements1 === elements2)
  44434. return true;
  44435. it1 = J.get$iterator$ax(elements1);
  44436. it2 = J.get$iterator$ax(elements2);
  44437. for (; true;) {
  44438. hasNext = it1.moveNext$0();
  44439. if (hasNext !== it2.moveNext$0())
  44440. return false;
  44441. if (!hasNext)
  44442. return true;
  44443. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44444. return false;
  44445. }
  44446. },
  44447. hash$1(elements) {
  44448. var t1, hash, _i;
  44449. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44450. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44451. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44452. hash ^= hash >>> 6;
  44453. }
  44454. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44455. hash ^= hash >>> 11;
  44456. return hash + (hash << 15 >>> 0) & 2147483647;
  44457. }
  44458. };
  44459. A.ListEquality.prototype = {
  44460. equals$2(_, list1, list2) {
  44461. var t1, $length, t2, i;
  44462. if (list1 == null ? list2 == null : list1 === list2)
  44463. return true;
  44464. if (list1 == null || list2 == null)
  44465. return false;
  44466. t1 = J.getInterceptor$asx(list1);
  44467. $length = t1.get$length(list1);
  44468. t2 = J.getInterceptor$asx(list2);
  44469. if ($length !== t2.get$length(list2))
  44470. return false;
  44471. for (i = 0; i < $length; ++i)
  44472. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44473. return false;
  44474. return true;
  44475. },
  44476. hash$1(list) {
  44477. var hash, i;
  44478. for (hash = 0, i = 0; i < list.length; ++i) {
  44479. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44480. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44481. hash ^= hash >>> 6;
  44482. }
  44483. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44484. hash ^= hash >>> 11;
  44485. return hash + (hash << 15 >>> 0) & 2147483647;
  44486. }
  44487. };
  44488. A._MapEntry.prototype = {
  44489. get$hashCode(_) {
  44490. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44491. },
  44492. $eq(_, other) {
  44493. if (other == null)
  44494. return false;
  44495. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44496. }
  44497. };
  44498. A.MapEquality.prototype = {
  44499. equals$2(_, map1, map2) {
  44500. var equalElementCounts, t1, key, entry, count;
  44501. if (map1 === map2)
  44502. return true;
  44503. if (map1.get$length(map1) !== map2.get$length(map2))
  44504. return false;
  44505. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44506. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  44507. key = t1.get$current(t1);
  44508. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44509. count = equalElementCounts.$index(0, entry);
  44510. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44511. }
  44512. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  44513. key = t1.get$current(t1);
  44514. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44515. count = equalElementCounts.$index(0, entry);
  44516. if (count == null || count === 0)
  44517. return false;
  44518. equalElementCounts.$indexSet(0, entry, count - 1);
  44519. }
  44520. return true;
  44521. },
  44522. hash$1(map) {
  44523. var t1, t2, hash, key, keyHash, t3;
  44524. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44525. key = t1.get$current(t1);
  44526. keyHash = J.get$hashCode$(key);
  44527. t3 = map.$index(0, key);
  44528. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44529. }
  44530. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44531. hash ^= hash >>> 11;
  44532. return hash + (hash << 15 >>> 0) & 2147483647;
  44533. }
  44534. };
  44535. A.QueueList.prototype = {
  44536. add$1(_, element) {
  44537. this._queue_list$_add$1(element);
  44538. },
  44539. addAll$1(_, iterable) {
  44540. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44541. if (type$.List_dynamic._is(iterable)) {
  44542. addCount = J.get$length$asx(iterable);
  44543. $length = _this.get$length(0);
  44544. t1 = $length + addCount;
  44545. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44546. _this._preGrow$1(t1);
  44547. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44548. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44549. } else {
  44550. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44551. t1 = _this._queue_list$_table;
  44552. t2 = J.getInterceptor$ax(t1);
  44553. if (addCount < endSpace) {
  44554. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44555. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44556. } else {
  44557. preSpace = addCount - endSpace;
  44558. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44559. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44560. _this.set$_queue_list$_tail(preSpace);
  44561. }
  44562. }
  44563. } else
  44564. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44565. _this._queue_list$_add$1(t1.get$current(t1));
  44566. },
  44567. cast$1$0(_, $T) {
  44568. 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>"));
  44569. },
  44570. toString$0(_) {
  44571. return A.Iterable_iterableToFullString(this, "{", "}");
  44572. },
  44573. addFirst$1(element) {
  44574. var _this = this;
  44575. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44576. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44577. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44578. _this._queue_list$_grow$0();
  44579. },
  44580. removeFirst$0() {
  44581. var result, _this = this;
  44582. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44583. throw A.wrapException(A.StateError$("No element"));
  44584. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44585. if (result == null)
  44586. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44587. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44588. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44589. return result;
  44590. },
  44591. removeLast$0(_) {
  44592. var result, _this = this;
  44593. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44594. throw A.wrapException(A.StateError$("No element"));
  44595. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44596. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44597. if (result == null)
  44598. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44599. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44600. return result;
  44601. },
  44602. get$length(_) {
  44603. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44604. },
  44605. set$length(_, value) {
  44606. var delta, newTail, t1, t2, _this = this;
  44607. if (value < 0)
  44608. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44609. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44610. 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) + "`."));
  44611. delta = value - _this.get$length(0);
  44612. if (delta >= 0) {
  44613. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44614. _this._preGrow$1(value);
  44615. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44616. return;
  44617. }
  44618. newTail = _this.get$_queue_list$_tail() + delta;
  44619. t1 = _this._queue_list$_table;
  44620. if (newTail >= 0)
  44621. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44622. else {
  44623. newTail += J.get$length$asx(t1);
  44624. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44625. t1 = _this._queue_list$_table;
  44626. t2 = J.getInterceptor$asx(t1);
  44627. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44628. }
  44629. _this.set$_queue_list$_tail(newTail);
  44630. },
  44631. $index(_, index) {
  44632. var t1, _this = this;
  44633. if (index < 0 || index >= _this.get$length(0))
  44634. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44635. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44636. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44637. },
  44638. $indexSet(_, index, value) {
  44639. var _this = this;
  44640. if (index < 0 || index >= _this.get$length(0))
  44641. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44642. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44643. },
  44644. _queue_list$_add$1(element) {
  44645. var _this = this;
  44646. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44647. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44648. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44649. _this._queue_list$_grow$0();
  44650. },
  44651. _queue_list$_grow$0() {
  44652. var _this = this,
  44653. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44654. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44655. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44656. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44657. _this.set$_queue_list$_head(0);
  44658. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44659. _this._queue_list$_table = newTable;
  44660. },
  44661. _writeToList$1(target) {
  44662. var $length, firstPartSize, _this = this;
  44663. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44664. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44665. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44666. return $length;
  44667. } else {
  44668. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44669. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44670. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44671. return _this.get$_queue_list$_tail() + firstPartSize;
  44672. }
  44673. },
  44674. _preGrow$1(newElementCount) {
  44675. var _this = this,
  44676. 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?"));
  44677. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44678. _this._queue_list$_table = newTable;
  44679. _this.set$_queue_list$_head(0);
  44680. },
  44681. $isEfficientLengthIterable: 1,
  44682. $isQueue: 1,
  44683. $isIterable: 1,
  44684. $isList: 1,
  44685. get$_queue_list$_head() {
  44686. return this._queue_list$_head;
  44687. },
  44688. get$_queue_list$_tail() {
  44689. return this._queue_list$_tail;
  44690. },
  44691. set$_queue_list$_head(val) {
  44692. return this._queue_list$_head = val;
  44693. },
  44694. set$_queue_list$_tail(val) {
  44695. return this._queue_list$_tail = val;
  44696. }
  44697. };
  44698. A._CastQueueList.prototype = {
  44699. get$_queue_list$_head() {
  44700. return this._queue_list$_delegate.get$_queue_list$_head();
  44701. },
  44702. set$_queue_list$_head(value) {
  44703. this._queue_list$_delegate.set$_queue_list$_head(value);
  44704. },
  44705. get$_queue_list$_tail() {
  44706. return this._queue_list$_delegate.get$_queue_list$_tail();
  44707. },
  44708. set$_queue_list$_tail(value) {
  44709. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44710. }
  44711. };
  44712. A._QueueList_Object_ListMixin.prototype = {};
  44713. A.UnionSet.prototype = {
  44714. get$length(_) {
  44715. var t1 = this.get$_union_set$_iterable().get$length(0);
  44716. return t1;
  44717. },
  44718. get$iterator(_) {
  44719. var t1 = this.get$_union_set$_iterable();
  44720. return t1.get$iterator(t1);
  44721. },
  44722. get$_union_set$_iterable() {
  44723. var t1 = this._sets,
  44724. t2 = this.$ti._precomputed1,
  44725. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44726. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44727. 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>"));
  44728. },
  44729. contains$1(_, element) {
  44730. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44731. },
  44732. toSet$0(_) {
  44733. var t2, t3, t4,
  44734. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44735. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44736. t4 = t2._collection$_current;
  44737. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44738. }
  44739. return t1;
  44740. }
  44741. };
  44742. A.UnionSet__iterable_closure.prototype = {
  44743. call$1(set) {
  44744. return set;
  44745. },
  44746. $signature() {
  44747. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44748. }
  44749. };
  44750. A.UnionSet_contains_closure.prototype = {
  44751. call$1(set) {
  44752. return set.contains$1(0, this.element);
  44753. },
  44754. $signature() {
  44755. return this.$this.$ti._eval$1("bool(Set<1>)");
  44756. }
  44757. };
  44758. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44759. A.UnmodifiableSetView0.prototype = {};
  44760. A.UnmodifiableSetMixin.prototype = {
  44761. add$1(_, value) {
  44762. return A.UnmodifiableSetMixin__throw();
  44763. },
  44764. addAll$1(_, elements) {
  44765. return A.UnmodifiableSetMixin__throw();
  44766. },
  44767. remove$1(_, value) {
  44768. return A.UnmodifiableSetMixin__throw();
  44769. }
  44770. };
  44771. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  44772. A._DelegatingIterableBase.prototype = {
  44773. any$1(_, test) {
  44774. return J.any$1$ax(this.get$_base(), test);
  44775. },
  44776. contains$1(_, element) {
  44777. return J.contains$1$asx(this.get$_base(), element);
  44778. },
  44779. elementAt$1(_, index) {
  44780. return J.elementAt$1$ax(this.get$_base(), index);
  44781. },
  44782. every$1(_, test) {
  44783. return J.every$1$ax(this.get$_base(), test);
  44784. },
  44785. get$first(_) {
  44786. return J.get$first$ax(this.get$_base());
  44787. },
  44788. get$isEmpty(_) {
  44789. return J.get$isEmpty$asx(this.get$_base());
  44790. },
  44791. get$isNotEmpty(_) {
  44792. return J.get$isNotEmpty$asx(this.get$_base());
  44793. },
  44794. get$iterator(_) {
  44795. return J.get$iterator$ax(this.get$_base());
  44796. },
  44797. get$last(_) {
  44798. return J.get$last$ax(this.get$_base());
  44799. },
  44800. get$length(_) {
  44801. return J.get$length$asx(this.get$_base());
  44802. },
  44803. map$1$1(_, f, $T) {
  44804. return J.map$1$1$ax(this.get$_base(), f, $T);
  44805. },
  44806. get$single(_) {
  44807. return J.get$single$ax(this.get$_base());
  44808. },
  44809. skip$1(_, n) {
  44810. return J.skip$1$ax(this.get$_base(), n);
  44811. },
  44812. take$1(_, n) {
  44813. return J.take$1$ax(this.get$_base(), n);
  44814. },
  44815. toList$1$growable(_, growable) {
  44816. return J.toList$1$growable$ax(this.get$_base(), true);
  44817. },
  44818. toList$0(_) {
  44819. return this.toList$1$growable(0, true);
  44820. },
  44821. toSet$0(_) {
  44822. return J.toSet$0$ax(this.get$_base());
  44823. },
  44824. where$1(_, test) {
  44825. return J.where$1$ax(this.get$_base(), test);
  44826. },
  44827. toString$0(_) {
  44828. return J.toString$0$(this.get$_base());
  44829. },
  44830. $isIterable: 1
  44831. };
  44832. A.DelegatingSet.prototype = {
  44833. add$1(_, value) {
  44834. return this._base.add$1(0, value);
  44835. },
  44836. addAll$1(_, elements) {
  44837. this._base.addAll$1(0, elements);
  44838. },
  44839. toSet$0(_) {
  44840. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  44841. },
  44842. $isEfficientLengthIterable: 1,
  44843. $isSet: 1,
  44844. get$_base() {
  44845. return this._base;
  44846. }
  44847. };
  44848. A.MapKeySet.prototype = {
  44849. get$_base() {
  44850. var t1 = this._baseMap;
  44851. return t1.get$keys(t1);
  44852. },
  44853. contains$1(_, element) {
  44854. return this._baseMap.containsKey$1(element);
  44855. },
  44856. get$isEmpty(_) {
  44857. var t1 = this._baseMap;
  44858. return t1.get$isEmpty(t1);
  44859. },
  44860. get$isNotEmpty(_) {
  44861. var t1 = this._baseMap;
  44862. return t1.get$isNotEmpty(t1);
  44863. },
  44864. get$length(_) {
  44865. var t1 = this._baseMap;
  44866. return t1.get$length(t1);
  44867. },
  44868. toString$0(_) {
  44869. return A.Iterable_iterableToFullString(this, "{", "}");
  44870. },
  44871. difference$1(other) {
  44872. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  44873. },
  44874. $isEfficientLengthIterable: 1,
  44875. $isSet: 1
  44876. };
  44877. A.MapKeySet_difference_closure.prototype = {
  44878. call$1(element) {
  44879. return !this.other._source.contains$1(0, element);
  44880. },
  44881. $signature() {
  44882. return this.$this.$ti._eval$1("bool(1)");
  44883. }
  44884. };
  44885. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  44886. A.BufferModule.prototype = {};
  44887. A.BufferConstants.prototype = {};
  44888. A.Buffer.prototype = {};
  44889. A.ConsoleModule.prototype = {};
  44890. A.Console.prototype = {};
  44891. A.EventEmitter.prototype = {};
  44892. A.FS.prototype = {};
  44893. A.FSConstants.prototype = {};
  44894. A.FSWatcher.prototype = {};
  44895. A.ReadStream.prototype = {};
  44896. A.ReadStreamOptions.prototype = {};
  44897. A.WriteStream.prototype = {};
  44898. A.WriteStreamOptions.prototype = {};
  44899. A.FileOptions.prototype = {};
  44900. A.StatOptions.prototype = {};
  44901. A.MkdirOptions.prototype = {};
  44902. A.RmdirOptions.prototype = {};
  44903. A.WatchOptions.prototype = {};
  44904. A.WatchFileOptions.prototype = {};
  44905. A.Stats.prototype = {};
  44906. A.Promise.prototype = {};
  44907. A.Date.prototype = {};
  44908. A.JsError.prototype = {};
  44909. A.Atomics.prototype = {};
  44910. A.Modules.prototype = {};
  44911. A.Module.prototype = {};
  44912. A.Net.prototype = {};
  44913. A.Socket.prototype = {};
  44914. A.NetAddress.prototype = {};
  44915. A.NetServer.prototype = {};
  44916. A.NodeJsError.prototype = {};
  44917. A.JsAssertionError.prototype = {};
  44918. A.JsRangeError.prototype = {};
  44919. A.JsReferenceError.prototype = {};
  44920. A.JsSyntaxError.prototype = {};
  44921. A.JsTypeError.prototype = {};
  44922. A.JsSystemError.prototype = {};
  44923. A.Process.prototype = {};
  44924. A.CPUUsage.prototype = {};
  44925. A.Release.prototype = {};
  44926. A.StreamModule.prototype = {};
  44927. A.Readable.prototype = {};
  44928. A.Writable.prototype = {};
  44929. A.Duplex.prototype = {};
  44930. A.Transform.prototype = {};
  44931. A.WritableOptions.prototype = {};
  44932. A.ReadableOptions.prototype = {};
  44933. A.Immediate.prototype = {};
  44934. A.Timeout.prototype = {};
  44935. A.TTY.prototype = {};
  44936. A.TTYReadStream.prototype = {};
  44937. A.TTYWriteStream.prototype = {};
  44938. A.Util.prototype = {};
  44939. A.promiseToFuture_closure1.prototype = {
  44940. call$1(value) {
  44941. this.completer.complete$1(value);
  44942. },
  44943. $signature: 56
  44944. };
  44945. A.promiseToFuture_closure2.prototype = {
  44946. call$1(error) {
  44947. this.completer.completeError$1(error);
  44948. },
  44949. $signature: 56
  44950. };
  44951. A.futureToPromise_closure.prototype = {
  44952. call$2(resolve, reject) {
  44953. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  44954. },
  44955. $signature: 414
  44956. };
  44957. A.futureToPromise__closure.prototype = {
  44958. call$1(result) {
  44959. return this.resolve.call$1(result);
  44960. },
  44961. $signature() {
  44962. return this.T._eval$1("@(0)");
  44963. }
  44964. };
  44965. A.Context.prototype = {
  44966. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  44967. var t1;
  44968. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  44969. if (part2 == null) {
  44970. t1 = this.style;
  44971. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  44972. } else
  44973. t1 = false;
  44974. if (t1)
  44975. return part1;
  44976. t1 = this._context$_current;
  44977. 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);
  44978. },
  44979. absolute$1(part1) {
  44980. var _null = null;
  44981. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44982. },
  44983. dirname$1(path) {
  44984. var t1, t2,
  44985. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44986. parsed.removeTrailingSeparators$0();
  44987. t1 = parsed.parts;
  44988. t2 = t1.length;
  44989. if (t2 === 0) {
  44990. t1 = parsed.root;
  44991. return t1 == null ? "." : t1;
  44992. }
  44993. if (t2 === 1) {
  44994. t1 = parsed.root;
  44995. return t1 == null ? "." : t1;
  44996. }
  44997. B.JSArray_methods.removeLast$0(t1);
  44998. parsed.separators.pop();
  44999. parsed.removeTrailingSeparators$0();
  45000. return parsed.toString$0(0);
  45001. },
  45002. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  45003. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  45004. A._validateArgList("join", parts);
  45005. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  45006. },
  45007. join$2(_, part1, part2) {
  45008. var _null = null;
  45009. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  45010. },
  45011. joinAll$1(parts) {
  45012. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  45013. 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();) {
  45014. t5 = t2.get$current(t2);
  45015. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  45016. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  45017. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  45018. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  45019. parsed.root = t4;
  45020. if (t3.needsSeparator$1(t4))
  45021. parsed.separators[0] = t3.get$separator(t3);
  45022. t4 = "" + parsed.toString$0(0);
  45023. } else if (t3.rootLength$1(t5) > 0) {
  45024. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  45025. t4 = "" + t5;
  45026. } else {
  45027. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  45028. if (needsSeparator)
  45029. t4 += t3.get$separator(t3);
  45030. t4 += t5;
  45031. }
  45032. needsSeparator = t3.needsSeparator$1(t5);
  45033. }
  45034. return t4.charCodeAt(0) == 0 ? t4 : t4;
  45035. },
  45036. split$1(_, path) {
  45037. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  45038. t1 = parsed.parts,
  45039. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  45040. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  45041. parsed.parts = t2;
  45042. t1 = parsed.root;
  45043. if (t1 != null)
  45044. B.JSArray_methods.insert$2(t2, 0, t1);
  45045. return parsed.parts;
  45046. },
  45047. canonicalize$1(_, path) {
  45048. var t1, parsed;
  45049. path = this.absolute$1(path);
  45050. t1 = this.style;
  45051. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  45052. return path;
  45053. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45054. parsed.normalize$1$canonicalize(true);
  45055. return parsed.toString$0(0);
  45056. },
  45057. normalize$1(path) {
  45058. var parsed;
  45059. if (!this._needsNormalization$1(path))
  45060. return path;
  45061. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45062. parsed.normalize$0();
  45063. return parsed.toString$0(0);
  45064. },
  45065. _needsNormalization$1(path) {
  45066. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  45067. t1 = this.style,
  45068. root = t1.rootLength$1(path);
  45069. if (root !== 0) {
  45070. if (t1 === $.$get$Style_windows())
  45071. for (i = 0; i < root; ++i)
  45072. if (path.charCodeAt(i) === 47)
  45073. return true;
  45074. start = root;
  45075. previous = 47;
  45076. } else {
  45077. start = 0;
  45078. previous = null;
  45079. }
  45080. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  45081. codeUnit = t2.charCodeAt(i);
  45082. if (t1.isSeparator$1(codeUnit)) {
  45083. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  45084. return true;
  45085. if (previous != null && t1.isSeparator$1(previous))
  45086. return true;
  45087. if (previous === 46)
  45088. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45089. else
  45090. t4 = false;
  45091. if (t4)
  45092. return true;
  45093. }
  45094. }
  45095. if (previous == null)
  45096. return true;
  45097. if (t1.isSeparator$1(previous))
  45098. return true;
  45099. if (previous === 46)
  45100. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45101. else
  45102. t1 = false;
  45103. if (t1)
  45104. return true;
  45105. return false;
  45106. },
  45107. relative$2$from(path, from) {
  45108. var fromParsed, pathParsed, t2, t3, _this = this,
  45109. _s26_ = 'Unable to find a path to "',
  45110. t1 = from == null;
  45111. if (t1 && _this.style.rootLength$1(path) <= 0)
  45112. return _this.normalize$1(path);
  45113. if (t1) {
  45114. t1 = _this._context$_current;
  45115. from = t1 == null ? A.current() : t1;
  45116. } else
  45117. from = _this.absolute$1(from);
  45118. t1 = _this.style;
  45119. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45120. return _this.normalize$1(path);
  45121. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45122. path = _this.absolute$1(path);
  45123. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45124. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45125. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45126. fromParsed.normalize$0();
  45127. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45128. pathParsed.normalize$0();
  45129. t2 = fromParsed.parts;
  45130. if (t2.length !== 0 && t2[0] === ".")
  45131. return pathParsed.toString$0(0);
  45132. t2 = fromParsed.root;
  45133. t3 = pathParsed.root;
  45134. if (t2 != t3)
  45135. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45136. else
  45137. t2 = false;
  45138. if (t2)
  45139. return pathParsed.toString$0(0);
  45140. while (true) {
  45141. t2 = fromParsed.parts;
  45142. if (t2.length !== 0) {
  45143. t3 = pathParsed.parts;
  45144. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45145. } else
  45146. t2 = false;
  45147. if (!t2)
  45148. break;
  45149. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45150. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45151. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45152. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45153. }
  45154. t2 = fromParsed.parts;
  45155. t3 = t2.length;
  45156. if (t3 !== 0 && t2[0] === "..")
  45157. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45158. t2 = type$.String;
  45159. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45160. t3 = pathParsed.separators;
  45161. t3[0] = "";
  45162. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45163. t1 = pathParsed.parts;
  45164. t2 = t1.length;
  45165. if (t2 === 0)
  45166. return ".";
  45167. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  45168. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45169. t1 = pathParsed.separators;
  45170. t1.pop();
  45171. t1.pop();
  45172. t1.push("");
  45173. }
  45174. pathParsed.root = "";
  45175. pathParsed.removeTrailingSeparators$0();
  45176. return pathParsed.toString$0(0);
  45177. },
  45178. relative$1(path) {
  45179. return this.relative$2$from(path, null);
  45180. },
  45181. _isWithinOrEquals$2($parent, child) {
  45182. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45183. $parent = $parent;
  45184. child = child;
  45185. t1 = _this.style;
  45186. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45187. childIsAbsolute = t1.rootLength$1(child) > 0;
  45188. if (parentIsAbsolute && !childIsAbsolute) {
  45189. child = _this.absolute$1(child);
  45190. if (t1.isRootRelative$1($parent))
  45191. $parent = _this.absolute$1($parent);
  45192. } else if (childIsAbsolute && !parentIsAbsolute) {
  45193. $parent = _this.absolute$1($parent);
  45194. if (t1.isRootRelative$1(child))
  45195. child = _this.absolute$1(child);
  45196. } else if (childIsAbsolute && parentIsAbsolute) {
  45197. childIsRootRelative = t1.isRootRelative$1(child);
  45198. parentIsRootRelative = t1.isRootRelative$1($parent);
  45199. if (childIsRootRelative && !parentIsRootRelative)
  45200. child = _this.absolute$1(child);
  45201. else if (parentIsRootRelative && !childIsRootRelative)
  45202. $parent = _this.absolute$1($parent);
  45203. }
  45204. result = _this._isWithinOrEqualsFast$2($parent, child);
  45205. if (result !== B._PathRelation_inconclusive)
  45206. return result;
  45207. relative = null;
  45208. try {
  45209. relative = _this.relative$2$from(child, $parent);
  45210. } catch (exception) {
  45211. if (A.unwrapException(exception) instanceof A.PathException)
  45212. return B._PathRelation_different;
  45213. else
  45214. throw exception;
  45215. }
  45216. if (t1.rootLength$1(relative) > 0)
  45217. return B._PathRelation_different;
  45218. if (J.$eq$(relative, "."))
  45219. return B._PathRelation_equal;
  45220. if (J.$eq$(relative, ".."))
  45221. return B._PathRelation_different;
  45222. 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;
  45223. },
  45224. _isWithinOrEqualsFast$2($parent, child) {
  45225. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45226. if ($parent === ".")
  45227. $parent = "";
  45228. t1 = _this.style;
  45229. parentRootLength = t1.rootLength$1($parent);
  45230. childRootLength = t1.rootLength$1(child);
  45231. if (parentRootLength !== childRootLength)
  45232. return B._PathRelation_different;
  45233. for (i = 0; i < parentRootLength; ++i)
  45234. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45235. return B._PathRelation_different;
  45236. t2 = child.length;
  45237. t3 = $parent.length;
  45238. childIndex = childRootLength;
  45239. parentIndex = parentRootLength;
  45240. lastCodeUnit = 47;
  45241. lastParentSeparator = null;
  45242. while (true) {
  45243. if (!(parentIndex < t3 && childIndex < t2))
  45244. break;
  45245. c$0: {
  45246. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45247. childCodeUnit = child.charCodeAt(childIndex);
  45248. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45249. if (t1.isSeparator$1(parentCodeUnit))
  45250. lastParentSeparator = parentIndex;
  45251. ++parentIndex;
  45252. ++childIndex;
  45253. lastCodeUnit = parentCodeUnit;
  45254. break c$0;
  45255. }
  45256. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45257. parentIndex0 = parentIndex + 1;
  45258. lastParentSeparator = parentIndex;
  45259. parentIndex = parentIndex0;
  45260. break c$0;
  45261. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45262. ++childIndex;
  45263. break c$0;
  45264. }
  45265. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45266. ++parentIndex;
  45267. if (parentIndex === t3)
  45268. break;
  45269. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45270. if (t1.isSeparator$1(parentCodeUnit)) {
  45271. parentIndex0 = parentIndex + 1;
  45272. lastParentSeparator = parentIndex;
  45273. parentIndex = parentIndex0;
  45274. break c$0;
  45275. }
  45276. if (parentCodeUnit === 46) {
  45277. ++parentIndex;
  45278. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45279. return B._PathRelation_inconclusive;
  45280. }
  45281. }
  45282. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45283. ++childIndex;
  45284. if (childIndex === t2)
  45285. break;
  45286. childCodeUnit = child.charCodeAt(childIndex);
  45287. if (t1.isSeparator$1(childCodeUnit)) {
  45288. ++childIndex;
  45289. break c$0;
  45290. }
  45291. if (childCodeUnit === 46) {
  45292. ++childIndex;
  45293. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45294. return B._PathRelation_inconclusive;
  45295. }
  45296. }
  45297. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45298. return B._PathRelation_inconclusive;
  45299. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45300. return B._PathRelation_inconclusive;
  45301. return B._PathRelation_different;
  45302. }
  45303. }
  45304. if (childIndex === t2) {
  45305. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45306. lastParentSeparator = parentIndex;
  45307. else if (lastParentSeparator == null)
  45308. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45309. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45310. if (direction === B._PathDirection_dMN)
  45311. return B._PathRelation_equal;
  45312. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45313. }
  45314. direction = _this._pathDirection$2(child, childIndex);
  45315. if (direction === B._PathDirection_dMN)
  45316. return B._PathRelation_equal;
  45317. if (direction === B._PathDirection_vgO)
  45318. return B._PathRelation_inconclusive;
  45319. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45320. },
  45321. _pathDirection$2(path, index) {
  45322. var t1, t2, i, depth, reachedRoot, i0, t3;
  45323. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45324. while (true) {
  45325. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45326. break;
  45327. ++i;
  45328. }
  45329. if (i === t1)
  45330. break;
  45331. i0 = i;
  45332. while (true) {
  45333. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45334. break;
  45335. ++i0;
  45336. }
  45337. t3 = i0 - i;
  45338. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45339. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45340. --depth;
  45341. if (depth < 0)
  45342. break;
  45343. if (depth === 0)
  45344. reachedRoot = true;
  45345. } else
  45346. ++depth;
  45347. if (i0 === t1)
  45348. break;
  45349. i = i0 + 1;
  45350. }
  45351. if (depth < 0)
  45352. return B._PathDirection_vgO;
  45353. if (depth === 0)
  45354. return B._PathDirection_dMN;
  45355. if (reachedRoot)
  45356. return B._PathDirection_6kc;
  45357. return B._PathDirection_Wme;
  45358. },
  45359. hash$1(path) {
  45360. var result, parsed, t1, _this = this;
  45361. path = _this.absolute$1(path);
  45362. result = _this._hashFast$1(path);
  45363. if (result != null)
  45364. return result;
  45365. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45366. parsed.normalize$0();
  45367. t1 = _this._hashFast$1(parsed.toString$0(0));
  45368. t1.toString;
  45369. return t1;
  45370. },
  45371. _hashFast$1(path) {
  45372. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45373. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45374. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45375. if (t2.isSeparator$1(codeUnit)) {
  45376. wasSeparator = true;
  45377. continue;
  45378. }
  45379. if (codeUnit === 46 && wasSeparator) {
  45380. t3 = i + 1;
  45381. if (t3 === t1)
  45382. break;
  45383. next = path.charCodeAt(t3);
  45384. if (t2.isSeparator$1(next))
  45385. continue;
  45386. t3 = false;
  45387. if (!beginning)
  45388. if (next === 46) {
  45389. t3 = i + 2;
  45390. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45391. }
  45392. if (t3)
  45393. return null;
  45394. }
  45395. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45396. beginning = false;
  45397. wasSeparator = false;
  45398. }
  45399. return hash;
  45400. },
  45401. withoutExtension$1(path) {
  45402. var t1, i,
  45403. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45404. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45405. if (t1[i].length !== 0) {
  45406. t1[i] = parsed._splitExtension$0()[0];
  45407. break;
  45408. }
  45409. return parsed.toString$0(0);
  45410. },
  45411. toUri$1(path) {
  45412. var t2,
  45413. t1 = this.style;
  45414. if (t1.rootLength$1(path) <= 0)
  45415. return t1.relativePathToUri$1(path);
  45416. else {
  45417. t2 = this._context$_current;
  45418. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45419. }
  45420. },
  45421. prettyUri$1(uri) {
  45422. var path, rel, _this = this,
  45423. typedUri = A._parseUri(uri);
  45424. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45425. return typedUri.toString$0(0);
  45426. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45427. return typedUri.toString$0(0);
  45428. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45429. rel = _this.relative$1(path);
  45430. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45431. }
  45432. };
  45433. A.Context_joinAll_closure.prototype = {
  45434. call$1(part) {
  45435. return part !== "";
  45436. },
  45437. $signature: 5
  45438. };
  45439. A.Context_split_closure.prototype = {
  45440. call$1(part) {
  45441. return part.length !== 0;
  45442. },
  45443. $signature: 5
  45444. };
  45445. A._validateArgList_closure.prototype = {
  45446. call$1(arg) {
  45447. return arg == null ? "null" : '"' + arg + '"';
  45448. },
  45449. $signature: 411
  45450. };
  45451. A._PathDirection.prototype = {
  45452. toString$0(_) {
  45453. return this.name;
  45454. }
  45455. };
  45456. A._PathRelation.prototype = {
  45457. toString$0(_) {
  45458. return this.name;
  45459. }
  45460. };
  45461. A.InternalStyle.prototype = {
  45462. getRoot$1(path) {
  45463. var $length = this.rootLength$1(path);
  45464. if ($length > 0)
  45465. return B.JSString_methods.substring$2(path, 0, $length);
  45466. return this.isRootRelative$1(path) ? path[0] : null;
  45467. },
  45468. relativePathToUri$1(path) {
  45469. var segments, _null = null,
  45470. t1 = path.length;
  45471. if (t1 === 0)
  45472. return A._Uri__Uri(_null, _null, _null, _null);
  45473. segments = A.Context_Context(this).split$1(0, path);
  45474. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45475. B.JSArray_methods.add$1(segments, "");
  45476. return A._Uri__Uri(_null, _null, segments, _null);
  45477. },
  45478. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45479. return codeUnit1 === codeUnit2;
  45480. },
  45481. pathsEqual$2(path1, path2) {
  45482. return path1 === path2;
  45483. },
  45484. canonicalizeCodeUnit$1(codeUnit) {
  45485. return codeUnit;
  45486. },
  45487. canonicalizePart$1(part) {
  45488. return part;
  45489. }
  45490. };
  45491. A.ParsedPath.prototype = {
  45492. get$basename() {
  45493. var _this = this,
  45494. t1 = type$.String,
  45495. 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));
  45496. copy.removeTrailingSeparators$0();
  45497. t1 = copy.parts;
  45498. if (t1.length === 0) {
  45499. t1 = _this.root;
  45500. return t1 == null ? "" : t1;
  45501. }
  45502. return B.JSArray_methods.get$last(t1);
  45503. },
  45504. get$hasTrailingSeparator() {
  45505. var t1 = this.parts;
  45506. if (t1.length !== 0)
  45507. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  45508. else
  45509. t1 = false;
  45510. return t1;
  45511. },
  45512. removeTrailingSeparators$0() {
  45513. var t1, t2, _this = this;
  45514. while (true) {
  45515. t1 = _this.parts;
  45516. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  45517. break;
  45518. B.JSArray_methods.removeLast$0(_this.parts);
  45519. _this.separators.pop();
  45520. }
  45521. t1 = _this.separators;
  45522. t2 = t1.length;
  45523. if (t2 !== 0)
  45524. t1[t2 - 1] = "";
  45525. },
  45526. normalize$1$canonicalize(canonicalize) {
  45527. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45528. newParts = A._setArrayType([], type$.JSArray_String);
  45529. 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) {
  45530. part = t1[_i];
  45531. if (!(part === "." || part === ""))
  45532. if (part === "..")
  45533. if (newParts.length !== 0)
  45534. newParts.pop();
  45535. else
  45536. ++leadingDoubles;
  45537. else
  45538. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45539. }
  45540. if (_this.root == null)
  45541. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45542. if (newParts.length === 0 && _this.root == null)
  45543. newParts.push(".");
  45544. _this.parts = newParts;
  45545. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45546. t1 = _this.root;
  45547. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45548. _this.separators[0] = "";
  45549. t1 = _this.root;
  45550. if (t1 != null && t3 === $.$get$Style_windows()) {
  45551. if (canonicalize)
  45552. t1 = _this.root = t1.toLowerCase();
  45553. t1.toString;
  45554. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45555. }
  45556. _this.removeTrailingSeparators$0();
  45557. },
  45558. normalize$0() {
  45559. return this.normalize$1$canonicalize(false);
  45560. },
  45561. toString$0(_) {
  45562. var t2, t3, t4, i,
  45563. t1 = this.root;
  45564. t1 = t1 != null ? "" + t1 : "";
  45565. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45566. t1 = t1 + t4[i] + t2[i];
  45567. t1 += A.S(B.JSArray_methods.get$last(t4));
  45568. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45569. },
  45570. _kthLastIndexOf$3(path, character, k) {
  45571. var index, count, leftMostIndexedCharacter;
  45572. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45573. if (path[index] === character) {
  45574. ++count;
  45575. if (count === k)
  45576. return index;
  45577. leftMostIndexedCharacter = index;
  45578. }
  45579. return leftMostIndexedCharacter;
  45580. },
  45581. _splitExtension$1(level) {
  45582. var t1, file, lastDot;
  45583. if (level <= 0)
  45584. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45585. t1 = this.parts;
  45586. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45587. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45588. if (file == null)
  45589. return A._setArrayType(["", ""], type$.JSArray_String);
  45590. if (file === "..")
  45591. return A._setArrayType(["..", ""], type$.JSArray_String);
  45592. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45593. if (lastDot <= 0)
  45594. return A._setArrayType([file, ""], type$.JSArray_String);
  45595. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45596. },
  45597. _splitExtension$0() {
  45598. return this._splitExtension$1(1);
  45599. }
  45600. };
  45601. A.ParsedPath__splitExtension_closure.prototype = {
  45602. call$1(p) {
  45603. return p !== "";
  45604. },
  45605. $signature: 208
  45606. };
  45607. A.ParsedPath__splitExtension_closure0.prototype = {
  45608. call$0() {
  45609. return null;
  45610. },
  45611. $signature: 1
  45612. };
  45613. A.PathException.prototype = {
  45614. toString$0(_) {
  45615. return "PathException: " + this.message;
  45616. },
  45617. $isException: 1,
  45618. get$message(receiver) {
  45619. return this.message;
  45620. }
  45621. };
  45622. A.PathMap.prototype = {};
  45623. A.PathMap__create_closure.prototype = {
  45624. call$2(path1, path2) {
  45625. if (path1 == null)
  45626. return path2 == null;
  45627. if (path2 == null)
  45628. return false;
  45629. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45630. },
  45631. $signature: 331
  45632. };
  45633. A.PathMap__create_closure0.prototype = {
  45634. call$1(path) {
  45635. return path == null ? 0 : this._box_0.context.hash$1(path);
  45636. },
  45637. $signature: 325
  45638. };
  45639. A.PathMap__create_closure1.prototype = {
  45640. call$1(path) {
  45641. return typeof path == "string" || path == null;
  45642. },
  45643. $signature: 324
  45644. };
  45645. A.Style.prototype = {
  45646. toString$0(_) {
  45647. return this.get$name(this);
  45648. }
  45649. };
  45650. A.PosixStyle.prototype = {
  45651. containsSeparator$1(path) {
  45652. return B.JSString_methods.contains$1(path, "/");
  45653. },
  45654. isSeparator$1(codeUnit) {
  45655. return codeUnit === 47;
  45656. },
  45657. needsSeparator$1(path) {
  45658. var t1 = path.length;
  45659. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45660. },
  45661. rootLength$2$withDrive(path, withDrive) {
  45662. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45663. return 1;
  45664. return 0;
  45665. },
  45666. rootLength$1(path) {
  45667. return this.rootLength$2$withDrive(path, false);
  45668. },
  45669. isRootRelative$1(path) {
  45670. return false;
  45671. },
  45672. pathFromUri$1(uri) {
  45673. var t1;
  45674. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45675. t1 = uri.get$path(uri);
  45676. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45677. }
  45678. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45679. },
  45680. absolutePathToUri$1(path) {
  45681. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45682. t1 = parsed.parts;
  45683. if (t1.length === 0)
  45684. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45685. else if (parsed.get$hasTrailingSeparator())
  45686. B.JSArray_methods.add$1(parsed.parts, "");
  45687. return A._Uri__Uri(null, null, parsed.parts, "file");
  45688. },
  45689. get$name() {
  45690. return "posix";
  45691. },
  45692. get$separator() {
  45693. return "/";
  45694. }
  45695. };
  45696. A.UrlStyle.prototype = {
  45697. containsSeparator$1(path) {
  45698. return B.JSString_methods.contains$1(path, "/");
  45699. },
  45700. isSeparator$1(codeUnit) {
  45701. return codeUnit === 47;
  45702. },
  45703. needsSeparator$1(path) {
  45704. var t1 = path.length;
  45705. if (t1 === 0)
  45706. return false;
  45707. if (path.charCodeAt(t1 - 1) !== 47)
  45708. return true;
  45709. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45710. },
  45711. rootLength$2$withDrive(path, withDrive) {
  45712. var i, codeUnit, index,
  45713. t1 = path.length;
  45714. if (t1 === 0)
  45715. return 0;
  45716. if (path.charCodeAt(0) === 47)
  45717. return 1;
  45718. for (i = 0; i < t1; ++i) {
  45719. codeUnit = path.charCodeAt(i);
  45720. if (codeUnit === 47)
  45721. return 0;
  45722. if (codeUnit === 58) {
  45723. if (i === 0)
  45724. return 0;
  45725. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45726. if (index <= 0)
  45727. return t1;
  45728. if (!withDrive || t1 < index + 3)
  45729. return index;
  45730. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45731. return index;
  45732. t1 = A.driveLetterEnd(path, index + 1);
  45733. return t1 == null ? index : t1;
  45734. }
  45735. }
  45736. return 0;
  45737. },
  45738. rootLength$1(path) {
  45739. return this.rootLength$2$withDrive(path, false);
  45740. },
  45741. isRootRelative$1(path) {
  45742. return path.length !== 0 && path.charCodeAt(0) === 47;
  45743. },
  45744. pathFromUri$1(uri) {
  45745. return uri.toString$0(0);
  45746. },
  45747. relativePathToUri$1(path) {
  45748. return A.Uri_parse(path);
  45749. },
  45750. absolutePathToUri$1(path) {
  45751. return A.Uri_parse(path);
  45752. },
  45753. get$name() {
  45754. return "url";
  45755. },
  45756. get$separator() {
  45757. return "/";
  45758. }
  45759. };
  45760. A.WindowsStyle.prototype = {
  45761. containsSeparator$1(path) {
  45762. return B.JSString_methods.contains$1(path, "/");
  45763. },
  45764. isSeparator$1(codeUnit) {
  45765. return codeUnit === 47 || codeUnit === 92;
  45766. },
  45767. needsSeparator$1(path) {
  45768. var t1 = path.length;
  45769. if (t1 === 0)
  45770. return false;
  45771. t1 = path.charCodeAt(t1 - 1);
  45772. return !(t1 === 47 || t1 === 92);
  45773. },
  45774. rootLength$2$withDrive(path, withDrive) {
  45775. var index,
  45776. t1 = path.length;
  45777. if (t1 === 0)
  45778. return 0;
  45779. if (path.charCodeAt(0) === 47)
  45780. return 1;
  45781. if (path.charCodeAt(0) === 92) {
  45782. if (t1 < 2 || path.charCodeAt(1) !== 92)
  45783. return 1;
  45784. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  45785. if (index > 0) {
  45786. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  45787. if (index > 0)
  45788. return index;
  45789. }
  45790. return t1;
  45791. }
  45792. if (t1 < 3)
  45793. return 0;
  45794. if (!A.isAlphabetic(path.charCodeAt(0)))
  45795. return 0;
  45796. if (path.charCodeAt(1) !== 58)
  45797. return 0;
  45798. t1 = path.charCodeAt(2);
  45799. if (!(t1 === 47 || t1 === 92))
  45800. return 0;
  45801. return 3;
  45802. },
  45803. rootLength$1(path) {
  45804. return this.rootLength$2$withDrive(path, false);
  45805. },
  45806. isRootRelative$1(path) {
  45807. return this.rootLength$1(path) === 1;
  45808. },
  45809. pathFromUri$1(uri) {
  45810. var path, t1;
  45811. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  45812. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45813. path = uri.get$path(uri);
  45814. if (uri.get$host() === "") {
  45815. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  45816. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  45817. } else
  45818. path = "\\\\" + uri.get$host() + path;
  45819. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  45820. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45821. },
  45822. absolutePathToUri$1(path) {
  45823. var rootParts, t2,
  45824. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45825. t1 = parsed.root;
  45826. t1.toString;
  45827. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  45828. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  45829. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  45830. if (parsed.get$hasTrailingSeparator())
  45831. B.JSArray_methods.add$1(parsed.parts, "");
  45832. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  45833. } else {
  45834. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  45835. B.JSArray_methods.add$1(parsed.parts, "");
  45836. t1 = parsed.parts;
  45837. t2 = parsed.root;
  45838. t2.toString;
  45839. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  45840. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  45841. return A._Uri__Uri(null, null, parsed.parts, "file");
  45842. }
  45843. },
  45844. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45845. var upperCase1;
  45846. if (codeUnit1 === codeUnit2)
  45847. return true;
  45848. if (codeUnit1 === 47)
  45849. return codeUnit2 === 92;
  45850. if (codeUnit1 === 92)
  45851. return codeUnit2 === 47;
  45852. if ((codeUnit1 ^ codeUnit2) !== 32)
  45853. return false;
  45854. upperCase1 = codeUnit1 | 32;
  45855. return upperCase1 >= 97 && upperCase1 <= 122;
  45856. },
  45857. pathsEqual$2(path1, path2) {
  45858. var t1, i;
  45859. if (path1 === path2)
  45860. return true;
  45861. t1 = path1.length;
  45862. if (t1 !== path2.length)
  45863. return false;
  45864. for (i = 0; i < t1; ++i)
  45865. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  45866. return false;
  45867. return true;
  45868. },
  45869. canonicalizeCodeUnit$1(codeUnit) {
  45870. if (codeUnit === 47)
  45871. return 92;
  45872. if (codeUnit < 65)
  45873. return codeUnit;
  45874. if (codeUnit > 90)
  45875. return codeUnit;
  45876. return codeUnit | 32;
  45877. },
  45878. canonicalizePart$1(part) {
  45879. return part.toLowerCase();
  45880. },
  45881. get$name() {
  45882. return "windows";
  45883. },
  45884. get$separator() {
  45885. return "\\";
  45886. }
  45887. };
  45888. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  45889. call$1(part) {
  45890. return part !== "";
  45891. },
  45892. $signature: 5
  45893. };
  45894. A.Version.prototype = {
  45895. get$min() {
  45896. return this;
  45897. },
  45898. get$max() {
  45899. return this;
  45900. },
  45901. get$includeMin() {
  45902. return true;
  45903. },
  45904. get$includeMax() {
  45905. return true;
  45906. },
  45907. $eq(_, other) {
  45908. var _this = this;
  45909. if (other == null)
  45910. return false;
  45911. 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);
  45912. },
  45913. get$hashCode(_) {
  45914. var _this = this;
  45915. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  45916. },
  45917. compareTo$1(_, other) {
  45918. var t1, t2, t3, comparison, _this = this;
  45919. if (other instanceof A.Version) {
  45920. t1 = _this.major;
  45921. t2 = other.major;
  45922. if (t1 !== t2)
  45923. return B.JSInt_methods.compareTo$1(t1, t2);
  45924. t1 = _this.minor;
  45925. t2 = other.minor;
  45926. if (t1 !== t2)
  45927. return B.JSInt_methods.compareTo$1(t1, t2);
  45928. t1 = _this.patch;
  45929. t2 = other.patch;
  45930. if (t1 !== t2)
  45931. return B.JSInt_methods.compareTo$1(t1, t2);
  45932. t1 = _this.preRelease;
  45933. t2 = t1.length === 0;
  45934. if (t2 && other.preRelease.length !== 0)
  45935. return 1;
  45936. t3 = other.preRelease;
  45937. if (t3.length === 0 && !t2)
  45938. return -1;
  45939. comparison = _this._compareLists$2(t1, t3);
  45940. if (comparison !== 0)
  45941. return comparison;
  45942. t1 = _this.build;
  45943. t2 = t1.length === 0;
  45944. if (t2 && other.build.length !== 0)
  45945. return -1;
  45946. t3 = other.build;
  45947. if (t3.length === 0 && !t2)
  45948. return 1;
  45949. return _this._compareLists$2(t1, t3);
  45950. } else
  45951. return -other.compareTo$1(0, _this);
  45952. },
  45953. toString$0(_) {
  45954. return this._version$_text;
  45955. },
  45956. _compareLists$2(a, b) {
  45957. var i, t1, t2, aPart, bPart;
  45958. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  45959. aPart = i < t1 ? a[i] : null;
  45960. bPart = i < t2 ? b[i] : null;
  45961. if (J.$eq$(aPart, bPart))
  45962. continue;
  45963. if (aPart == null)
  45964. return -1;
  45965. if (bPart == null)
  45966. return 1;
  45967. if (typeof aPart == "number")
  45968. if (typeof bPart == "number")
  45969. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  45970. else
  45971. return -1;
  45972. else if (typeof bPart == "number")
  45973. return 1;
  45974. else {
  45975. A._asString(aPart);
  45976. A._asString(bPart);
  45977. if (aPart === bPart)
  45978. t1 = 0;
  45979. else
  45980. t1 = aPart < bPart ? -1 : 1;
  45981. return t1;
  45982. }
  45983. }
  45984. return 0;
  45985. },
  45986. $isComparable: 1,
  45987. $isVersionRange: 1
  45988. };
  45989. A.Version__splitParts_closure.prototype = {
  45990. call$1(part) {
  45991. var t1 = A.Primitives_parseInt(part, null);
  45992. return t1 == null ? part : t1;
  45993. },
  45994. $signature: 323
  45995. };
  45996. A.VersionRange.prototype = {
  45997. $eq(_, other) {
  45998. var t1;
  45999. if (other == null)
  46000. return false;
  46001. if (!type$.VersionRange._is(other))
  46002. return false;
  46003. t1 = false;
  46004. if (this.min == other.get$min())
  46005. if (J.$eq$(this.max, other.get$max())) {
  46006. t1 = !other.get$includeMin();
  46007. if (t1)
  46008. other.get$includeMax();
  46009. }
  46010. return t1;
  46011. },
  46012. get$hashCode(_) {
  46013. var t1 = B.JSNull_methods.get$hashCode(this.min),
  46014. t2 = J.get$hashCode$(this.max);
  46015. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  46016. },
  46017. allows$1(other) {
  46018. var t1 = this.max;
  46019. if (t1 != null)
  46020. if (other.compareTo$1(0, t1) > 0)
  46021. return false;
  46022. return true;
  46023. },
  46024. compareTo$1(_, other) {
  46025. if (other.get$min() == null)
  46026. return this._compareMax$1(other);
  46027. return -1;
  46028. },
  46029. _compareMax$1(other) {
  46030. var t2, result,
  46031. t1 = this.max;
  46032. if (t1 == null) {
  46033. if (other.get$max() == null)
  46034. return 0;
  46035. return 1;
  46036. } else if (other.get$max() == null)
  46037. return -1;
  46038. t2 = other.get$max();
  46039. t2.toString;
  46040. result = t1.compareTo$1(0, t2);
  46041. if (result !== 0)
  46042. return result;
  46043. other.get$includeMax();
  46044. return 0;
  46045. },
  46046. toString$0(_) {
  46047. var t2,
  46048. max = this.max,
  46049. t1 = max == null;
  46050. if (!t1)
  46051. t2 = "" + "<=" + max.toString$0(0);
  46052. else
  46053. t2 = "";
  46054. t1 = t1 ? t2 + "any" : t2;
  46055. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46056. },
  46057. $isComparable: 1,
  46058. get$min() {
  46059. return this.min;
  46060. },
  46061. get$max() {
  46062. return this.max;
  46063. },
  46064. get$includeMin() {
  46065. return this.includeMin;
  46066. },
  46067. get$includeMax() {
  46068. return this.includeMax;
  46069. }
  46070. };
  46071. A.CssMediaQuery.prototype = {
  46072. merge$1(other) {
  46073. 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";
  46074. if (!_this.conjunction || !other.conjunction)
  46075. return B._SingletonCssMediaQueryMergeResult_1;
  46076. t1 = _this.modifier;
  46077. ourModifier = t1 == null ? _null : t1.toLowerCase();
  46078. t2 = _this.type;
  46079. t3 = t2 == null;
  46080. ourType = t3 ? _null : t2.toLowerCase();
  46081. t4 = other.modifier;
  46082. theirModifier = t4 == null ? _null : t4.toLowerCase();
  46083. t5 = other.type;
  46084. t6 = t5 == null;
  46085. theirType = t6 ? _null : t5.toLowerCase();
  46086. t7 = ourType == null;
  46087. if (t7 && theirType == null) {
  46088. t1 = A.List_List$of(_this.conditions, true, type$.String);
  46089. B.JSArray_methods.addAll$1(t1, other.conditions);
  46090. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46091. }
  46092. t8 = ourModifier === "not";
  46093. if (t8 !== (theirModifier === "not")) {
  46094. if (ourType == theirType) {
  46095. negativeConditions = t8 ? _this.conditions : other.conditions;
  46096. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46097. return B._SingletonCssMediaQueryMergeResult_0;
  46098. else
  46099. return B._SingletonCssMediaQueryMergeResult_1;
  46100. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46101. return B._SingletonCssMediaQueryMergeResult_1;
  46102. if (t8) {
  46103. conditions = other.conditions;
  46104. type = theirType;
  46105. modifier = theirModifier;
  46106. } else {
  46107. conditions = _this.conditions;
  46108. type = ourType;
  46109. modifier = ourModifier;
  46110. }
  46111. } else if (t8) {
  46112. if (ourType != theirType)
  46113. return B._SingletonCssMediaQueryMergeResult_1;
  46114. fewerConditions = _this.conditions;
  46115. fewerConditions0 = other.conditions;
  46116. t3 = fewerConditions.length > fewerConditions0.length;
  46117. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46118. if (t3)
  46119. fewerConditions = fewerConditions0;
  46120. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46121. return B._SingletonCssMediaQueryMergeResult_1;
  46122. conditions = moreConditions;
  46123. type = ourType;
  46124. modifier = ourModifier;
  46125. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46126. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46127. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46128. B.JSArray_methods.addAll$1(t3, other.conditions);
  46129. conditions = t3;
  46130. modifier = theirModifier;
  46131. } else {
  46132. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46133. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46134. B.JSArray_methods.addAll$1(t3, other.conditions);
  46135. conditions = t3;
  46136. modifier = ourModifier;
  46137. } else {
  46138. if (ourType != theirType)
  46139. return B._SingletonCssMediaQueryMergeResult_0;
  46140. else {
  46141. modifier = ourModifier == null ? theirModifier : ourModifier;
  46142. t3 = A.List_List$of(_this.conditions, true, type$.String);
  46143. B.JSArray_methods.addAll$1(t3, other.conditions);
  46144. }
  46145. conditions = t3;
  46146. }
  46147. type = ourType;
  46148. }
  46149. t2 = type == ourType ? t2 : t5;
  46150. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46151. },
  46152. $eq(_, other) {
  46153. if (other == null)
  46154. return false;
  46155. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46156. },
  46157. get$hashCode(_) {
  46158. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46159. },
  46160. toString$0(_) {
  46161. var t2, _this = this,
  46162. t1 = _this.modifier;
  46163. t1 = t1 != null ? "" + (t1 + " ") : "";
  46164. t2 = _this.type;
  46165. if (t2 != null) {
  46166. t1 += t2;
  46167. if (_this.conditions.length !== 0)
  46168. t1 += " and ";
  46169. }
  46170. t2 = _this.conjunction ? " and " : " or ";
  46171. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46172. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46173. }
  46174. };
  46175. A._SingletonCssMediaQueryMergeResult.prototype = {
  46176. _enumToString$0() {
  46177. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46178. }
  46179. };
  46180. A.MediaQuerySuccessfulMergeResult.prototype = {
  46181. toString$0(_) {
  46182. return this.query.toString$0(0);
  46183. }
  46184. };
  46185. A.ModifiableCssAtRule.prototype = {
  46186. accept$1$1(visitor) {
  46187. return visitor.visitCssAtRule$1(this);
  46188. },
  46189. accept$1(visitor) {
  46190. return this.accept$1$1(visitor, type$.dynamic);
  46191. },
  46192. equalsIgnoringChildren$1(other) {
  46193. var t1, t2;
  46194. if (other instanceof A.ModifiableCssAtRule) {
  46195. t1 = this.name;
  46196. t2 = other.name;
  46197. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46198. } else
  46199. t1 = false;
  46200. return t1;
  46201. },
  46202. copyWithoutChildren$0() {
  46203. var _this = this;
  46204. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46205. },
  46206. addChild$1(child) {
  46207. this.super$ModifiableCssParentNode$addChild(child);
  46208. },
  46209. get$isChildless() {
  46210. return this.isChildless;
  46211. },
  46212. get$span(receiver) {
  46213. return this.span;
  46214. }
  46215. };
  46216. A.ModifiableCssComment.prototype = {
  46217. accept$1$1(visitor) {
  46218. return visitor.visitCssComment$1(this);
  46219. },
  46220. accept$1(visitor) {
  46221. return this.accept$1$1(visitor, type$.dynamic);
  46222. },
  46223. $isCssComment: 1,
  46224. get$span(receiver) {
  46225. return this.span;
  46226. }
  46227. };
  46228. A.ModifiableCssDeclaration.prototype = {
  46229. accept$1$1(visitor) {
  46230. return visitor.visitCssDeclaration$1(this);
  46231. },
  46232. accept$1(visitor) {
  46233. return this.accept$1$1(visitor, type$.dynamic);
  46234. },
  46235. toString$0(_) {
  46236. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46237. },
  46238. get$span(receiver) {
  46239. return this.span;
  46240. }
  46241. };
  46242. A.ModifiableCssImport.prototype = {
  46243. accept$1$1(visitor) {
  46244. return visitor.visitCssImport$1(this);
  46245. },
  46246. accept$1(visitor) {
  46247. return this.accept$1$1(visitor, type$.dynamic);
  46248. },
  46249. get$span(receiver) {
  46250. return this.span;
  46251. }
  46252. };
  46253. A.ModifiableCssKeyframeBlock.prototype = {
  46254. accept$1$1(visitor) {
  46255. return visitor.visitCssKeyframeBlock$1(this);
  46256. },
  46257. accept$1(visitor) {
  46258. return this.accept$1$1(visitor, type$.dynamic);
  46259. },
  46260. equalsIgnoringChildren$1(other) {
  46261. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46262. },
  46263. copyWithoutChildren$0() {
  46264. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46265. },
  46266. get$span(receiver) {
  46267. return this.span;
  46268. }
  46269. };
  46270. A.ModifiableCssMediaRule.prototype = {
  46271. accept$1$1(visitor) {
  46272. return visitor.visitCssMediaRule$1(this);
  46273. },
  46274. accept$1(visitor) {
  46275. return this.accept$1$1(visitor, type$.dynamic);
  46276. },
  46277. equalsIgnoringChildren$1(other) {
  46278. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46279. },
  46280. copyWithoutChildren$0() {
  46281. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46282. },
  46283. get$span(receiver) {
  46284. return this.span;
  46285. }
  46286. };
  46287. A.ModifiableCssNode.prototype = {
  46288. get$parent(_) {
  46289. return this._parent;
  46290. },
  46291. get$hasFollowingSibling() {
  46292. var t2,
  46293. t1 = this._parent;
  46294. if (t1 == null)
  46295. t1 = null;
  46296. else {
  46297. t1 = t1.children;
  46298. t2 = this._indexInParent;
  46299. t2.toString;
  46300. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46301. }
  46302. return t1 === true;
  46303. },
  46304. get$isGroupEnd() {
  46305. return this.isGroupEnd;
  46306. }
  46307. };
  46308. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46309. call$1(sibling) {
  46310. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46311. },
  46312. $signature: 312
  46313. };
  46314. A.ModifiableCssParentNode.prototype = {
  46315. get$isChildless() {
  46316. return false;
  46317. },
  46318. addChild$1(child) {
  46319. var t1;
  46320. child._parent = this;
  46321. t1 = this._children;
  46322. child._indexInParent = t1.length;
  46323. t1.push(child);
  46324. },
  46325. clearChildren$0() {
  46326. var t1, t2, _i, child;
  46327. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46328. child = t1[_i];
  46329. child._indexInParent = child._parent = null;
  46330. }
  46331. B.JSArray_methods.clear$0(t1);
  46332. },
  46333. $isCssParentNode: 1,
  46334. get$children(receiver) {
  46335. return this.children;
  46336. }
  46337. };
  46338. A.ModifiableCssStyleRule.prototype = {
  46339. accept$1$1(visitor) {
  46340. return visitor.visitCssStyleRule$1(this);
  46341. },
  46342. accept$1(visitor) {
  46343. return this.accept$1$1(visitor, type$.dynamic);
  46344. },
  46345. equalsIgnoringChildren$1(other) {
  46346. var t1;
  46347. if (other instanceof A.ModifiableCssStyleRule)
  46348. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46349. else
  46350. t1 = false;
  46351. return t1;
  46352. },
  46353. copyWithoutChildren$0() {
  46354. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46355. },
  46356. $isCssStyleRule: 1,
  46357. get$span(receiver) {
  46358. return this.span;
  46359. }
  46360. };
  46361. A.ModifiableCssStylesheet.prototype = {
  46362. accept$1$1(visitor) {
  46363. return visitor.visitCssStylesheet$1(this);
  46364. },
  46365. accept$1(visitor) {
  46366. return this.accept$1$1(visitor, type$.dynamic);
  46367. },
  46368. equalsIgnoringChildren$1(other) {
  46369. return other instanceof A.ModifiableCssStylesheet;
  46370. },
  46371. copyWithoutChildren$0() {
  46372. return A.ModifiableCssStylesheet$(this.span);
  46373. },
  46374. $isCssStylesheet: 1,
  46375. get$span(receiver) {
  46376. return this.span;
  46377. }
  46378. };
  46379. A.ModifiableCssSupportsRule.prototype = {
  46380. accept$1$1(visitor) {
  46381. return visitor.visitCssSupportsRule$1(this);
  46382. },
  46383. accept$1(visitor) {
  46384. return this.accept$1$1(visitor, type$.dynamic);
  46385. },
  46386. equalsIgnoringChildren$1(other) {
  46387. var t1, t2;
  46388. if (other instanceof A.ModifiableCssSupportsRule) {
  46389. t1 = this.condition;
  46390. t2 = other.condition;
  46391. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46392. } else
  46393. t1 = false;
  46394. return t1;
  46395. },
  46396. copyWithoutChildren$0() {
  46397. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46398. },
  46399. get$span(receiver) {
  46400. return this.span;
  46401. }
  46402. };
  46403. A.CssNode.prototype = {
  46404. toString$0(_) {
  46405. var _null = null;
  46406. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46407. },
  46408. $isAstNode: 1
  46409. };
  46410. A.CssParentNode.prototype = {};
  46411. A._IsInvisibleVisitor.prototype = {
  46412. visitCssAtRule$1(rule) {
  46413. return false;
  46414. },
  46415. visitCssComment$1(comment) {
  46416. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46417. },
  46418. visitCssStyleRule$1(rule) {
  46419. var t1 = rule._style_rule$_selector._box$_inner;
  46420. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46421. }
  46422. };
  46423. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46424. A.CssStylesheet.prototype = {
  46425. get$parent(_) {
  46426. return null;
  46427. },
  46428. get$isGroupEnd() {
  46429. return false;
  46430. },
  46431. get$isChildless() {
  46432. return false;
  46433. },
  46434. accept$1$1(visitor) {
  46435. return visitor.visitCssStylesheet$1(this);
  46436. },
  46437. accept$1(visitor) {
  46438. return this.accept$1$1(visitor, type$.dynamic);
  46439. },
  46440. get$children(receiver) {
  46441. return this.children;
  46442. },
  46443. get$span(receiver) {
  46444. return this.span;
  46445. }
  46446. };
  46447. A.CssValue.prototype = {
  46448. $eq(_, other) {
  46449. if (other == null)
  46450. return false;
  46451. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46452. },
  46453. get$hashCode(_) {
  46454. return J.get$hashCode$(this.value);
  46455. },
  46456. toString$0(_) {
  46457. return J.toString$0$(this.value);
  46458. },
  46459. $isAstNode: 1,
  46460. get$span(receiver) {
  46461. return this.span;
  46462. }
  46463. };
  46464. A._FakeAstNode.prototype = {
  46465. get$span(_) {
  46466. return this._callback.call$0();
  46467. },
  46468. $isAstNode: 1
  46469. };
  46470. A.ArgumentList.prototype = {
  46471. get$isEmpty(_) {
  46472. var t1;
  46473. if (this.positional.length === 0) {
  46474. t1 = this.named;
  46475. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46476. } else
  46477. t1 = false;
  46478. return t1;
  46479. },
  46480. toString$0(_) {
  46481. var t2, t3, _i, _1_0, _2_0, _this = this,
  46482. t1 = A._setArrayType([], type$.JSArray_String);
  46483. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46484. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46485. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46486. t3 = t2.get$current(t2);
  46487. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46488. }
  46489. _1_0 = _this.rest;
  46490. if (_1_0 != null)
  46491. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46492. _2_0 = _this.keywordRest;
  46493. if (_2_0 != null)
  46494. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46495. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46496. },
  46497. _parenthesizeArgument$1(argument) {
  46498. var t1;
  46499. $label0$0: {
  46500. if (argument instanceof A.ListExpression && B.ListSeparator_qVN === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46501. t1 = "(" + argument.toString$0(0) + ")";
  46502. break $label0$0;
  46503. }
  46504. t1 = argument.toString$0(0);
  46505. break $label0$0;
  46506. }
  46507. return t1;
  46508. },
  46509. $isAstNode: 1,
  46510. get$span(receiver) {
  46511. return this.span;
  46512. }
  46513. };
  46514. A.AtRootQuery.prototype = {
  46515. excludes$1(node) {
  46516. var t1, _this = this;
  46517. if (_this._all)
  46518. return !_this.include;
  46519. $label0$0: {
  46520. if (node instanceof A.ModifiableCssStyleRule) {
  46521. t1 = _this._at_root_query$_rule !== _this.include;
  46522. break $label0$0;
  46523. }
  46524. if (node instanceof A.ModifiableCssMediaRule) {
  46525. t1 = _this.excludesName$1("media");
  46526. break $label0$0;
  46527. }
  46528. if (node instanceof A.ModifiableCssSupportsRule) {
  46529. t1 = _this.excludesName$1("supports");
  46530. break $label0$0;
  46531. }
  46532. if (node instanceof A.ModifiableCssAtRule) {
  46533. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46534. break $label0$0;
  46535. }
  46536. t1 = false;
  46537. break $label0$0;
  46538. }
  46539. return t1;
  46540. },
  46541. excludesName$1($name) {
  46542. var t1 = this._all || this.names.contains$1(0, $name);
  46543. return t1 !== this.include;
  46544. }
  46545. };
  46546. A.ConfiguredVariable.prototype = {
  46547. toString$0(_) {
  46548. var t1 = this.expression.toString$0(0),
  46549. t2 = this.isGuarded ? " !default" : "";
  46550. return "$" + this.name + ": " + t1 + t2;
  46551. },
  46552. $isAstNode: 1,
  46553. get$span(receiver) {
  46554. return this.span;
  46555. }
  46556. };
  46557. A.Expression.prototype = {$isAstNode: 1};
  46558. A.BinaryOperationExpression.prototype = {
  46559. get$span(_) {
  46560. var right,
  46561. left = this.left;
  46562. for (; left instanceof A.BinaryOperationExpression;)
  46563. left = left.left;
  46564. right = this.right;
  46565. for (; right instanceof A.BinaryOperationExpression;)
  46566. right = right.right;
  46567. return left.get$span(left).expand$1(0, right.get$span(right));
  46568. },
  46569. get$operatorSpan() {
  46570. var t3, t4,
  46571. t1 = this.left,
  46572. t2 = t1.get$span(t1);
  46573. t2 = t2.get$file(t2);
  46574. t3 = this.right;
  46575. t4 = t3.get$span(t3);
  46576. if (t2 === t4.get$file(t4)) {
  46577. t2 = t1.get$span(t1);
  46578. t2 = t2.get$end(t2);
  46579. t4 = t3.get$span(t3);
  46580. t4 = t2.offset < t4.get$start(t4).offset;
  46581. t2 = t4;
  46582. } else
  46583. t2 = false;
  46584. if (t2) {
  46585. t2 = t1.get$span(t1);
  46586. t2 = t2.get$file(t2);
  46587. t1 = t1.get$span(t1);
  46588. t1 = t1.get$end(t1);
  46589. t3 = t3.get$span(t3);
  46590. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46591. t1 = t3;
  46592. } else
  46593. t1 = this.get$span(0);
  46594. return t1;
  46595. },
  46596. accept$1$1(visitor) {
  46597. return visitor.visitBinaryOperationExpression$1(0, this);
  46598. },
  46599. accept$1(visitor) {
  46600. return this.accept$1$1(visitor, type$.dynamic);
  46601. },
  46602. toString$0(_) {
  46603. var t1, t2, right, t3, operator, _this = this,
  46604. _0_0 = _this.left;
  46605. $label0$0: {
  46606. if (_0_0 instanceof A.BinaryOperationExpression) {
  46607. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46608. break $label0$0;
  46609. }
  46610. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46611. t1 = true;
  46612. break $label0$0;
  46613. }
  46614. t1 = false;
  46615. break $label0$0;
  46616. }
  46617. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46618. t2 += _0_0.toString$0(0);
  46619. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46620. t2 = _this.operator;
  46621. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  46622. right = _this.right;
  46623. $label1$1: {
  46624. t3 = false;
  46625. if (right instanceof A.BinaryOperationExpression) {
  46626. operator = right.operator;
  46627. if (operator.precedence <= t2.precedence) {
  46628. t3 = !(operator === t2 && operator.isAssociative);
  46629. t2 = t3;
  46630. } else
  46631. t2 = t3;
  46632. break $label1$1;
  46633. }
  46634. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46635. t2 = true;
  46636. break $label1$1;
  46637. }
  46638. t2 = t3;
  46639. break $label1$1;
  46640. }
  46641. if (t2)
  46642. t1 += A.Primitives_stringFromCharCode(40);
  46643. t1 += right.toString$0(0);
  46644. if (t2)
  46645. t1 += A.Primitives_stringFromCharCode(41);
  46646. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46647. }
  46648. };
  46649. A.BinaryOperator.prototype = {
  46650. _enumToString$0() {
  46651. return "BinaryOperator." + this._name;
  46652. },
  46653. toString$0(_) {
  46654. return this.name;
  46655. }
  46656. };
  46657. A.BooleanExpression.prototype = {
  46658. accept$1$1(visitor) {
  46659. return visitor.visitBooleanExpression$1(0, this);
  46660. },
  46661. accept$1(visitor) {
  46662. return this.accept$1$1(visitor, type$.dynamic);
  46663. },
  46664. toString$0(_) {
  46665. return String(this.value);
  46666. },
  46667. get$span(receiver) {
  46668. return this.span;
  46669. }
  46670. };
  46671. A.ColorExpression.prototype = {
  46672. accept$1$1(visitor) {
  46673. return visitor.visitColorExpression$1(0, this);
  46674. },
  46675. accept$1(visitor) {
  46676. return this.accept$1$1(visitor, type$.dynamic);
  46677. },
  46678. toString$0(_) {
  46679. return A.serializeValue(this.value, true, true);
  46680. },
  46681. get$span(receiver) {
  46682. return this.span;
  46683. }
  46684. };
  46685. A.FunctionExpression.prototype = {
  46686. get$nameSpan() {
  46687. if (this.namespace == null)
  46688. return A.SpanExtensions_initialIdentifier(this.span);
  46689. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  46690. },
  46691. accept$1$1(visitor) {
  46692. return visitor.visitFunctionExpression$1(0, this);
  46693. },
  46694. accept$1(visitor) {
  46695. return this.accept$1$1(visitor, type$.dynamic);
  46696. },
  46697. toString$0(_) {
  46698. var t1 = this.namespace;
  46699. t1 = t1 != null ? "" + (t1 + ".") : "";
  46700. t1 += this.originalName + this.$arguments.toString$0(0);
  46701. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46702. },
  46703. get$span(receiver) {
  46704. return this.span;
  46705. }
  46706. };
  46707. A.IfExpression.prototype = {
  46708. accept$1$1(visitor) {
  46709. return visitor.visitIfExpression$1(0, this);
  46710. },
  46711. accept$1(visitor) {
  46712. return this.accept$1$1(visitor, type$.dynamic);
  46713. },
  46714. toString$0(_) {
  46715. return "if" + this.$arguments.toString$0(0);
  46716. },
  46717. get$span(receiver) {
  46718. return this.span;
  46719. }
  46720. };
  46721. A.InterpolatedFunctionExpression.prototype = {
  46722. accept$1$1(visitor) {
  46723. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46724. },
  46725. accept$1(visitor) {
  46726. return this.accept$1$1(visitor, type$.dynamic);
  46727. },
  46728. toString$0(_) {
  46729. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46730. },
  46731. get$span(receiver) {
  46732. return this.span;
  46733. }
  46734. };
  46735. A.ListExpression.prototype = {
  46736. accept$1$1(visitor) {
  46737. return visitor.visitListExpression$1(0, this);
  46738. },
  46739. accept$1(visitor) {
  46740. return this.accept$1$1(visitor, type$.dynamic);
  46741. },
  46742. toString$0(_) {
  46743. var t2, t3, t4, t5, _this = this,
  46744. t1 = _this.hasBrackets;
  46745. if (t1)
  46746. t2 = "" + A.Primitives_stringFromCharCode(91);
  46747. else {
  46748. t2 = _this.contents.length;
  46749. if (t2 !== 0)
  46750. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN;
  46751. else
  46752. t2 = true;
  46753. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46754. }
  46755. t3 = _this.contents;
  46756. t4 = _this.separator === B.ListSeparator_qVN;
  46757. t5 = t4 ? ", " : " ";
  46758. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46759. if (t1)
  46760. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46761. else {
  46762. t1 = t3.length;
  46763. if (t1 === 0)
  46764. t1 = t5 + A.Primitives_stringFromCharCode(41);
  46765. else
  46766. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  46767. }
  46768. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46769. },
  46770. _list0$_elementNeedsParens$1(expression) {
  46771. var childSeparator, t1, _0_13;
  46772. $label0$0: {
  46773. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  46774. childSeparator = expression.separator;
  46775. t1 = this.separator === B.ListSeparator_qVN ? childSeparator === B.ListSeparator_qVN : childSeparator !== B.ListSeparator_undecided_null_undecided;
  46776. break $label0$0;
  46777. }
  46778. if (expression instanceof A.UnaryOperationExpression) {
  46779. _0_13 = expression.operator;
  46780. if (B.UnaryOperator_Rbl !== _0_13)
  46781. t1 = B.UnaryOperator_UCP === _0_13;
  46782. else
  46783. t1 = true;
  46784. } else
  46785. t1 = false;
  46786. if (t1) {
  46787. t1 = this.separator === B.ListSeparator_qSL;
  46788. break $label0$0;
  46789. }
  46790. t1 = false;
  46791. break $label0$0;
  46792. }
  46793. return t1;
  46794. },
  46795. get$span(receiver) {
  46796. return this.span;
  46797. }
  46798. };
  46799. A.ListExpression_toString_closure.prototype = {
  46800. call$1(element) {
  46801. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  46802. },
  46803. $signature: 135
  46804. };
  46805. A.MapExpression.prototype = {
  46806. accept$1$1(visitor) {
  46807. return visitor.visitMapExpression$1(0, this);
  46808. },
  46809. accept$1(visitor) {
  46810. return this.accept$1$1(visitor, type$.dynamic);
  46811. },
  46812. toString$0(_) {
  46813. var t2, t3, _i, t4,
  46814. t1 = A._setArrayType([], type$.JSArray_String);
  46815. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  46816. t4 = t2[_i];
  46817. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  46818. }
  46819. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46820. },
  46821. get$span(receiver) {
  46822. return this.span;
  46823. }
  46824. };
  46825. A.NullExpression.prototype = {
  46826. accept$1$1(visitor) {
  46827. return visitor.visitNullExpression$1(0, this);
  46828. },
  46829. accept$1(visitor) {
  46830. return this.accept$1$1(visitor, type$.dynamic);
  46831. },
  46832. toString$0(_) {
  46833. return "null";
  46834. },
  46835. get$span(receiver) {
  46836. return this.span;
  46837. }
  46838. };
  46839. A.NumberExpression.prototype = {
  46840. accept$1$1(visitor) {
  46841. return visitor.visitNumberExpression$1(0, this);
  46842. },
  46843. accept$1(visitor) {
  46844. return this.accept$1$1(visitor, type$.dynamic);
  46845. },
  46846. toString$0(_) {
  46847. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  46848. },
  46849. get$span(receiver) {
  46850. return this.span;
  46851. }
  46852. };
  46853. A.ParenthesizedExpression.prototype = {
  46854. accept$1$1(visitor) {
  46855. return visitor.visitParenthesizedExpression$1(0, this);
  46856. },
  46857. accept$1(visitor) {
  46858. return this.accept$1$1(visitor, type$.dynamic);
  46859. },
  46860. toString$0(_) {
  46861. return "(" + this.expression.toString$0(0) + ")";
  46862. },
  46863. get$span(receiver) {
  46864. return this.span;
  46865. }
  46866. };
  46867. A.SelectorExpression.prototype = {
  46868. accept$1$1(visitor) {
  46869. return visitor.visitSelectorExpression$1(0, this);
  46870. },
  46871. accept$1(visitor) {
  46872. return this.accept$1$1(visitor, type$.dynamic);
  46873. },
  46874. toString$0(_) {
  46875. return "&";
  46876. },
  46877. get$span(receiver) {
  46878. return this.span;
  46879. }
  46880. };
  46881. A.StringExpression.prototype = {
  46882. get$span(_) {
  46883. return this.text.span;
  46884. },
  46885. accept$1$1(visitor) {
  46886. return visitor.visitStringExpression$1(0, this);
  46887. },
  46888. accept$1(visitor) {
  46889. return this.accept$1$1(visitor, type$.dynamic);
  46890. },
  46891. asInterpolation$1$static($static) {
  46892. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  46893. if (!this.hasQuotes)
  46894. return this.text;
  46895. t1 = this.text;
  46896. t2 = t1.contents;
  46897. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  46898. t3 = new A.StringBuffer("");
  46899. t4 = A._setArrayType([], type$.JSArray_Object);
  46900. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  46901. buffer = new A.InterpolationBuffer(t3, t4, t5);
  46902. t6 = A.Primitives_stringFromCharCode(quote);
  46903. t3._contents += t6;
  46904. for (t6 = t2.length, i = 0; i < t6; ++i) {
  46905. value = t2[i];
  46906. if (value instanceof A.Expression) {
  46907. t7 = t1.spanForElement$1(i);
  46908. buffer._flushText$0();
  46909. t4.push(value);
  46910. t5.push(t7);
  46911. continue;
  46912. }
  46913. if (typeof value == "string")
  46914. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  46915. }
  46916. t2 = A.Primitives_stringFromCharCode(quote);
  46917. t3._contents += t2;
  46918. return buffer.interpolation$1(t1.span);
  46919. },
  46920. asInterpolation$0() {
  46921. return this.asInterpolation$1$static(false);
  46922. },
  46923. toString$0(_) {
  46924. return this.asInterpolation$0().toString$0(0);
  46925. }
  46926. };
  46927. A.SupportsExpression.prototype = {
  46928. get$span(_) {
  46929. var t1 = this.condition;
  46930. return t1.get$span(t1);
  46931. },
  46932. accept$1$1(visitor) {
  46933. return visitor.visitSupportsExpression$1(0, this);
  46934. },
  46935. accept$1(visitor) {
  46936. return this.accept$1$1(visitor, type$.dynamic);
  46937. },
  46938. toString$0(_) {
  46939. return this.condition.toString$0(0);
  46940. }
  46941. };
  46942. A.UnaryOperationExpression.prototype = {
  46943. accept$1$1(visitor) {
  46944. return visitor.visitUnaryOperationExpression$1(0, this);
  46945. },
  46946. accept$1(visitor) {
  46947. return this.accept$1$1(visitor, type$.dynamic);
  46948. },
  46949. toString$0(_) {
  46950. var operand,
  46951. t1 = this.operator,
  46952. t2 = t1.operator;
  46953. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  46954. operand = this.operand;
  46955. $label0$0: {
  46956. t2 = true;
  46957. if (!(operand instanceof A.BinaryOperationExpression))
  46958. if (!(operand instanceof A.UnaryOperationExpression))
  46959. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  46960. if (t2)
  46961. break $label0$0;
  46962. break $label0$0;
  46963. }
  46964. if (t2)
  46965. t1 += "40";
  46966. t1 += operand.toString$0(0);
  46967. if (t2)
  46968. t1 += "41";
  46969. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46970. },
  46971. get$span(receiver) {
  46972. return this.span;
  46973. }
  46974. };
  46975. A.UnaryOperator.prototype = {
  46976. _enumToString$0() {
  46977. return "UnaryOperator." + this._name;
  46978. },
  46979. toString$0(_) {
  46980. return this.name;
  46981. }
  46982. };
  46983. A.ValueExpression.prototype = {
  46984. accept$1$1(visitor) {
  46985. return visitor.visitValueExpression$1(0, this);
  46986. },
  46987. accept$1(visitor) {
  46988. return this.accept$1$1(visitor, type$.dynamic);
  46989. },
  46990. toString$0(_) {
  46991. return this.value.toString$0(0);
  46992. },
  46993. get$span(receiver) {
  46994. return this.span;
  46995. }
  46996. };
  46997. A.VariableExpression.prototype = {
  46998. accept$1$1(visitor) {
  46999. return visitor.visitVariableExpression$1(0, this);
  47000. },
  47001. accept$1(visitor) {
  47002. return this.accept$1$1(visitor, type$.dynamic);
  47003. },
  47004. toString$0(_) {
  47005. return this.span.get$text();
  47006. },
  47007. get$span(receiver) {
  47008. return this.span;
  47009. }
  47010. };
  47011. A.DynamicImport.prototype = {
  47012. toString$0(_) {
  47013. return A.StringExpression_quoteText(this.urlString);
  47014. },
  47015. $isAstNode: 1,
  47016. $isImport: 1,
  47017. get$span(receiver) {
  47018. return this.span;
  47019. }
  47020. };
  47021. A.StaticImport.prototype = {
  47022. toString$0(_) {
  47023. var t1 = this.url.toString$0(0),
  47024. t2 = this.modifiers;
  47025. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  47026. },
  47027. $isAstNode: 1,
  47028. $isImport: 1,
  47029. get$span(receiver) {
  47030. return this.span;
  47031. }
  47032. };
  47033. A.Interpolation.prototype = {
  47034. get$asPlain() {
  47035. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  47036. _0_0 = this.contents;
  47037. $label0$0: {
  47038. _0_1 = _0_0.length;
  47039. if (_0_1 <= 0) {
  47040. t1 = "";
  47041. break $label0$0;
  47042. }
  47043. _0_6_isSet = _0_1 === 1;
  47044. if (_0_6_isSet) {
  47045. _0_6 = _0_0[0];
  47046. _0_60 = _0_6;
  47047. t1 = typeof _0_6 == "string";
  47048. _0_6 = _0_60;
  47049. } else {
  47050. _0_6 = null;
  47051. t1 = false;
  47052. }
  47053. if (t1) {
  47054. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  47055. t1 = first;
  47056. break $label0$0;
  47057. }
  47058. t1 = null;
  47059. break $label0$0;
  47060. }
  47061. return t1;
  47062. },
  47063. get$initialPlain() {
  47064. var _0_4_isSet, _0_4, _0_40, t1, first,
  47065. _0_0 = this.contents;
  47066. $label0$0: {
  47067. _0_4_isSet = _0_0.length >= 1;
  47068. if (_0_4_isSet) {
  47069. _0_4 = _0_0[0];
  47070. _0_40 = _0_4;
  47071. t1 = typeof _0_4 == "string";
  47072. _0_4 = _0_40;
  47073. } else {
  47074. _0_4 = null;
  47075. t1 = false;
  47076. }
  47077. if (t1) {
  47078. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  47079. t1 = first;
  47080. break $label0$0;
  47081. }
  47082. t1 = "";
  47083. break $label0$0;
  47084. }
  47085. return t1;
  47086. },
  47087. spanForElement$1(index) {
  47088. var t1, t2, t3, t4, _this = this;
  47089. $label0$0: {
  47090. if (typeof _this.contents[index] == "string") {
  47091. t1 = _this.span;
  47092. t2 = t1.file;
  47093. if (index === 0)
  47094. t3 = A.FileLocation$_(t2, t1._file$_start);
  47095. else {
  47096. t3 = _this.spans[index - 1];
  47097. t3 = t3.get$end(t3);
  47098. }
  47099. t4 = _this.spans;
  47100. if (index === t4.length)
  47101. t1 = A.FileLocation$_(t2, t1._end);
  47102. else {
  47103. t1 = t4[index + 1];
  47104. t1 = t1.get$start(t1);
  47105. }
  47106. t1 = t2.span$2(0, t3.offset, t1.offset);
  47107. break $label0$0;
  47108. }
  47109. t1 = _this.spans[index];
  47110. t1.toString;
  47111. break $label0$0;
  47112. }
  47113. return t1;
  47114. },
  47115. Interpolation$3(contents, spans, span) {
  47116. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47117. _s8_ = "contents";
  47118. if (spans.length !== J.get$length$asx(contents))
  47119. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47120. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47121. t5 = t1[i];
  47122. isString = typeof t5 == "string";
  47123. if (!isString && !(t5 instanceof A.Expression))
  47124. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47125. else if (isString) {
  47126. if (i !== 0 && typeof t1[i - 1] == "string")
  47127. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47128. else if (i < t3 && t4[i] != null)
  47129. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47130. } else if (i >= t3 || t4[i] == null)
  47131. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47132. }
  47133. },
  47134. toString$0(_) {
  47135. var t1 = this.contents;
  47136. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47137. },
  47138. $isAstNode: 1,
  47139. get$span(receiver) {
  47140. return this.span;
  47141. }
  47142. };
  47143. A.Interpolation_toString_closure.prototype = {
  47144. call$1(value) {
  47145. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47146. },
  47147. $signature: 136
  47148. };
  47149. A.Parameter.prototype = {
  47150. toString$0(_) {
  47151. var t1 = this.defaultValue,
  47152. t2 = this.name;
  47153. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47154. },
  47155. $isAstNode: 1,
  47156. get$span(receiver) {
  47157. return this.span;
  47158. }
  47159. };
  47160. A.ParameterList.prototype = {
  47161. get$spanWithName() {
  47162. var t3, t4,
  47163. t1 = this.span,
  47164. t2 = t1.file,
  47165. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  47166. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  47167. while (true) {
  47168. if (i > 0) {
  47169. t3 = text.charCodeAt(i);
  47170. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47171. } else
  47172. t3 = false;
  47173. if (!t3)
  47174. break;
  47175. --i;
  47176. }
  47177. t3 = text.charCodeAt(i);
  47178. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47179. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47180. else
  47181. t3 = true;
  47182. if (!t3)
  47183. return t1;
  47184. --i;
  47185. while (true) {
  47186. if (i >= 0) {
  47187. t3 = text.charCodeAt(i);
  47188. if (t3 !== 95) {
  47189. if (!(t3 >= 97 && t3 <= 122))
  47190. t4 = t3 >= 65 && t3 <= 90;
  47191. else
  47192. t4 = true;
  47193. t4 = t4 || t3 >= 128;
  47194. } else
  47195. t4 = true;
  47196. if (!t4)
  47197. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47198. else
  47199. t3 = true;
  47200. } else
  47201. t3 = false;
  47202. if (!t3)
  47203. break;
  47204. --i;
  47205. }
  47206. t3 = i + 1;
  47207. t4 = text.charCodeAt(t3);
  47208. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  47209. return t1;
  47210. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  47211. },
  47212. verify$2(positional, names) {
  47213. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47214. _s10_ = "invocation";
  47215. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47216. parameter = t1[i];
  47217. if (i < positional) {
  47218. t4 = parameter.name;
  47219. if (t3.containsKey$1(t4))
  47220. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47221. } else {
  47222. t4 = parameter.name;
  47223. if (t3.containsKey$1(t4))
  47224. ++namedUsed;
  47225. else if (parameter.defaultValue == null)
  47226. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47227. }
  47228. }
  47229. if (_this.restParameter != null)
  47230. return;
  47231. if (positional > t2) {
  47232. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47233. 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)));
  47234. }
  47235. if (namedUsed < t3.get$length(t3)) {
  47236. t2 = type$.String;
  47237. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47238. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47239. 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)));
  47240. }
  47241. },
  47242. _originalParameterName$1($name) {
  47243. var t1, text, t2, _i, parameter, t3, end;
  47244. if ($name === this.restParameter) {
  47245. t1 = this.span;
  47246. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  47247. 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, "."));
  47248. }
  47249. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47250. parameter = t1[_i];
  47251. if (parameter.name === $name) {
  47252. t1 = parameter.span;
  47253. if (parameter.defaultValue == null) {
  47254. t2 = t1._file$_start;
  47255. t3 = t1.file._decodedChars;
  47256. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  47257. t1 = t3;
  47258. } else {
  47259. text = t1.get$text();
  47260. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47261. end = A._lastNonWhitespace(t1, false);
  47262. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47263. }
  47264. return t1;
  47265. }
  47266. }
  47267. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47268. },
  47269. matches$2(positional, names) {
  47270. var t1, t2, t3, namedUsed, i, parameter;
  47271. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47272. parameter = t1[i];
  47273. if (i < positional) {
  47274. if (t3.containsKey$1(parameter.name))
  47275. return false;
  47276. } else if (t3.containsKey$1(parameter.name))
  47277. ++namedUsed;
  47278. else if (parameter.defaultValue == null)
  47279. return false;
  47280. }
  47281. if (this.restParameter != null)
  47282. return true;
  47283. if (positional > t2)
  47284. return false;
  47285. if (namedUsed < t3.get$length(t3))
  47286. return false;
  47287. return true;
  47288. },
  47289. toString$0(_) {
  47290. var t2, t3, _i,
  47291. t1 = A._setArrayType([], type$.JSArray_String);
  47292. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47293. t1.push("$" + t2[_i].toString$0(0));
  47294. t2 = this.restParameter;
  47295. if (t2 != null)
  47296. t1.push("$" + t2 + "...");
  47297. return B.JSArray_methods.join$1(t1, ", ");
  47298. },
  47299. $isAstNode: 1,
  47300. get$span(receiver) {
  47301. return this.span;
  47302. }
  47303. };
  47304. A.ParameterList_verify_closure.prototype = {
  47305. call$1(parameter) {
  47306. return parameter.name;
  47307. },
  47308. $signature: 301
  47309. };
  47310. A.ParameterList_verify_closure0.prototype = {
  47311. call$1($name) {
  47312. return "$" + $name;
  47313. },
  47314. $signature: 6
  47315. };
  47316. A.Statement.prototype = {$isAstNode: 1};
  47317. A.AtRootRule.prototype = {
  47318. accept$1$1(visitor) {
  47319. return visitor.visitAtRootRule$1(0, this);
  47320. },
  47321. accept$1(visitor) {
  47322. return this.accept$1$1(visitor, type$.dynamic);
  47323. },
  47324. toString$0(_) {
  47325. var buffer = new A.StringBuffer("@at-root "),
  47326. t1 = this.query;
  47327. if (t1 != null)
  47328. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47329. t1 = this.children;
  47330. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47331. },
  47332. get$span(receiver) {
  47333. return this.span;
  47334. }
  47335. };
  47336. A.AtRule.prototype = {
  47337. accept$1$1(visitor) {
  47338. return visitor.visitAtRule$1(0, this);
  47339. },
  47340. accept$1(visitor) {
  47341. return this.accept$1$1(visitor, type$.dynamic);
  47342. },
  47343. toString$0(_) {
  47344. var children,
  47345. t1 = "@" + this.name.toString$0(0),
  47346. buffer = new A.StringBuffer(t1),
  47347. t2 = this.value;
  47348. if (t2 != null)
  47349. buffer._contents = t1 + (" " + t2.toString$0(0));
  47350. children = this.children;
  47351. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47352. },
  47353. get$span(receiver) {
  47354. return this.span;
  47355. }
  47356. };
  47357. A.CallableDeclaration.prototype = {
  47358. get$span(receiver) {
  47359. return this.span;
  47360. }
  47361. };
  47362. A.ContentBlock.prototype = {
  47363. accept$1$1(visitor) {
  47364. return visitor.visitContentBlock$1(0, this);
  47365. },
  47366. accept$1(visitor) {
  47367. return this.accept$1$1(visitor, type$.dynamic);
  47368. },
  47369. toString$0(_) {
  47370. var t2,
  47371. t1 = this.parameters;
  47372. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47373. t2 = this.children;
  47374. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47375. }
  47376. };
  47377. A.ContentRule.prototype = {
  47378. accept$1$1(visitor) {
  47379. return visitor.visitContentRule$1(0, this);
  47380. },
  47381. accept$1(visitor) {
  47382. return this.accept$1$1(visitor, type$.dynamic);
  47383. },
  47384. toString$0(_) {
  47385. var t1 = this.$arguments;
  47386. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47387. },
  47388. get$span(receiver) {
  47389. return this.span;
  47390. }
  47391. };
  47392. A.DebugRule.prototype = {
  47393. accept$1$1(visitor) {
  47394. return visitor.visitDebugRule$1(0, this);
  47395. },
  47396. accept$1(visitor) {
  47397. return this.accept$1$1(visitor, type$.dynamic);
  47398. },
  47399. toString$0(_) {
  47400. return "@debug " + this.expression.toString$0(0) + ";";
  47401. },
  47402. get$span(receiver) {
  47403. return this.span;
  47404. }
  47405. };
  47406. A.Declaration.prototype = {
  47407. accept$1$1(visitor) {
  47408. return visitor.visitDeclaration$1(0, this);
  47409. },
  47410. accept$1(visitor) {
  47411. return this.accept$1$1(visitor, type$.dynamic);
  47412. },
  47413. toString$0(_) {
  47414. var t3, _0_0,
  47415. buffer = new A.StringBuffer(""),
  47416. t1 = this.name,
  47417. t2 = "" + t1.toString$0(0);
  47418. buffer._contents = t2;
  47419. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  47420. t3 = this.value;
  47421. if (t3 != null) {
  47422. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  47423. buffer._contents = t1 + t3.toString$0(0);
  47424. }
  47425. _0_0 = this.children;
  47426. if (_0_0 != null)
  47427. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47428. else
  47429. return buffer.toString$0(0) + ";";
  47430. },
  47431. get$span(receiver) {
  47432. return this.span;
  47433. }
  47434. };
  47435. A.EachRule.prototype = {
  47436. accept$1$1(visitor) {
  47437. return visitor.visitEachRule$1(0, this);
  47438. },
  47439. accept$1(visitor) {
  47440. return this.accept$1$1(visitor, type$.dynamic);
  47441. },
  47442. toString$0(_) {
  47443. var t1 = this.variables,
  47444. t2 = this.children;
  47445. 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, " ") + "}";
  47446. },
  47447. get$span(receiver) {
  47448. return this.span;
  47449. }
  47450. };
  47451. A.EachRule_toString_closure.prototype = {
  47452. call$1(variable) {
  47453. return "$" + variable;
  47454. },
  47455. $signature: 6
  47456. };
  47457. A.ErrorRule.prototype = {
  47458. accept$1$1(visitor) {
  47459. return visitor.visitErrorRule$1(0, this);
  47460. },
  47461. accept$1(visitor) {
  47462. return this.accept$1$1(visitor, type$.dynamic);
  47463. },
  47464. toString$0(_) {
  47465. return "@error " + this.expression.toString$0(0) + ";";
  47466. },
  47467. get$span(receiver) {
  47468. return this.span;
  47469. }
  47470. };
  47471. A.ExtendRule.prototype = {
  47472. accept$1$1(visitor) {
  47473. return visitor.visitExtendRule$1(0, this);
  47474. },
  47475. accept$1(visitor) {
  47476. return this.accept$1$1(visitor, type$.dynamic);
  47477. },
  47478. toString$0(_) {
  47479. var t1 = this.selector.toString$0(0),
  47480. t2 = this.isOptional ? " !optional" : "";
  47481. return "@extend " + t1 + t2 + ";";
  47482. },
  47483. get$span(receiver) {
  47484. return this.span;
  47485. }
  47486. };
  47487. A.ForRule.prototype = {
  47488. accept$1$1(visitor) {
  47489. return visitor.visitForRule$1(0, this);
  47490. },
  47491. accept$1(visitor) {
  47492. return this.accept$1$1(visitor, type$.dynamic);
  47493. },
  47494. toString$0(_) {
  47495. var _this = this,
  47496. t1 = _this.from.toString$0(0),
  47497. t2 = _this.isExclusive ? "to" : "through",
  47498. t3 = _this.children;
  47499. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  47500. },
  47501. get$span(receiver) {
  47502. return this.span;
  47503. }
  47504. };
  47505. A.ForwardRule.prototype = {
  47506. accept$1$1(visitor) {
  47507. return visitor.visitForwardRule$1(0, this);
  47508. },
  47509. accept$1(visitor) {
  47510. return this.accept$1$1(visitor, type$.dynamic);
  47511. },
  47512. toString$0(_) {
  47513. var t2, prefix, _this = this,
  47514. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47515. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47516. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47517. if (shownMixinsAndFunctions != null) {
  47518. t2 = _this.shownVariables;
  47519. t2.toString;
  47520. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47521. t1 = t2;
  47522. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47523. t2 = _this.hiddenVariables;
  47524. t2.toString;
  47525. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47526. t1 = t2;
  47527. }
  47528. prefix = _this.prefix;
  47529. if (prefix != null)
  47530. t1 += " as " + prefix + "*";
  47531. t2 = _this.configuration;
  47532. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47533. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47534. },
  47535. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47536. var t2,
  47537. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  47538. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47539. t1.push("$" + t2.get$current(0));
  47540. return B.JSArray_methods.join$1(t1, ", ");
  47541. },
  47542. get$span(receiver) {
  47543. return this.span;
  47544. }
  47545. };
  47546. A.FunctionRule.prototype = {
  47547. accept$1$1(visitor) {
  47548. return visitor.visitFunctionRule$1(0, this);
  47549. },
  47550. accept$1(visitor) {
  47551. return this.accept$1$1(visitor, type$.dynamic);
  47552. },
  47553. toString$0(_) {
  47554. var t1 = this.children;
  47555. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47556. }
  47557. };
  47558. A.IfRule.prototype = {
  47559. accept$1$1(visitor) {
  47560. return visitor.visitIfRule$1(0, this);
  47561. },
  47562. accept$1(visitor) {
  47563. return this.accept$1$1(visitor, type$.dynamic);
  47564. },
  47565. toString$0(_) {
  47566. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47567. lastClause = this.lastClause;
  47568. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47569. },
  47570. get$span(receiver) {
  47571. return this.span;
  47572. }
  47573. };
  47574. A.IfRule_toString_closure.prototype = {
  47575. call$2(index, clause) {
  47576. var t1 = index === 0 ? "if" : "else if";
  47577. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47578. },
  47579. $signature: 274
  47580. };
  47581. A.IfRuleClause.prototype = {};
  47582. A.IfRuleClause$__closure.prototype = {
  47583. call$1(child) {
  47584. var t1;
  47585. $label0$0: {
  47586. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47587. t1 = true;
  47588. break $label0$0;
  47589. }
  47590. if (child instanceof A.ImportRule) {
  47591. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47592. break $label0$0;
  47593. }
  47594. t1 = false;
  47595. break $label0$0;
  47596. }
  47597. return t1;
  47598. },
  47599. $signature: 262
  47600. };
  47601. A.IfRuleClause$___closure.prototype = {
  47602. call$1($import) {
  47603. return $import instanceof A.DynamicImport;
  47604. },
  47605. $signature: 256
  47606. };
  47607. A.IfClause.prototype = {
  47608. toString$0(_) {
  47609. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47610. }
  47611. };
  47612. A.ElseClause.prototype = {
  47613. toString$0(_) {
  47614. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47615. }
  47616. };
  47617. A.ImportRule.prototype = {
  47618. accept$1$1(visitor) {
  47619. return visitor.visitImportRule$1(0, this);
  47620. },
  47621. accept$1(visitor) {
  47622. return this.accept$1$1(visitor, type$.dynamic);
  47623. },
  47624. toString$0(_) {
  47625. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47626. },
  47627. get$span(receiver) {
  47628. return this.span;
  47629. }
  47630. };
  47631. A.IncludeRule.prototype = {
  47632. get$spanWithoutContent() {
  47633. var t2, t3,
  47634. t1 = this.span;
  47635. if (!(this.content == null)) {
  47636. t2 = t1.file;
  47637. t3 = this.$arguments.span;
  47638. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  47639. t1 = t3;
  47640. }
  47641. return t1;
  47642. },
  47643. get$nameSpan() {
  47644. var startSpan, scanner, _null = null,
  47645. t1 = this.span,
  47646. t2 = t1._file$_start,
  47647. t3 = t1._end,
  47648. t4 = t1.file._decodedChars;
  47649. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  47650. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47651. else {
  47652. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  47653. scanner.expectChar$1(64);
  47654. A._scanIdentifier(scanner);
  47655. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47656. }
  47657. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  47658. },
  47659. accept$1$1(visitor) {
  47660. return visitor.visitIncludeRule$1(0, this);
  47661. },
  47662. accept$1(visitor) {
  47663. return this.accept$1$1(visitor, type$.dynamic);
  47664. },
  47665. toString$0(_) {
  47666. var t2, _this = this,
  47667. t1 = _this.namespace;
  47668. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47669. t1 += _this.name;
  47670. t2 = _this.$arguments;
  47671. if (!t2.get$isEmpty(0))
  47672. t1 += "(" + t2.toString$0(0) + ")";
  47673. t2 = _this.content;
  47674. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47675. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47676. },
  47677. get$span(receiver) {
  47678. return this.span;
  47679. }
  47680. };
  47681. A.LoudComment.prototype = {
  47682. get$span(_) {
  47683. return this.text.span;
  47684. },
  47685. accept$1$1(visitor) {
  47686. return visitor.visitLoudComment$1(0, this);
  47687. },
  47688. accept$1(visitor) {
  47689. return this.accept$1$1(visitor, type$.dynamic);
  47690. },
  47691. toString$0(_) {
  47692. return this.text.toString$0(0);
  47693. }
  47694. };
  47695. A.MediaRule.prototype = {
  47696. accept$1$1(visitor) {
  47697. return visitor.visitMediaRule$1(0, this);
  47698. },
  47699. accept$1(visitor) {
  47700. return this.accept$1$1(visitor, type$.dynamic);
  47701. },
  47702. toString$0(_) {
  47703. var t1 = this.children;
  47704. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47705. },
  47706. get$span(receiver) {
  47707. return this.span;
  47708. }
  47709. };
  47710. A.MixinRule.prototype = {
  47711. get$hasContent() {
  47712. var result, _this = this,
  47713. value = _this.__MixinRule_hasContent_FI;
  47714. if (value === $) {
  47715. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47716. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47717. _this.__MixinRule_hasContent_FI = result;
  47718. value = result;
  47719. }
  47720. return value;
  47721. },
  47722. accept$1$1(visitor) {
  47723. return visitor.visitMixinRule$1(0, this);
  47724. },
  47725. accept$1(visitor) {
  47726. return this.accept$1$1(visitor, type$.dynamic);
  47727. },
  47728. toString$0(_) {
  47729. var t1 = "@mixin " + this.name,
  47730. t2 = this.parameters;
  47731. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47732. t1 += "(" + t2.toString$0(0) + ")";
  47733. t2 = this.children;
  47734. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47735. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47736. }
  47737. };
  47738. A._HasContentVisitor.prototype = {
  47739. visitContentRule$1(_, _0) {
  47740. return true;
  47741. }
  47742. };
  47743. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47744. A.ParentStatement.prototype = {};
  47745. A.ParentStatement_closure.prototype = {
  47746. call$1(child) {
  47747. var t1;
  47748. $label0$0: {
  47749. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47750. t1 = true;
  47751. break $label0$0;
  47752. }
  47753. if (child instanceof A.ImportRule) {
  47754. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47755. break $label0$0;
  47756. }
  47757. t1 = false;
  47758. break $label0$0;
  47759. }
  47760. return t1;
  47761. },
  47762. $signature: 262
  47763. };
  47764. A.ParentStatement__closure.prototype = {
  47765. call$1($import) {
  47766. return $import instanceof A.DynamicImport;
  47767. },
  47768. $signature: 256
  47769. };
  47770. A.ReturnRule.prototype = {
  47771. accept$1$1(visitor) {
  47772. return visitor.visitReturnRule$1(0, this);
  47773. },
  47774. accept$1(visitor) {
  47775. return this.accept$1$1(visitor, type$.dynamic);
  47776. },
  47777. toString$0(_) {
  47778. return "@return " + this.expression.toString$0(0) + ";";
  47779. },
  47780. get$span(receiver) {
  47781. return this.span;
  47782. }
  47783. };
  47784. A.SilentComment.prototype = {
  47785. accept$1$1(visitor) {
  47786. return visitor.visitSilentComment$1(0, this);
  47787. },
  47788. accept$1(visitor) {
  47789. return this.accept$1$1(visitor, type$.dynamic);
  47790. },
  47791. toString$0(_) {
  47792. return this.text;
  47793. },
  47794. get$span(receiver) {
  47795. return this.span;
  47796. }
  47797. };
  47798. A.StyleRule.prototype = {
  47799. accept$1$1(visitor) {
  47800. return visitor.visitStyleRule$1(0, this);
  47801. },
  47802. accept$1(visitor) {
  47803. return this.accept$1$1(visitor, type$.dynamic);
  47804. },
  47805. toString$0(_) {
  47806. var t1 = this.children;
  47807. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47808. },
  47809. get$span(receiver) {
  47810. return this.span;
  47811. }
  47812. };
  47813. A.Stylesheet.prototype = {
  47814. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  47815. var t1, t2, t3, t4, _i, child;
  47816. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  47817. child = t1[_i];
  47818. if (child instanceof A.UseRule) {
  47819. t4.push(child);
  47820. continue;
  47821. }
  47822. if (child instanceof A.ForwardRule) {
  47823. t3.push(child);
  47824. continue;
  47825. }
  47826. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  47827. continue;
  47828. break;
  47829. }
  47830. },
  47831. accept$1$1(visitor) {
  47832. return visitor.visitStylesheet$1(0, this);
  47833. },
  47834. accept$1(visitor) {
  47835. return this.accept$1$1(visitor, type$.dynamic);
  47836. },
  47837. toString$0(_) {
  47838. var t1 = this.children;
  47839. return (t1 && B.JSArray_methods).join$1(t1, " ");
  47840. },
  47841. get$span(receiver) {
  47842. return this.span;
  47843. }
  47844. };
  47845. A.SupportsRule.prototype = {
  47846. accept$1$1(visitor) {
  47847. return visitor.visitSupportsRule$1(0, this);
  47848. },
  47849. accept$1(visitor) {
  47850. return this.accept$1$1(visitor, type$.dynamic);
  47851. },
  47852. toString$0(_) {
  47853. var t1 = this.children;
  47854. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47855. },
  47856. get$span(receiver) {
  47857. return this.span;
  47858. }
  47859. };
  47860. A.UseRule.prototype = {
  47861. UseRule$4$configuration(url, namespace, span, configuration) {
  47862. var t1, t2, _i, variable;
  47863. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47864. variable = t1[_i];
  47865. if (variable.isGuarded)
  47866. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  47867. }
  47868. },
  47869. accept$1$1(visitor) {
  47870. return visitor.visitUseRule$1(0, this);
  47871. },
  47872. accept$1(visitor) {
  47873. return this.accept$1$1(visitor, type$.dynamic);
  47874. },
  47875. toString$0(_) {
  47876. var t1 = this.url,
  47877. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  47878. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  47879. dot = B.JSString_methods.indexOf$1(basename, ".");
  47880. t1 = this.namespace;
  47881. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  47882. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  47883. else
  47884. t1 = t2;
  47885. t2 = this.configuration;
  47886. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47887. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47888. },
  47889. get$span(receiver) {
  47890. return this.span;
  47891. }
  47892. };
  47893. A.VariableDeclaration.prototype = {
  47894. accept$1$1(visitor) {
  47895. return visitor.visitVariableDeclaration$1(0, this);
  47896. },
  47897. accept$1(visitor) {
  47898. return this.accept$1$1(visitor, type$.dynamic);
  47899. },
  47900. toString$0(_) {
  47901. var t1 = this.namespace;
  47902. t1 = t1 != null ? "" + (t1 + ".") : "";
  47903. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  47904. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47905. },
  47906. get$span(receiver) {
  47907. return this.span;
  47908. }
  47909. };
  47910. A.WarnRule.prototype = {
  47911. accept$1$1(visitor) {
  47912. return visitor.visitWarnRule$1(0, this);
  47913. },
  47914. accept$1(visitor) {
  47915. return this.accept$1$1(visitor, type$.dynamic);
  47916. },
  47917. toString$0(_) {
  47918. return "@warn " + this.expression.toString$0(0) + ";";
  47919. },
  47920. get$span(receiver) {
  47921. return this.span;
  47922. }
  47923. };
  47924. A.WhileRule.prototype = {
  47925. accept$1$1(visitor) {
  47926. return visitor.visitWhileRule$1(0, this);
  47927. },
  47928. accept$1(visitor) {
  47929. return this.accept$1$1(visitor, type$.dynamic);
  47930. },
  47931. toString$0(_) {
  47932. var t1 = this.children;
  47933. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47934. },
  47935. get$span(receiver) {
  47936. return this.span;
  47937. }
  47938. };
  47939. A.SupportsAnything.prototype = {
  47940. withSpan$1(span) {
  47941. return new A.SupportsAnything(this.contents, span);
  47942. },
  47943. toString$0(_) {
  47944. return "(" + this.contents.toString$0(0) + ")";
  47945. },
  47946. $isAstNode: 1,
  47947. get$span(receiver) {
  47948. return this.span;
  47949. }
  47950. };
  47951. A.SupportsDeclaration.prototype = {
  47952. get$isCustomProperty() {
  47953. var t1,
  47954. _0_0 = this.name;
  47955. $label0$0: {
  47956. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  47957. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  47958. break $label0$0;
  47959. }
  47960. t1 = false;
  47961. break $label0$0;
  47962. }
  47963. return t1;
  47964. },
  47965. withSpan$1(span) {
  47966. return new A.SupportsDeclaration(this.name, this.value, span);
  47967. },
  47968. toString$0(_) {
  47969. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  47970. },
  47971. $isAstNode: 1,
  47972. get$span(receiver) {
  47973. return this.span;
  47974. }
  47975. };
  47976. A.SupportsFunction.prototype = {
  47977. withSpan$1(span) {
  47978. return new A.SupportsFunction(this.name, this.$arguments, span);
  47979. },
  47980. toString$0(_) {
  47981. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  47982. },
  47983. $isAstNode: 1,
  47984. get$span(receiver) {
  47985. return this.span;
  47986. }
  47987. };
  47988. A.SupportsInterpolation.prototype = {
  47989. withSpan$1(span) {
  47990. return new A.SupportsInterpolation(this.expression, span);
  47991. },
  47992. toString$0(_) {
  47993. return "#{" + this.expression.toString$0(0) + "}";
  47994. },
  47995. $isAstNode: 1,
  47996. get$span(receiver) {
  47997. return this.span;
  47998. }
  47999. };
  48000. A.SupportsNegation.prototype = {
  48001. withSpan$1(span) {
  48002. return new A.SupportsNegation(this.condition, span);
  48003. },
  48004. toString$0(_) {
  48005. var t1 = this.condition;
  48006. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  48007. return "not (" + t1.toString$0(0) + ")";
  48008. else
  48009. return "not " + t1.toString$0(0);
  48010. },
  48011. $isAstNode: 1,
  48012. get$span(receiver) {
  48013. return this.span;
  48014. }
  48015. };
  48016. A.SupportsOperation.prototype = {
  48017. withSpan$1(span) {
  48018. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  48019. },
  48020. toString$0(_) {
  48021. var _this = this;
  48022. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  48023. },
  48024. _parenthesize$1(condition) {
  48025. var t1;
  48026. if (!(condition instanceof A.SupportsNegation))
  48027. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  48028. else
  48029. t1 = true;
  48030. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  48031. },
  48032. $isAstNode: 1,
  48033. get$span(receiver) {
  48034. return this.span;
  48035. }
  48036. };
  48037. A.Selector.prototype = {
  48038. assertNotBogus$1$name($name) {
  48039. if (!this.accept$1(B._IsBogusVisitor_true))
  48040. return;
  48041. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_9hF);
  48042. },
  48043. toString$0(_) {
  48044. var _null = null,
  48045. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48046. this.accept$1(visitor);
  48047. return visitor._serialize$_buffer.toString$0(0);
  48048. },
  48049. $isAstNode: 1,
  48050. get$span(receiver) {
  48051. return this.span;
  48052. }
  48053. };
  48054. A._IsInvisibleVisitor0.prototype = {
  48055. visitSelectorList$1(list) {
  48056. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  48057. },
  48058. visitComplexSelector$1(complex) {
  48059. var t1;
  48060. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  48061. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  48062. else
  48063. t1 = true;
  48064. return t1;
  48065. },
  48066. visitPlaceholderSelector$1(placeholder) {
  48067. return true;
  48068. },
  48069. visitPseudoSelector$1(pseudo) {
  48070. var t1,
  48071. _0_0 = pseudo.selector;
  48072. if (_0_0 != null) {
  48073. if (pseudo.name === "not")
  48074. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  48075. else
  48076. t1 = this.visitSelectorList$1(_0_0);
  48077. return t1;
  48078. } else
  48079. return false;
  48080. }
  48081. };
  48082. A._IsBogusVisitor.prototype = {
  48083. visitComplexSelector$1(complex) {
  48084. var t2,
  48085. t1 = complex.components;
  48086. if (t1.length === 0)
  48087. return complex.leadingCombinators.length !== 0;
  48088. else {
  48089. t2 = this.includeLeadingCombinator ? 0 : 1;
  48090. 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));
  48091. }
  48092. },
  48093. visitPseudoSelector$1(pseudo) {
  48094. var selector = pseudo.selector;
  48095. if (selector == null)
  48096. return false;
  48097. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  48098. }
  48099. };
  48100. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  48101. call$1(component) {
  48102. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48103. },
  48104. $signature: 57
  48105. };
  48106. A._IsUselessVisitor.prototype = {
  48107. visitComplexSelector$1(complex) {
  48108. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  48109. },
  48110. visitPseudoSelector$1(pseudo) {
  48111. return pseudo.accept$1(B._IsBogusVisitor_true);
  48112. }
  48113. };
  48114. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48115. call$1(component) {
  48116. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48117. },
  48118. $signature: 57
  48119. };
  48120. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48121. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48122. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48123. A.AttributeSelector.prototype = {
  48124. accept$1$1(visitor) {
  48125. return visitor.visitAttributeSelector$1(this);
  48126. },
  48127. accept$1(visitor) {
  48128. return this.accept$1$1(visitor, type$.dynamic);
  48129. },
  48130. $eq(_, other) {
  48131. var _this = this;
  48132. if (other == null)
  48133. return false;
  48134. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48135. },
  48136. get$hashCode(_) {
  48137. var _this = this,
  48138. t1 = _this.name;
  48139. 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;
  48140. }
  48141. };
  48142. A.AttributeOperator.prototype = {
  48143. _enumToString$0() {
  48144. return "AttributeOperator." + this._name;
  48145. },
  48146. toString$0(_) {
  48147. return this._attribute$_text;
  48148. }
  48149. };
  48150. A.ClassSelector.prototype = {
  48151. $eq(_, other) {
  48152. if (other == null)
  48153. return false;
  48154. return other instanceof A.ClassSelector && other.name === this.name;
  48155. },
  48156. accept$1$1(visitor) {
  48157. return visitor.visitClassSelector$1(this);
  48158. },
  48159. accept$1(visitor) {
  48160. return this.accept$1$1(visitor, type$.dynamic);
  48161. },
  48162. addSuffix$1(suffix) {
  48163. return new A.ClassSelector(this.name + suffix, this.span);
  48164. },
  48165. get$hashCode(_) {
  48166. return B.JSString_methods.get$hashCode(this.name);
  48167. }
  48168. };
  48169. A.Combinator.prototype = {
  48170. _enumToString$0() {
  48171. return "Combinator." + this._name;
  48172. },
  48173. toString$0(_) {
  48174. return this._combinator$_text;
  48175. }
  48176. };
  48177. A.ComplexSelector.prototype = {
  48178. get$specificity() {
  48179. var result, _this = this,
  48180. value = _this.__ComplexSelector_specificity_FI;
  48181. if (value === $) {
  48182. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48183. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48184. _this.__ComplexSelector_specificity_FI = result;
  48185. value = result;
  48186. }
  48187. return value;
  48188. },
  48189. get$singleCompound() {
  48190. var _0_0, t1, _0_4, selector;
  48191. if (this.leadingCombinators.length !== 0)
  48192. return null;
  48193. _0_0 = this.components;
  48194. $label0$0: {
  48195. t1 = false;
  48196. if (_0_0.length === 1) {
  48197. _0_4 = _0_0[0];
  48198. selector = _0_4.selector;
  48199. t1 = _0_4.combinators.length <= 0;
  48200. } else
  48201. selector = null;
  48202. if (t1) {
  48203. t1 = selector;
  48204. break $label0$0;
  48205. }
  48206. t1 = null;
  48207. break $label0$0;
  48208. }
  48209. return t1;
  48210. },
  48211. accept$1$1(visitor) {
  48212. return visitor.visitComplexSelector$1(this);
  48213. },
  48214. accept$1(visitor) {
  48215. return this.accept$1$1(visitor, type$.dynamic);
  48216. },
  48217. isSuperselector$1(other) {
  48218. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48219. },
  48220. withAdditionalCombinators$1(combinators) {
  48221. var _0_0, _0_1, t1, initial, last, _this = this;
  48222. if (combinators.length === 0)
  48223. return _this;
  48224. _0_0 = _this.components;
  48225. $label0$0: {
  48226. _0_1 = _0_0.length;
  48227. if (_0_1 >= 1) {
  48228. t1 = _0_1 - 1;
  48229. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48230. last = _0_0[t1];
  48231. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  48232. t1.push(last.withAdditionalCombinators$1(combinators));
  48233. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48234. break $label0$0;
  48235. }
  48236. if (_0_1 <= 0) {
  48237. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  48238. B.JSArray_methods.addAll$1(t1, combinators);
  48239. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48240. break $label0$0;
  48241. }
  48242. t1 = null;
  48243. }
  48244. return t1;
  48245. },
  48246. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48247. var t2, _0_1, initial, last, _this = this,
  48248. t1 = child.leadingCombinators,
  48249. _0_0 = _this.components;
  48250. if (t1.length === 0) {
  48251. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  48252. B.JSArray_methods.addAll$1(t1, child.components);
  48253. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48254. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48255. } else {
  48256. _0_1 = _0_0.length;
  48257. if (_0_1 >= 1) {
  48258. t2 = _0_1 - 1;
  48259. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48260. last = _0_0[t2];
  48261. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  48262. t2.push(last.withAdditionalCombinators$1(t1));
  48263. B.JSArray_methods.addAll$1(t2, child.components);
  48264. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48265. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48266. } else {
  48267. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  48268. B.JSArray_methods.addAll$1(t2, t1);
  48269. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48270. return A.ComplexSelector$(t2, child.components, span, t1);
  48271. }
  48272. }
  48273. },
  48274. concatenate$2(child, span) {
  48275. return this.concatenate$3$forceLineBreak(child, span, false);
  48276. },
  48277. get$hashCode(_) {
  48278. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48279. },
  48280. $eq(_, other) {
  48281. if (other == null)
  48282. return false;
  48283. 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);
  48284. }
  48285. };
  48286. A.ComplexSelector_specificity_closure.prototype = {
  48287. call$2(sum, component) {
  48288. return sum + component.selector.get$specificity();
  48289. },
  48290. $signature: 303
  48291. };
  48292. A.ComplexSelectorComponent.prototype = {
  48293. withAdditionalCombinators$1(combinators) {
  48294. var t1, t2, _this = this;
  48295. if (combinators.length === 0)
  48296. t1 = _this;
  48297. else {
  48298. t1 = type$.CssValue_Combinator;
  48299. t2 = A.List_List$of(_this.combinators, true, t1);
  48300. B.JSArray_methods.addAll$1(t2, combinators);
  48301. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48302. }
  48303. return t1;
  48304. },
  48305. get$hashCode(_) {
  48306. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48307. },
  48308. $eq(_, other) {
  48309. var t1;
  48310. if (other == null)
  48311. return false;
  48312. if (other instanceof A.ComplexSelectorComponent) {
  48313. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48314. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48315. } else
  48316. t1 = false;
  48317. return t1;
  48318. },
  48319. toString$0(_) {
  48320. var t1 = this.combinators;
  48321. 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, "");
  48322. }
  48323. };
  48324. A.ComplexSelectorComponent_toString_closure.prototype = {
  48325. call$1(combinator) {
  48326. return " " + combinator.toString$0(0);
  48327. },
  48328. $signature: 306
  48329. };
  48330. A.CompoundSelector.prototype = {
  48331. get$specificity() {
  48332. var result, _this = this,
  48333. value = _this.__CompoundSelector_specificity_FI;
  48334. if (value === $) {
  48335. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48336. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48337. _this.__CompoundSelector_specificity_FI = result;
  48338. value = result;
  48339. }
  48340. return value;
  48341. },
  48342. get$hasComplicatedSuperselectorSemantics() {
  48343. var result, _this = this,
  48344. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48345. if (value === $) {
  48346. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48347. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48348. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48349. value = result;
  48350. }
  48351. return value;
  48352. },
  48353. accept$1$1(visitor) {
  48354. return visitor.visitCompoundSelector$1(this);
  48355. },
  48356. accept$1(visitor) {
  48357. return this.accept$1$1(visitor, type$.dynamic);
  48358. },
  48359. get$hashCode(_) {
  48360. return B.C_ListEquality0.hash$1(this.components);
  48361. },
  48362. $eq(_, other) {
  48363. if (other == null)
  48364. return false;
  48365. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48366. }
  48367. };
  48368. A.CompoundSelector_specificity_closure.prototype = {
  48369. call$2(sum, component) {
  48370. return sum + component.get$specificity();
  48371. },
  48372. $signature: 319
  48373. };
  48374. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48375. call$1(component) {
  48376. return component.get$hasComplicatedSuperselectorSemantics();
  48377. },
  48378. $signature: 14
  48379. };
  48380. A.IDSelector.prototype = {
  48381. get$specificity() {
  48382. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48383. },
  48384. accept$1$1(visitor) {
  48385. return visitor.visitIDSelector$1(this);
  48386. },
  48387. accept$1(visitor) {
  48388. return this.accept$1$1(visitor, type$.dynamic);
  48389. },
  48390. addSuffix$1(suffix) {
  48391. return new A.IDSelector(this.name + suffix, this.span);
  48392. },
  48393. unify$1(compound) {
  48394. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48395. return null;
  48396. return this.super$SimpleSelector$unify(compound);
  48397. },
  48398. $eq(_, other) {
  48399. if (other == null)
  48400. return false;
  48401. return other instanceof A.IDSelector && other.name === this.name;
  48402. },
  48403. get$hashCode(_) {
  48404. return B.JSString_methods.get$hashCode(this.name);
  48405. }
  48406. };
  48407. A.IDSelector_unify_closure.prototype = {
  48408. call$1(simple) {
  48409. var t1;
  48410. if (simple instanceof A.IDSelector)
  48411. t1 = this.$this.name !== simple.name;
  48412. else
  48413. t1 = false;
  48414. return t1;
  48415. },
  48416. $signature: 14
  48417. };
  48418. A.SelectorList.prototype = {
  48419. get$asSassList() {
  48420. var t1 = this.components;
  48421. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  48422. },
  48423. accept$1$1(visitor) {
  48424. return visitor.visitSelectorList$1(this);
  48425. },
  48426. accept$1(visitor) {
  48427. return this.accept$1$1(visitor, type$.dynamic);
  48428. },
  48429. unify$1(other) {
  48430. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48431. t1 = type$.JSArray_ComplexSelector,
  48432. t2 = A._setArrayType([], t1);
  48433. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48434. complex1 = t3[_i];
  48435. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48436. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48437. if (t8 != null)
  48438. B.JSArray_methods.addAll$1(t2, t8);
  48439. }
  48440. }
  48441. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48442. },
  48443. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48444. var parentSelector, t1, _this = this;
  48445. if ($parent == null) {
  48446. if (preserveParentSelectors)
  48447. return _this;
  48448. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48449. if (parentSelector == null)
  48450. return _this;
  48451. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48452. }
  48453. t1 = _this.components;
  48454. 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);
  48455. },
  48456. nestWithin$1($parent) {
  48457. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48458. },
  48459. nestWithin$2$implicitParent($parent, implicitParent) {
  48460. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48461. },
  48462. _nestWithinCompound$2(component, $parent) {
  48463. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48464. t1 = component.selector,
  48465. simples = t1.components,
  48466. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48467. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48468. return null;
  48469. if (containsSelectorPseudo) {
  48470. t2 = simples;
  48471. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48472. } else
  48473. resolvedSimples0 = simples;
  48474. resolvedSimples = resolvedSimples0;
  48475. parentSelector = J.get$first$ax(simples);
  48476. try {
  48477. if (!(parentSelector instanceof A.ParentSelector)) {
  48478. t2 = component.span;
  48479. 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);
  48480. return t2;
  48481. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48482. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48483. return t1.components;
  48484. }
  48485. } catch (exception) {
  48486. t1 = A.unwrapException(exception);
  48487. if (t1 instanceof A.SassException) {
  48488. error = t1;
  48489. stackTrace = A.getTraceFromException(exception);
  48490. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48491. } else
  48492. throw exception;
  48493. }
  48494. t1 = $parent.components;
  48495. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48496. },
  48497. isSuperselector$1(other) {
  48498. return A.listIsSuperselector(this.components, other.components);
  48499. },
  48500. withAdditionalCombinators$1(combinators) {
  48501. var t1;
  48502. if (combinators.length === 0)
  48503. t1 = this;
  48504. else {
  48505. t1 = this.components;
  48506. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48507. }
  48508. return t1;
  48509. },
  48510. get$hashCode(_) {
  48511. return B.C_ListEquality0.hash$1(this.components);
  48512. },
  48513. $eq(_, other) {
  48514. if (other == null)
  48515. return false;
  48516. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48517. }
  48518. };
  48519. A.SelectorList_asSassList_closure.prototype = {
  48520. call$1(complex) {
  48521. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48522. t1 = type$.JSArray_Value,
  48523. t2 = A._setArrayType([], t1);
  48524. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48525. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48526. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48527. component = t3[_i];
  48528. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48529. component.selector.accept$1(visitor);
  48530. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48531. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48532. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48533. B.JSArray_methods.addAll$1(t2, t5);
  48534. }
  48535. return A.SassList$(t2, B.ListSeparator_qSL, false);
  48536. },
  48537. $signature: 334
  48538. };
  48539. A.SelectorList_nestWithin_closure.prototype = {
  48540. call$1(complex) {
  48541. 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;
  48542. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48543. if (!_this.implicitParent)
  48544. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48545. t1 = _this.parent.components;
  48546. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48547. }
  48548. t1 = type$.JSArray_ComplexSelector;
  48549. newComplexes = A._setArrayType([], t1);
  48550. 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) {
  48551. component = t2[_i];
  48552. resolved = t4._nestWithinCompound$2(component, t5);
  48553. if (resolved == null)
  48554. if (newComplexes.length === 0)
  48555. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48556. else
  48557. for (i = 0; i < newComplexes.length; ++i) {
  48558. t12 = newComplexes[i];
  48559. t13 = A.List_List$of(t12.components, true, t10);
  48560. t13.push(component);
  48561. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48562. }
  48563. else if (newComplexes.length === 0)
  48564. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48565. else {
  48566. t12 = A._setArrayType([], t1);
  48567. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48568. newComplex = newComplexes[_i0];
  48569. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48570. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48571. }
  48572. newComplexes = t12;
  48573. }
  48574. }
  48575. return newComplexes;
  48576. },
  48577. $signature: 338
  48578. };
  48579. A.SelectorList_nestWithin__closure.prototype = {
  48580. call$1(parentComplex) {
  48581. var t1 = this.complex;
  48582. return parentComplex.concatenate$2(t1, t1.span);
  48583. },
  48584. $signature: 62
  48585. };
  48586. A.SelectorList_nestWithin__closure0.prototype = {
  48587. call$1(resolvedComplex) {
  48588. var t1 = resolvedComplex.leadingCombinators,
  48589. t2 = this.complex,
  48590. t3 = t2.leadingCombinators;
  48591. if (t1.length === 0)
  48592. t1 = t3;
  48593. else {
  48594. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  48595. B.JSArray_methods.addAll$1(t3, t1);
  48596. t1 = t3;
  48597. }
  48598. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48599. },
  48600. $signature: 62
  48601. };
  48602. A.SelectorList__nestWithinCompound_closure.prototype = {
  48603. call$1(simple) {
  48604. var selector;
  48605. if (!(simple instanceof A.PseudoSelector))
  48606. return false;
  48607. selector = simple.selector;
  48608. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48609. },
  48610. $signature: 14
  48611. };
  48612. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48613. call$1(simple) {
  48614. var selector, t1, _0_2;
  48615. $label0$0: {
  48616. selector = null;
  48617. t1 = false;
  48618. if (simple instanceof A.PseudoSelector) {
  48619. _0_2 = simple.selector;
  48620. if (_0_2 != null) {
  48621. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48622. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48623. }
  48624. }
  48625. if (t1) {
  48626. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48627. break $label0$0;
  48628. }
  48629. t1 = simple;
  48630. break $label0$0;
  48631. }
  48632. return t1;
  48633. },
  48634. $signature: 348
  48635. };
  48636. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48637. call$1(complex) {
  48638. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  48639. try {
  48640. t4 = complex.components;
  48641. lastComponent = B.JSArray_methods.get$last(t4);
  48642. if (lastComponent.combinators.length !== 0) {
  48643. 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);
  48644. throw A.wrapException(t1);
  48645. }
  48646. suffix = _this.parentSelector.suffix;
  48647. lastSimples = lastComponent.selector.components;
  48648. t5 = type$.SimpleSelector;
  48649. t6 = _this.resolvedSimples;
  48650. t7 = J.getInterceptor$ax(t6);
  48651. if (suffix == null) {
  48652. t1 = A.List_List$of(lastSimples, true, t5);
  48653. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  48654. t1 = t1;
  48655. } else {
  48656. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  48657. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48658. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  48659. t1 = t2;
  48660. }
  48661. t2 = _this.component;
  48662. last = A.CompoundSelector$(t1, t2.selector.span);
  48663. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  48664. t4 = t2.span;
  48665. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  48666. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  48667. return t4;
  48668. } catch (exception) {
  48669. t1 = A.unwrapException(exception);
  48670. if (t1 instanceof A.SassException) {
  48671. error = t1;
  48672. stackTrace = A.getTraceFromException(exception);
  48673. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48674. } else
  48675. throw exception;
  48676. }
  48677. },
  48678. $signature: 62
  48679. };
  48680. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48681. call$1(complex) {
  48682. return complex.withAdditionalCombinators$1(this.combinators);
  48683. },
  48684. $signature: 62
  48685. };
  48686. A._ParentSelectorVisitor.prototype = {
  48687. visitParentSelector$1(selector) {
  48688. return selector;
  48689. }
  48690. };
  48691. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48692. A.ParentSelector.prototype = {
  48693. accept$1$1(visitor) {
  48694. return visitor.visitParentSelector$1(this);
  48695. },
  48696. accept$1(visitor) {
  48697. return this.accept$1$1(visitor, type$.dynamic);
  48698. },
  48699. unify$1(compound) {
  48700. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48701. }
  48702. };
  48703. A.PlaceholderSelector.prototype = {
  48704. accept$1$1(visitor) {
  48705. return visitor.visitPlaceholderSelector$1(this);
  48706. },
  48707. accept$1(visitor) {
  48708. return this.accept$1$1(visitor, type$.dynamic);
  48709. },
  48710. addSuffix$1(suffix) {
  48711. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48712. },
  48713. $eq(_, other) {
  48714. if (other == null)
  48715. return false;
  48716. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48717. },
  48718. get$hashCode(_) {
  48719. return B.JSString_methods.get$hashCode(this.name);
  48720. }
  48721. };
  48722. A.PseudoSelector.prototype = {
  48723. get$isHostContext() {
  48724. return this.isClass && this.name === "host-context" && this.selector != null;
  48725. },
  48726. get$hasComplicatedSuperselectorSemantics() {
  48727. return !this.isClass || this.selector != null;
  48728. },
  48729. get$specificity() {
  48730. var result, _this = this,
  48731. value = _this.__PseudoSelector_specificity_FI;
  48732. if (value === $) {
  48733. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48734. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48735. _this.__PseudoSelector_specificity_FI = result;
  48736. value = result;
  48737. }
  48738. return value;
  48739. },
  48740. withSelector$1(selector) {
  48741. var _this = this;
  48742. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48743. },
  48744. addSuffix$1(suffix) {
  48745. var _this = this;
  48746. if (_this.argument != null || _this.selector != null)
  48747. _this.super$SimpleSelector$addSuffix(suffix);
  48748. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48749. },
  48750. unify$1(compound) {
  48751. var other, result, t2, addedThis, _i, simple, _this = this,
  48752. t1 = _this.name;
  48753. if (t1 === "host" || t1 === "host-context") {
  48754. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48755. return null;
  48756. } else {
  48757. t1 = false;
  48758. if (compound.length === 1) {
  48759. other = compound[0];
  48760. if (!(other instanceof A.UniversalSelector)) {
  48761. if (other instanceof A.PseudoSelector)
  48762. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48763. } else
  48764. t1 = true;
  48765. } else
  48766. other = null;
  48767. if (t1)
  48768. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48769. }
  48770. if (B.JSArray_methods.contains$1(compound, _this))
  48771. return compound;
  48772. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48773. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48774. simple = compound[_i];
  48775. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48776. if (t2)
  48777. return null;
  48778. result.push(_this);
  48779. addedThis = true;
  48780. }
  48781. result.push(simple);
  48782. }
  48783. if (!addedThis)
  48784. result.push(_this);
  48785. return result;
  48786. },
  48787. isSuperselector$1(other) {
  48788. var selector, t1, t2, _this = this;
  48789. if (_this.super$SimpleSelector$isSuperselector(other))
  48790. return true;
  48791. selector = _this.selector;
  48792. if (selector == null)
  48793. return _this.$eq(0, other);
  48794. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  48795. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  48796. return t1 == null ? false : t1;
  48797. }
  48798. t1 = type$.JSArray_SimpleSelector;
  48799. t2 = _this.span;
  48800. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  48801. },
  48802. accept$1$1(visitor) {
  48803. return visitor.visitPseudoSelector$1(this);
  48804. },
  48805. accept$1(visitor) {
  48806. return this.accept$1$1(visitor, type$.dynamic);
  48807. },
  48808. $eq(_, other) {
  48809. var _this = this;
  48810. if (other == null)
  48811. return false;
  48812. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  48813. },
  48814. get$hashCode(_) {
  48815. var _this = this,
  48816. t1 = B.JSString_methods.get$hashCode(_this.name),
  48817. t2 = !_this.isClass ? 519018 : 218159;
  48818. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  48819. }
  48820. };
  48821. A.PseudoSelector_specificity_closure.prototype = {
  48822. call$0() {
  48823. var selector, t2,
  48824. t1 = this.$this;
  48825. if (!t1.isClass)
  48826. return 1;
  48827. selector = t1.selector;
  48828. if (selector == null)
  48829. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48830. switch (t1.normalizedName) {
  48831. case "where":
  48832. return 0;
  48833. case "is":
  48834. case "not":
  48835. case "has":
  48836. case "matches":
  48837. t1 = selector.components;
  48838. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  48839. case "nth-child":
  48840. case "nth-last-child":
  48841. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  48842. t2 = selector.components;
  48843. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  48844. default:
  48845. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48846. }
  48847. },
  48848. $signature: 10
  48849. };
  48850. A.PseudoSelector_specificity__closure.prototype = {
  48851. call$1(component) {
  48852. return component.get$specificity();
  48853. },
  48854. $signature: 194
  48855. };
  48856. A.PseudoSelector_specificity__closure0.prototype = {
  48857. call$1(component) {
  48858. return component.get$specificity();
  48859. },
  48860. $signature: 194
  48861. };
  48862. A.PseudoSelector_unify_closure.prototype = {
  48863. call$1(simple) {
  48864. var t1;
  48865. if (simple instanceof A.PseudoSelector)
  48866. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  48867. else
  48868. t1 = false;
  48869. return t1;
  48870. },
  48871. $signature: 14
  48872. };
  48873. A.QualifiedName.prototype = {
  48874. $eq(_, other) {
  48875. if (other == null)
  48876. return false;
  48877. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  48878. },
  48879. get$hashCode(_) {
  48880. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  48881. },
  48882. toString$0(_) {
  48883. var t1 = this.namespace,
  48884. t2 = this.name;
  48885. return t1 == null ? t2 : t1 + "|" + t2;
  48886. }
  48887. };
  48888. A.SimpleSelector.prototype = {
  48889. get$specificity() {
  48890. return 1000;
  48891. },
  48892. get$hasComplicatedSuperselectorSemantics() {
  48893. return false;
  48894. },
  48895. addSuffix$1(suffix) {
  48896. 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));
  48897. },
  48898. unify$1(compound) {
  48899. var other, result, addedThis, _i, simple, _this = this,
  48900. t1 = false;
  48901. if (compound.length === 1) {
  48902. other = compound[0];
  48903. if (!(other instanceof A.UniversalSelector)) {
  48904. if (other instanceof A.PseudoSelector)
  48905. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48906. } else
  48907. t1 = true;
  48908. } else
  48909. other = null;
  48910. if (t1)
  48911. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48912. if (B.JSArray_methods.contains$1(compound, _this))
  48913. return compound;
  48914. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48915. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48916. simple = compound[_i];
  48917. if (!addedThis && simple instanceof A.PseudoSelector) {
  48918. result.push(_this);
  48919. addedThis = true;
  48920. }
  48921. result.push(simple);
  48922. }
  48923. if (!addedThis)
  48924. result.push(_this);
  48925. return result;
  48926. },
  48927. isSuperselector$1(other) {
  48928. var list;
  48929. if (this.$eq(0, other))
  48930. return true;
  48931. if (other instanceof A.PseudoSelector && other.isClass) {
  48932. list = other.selector;
  48933. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  48934. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  48935. }
  48936. return false;
  48937. }
  48938. };
  48939. A.SimpleSelector_isSuperselector_closure.prototype = {
  48940. call$1(complex) {
  48941. var t1 = complex.components;
  48942. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  48943. },
  48944. $signature: 20
  48945. };
  48946. A.SimpleSelector_isSuperselector__closure.prototype = {
  48947. call$1(simple) {
  48948. return this.$this.isSuperselector$1(simple);
  48949. },
  48950. $signature: 14
  48951. };
  48952. A.TypeSelector.prototype = {
  48953. get$specificity() {
  48954. return 1;
  48955. },
  48956. accept$1$1(visitor) {
  48957. return visitor.visitTypeSelector$1(this);
  48958. },
  48959. accept$1(visitor) {
  48960. return this.accept$1$1(visitor, type$.dynamic);
  48961. },
  48962. addSuffix$1(suffix) {
  48963. var t1 = this.name;
  48964. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  48965. },
  48966. unify$1(compound) {
  48967. var unified, t1,
  48968. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  48969. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  48970. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  48971. if (unified == null)
  48972. return null;
  48973. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48974. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  48975. return t1;
  48976. } else {
  48977. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  48978. B.JSArray_methods.addAll$1(t1, compound);
  48979. return t1;
  48980. }
  48981. },
  48982. isSuperselector$1(other) {
  48983. var t1, t2, t3;
  48984. if (!this.super$SimpleSelector$isSuperselector(other)) {
  48985. t1 = false;
  48986. if (other instanceof A.TypeSelector) {
  48987. t2 = this.name;
  48988. t3 = other.name;
  48989. if (t2.name === t3.name) {
  48990. t1 = t2.namespace;
  48991. t1 = t1 === "*" || t1 == t3.namespace;
  48992. }
  48993. }
  48994. } else
  48995. t1 = true;
  48996. return t1;
  48997. },
  48998. $eq(_, other) {
  48999. if (other == null)
  49000. return false;
  49001. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  49002. },
  49003. get$hashCode(_) {
  49004. var t1 = this.name;
  49005. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  49006. }
  49007. };
  49008. A.UniversalSelector.prototype = {
  49009. get$specificity() {
  49010. return 0;
  49011. },
  49012. accept$1$1(visitor) {
  49013. return visitor.visitUniversalSelector$1(this);
  49014. },
  49015. accept$1(visitor) {
  49016. return this.accept$1$1(visitor, type$.dynamic);
  49017. },
  49018. unify$1(compound) {
  49019. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  49020. _0_1 = compound.length,
  49021. _0_4_isSet = _0_1 >= 1;
  49022. if (_0_4_isSet) {
  49023. _0_4 = compound[0];
  49024. if (!(_0_4 instanceof A.UniversalSelector))
  49025. t1 = _0_4 instanceof A.TypeSelector;
  49026. else
  49027. t1 = true;
  49028. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  49029. } else {
  49030. rest = _null;
  49031. _0_4 = rest;
  49032. t1 = false;
  49033. }
  49034. if (t1) {
  49035. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  49036. if (unified == null)
  49037. return _null;
  49038. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  49039. B.JSArray_methods.addAll$1(t1, rest);
  49040. return t1;
  49041. }
  49042. t1 = false;
  49043. if (_0_1 === 1) {
  49044. if (_0_4_isSet)
  49045. t2 = _0_4;
  49046. else {
  49047. _0_4 = compound[0];
  49048. t2 = _0_4;
  49049. _0_4_isSet = true;
  49050. }
  49051. if (t2 instanceof A.PseudoSelector) {
  49052. t2 = _0_4_isSet ? _0_4 : compound[0];
  49053. type$.PseudoSelector._as(t2);
  49054. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  49055. }
  49056. }
  49057. if (t1)
  49058. return _null;
  49059. if (_0_1 <= 0)
  49060. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49061. t1 = _this.namespace;
  49062. if (t1 == null || t1 === "*")
  49063. t1 = compound;
  49064. else {
  49065. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49066. B.JSArray_methods.addAll$1(t1, compound);
  49067. }
  49068. return t1;
  49069. },
  49070. isSuperselector$1(other) {
  49071. var t1 = this.namespace;
  49072. if (t1 === "*")
  49073. return true;
  49074. if (other instanceof A.TypeSelector)
  49075. return t1 == other.name.namespace;
  49076. if (other instanceof A.UniversalSelector)
  49077. return t1 == other.namespace;
  49078. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  49079. },
  49080. $eq(_, other) {
  49081. if (other == null)
  49082. return false;
  49083. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  49084. },
  49085. get$hashCode(_) {
  49086. return J.get$hashCode$(this.namespace);
  49087. }
  49088. };
  49089. A._compileStylesheet_closure0.prototype = {
  49090. call$1(url) {
  49091. var t1;
  49092. if (url === "") {
  49093. t1 = this.stylesheet.span;
  49094. 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();
  49095. } else
  49096. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  49097. return t1;
  49098. },
  49099. $signature: 6
  49100. };
  49101. A.AsyncEnvironment.prototype = {
  49102. closure$0() {
  49103. var t4, t5, t6, _this = this,
  49104. t1 = _this._async_environment$_forwardedModules,
  49105. t2 = _this._async_environment$_nestedForwardedModules,
  49106. t3 = _this._async_environment$_variables;
  49107. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49108. t4 = _this._async_environment$_variableNodes;
  49109. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49110. t5 = _this._async_environment$_functions;
  49111. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49112. t6 = _this._async_environment$_mixins;
  49113. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49114. 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);
  49115. },
  49116. forwardModule$2(module, rule) {
  49117. var view, t1, t2, _this = this,
  49118. forwardedModules = _this._async_environment$_forwardedModules;
  49119. if (forwardedModules == null)
  49120. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49121. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49122. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  49123. t2 = t1.__js_helper$_current;
  49124. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49125. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49126. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49127. }
  49128. _this._async_environment$_allModules.push(module);
  49129. forwardedModules.$indexSet(0, view, rule);
  49130. },
  49131. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49132. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49133. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49134. larger = oldMembers;
  49135. smaller = newMembers;
  49136. } else {
  49137. larger = newMembers;
  49138. smaller = oldMembers;
  49139. }
  49140. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49141. t4 = t2.get$current(t2);
  49142. $name = t4._0;
  49143. small = t4._1;
  49144. large = larger.$index(0, $name);
  49145. if (large == null)
  49146. continue;
  49147. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49148. continue;
  49149. if (t3)
  49150. $name = "$" + $name;
  49151. t2 = this._async_environment$_forwardedModules;
  49152. if (t2 == null)
  49153. span = null;
  49154. else {
  49155. t2 = t2.$index(0, oldModule);
  49156. span = t2 == null ? null : t2.get$span(t2);
  49157. }
  49158. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49159. if (span != null)
  49160. t2.$indexSet(0, span, "original @forward");
  49161. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49162. }
  49163. },
  49164. importForwards$1(module) {
  49165. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49166. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49167. if (forwarded == null)
  49168. return;
  49169. forwardedModules = _this._async_environment$_forwardedModules;
  49170. if (forwardedModules != null) {
  49171. t1 = type$.Module_AsyncCallable;
  49172. t2 = type$.AstNode;
  49173. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49174. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49175. t4 = t1.get$current(t1);
  49176. module = t4._0;
  49177. node = t4._1;
  49178. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49179. t3.$indexSet(0, module, node);
  49180. }
  49181. forwarded = t3;
  49182. } else
  49183. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49184. t1 = type$.String;
  49185. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49186. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  49187. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  49188. t2.add$1(0, t4.get$current(t4));
  49189. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49190. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  49191. t5 = t4.__js_helper$_current;
  49192. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49193. t3.add$1(0, t5.get$current(t5));
  49194. }
  49195. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49196. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  49197. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49198. t1.add$1(0, t5.get$current(t5));
  49199. t4 = _this._async_environment$_variables;
  49200. t5 = t4.length;
  49201. if (t5 === 1) {
  49202. 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) {
  49203. t11 = t8[_i];
  49204. module = t11._0;
  49205. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49206. if (shadowed != null) {
  49207. t5.remove$1(0, module);
  49208. t12 = shadowed.variables;
  49209. t13 = false;
  49210. if (t12.get$isEmpty(t12)) {
  49211. t12 = shadowed.functions;
  49212. if (t12.get$isEmpty(t12)) {
  49213. t12 = shadowed.mixins;
  49214. if (t12.get$isEmpty(t12)) {
  49215. t12 = shadowed._shadowed_view$_inner;
  49216. t12 = t12.get$css(t12);
  49217. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49218. } else
  49219. t12 = t13;
  49220. } else
  49221. t12 = t13;
  49222. } else
  49223. t12 = t13;
  49224. if (!t12)
  49225. t5.$indexSet(0, shadowed, t11._1);
  49226. }
  49227. }
  49228. 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) {
  49229. t8 = t6[_i];
  49230. module = t8._0;
  49231. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49232. if (shadowed != null) {
  49233. forwardedModules.remove$1(0, module);
  49234. t9 = shadowed.variables;
  49235. t11 = false;
  49236. if (t9.get$isEmpty(t9)) {
  49237. t9 = shadowed.functions;
  49238. if (t9.get$isEmpty(t9)) {
  49239. t9 = shadowed.mixins;
  49240. if (t9.get$isEmpty(t9)) {
  49241. t9 = shadowed._shadowed_view$_inner;
  49242. t9 = t9.get$css(t9);
  49243. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49244. } else
  49245. t9 = t11;
  49246. } else
  49247. t9 = t11;
  49248. } else
  49249. t9 = t11;
  49250. if (!t9)
  49251. forwardedModules.$indexSet(0, shadowed, t8._1);
  49252. }
  49253. }
  49254. t5.addAll$1(0, forwarded);
  49255. forwardedModules.addAll$1(0, forwarded);
  49256. } else {
  49257. t6 = _this._async_environment$_nestedForwardedModules;
  49258. if (t6 == null) {
  49259. _length = t5 - 1;
  49260. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49261. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49262. _list[_i] = A._setArrayType([], t5);
  49263. _this._async_environment$_nestedForwardedModules = _list;
  49264. t5 = _list;
  49265. } else
  49266. t5 = t6;
  49267. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49268. }
  49269. 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();) {
  49270. t8 = t2._collection$_current;
  49271. if (t8 == null)
  49272. t8 = t7._as(t8);
  49273. t5.remove$1(0, t8);
  49274. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  49275. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  49276. }
  49277. 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();) {
  49278. t6 = t2._collection$_current;
  49279. if (t6 == null)
  49280. t6 = t5._as(t6);
  49281. t3.remove$1(0, t6);
  49282. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  49283. }
  49284. 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();) {
  49285. t5 = t1._collection$_current;
  49286. if (t5 == null)
  49287. t5 = t4._as(t5);
  49288. t2.remove$1(0, t5);
  49289. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  49290. }
  49291. },
  49292. getVariable$2$namespace($name, namespace) {
  49293. var t1, _0_0, _1_0, _this = this;
  49294. if (namespace != null)
  49295. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49296. if (_this._async_environment$_lastVariableName === $name) {
  49297. t1 = _this._async_environment$_lastVariableIndex;
  49298. t1.toString;
  49299. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49300. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49301. }
  49302. t1 = _this._async_environment$_variableIndices;
  49303. _0_0 = t1.$index(0, $name);
  49304. if (_0_0 != null) {
  49305. _this._async_environment$_lastVariableName = $name;
  49306. _this._async_environment$_lastVariableIndex = _0_0;
  49307. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49308. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49309. } else {
  49310. _1_0 = _this._async_environment$_variableIndex$1($name);
  49311. if (_1_0 != null) {
  49312. _this._async_environment$_lastVariableName = $name;
  49313. _this._async_environment$_lastVariableIndex = _1_0;
  49314. t1.$indexSet(0, $name, _1_0);
  49315. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49316. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49317. } else
  49318. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49319. }
  49320. },
  49321. getVariable$1($name) {
  49322. return this.getVariable$2$namespace($name, null);
  49323. },
  49324. _async_environment$_getVariableFromGlobalModule$1($name) {
  49325. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49326. },
  49327. getVariableNode$2$namespace($name, namespace) {
  49328. var t1, _0_0, _1_0, _this = this;
  49329. if (namespace != null)
  49330. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49331. if (_this._async_environment$_lastVariableName === $name) {
  49332. t1 = _this._async_environment$_lastVariableIndex;
  49333. t1.toString;
  49334. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49335. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49336. }
  49337. t1 = _this._async_environment$_variableIndices;
  49338. _0_0 = t1.$index(0, $name);
  49339. if (_0_0 != null) {
  49340. _this._async_environment$_lastVariableName = $name;
  49341. _this._async_environment$_lastVariableIndex = _0_0;
  49342. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49343. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49344. } else {
  49345. _1_0 = _this._async_environment$_variableIndex$1($name);
  49346. if (_1_0 != null) {
  49347. _this._async_environment$_lastVariableName = $name;
  49348. _this._async_environment$_lastVariableIndex = _1_0;
  49349. t1.$indexSet(0, $name, _1_0);
  49350. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49351. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49352. } else
  49353. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49354. }
  49355. },
  49356. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49357. var t1, t2, _0_0;
  49358. 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();) {
  49359. t1 = t2._currentIterator;
  49360. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49361. if (_0_0 != null)
  49362. return _0_0;
  49363. }
  49364. return null;
  49365. },
  49366. globalVariableExists$2$namespace($name, namespace) {
  49367. if (namespace != null)
  49368. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49369. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49370. return true;
  49371. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49372. },
  49373. globalVariableExists$1($name) {
  49374. return this.globalVariableExists$2$namespace($name, null);
  49375. },
  49376. _async_environment$_variableIndex$1($name) {
  49377. var t1, i;
  49378. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49379. if (t1[i].containsKey$1($name))
  49380. return i;
  49381. return null;
  49382. },
  49383. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49384. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49385. if (namespace != null) {
  49386. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49387. return;
  49388. }
  49389. if (global || _this._async_environment$_variables.length === 1) {
  49390. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49391. t1 = _this._async_environment$_variables;
  49392. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49393. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49394. if (moduleWithName != null) {
  49395. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49396. return;
  49397. }
  49398. }
  49399. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  49400. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  49401. return;
  49402. }
  49403. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49404. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49405. 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();) {
  49406. t3 = t2.__internal$_current;
  49407. 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();) {
  49408. t5 = t3.__internal$_current;
  49409. if (t5 == null)
  49410. t5 = t4._as(t5);
  49411. if (t5.get$variables().containsKey$1($name)) {
  49412. t5.setVariable$3($name, value, nodeWithSpan);
  49413. return;
  49414. }
  49415. }
  49416. }
  49417. if (_this._async_environment$_lastVariableName === $name) {
  49418. t1 = _this._async_environment$_lastVariableIndex;
  49419. t1.toString;
  49420. index = t1;
  49421. } else
  49422. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49423. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49424. index = _this._async_environment$_variables.length - 1;
  49425. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49426. }
  49427. _this._async_environment$_lastVariableName = $name;
  49428. _this._async_environment$_lastVariableIndex = index;
  49429. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49430. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49431. },
  49432. setVariable$4$global($name, value, nodeWithSpan, global) {
  49433. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49434. },
  49435. setLocalVariable$3($name, value, nodeWithSpan) {
  49436. var index, _this = this,
  49437. t1 = _this._async_environment$_variables,
  49438. t2 = t1.length;
  49439. _this._async_environment$_lastVariableName = $name;
  49440. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49441. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49442. t1[index].$indexSet(0, $name, value);
  49443. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49444. },
  49445. getFunction$2$namespace($name, namespace) {
  49446. var t1, _0_0, _1_0, _this = this;
  49447. if (namespace != null) {
  49448. t1 = _this._async_environment$_getModule$1(namespace);
  49449. return t1.get$functions(t1).$index(0, $name);
  49450. }
  49451. t1 = _this._async_environment$_functionIndices;
  49452. _0_0 = t1.$index(0, $name);
  49453. if (_0_0 != null) {
  49454. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49455. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49456. } else {
  49457. _1_0 = _this._async_environment$_functionIndex$1($name);
  49458. if (_1_0 != null) {
  49459. t1.$indexSet(0, $name, _1_0);
  49460. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49461. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49462. } else
  49463. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49464. }
  49465. },
  49466. getFunction$1($name) {
  49467. return this.getFunction$2$namespace($name, null);
  49468. },
  49469. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49470. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49471. },
  49472. _async_environment$_functionIndex$1($name) {
  49473. var t1, i;
  49474. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49475. if (t1[i].containsKey$1($name))
  49476. return i;
  49477. return null;
  49478. },
  49479. getMixin$2$namespace($name, namespace) {
  49480. var t1, _0_0, _1_0, _this = this;
  49481. if (namespace != null)
  49482. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49483. t1 = _this._async_environment$_mixinIndices;
  49484. _0_0 = t1.$index(0, $name);
  49485. if (_0_0 != null) {
  49486. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49487. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49488. } else {
  49489. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49490. if (_1_0 != null) {
  49491. t1.$indexSet(0, $name, _1_0);
  49492. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49493. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49494. } else
  49495. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49496. }
  49497. },
  49498. _async_environment$_getMixinFromGlobalModule$1($name) {
  49499. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49500. },
  49501. _async_environment$_mixinIndex$1($name) {
  49502. var t1, i;
  49503. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49504. if (t1[i].containsKey$1($name))
  49505. return i;
  49506. return null;
  49507. },
  49508. withContent$2($content, callback) {
  49509. return this.withContent$body$AsyncEnvironment($content, callback);
  49510. },
  49511. withContent$body$AsyncEnvironment($content, callback) {
  49512. var $async$goto = 0,
  49513. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49514. $async$self = this, oldContent;
  49515. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49516. if ($async$errorCode === 1)
  49517. return A._asyncRethrow($async$result, $async$completer);
  49518. while (true)
  49519. switch ($async$goto) {
  49520. case 0:
  49521. // Function start
  49522. oldContent = $async$self._async_environment$_content;
  49523. $async$self._async_environment$_content = $content;
  49524. $async$goto = 2;
  49525. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49526. case 2:
  49527. // returning from await.
  49528. $async$self._async_environment$_content = oldContent;
  49529. // implicit return
  49530. return A._asyncReturn(null, $async$completer);
  49531. }
  49532. });
  49533. return A._asyncStartSync($async$withContent$2, $async$completer);
  49534. },
  49535. asMixin$1(callback) {
  49536. var $async$goto = 0,
  49537. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49538. $async$self = this, oldInMixin;
  49539. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49540. if ($async$errorCode === 1)
  49541. return A._asyncRethrow($async$result, $async$completer);
  49542. while (true)
  49543. switch ($async$goto) {
  49544. case 0:
  49545. // Function start
  49546. oldInMixin = $async$self._async_environment$_inMixin;
  49547. $async$self._async_environment$_inMixin = true;
  49548. $async$goto = 2;
  49549. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49550. case 2:
  49551. // returning from await.
  49552. $async$self._async_environment$_inMixin = oldInMixin;
  49553. // implicit return
  49554. return A._asyncReturn(null, $async$completer);
  49555. }
  49556. });
  49557. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49558. },
  49559. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49560. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49561. },
  49562. scope$1$1(callback, $T) {
  49563. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49564. },
  49565. scope$1$2$when(callback, when, $T) {
  49566. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49567. },
  49568. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49569. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49570. },
  49571. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49572. var $async$goto = 0,
  49573. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49574. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49575. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49576. if ($async$errorCode === 1) {
  49577. $async$errorStack.push($async$result);
  49578. $async$goto = $async$handler;
  49579. }
  49580. while (true)
  49581. switch ($async$goto) {
  49582. case 0:
  49583. // Function start
  49584. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49585. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49586. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49587. $async$goto = !when ? 3 : 4;
  49588. break;
  49589. case 3:
  49590. // then
  49591. $async$handler = 5;
  49592. $async$goto = 8;
  49593. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49594. case 8:
  49595. // returning from await.
  49596. t1 = $async$result;
  49597. $async$returnValue = t1;
  49598. $async$next = [1];
  49599. // goto finally
  49600. $async$goto = 6;
  49601. break;
  49602. $async$next.push(7);
  49603. // goto finally
  49604. $async$goto = 6;
  49605. break;
  49606. case 5:
  49607. // uncaught
  49608. $async$next = [2];
  49609. case 6:
  49610. // finally
  49611. $async$handler = 2;
  49612. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49613. // goto the next finally handler
  49614. $async$goto = $async$next.pop();
  49615. break;
  49616. case 7:
  49617. // after finally
  49618. case 4:
  49619. // join
  49620. t1 = $async$self._async_environment$_variables;
  49621. t2 = type$.String;
  49622. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49623. t3 = $async$self._async_environment$_variableNodes;
  49624. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49625. t4 = $async$self._async_environment$_functions;
  49626. t5 = type$.AsyncCallable;
  49627. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49628. t6 = $async$self._async_environment$_mixins;
  49629. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49630. t5 = $async$self._async_environment$_nestedForwardedModules;
  49631. if (t5 != null)
  49632. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49633. $async$handler = 9;
  49634. $async$goto = 12;
  49635. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49636. case 12:
  49637. // returning from await.
  49638. t2 = $async$result;
  49639. $async$returnValue = t2;
  49640. $async$next = [1];
  49641. // goto finally
  49642. $async$goto = 10;
  49643. break;
  49644. $async$next.push(11);
  49645. // goto finally
  49646. $async$goto = 10;
  49647. break;
  49648. case 9:
  49649. // uncaught
  49650. $async$next = [2];
  49651. case 10:
  49652. // finally
  49653. $async$handler = 2;
  49654. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49655. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49656. 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();) {
  49657. $name = t1.get$current(t1);
  49658. t2.remove$1(0, $name);
  49659. }
  49660. B.JSArray_methods.removeLast$0(t3);
  49661. 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();) {
  49662. name0 = t1.get$current(t1);
  49663. t2.remove$1(0, name0);
  49664. }
  49665. 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();) {
  49666. name1 = t1.get$current(t1);
  49667. t2.remove$1(0, name1);
  49668. }
  49669. t1 = $async$self._async_environment$_nestedForwardedModules;
  49670. if (t1 != null)
  49671. t1.pop();
  49672. // goto the next finally handler
  49673. $async$goto = $async$next.pop();
  49674. break;
  49675. case 11:
  49676. // after finally
  49677. case 1:
  49678. // return
  49679. return A._asyncReturn($async$returnValue, $async$completer);
  49680. case 2:
  49681. // rethrow
  49682. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49683. }
  49684. });
  49685. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49686. },
  49687. toImplicitConfiguration$0() {
  49688. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  49689. t1 = type$.String,
  49690. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49691. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49692. values = t2[i];
  49693. nodes = t4[i];
  49694. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49695. t6 = t5.get$current(t5);
  49696. $name = t6._0;
  49697. value = t6._1;
  49698. t6 = nodes.$index(0, $name);
  49699. t6.toString;
  49700. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49701. }
  49702. }
  49703. return new A.Configuration(configuration, null);
  49704. },
  49705. toModule$3(css, preModuleComments, extensionStore) {
  49706. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49707. },
  49708. toDummyModule$0() {
  49709. 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()));
  49710. },
  49711. _async_environment$_getModule$1(namespace) {
  49712. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49713. if (_0_0 != null)
  49714. return _0_0;
  49715. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49716. },
  49717. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49718. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49719. _0_0 = this._async_environment$_nestedForwardedModules;
  49720. if (_0_0 != null)
  49721. 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();) {
  49722. t3 = t2.__internal$_current;
  49723. 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();) {
  49724. t5 = t3.__internal$_current;
  49725. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49726. if (_1_0 != null)
  49727. return _1_0;
  49728. }
  49729. }
  49730. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  49731. _2_0 = callback.call$1(t1.__js_helper$_current);
  49732. if (_2_0 != null)
  49733. return _2_0;
  49734. }
  49735. 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();) {
  49736. t4 = t2.__js_helper$_current;
  49737. valueInModule = callback.call$1(t4);
  49738. if (valueInModule == null)
  49739. continue;
  49740. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49741. if (identityFromModule.$eq(0, identity))
  49742. continue;
  49743. if (value != null) {
  49744. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49745. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49746. t1 = t3.get$current(t3);
  49747. module = t1._0;
  49748. node = t1._1;
  49749. if (callback.call$1(module) != null)
  49750. t2.$indexSet(0, node.get$span(node), t4);
  49751. }
  49752. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49753. }
  49754. identity = identityFromModule;
  49755. value = valueInModule;
  49756. }
  49757. return value;
  49758. },
  49759. _async_environment$_fromOneModule$3($name, type, callback) {
  49760. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49761. }
  49762. };
  49763. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49764. call$1(module) {
  49765. return module.get$variables().$index(0, this.name);
  49766. },
  49767. $signature: 357
  49768. };
  49769. A.AsyncEnvironment_setVariable_closure.prototype = {
  49770. call$0() {
  49771. var t1 = this.$this;
  49772. t1._async_environment$_lastVariableName = this.name;
  49773. return t1._async_environment$_lastVariableIndex = 0;
  49774. },
  49775. $signature: 10
  49776. };
  49777. A.AsyncEnvironment_setVariable_closure0.prototype = {
  49778. call$1(module) {
  49779. return module.get$variables().containsKey$1(this.name) ? module : null;
  49780. },
  49781. $signature: 368
  49782. };
  49783. A.AsyncEnvironment_setVariable_closure1.prototype = {
  49784. call$0() {
  49785. var t1 = this.$this,
  49786. t2 = t1._async_environment$_variableIndex$1(this.name);
  49787. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  49788. },
  49789. $signature: 10
  49790. };
  49791. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  49792. call$1(module) {
  49793. return module.get$functions(module).$index(0, this.name);
  49794. },
  49795. $signature: 184
  49796. };
  49797. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  49798. call$1(module) {
  49799. return module.get$mixins().$index(0, this.name);
  49800. },
  49801. $signature: 184
  49802. };
  49803. A.AsyncEnvironment_toModule_closure.prototype = {
  49804. call$1(modules) {
  49805. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49806. },
  49807. $signature: 183
  49808. };
  49809. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  49810. call$1(modules) {
  49811. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49812. },
  49813. $signature: 183
  49814. };
  49815. A._EnvironmentModule0.prototype = {
  49816. get$url(_) {
  49817. var t1 = this.css;
  49818. t1 = t1.get$span(t1);
  49819. return t1.get$sourceUrl(t1);
  49820. },
  49821. setVariable$3($name, value, nodeWithSpan) {
  49822. var t1, t2,
  49823. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  49824. if (_0_0 != null) {
  49825. _0_0.setVariable$3($name, value, nodeWithSpan);
  49826. return;
  49827. }
  49828. t1 = this._async_environment$_environment;
  49829. t2 = t1._async_environment$_variables;
  49830. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  49831. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  49832. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  49833. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  49834. return;
  49835. },
  49836. variableIdentity$1($name) {
  49837. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  49838. return module == null ? this : module.variableIdentity$1($name);
  49839. },
  49840. cloneCss$0() {
  49841. var _0_0, _this = this;
  49842. if (!_this.transitivelyContainsCss)
  49843. return _this;
  49844. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  49845. 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);
  49846. },
  49847. toString$0(_) {
  49848. var t1 = this.css,
  49849. t2 = t1.get$span(t1);
  49850. if (t2.get$sourceUrl(t2) == null)
  49851. t1 = "<unknown url>";
  49852. else {
  49853. t1 = t1.get$span(t1);
  49854. t1 = t1.get$sourceUrl(t1);
  49855. t2 = $.$get$context();
  49856. t1.toString;
  49857. t1 = t2.prettyUri$1(t1);
  49858. }
  49859. return t1;
  49860. },
  49861. $isModule0: 1,
  49862. get$upstream() {
  49863. return this.upstream;
  49864. },
  49865. get$variables() {
  49866. return this.variables;
  49867. },
  49868. get$variableNodes() {
  49869. return this.variableNodes;
  49870. },
  49871. get$functions(receiver) {
  49872. return this.functions;
  49873. },
  49874. get$mixins() {
  49875. return this.mixins;
  49876. },
  49877. get$extensionStore() {
  49878. return this.extensionStore;
  49879. },
  49880. get$css(receiver) {
  49881. return this.css;
  49882. },
  49883. get$preModuleComments() {
  49884. return this.preModuleComments;
  49885. },
  49886. get$transitivelyContainsCss() {
  49887. return this.transitivelyContainsCss;
  49888. },
  49889. get$transitivelyContainsExtensions() {
  49890. return this.transitivelyContainsExtensions;
  49891. }
  49892. };
  49893. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  49894. call$1(module) {
  49895. return module.get$variables();
  49896. },
  49897. $signature: 387
  49898. };
  49899. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  49900. call$1(module) {
  49901. return module.get$variableNodes();
  49902. },
  49903. $signature: 388
  49904. };
  49905. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  49906. call$1(module) {
  49907. return module.get$functions(module);
  49908. },
  49909. $signature: 182
  49910. };
  49911. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  49912. call$1(module) {
  49913. return module.get$mixins();
  49914. },
  49915. $signature: 182
  49916. };
  49917. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  49918. call$1(module) {
  49919. return module.get$transitivelyContainsCss();
  49920. },
  49921. $signature: 119
  49922. };
  49923. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  49924. call$1(module) {
  49925. return module.get$transitivelyContainsExtensions();
  49926. },
  49927. $signature: 119
  49928. };
  49929. A.AsyncImportCache.prototype = {
  49930. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  49931. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  49932. },
  49933. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  49934. var $async$goto = 0,
  49935. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  49936. $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;
  49937. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49938. if ($async$errorCode === 1)
  49939. return A._asyncRethrow($async$result, $async$completer);
  49940. while (true)
  49941. switch ($async$goto) {
  49942. case 0:
  49943. // Function start
  49944. if (A.isBrowser())
  49945. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  49946. else
  49947. t1 = false;
  49948. if (t1)
  49949. throw A.wrapException(string$.Custom);
  49950. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  49951. break;
  49952. case 3:
  49953. // then
  49954. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  49955. if (resolvedUrl == null)
  49956. resolvedUrl = url;
  49957. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  49958. $async$goto = 5;
  49959. 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);
  49960. case 5:
  49961. // returning from await.
  49962. relativeResult = $async$result;
  49963. if (relativeResult != null) {
  49964. $async$returnValue = relativeResult;
  49965. // goto return
  49966. $async$goto = 1;
  49967. break;
  49968. }
  49969. case 4:
  49970. // join
  49971. key = new A._Record_2_forImport(url, forImport);
  49972. t1 = $async$self._async_import_cache$_canonicalizeCache;
  49973. if (t1.containsKey$1(key)) {
  49974. $async$returnValue = t1.$index(0, key);
  49975. // goto return
  49976. $async$goto = 1;
  49977. break;
  49978. }
  49979. 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;
  49980. case 6:
  49981. // for condition
  49982. if (!(i < t2.length)) {
  49983. // goto after for
  49984. $async$goto = 8;
  49985. break;
  49986. }
  49987. importer = t2[i];
  49988. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  49989. if (t4.containsKey$1(perImporterKey)) {
  49990. t7 = t4.$index(0, perImporterKey);
  49991. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  49992. } else
  49993. _1_0 = null;
  49994. _1_2_isSet = t3._is(_1_0);
  49995. result = null;
  49996. if (_1_2_isSet) {
  49997. _1_2 = _1_0._0;
  49998. t7 = _1_2 != null;
  49999. if (t7) {
  50000. t6._as(_1_2);
  50001. result = _1_2;
  50002. }
  50003. } else {
  50004. _1_2 = null;
  50005. t7 = false;
  50006. }
  50007. if (t7) {
  50008. $async$returnValue = result;
  50009. // goto return
  50010. $async$goto = 1;
  50011. break;
  50012. }
  50013. if (_1_2_isSet)
  50014. t7 = _1_2 == null;
  50015. else
  50016. t7 = false;
  50017. if (t7) {
  50018. // goto for update
  50019. $async$goto = 7;
  50020. break;
  50021. }
  50022. $async$goto = 10;
  50023. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  50024. case 10:
  50025. // returning from await.
  50026. _2_0 = $async$result;
  50027. _2_1 = _2_0._0;
  50028. _2_5_isSet = _2_1 != null;
  50029. _2_5 = null;
  50030. _2_3 = null;
  50031. t7 = false;
  50032. if (_2_5_isSet) {
  50033. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  50034. _2_3 = _2_0._1;
  50035. t7 = _2_3;
  50036. _2_5 = t7;
  50037. t7 = t7 && cacheable;
  50038. } else
  50039. result = null;
  50040. if (t7) {
  50041. t1.$indexSet(0, key, result);
  50042. $async$returnValue = result;
  50043. // goto return
  50044. $async$goto = 1;
  50045. break;
  50046. }
  50047. if (_2_5_isSet) {
  50048. t7 = _2_5;
  50049. _2_3_isSet = _2_5_isSet;
  50050. } else {
  50051. _2_3 = _2_0._1;
  50052. t7 = _2_3;
  50053. _2_3_isSet = true;
  50054. }
  50055. t7 = t7 && !cacheable;
  50056. if (t7) {
  50057. t4.$indexSet(0, perImporterKey, _2_1);
  50058. if (_2_1 != null) {
  50059. $async$returnValue = _2_1;
  50060. // goto return
  50061. $async$goto = 1;
  50062. break;
  50063. }
  50064. // goto break $label0$1
  50065. $async$goto = 9;
  50066. break;
  50067. }
  50068. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  50069. if (t7) {
  50070. if (cacheable) {
  50071. for (j = 0; j < i; ++j)
  50072. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50073. cacheable = false;
  50074. }
  50075. if (_2_1 != null) {
  50076. $async$returnValue = _2_1;
  50077. // goto return
  50078. $async$goto = 1;
  50079. break;
  50080. }
  50081. }
  50082. case 9:
  50083. // break $label0$1
  50084. case 7:
  50085. // for update
  50086. ++i;
  50087. // goto for condition
  50088. $async$goto = 6;
  50089. break;
  50090. case 8:
  50091. // after for
  50092. if (cacheable)
  50093. t1.$indexSet(0, key, null);
  50094. $async$returnValue = null;
  50095. // goto return
  50096. $async$goto = 1;
  50097. break;
  50098. case 1:
  50099. // return
  50100. return A._asyncReturn($async$returnValue, $async$completer);
  50101. }
  50102. });
  50103. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50104. },
  50105. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50106. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50107. },
  50108. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50109. var $async$goto = 0,
  50110. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50111. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50112. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50113. if ($async$errorCode === 1)
  50114. return A._asyncRethrow($async$result, $async$completer);
  50115. while (true)
  50116. switch ($async$goto) {
  50117. case 0:
  50118. // Function start
  50119. $async$goto = baseUrl != null ? 3 : 5;
  50120. break;
  50121. case 3:
  50122. // then
  50123. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50124. break;
  50125. case 6:
  50126. // then
  50127. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50128. $async$goto = 9;
  50129. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50130. case 9:
  50131. // returning from await.
  50132. t1 = $async$result;
  50133. passContainingUrl = t1;
  50134. // goto join
  50135. $async$goto = 7;
  50136. break;
  50137. case 8:
  50138. // else
  50139. passContainingUrl = true;
  50140. case 7:
  50141. // join
  50142. // goto join
  50143. $async$goto = 4;
  50144. break;
  50145. case 5:
  50146. // else
  50147. passContainingUrl = false;
  50148. case 4:
  50149. // join
  50150. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50151. t1 = type$.nullable_Object;
  50152. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50153. $async$goto = 10;
  50154. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50155. case 10:
  50156. // returning from await.
  50157. result = $async$result;
  50158. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50159. if (result == null) {
  50160. $async$returnValue = new A._Record_2(null, cacheable);
  50161. // goto return
  50162. $async$goto = 1;
  50163. break;
  50164. }
  50165. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50166. break;
  50167. case 11:
  50168. // then
  50169. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50170. $async$goto = 14;
  50171. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50172. case 14:
  50173. // returning from await.
  50174. t1 = $async$result;
  50175. // goto join
  50176. $async$goto = 12;
  50177. break;
  50178. case 13:
  50179. // else
  50180. t1 = false;
  50181. case 12:
  50182. // join
  50183. if (t1)
  50184. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50185. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50186. // goto return
  50187. $async$goto = 1;
  50188. break;
  50189. case 1:
  50190. // return
  50191. return A._asyncReturn($async$returnValue, $async$completer);
  50192. }
  50193. });
  50194. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50195. },
  50196. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50197. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50198. },
  50199. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50200. var $async$goto = 0,
  50201. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50202. $async$returnValue, $async$self = this;
  50203. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50204. if ($async$errorCode === 1)
  50205. return A._asyncRethrow($async$result, $async$completer);
  50206. while (true)
  50207. switch ($async$goto) {
  50208. case 0:
  50209. // Function start
  50210. $async$goto = 3;
  50211. 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);
  50212. case 3:
  50213. // returning from await.
  50214. $async$returnValue = $async$result;
  50215. // goto return
  50216. $async$goto = 1;
  50217. break;
  50218. case 1:
  50219. // return
  50220. return A._asyncReturn($async$returnValue, $async$completer);
  50221. }
  50222. });
  50223. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50224. },
  50225. humanize$1(canonicalUrl) {
  50226. var t1 = this._async_import_cache$_canonicalizeCache,
  50227. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50228. 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));
  50229. return t2 == null ? canonicalUrl : t2;
  50230. },
  50231. sourceMapUrl$1(_, canonicalUrl) {
  50232. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50233. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50234. return t1 == null ? canonicalUrl : t1;
  50235. }
  50236. };
  50237. A.AsyncImportCache_canonicalize_closure.prototype = {
  50238. call$0() {
  50239. var $async$goto = 0,
  50240. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50241. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50242. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50243. if ($async$errorCode === 1)
  50244. return A._asyncRethrow($async$result, $async$completer);
  50245. while (true)
  50246. switch ($async$goto) {
  50247. case 0:
  50248. // Function start
  50249. t1 = $async$self.$this;
  50250. t2 = $async$self.baseUrl;
  50251. $async$goto = 3;
  50252. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50253. case 3:
  50254. // returning from await.
  50255. _0_0 = $async$result;
  50256. result = _0_0._0;
  50257. _0_0._1;
  50258. if (t2 != null)
  50259. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50260. $async$returnValue = result;
  50261. // goto return
  50262. $async$goto = 1;
  50263. break;
  50264. case 1:
  50265. // return
  50266. return A._asyncReturn($async$returnValue, $async$completer);
  50267. }
  50268. });
  50269. return A._asyncStartSync($async$call$0, $async$completer);
  50270. },
  50271. $signature: 391
  50272. };
  50273. A.AsyncImportCache__canonicalize_closure.prototype = {
  50274. call$0() {
  50275. return this.importer.canonicalize$1(0, this.url);
  50276. },
  50277. $signature: 223
  50278. };
  50279. A.AsyncImportCache_importCanonical_closure.prototype = {
  50280. call$0() {
  50281. var $async$goto = 0,
  50282. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50283. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50284. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50285. if ($async$errorCode === 1)
  50286. return A._asyncRethrow($async$result, $async$completer);
  50287. while (true)
  50288. switch ($async$goto) {
  50289. case 0:
  50290. // Function start
  50291. t1 = Date.now();
  50292. t2 = $async$self.canonicalUrl;
  50293. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50294. $async$goto = 3;
  50295. return A._asyncAwait(t3, $async$call$0);
  50296. case 3:
  50297. // returning from await.
  50298. result = $async$result;
  50299. if (result == null) {
  50300. $async$returnValue = null;
  50301. // goto return
  50302. $async$goto = 1;
  50303. break;
  50304. }
  50305. t3 = $async$self.$this;
  50306. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50307. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50308. t3 = result.contents;
  50309. t1 = result.syntax;
  50310. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50311. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50312. // goto return
  50313. $async$goto = 1;
  50314. break;
  50315. case 1:
  50316. // return
  50317. return A._asyncReturn($async$returnValue, $async$completer);
  50318. }
  50319. });
  50320. return A._asyncStartSync($async$call$0, $async$completer);
  50321. },
  50322. $signature: 481
  50323. };
  50324. A.AsyncImportCache_humanize_closure.prototype = {
  50325. call$1(result) {
  50326. return result._1.$eq(0, this.canonicalUrl);
  50327. },
  50328. $signature: 499
  50329. };
  50330. A.AsyncImportCache_humanize_closure0.prototype = {
  50331. call$1(result) {
  50332. return result._2;
  50333. },
  50334. $signature: 670
  50335. };
  50336. A.AsyncImportCache_humanize_closure1.prototype = {
  50337. call$1(url) {
  50338. return url.get$path(url).length;
  50339. },
  50340. $signature: 102
  50341. };
  50342. A.AsyncImportCache_humanize_closure2.prototype = {
  50343. call$1(url) {
  50344. var t1 = $.$get$url(),
  50345. t2 = this.canonicalUrl;
  50346. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50347. },
  50348. $signature: 51
  50349. };
  50350. A.AsyncBuiltInCallable.prototype = {
  50351. callbackFor$2(positional, names) {
  50352. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50353. },
  50354. withDeprecationWarning$1(module) {
  50355. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50356. },
  50357. $isAsyncCallable: 1,
  50358. get$name(receiver) {
  50359. return this.name;
  50360. },
  50361. get$acceptsContent() {
  50362. return this.acceptsContent;
  50363. }
  50364. };
  50365. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50366. call$1($arguments) {
  50367. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50368. },
  50369. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50370. var $async$goto = 0,
  50371. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50372. $async$returnValue, $async$self = this, t1;
  50373. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50374. if ($async$errorCode === 1)
  50375. return A._asyncRethrow($async$result, $async$completer);
  50376. while (true)
  50377. switch ($async$goto) {
  50378. case 0:
  50379. // Function start
  50380. t1 = $async$self.callback.call$1($arguments);
  50381. $async$goto = 3;
  50382. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50383. case 3:
  50384. // returning from await.
  50385. $async$returnValue = B.C__SassNull;
  50386. // goto return
  50387. $async$goto = 1;
  50388. break;
  50389. case 1:
  50390. // return
  50391. return A._asyncReturn($async$returnValue, $async$completer);
  50392. }
  50393. });
  50394. return A._asyncStartSync($async$call$1, $async$completer);
  50395. },
  50396. $signature: 196
  50397. };
  50398. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50399. call$1(args) {
  50400. var t1 = this.$this;
  50401. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_1AX);
  50402. return t1._async_built_in$_callback.call$1(args);
  50403. },
  50404. $signature: 671
  50405. };
  50406. A.BuiltInCallable.prototype = {
  50407. callbackFor$2(positional, names) {
  50408. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50409. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50410. overload = t1[_i];
  50411. t3 = overload._0;
  50412. if (t3.matches$2(positional, names))
  50413. return overload;
  50414. mismatchDistance = t3.parameters.length - positional;
  50415. if (minMismatchDistance != null) {
  50416. t3 = Math.abs(mismatchDistance);
  50417. t4 = Math.abs(minMismatchDistance);
  50418. if (t3 > t4)
  50419. continue;
  50420. if (t3 === t4 && mismatchDistance < 0)
  50421. continue;
  50422. }
  50423. minMismatchDistance = mismatchDistance;
  50424. fuzzyMatch = overload;
  50425. }
  50426. if (fuzzyMatch != null)
  50427. return fuzzyMatch;
  50428. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50429. },
  50430. withName$1($name) {
  50431. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50432. },
  50433. withDeprecationWarning$2(module, newName) {
  50434. var t2, t3, _i, t4, t5, _this = this,
  50435. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50436. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50437. t4 = {};
  50438. t5 = t2[_i];
  50439. t4.$function = null;
  50440. t4.$function = t5._1;
  50441. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50442. }
  50443. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50444. },
  50445. withDeprecationWarning$1(module) {
  50446. return this.withDeprecationWarning$2(module, null);
  50447. },
  50448. $isCallable0: 1,
  50449. $isAsyncCallable: 1,
  50450. $isAsyncBuiltInCallable: 1,
  50451. get$name(receiver) {
  50452. return this.name;
  50453. },
  50454. get$acceptsContent() {
  50455. return this.acceptsContent;
  50456. }
  50457. };
  50458. A.BuiltInCallable$mixin_closure.prototype = {
  50459. call$1($arguments) {
  50460. this.callback.call$1($arguments);
  50461. return B.C__SassNull;
  50462. },
  50463. $signature: 4
  50464. };
  50465. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50466. call$1(args) {
  50467. var _this = this,
  50468. t1 = _this.newName;
  50469. if (t1 == null)
  50470. t1 = _this.$this.name;
  50471. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_1AX);
  50472. return _this._box_0.$function.call$1(args);
  50473. },
  50474. $signature: 4
  50475. };
  50476. A.PlainCssCallable.prototype = {
  50477. $eq(_, other) {
  50478. if (other == null)
  50479. return false;
  50480. return other instanceof A.PlainCssCallable && this.name === other.name;
  50481. },
  50482. get$hashCode(_) {
  50483. return B.JSString_methods.get$hashCode(this.name);
  50484. },
  50485. $isCallable0: 1,
  50486. $isAsyncCallable: 1,
  50487. get$name(receiver) {
  50488. return this.name;
  50489. }
  50490. };
  50491. A.UserDefinedCallable.prototype = {
  50492. get$name(_) {
  50493. return this.declaration.name;
  50494. },
  50495. $isCallable0: 1,
  50496. $isAsyncCallable: 1
  50497. };
  50498. A._compileStylesheet_closure.prototype = {
  50499. call$1(url) {
  50500. var t1;
  50501. if (url === "") {
  50502. t1 = this.stylesheet.span;
  50503. 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();
  50504. } else
  50505. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50506. return t1;
  50507. },
  50508. $signature: 6
  50509. };
  50510. A.CompileResult.prototype = {};
  50511. A.Configuration.prototype = {
  50512. throughForward$1($forward) {
  50513. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50514. newValues = this._configuration$_values;
  50515. if (newValues.get$isEmpty(newValues))
  50516. return B.Configuration_Map_empty_null;
  50517. _0_0 = $forward.prefix;
  50518. if (_0_0 != null)
  50519. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50520. _1_0 = $forward.shownVariables;
  50521. if (_1_0 != null)
  50522. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50523. else {
  50524. _2_0 = $forward.hiddenVariables;
  50525. if (_2_0 != null) {
  50526. t1 = _2_0._base.get$isNotEmpty(0);
  50527. hiddenVariables = _2_0;
  50528. } else {
  50529. hiddenVariables = null;
  50530. t1 = false;
  50531. }
  50532. if (t1)
  50533. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50534. }
  50535. return this._withValues$1(newValues);
  50536. },
  50537. _withValues$1(values) {
  50538. var t1 = this.__originalConfiguration;
  50539. return new A.Configuration(values, t1 == null ? this : t1);
  50540. },
  50541. toString$0(_) {
  50542. var t2, t3,
  50543. t1 = A._setArrayType([], type$.JSArray_String);
  50544. 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();) {
  50545. t3 = t2.get$current(t2);
  50546. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50547. }
  50548. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50549. }
  50550. };
  50551. A.ExplicitConfiguration.prototype = {
  50552. _withValues$1(values) {
  50553. var t1 = this.__originalConfiguration;
  50554. if (t1 == null)
  50555. t1 = this;
  50556. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50557. }
  50558. };
  50559. A.ConfiguredValue.prototype = {
  50560. toString$0(_) {
  50561. return this.value.toString$0(0);
  50562. }
  50563. };
  50564. A.Deprecation.prototype = {
  50565. _enumToString$0() {
  50566. return "Deprecation." + this._name;
  50567. },
  50568. toString$0(_) {
  50569. return this.id;
  50570. }
  50571. };
  50572. A.Deprecation_fromId_closure.prototype = {
  50573. call$1(deprecation) {
  50574. return deprecation.id === this.id;
  50575. },
  50576. $signature: 649
  50577. };
  50578. A.Environment.prototype = {
  50579. closure$0() {
  50580. var t4, t5, t6, _this = this,
  50581. t1 = _this._forwardedModules,
  50582. t2 = _this._nestedForwardedModules,
  50583. t3 = _this._variables;
  50584. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50585. t4 = _this._variableNodes;
  50586. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50587. t5 = _this._functions;
  50588. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50589. t6 = _this._mixins;
  50590. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50591. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  50592. },
  50593. forwardModule$2(module, rule) {
  50594. var view, t1, t2, _this = this,
  50595. forwardedModules = _this._forwardedModules;
  50596. if (forwardedModules == null)
  50597. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50598. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50599. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  50600. t2 = t1.__js_helper$_current;
  50601. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50602. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50603. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50604. }
  50605. _this._allModules.push(module);
  50606. forwardedModules.$indexSet(0, view, rule);
  50607. },
  50608. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50609. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50610. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50611. larger = oldMembers;
  50612. smaller = newMembers;
  50613. } else {
  50614. larger = newMembers;
  50615. smaller = oldMembers;
  50616. }
  50617. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50618. t4 = t2.get$current(t2);
  50619. $name = t4._0;
  50620. small = t4._1;
  50621. large = larger.$index(0, $name);
  50622. if (large == null)
  50623. continue;
  50624. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50625. continue;
  50626. if (t3)
  50627. $name = "$" + $name;
  50628. t2 = this._forwardedModules;
  50629. if (t2 == null)
  50630. span = null;
  50631. else {
  50632. t2 = t2.$index(0, oldModule);
  50633. span = t2 == null ? null : t2.get$span(t2);
  50634. }
  50635. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50636. if (span != null)
  50637. t2.$indexSet(0, span, "original @forward");
  50638. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50639. }
  50640. },
  50641. importForwards$1(module) {
  50642. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50643. forwarded = module._environment$_environment._forwardedModules;
  50644. if (forwarded == null)
  50645. return;
  50646. forwardedModules = _this._forwardedModules;
  50647. if (forwardedModules != null) {
  50648. t1 = type$.Module_Callable;
  50649. t2 = type$.AstNode;
  50650. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50651. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50652. t4 = t1.get$current(t1);
  50653. module = t4._0;
  50654. node = t4._1;
  50655. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50656. t3.$indexSet(0, module, node);
  50657. }
  50658. forwarded = t3;
  50659. } else
  50660. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50661. t1 = type$.String;
  50662. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50663. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  50664. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  50665. t2.add$1(0, t4.get$current(t4));
  50666. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50667. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  50668. t5 = t4.__js_helper$_current;
  50669. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50670. t3.add$1(0, t5.get$current(t5));
  50671. }
  50672. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50673. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  50674. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50675. t1.add$1(0, t5.get$current(t5));
  50676. t4 = _this._variables;
  50677. t5 = t4.length;
  50678. if (t5 === 1) {
  50679. 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) {
  50680. t11 = t8[_i];
  50681. module = t11._0;
  50682. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50683. if (shadowed != null) {
  50684. t5.remove$1(0, module);
  50685. t12 = shadowed.variables;
  50686. t13 = false;
  50687. if (t12.get$isEmpty(t12)) {
  50688. t12 = shadowed.functions;
  50689. if (t12.get$isEmpty(t12)) {
  50690. t12 = shadowed.mixins;
  50691. if (t12.get$isEmpty(t12)) {
  50692. t12 = shadowed._shadowed_view$_inner;
  50693. t12 = t12.get$css(t12);
  50694. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50695. } else
  50696. t12 = t13;
  50697. } else
  50698. t12 = t13;
  50699. } else
  50700. t12 = t13;
  50701. if (!t12)
  50702. t5.$indexSet(0, shadowed, t11._1);
  50703. }
  50704. }
  50705. 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) {
  50706. t8 = t6[_i];
  50707. module = t8._0;
  50708. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50709. if (shadowed != null) {
  50710. forwardedModules.remove$1(0, module);
  50711. t9 = shadowed.variables;
  50712. t11 = false;
  50713. if (t9.get$isEmpty(t9)) {
  50714. t9 = shadowed.functions;
  50715. if (t9.get$isEmpty(t9)) {
  50716. t9 = shadowed.mixins;
  50717. if (t9.get$isEmpty(t9)) {
  50718. t9 = shadowed._shadowed_view$_inner;
  50719. t9 = t9.get$css(t9);
  50720. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50721. } else
  50722. t9 = t11;
  50723. } else
  50724. t9 = t11;
  50725. } else
  50726. t9 = t11;
  50727. if (!t9)
  50728. forwardedModules.$indexSet(0, shadowed, t8._1);
  50729. }
  50730. }
  50731. t5.addAll$1(0, forwarded);
  50732. forwardedModules.addAll$1(0, forwarded);
  50733. } else {
  50734. t6 = _this._nestedForwardedModules;
  50735. if (t6 == null) {
  50736. _length = t5 - 1;
  50737. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  50738. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  50739. _list[_i] = A._setArrayType([], t5);
  50740. _this._nestedForwardedModules = _list;
  50741. t5 = _list;
  50742. } else
  50743. t5 = t6;
  50744. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  50745. }
  50746. for (t2 = A._LinkedHashSetIterator$(t2, t2._modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50747. t8 = t2._collection$_current;
  50748. if (t8 == null)
  50749. t8 = t7._as(t8);
  50750. t5.remove$1(0, t8);
  50751. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  50752. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  50753. }
  50754. for (t2 = A._LinkedHashSetIterator$(t3, t3._modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50755. t6 = t2._collection$_current;
  50756. if (t6 == null)
  50757. t6 = t5._as(t6);
  50758. t3.remove$1(0, t6);
  50759. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  50760. }
  50761. for (t1 = A._LinkedHashSetIterator$(t1, t1._modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  50762. t5 = t1._collection$_current;
  50763. if (t5 == null)
  50764. t5 = t4._as(t5);
  50765. t2.remove$1(0, t5);
  50766. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  50767. }
  50768. },
  50769. getVariable$2$namespace($name, namespace) {
  50770. var t1, _0_0, _1_0, _this = this;
  50771. if (namespace != null)
  50772. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  50773. if (_this._lastVariableName === $name) {
  50774. t1 = _this._lastVariableIndex;
  50775. t1.toString;
  50776. t1 = _this._variables[t1].$index(0, $name);
  50777. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50778. }
  50779. t1 = _this._variableIndices;
  50780. _0_0 = t1.$index(0, $name);
  50781. if (_0_0 != null) {
  50782. _this._lastVariableName = $name;
  50783. _this._lastVariableIndex = _0_0;
  50784. t1 = _this._variables[_0_0].$index(0, $name);
  50785. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50786. } else {
  50787. _1_0 = _this._variableIndex$1($name);
  50788. if (_1_0 != null) {
  50789. _this._lastVariableName = $name;
  50790. _this._lastVariableIndex = _1_0;
  50791. t1.$indexSet(0, $name, _1_0);
  50792. t1 = _this._variables[_1_0].$index(0, $name);
  50793. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50794. } else
  50795. return _this._getVariableFromGlobalModule$1($name);
  50796. }
  50797. },
  50798. getVariable$1($name) {
  50799. return this.getVariable$2$namespace($name, null);
  50800. },
  50801. _getVariableFromGlobalModule$1($name) {
  50802. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  50803. },
  50804. getVariableNode$2$namespace($name, namespace) {
  50805. var t1, _0_0, _1_0, _this = this;
  50806. if (namespace != null)
  50807. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  50808. if (_this._lastVariableName === $name) {
  50809. t1 = _this._lastVariableIndex;
  50810. t1.toString;
  50811. t1 = _this._variableNodes[t1].$index(0, $name);
  50812. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50813. }
  50814. t1 = _this._variableIndices;
  50815. _0_0 = t1.$index(0, $name);
  50816. if (_0_0 != null) {
  50817. _this._lastVariableName = $name;
  50818. _this._lastVariableIndex = _0_0;
  50819. t1 = _this._variableNodes[_0_0].$index(0, $name);
  50820. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50821. } else {
  50822. _1_0 = _this._variableIndex$1($name);
  50823. if (_1_0 != null) {
  50824. _this._lastVariableName = $name;
  50825. _this._lastVariableIndex = _1_0;
  50826. t1.$indexSet(0, $name, _1_0);
  50827. t1 = _this._variableNodes[_1_0].$index(0, $name);
  50828. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50829. } else
  50830. return _this._getVariableNodeFromGlobalModule$1($name);
  50831. }
  50832. },
  50833. _getVariableNodeFromGlobalModule$1($name) {
  50834. var t1, t2, _0_0;
  50835. 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();) {
  50836. t1 = t2._currentIterator;
  50837. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  50838. if (_0_0 != null)
  50839. return _0_0;
  50840. }
  50841. return null;
  50842. },
  50843. globalVariableExists$2$namespace($name, namespace) {
  50844. if (namespace != null)
  50845. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  50846. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  50847. return true;
  50848. return this._getVariableFromGlobalModule$1($name) != null;
  50849. },
  50850. globalVariableExists$1($name) {
  50851. return this.globalVariableExists$2$namespace($name, null);
  50852. },
  50853. _variableIndex$1($name) {
  50854. var t1, i;
  50855. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  50856. if (t1[i].containsKey$1($name))
  50857. return i;
  50858. return null;
  50859. },
  50860. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  50861. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  50862. if (namespace != null) {
  50863. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  50864. return;
  50865. }
  50866. if (global || _this._variables.length === 1) {
  50867. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  50868. t1 = _this._variables;
  50869. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  50870. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  50871. if (moduleWithName != null) {
  50872. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  50873. return;
  50874. }
  50875. }
  50876. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  50877. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  50878. return;
  50879. }
  50880. nestedForwardedModules = _this._nestedForwardedModules;
  50881. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  50882. 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();) {
  50883. t3 = t2.__internal$_current;
  50884. 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();) {
  50885. t5 = t3.__internal$_current;
  50886. if (t5 == null)
  50887. t5 = t4._as(t5);
  50888. if (t5.get$variables().containsKey$1($name)) {
  50889. t5.setVariable$3($name, value, nodeWithSpan);
  50890. return;
  50891. }
  50892. }
  50893. }
  50894. if (_this._lastVariableName === $name) {
  50895. t1 = _this._lastVariableIndex;
  50896. t1.toString;
  50897. index = t1;
  50898. } else
  50899. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  50900. if (!_this._inSemiGlobalScope && index === 0) {
  50901. index = _this._variables.length - 1;
  50902. _this._variableIndices.$indexSet(0, $name, index);
  50903. }
  50904. _this._lastVariableName = $name;
  50905. _this._lastVariableIndex = index;
  50906. _this._variables[index].$indexSet(0, $name, value);
  50907. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50908. },
  50909. setVariable$4$global($name, value, nodeWithSpan, global) {
  50910. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  50911. },
  50912. setLocalVariable$3($name, value, nodeWithSpan) {
  50913. var index, _this = this,
  50914. t1 = _this._variables,
  50915. t2 = t1.length;
  50916. _this._lastVariableName = $name;
  50917. index = _this._lastVariableIndex = t2 - 1;
  50918. _this._variableIndices.$indexSet(0, $name, index);
  50919. t1[index].$indexSet(0, $name, value);
  50920. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50921. },
  50922. getFunction$2$namespace($name, namespace) {
  50923. var t1, _0_0, _1_0, _this = this;
  50924. if (namespace != null) {
  50925. t1 = _this._getModule$1(namespace);
  50926. return t1.get$functions(t1).$index(0, $name);
  50927. }
  50928. t1 = _this._functionIndices;
  50929. _0_0 = t1.$index(0, $name);
  50930. if (_0_0 != null) {
  50931. t1 = _this._functions[_0_0].$index(0, $name);
  50932. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50933. } else {
  50934. _1_0 = _this._functionIndex$1($name);
  50935. if (_1_0 != null) {
  50936. t1.$indexSet(0, $name, _1_0);
  50937. t1 = _this._functions[_1_0].$index(0, $name);
  50938. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50939. } else
  50940. return _this._getFunctionFromGlobalModule$1($name);
  50941. }
  50942. },
  50943. getFunction$1($name) {
  50944. return this.getFunction$2$namespace($name, null);
  50945. },
  50946. _getFunctionFromGlobalModule$1($name) {
  50947. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  50948. },
  50949. _functionIndex$1($name) {
  50950. var t1, i;
  50951. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  50952. if (t1[i].containsKey$1($name))
  50953. return i;
  50954. return null;
  50955. },
  50956. getMixin$2$namespace($name, namespace) {
  50957. var t1, _0_0, _1_0, _this = this;
  50958. if (namespace != null)
  50959. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  50960. t1 = _this._mixinIndices;
  50961. _0_0 = t1.$index(0, $name);
  50962. if (_0_0 != null) {
  50963. t1 = _this._mixins[_0_0].$index(0, $name);
  50964. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50965. } else {
  50966. _1_0 = _this._mixinIndex$1($name);
  50967. if (_1_0 != null) {
  50968. t1.$indexSet(0, $name, _1_0);
  50969. t1 = _this._mixins[_1_0].$index(0, $name);
  50970. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50971. } else
  50972. return _this._getMixinFromGlobalModule$1($name);
  50973. }
  50974. },
  50975. _getMixinFromGlobalModule$1($name) {
  50976. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  50977. },
  50978. _mixinIndex$1($name) {
  50979. var t1, i;
  50980. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  50981. if (t1[i].containsKey$1($name))
  50982. return i;
  50983. return null;
  50984. },
  50985. withContent$2($content, callback) {
  50986. var oldContent = this._content;
  50987. this._content = $content;
  50988. callback.call$0();
  50989. this._content = oldContent;
  50990. },
  50991. asMixin$1(callback) {
  50992. var oldInMixin = this._inMixin;
  50993. this._inMixin = true;
  50994. callback.call$0();
  50995. this._inMixin = oldInMixin;
  50996. },
  50997. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  50998. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  50999. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  51000. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  51001. _this._inSemiGlobalScope = semiGlobal;
  51002. if (!when)
  51003. try {
  51004. t1 = callback.call$0();
  51005. return t1;
  51006. } finally {
  51007. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51008. }
  51009. t1 = _this._variables;
  51010. t2 = type$.String;
  51011. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  51012. t3 = _this._variableNodes;
  51013. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  51014. t4 = _this._functions;
  51015. t5 = type$.Callable;
  51016. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51017. t6 = _this._mixins;
  51018. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51019. t5 = _this._nestedForwardedModules;
  51020. if (t5 != null)
  51021. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  51022. try {
  51023. t2 = callback.call$0();
  51024. return t2;
  51025. } finally {
  51026. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51027. _this._lastVariableIndex = _this._lastVariableName = null;
  51028. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  51029. $name = t1.get$current(t1);
  51030. t2.remove$1(0, $name);
  51031. }
  51032. B.JSArray_methods.removeLast$0(t3);
  51033. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  51034. name0 = t1.get$current(t1);
  51035. t2.remove$1(0, name0);
  51036. }
  51037. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  51038. name1 = t1.get$current(t1);
  51039. t2.remove$1(0, name1);
  51040. }
  51041. t1 = _this._nestedForwardedModules;
  51042. if (t1 != null)
  51043. t1.pop();
  51044. }
  51045. },
  51046. scope$1$1(callback) {
  51047. return this.scope$1$3$semiGlobal$when(callback, false, true);
  51048. },
  51049. scope$1$2$when(callback, when) {
  51050. return this.scope$1$3$semiGlobal$when(callback, false, when);
  51051. },
  51052. scope$1$2$semiGlobal(callback, semiGlobal) {
  51053. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  51054. },
  51055. toImplicitConfiguration$0() {
  51056. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  51057. t1 = type$.String,
  51058. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  51059. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  51060. values = t2[i];
  51061. nodes = t4[i];
  51062. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51063. t6 = t5.get$current(t5);
  51064. $name = t6._0;
  51065. value = t6._1;
  51066. t6 = nodes.$index(0, $name);
  51067. t6.toString;
  51068. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51069. }
  51070. }
  51071. return new A.Configuration(configuration, null);
  51072. },
  51073. toModule$3(css, preModuleComments, extensionStore) {
  51074. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51075. },
  51076. toDummyModule$0() {
  51077. 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()));
  51078. },
  51079. _getModule$1(namespace) {
  51080. var _0_0 = this._environment$_modules.$index(0, namespace);
  51081. if (_0_0 != null)
  51082. return _0_0;
  51083. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51084. },
  51085. _fromOneModule$1$3($name, type, callback) {
  51086. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51087. _0_0 = this._nestedForwardedModules;
  51088. if (_0_0 != null)
  51089. 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();) {
  51090. t3 = t2.__internal$_current;
  51091. 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();) {
  51092. t5 = t3.__internal$_current;
  51093. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51094. if (_1_0 != null)
  51095. return _1_0;
  51096. }
  51097. }
  51098. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  51099. _2_0 = callback.call$1(t1.__js_helper$_current);
  51100. if (_2_0 != null)
  51101. return _2_0;
  51102. }
  51103. 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();) {
  51104. t4 = t2.__js_helper$_current;
  51105. valueInModule = callback.call$1(t4);
  51106. if (valueInModule == null)
  51107. continue;
  51108. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51109. if (identityFromModule.$eq(0, identity))
  51110. continue;
  51111. if (value != null) {
  51112. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51113. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51114. t1 = t3.get$current(t3);
  51115. module = t1._0;
  51116. node = t1._1;
  51117. if (callback.call$1(module) != null)
  51118. t2.$indexSet(0, node.get$span(node), t4);
  51119. }
  51120. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51121. }
  51122. identity = identityFromModule;
  51123. value = valueInModule;
  51124. }
  51125. return value;
  51126. },
  51127. _fromOneModule$3($name, type, callback) {
  51128. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51129. }
  51130. };
  51131. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51132. call$1(module) {
  51133. return module.get$variables().$index(0, this.name);
  51134. },
  51135. $signature: 647
  51136. };
  51137. A.Environment_setVariable_closure.prototype = {
  51138. call$0() {
  51139. var t1 = this.$this;
  51140. t1._lastVariableName = this.name;
  51141. return t1._lastVariableIndex = 0;
  51142. },
  51143. $signature: 10
  51144. };
  51145. A.Environment_setVariable_closure0.prototype = {
  51146. call$1(module) {
  51147. return module.get$variables().containsKey$1(this.name) ? module : null;
  51148. },
  51149. $signature: 646
  51150. };
  51151. A.Environment_setVariable_closure1.prototype = {
  51152. call$0() {
  51153. var t1 = this.$this,
  51154. t2 = t1._variableIndex$1(this.name);
  51155. return t2 == null ? t1._variables.length - 1 : t2;
  51156. },
  51157. $signature: 10
  51158. };
  51159. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51160. call$1(module) {
  51161. return module.get$functions(module).$index(0, this.name);
  51162. },
  51163. $signature: 214
  51164. };
  51165. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51166. call$1(module) {
  51167. return module.get$mixins().$index(0, this.name);
  51168. },
  51169. $signature: 214
  51170. };
  51171. A.Environment_toModule_closure.prototype = {
  51172. call$1(modules) {
  51173. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51174. },
  51175. $signature: 217
  51176. };
  51177. A.Environment_toDummyModule_closure.prototype = {
  51178. call$1(modules) {
  51179. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51180. },
  51181. $signature: 217
  51182. };
  51183. A._EnvironmentModule.prototype = {
  51184. get$url(_) {
  51185. var t1 = this.css;
  51186. t1 = t1.get$span(t1);
  51187. return t1.get$sourceUrl(t1);
  51188. },
  51189. setVariable$3($name, value, nodeWithSpan) {
  51190. var t1, t2,
  51191. _0_0 = this._modulesByVariable.$index(0, $name);
  51192. if (_0_0 != null) {
  51193. _0_0.setVariable$3($name, value, nodeWithSpan);
  51194. return;
  51195. }
  51196. t1 = this._environment$_environment;
  51197. t2 = t1._variables;
  51198. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51199. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51200. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  51201. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  51202. return;
  51203. },
  51204. variableIdentity$1($name) {
  51205. var module = this._modulesByVariable.$index(0, $name);
  51206. return module == null ? this : module.variableIdentity$1($name);
  51207. },
  51208. cloneCss$0() {
  51209. var _0_0, _this = this;
  51210. if (!_this.transitivelyContainsCss)
  51211. return _this;
  51212. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51213. 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);
  51214. },
  51215. toString$0(_) {
  51216. var t1 = this.css,
  51217. t2 = t1.get$span(t1);
  51218. if (t2.get$sourceUrl(t2) == null)
  51219. t1 = "<unknown url>";
  51220. else {
  51221. t1 = t1.get$span(t1);
  51222. t1 = t1.get$sourceUrl(t1);
  51223. t2 = $.$get$context();
  51224. t1.toString;
  51225. t1 = t2.prettyUri$1(t1);
  51226. }
  51227. return t1;
  51228. },
  51229. $isModule0: 1,
  51230. get$upstream() {
  51231. return this.upstream;
  51232. },
  51233. get$variables() {
  51234. return this.variables;
  51235. },
  51236. get$variableNodes() {
  51237. return this.variableNodes;
  51238. },
  51239. get$functions(receiver) {
  51240. return this.functions;
  51241. },
  51242. get$mixins() {
  51243. return this.mixins;
  51244. },
  51245. get$extensionStore() {
  51246. return this.extensionStore;
  51247. },
  51248. get$css(receiver) {
  51249. return this.css;
  51250. },
  51251. get$preModuleComments() {
  51252. return this.preModuleComments;
  51253. },
  51254. get$transitivelyContainsCss() {
  51255. return this.transitivelyContainsCss;
  51256. },
  51257. get$transitivelyContainsExtensions() {
  51258. return this.transitivelyContainsExtensions;
  51259. }
  51260. };
  51261. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51262. call$1(module) {
  51263. return module.get$variables();
  51264. },
  51265. $signature: 632
  51266. };
  51267. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51268. call$1(module) {
  51269. return module.get$variableNodes();
  51270. },
  51271. $signature: 631
  51272. };
  51273. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51274. call$1(module) {
  51275. return module.get$functions(module);
  51276. },
  51277. $signature: 240
  51278. };
  51279. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51280. call$1(module) {
  51281. return module.get$mixins();
  51282. },
  51283. $signature: 240
  51284. };
  51285. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51286. call$1(module) {
  51287. return module.get$transitivelyContainsCss();
  51288. },
  51289. $signature: 138
  51290. };
  51291. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51292. call$1(module) {
  51293. return module.get$transitivelyContainsExtensions();
  51294. },
  51295. $signature: 138
  51296. };
  51297. A.SassException.prototype = {
  51298. get$trace(_) {
  51299. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51300. },
  51301. get$span(_) {
  51302. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51303. },
  51304. withAdditionalSpan$2(span, label) {
  51305. 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);
  51306. },
  51307. withTrace$1(trace) {
  51308. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51309. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51310. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51311. },
  51312. withLoadedUrls$1(loadedUrls) {
  51313. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51314. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51315. return new A.SassException(t2, this._span_exception$_message, t1);
  51316. },
  51317. toString$1$color(_, color) {
  51318. var t2, _i, frame, t3, _this = this,
  51319. buffer = new A.StringBuffer(""),
  51320. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  51321. buffer._contents = t1;
  51322. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51323. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51324. frame = t1[_i];
  51325. if (frame.length === 0)
  51326. continue;
  51327. t3 = buffer._contents += "\n";
  51328. buffer._contents = t3 + (" " + frame);
  51329. }
  51330. t1 = buffer._contents;
  51331. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51332. },
  51333. toString$0(_) {
  51334. return this.toString$1$color(0, null);
  51335. },
  51336. toCssString$0() {
  51337. var commentMessage, stringMessage, rune,
  51338. t1 = $._glyphs,
  51339. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51340. t3 = this.toString$1$color(0, false);
  51341. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51342. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51343. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51344. stringMessage = new A.StringBuffer("");
  51345. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51346. rune = t1._currentCodePoint;
  51347. if (rune > 127) {
  51348. t2 = A.Primitives_stringFromCharCode(92);
  51349. stringMessage._contents += t2;
  51350. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51351. stringMessage._contents += t2;
  51352. t2 = A.Primitives_stringFromCharCode(32);
  51353. stringMessage._contents += t2;
  51354. } else {
  51355. t2 = A.Primitives_stringFromCharCode(rune);
  51356. stringMessage._contents += t2;
  51357. }
  51358. }
  51359. 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}";
  51360. }
  51361. };
  51362. A.MultiSpanSassException.prototype = {
  51363. withAdditionalSpan$2(span, label) {
  51364. var _this = this,
  51365. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51366. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51367. t2.$indexSet(0, span, label);
  51368. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51369. },
  51370. withTrace$1(trace) {
  51371. var _this = this;
  51372. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51373. },
  51374. withLoadedUrls$1(loadedUrls) {
  51375. var _this = this;
  51376. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51377. },
  51378. toString$1$color(_, color) {
  51379. var t1, t2, _i, frame, t3, _this = this,
  51380. useColor = color === true,
  51381. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51382. 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));
  51383. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51384. frame = t1[_i];
  51385. if (frame.length === 0)
  51386. continue;
  51387. t3 = buffer._contents += "\n";
  51388. buffer._contents = t3 + (" " + frame);
  51389. }
  51390. t1 = buffer._contents;
  51391. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51392. },
  51393. toString$0(_) {
  51394. return this.toString$1$color(0, null);
  51395. },
  51396. get$primaryLabel() {
  51397. return this.primaryLabel;
  51398. },
  51399. get$secondarySpans() {
  51400. return this.secondarySpans;
  51401. }
  51402. };
  51403. A.SassRuntimeException.prototype = {
  51404. withAdditionalSpan$2(span, label) {
  51405. var _this = this;
  51406. 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);
  51407. },
  51408. withLoadedUrls$1(loadedUrls) {
  51409. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51410. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51411. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51412. },
  51413. get$trace(receiver) {
  51414. return this.trace;
  51415. }
  51416. };
  51417. A.MultiSpanSassRuntimeException.prototype = {
  51418. withAdditionalSpan$2(span, label) {
  51419. var _this = this,
  51420. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51421. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51422. t2.$indexSet(0, span, label);
  51423. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51424. },
  51425. withLoadedUrls$1(loadedUrls) {
  51426. var _this = this;
  51427. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51428. },
  51429. $isSassRuntimeException: 1,
  51430. get$trace(receiver) {
  51431. return this.trace;
  51432. }
  51433. };
  51434. A.SassFormatException.prototype = {
  51435. get$source() {
  51436. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51437. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51438. },
  51439. withAdditionalSpan$2(span, label) {
  51440. 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);
  51441. },
  51442. withLoadedUrls$1(loadedUrls) {
  51443. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51444. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51445. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51446. },
  51447. $isFormatException: 1,
  51448. $isSourceSpanFormatException: 1
  51449. };
  51450. A.MultiSpanSassFormatException.prototype = {
  51451. get$source() {
  51452. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51453. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51454. },
  51455. withAdditionalSpan$2(span, label) {
  51456. var _this = this,
  51457. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51458. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51459. t2.$indexSet(0, span, label);
  51460. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51461. },
  51462. withLoadedUrls$1(loadedUrls) {
  51463. var _this = this;
  51464. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51465. },
  51466. $isFormatException: 1,
  51467. $isSassFormatException: 1,
  51468. $isSourceSpanFormatException: 1,
  51469. $isMultiSourceSpanFormatException: 1
  51470. };
  51471. A.SassScriptException.prototype = {
  51472. withSpan$1(span) {
  51473. return new A.SassException(B.Set_empty, this.message, span);
  51474. },
  51475. toString$0(_) {
  51476. return this.message + string$.x0a_BUG_;
  51477. },
  51478. get$message(receiver) {
  51479. return this.message;
  51480. }
  51481. };
  51482. A.MultiSpanSassScriptException.prototype = {
  51483. withSpan$1(span) {
  51484. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51485. }
  51486. };
  51487. A._writeSourceMap_closure.prototype = {
  51488. call$1(url) {
  51489. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51490. },
  51491. $signature: 6
  51492. };
  51493. A.ExecutableOptions.prototype = {
  51494. get$interactive() {
  51495. var result, _this = this,
  51496. value = _this.__ExecutableOptions_interactive_FI;
  51497. if (value === $) {
  51498. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51499. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51500. _this.__ExecutableOptions_interactive_FI = result;
  51501. value = result;
  51502. }
  51503. return value;
  51504. },
  51505. get$color() {
  51506. var t1 = this._options;
  51507. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51508. },
  51509. get$pkgImporters() {
  51510. var t2, t3, t4, _null = null,
  51511. t1 = A._setArrayType([], type$.JSArray_Importer);
  51512. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51513. t2.get$current(t2);
  51514. t3 = new A.NodePackageImporter();
  51515. t4 = self.process;
  51516. if (t4 == null)
  51517. t4 = _null;
  51518. else {
  51519. t4 = J.get$release$x(t4);
  51520. t4 = t4 == null ? _null : J.get$name$x(t4);
  51521. }
  51522. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51523. A.throwExpression(string$.The_No);
  51524. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51525. t1.push(t3);
  51526. }
  51527. return t1;
  51528. },
  51529. get$emitErrorCss() {
  51530. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51531. if (t1 == null) {
  51532. this._ensureSources$0();
  51533. t1 = this._sourcesToDestinations;
  51534. t1 = t1.get$values(t1);
  51535. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51536. }
  51537. return t1;
  51538. },
  51539. _ensureSources$0() {
  51540. 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,
  51541. _s18_ = 'Duplicate source "';
  51542. if (_this._sourcesToDestinations != null)
  51543. return;
  51544. t1 = _this._options;
  51545. stdin = A._asBool(t1.$index(0, "stdin"));
  51546. t2 = t1.rest;
  51547. if (t2.get$length(0) === 0 && !stdin)
  51548. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51549. t3 = type$.String;
  51550. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51551. 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();) {
  51552. t7 = t6.__internal$_current;
  51553. if (t7 == null)
  51554. t7 = t4._as(t7);
  51555. t8 = t7.length;
  51556. if (t8 === 0)
  51557. A.ExecutableOptions__fail('Invalid argument "".');
  51558. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51559. if (t8 > 2) {
  51560. t9 = t7.charCodeAt(0);
  51561. if (!(t9 >= 97 && t9 <= 122))
  51562. t9 = t9 >= 65 && t9 <= 90;
  51563. else
  51564. t9 = true;
  51565. t9 = t9 && t7.charCodeAt(1) === 58;
  51566. } else
  51567. t9 = false;
  51568. if (t9) {
  51569. if (2 > t8)
  51570. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51571. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51572. } else
  51573. t8 = true;
  51574. } else
  51575. t8 = false;
  51576. if (t8)
  51577. colonArgs = true;
  51578. else if (A.dirExists(t7))
  51579. $directories.add$1(0, t7);
  51580. else
  51581. positionalArgs = true;
  51582. }
  51583. if (positionalArgs || t2.get$length(0) === 0) {
  51584. if (colonArgs)
  51585. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51586. else if (stdin) {
  51587. if (J.get$length$asx(t2._collection$_source) > 1)
  51588. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51589. else if (A._asBool(t1.$index(0, "update")))
  51590. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51591. else if (A._asBool(t1.$index(0, "watch")))
  51592. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51593. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51594. t2 = type$.dynamic;
  51595. t3 = type$.nullable_String;
  51596. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51597. } else {
  51598. t3 = t2._collection$_source;
  51599. t4 = J.getInterceptor$asx(t3);
  51600. if (t4.get$length(t3) > 2)
  51601. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51602. else if ($directories._collection$_length !== 0) {
  51603. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  51604. target = t2.get$last(t2);
  51605. 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);
  51606. } else {
  51607. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  51608. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51609. if (destination == null)
  51610. if (A._asBool(t1.$index(0, "update")))
  51611. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51612. else if (A._asBool(t1.$index(0, "watch")))
  51613. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51614. t1 = A.PathMap__create(_null, type$.nullable_String);
  51615. t1.$indexSet(0, source, destination);
  51616. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51617. }
  51618. }
  51619. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51620. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  51621. return;
  51622. }
  51623. if (stdin)
  51624. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51625. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51626. t1 = A.PathMap__create(_null, t3);
  51627. t6 = type$.PathMap_String;
  51628. t3 = A.PathMap__create(_null, t3);
  51629. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51630. t5 = t2.__internal$_current;
  51631. if (t5 == null)
  51632. t5 = t4._as(t5);
  51633. if ($directories.contains$1(0, t5)) {
  51634. if (!seen.add$1(0, t5))
  51635. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51636. t3.$indexSet(0, t5, t5);
  51637. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51638. continue;
  51639. }
  51640. _0_0 = _this._splitSourceAndDestination$1(t5);
  51641. source = _0_0._0;
  51642. destination = _0_0._1;
  51643. if (!seen.add$1(0, source))
  51644. A.ExecutableOptions__fail(_s18_ + source + '".');
  51645. if (source === "-")
  51646. t1.$indexSet(0, _null, destination);
  51647. else if (A.dirExists(source)) {
  51648. t3.$indexSet(0, source, destination);
  51649. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51650. } else
  51651. t1.$indexSet(0, source, destination);
  51652. }
  51653. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51654. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51655. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51656. },
  51657. _splitSourceAndDestination$1(argument) {
  51658. var t1, i, t2, t3, nextColon;
  51659. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51660. t2 = false;
  51661. if (i === 1) {
  51662. t3 = i - 1;
  51663. if (t1 > t3 + 2) {
  51664. t2 = argument.charCodeAt(t3);
  51665. if (!(t2 >= 97 && t2 <= 122))
  51666. t2 = t2 >= 65 && t2 <= 90;
  51667. else
  51668. t2 = true;
  51669. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51670. }
  51671. }
  51672. if (t2)
  51673. continue;
  51674. if (argument.charCodeAt(i) === 58) {
  51675. t2 = i + 1;
  51676. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51677. t3 = false;
  51678. if (nextColon === i + 2)
  51679. if (t1 > t2 + 2) {
  51680. t1 = argument.charCodeAt(t2);
  51681. if (!(t1 >= 97 && t1 <= 122))
  51682. t1 = t1 >= 65 && t1 <= 90;
  51683. else
  51684. t1 = true;
  51685. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  51686. } else
  51687. t1 = t3;
  51688. else
  51689. t1 = t3;
  51690. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  51691. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  51692. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  51693. }
  51694. }
  51695. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  51696. },
  51697. _listSourceDirectory$2(source, destination) {
  51698. var t2, t3, t4, t5,
  51699. t1 = type$.String;
  51700. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51701. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  51702. t4 = t2.get$current(t2);
  51703. if (this._isEntrypoint$1(t4))
  51704. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  51705. else
  51706. t5 = false;
  51707. if (t5) {
  51708. t5 = $.$get$context();
  51709. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  51710. }
  51711. }
  51712. return t1;
  51713. },
  51714. _isEntrypoint$1(path) {
  51715. var extension,
  51716. t1 = $.$get$context().style;
  51717. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  51718. return false;
  51719. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  51720. return extension === ".scss" || extension === ".sass" || extension === ".css";
  51721. },
  51722. get$_writeToStdout() {
  51723. var t1, _this = this;
  51724. _this._ensureSources$0();
  51725. t1 = _this._sourcesToDestinations;
  51726. if (t1.get$length(t1) === 1) {
  51727. _this._ensureSources$0();
  51728. t1 = _this._sourcesToDestinations;
  51729. t1 = t1.get$values(t1);
  51730. t1 = t1.get$single(t1) == null;
  51731. } else
  51732. t1 = false;
  51733. return t1;
  51734. },
  51735. get$emitSourceMap() {
  51736. var _this = this,
  51737. _s10_ = "source-map",
  51738. _s15_ = "source-map-urls",
  51739. _s13_ = "embed-sources",
  51740. _s16_ = "embed-source-map",
  51741. t1 = _this._options;
  51742. if (!A._asBool(t1.$index(0, _s10_)))
  51743. if (t1.wasParsed$1(_s15_))
  51744. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  51745. else if (t1.wasParsed$1(_s13_))
  51746. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  51747. else if (t1.wasParsed$1(_s16_))
  51748. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  51749. if (!_this.get$_writeToStdout())
  51750. return A._asBool(t1.$index(0, _s10_));
  51751. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  51752. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  51753. if (A._asBool(t1.$index(0, _s16_)))
  51754. return A._asBool(t1.$index(0, _s10_));
  51755. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  51756. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  51757. else if (t1.wasParsed$1(_s15_))
  51758. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  51759. else if (A._asBool(t1.$index(0, _s13_)))
  51760. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  51761. else
  51762. return false;
  51763. },
  51764. sourceMapUrl$2(_, url, destination) {
  51765. var t1, path, t2, _null = null;
  51766. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  51767. return url;
  51768. t1 = $.$get$context();
  51769. path = t1.style.pathFromUri$1(A._parseUri(url));
  51770. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  51771. destination.toString;
  51772. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  51773. } else
  51774. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51775. return t1.toUri$1(t2);
  51776. },
  51777. get$silenceDeprecations(_) {
  51778. var t2, t3, t4,
  51779. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51780. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  51781. t3 = t2.get$current(t2);
  51782. t4 = A.Deprecation_fromId(t3);
  51783. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51784. }
  51785. return t1;
  51786. },
  51787. get$fatalDeprecations(_) {
  51788. var t1 = this._fatalDeprecations;
  51789. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  51790. },
  51791. get$futureDeprecations(_) {
  51792. var t2, t3, t4,
  51793. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51794. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  51795. t3 = t2.get$current(t2);
  51796. t4 = A.Deprecation_fromId(t3);
  51797. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51798. }
  51799. return t1;
  51800. },
  51801. _ifParsed$1($name) {
  51802. var t1 = this._options;
  51803. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  51804. }
  51805. };
  51806. A.ExecutableOptions__parser_closure.prototype = {
  51807. call$0() {
  51808. var t1 = type$.String,
  51809. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  51810. t3 = A._setArrayType([], type$.JSArray_Object),
  51811. 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);
  51812. parser.addOption$2$hide("precision", true);
  51813. parser.addFlag$2$hide("async", true);
  51814. t3.push(A.ExecutableOptions__separator("Input and Output"));
  51815. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  51816. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  51817. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  51818. t2 = type$.JSArray_String;
  51819. 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");
  51820. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  51821. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  51822. 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.");
  51823. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  51824. t3.push(A.ExecutableOptions__separator("Source Maps"));
  51825. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  51826. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  51827. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  51828. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  51829. t3.push(A.ExecutableOptions__separator("Warnings"));
  51830. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  51831. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  51832. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  51833. 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.");
  51834. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  51835. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  51836. t3.push(A.ExecutableOptions__separator("Other"));
  51837. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  51838. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  51839. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  51840. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  51841. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  51842. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  51843. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  51844. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  51845. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  51846. return parser;
  51847. },
  51848. $signature: 610
  51849. };
  51850. A.ExecutableOptions_interactive_closure.prototype = {
  51851. call$0() {
  51852. var _0_0,
  51853. t1 = this.$this._options;
  51854. if (!A._asBool(t1.$index(0, "interactive")))
  51855. return false;
  51856. _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());
  51857. if (_0_0 != null)
  51858. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  51859. return true;
  51860. },
  51861. $signature: 22
  51862. };
  51863. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  51864. call$1(destination) {
  51865. return destination != null;
  51866. },
  51867. $signature: 208
  51868. };
  51869. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  51870. call$0() {
  51871. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  51872. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51873. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  51874. id = t1.get$current(t1);
  51875. _0_0 = A.Deprecation_fromId(id);
  51876. if (_0_0 != null) {
  51877. J.add$1$ax(deprecations, _0_0);
  51878. continue;
  51879. }
  51880. try {
  51881. argVersion = A.Version_Version$parse(id);
  51882. sassVersion = A.Version_Version$parse("1.85.1");
  51883. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  51884. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  51885. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  51886. } catch (exception) {
  51887. if (t2._is(A.unwrapException(exception)))
  51888. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  51889. else
  51890. throw exception;
  51891. }
  51892. }
  51893. return deprecations;
  51894. },
  51895. $signature: 603
  51896. };
  51897. A.UsageException.prototype = {$isException: 1,
  51898. get$message(receiver) {
  51899. return this.message;
  51900. }
  51901. };
  51902. A.repl_warn.prototype = {
  51903. call$1(warning) {
  51904. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  51905. $label0$0: {
  51906. _0_1 = warning._1;
  51907. _0_3 = _null;
  51908. deprecation = _null;
  51909. t1 = false;
  51910. _0_2 = warning._2;
  51911. _0_3 = warning._0;
  51912. t1 = _0_3 != null;
  51913. if (t1)
  51914. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  51915. span = _0_2;
  51916. if (t1) {
  51917. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  51918. break $label0$0;
  51919. }
  51920. t1 = false;
  51921. t1 = _0_3 == null;
  51922. span = _0_2;
  51923. if (t1)
  51924. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  51925. }
  51926. },
  51927. $signature: 595
  51928. };
  51929. A.watch_closure.prototype = {
  51930. call$1(dir) {
  51931. for (; !A.dirExists(dir);)
  51932. dir = $.$get$context().dirname$1(dir);
  51933. return this.dirWatcher.watch$1(0, dir);
  51934. },
  51935. $signature: 585
  51936. };
  51937. A._Watcher.prototype = {
  51938. _delete$1(path) {
  51939. var buffer, t1, exception;
  51940. try {
  51941. A.deleteFile(path);
  51942. buffer = new A.StringBuffer("");
  51943. t1 = this._watch$_options;
  51944. if (t1.get$color())
  51945. buffer._contents += "\x1b[33m";
  51946. buffer._contents += "Deleted " + path + ".";
  51947. if (t1.get$color())
  51948. buffer._contents += "\x1b[0m";
  51949. A.print(buffer);
  51950. } catch (exception) {
  51951. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  51952. throw exception;
  51953. }
  51954. },
  51955. watch$1(_, watcher) {
  51956. return this.watch$body$_Watcher(0, watcher);
  51957. },
  51958. watch$body$_Watcher(_, watcher) {
  51959. var $async$goto = 0,
  51960. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  51961. $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;
  51962. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  51963. if ($async$errorCode === 1) {
  51964. $async$errorStack.push($async$result);
  51965. $async$goto = $async$handler;
  51966. }
  51967. while (true)
  51968. switch ($async$goto) {
  51969. case 0:
  51970. // Function start
  51971. t2 = watcher._group.__StreamGroup__controller_A;
  51972. t2 === $ && A.throwUnnamedLateFieldNI();
  51973. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  51974. $async$handler = 3;
  51975. 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;
  51976. case 6:
  51977. // for condition
  51978. $async$goto = 8;
  51979. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  51980. case 8:
  51981. // returning from await.
  51982. if (!$async$result) {
  51983. // goto after for
  51984. $async$goto = 7;
  51985. break;
  51986. }
  51987. batch = t2.get$current(0);
  51988. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  51989. $event = t10.get$current(t10);
  51990. t11 = $event.path;
  51991. t12 = $.$get$context();
  51992. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  51993. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  51994. continue;
  51995. switch ($event.type) {
  51996. case B.ChangeType_modify:
  51997. t11 = $event.path;
  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. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  52007. t13 = self.process;
  52008. if (t13 == null)
  52009. t13 = null;
  52010. else {
  52011. t13 = J.get$release$x(t13);
  52012. t13 = t13 == null ? null : J.get$name$x(t13);
  52013. }
  52014. t13 = J.$eq$(t13, "node") ? self.process : null;
  52015. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  52016. } else
  52017. t13 = true;
  52018. 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));
  52019. _0_0 = t7.$index(0, url);
  52020. if (_0_0 != null) {
  52021. t6.reload$1(url);
  52022. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  52023. } else
  52024. $async$self._handleAdd$1(t11);
  52025. break;
  52026. case B.ChangeType_add:
  52027. $async$self._handleAdd$1($event.path);
  52028. break;
  52029. case B.ChangeType_remove:
  52030. $async$self._handleRemove$1($event.path);
  52031. break;
  52032. }
  52033. }
  52034. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  52035. t10.addAll$1(0, t3);
  52036. t1 = t10;
  52037. toRecompile = t1;
  52038. t3.clear$0(0);
  52039. $async$goto = 9;
  52040. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  52041. case 9:
  52042. // returning from await.
  52043. success = $async$result;
  52044. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  52045. $async$next = [1];
  52046. // goto finally
  52047. $async$goto = 4;
  52048. break;
  52049. }
  52050. // goto for condition
  52051. $async$goto = 6;
  52052. break;
  52053. case 7:
  52054. // after for
  52055. $async$next.push(5);
  52056. // goto finally
  52057. $async$goto = 4;
  52058. break;
  52059. case 3:
  52060. // uncaught
  52061. $async$next = [2];
  52062. case 4:
  52063. // finally
  52064. $async$handler = 2;
  52065. $async$goto = 10;
  52066. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52067. case 10:
  52068. // returning from await.
  52069. // goto the next finally handler
  52070. $async$goto = $async$next.pop();
  52071. break;
  52072. case 5:
  52073. // after finally
  52074. case 1:
  52075. // return
  52076. return A._asyncReturn($async$returnValue, $async$completer);
  52077. case 2:
  52078. // rethrow
  52079. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52080. }
  52081. });
  52082. return A._asyncStartSync($async$watch$1, $async$completer);
  52083. },
  52084. _handleAdd$1(path) {
  52085. var t1, t2, t3, t0, _this = this, _null = null,
  52086. destination = _this._destinationFor$1(path);
  52087. if (destination != null)
  52088. _this._toRecompile.$indexSet(0, path, destination);
  52089. t1 = $.$get$FilesystemImporter_cwd();
  52090. t2 = A.isNodeJs() ? self.process : _null;
  52091. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52092. t2 = A.isNodeJs() ? self.process : _null;
  52093. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52094. } else
  52095. t2 = true;
  52096. if (t2) {
  52097. t2 = $.$get$context();
  52098. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  52099. t0 = t3;
  52100. t3 = t2;
  52101. t2 = t0;
  52102. } else {
  52103. t2 = $.$get$context();
  52104. t3 = t2.canonicalize$1(0, path);
  52105. t0 = t3;
  52106. t3 = t2;
  52107. t2 = t0;
  52108. }
  52109. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52110. },
  52111. _handleRemove$1(path) {
  52112. return this._handleRemove$body$_Watcher(path);
  52113. },
  52114. _handleRemove$body$_Watcher(path) {
  52115. var $async$goto = 0,
  52116. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52117. $async$self = this, t2, t0, url, _0_0, t1;
  52118. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52119. if ($async$errorCode === 1)
  52120. return A._asyncRethrow($async$result, $async$completer);
  52121. while (true)
  52122. switch ($async$goto) {
  52123. case 0:
  52124. // Function start
  52125. t1 = A.isNodeJs() ? self.process : null;
  52126. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52127. t1 = A.isNodeJs() ? self.process : null;
  52128. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52129. } else
  52130. t1 = true;
  52131. if (t1) {
  52132. t1 = $.$get$context();
  52133. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  52134. t0 = t2;
  52135. t2 = t1;
  52136. t1 = t0;
  52137. } else {
  52138. t1 = $.$get$context();
  52139. t2 = t1.canonicalize$1(0, path);
  52140. t0 = t2;
  52141. t2 = t1;
  52142. t1 = t0;
  52143. }
  52144. url = t2.toUri$1(t1);
  52145. t1 = $async$self._graph;
  52146. if (t1._nodes.containsKey$1(url)) {
  52147. _0_0 = $async$self._destinationFor$1(path);
  52148. if (_0_0 != null)
  52149. $async$self._delete$1(_0_0);
  52150. }
  52151. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52152. // implicit return
  52153. return A._asyncReturn(null, $async$completer);
  52154. }
  52155. });
  52156. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52157. },
  52158. _debounceEvents$1(events) {
  52159. var t1 = type$.WatchEvent;
  52160. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52161. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52162. },
  52163. _recompileDownstream$1(nodes) {
  52164. var t1, t2, t3, t4, t5, t6, _i,
  52165. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52166. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52167. t5 = A._setArrayType([], t3);
  52168. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52169. t6 = t4.get$current(t4);
  52170. if (seen.add$1(0, t6))
  52171. t5.push(t6);
  52172. }
  52173. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52174. t4 = A._setArrayType([], t3);
  52175. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52176. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52177. }
  52178. },
  52179. _sourceEntrypointsToDestinations$1(nodes) {
  52180. var _i, url, source, _0_0,
  52181. t1 = type$.String,
  52182. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52183. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52184. url = nodes[_i].canonicalUrl;
  52185. if (url.get$scheme() !== "file")
  52186. continue;
  52187. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52188. _0_0 = this._destinationFor$1(source);
  52189. if (_0_0 != null)
  52190. entrypoints.$indexSet(0, source, _0_0);
  52191. }
  52192. return entrypoints;
  52193. },
  52194. _destinationFor$1(source) {
  52195. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52196. t1 = this._watch$_options;
  52197. t1._ensureSources$0();
  52198. t2 = type$.String;
  52199. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52200. if (_0_0 != null)
  52201. return _0_0;
  52202. t3 = $.$get$context();
  52203. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52204. return null;
  52205. t1._ensureSources$0();
  52206. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52207. t1 === $ && A.throwUnnamedLateFieldNI();
  52208. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52209. t2 = t2.get$iterator(t2);
  52210. for (; t2.moveNext$0();) {
  52211. t1 = t2.get$current(t2);
  52212. sourceDir = t1._0;
  52213. destinationDir = t1._1;
  52214. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52215. continue;
  52216. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52217. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52218. return destination;
  52219. }
  52220. return null;
  52221. }
  52222. };
  52223. A._Watcher__debounceEvents_closure.prototype = {
  52224. call$1(buffer) {
  52225. var t3, t4, t5, oldType, newType, _1_1,
  52226. t1 = type$.ChangeType,
  52227. t2 = A.PathMap__create(null, t1);
  52228. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52229. t4 = t3.get$current(t3);
  52230. t5 = t4.path;
  52231. oldType = t2.$index(0, t5);
  52232. newType = t4.type;
  52233. $label0$0: {
  52234. if (oldType == null) {
  52235. t4 = newType;
  52236. break $label0$0;
  52237. }
  52238. if (B.ChangeType_remove === newType) {
  52239. t4 = B.ChangeType_remove;
  52240. break $label0$0;
  52241. }
  52242. if (B.ChangeType_add === oldType) {
  52243. t4 = B.ChangeType_add;
  52244. break $label0$0;
  52245. }
  52246. t4 = B.ChangeType_modify;
  52247. break $label0$0;
  52248. }
  52249. t2.$indexSet(0, t5, t4);
  52250. }
  52251. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52252. 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();) {
  52253. t2 = t1.get$current(t1);
  52254. _1_1 = t2._0;
  52255. _1_1.toString;
  52256. t3.push(new A.WatchEvent(t2._1, _1_1));
  52257. }
  52258. return t3;
  52259. },
  52260. $signature: 582
  52261. };
  52262. A.EmptyExtensionStore.prototype = {
  52263. get$_extensions() {
  52264. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52265. },
  52266. get$_sourceSpecificity() {
  52267. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52268. },
  52269. get$isEmpty(_) {
  52270. return true;
  52271. },
  52272. get$simpleSelectors() {
  52273. return B.C_EmptyUnmodifiableSet;
  52274. },
  52275. extensionsWhereTarget$1(callback) {
  52276. return B.List_empty5;
  52277. },
  52278. addExtensions$1(extenders) {
  52279. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52280. },
  52281. clone$0() {
  52282. return B.Record2_EmptyExtensionStore_Map_empty;
  52283. },
  52284. $isExtensionStore: 1
  52285. };
  52286. A.Extension.prototype = {
  52287. toString$0(_) {
  52288. var t1 = this.extender.toString$0(0),
  52289. t2 = this.target.toString$0(0),
  52290. t3 = this.isOptional ? " !optional" : "";
  52291. return t1 + " {@extend " + t2 + t3 + "}";
  52292. }
  52293. };
  52294. A.Extender.prototype = {
  52295. assertCompatibleMediaContext$1(mediaContext) {
  52296. var expectedMediaContext,
  52297. extension = this._extension;
  52298. if (extension == null)
  52299. return;
  52300. expectedMediaContext = extension.mediaContext;
  52301. if (expectedMediaContext == null)
  52302. return;
  52303. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52304. return;
  52305. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52306. },
  52307. toString$0(_) {
  52308. return A.serializeSelector(this.selector, true);
  52309. }
  52310. };
  52311. A.ExtensionStore.prototype = {
  52312. get$isEmpty(_) {
  52313. return this._extensions.__js_helper$_length === 0;
  52314. },
  52315. get$simpleSelectors() {
  52316. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52317. },
  52318. extensionsWhereTarget$1(callback) {
  52319. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52320. },
  52321. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52322. var $async$self = this;
  52323. return function() {
  52324. var callback = $async$callback;
  52325. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52326. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52327. if ($async$errorCode === 1) {
  52328. $async$errorStack.push($async$result);
  52329. $async$goto = $async$handler;
  52330. }
  52331. while (true)
  52332. switch ($async$goto) {
  52333. case 0:
  52334. // Function start
  52335. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52336. case 2:
  52337. // for condition
  52338. if (!t1.moveNext$0()) {
  52339. // goto after for
  52340. $async$goto = 3;
  52341. break;
  52342. }
  52343. t2 = t1.get$current(t1);
  52344. simple = t2._0;
  52345. sources = t2._1;
  52346. if (!callback.call$1(simple)) {
  52347. // goto for condition
  52348. $async$goto = 2;
  52349. break;
  52350. }
  52351. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52352. case 4:
  52353. // for condition
  52354. if (!t2.moveNext$0()) {
  52355. // goto after for
  52356. $async$goto = 5;
  52357. break;
  52358. }
  52359. t3 = t2.get$current(t2);
  52360. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52361. break;
  52362. case 6:
  52363. // then
  52364. t3 = t3.unmerge$0();
  52365. $async$goto = 9;
  52366. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52367. case 9:
  52368. // after yield
  52369. // goto join
  52370. $async$goto = 7;
  52371. break;
  52372. case 8:
  52373. // else
  52374. $async$goto = !t3.isOptional ? 10 : 11;
  52375. break;
  52376. case 10:
  52377. // then
  52378. $async$goto = 12;
  52379. return $async$iterator._async$_current = t3, 1;
  52380. case 12:
  52381. // after yield
  52382. case 11:
  52383. // join
  52384. case 7:
  52385. // join
  52386. // goto for condition
  52387. $async$goto = 4;
  52388. break;
  52389. case 5:
  52390. // after for
  52391. // goto for condition
  52392. $async$goto = 2;
  52393. break;
  52394. case 3:
  52395. // after for
  52396. // implicit return
  52397. return 0;
  52398. case 1:
  52399. // rethrow
  52400. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52401. }
  52402. };
  52403. };
  52404. },
  52405. addSelector$2(selector, mediaContext) {
  52406. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52407. selector = selector;
  52408. originalSelector = selector;
  52409. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52410. _this._originals.addAll$1(0, originalSelector.components);
  52411. t1 = _this._extensions;
  52412. if (t1.__js_helper$_length !== 0)
  52413. try {
  52414. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52415. } catch (exception) {
  52416. t1 = A.unwrapException(exception);
  52417. if (t1 instanceof A.SassException) {
  52418. error = t1;
  52419. stackTrace = A.getTraceFromException(exception);
  52420. t1 = error;
  52421. t2 = J.getInterceptor$z(t1);
  52422. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52423. t2 = error._span_exception$_message;
  52424. t3 = error;
  52425. t4 = J.getInterceptor$z(t3);
  52426. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52427. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52428. } else
  52429. throw exception;
  52430. }
  52431. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52432. if (mediaContext != null)
  52433. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52434. _this._registerSelector$2(selector, modifiableSelector);
  52435. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52436. },
  52437. _registerSelector$2(list, selector) {
  52438. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52439. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52440. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52441. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52442. simple = t7[_i1];
  52443. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52444. _0_2_isSet = simple instanceof A.PseudoSelector;
  52445. if (_0_2_isSet) {
  52446. _0_2 = simple.selector;
  52447. t9 = _0_2 != null;
  52448. } else {
  52449. _0_2 = null;
  52450. t9 = false;
  52451. }
  52452. if (t9) {
  52453. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52454. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52455. }
  52456. }
  52457. },
  52458. addExtension$4(extender, target, extend, mediaContext) {
  52459. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52460. selectors = _this._selectors.$index(0, target),
  52461. t1 = _this._extensionsByExtender,
  52462. existingExtensions = t1.$index(0, target),
  52463. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52464. 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) {
  52465. complex = t2[_i];
  52466. if (complex.accept$1(B.C__IsUselessVisitor))
  52467. continue;
  52468. complex.get$specificity();
  52469. t11 = new A.Extender(complex, false);
  52470. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52471. _0_0 = sources.$index(0, complex);
  52472. if (_0_0 != null) {
  52473. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52474. continue;
  52475. }
  52476. sources.$indexSet(0, complex, extension);
  52477. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52478. t12 = t11._async$_current;
  52479. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52480. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52481. }
  52482. if (!t4 || t8) {
  52483. if (newExtensions == null)
  52484. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52485. newExtensions.$indexSet(0, complex, extension);
  52486. }
  52487. }
  52488. if (newExtensions == null)
  52489. return;
  52490. t1 = type$.SimpleSelector;
  52491. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52492. if (t8) {
  52493. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52494. if (additionalExtensions != null)
  52495. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52496. }
  52497. if (!t4)
  52498. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52499. },
  52500. _simpleSelectors$1(complex) {
  52501. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52502. },
  52503. _simpleSelectors$body$ExtensionStore($async$complex) {
  52504. var $async$self = this;
  52505. return function() {
  52506. var complex = $async$complex;
  52507. 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;
  52508. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52509. if ($async$errorCode === 1) {
  52510. $async$errorStack.push($async$result);
  52511. $async$goto = $async$handler;
  52512. }
  52513. while (true)
  52514. switch ($async$goto) {
  52515. case 0:
  52516. // Function start
  52517. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52518. case 2:
  52519. // for condition
  52520. if (!(_i < t2)) {
  52521. // goto after for
  52522. $async$goto = 4;
  52523. break;
  52524. }
  52525. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52526. case 5:
  52527. // for condition
  52528. if (!(_i0 < t5)) {
  52529. // goto after for
  52530. $async$goto = 7;
  52531. break;
  52532. }
  52533. simple = t4[_i0];
  52534. $async$goto = 8;
  52535. return $async$iterator._async$_current = simple, 1;
  52536. case 8:
  52537. // after yield
  52538. _0_2_isSet = simple instanceof A.PseudoSelector;
  52539. if (_0_2_isSet) {
  52540. _0_2 = simple.selector;
  52541. t6 = _0_2 != null;
  52542. } else {
  52543. _0_2 = null;
  52544. t6 = false;
  52545. }
  52546. $async$goto = t6 ? 9 : 10;
  52547. break;
  52548. case 9:
  52549. // then
  52550. selector = _0_2_isSet ? _0_2 : simple.selector;
  52551. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52552. case 11:
  52553. // for condition
  52554. if (!(_i1 < t7)) {
  52555. // goto after for
  52556. $async$goto = 13;
  52557. break;
  52558. }
  52559. $async$goto = 14;
  52560. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52561. case 14:
  52562. // after yield
  52563. case 12:
  52564. // for update
  52565. ++_i1;
  52566. // goto for condition
  52567. $async$goto = 11;
  52568. break;
  52569. case 13:
  52570. // after for
  52571. case 10:
  52572. // join
  52573. case 6:
  52574. // for update
  52575. ++_i0;
  52576. // goto for condition
  52577. $async$goto = 5;
  52578. break;
  52579. case 7:
  52580. // after for
  52581. case 3:
  52582. // for update
  52583. ++_i;
  52584. // goto for condition
  52585. $async$goto = 2;
  52586. break;
  52587. case 4:
  52588. // after for
  52589. // implicit return
  52590. return 0;
  52591. case 1:
  52592. // rethrow
  52593. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52594. }
  52595. };
  52596. };
  52597. },
  52598. _extendExistingExtensions$2(extensions, newExtensions) {
  52599. 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;
  52600. 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) {
  52601. extension = t1[_i];
  52602. t7 = t6.$index(0, extension.target);
  52603. t7.toString;
  52604. selectors = null;
  52605. try {
  52606. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52607. if (selectors == null)
  52608. continue;
  52609. } catch (exception) {
  52610. t8 = A.unwrapException(exception);
  52611. if (t8 instanceof A.SassException) {
  52612. error = t8;
  52613. stackTrace = A.getTraceFromException(exception);
  52614. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52615. } else
  52616. throw exception;
  52617. }
  52618. t8 = J.get$first$ax(selectors);
  52619. t9 = extension.extender.selector;
  52620. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52621. t8 = selectors;
  52622. t9 = A._arrayInstanceType(t8);
  52623. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52624. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52625. selectors = selectors0;
  52626. }
  52627. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52628. t9 = t8.get$current(t8);
  52629. t10 = extension;
  52630. t11 = t10.target;
  52631. t12 = t10.span;
  52632. t13 = t10.mediaContext;
  52633. t10 = t10.isOptional;
  52634. t9.get$specificity();
  52635. t14 = new A.Extender(t9, false);
  52636. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52637. _0_0 = t7.$index(0, t9);
  52638. if (_0_0 != null)
  52639. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52640. else {
  52641. t7.$indexSet(0, t9, withExtender);
  52642. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52643. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52644. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52645. if (newExtensions.containsKey$1(extension.target)) {
  52646. if (additionalExtensions == null)
  52647. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52648. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52649. }
  52650. }
  52651. }
  52652. }
  52653. return additionalExtensions;
  52654. },
  52655. _extendExistingSelectors$2(selectors, newExtensions) {
  52656. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52657. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52658. selector = t1.get$current(t1);
  52659. oldValue = selector.value;
  52660. try {
  52661. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52662. } catch (exception) {
  52663. t3 = A.unwrapException(exception);
  52664. if (t3 instanceof A.SassException) {
  52665. error = t3;
  52666. stackTrace = A.getTraceFromException(exception);
  52667. t3 = selector.value.span.message$1(0, "");
  52668. t4 = error._span_exception$_message;
  52669. t5 = error;
  52670. t6 = J.getInterceptor$z(t5);
  52671. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52672. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52673. } else
  52674. throw exception;
  52675. }
  52676. if (oldValue === selector.value)
  52677. continue;
  52678. this._registerSelector$2(selector.value, selector);
  52679. }
  52680. },
  52681. addExtensions$1(extensionStores) {
  52682. 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;
  52683. 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();) {
  52684. t12 = t1.get$current(t1);
  52685. if (t12.get$isEmpty(t12))
  52686. continue;
  52687. t11.addAll$1(0, t12.get$_sourceSpecificity());
  52688. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  52689. t13 = t12.get$current(t12);
  52690. target = t13._0;
  52691. newSources = t13._1;
  52692. if (target instanceof A.PlaceholderSelector) {
  52693. first = target.name.charCodeAt(0);
  52694. t13 = first === 45 || first === 95;
  52695. } else
  52696. t13 = false;
  52697. if (t13)
  52698. continue;
  52699. extensionsForTarget = t8.$index(0, target);
  52700. t13 = extensionsForTarget == null;
  52701. if (!t13) {
  52702. if (extensionsToExtend == null) {
  52703. extensionsToExtend = A._setArrayType([], t9);
  52704. t14 = extensionsToExtend;
  52705. } else
  52706. t14 = extensionsToExtend;
  52707. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  52708. }
  52709. selectorsForTarget = t7.$index(0, target);
  52710. t14 = selectorsForTarget != null;
  52711. if (t14) {
  52712. if (selectorsToExtend == null) {
  52713. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  52714. t15 = selectorsToExtend;
  52715. } else
  52716. t15 = selectorsToExtend;
  52717. t15.addAll$1(0, selectorsForTarget);
  52718. }
  52719. _2_0 = t4.$index(0, target);
  52720. if (_2_0 != null)
  52721. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  52722. t16 = t15.get$current(t15);
  52723. extender = t16._0;
  52724. extension = t16._1;
  52725. if (_2_0.containsKey$1(extender)) {
  52726. t16 = _2_0.$index(0, extender);
  52727. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  52728. _2_0.$indexSet(0, extender, extension);
  52729. } else
  52730. _2_0.$indexSet(0, extender, extension);
  52731. if (!t13 || t14) {
  52732. if (newExtensions == null) {
  52733. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52734. t16 = newExtensions;
  52735. } else
  52736. t16 = newExtensions;
  52737. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  52738. }
  52739. }
  52740. else {
  52741. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52742. t15.addAll$1(0, newSources);
  52743. t4.$indexSet(0, target, t15);
  52744. if (!t13 || t14) {
  52745. if (newExtensions == null) {
  52746. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52747. t13 = newExtensions;
  52748. } else
  52749. t13 = newExtensions;
  52750. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52751. t14.addAll$1(0, newSources);
  52752. t13.$indexSet(0, target, t14);
  52753. }
  52754. }
  52755. }
  52756. }
  52757. if (newExtensions != null) {
  52758. if (extensionsToExtend != null)
  52759. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  52760. if (selectorsToExtend != null)
  52761. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  52762. }
  52763. },
  52764. _extendList$3(list, extensions, mediaQueryContext) {
  52765. var t1, t2, t3, extended, i, complex, result, t4;
  52766. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  52767. complex = t1[i];
  52768. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  52769. if (result == null) {
  52770. if (extended != null)
  52771. extended.push(complex);
  52772. } else {
  52773. if (extended == null)
  52774. if (i === 0)
  52775. extended = A._setArrayType([], t3);
  52776. else {
  52777. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  52778. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  52779. }
  52780. B.JSArray_methods.addAll$1(extended, result);
  52781. }
  52782. }
  52783. if (extended == null)
  52784. return list;
  52785. t1 = this._originals;
  52786. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  52787. },
  52788. _extendList$2(list, extensions) {
  52789. return this._extendList$3(list, extensions, null);
  52790. },
  52791. _extendComplex$3(complex, extensions, mediaQueryContext) {
  52792. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  52793. t1 = complex.leadingCombinators,
  52794. t2 = t1.length;
  52795. if (t2 > 1)
  52796. return null;
  52797. isOriginal = this._originals.contains$1(0, complex);
  52798. 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) {
  52799. component = t3[i];
  52800. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  52801. if (extended == null) {
  52802. if (extendedNotExpanded != null)
  52803. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  52804. } else if (extendedNotExpanded != null)
  52805. extendedNotExpanded.push(extended);
  52806. else if (i !== 0) {
  52807. t11 = A._arrayInstanceType(t3);
  52808. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  52809. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  52810. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  52811. } else if (t2)
  52812. extendedNotExpanded = A._setArrayType([extended], t5);
  52813. else {
  52814. t11 = A._setArrayType([], t9);
  52815. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  52816. t13 = t12.get$current(t12);
  52817. t14 = t13.leadingCombinators;
  52818. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  52819. t14 = t13.components;
  52820. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  52821. }
  52822. }
  52823. extendedNotExpanded = A._setArrayType([t11], t5);
  52824. }
  52825. }
  52826. if (extendedNotExpanded == null)
  52827. return null;
  52828. _box_0.first = true;
  52829. t1 = type$.ComplexSelector;
  52830. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  52831. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  52832. },
  52833. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  52834. 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,
  52835. t1 = _this._mode,
  52836. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  52837. t2 = component.selector,
  52838. simples = t2.components;
  52839. 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) {
  52840. simple = simples[i];
  52841. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  52842. if (extended == null) {
  52843. if (options != null)
  52844. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  52845. } else {
  52846. if (options == null) {
  52847. options = A._setArrayType([], t4);
  52848. if (i !== 0) {
  52849. t12 = new A.SubListIterable(simples, 0, i, t8);
  52850. t12.SubListIterable$3(simples, 0, i, t9);
  52851. result = A.List_List$from(t12, false, t11);
  52852. result.$flags = 3;
  52853. t12 = result;
  52854. compound = new A.CompoundSelector(t12, t10);
  52855. if (t12.length === 0)
  52856. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  52857. result = A.List_List$from(B.List_empty0, false, t6);
  52858. result.$flags = 3;
  52859. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  52860. _this._sourceSpecificityFor$1(compound);
  52861. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  52862. }
  52863. }
  52864. B.JSArray_methods.addAll$1(options, extended);
  52865. }
  52866. }
  52867. if (options == null)
  52868. return _null;
  52869. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  52870. return _null;
  52871. if (options.length === 1) {
  52872. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  52873. t4 = t1.get$current(t1);
  52874. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  52875. complex = t4.selector.withAdditionalCombinators$1(t2);
  52876. if (complex.accept$1(B.C__IsUselessVisitor))
  52877. continue;
  52878. if (result == null)
  52879. result = A._setArrayType([], t3);
  52880. result.push(complex);
  52881. }
  52882. return result;
  52883. }
  52884. extenderPaths = A.paths(options, type$.Extender);
  52885. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  52886. t1 = t1 === B.ExtendMode_replace_replace;
  52887. t4 = !t1;
  52888. if (t4)
  52889. 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));
  52890. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  52891. t5 = t2.$ti;
  52892. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  52893. t6 = component.combinators;
  52894. t5 = t5._eval$1("ListIterable.E");
  52895. for (; t2.moveNext$0();) {
  52896. t1 = t2.__internal$_current;
  52897. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  52898. if (extended == null)
  52899. continue;
  52900. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  52901. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  52902. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  52903. t3.push(withCombinators);
  52904. }
  52905. }
  52906. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  52907. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  52908. },
  52909. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  52910. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  52911. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  52912. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  52913. t4 = t2.get$current(t2);
  52914. if (t4.isOriginal) {
  52915. if (originals == null)
  52916. originals = A._setArrayType([], t3);
  52917. t4 = t4.selector;
  52918. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  52919. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  52920. } else {
  52921. t4 = t4.selector;
  52922. if (t4.accept$1(B.C__IsUselessVisitor))
  52923. return _null;
  52924. else
  52925. toUnify._queue_list$_add$1(t4);
  52926. }
  52927. }
  52928. if (originals != null)
  52929. 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));
  52930. complexes = A.unifyComplex(toUnify, span);
  52931. if (complexes == null)
  52932. return _null;
  52933. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  52934. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  52935. return complexes;
  52936. },
  52937. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  52938. var t2, _1_0,
  52939. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  52940. if (simple instanceof A.PseudoSelector)
  52941. t2 = simple.selector != null;
  52942. else
  52943. t2 = false;
  52944. if (t2) {
  52945. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  52946. if (_1_0 != null)
  52947. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  52948. }
  52949. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  52950. },
  52951. _extenderForSimple$1(simple) {
  52952. var t1 = simple.span;
  52953. 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);
  52954. this._sourceSpecificity.$index(0, simple);
  52955. return new A.Extender(t1, true);
  52956. },
  52957. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  52958. var extended, complexes, t1, result,
  52959. selector = pseudo.selector;
  52960. if (selector == null)
  52961. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  52962. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  52963. if (extended === selector)
  52964. return null;
  52965. complexes = extended.components;
  52966. t1 = pseudo.normalizedName === "not";
  52967. 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()))
  52968. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  52969. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  52970. if (t1 && selector.components.length === 1) {
  52971. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  52972. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  52973. return result.length === 0 ? null : result;
  52974. } else
  52975. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  52976. },
  52977. _trim$2(selectors, isOriginal) {
  52978. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  52979. if (selectors.length > 100)
  52980. return selectors;
  52981. result = A.QueueList$(null, type$.ComplexSelector);
  52982. $label0$0:
  52983. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  52984. _box_0 = {};
  52985. complex1 = selectors[i];
  52986. if (isOriginal.call$1(complex1)) {
  52987. for (j = 0; j < numOriginals; ++j)
  52988. if (result.$index(0, j).$eq(0, complex1)) {
  52989. A.rotateSlice(result, 0, j + 1);
  52990. continue $label0$0;
  52991. }
  52992. ++numOriginals;
  52993. result.addFirst$1(complex1);
  52994. continue $label0$0;
  52995. }
  52996. _box_0.maxSpecificity = 0;
  52997. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  52998. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  52999. _box_0.maxSpecificity = maxSpecificity;
  53000. }
  53001. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  53002. continue $label0$0;
  53003. t3 = new A.SubListIterable(selectors, 0, i, t1);
  53004. t3.SubListIterable$3(selectors, 0, i, t2);
  53005. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  53006. continue $label0$0;
  53007. result.addFirst$1(complex1);
  53008. }
  53009. return result;
  53010. },
  53011. _sourceSpecificityFor$1(compound) {
  53012. var t1, t2, t3, specificity, _i, t4;
  53013. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  53014. t4 = t3.$index(0, t1[_i]);
  53015. if (t4 == null)
  53016. t4 = 0;
  53017. specificity = Math.max(specificity, t4);
  53018. }
  53019. return specificity;
  53020. },
  53021. clone$0() {
  53022. var t2, t3, t4, _this = this,
  53023. t1 = type$.SimpleSelector,
  53024. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  53025. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  53026. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  53027. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  53028. t2 = type$.Extension;
  53029. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  53030. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  53031. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  53032. t1.addAll$1(0, _this._sourceSpecificity);
  53033. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  53034. t4.addAll$1(0, _this._originals);
  53035. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  53036. },
  53037. get$_extensions() {
  53038. return this._extensions;
  53039. },
  53040. get$_sourceSpecificity() {
  53041. return this._sourceSpecificity;
  53042. }
  53043. };
  53044. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  53045. call$1(extension) {
  53046. return !extension.isOptional;
  53047. },
  53048. $signature: 581
  53049. };
  53050. A.ExtensionStore__registerSelector_closure.prototype = {
  53051. call$0() {
  53052. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53053. },
  53054. $signature: 580
  53055. };
  53056. A.ExtensionStore_addExtension_closure.prototype = {
  53057. call$0() {
  53058. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53059. },
  53060. $signature: 121
  53061. };
  53062. A.ExtensionStore_addExtension_closure0.prototype = {
  53063. call$0() {
  53064. return A._setArrayType([], type$.JSArray_Extension);
  53065. },
  53066. $signature: 180
  53067. };
  53068. A.ExtensionStore_addExtension_closure1.prototype = {
  53069. call$0() {
  53070. return this.complex.get$specificity();
  53071. },
  53072. $signature: 10
  53073. };
  53074. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53075. call$0() {
  53076. return A._setArrayType([], type$.JSArray_Extension);
  53077. },
  53078. $signature: 180
  53079. };
  53080. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53081. call$0() {
  53082. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53083. },
  53084. $signature: 121
  53085. };
  53086. A.ExtensionStore_addExtensions_closure.prototype = {
  53087. call$0() {
  53088. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53089. },
  53090. $signature: 121
  53091. };
  53092. A.ExtensionStore__extendComplex_closure.prototype = {
  53093. call$1(path) {
  53094. var t1 = this.complex;
  53095. 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);
  53096. },
  53097. $signature: 578
  53098. };
  53099. A.ExtensionStore__extendComplex__closure.prototype = {
  53100. call$1(outputComplex) {
  53101. var _this = this,
  53102. t1 = _this._box_0;
  53103. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53104. _this.$this._originals.add$1(0, outputComplex);
  53105. t1.first = false;
  53106. return outputComplex;
  53107. },
  53108. $signature: 62
  53109. };
  53110. A.ExtensionStore__extendCompound_closure.prototype = {
  53111. call$1(extender) {
  53112. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53113. },
  53114. $signature: 569
  53115. };
  53116. A.ExtensionStore__extendCompound_closure0.prototype = {
  53117. call$1(_) {
  53118. return false;
  53119. },
  53120. $signature: 20
  53121. };
  53122. A.ExtensionStore__extendCompound_closure1.prototype = {
  53123. call$1(complex) {
  53124. return complex.$eq(0, this.original);
  53125. },
  53126. $signature: 20
  53127. };
  53128. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53129. call$1(simple) {
  53130. var t1, t2,
  53131. extensionsForSimple = this.extensions.$index(0, simple);
  53132. if (extensionsForSimple == null)
  53133. return null;
  53134. t1 = this.targetsUsed;
  53135. if (t1 != null)
  53136. t1.add$1(0, simple);
  53137. t1 = A._setArrayType([], type$.JSArray_Extender);
  53138. t2 = this.$this;
  53139. if (t2._mode !== B.ExtendMode_replace_replace)
  53140. t1.push(t2._extenderForSimple$1(simple));
  53141. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53142. t1.push(t2.get$current(t2).extender);
  53143. return t1;
  53144. },
  53145. $signature: 568
  53146. };
  53147. A.ExtensionStore__extendSimple_closure.prototype = {
  53148. call$1(pseudo) {
  53149. var t1 = this.withoutPseudo.call$1(pseudo);
  53150. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53151. },
  53152. $signature: 567
  53153. };
  53154. A.ExtensionStore__extendSimple_closure0.prototype = {
  53155. call$1(result) {
  53156. return A._setArrayType([result], type$.JSArray_List_Extender);
  53157. },
  53158. $signature: 566
  53159. };
  53160. A.ExtensionStore__extendPseudo_closure.prototype = {
  53161. call$1(complex) {
  53162. return complex.components.length > 1;
  53163. },
  53164. $signature: 20
  53165. };
  53166. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53167. call$1(complex) {
  53168. return complex.components.length === 1;
  53169. },
  53170. $signature: 20
  53171. };
  53172. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53173. call$1(complex) {
  53174. return complex.components.length <= 1;
  53175. },
  53176. $signature: 20
  53177. };
  53178. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53179. call$1(complex) {
  53180. var innerPseudo, innerSelector,
  53181. t1 = complex.get$singleCompound();
  53182. if (t1 == null)
  53183. innerPseudo = null;
  53184. else {
  53185. t1 = t1.components;
  53186. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53187. }
  53188. if (!(innerPseudo instanceof A.PseudoSelector))
  53189. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53190. innerSelector = innerPseudo.selector;
  53191. if (innerSelector == null)
  53192. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53193. t1 = this.pseudo;
  53194. switch (t1.normalizedName) {
  53195. case "not":
  53196. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53197. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53198. return innerSelector.components;
  53199. case "is":
  53200. case "matches":
  53201. case "where":
  53202. case "any":
  53203. case "current":
  53204. case "nth-child":
  53205. case "nth-last-child":
  53206. if (innerPseudo.name !== t1.name)
  53207. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53208. if (innerPseudo.argument != t1.argument)
  53209. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53210. return innerSelector.components;
  53211. case "has":
  53212. case "host":
  53213. case "host-context":
  53214. case "slotted":
  53215. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53216. default:
  53217. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53218. }
  53219. },
  53220. $signature: 564
  53221. };
  53222. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53223. call$1(complex) {
  53224. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53225. },
  53226. $signature: 541
  53227. };
  53228. A.ExtensionStore__trim_closure.prototype = {
  53229. call$1(complex2) {
  53230. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53231. },
  53232. $signature: 20
  53233. };
  53234. A.ExtensionStore__trim_closure0.prototype = {
  53235. call$1(complex2) {
  53236. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53237. },
  53238. $signature: 20
  53239. };
  53240. A.ExtensionStore_clone_closure.prototype = {
  53241. call$2(simple, selectors) {
  53242. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  53243. t1 = type$.ModifiableBox_SelectorList,
  53244. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  53245. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53246. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  53247. t7 = t2.get$current(t2);
  53248. newSelector = new A.ModifiableBox(t7.value, t1);
  53249. newSelectorSet.add$1(0, newSelector);
  53250. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  53251. _0_0 = t5.$index(0, t7);
  53252. if (_0_0 != null)
  53253. t6.$indexSet(0, newSelector, _0_0);
  53254. }
  53255. },
  53256. $signature: 540
  53257. };
  53258. A.unifyComplex_closure.prototype = {
  53259. call$1(complex) {
  53260. return complex.lineBreak;
  53261. },
  53262. $signature: 20
  53263. };
  53264. A._weaveParents_closure.prototype = {
  53265. call$2(group1, group2) {
  53266. var t1, unified;
  53267. if (B.C_ListEquality.equals$2(0, group1, group2))
  53268. return group1;
  53269. if (A._complexIsParentSuperselector(group1, group2))
  53270. return group2;
  53271. if (A._complexIsParentSuperselector(group2, group1))
  53272. return group1;
  53273. if (!A._mustUnify(group1, group2))
  53274. return null;
  53275. t1 = this.span;
  53276. 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);
  53277. if (unified == null)
  53278. t1 = null;
  53279. else {
  53280. t1 = A.IterableExtension_get_singleOrNull(unified);
  53281. t1 = t1 == null ? null : t1.components;
  53282. }
  53283. return t1;
  53284. },
  53285. $signature: 539
  53286. };
  53287. A._weaveParents_closure0.prototype = {
  53288. call$1(sequence) {
  53289. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53290. },
  53291. $signature: 211
  53292. };
  53293. A._weaveParents_closure1.prototype = {
  53294. call$1(sequence) {
  53295. return sequence.get$length(0) === 0;
  53296. },
  53297. $signature: 211
  53298. };
  53299. A._weaveParents_closure2.prototype = {
  53300. call$1(choice) {
  53301. return J.get$isNotEmpty$asx(choice);
  53302. },
  53303. $signature: 538
  53304. };
  53305. A._mustUnify_closure.prototype = {
  53306. call$1(component) {
  53307. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53308. },
  53309. $signature: 57
  53310. };
  53311. A._mustUnify__closure.prototype = {
  53312. call$1(simple) {
  53313. var t1;
  53314. if (!(simple instanceof A.IDSelector))
  53315. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53316. else
  53317. t1 = true;
  53318. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53319. },
  53320. $signature: 14
  53321. };
  53322. A.paths_closure.prototype = {
  53323. call$2(paths, choice) {
  53324. var t1 = this.T;
  53325. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53326. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  53327. },
  53328. $signature() {
  53329. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53330. }
  53331. };
  53332. A.paths__closure.prototype = {
  53333. call$1(option) {
  53334. var t1 = this.T;
  53335. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53336. },
  53337. $signature() {
  53338. return this.T._eval$1("Iterable<List<0>>(0)");
  53339. }
  53340. };
  53341. A.paths___closure.prototype = {
  53342. call$1(path) {
  53343. var t1 = A.List_List$of(path, true, this.T);
  53344. t1.push(this.option);
  53345. return t1;
  53346. },
  53347. $signature() {
  53348. return this.T._eval$1("List<0>(List<0>)");
  53349. }
  53350. };
  53351. A.listIsSuperselector_closure.prototype = {
  53352. call$1(complex1) {
  53353. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53354. },
  53355. $signature: 20
  53356. };
  53357. A.listIsSuperselector__closure.prototype = {
  53358. call$1(complex2) {
  53359. return complex2.isSuperselector$1(this.complex1);
  53360. },
  53361. $signature: 20
  53362. };
  53363. A.complexIsSuperselector_closure.prototype = {
  53364. call$1($parent) {
  53365. return $parent.combinators.length > 1;
  53366. },
  53367. $signature: 57
  53368. };
  53369. A.complexIsSuperselector_closure0.prototype = {
  53370. call$1(component) {
  53371. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53372. },
  53373. $signature: 57
  53374. };
  53375. A._compatibleWithPreviousCombinator_closure.prototype = {
  53376. call$1(component) {
  53377. var t1 = component.combinators,
  53378. t2 = A.IterableExtension_get_firstOrNull(t1);
  53379. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N)) {
  53380. t1 = A.IterableExtension_get_firstOrNull(t1);
  53381. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP);
  53382. } else
  53383. t1 = true;
  53384. return t1;
  53385. },
  53386. $signature: 57
  53387. };
  53388. A.compoundIsSuperselector_closure.prototype = {
  53389. call$1(simple1) {
  53390. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53391. },
  53392. $signature: 14
  53393. };
  53394. A._selectorPseudoIsSuperselector_closure.prototype = {
  53395. call$1(selector2) {
  53396. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53397. },
  53398. $signature: 75
  53399. };
  53400. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53401. call$1(complex1) {
  53402. var t1, t2;
  53403. if (complex1.leadingCombinators.length === 0) {
  53404. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53405. t2 = this.parents;
  53406. if (t2 != null)
  53407. B.JSArray_methods.addAll$1(t1, t2);
  53408. t2 = this.compound2;
  53409. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53410. t1 = A.complexIsSuperselector(complex1.components, t1);
  53411. } else
  53412. t1 = false;
  53413. return t1;
  53414. },
  53415. $signature: 20
  53416. };
  53417. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53418. call$1(selector2) {
  53419. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53420. },
  53421. $signature: 75
  53422. };
  53423. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53424. call$1(selector2) {
  53425. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53426. },
  53427. $signature: 75
  53428. };
  53429. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53430. call$1(complex) {
  53431. if (complex.accept$1(B._IsBogusVisitor_true))
  53432. return false;
  53433. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53434. },
  53435. $signature: 20
  53436. };
  53437. A._selectorPseudoIsSuperselector__closure.prototype = {
  53438. call$1(simple2) {
  53439. var t1, selector2, _0_4, _this = this;
  53440. $label0$1: {
  53441. if (simple2 instanceof A.TypeSelector) {
  53442. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53443. break $label0$1;
  53444. }
  53445. if (simple2 instanceof A.IDSelector) {
  53446. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53447. break $label0$1;
  53448. }
  53449. selector2 = null;
  53450. t1 = false;
  53451. if (simple2 instanceof A.PseudoSelector) {
  53452. _0_4 = simple2.selector;
  53453. if (_0_4 != null) {
  53454. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53455. t1 = simple2.name === _this.pseudo1.name;
  53456. }
  53457. }
  53458. if (t1) {
  53459. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53460. break $label0$1;
  53461. }
  53462. t1 = false;
  53463. break $label0$1;
  53464. }
  53465. return t1;
  53466. },
  53467. $signature: 14
  53468. };
  53469. A._selectorPseudoIsSuperselector___closure.prototype = {
  53470. call$1(simple1) {
  53471. var t1;
  53472. if (simple1 instanceof A.TypeSelector) {
  53473. t1 = this.simple2;
  53474. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  53475. } else
  53476. t1 = false;
  53477. return t1;
  53478. },
  53479. $signature: 14
  53480. };
  53481. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53482. call$1(simple1) {
  53483. var t1;
  53484. if (simple1 instanceof A.IDSelector) {
  53485. t1 = this.simple2;
  53486. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  53487. } else
  53488. t1 = false;
  53489. return t1;
  53490. },
  53491. $signature: 14
  53492. };
  53493. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53494. call$1(selector2) {
  53495. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53496. return t1;
  53497. },
  53498. $signature: 75
  53499. };
  53500. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53501. call$1(pseudo2) {
  53502. var t1, selector2;
  53503. if (!(pseudo2 instanceof A.PseudoSelector))
  53504. return false;
  53505. t1 = this.pseudo1;
  53506. if (pseudo2.name !== t1.name)
  53507. return false;
  53508. if (pseudo2.argument != t1.argument)
  53509. return false;
  53510. selector2 = pseudo2.selector;
  53511. if (selector2 == null)
  53512. return false;
  53513. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53514. },
  53515. $signature: 14
  53516. };
  53517. A._selectorPseudoArgs_closure.prototype = {
  53518. call$1(pseudo) {
  53519. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53520. },
  53521. $signature: 537
  53522. };
  53523. A._selectorPseudoArgs_closure0.prototype = {
  53524. call$1(pseudo) {
  53525. return pseudo.selector;
  53526. },
  53527. $signature: 532
  53528. };
  53529. A.MergedExtension.prototype = {
  53530. unmerge$0() {
  53531. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53532. },
  53533. unmerge$body$MergedExtension() {
  53534. var $async$self = this;
  53535. return function() {
  53536. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53537. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53538. if ($async$errorCode === 1) {
  53539. $async$errorStack.push($async$result);
  53540. $async$goto = $async$handler;
  53541. }
  53542. while (true)
  53543. switch ($async$goto) {
  53544. case 0:
  53545. // Function start
  53546. left = $async$self.left;
  53547. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53548. break;
  53549. case 2:
  53550. // then
  53551. $async$goto = 5;
  53552. return $async$iterator._yieldStar$1(left.unmerge$0());
  53553. case 5:
  53554. // after yield
  53555. // goto join
  53556. $async$goto = 3;
  53557. break;
  53558. case 4:
  53559. // else
  53560. $async$goto = 6;
  53561. return $async$iterator._async$_current = left, 1;
  53562. case 6:
  53563. // after yield
  53564. case 3:
  53565. // join
  53566. right = $async$self.right;
  53567. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53568. break;
  53569. case 7:
  53570. // then
  53571. $async$goto = 10;
  53572. return $async$iterator._yieldStar$1(right.unmerge$0());
  53573. case 10:
  53574. // after yield
  53575. // goto join
  53576. $async$goto = 8;
  53577. break;
  53578. case 9:
  53579. // else
  53580. $async$goto = 11;
  53581. return $async$iterator._async$_current = right, 1;
  53582. case 11:
  53583. // after yield
  53584. case 8:
  53585. // join
  53586. // implicit return
  53587. return 0;
  53588. case 1:
  53589. // rethrow
  53590. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53591. }
  53592. };
  53593. };
  53594. }
  53595. };
  53596. A.ExtendMode.prototype = {
  53597. _enumToString$0() {
  53598. return "ExtendMode." + this._name;
  53599. },
  53600. toString$0(_) {
  53601. return this.name;
  53602. }
  53603. };
  53604. A.globalFunctions_closure.prototype = {
  53605. call$1($arguments) {
  53606. var t1 = J.getInterceptor$asx($arguments);
  53607. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53608. },
  53609. $signature: 4
  53610. };
  53611. A.global_closure0.prototype = {
  53612. call$1(color) {
  53613. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53614. },
  53615. $signature: 65
  53616. };
  53617. A.global_closure1.prototype = {
  53618. call$1(color) {
  53619. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53620. },
  53621. $signature: 65
  53622. };
  53623. A.global_closure2.prototype = {
  53624. call$1(color) {
  53625. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53626. },
  53627. $signature: 65
  53628. };
  53629. A.global_closure3.prototype = {
  53630. call$1($arguments) {
  53631. return A._rgb("rgb", $arguments);
  53632. },
  53633. $signature: 4
  53634. };
  53635. A.global_closure4.prototype = {
  53636. call$1($arguments) {
  53637. return A._rgb("rgb", $arguments);
  53638. },
  53639. $signature: 4
  53640. };
  53641. A.global_closure5.prototype = {
  53642. call$1($arguments) {
  53643. return A._rgbTwoArg("rgb", $arguments);
  53644. },
  53645. $signature: 4
  53646. };
  53647. A.global_closure6.prototype = {
  53648. call$1($arguments) {
  53649. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53650. },
  53651. $signature: 4
  53652. };
  53653. A.global_closure7.prototype = {
  53654. call$1($arguments) {
  53655. return A._rgb("rgba", $arguments);
  53656. },
  53657. $signature: 4
  53658. };
  53659. A.global_closure8.prototype = {
  53660. call$1($arguments) {
  53661. return A._rgb("rgba", $arguments);
  53662. },
  53663. $signature: 4
  53664. };
  53665. A.global_closure9.prototype = {
  53666. call$1($arguments) {
  53667. return A._rgbTwoArg("rgba", $arguments);
  53668. },
  53669. $signature: 4
  53670. };
  53671. A.global_closure10.prototype = {
  53672. call$1($arguments) {
  53673. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53674. },
  53675. $signature: 4
  53676. };
  53677. A.global_closure11.prototype = {
  53678. call$1($arguments) {
  53679. var t1 = J.getInterceptor$asx($arguments);
  53680. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  53681. A.warnForDeprecation(string$.Globalci, B.Deprecation_1AX);
  53682. return A._invert($arguments, true);
  53683. },
  53684. $signature: 4
  53685. };
  53686. A.global_closure12.prototype = {
  53687. call$1(color) {
  53688. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53689. },
  53690. $signature: 46
  53691. };
  53692. A.global_closure13.prototype = {
  53693. call$1(color) {
  53694. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53695. },
  53696. $signature: 46
  53697. };
  53698. A.global_closure14.prototype = {
  53699. call$1(color) {
  53700. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53701. },
  53702. $signature: 46
  53703. };
  53704. A.global_closure15.prototype = {
  53705. call$1($arguments) {
  53706. return A._hsl("hsl", $arguments);
  53707. },
  53708. $signature: 4
  53709. };
  53710. A.global_closure16.prototype = {
  53711. call$1($arguments) {
  53712. return A._hsl("hsl", $arguments);
  53713. },
  53714. $signature: 4
  53715. };
  53716. A.global_closure17.prototype = {
  53717. call$1($arguments) {
  53718. var t1 = J.getInterceptor$asx($arguments);
  53719. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53720. return A._functionString("hsl", $arguments);
  53721. else
  53722. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53723. },
  53724. $signature: 18
  53725. };
  53726. A.global_closure18.prototype = {
  53727. call$1($arguments) {
  53728. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53729. },
  53730. $signature: 4
  53731. };
  53732. A.global_closure19.prototype = {
  53733. call$1($arguments) {
  53734. return A._hsl("hsla", $arguments);
  53735. },
  53736. $signature: 4
  53737. };
  53738. A.global_closure20.prototype = {
  53739. call$1($arguments) {
  53740. return A._hsl("hsla", $arguments);
  53741. },
  53742. $signature: 4
  53743. };
  53744. A.global_closure21.prototype = {
  53745. call$1($arguments) {
  53746. var t1 = J.getInterceptor$asx($arguments);
  53747. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53748. return A._functionString("hsla", $arguments);
  53749. else
  53750. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53751. },
  53752. $signature: 18
  53753. };
  53754. A.global_closure22.prototype = {
  53755. call$1($arguments) {
  53756. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53757. },
  53758. $signature: 4
  53759. };
  53760. A.global_closure23.prototype = {
  53761. call$1($arguments) {
  53762. var t1 = J.getInterceptor$asx($arguments);
  53763. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53764. return A._functionString("grayscale", $arguments);
  53765. else {
  53766. A.warnForDeprecation(string$.Globalcg, B.Deprecation_1AX);
  53767. return A._grayscale(t1.$index($arguments, 0));
  53768. }
  53769. },
  53770. $signature: 4
  53771. };
  53772. A.global_closure24.prototype = {
  53773. call$1($arguments) {
  53774. var t1 = J.getInterceptor$asx($arguments),
  53775. color = t1.$index($arguments, 0).assertColor$1("color"),
  53776. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  53777. if (!color._space.get$isLegacyInternal())
  53778. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  53779. A.warnForDeprecation(string$.adjustd + A.SassNumber_SassNumber(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  53780. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  53781. },
  53782. $signature: 21
  53783. };
  53784. A.global_closure25.prototype = {
  53785. call$1($arguments) {
  53786. var result,
  53787. _s9_ = "lightness",
  53788. t1 = J.getInterceptor$asx($arguments),
  53789. color = t1.$index($arguments, 0).assertColor$1("color"),
  53790. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53791. if (!color._space.get$isLegacyInternal())
  53792. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  53793. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  53794. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53795. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53796. return result;
  53797. },
  53798. $signature: 21
  53799. };
  53800. A.global_closure26.prototype = {
  53801. call$1($arguments) {
  53802. var result,
  53803. _s9_ = "lightness",
  53804. t1 = J.getInterceptor$asx($arguments),
  53805. color = t1.$index($arguments, 0).assertColor$1("color"),
  53806. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53807. if (!color._space.get$isLegacyInternal())
  53808. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  53809. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  53810. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53811. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53812. return result;
  53813. },
  53814. $signature: 21
  53815. };
  53816. A.global_closure27.prototype = {
  53817. call$1($arguments) {
  53818. var t1 = J.getInterceptor$asx($arguments);
  53819. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53820. return A._functionString("saturate", $arguments);
  53821. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  53822. },
  53823. $signature: 18
  53824. };
  53825. A.global_closure28.prototype = {
  53826. call$1($arguments) {
  53827. var t1, color, amount, result,
  53828. _s10_ = "saturation";
  53829. A.warnForDeprecation(string$.Globalcad, B.Deprecation_1AX);
  53830. t1 = J.getInterceptor$asx($arguments);
  53831. color = t1.$index($arguments, 0).assertColor$1("color");
  53832. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53833. if (!color._space.get$isLegacyInternal())
  53834. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  53835. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  53836. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53837. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53838. return result;
  53839. },
  53840. $signature: 21
  53841. };
  53842. A.global_closure29.prototype = {
  53843. call$1($arguments) {
  53844. var result,
  53845. _s10_ = "saturation",
  53846. t1 = J.getInterceptor$asx($arguments),
  53847. color = t1.$index($arguments, 0).assertColor$1("color"),
  53848. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53849. if (!color._space.get$isLegacyInternal())
  53850. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  53851. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  53852. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53853. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53854. return result;
  53855. },
  53856. $signature: 21
  53857. };
  53858. A.global_closure30.prototype = {
  53859. call$1($arguments) {
  53860. return A._opacify("opacify", $arguments);
  53861. },
  53862. $signature: 21
  53863. };
  53864. A.global_closure31.prototype = {
  53865. call$1($arguments) {
  53866. return A._opacify("fade-in", $arguments);
  53867. },
  53868. $signature: 21
  53869. };
  53870. A.global_closure32.prototype = {
  53871. call$1($arguments) {
  53872. return A._transparentize("transparentize", $arguments);
  53873. },
  53874. $signature: 21
  53875. };
  53876. A.global_closure33.prototype = {
  53877. call$1($arguments) {
  53878. return A._transparentize("fade-out", $arguments);
  53879. },
  53880. $signature: 21
  53881. };
  53882. A.global_closure34.prototype = {
  53883. call$1($arguments) {
  53884. var _0_0 = J.$index$asx($arguments, 0),
  53885. t1 = false;
  53886. if (_0_0 instanceof A.SassString)
  53887. if (!_0_0._hasQuotes)
  53888. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  53889. if (t1)
  53890. return A._functionString("alpha", $arguments);
  53891. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  53892. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  53893. A.warnForDeprecation(string$.Globalcal, B.Deprecation_1AX);
  53894. t1 = _0_0.assertColor$1("color").alphaOrNull;
  53895. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53896. },
  53897. $signature: 4
  53898. };
  53899. A.global_closure35.prototype = {
  53900. call$1($arguments) {
  53901. var t1,
  53902. argList = J.$index$asx($arguments, 0).get$asList();
  53903. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  53904. return A._functionString("alpha", $arguments);
  53905. t1 = argList.length;
  53906. if (t1 === 0)
  53907. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  53908. else
  53909. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  53910. },
  53911. $signature: 18
  53912. };
  53913. A.global__closure.prototype = {
  53914. call$1(argument) {
  53915. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  53916. },
  53917. $signature: 70
  53918. };
  53919. A.global_closure36.prototype = {
  53920. call$1($arguments) {
  53921. var t1 = J.getInterceptor$asx($arguments);
  53922. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53923. return A._functionString("opacity", $arguments);
  53924. A.warnForDeprecation(string$.Globalco, B.Deprecation_1AX);
  53925. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  53926. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53927. },
  53928. $signature: 4
  53929. };
  53930. A.global_closure37.prototype = {
  53931. call$1($arguments) {
  53932. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  53933. },
  53934. $signature: 4
  53935. };
  53936. A.global_closure38.prototype = {
  53937. call$1($arguments) {
  53938. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53939. },
  53940. $signature: 4
  53941. };
  53942. A.global_closure39.prototype = {
  53943. call$1($arguments) {
  53944. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  53945. },
  53946. $signature: 4
  53947. };
  53948. A.global_closure40.prototype = {
  53949. call$1($arguments) {
  53950. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  53951. },
  53952. $signature: 4
  53953. };
  53954. A.global_closure41.prototype = {
  53955. call$1($arguments) {
  53956. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  53957. },
  53958. $signature: 4
  53959. };
  53960. A.global_closure42.prototype = {
  53961. call$1($arguments) {
  53962. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  53963. },
  53964. $signature: 4
  53965. };
  53966. A.module_closure1.prototype = {
  53967. call$1(color) {
  53968. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53969. },
  53970. $signature: 65
  53971. };
  53972. A.module_closure2.prototype = {
  53973. call$1(color) {
  53974. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53975. },
  53976. $signature: 65
  53977. };
  53978. A.module_closure3.prototype = {
  53979. call$1(color) {
  53980. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53981. },
  53982. $signature: 65
  53983. };
  53984. A.module_closure4.prototype = {
  53985. call$1($arguments) {
  53986. var result = A._invert($arguments, false);
  53987. if (result instanceof A.SassString)
  53988. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_u0j);
  53989. return result;
  53990. },
  53991. $signature: 4
  53992. };
  53993. A.module_closure5.prototype = {
  53994. call$1(color) {
  53995. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53996. },
  53997. $signature: 46
  53998. };
  53999. A.module_closure6.prototype = {
  54000. call$1(color) {
  54001. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  54002. },
  54003. $signature: 46
  54004. };
  54005. A.module_closure7.prototype = {
  54006. call$1(color) {
  54007. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  54008. },
  54009. $signature: 46
  54010. };
  54011. A.module_closure8.prototype = {
  54012. call$1($arguments) {
  54013. var result,
  54014. t1 = J.getInterceptor$asx($arguments);
  54015. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54016. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  54017. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_u0j);
  54018. return result;
  54019. }
  54020. return A._grayscale(t1.$index($arguments, 0));
  54021. },
  54022. $signature: 4
  54023. };
  54024. A.module_closure9.prototype = {
  54025. call$1($arguments) {
  54026. var t1 = J.getInterceptor$asx($arguments),
  54027. t2 = type$.JSArray_Value;
  54028. 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);
  54029. },
  54030. $signature: 4
  54031. };
  54032. A.module_closure10.prototype = {
  54033. call$1($arguments) {
  54034. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  54035. },
  54036. $signature: 4
  54037. };
  54038. A.module_closure11.prototype = {
  54039. call$1(color) {
  54040. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  54041. },
  54042. $signature: 46
  54043. };
  54044. A.module_closure12.prototype = {
  54045. call$1(color) {
  54046. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  54047. },
  54048. $signature: 46
  54049. };
  54050. A.module_closure13.prototype = {
  54051. call$1($arguments) {
  54052. var result,
  54053. _0_0 = J.$index$asx($arguments, 0),
  54054. t1 = false;
  54055. if (_0_0 instanceof A.SassString)
  54056. if (!_0_0._hasQuotes)
  54057. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54058. if (t1) {
  54059. result = A._functionString("alpha", $arguments);
  54060. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54061. return result;
  54062. }
  54063. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54064. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54065. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54066. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54067. },
  54068. $signature: 4
  54069. };
  54070. A.module_closure14.prototype = {
  54071. call$1($arguments) {
  54072. var result,
  54073. t1 = J.getInterceptor$asx($arguments);
  54074. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54075. result = A._functionString("alpha", $arguments);
  54076. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54077. return result;
  54078. }
  54079. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54080. },
  54081. $signature: 18
  54082. };
  54083. A.module__closure2.prototype = {
  54084. call$1(argument) {
  54085. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54086. },
  54087. $signature: 70
  54088. };
  54089. A.module_closure15.prototype = {
  54090. call$1($arguments) {
  54091. var result,
  54092. t1 = J.getInterceptor$asx($arguments);
  54093. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54094. result = A._functionString("opacity", $arguments);
  54095. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_u0j);
  54096. return result;
  54097. }
  54098. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54099. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54100. },
  54101. $signature: 4
  54102. };
  54103. A.module_closure16.prototype = {
  54104. call$1($arguments) {
  54105. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54106. },
  54107. $signature: 18
  54108. };
  54109. A.module_closure17.prototype = {
  54110. call$1($arguments) {
  54111. var t1 = J.getInterceptor$asx($arguments);
  54112. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54113. },
  54114. $signature: 21
  54115. };
  54116. A.module_closure18.prototype = {
  54117. call$1($arguments) {
  54118. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54119. },
  54120. $signature: 11
  54121. };
  54122. A.module_closure19.prototype = {
  54123. call$1($arguments) {
  54124. var t1 = J.getInterceptor$asx($arguments);
  54125. 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;
  54126. },
  54127. $signature: 11
  54128. };
  54129. A.module_closure20.prototype = {
  54130. call$1($arguments) {
  54131. var t1 = J.getInterceptor$asx($arguments);
  54132. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54133. },
  54134. $signature: 11
  54135. };
  54136. A.module_closure21.prototype = {
  54137. call$1($arguments) {
  54138. var space, method, _s5_ = "space", _s6_ = "method",
  54139. t1 = J.getInterceptor$asx($arguments),
  54140. color = t1.$index($arguments, 0).assertColor$1("color"),
  54141. t2 = t1.$index($arguments, 1);
  54142. if (t2.$eq(0, B.C__SassNull))
  54143. space = color._space;
  54144. else {
  54145. t2 = t2.assertString$1(_s5_);
  54146. t2.assertUnquoted$1(_s5_);
  54147. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54148. }
  54149. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54150. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54151. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54152. t1.assertUnquoted$1(_s6_);
  54153. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54154. if (!space.get$isBoundedInternal())
  54155. return color;
  54156. t1 = color.toSpace$1(space);
  54157. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54158. return t1.toSpace$2$legacyMissing(color._space, false);
  54159. },
  54160. $signature: 21
  54161. };
  54162. A.module_closure22.prototype = {
  54163. call$1($arguments) {
  54164. var channelIndex, channelInfo, channelValue, unit,
  54165. t1 = J.getInterceptor$asx($arguments),
  54166. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54167. channelName = A._channelName(t1.$index($arguments, 1));
  54168. if (channelName === "alpha") {
  54169. t1 = color.alphaOrNull;
  54170. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54171. }
  54172. t1 = color._space._channels;
  54173. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54174. if (channelIndex === -1)
  54175. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54176. channelInfo = t1[channelIndex];
  54177. channelValue = color.get$channels()[channelIndex];
  54178. unit = channelInfo.associatedUnit;
  54179. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54180. },
  54181. $signature: 24
  54182. };
  54183. A.module__closure1.prototype = {
  54184. call$1(channel) {
  54185. return channel.name === this.channelName;
  54186. },
  54187. $signature: 81
  54188. };
  54189. A.module_closure23.prototype = {
  54190. call$1($arguments) {
  54191. var t2, t3,
  54192. t1 = J.getInterceptor$asx($arguments),
  54193. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54194. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54195. t1 = new A.module_closure_toXyzNoMissing();
  54196. if (color1._space === color2._space) {
  54197. t1 = color1.channel0OrNull;
  54198. t2 = false;
  54199. if (t1 == null)
  54200. t1 = 0;
  54201. t3 = color2.channel0OrNull;
  54202. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54203. t1 = color1.channel1OrNull;
  54204. if (t1 == null)
  54205. t1 = 0;
  54206. t3 = color2.channel1OrNull;
  54207. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54208. t1 = color1.channel2OrNull;
  54209. if (t1 == null)
  54210. t1 = 0;
  54211. t3 = color2.channel2OrNull;
  54212. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54213. t1 = color1.alphaOrNull;
  54214. if (t1 == null)
  54215. t1 = 0;
  54216. t2 = color2.alphaOrNull;
  54217. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54218. } else
  54219. t1 = t2;
  54220. } else
  54221. t1 = t2;
  54222. } else
  54223. t1 = t2;
  54224. } else
  54225. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54226. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54227. },
  54228. $signature: 11
  54229. };
  54230. A.module_closure_toXyzNoMissing.prototype = {
  54231. call$1(color) {
  54232. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  54233. $label0$0: {
  54234. _1_1 = color._space;
  54235. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54236. t1 = _1_3;
  54237. if (t1)
  54238. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54239. else
  54240. t1 = false;
  54241. if (t1) {
  54242. t1 = color;
  54243. break $label0$0;
  54244. }
  54245. if (_1_3) {
  54246. _1_7 = color.channel0OrNull;
  54247. if (_1_7 == null)
  54248. _1_7 = 0;
  54249. channel0 = _1_7;
  54250. _1_8 = color.channel1OrNull;
  54251. if (_1_8 == null)
  54252. _1_8 = 0;
  54253. channel1 = _1_8;
  54254. _1_9 = color.channel2OrNull;
  54255. if (_1_9 == null)
  54256. _1_9 = 0;
  54257. channel2 = _1_9;
  54258. _1_10 = color.alphaOrNull;
  54259. if (_1_10 == null)
  54260. _1_10 = 0;
  54261. alpha = _1_10;
  54262. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, _null);
  54263. break $label0$0;
  54264. }
  54265. _1_7 = color.channel0OrNull;
  54266. if (_1_7 == null)
  54267. _1_7 = 0;
  54268. channel0 = _1_7;
  54269. _1_8 = color.channel1OrNull;
  54270. if (_1_8 == null)
  54271. _1_8 = 0;
  54272. channel1 = _1_8;
  54273. _1_9 = color.channel2OrNull;
  54274. if (_1_9 == null)
  54275. _1_9 = 0;
  54276. channel2 = _1_9;
  54277. _1_10 = color.alphaOrNull;
  54278. if (_1_10 == null)
  54279. _1_10 = 0;
  54280. alpha = _1_10;
  54281. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54282. break $label0$0;
  54283. }
  54284. return t1;
  54285. },
  54286. $signature: 506
  54287. };
  54288. A.module_closure24.prototype = {
  54289. call$1($arguments) {
  54290. var t1 = J.getInterceptor$asx($arguments);
  54291. 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;
  54292. },
  54293. $signature: 11
  54294. };
  54295. A._mix_closure.prototype = {
  54296. call$1($arguments) {
  54297. var _s6_ = "weight",
  54298. _s41_ = string$.To_usem,
  54299. _s29_ = ", you must provide a $method.",
  54300. t1 = J.getInterceptor$asx($arguments),
  54301. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54302. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54303. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54304. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54305. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54306. A._checkPercent(weight, _s6_);
  54307. if (!color1._space.get$isLegacyInternal())
  54308. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54309. else if (!color2._space.get$isLegacyInternal())
  54310. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54311. return A._mixLegacy(color1, color2, weight);
  54312. },
  54313. $signature: 21
  54314. };
  54315. A._complement_closure.prototype = {
  54316. call$1($arguments) {
  54317. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54318. t1 = J.getInterceptor$asx($arguments),
  54319. color = t1.$index($arguments, 0).assertColor$1("color"),
  54320. t2 = color._space;
  54321. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54322. space = B.HslColorSpace_JQ2;
  54323. else {
  54324. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54325. t3.assertUnquoted$1(_s5_);
  54326. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54327. }
  54328. if (!space.get$isPolarInternal())
  54329. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54330. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54331. t1 = space._channels;
  54332. t3 = colorInSpace.channel0OrNull;
  54333. t4 = colorInSpace.channel1OrNull;
  54334. t5 = colorInSpace.channel2OrNull;
  54335. t6 = colorInSpace.alphaOrNull;
  54336. 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);
  54337. },
  54338. $signature: 21
  54339. };
  54340. A._adjust_closure.prototype = {
  54341. call$1($arguments) {
  54342. return A._updateComponents($arguments, true, false, false);
  54343. },
  54344. $signature: 21
  54345. };
  54346. A._scale_closure.prototype = {
  54347. call$1($arguments) {
  54348. return A._updateComponents($arguments, false, false, true);
  54349. },
  54350. $signature: 21
  54351. };
  54352. A._change_closure.prototype = {
  54353. call$1($arguments) {
  54354. return A._updateComponents($arguments, false, true, false);
  54355. },
  54356. $signature: 21
  54357. };
  54358. A._ieHexStr_closure.prototype = {
  54359. call$1($arguments) {
  54360. var t1, t2, t3, t4, t5,
  54361. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54362. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54363. t1 = new A._ieHexStr_closure_hexString();
  54364. t2 = color.alphaOrNull;
  54365. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54366. t3 = color.channel0OrNull;
  54367. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54368. t4 = color.channel1OrNull;
  54369. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54370. t5 = color.channel2OrNull;
  54371. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54372. },
  54373. $signature: 18
  54374. };
  54375. A._ieHexStr_closure_hexString.prototype = {
  54376. call$1(component) {
  54377. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54378. },
  54379. $signature: 200
  54380. };
  54381. A._updateComponents_closure.prototype = {
  54382. call$1(space) {
  54383. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54384. },
  54385. $signature: 486
  54386. };
  54387. A._updateComponents_closure0.prototype = {
  54388. call$1(info) {
  54389. return this._box_0.name === info.name;
  54390. },
  54391. $signature: 81
  54392. };
  54393. A._changeColor_closure.prototype = {
  54394. call$0() {
  54395. var t1 = this.alphaArg;
  54396. A.warnForDeprecation("$alpha: Passing a unit other than % (" + A.S(t1) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_jG1);
  54397. return t1.valueInRange$3(0, 1, "alpha");
  54398. },
  54399. $signature: 141
  54400. };
  54401. A._adjustColor_closure.prototype = {
  54402. call$1(alpha) {
  54403. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54404. },
  54405. $signature: 16
  54406. };
  54407. A._functionString_closure.prototype = {
  54408. call$1(argument) {
  54409. return A.serializeValue(argument, false, true);
  54410. },
  54411. $signature: 479
  54412. };
  54413. A._removedColorFunction_closure.prototype = {
  54414. call$1($arguments) {
  54415. var t1 = this.name,
  54416. t2 = J.getInterceptor$asx($arguments),
  54417. t3 = t2.$index($arguments, 0).toString$0(0),
  54418. t4 = this.negative ? "-" : "";
  54419. 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));
  54420. },
  54421. $signature: 469
  54422. };
  54423. A._rgb_closure.prototype = {
  54424. call$1(alpha) {
  54425. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54426. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54427. },
  54428. $signature: 225
  54429. };
  54430. A._hsl_closure.prototype = {
  54431. call$1(alpha) {
  54432. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54433. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54434. },
  54435. $signature: 225
  54436. };
  54437. A._parseChannels_closure.prototype = {
  54438. call$1($name) {
  54439. return $name + " channel";
  54440. },
  54441. $signature: 6
  54442. };
  54443. A._parseChannels_closure0.prototype = {
  54444. call$1(channel) {
  54445. return channel.get$isSpecialNumber();
  54446. },
  54447. $signature: 70
  54448. };
  54449. A._colorFromChannels_closure.prototype = {
  54450. call$1(channel0) {
  54451. return A._angleValue(channel0, "hue");
  54452. },
  54453. $signature: 115
  54454. };
  54455. A._colorFromChannels_closure0.prototype = {
  54456. call$1(channel0) {
  54457. return A._angleValue(channel0, "hue");
  54458. },
  54459. $signature: 115
  54460. };
  54461. A._channelFromValue_closure.prototype = {
  54462. call$1(value) {
  54463. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  54464. _0_0 = this.channel;
  54465. $label0$0: {
  54466. t1 = _0_0 instanceof A.LinearChannel;
  54467. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54468. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54469. _0_8 = null;
  54470. t2 = false;
  54471. if (t1) {
  54472. _0_5 = _0_0.lowerClamped;
  54473. _0_8_isSet = !_0_5;
  54474. if (_0_8_isSet) {
  54475. _0_8 = _0_0.upperClamped;
  54476. t2 = !_0_8;
  54477. }
  54478. } else {
  54479. _0_5 = null;
  54480. _0_8_isSet = false;
  54481. }
  54482. if (t2) {
  54483. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54484. break $label0$0;
  54485. }
  54486. if (t1 && !this.clamp) {
  54487. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54488. break $label0$0;
  54489. }
  54490. if (t1) {
  54491. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54492. t1 = _0_0.max;
  54493. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54494. t3 = _0_5 ? _0_0.min : -1 / 0;
  54495. t1 = upperClamped ? t1 : 1 / 0;
  54496. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54497. break $label0$0;
  54498. }
  54499. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54500. break $label0$0;
  54501. }
  54502. return t1;
  54503. },
  54504. $signature: 115
  54505. };
  54506. A._channelFunction_closure.prototype = {
  54507. call$1($arguments) {
  54508. var _this = this,
  54509. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54510. t1 = _this.global ? "" : "color.",
  54511. t2 = _this.name;
  54512. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  54513. return result;
  54514. },
  54515. $signature: 24
  54516. };
  54517. A._suggestScaleAndAdjust_closure.prototype = {
  54518. call$1(channel) {
  54519. return channel.name === this.channelName;
  54520. },
  54521. $signature: 81
  54522. };
  54523. A._length_closure0.prototype = {
  54524. call$1($arguments) {
  54525. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54526. },
  54527. $signature: 24
  54528. };
  54529. A._nth_closure.prototype = {
  54530. call$1($arguments) {
  54531. var t1 = J.getInterceptor$asx($arguments),
  54532. list = t1.$index($arguments, 0),
  54533. index = t1.$index($arguments, 1);
  54534. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54535. },
  54536. $signature: 4
  54537. };
  54538. A._setNth_closure.prototype = {
  54539. call$1($arguments) {
  54540. var newList,
  54541. t1 = J.getInterceptor$asx($arguments),
  54542. list = t1.$index($arguments, 0),
  54543. index = t1.$index($arguments, 1),
  54544. value = t1.$index($arguments, 2);
  54545. t1 = list.get$asList();
  54546. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54547. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54548. return list.withListContents$1(newList);
  54549. },
  54550. $signature: 26
  54551. };
  54552. A._join_closure.prototype = {
  54553. call$1($arguments) {
  54554. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  54555. t1 = J.getInterceptor$asx($arguments),
  54556. list1 = t1.$index($arguments, 0),
  54557. list2 = t1.$index($arguments, 1),
  54558. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54559. bracketedParam = t1.$index($arguments, 3),
  54560. _1_0 = separatorParam._string$_text;
  54561. $label1$1: {
  54562. if ("auto" === _1_0) {
  54563. _0_1 = list1.get$separator(list1);
  54564. _0_4 = list2.get$separator(list2);
  54565. $label0$0: {
  54566. t1 = _null;
  54567. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  54568. t2 = _0_3;
  54569. if (t2) {
  54570. t3 = B.ListSeparator_undecided_null_undecided === _0_4;
  54571. _0_40 = _0_4;
  54572. } else {
  54573. _0_40 = _null;
  54574. t3 = false;
  54575. }
  54576. if (t3) {
  54577. t1 = B.ListSeparator_qSL;
  54578. break $label0$0;
  54579. }
  54580. if (_0_3)
  54581. separator = t2 ? _0_40 : _0_4;
  54582. else
  54583. separator = t1;
  54584. if (!_0_3)
  54585. separator = _0_1;
  54586. t1 = separator;
  54587. break $label0$0;
  54588. }
  54589. break $label1$1;
  54590. }
  54591. if ("space" === _1_0) {
  54592. t1 = B.ListSeparator_qSL;
  54593. break $label1$1;
  54594. }
  54595. if ("comma" === _1_0) {
  54596. t1 = B.ListSeparator_qVN;
  54597. break $label1$1;
  54598. }
  54599. if ("slash" === _1_0) {
  54600. t1 = B.ListSeparator_bRz;
  54601. break $label1$1;
  54602. }
  54603. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, _null));
  54604. }
  54605. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54606. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  54607. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54608. return A.SassList$(t2, t1, bracketed);
  54609. },
  54610. $signature: 26
  54611. };
  54612. A._append_closure0.prototype = {
  54613. call$1($arguments) {
  54614. var t2,
  54615. t1 = J.getInterceptor$asx($arguments),
  54616. list = t1.$index($arguments, 0),
  54617. value = t1.$index($arguments, 1),
  54618. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54619. $label0$0: {
  54620. if ("auto" === _0_0) {
  54621. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qSL : list.get$separator(list);
  54622. break $label0$0;
  54623. }
  54624. if ("space" === _0_0) {
  54625. t1 = B.ListSeparator_qSL;
  54626. break $label0$0;
  54627. }
  54628. if ("comma" === _0_0) {
  54629. t1 = B.ListSeparator_qVN;
  54630. break $label0$0;
  54631. }
  54632. if ("slash" === _0_0) {
  54633. t1 = B.ListSeparator_bRz;
  54634. break $label0$0;
  54635. }
  54636. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54637. }
  54638. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  54639. t2.push(value);
  54640. return list.withListContents$2$separator(t2, t1);
  54641. },
  54642. $signature: 26
  54643. };
  54644. A._zip_closure.prototype = {
  54645. call$1($arguments) {
  54646. var results, result, _box_0 = {},
  54647. t1 = J.$index$asx($arguments, 0).get$asList(),
  54648. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54649. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  54650. if (lists.length === 0)
  54651. return B.SassList_BlY;
  54652. _box_0.i = 0;
  54653. results = A._setArrayType([], type$.JSArray_SassList);
  54654. 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));) {
  54655. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54656. result.$flags = 3;
  54657. results.push(new A.SassList(result, B.ListSeparator_qSL, false));
  54658. ++_box_0.i;
  54659. }
  54660. return A.SassList$(results, B.ListSeparator_qVN, false);
  54661. },
  54662. $signature: 26
  54663. };
  54664. A._zip__closure.prototype = {
  54665. call$1(list) {
  54666. return list.get$asList();
  54667. },
  54668. $signature: 466
  54669. };
  54670. A._zip__closure0.prototype = {
  54671. call$1(list) {
  54672. return this._box_0.i !== J.get$length$asx(list);
  54673. },
  54674. $signature: 462
  54675. };
  54676. A._zip__closure1.prototype = {
  54677. call$1(list) {
  54678. return J.$index$asx(list, this._box_0.i);
  54679. },
  54680. $signature: 4
  54681. };
  54682. A._index_closure0.prototype = {
  54683. call$1($arguments) {
  54684. var t1 = J.getInterceptor$asx($arguments),
  54685. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  54686. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  54687. },
  54688. $signature: 4
  54689. };
  54690. A._separator_closure.prototype = {
  54691. call$1($arguments) {
  54692. var t1 = J.$index$asx($arguments, 0),
  54693. _0_0 = t1.get$separator(t1);
  54694. $label0$0: {
  54695. if (B.ListSeparator_qVN === _0_0) {
  54696. t1 = new A.SassString("comma", false);
  54697. break $label0$0;
  54698. }
  54699. if (B.ListSeparator_bRz === _0_0) {
  54700. t1 = new A.SassString("slash", false);
  54701. break $label0$0;
  54702. }
  54703. t1 = new A.SassString("space", false);
  54704. break $label0$0;
  54705. }
  54706. return t1;
  54707. },
  54708. $signature: 18
  54709. };
  54710. A._isBracketed_closure.prototype = {
  54711. call$1($arguments) {
  54712. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  54713. },
  54714. $signature: 11
  54715. };
  54716. A._slash_closure.prototype = {
  54717. call$1($arguments) {
  54718. var list = J.$index$asx($arguments, 0).get$asList();
  54719. if (list.length < 2)
  54720. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  54721. return A.SassList$(list, B.ListSeparator_bRz, false);
  54722. },
  54723. $signature: 26
  54724. };
  54725. A._get_closure.prototype = {
  54726. call$1($arguments) {
  54727. var value,
  54728. t1 = J.getInterceptor$asx($arguments),
  54729. map = t1.$index($arguments, 0).assertMap$1("map"),
  54730. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54731. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54732. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54733. value = map._map$_contents.$index(0, t1.get$current(t1));
  54734. if (!(value instanceof A.SassMap))
  54735. return B.C__SassNull;
  54736. }
  54737. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  54738. return t1 == null ? B.C__SassNull : t1;
  54739. },
  54740. $signature: 4
  54741. };
  54742. A._set_closure.prototype = {
  54743. call$1($arguments) {
  54744. var t1 = J.getInterceptor$asx($arguments);
  54745. 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);
  54746. },
  54747. $signature: 4
  54748. };
  54749. A._set__closure0.prototype = {
  54750. call$1(_) {
  54751. return J.$index$asx(this.$arguments, 2);
  54752. },
  54753. $signature: 42
  54754. };
  54755. A._set_closure0.prototype = {
  54756. call$1($arguments) {
  54757. var keys, t2, t3,
  54758. t1 = J.getInterceptor$asx($arguments),
  54759. map = t1.$index($arguments, 0).assertMap$1("map"),
  54760. _0_0 = t1.$index($arguments, 1).get$asList(),
  54761. _0_1 = _0_0.length;
  54762. if (_0_1 <= 0)
  54763. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  54764. if (_0_1 === 1)
  54765. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  54766. t1 = {};
  54767. keys = t1.value = null;
  54768. t2 = _0_1 >= 1;
  54769. if (t2) {
  54770. t3 = _0_1 - 1;
  54771. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  54772. t1.value = _0_0[t3];
  54773. }
  54774. if (t2)
  54775. return A._modify(map, keys, new A._set__closure(t1), true);
  54776. throw A.wrapException("[BUG] Unreachable code");
  54777. },
  54778. $signature: 4
  54779. };
  54780. A._set__closure.prototype = {
  54781. call$1(_) {
  54782. return this._box_0.value;
  54783. },
  54784. $signature: 42
  54785. };
  54786. A._merge_closure.prototype = {
  54787. call$1($arguments) {
  54788. var t2,
  54789. t1 = J.getInterceptor$asx($arguments),
  54790. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54791. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  54792. t1 = type$.Value;
  54793. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  54794. t2.addAll$1(0, map2._map$_contents);
  54795. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54796. },
  54797. $signature: 34
  54798. };
  54799. A._merge_closure0.prototype = {
  54800. call$1($arguments) {
  54801. var last, t2, keys, _null = null,
  54802. t1 = J.getInterceptor$asx($arguments),
  54803. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54804. _0_0 = t1.$index($arguments, 1).get$asList(),
  54805. _0_1 = _0_0.length;
  54806. if (_0_1 <= 0)
  54807. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  54808. if (_0_1 === 1)
  54809. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  54810. t1 = _0_1 >= 1;
  54811. last = _null;
  54812. if (t1) {
  54813. t2 = _0_1 - 1;
  54814. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  54815. last = _0_0[t2];
  54816. } else
  54817. keys = _null;
  54818. if (t1)
  54819. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  54820. throw A.wrapException("[BUG] Unreachable code");
  54821. },
  54822. $signature: 4
  54823. };
  54824. A._merge__closure.prototype = {
  54825. call$1(oldValue) {
  54826. var t1, t2,
  54827. nestedMap = oldValue.tryMap$0();
  54828. if (nestedMap == null)
  54829. return this.map2;
  54830. t1 = type$.Value;
  54831. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54832. t2.addAll$1(0, this.map2._map$_contents);
  54833. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54834. },
  54835. $signature: 455
  54836. };
  54837. A._deepMerge_closure.prototype = {
  54838. call$1($arguments) {
  54839. var t1 = J.getInterceptor$asx($arguments);
  54840. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  54841. },
  54842. $signature: 34
  54843. };
  54844. A._deepRemove_closure.prototype = {
  54845. call$1($arguments) {
  54846. var t1 = J.getInterceptor$asx($arguments),
  54847. map = t1.$index($arguments, 0).assertMap$1("map"),
  54848. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54849. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54850. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  54851. },
  54852. $signature: 4
  54853. };
  54854. A._deepRemove__closure.prototype = {
  54855. call$1(value) {
  54856. var t1, nestedMap, t2,
  54857. _0_0 = value.tryMap$0();
  54858. if (_0_0 != null) {
  54859. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  54860. nestedMap = _0_0;
  54861. } else {
  54862. nestedMap = null;
  54863. t1 = false;
  54864. }
  54865. if (t1) {
  54866. t1 = type$.Value;
  54867. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54868. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  54869. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54870. }
  54871. return value;
  54872. },
  54873. $signature: 42
  54874. };
  54875. A._remove_closure.prototype = {
  54876. call$1($arguments) {
  54877. return J.$index$asx($arguments, 0).assertMap$1("map");
  54878. },
  54879. $signature: 34
  54880. };
  54881. A._remove_closure0.prototype = {
  54882. call$1($arguments) {
  54883. var mutableMap, t3, _i,
  54884. t1 = J.getInterceptor$asx($arguments),
  54885. map = t1.$index($arguments, 0).assertMap$1("map"),
  54886. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54887. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54888. t1 = type$.Value;
  54889. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  54890. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  54891. mutableMap.remove$1(0, t2[_i]);
  54892. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54893. },
  54894. $signature: 34
  54895. };
  54896. A._keys_closure.prototype = {
  54897. call$1($arguments) {
  54898. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54899. return A.SassList$(t1.get$keys(t1), B.ListSeparator_qVN, false);
  54900. },
  54901. $signature: 26
  54902. };
  54903. A._values_closure.prototype = {
  54904. call$1($arguments) {
  54905. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54906. return A.SassList$(t1.get$values(t1), B.ListSeparator_qVN, false);
  54907. },
  54908. $signature: 26
  54909. };
  54910. A._hasKey_closure.prototype = {
  54911. call$1($arguments) {
  54912. var value,
  54913. t1 = J.getInterceptor$asx($arguments),
  54914. map = t1.$index($arguments, 0).assertMap$1("map"),
  54915. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54916. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54917. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54918. value = map._map$_contents.$index(0, t1.get$current(t1));
  54919. if (!(value instanceof A.SassMap))
  54920. return B.SassBoolean_false;
  54921. }
  54922. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  54923. },
  54924. $signature: 11
  54925. };
  54926. A._modify_modifyNestedMap.prototype = {
  54927. call$1(map) {
  54928. var nestedMap, _this = this,
  54929. t1 = type$.Value,
  54930. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  54931. t2 = _this.keyIterator,
  54932. key = t2.get$current(t2);
  54933. if (!t2.moveNext$0()) {
  54934. t2 = mutableMap.$index(0, key);
  54935. if (t2 == null)
  54936. t2 = B.C__SassNull;
  54937. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  54938. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54939. }
  54940. t2 = mutableMap.$index(0, key);
  54941. nestedMap = t2 == null ? null : t2.tryMap$0();
  54942. t2 = nestedMap == null;
  54943. if (t2 && !_this.addNesting)
  54944. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54945. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  54946. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54947. },
  54948. $signature: 451
  54949. };
  54950. A.global_closure.prototype = {
  54951. call$1($arguments) {
  54952. var t1,
  54953. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  54954. if (number.hasUnit$1("%"))
  54955. 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);
  54956. else
  54957. A.warnForDeprecation(string$.Globalm, B.Deprecation_1AX);
  54958. t1 = number.get$numeratorUnits(number);
  54959. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  54960. },
  54961. $signature: 24
  54962. };
  54963. A.module_closure0.prototype = {
  54964. call$1(value) {
  54965. return Math.abs(value);
  54966. },
  54967. $signature: 16
  54968. };
  54969. A._ceil_closure.prototype = {
  54970. call$1(value) {
  54971. return B.JSNumber_methods.ceil$0(value);
  54972. },
  54973. $signature: 16
  54974. };
  54975. A._clamp_closure.prototype = {
  54976. call$1($arguments) {
  54977. var t1 = J.getInterceptor$asx($arguments),
  54978. min = t1.$index($arguments, 0).assertNumber$1("min"),
  54979. number = t1.$index($arguments, 1).assertNumber$1("number"),
  54980. max = t1.$index($arguments, 2).assertNumber$1("max");
  54981. number.convertValueToMatch$3(min, "number", "min");
  54982. max.convertValueToMatch$3(min, "max", "min");
  54983. if (min.greaterThanOrEquals$1(max).value)
  54984. return min;
  54985. if (min.greaterThanOrEquals$1(number).value)
  54986. return min;
  54987. if (number.greaterThanOrEquals$1(max).value)
  54988. return max;
  54989. return number;
  54990. },
  54991. $signature: 24
  54992. };
  54993. A._floor_closure.prototype = {
  54994. call$1(value) {
  54995. return B.JSNumber_methods.floor$0(value);
  54996. },
  54997. $signature: 16
  54998. };
  54999. A._max_closure.prototype = {
  55000. call$1($arguments) {
  55001. var t1, t2, max, _i, number;
  55002. 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) {
  55003. number = t1[_i].assertNumber$0();
  55004. if (max == null || max.lessThan$1(number).value)
  55005. max = number;
  55006. }
  55007. if (max != null)
  55008. return max;
  55009. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55010. },
  55011. $signature: 24
  55012. };
  55013. A._min_closure.prototype = {
  55014. call$1($arguments) {
  55015. var t1, t2, min, _i, number;
  55016. 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) {
  55017. number = t1[_i].assertNumber$0();
  55018. if (min == null || min.greaterThan$1(number).value)
  55019. min = number;
  55020. }
  55021. if (min != null)
  55022. return min;
  55023. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55024. },
  55025. $signature: 24
  55026. };
  55027. A._round_closure.prototype = {
  55028. call$1(number) {
  55029. return B.JSNumber_methods.round$0(number);
  55030. },
  55031. $signature: 16
  55032. };
  55033. A._hypot_closure.prototype = {
  55034. call$1($arguments) {
  55035. var subtotal, i, i0, t3,
  55036. t1 = J.$index$asx($arguments, 0).get$asList(),
  55037. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  55038. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  55039. t1 = numbers.length;
  55040. if (t1 === 0)
  55041. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55042. for (subtotal = 0, i = 0; i < t1; i = i0) {
  55043. i0 = i + 1;
  55044. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  55045. }
  55046. t1 = Math.sqrt(subtotal);
  55047. t2 = numbers[0];
  55048. t3 = t2.get$numeratorUnits(t2);
  55049. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(t2), t3);
  55050. },
  55051. $signature: 24
  55052. };
  55053. A._hypot__closure.prototype = {
  55054. call$1(argument) {
  55055. return argument.assertNumber$0();
  55056. },
  55057. $signature: 450
  55058. };
  55059. A._log_closure.prototype = {
  55060. call$1($arguments) {
  55061. var base,
  55062. _s18_ = " to have no units.",
  55063. _null = null,
  55064. t1 = J.getInterceptor$asx($arguments),
  55065. number = t1.$index($arguments, 0).assertNumber$1("number");
  55066. if (number.get$hasUnits())
  55067. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55068. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55069. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55070. base = t1.$index($arguments, 1).assertNumber$1("base");
  55071. if (base.get$hasUnits())
  55072. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55073. else
  55074. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55075. },
  55076. $signature: 24
  55077. };
  55078. A._pow_closure.prototype = {
  55079. call$1($arguments) {
  55080. var t1 = J.getInterceptor$asx($arguments);
  55081. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55082. },
  55083. $signature: 24
  55084. };
  55085. A._atan2_closure.prototype = {
  55086. call$1($arguments) {
  55087. var t1 = J.getInterceptor$asx($arguments),
  55088. y = t1.$index($arguments, 0).assertNumber$1("y");
  55089. 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));
  55090. },
  55091. $signature: 24
  55092. };
  55093. A._compatible_closure.prototype = {
  55094. call$1($arguments) {
  55095. var t1 = J.getInterceptor$asx($arguments);
  55096. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55097. },
  55098. $signature: 11
  55099. };
  55100. A._isUnitless_closure.prototype = {
  55101. call$1($arguments) {
  55102. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55103. },
  55104. $signature: 11
  55105. };
  55106. A._unit_closure.prototype = {
  55107. call$1($arguments) {
  55108. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55109. },
  55110. $signature: 18
  55111. };
  55112. A._percentage_closure.prototype = {
  55113. call$1($arguments) {
  55114. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55115. number.assertNoUnits$1("number");
  55116. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55117. },
  55118. $signature: 24
  55119. };
  55120. A._randomFunction_closure.prototype = {
  55121. call$1($arguments) {
  55122. var limit, limitScalar,
  55123. t1 = J.getInterceptor$asx($arguments);
  55124. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55125. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55126. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55127. if (limit.get$hasUnits())
  55128. 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);
  55129. limitScalar = limit.assertInt$1("limit");
  55130. if (limitScalar < 1)
  55131. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55132. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55133. },
  55134. $signature: 24
  55135. };
  55136. A._div_closure.prototype = {
  55137. call$1($arguments) {
  55138. var t1 = J.getInterceptor$asx($arguments),
  55139. number1 = t1.$index($arguments, 0),
  55140. number2 = t1.$index($arguments, 1);
  55141. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55142. A.warn(string$.math_d);
  55143. return number1.dividedBy$1(number2);
  55144. },
  55145. $signature: 4
  55146. };
  55147. A._singleArgumentMathFunc_closure.prototype = {
  55148. call$1($arguments) {
  55149. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55150. },
  55151. $signature: 24
  55152. };
  55153. A._numberFunction_closure.prototype = {
  55154. call$1($arguments) {
  55155. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55156. t1 = this.transform.call$1(number._number$_value),
  55157. t2 = number.get$numeratorUnits(number);
  55158. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55159. },
  55160. $signature: 24
  55161. };
  55162. A._shared_closure.prototype = {
  55163. call$1($arguments) {
  55164. A.warnForDeprecation(string$.The_fe, B.Deprecation_hcg);
  55165. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55166. },
  55167. $signature: 11
  55168. };
  55169. A._shared_closure0.prototype = {
  55170. call$1($arguments) {
  55171. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55172. },
  55173. $signature: 18
  55174. };
  55175. A._shared_closure1.prototype = {
  55176. call$1($arguments) {
  55177. var t1 = J.getInterceptor$asx($arguments),
  55178. _0_0 = t1.$index($arguments, 0);
  55179. $label0$0: {
  55180. if (_0_0 instanceof A.SassArgumentList) {
  55181. t1 = "arglist";
  55182. break $label0$0;
  55183. }
  55184. if (_0_0 instanceof A.SassBoolean) {
  55185. t1 = "bool";
  55186. break $label0$0;
  55187. }
  55188. if (_0_0 instanceof A.SassColor) {
  55189. t1 = "color";
  55190. break $label0$0;
  55191. }
  55192. if (_0_0 instanceof A.SassList) {
  55193. t1 = "list";
  55194. break $label0$0;
  55195. }
  55196. if (_0_0 instanceof A.SassMap) {
  55197. t1 = "map";
  55198. break $label0$0;
  55199. }
  55200. if (B.C__SassNull === _0_0) {
  55201. t1 = "null";
  55202. break $label0$0;
  55203. }
  55204. if (_0_0 instanceof A.SassNumber) {
  55205. t1 = "number";
  55206. break $label0$0;
  55207. }
  55208. if (_0_0 instanceof A.SassFunction) {
  55209. t1 = "function";
  55210. break $label0$0;
  55211. }
  55212. if (_0_0 instanceof A.SassMixin) {
  55213. t1 = "mixin";
  55214. break $label0$0;
  55215. }
  55216. if (_0_0 instanceof A.SassCalculation) {
  55217. t1 = "calculation";
  55218. break $label0$0;
  55219. }
  55220. if (_0_0 instanceof A.SassString) {
  55221. t1 = "string";
  55222. break $label0$0;
  55223. }
  55224. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55225. }
  55226. return new A.SassString(t1, false);
  55227. },
  55228. $signature: 18
  55229. };
  55230. A._shared_closure2.prototype = {
  55231. call$1($arguments) {
  55232. var t2, t3, t4,
  55233. t1 = J.getInterceptor$asx($arguments),
  55234. _1_0 = t1.$index($arguments, 0);
  55235. if (_1_0 instanceof A.SassArgumentList) {
  55236. _1_0._wereKeywordsAccessed = true;
  55237. t1 = type$.Value;
  55238. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55239. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55240. t4 = t3.get$current(t3);
  55241. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55242. }
  55243. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55244. } else
  55245. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55246. },
  55247. $signature: 34
  55248. };
  55249. A.moduleFunctions_closure.prototype = {
  55250. call$1($arguments) {
  55251. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55252. },
  55253. $signature: 18
  55254. };
  55255. A.moduleFunctions_closure0.prototype = {
  55256. call$1($arguments) {
  55257. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55258. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55259. },
  55260. $signature: 26
  55261. };
  55262. A.moduleFunctions__closure.prototype = {
  55263. call$1(argument) {
  55264. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55265. },
  55266. $signature: 447
  55267. };
  55268. A.moduleFunctions_closure1.prototype = {
  55269. call$1($arguments) {
  55270. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  55271. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55272. _0_0 = mixin.callable;
  55273. $label0$0: {
  55274. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55275. if (_0_2_isSet) {
  55276. _0_2 = _0_0.get$acceptsContent();
  55277. acceptsContent = _0_2;
  55278. } else
  55279. acceptsContent = null;
  55280. if (!_0_2_isSet) {
  55281. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55282. if (_0_2_isSet) {
  55283. _0_2 = _0_0.acceptsContent;
  55284. acceptsContent = _0_2;
  55285. }
  55286. t1 = _0_2_isSet;
  55287. } else
  55288. t1 = true;
  55289. if (t1) {
  55290. t1 = acceptsContent;
  55291. break $label0$0;
  55292. }
  55293. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55294. if (_0_5_isSet) {
  55295. _0_5 = _0_0.declaration;
  55296. t1 = _0_5 instanceof A.MixinRule;
  55297. } else {
  55298. _0_5 = null;
  55299. t1 = false;
  55300. }
  55301. if (t1) {
  55302. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55303. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55304. t1 = hasContent;
  55305. break $label0$0;
  55306. }
  55307. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55308. }
  55309. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55310. },
  55311. $signature: 11
  55312. };
  55313. A._nest_closure.prototype = {
  55314. call$1($arguments) {
  55315. var t1 = {},
  55316. selectors = J.$index$asx($arguments, 0).get$asList();
  55317. if (selectors.length === 0)
  55318. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55319. t1.first = true;
  55320. 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();
  55321. },
  55322. $signature: 26
  55323. };
  55324. A._nest__closure.prototype = {
  55325. call$1(selector) {
  55326. var t1 = this._box_0,
  55327. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55328. t1.first = false;
  55329. return result;
  55330. },
  55331. $signature: 142
  55332. };
  55333. A._nest__closure0.prototype = {
  55334. call$2($parent, child) {
  55335. return child.nestWithin$1($parent);
  55336. },
  55337. $signature: 143
  55338. };
  55339. A._append_closure.prototype = {
  55340. call$1($arguments) {
  55341. var t1,
  55342. selectors = J.$index$asx($arguments, 0).get$asList();
  55343. if (selectors.length === 0)
  55344. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55345. t1 = A.EvaluationContext_currentOrNull();
  55346. 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();
  55347. },
  55348. $signature: 26
  55349. };
  55350. A._append__closure.prototype = {
  55351. call$1(selector) {
  55352. return A.SassApiValue_assertSelector(selector, false, null);
  55353. },
  55354. $signature: 142
  55355. };
  55356. A._append__closure0.prototype = {
  55357. call$2($parent, child) {
  55358. var t1 = child.components,
  55359. t2 = this.span;
  55360. 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);
  55361. },
  55362. $signature: 143
  55363. };
  55364. A._append___closure.prototype = {
  55365. call$1(complex) {
  55366. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55367. if (complex.leadingCombinators.length !== 0)
  55368. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55369. _0_0 = complex.components;
  55370. t1 = _0_0.length >= 1;
  55371. if (t1) {
  55372. component = _0_0[0];
  55373. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55374. } else {
  55375. rest = _null;
  55376. component = rest;
  55377. }
  55378. if (!t1)
  55379. throw A.wrapException(A.StateError$("Pattern matching error"));
  55380. newCompound = A._prependParent(component.selector);
  55381. if (newCompound == null)
  55382. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55383. t1 = this.span;
  55384. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55385. B.JSArray_methods.addAll$1(t2, rest);
  55386. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55387. },
  55388. $signature: 62
  55389. };
  55390. A._extend_closure.prototype = {
  55391. call$1($arguments) {
  55392. var target, source,
  55393. _s8_ = "selector",
  55394. _s8_0 = "extendee",
  55395. _s8_1 = "extender",
  55396. t1 = J.getInterceptor$asx($arguments),
  55397. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55398. selector.assertNotBogus$1$name(_s8_);
  55399. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55400. target.assertNotBogus$1$name(_s8_0);
  55401. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55402. source.assertNotBogus$1$name(_s8_1);
  55403. t1 = A.EvaluationContext_currentOrNull();
  55404. 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();
  55405. },
  55406. $signature: 26
  55407. };
  55408. A._replace_closure.prototype = {
  55409. call$1($arguments) {
  55410. var target, source,
  55411. _s8_ = "selector",
  55412. _s8_0 = "original",
  55413. _s11_ = "replacement",
  55414. t1 = J.getInterceptor$asx($arguments),
  55415. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55416. selector.assertNotBogus$1$name(_s8_);
  55417. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55418. target.assertNotBogus$1$name(_s8_0);
  55419. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55420. source.assertNotBogus$1$name(_s11_);
  55421. t1 = A.EvaluationContext_currentOrNull();
  55422. 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();
  55423. },
  55424. $signature: 26
  55425. };
  55426. A._unify_closure.prototype = {
  55427. call$1($arguments) {
  55428. var selector2,
  55429. _s9_ = "selector1",
  55430. _s9_0 = "selector2",
  55431. t1 = J.getInterceptor$asx($arguments),
  55432. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55433. selector1.assertNotBogus$1$name(_s9_);
  55434. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55435. selector2.assertNotBogus$1$name(_s9_0);
  55436. t1 = selector1.unify$1(selector2);
  55437. t1 = t1 == null ? null : t1.get$asSassList();
  55438. return t1 == null ? B.C__SassNull : t1;
  55439. },
  55440. $signature: 4
  55441. };
  55442. A._isSuperselector_closure.prototype = {
  55443. call$1($arguments) {
  55444. var selector2,
  55445. t1 = J.getInterceptor$asx($arguments),
  55446. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55447. selector1.assertNotBogus$1$name("super");
  55448. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55449. selector2.assertNotBogus$1$name("sub");
  55450. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55451. },
  55452. $signature: 11
  55453. };
  55454. A._simpleSelectors_closure.prototype = {
  55455. call$1($arguments) {
  55456. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55457. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55458. },
  55459. $signature: 26
  55460. };
  55461. A._simpleSelectors__closure.prototype = {
  55462. call$1(simple) {
  55463. return new A.SassString(A.serializeSelector(simple, true), false);
  55464. },
  55465. $signature: 446
  55466. };
  55467. A._parse_closure.prototype = {
  55468. call$1($arguments) {
  55469. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55470. },
  55471. $signature: 26
  55472. };
  55473. A.module_closure.prototype = {
  55474. call$1($arguments) {
  55475. var limit, t2, chunks, i, lastEnd, match, t3,
  55476. t1 = J.getInterceptor$asx($arguments),
  55477. string = t1.$index($arguments, 0).assertString$1("string"),
  55478. separator = t1.$index($arguments, 1).assertString$1("separator");
  55479. t1 = t1.$index($arguments, 2).get$realNull();
  55480. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55481. if (limit != null && limit < 1)
  55482. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55483. t1 = string._string$_text;
  55484. if (t1.length === 0)
  55485. return B.SassList_qAD;
  55486. else {
  55487. t2 = separator._string$_text;
  55488. if (t2.length === 0)
  55489. 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);
  55490. }
  55491. chunks = A._setArrayType([], type$.JSArray_String);
  55492. 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();) {
  55493. match = t2.__js_helper$_current;
  55494. t3 = match.start;
  55495. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55496. lastEnd = t3 + match.pattern.length;
  55497. ++i;
  55498. if (i === limit)
  55499. break;
  55500. }
  55501. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55502. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_qVN, true);
  55503. },
  55504. $signature: 26
  55505. };
  55506. A.module__closure.prototype = {
  55507. call$1(rune) {
  55508. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55509. },
  55510. $signature: 443
  55511. };
  55512. A.module__closure0.prototype = {
  55513. call$1(chunk) {
  55514. return new A.SassString(chunk, this.string._hasQuotes);
  55515. },
  55516. $signature: 442
  55517. };
  55518. A._unquote_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, false);
  55524. },
  55525. $signature: 18
  55526. };
  55527. A._quote_closure.prototype = {
  55528. call$1($arguments) {
  55529. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55530. if (string._hasQuotes)
  55531. return string;
  55532. return new A.SassString(string._string$_text, true);
  55533. },
  55534. $signature: 18
  55535. };
  55536. A._length_closure.prototype = {
  55537. call$1($arguments) {
  55538. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55539. },
  55540. $signature: 24
  55541. };
  55542. A._insert_closure.prototype = {
  55543. call$1($arguments) {
  55544. var indexInt, codeUnitIndex, _s5_ = "index",
  55545. t1 = J.getInterceptor$asx($arguments),
  55546. string = t1.$index($arguments, 0).assertString$1("string"),
  55547. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55548. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55549. index.assertNoUnits$1(_s5_);
  55550. indexInt = index.assertInt$1(_s5_);
  55551. if (indexInt < 0)
  55552. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55553. t1 = string._string$_text;
  55554. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55555. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55556. },
  55557. $signature: 18
  55558. };
  55559. A._index_closure.prototype = {
  55560. call$1($arguments) {
  55561. var t1 = J.getInterceptor$asx($arguments),
  55562. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55563. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55564. if (codeUnitIndex === -1)
  55565. return B.C__SassNull;
  55566. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55567. },
  55568. $signature: 4
  55569. };
  55570. A._slice_closure.prototype = {
  55571. call$1($arguments) {
  55572. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55573. _s8_ = "start-at",
  55574. t1 = J.getInterceptor$asx($arguments),
  55575. string = t1.$index($arguments, 0).assertString$1("string"),
  55576. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55577. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55578. start.assertNoUnits$1(_s8_);
  55579. end.assertNoUnits$1("end-at");
  55580. lengthInCodepoints = string.get$_sassLength();
  55581. endInt = end.assertInt$0();
  55582. if (endInt === 0)
  55583. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55584. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55585. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55586. if (endCodepoint === lengthInCodepoints)
  55587. --endCodepoint;
  55588. if (endCodepoint < startCodepoint)
  55589. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55590. t1 = string._string$_text;
  55591. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55592. },
  55593. $signature: 18
  55594. };
  55595. A._toUpperCase_closure.prototype = {
  55596. call$1($arguments) {
  55597. var t1, t2, i, t3, t4,
  55598. string = J.$index$asx($arguments, 0).assertString$1("string");
  55599. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55600. t4 = t1.charCodeAt(i);
  55601. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55602. }
  55603. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55604. },
  55605. $signature: 18
  55606. };
  55607. A._toLowerCase_closure.prototype = {
  55608. call$1($arguments) {
  55609. var t1, t2, i, t3, t4,
  55610. string = J.$index$asx($arguments, 0).assertString$1("string");
  55611. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55612. t4 = t1.charCodeAt(i);
  55613. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55614. }
  55615. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55616. },
  55617. $signature: 18
  55618. };
  55619. A._uniqueId_closure.prototype = {
  55620. call$1($arguments) {
  55621. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55622. $._previousUniqueId = t1;
  55623. if (t1 > Math.pow(36, 6))
  55624. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55625. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55626. },
  55627. $signature: 18
  55628. };
  55629. A.ImportCache.prototype = {
  55630. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55631. 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;
  55632. if (A.isBrowser())
  55633. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55634. else
  55635. t1 = false;
  55636. if (t1)
  55637. throw A.wrapException(string$.Custom);
  55638. if (baseImporter != null && url.get$scheme() === "") {
  55639. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55640. if (resolvedUrl == null)
  55641. resolvedUrl = url;
  55642. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55643. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55644. if (relativeResult != null)
  55645. return relativeResult;
  55646. }
  55647. key = new A._Record_2_forImport(url, forImport);
  55648. t1 = _this._canonicalizeCache;
  55649. if (t1.containsKey$1(key))
  55650. return t1.$index(0, key);
  55651. 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) {
  55652. importer = t2[i];
  55653. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55654. if (t4.containsKey$1(perImporterKey)) {
  55655. t7 = t4.$index(0, perImporterKey);
  55656. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55657. } else
  55658. _1_0 = _null;
  55659. _1_2_isSet = t3._is(_1_0);
  55660. result = _null;
  55661. if (_1_2_isSet) {
  55662. _1_2 = _1_0._0;
  55663. t7 = _1_2 != null;
  55664. if (t7) {
  55665. t6._as(_1_2);
  55666. result = _1_2;
  55667. }
  55668. } else {
  55669. _1_2 = _null;
  55670. t7 = false;
  55671. }
  55672. if (t7)
  55673. return result;
  55674. if (_1_2_isSet)
  55675. t7 = _1_2 == null;
  55676. else
  55677. t7 = false;
  55678. if (t7)
  55679. continue;
  55680. $label0$1: {
  55681. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  55682. _2_1 = _2_0._0;
  55683. _2_5_isSet = _2_1 != null;
  55684. _2_5 = _null;
  55685. _2_3 = _null;
  55686. t7 = false;
  55687. if (_2_5_isSet) {
  55688. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  55689. _2_3 = _2_0._1;
  55690. t7 = _2_3;
  55691. _2_5 = t7;
  55692. t7 = t7 && cacheable;
  55693. } else
  55694. result = _null;
  55695. if (t7) {
  55696. t1.$indexSet(0, key, result);
  55697. return result;
  55698. }
  55699. if (_2_5_isSet) {
  55700. t7 = _2_5;
  55701. _2_3_isSet = _2_5_isSet;
  55702. } else {
  55703. _2_3 = _2_0._1;
  55704. t7 = _2_3;
  55705. _2_3_isSet = true;
  55706. }
  55707. t7 = t7 && !cacheable;
  55708. if (t7) {
  55709. t4.$indexSet(0, perImporterKey, _2_1);
  55710. if (_2_1 != null)
  55711. return _2_1;
  55712. break $label0$1;
  55713. }
  55714. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  55715. if (t7) {
  55716. if (cacheable) {
  55717. for (j = 0; j < i; ++j)
  55718. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  55719. cacheable = false;
  55720. }
  55721. if (_2_1 != null)
  55722. return _2_1;
  55723. }
  55724. }
  55725. }
  55726. if (cacheable)
  55727. t1.$indexSet(0, key, _null);
  55728. return _null;
  55729. },
  55730. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  55731. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  55732. },
  55733. _canonicalize$4(importer, url, baseUrl, forImport) {
  55734. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  55735. if (baseUrl != null)
  55736. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  55737. else
  55738. passContainingUrl = false;
  55739. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  55740. t1 = type$.nullable_Object;
  55741. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  55742. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  55743. if (result == null)
  55744. return new A._Record_2(null, cacheable);
  55745. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  55746. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  55747. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  55748. },
  55749. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  55750. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  55751. },
  55752. importCanonical$2(importer, canonicalUrl) {
  55753. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  55754. },
  55755. humanize$1(canonicalUrl) {
  55756. var t1 = this._canonicalizeCache,
  55757. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  55758. 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));
  55759. return t2 == null ? canonicalUrl : t2;
  55760. },
  55761. sourceMapUrl$1(_, canonicalUrl) {
  55762. var t1 = this._resultsCache.$index(0, canonicalUrl);
  55763. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  55764. return t1 == null ? canonicalUrl : t1;
  55765. },
  55766. clearCanonicalize$1(canonicalUrl) {
  55767. var t1, t2, t3, t4, _i, key, t5, t6, _i0;
  55768. 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) {
  55769. key = t2[_i];
  55770. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  55771. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  55772. t1.remove$1(0, key);
  55773. break;
  55774. }
  55775. }
  55776. 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) {
  55777. key = t2[_i];
  55778. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  55779. t1.remove$1(0, key);
  55780. }
  55781. },
  55782. clearImport$1(canonicalUrl) {
  55783. this._resultsCache.remove$1(0, canonicalUrl);
  55784. this._importCache.remove$1(0, canonicalUrl);
  55785. }
  55786. };
  55787. A.ImportCache_canonicalize_closure.prototype = {
  55788. call$0() {
  55789. var _this = this,
  55790. t1 = _this.$this,
  55791. t2 = _this.baseUrl,
  55792. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  55793. if (t2 != null)
  55794. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  55795. return _0_0._0;
  55796. },
  55797. $signature: 128
  55798. };
  55799. A.ImportCache__canonicalize_closure.prototype = {
  55800. call$0() {
  55801. return this.importer.canonicalize$1(0, this.url);
  55802. },
  55803. $signature: 148
  55804. };
  55805. A.ImportCache_importCanonical_closure.prototype = {
  55806. call$0() {
  55807. var t3, t4, _this = this,
  55808. t1 = Date.now(),
  55809. t2 = _this.canonicalUrl,
  55810. result = _this.importer.load$1(0, t2);
  55811. if (result == null)
  55812. return null;
  55813. t3 = _this.$this;
  55814. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  55815. t3._resultsCache.$indexSet(0, t2, result);
  55816. t3 = result.contents;
  55817. t1 = result.syntax;
  55818. t4 = _this.originalUrl;
  55819. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  55820. },
  55821. $signature: 82
  55822. };
  55823. A.ImportCache_humanize_closure.prototype = {
  55824. call$1(result) {
  55825. return result._1.$eq(0, this.canonicalUrl);
  55826. },
  55827. $signature: 439
  55828. };
  55829. A.ImportCache_humanize_closure0.prototype = {
  55830. call$1(result) {
  55831. return result._2;
  55832. },
  55833. $signature: 438
  55834. };
  55835. A.ImportCache_humanize_closure1.prototype = {
  55836. call$1(url) {
  55837. return url.get$path(url).length;
  55838. },
  55839. $signature: 102
  55840. };
  55841. A.ImportCache_humanize_closure2.prototype = {
  55842. call$1(url) {
  55843. var t1 = $.$get$url(),
  55844. t2 = this.canonicalUrl;
  55845. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  55846. },
  55847. $signature: 51
  55848. };
  55849. A.Importer.prototype = {
  55850. modificationTime$1(url) {
  55851. return new A.DateTime(Date.now(), 0, false);
  55852. },
  55853. couldCanonicalize$2(url, canonicalUrl) {
  55854. return true;
  55855. },
  55856. isNonCanonicalScheme$1(scheme) {
  55857. return false;
  55858. }
  55859. };
  55860. A.AsyncImporter.prototype = {};
  55861. A.CanonicalizeContext.prototype = {};
  55862. A.FilesystemImporter.prototype = {
  55863. canonicalize$1(_, url) {
  55864. var resolved, _0_0;
  55865. if (url.get$scheme() === "file")
  55866. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55867. else if (url.get$scheme() !== "")
  55868. return null;
  55869. else {
  55870. _0_0 = this._loadPath;
  55871. if (_0_0 != null) {
  55872. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  55873. if (resolved != null && this._loadPathDeprecated)
  55874. A.warnForDeprecation(string$.Using_t, B.Deprecation_tms);
  55875. } else
  55876. return null;
  55877. }
  55878. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  55879. },
  55880. load$1(_, url) {
  55881. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  55882. t1 = A.readFile(path),
  55883. t2 = A.Syntax_forPath(path),
  55884. t3 = url.get$scheme();
  55885. if (t3 === "")
  55886. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  55887. return new A.ImporterResult(t1, url, t2);
  55888. },
  55889. modificationTime$1(url) {
  55890. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55891. },
  55892. couldCanonicalize$2(url, canonicalUrl) {
  55893. var t1, t2, basename, canonicalBasename;
  55894. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  55895. return false;
  55896. if (canonicalUrl.get$scheme() !== "file")
  55897. return false;
  55898. t1 = $.$get$url();
  55899. t2 = t1.style;
  55900. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  55901. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  55902. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  55903. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  55904. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  55905. },
  55906. toString$0(_) {
  55907. var t1 = this._loadPath;
  55908. return t1 == null ? "<absolute file importer>" : t1;
  55909. }
  55910. };
  55911. A.FilesystemImporter_canonicalize_closure.prototype = {
  55912. call$1(resolved) {
  55913. var t2, t0, _null = null,
  55914. t1 = A.isNodeJs() ? self.process : _null;
  55915. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  55916. t1 = A.isNodeJs() ? self.process : _null;
  55917. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  55918. } else
  55919. t1 = true;
  55920. if (t1) {
  55921. t1 = $.$get$context();
  55922. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  55923. t0 = t2;
  55924. t2 = t1;
  55925. t1 = t0;
  55926. } else {
  55927. t1 = $.$get$context();
  55928. t2 = t1.canonicalize$1(0, resolved);
  55929. t0 = t2;
  55930. t2 = t1;
  55931. t1 = t0;
  55932. }
  55933. return t2.toUri$1(t1);
  55934. },
  55935. $signature: 131
  55936. };
  55937. A.NoOpImporter.prototype = {};
  55938. A.NodePackageImporter.prototype = {
  55939. isNonCanonicalScheme$1(scheme) {
  55940. return scheme === "pkg";
  55941. },
  55942. canonicalize$1(_, url) {
  55943. 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;
  55944. if (url.get$scheme() === "file")
  55945. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  55946. if (url.get$scheme() !== "pkg")
  55947. return _null;
  55948. if (url.get$hasAuthority())
  55949. throw A.wrapException(string$.A_pkg_h);
  55950. else {
  55951. t1 = $.$get$url();
  55952. t2 = t1.style;
  55953. if (t2.rootLength$1(url.get$path(url)) > 0)
  55954. throw A.wrapException("A pkg: URL's path must not begin with /.");
  55955. else if (url.get$path(url).length === 0)
  55956. throw A.wrapException("A pkg: URL must not have an empty path.");
  55957. else if (url.get$hasQuery() || url.get$hasFragment())
  55958. throw A.wrapException(string$.A_pkg_q);
  55959. }
  55960. t3 = A.canonicalizeContext();
  55961. t3._wasContainingUrlAccessed = true;
  55962. t3 = t3._containingUrl;
  55963. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  55964. t3 = A.canonicalizeContext();
  55965. t3._wasContainingUrlAccessed = true;
  55966. t3 = t3._containingUrl;
  55967. t3.toString;
  55968. t4 = $.$get$context();
  55969. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  55970. } else {
  55971. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  55972. t3 === $ && A.throwUnnamedLateFieldNI();
  55973. baseDirectory = t3;
  55974. }
  55975. packageName = null;
  55976. parts = t1.split$1(0, url.get$path(url));
  55977. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  55978. t4 = $.$get$context();
  55979. t3.toString;
  55980. t5 = t4.style;
  55981. $name = t5.pathFromUri$1(A._parseUri(t3));
  55982. if (B.JSString_methods.startsWith$1($name, "@"))
  55983. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  55984. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  55985. packageName = $name;
  55986. t1 = true;
  55987. if (!J.startsWith$1$s(packageName, "."))
  55988. if (!J.contains$1$asx(packageName, "\\"))
  55989. if (!J.contains$1$asx(packageName, "%"))
  55990. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  55991. if (t1)
  55992. return _null;
  55993. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  55994. if (packageRoot == null)
  55995. return _null;
  55996. jsonPath = A.join(packageRoot, "package.json", _null);
  55997. jsonString = A.readFile(jsonPath);
  55998. packageManifest = null;
  55999. try {
  56000. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  56001. } catch (exception) {
  56002. e = A.unwrapException(exception);
  56003. t1 = A.S(jsonPath);
  56004. t2 = A.S(packageName);
  56005. t3 = A.S(e);
  56006. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  56007. }
  56008. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  56009. if (_1_0 != null)
  56010. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  56011. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  56012. else {
  56013. t1 = subpath == null ? "root" : subpath;
  56014. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  56015. }
  56016. if (subpath == null) {
  56017. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  56018. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  56019. }
  56020. subpathInRoot = A.join(packageRoot, subpath, _null);
  56021. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  56022. },
  56023. load$1(_, url) {
  56024. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  56025. },
  56026. _resolvePackageRoot$2(packageName, baseDirectory) {
  56027. var potentialPackage, t1;
  56028. for (; true;) {
  56029. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  56030. if (A.dirExists(potentialPackage))
  56031. return potentialPackage;
  56032. t1 = $.$get$context();
  56033. if (t1.split$1(0, baseDirectory).length === 1)
  56034. return null;
  56035. baseDirectory = t1.dirname$1(baseDirectory);
  56036. }
  56037. },
  56038. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  56039. var t1, sassValue, _1_0, styleValue, _null = null,
  56040. _0_0 = packageManifest.$index(0, "sass");
  56041. if (typeof _0_0 == "string") {
  56042. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56043. sassValue = _0_0;
  56044. } else {
  56045. sassValue = _null;
  56046. t1 = false;
  56047. }
  56048. if (t1)
  56049. return A.join(packageRoot, sassValue, _null);
  56050. else {
  56051. _1_0 = packageManifest.$index(0, "style");
  56052. if (typeof _1_0 == "string") {
  56053. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56054. styleValue = _1_0;
  56055. } else {
  56056. styleValue = _null;
  56057. t1 = false;
  56058. }
  56059. if (t1)
  56060. return A.join(packageRoot, styleValue, _null);
  56061. }
  56062. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56063. },
  56064. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56065. var _0_0, _1_0, _this = this,
  56066. exports = packageManifest.$index(0, "exports");
  56067. if (exports == null)
  56068. return null;
  56069. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56070. if (_0_0 != null)
  56071. return _0_0;
  56072. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56073. return null;
  56074. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56075. if (_1_0 != null)
  56076. return _1_0;
  56077. return null;
  56078. },
  56079. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56080. var t1, matches, _1_1, path;
  56081. 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()))
  56082. 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) + ".");
  56083. t1 = type$.NonNullsIterable_String;
  56084. 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"));
  56085. $label0$1: {
  56086. _1_1 = matches.length;
  56087. if (_1_1 === 1) {
  56088. path = matches[0];
  56089. t1 = path;
  56090. break $label0$1;
  56091. }
  56092. if (_1_1 <= 0) {
  56093. t1 = null;
  56094. break $label0$1;
  56095. }
  56096. t1 = subpath == null ? "root" : subpath;
  56097. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56098. }
  56099. return t1;
  56100. },
  56101. _compareExpansionKeys$2(keyA, keyB) {
  56102. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56103. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56104. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56105. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56106. if (baseLengthA > baseLengthB)
  56107. return -1;
  56108. if (baseLengthB > baseLengthA)
  56109. return 1;
  56110. if (!t1)
  56111. return 1;
  56112. if (!t2)
  56113. return -1;
  56114. t1 = keyA.length;
  56115. t2 = keyB.length;
  56116. if (t1 > t2)
  56117. return -1;
  56118. if (t2 > t1)
  56119. return 1;
  56120. return 0;
  56121. },
  56122. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56123. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56124. t1 = typeof exports == "string";
  56125. if (t1) {
  56126. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56127. string = exports;
  56128. } else {
  56129. string = _null;
  56130. t2 = false;
  56131. }
  56132. if (t2)
  56133. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56134. if (t1) {
  56135. t2 = patternMatch != null;
  56136. string = exports;
  56137. } else {
  56138. string = _null;
  56139. t2 = false;
  56140. }
  56141. if (t2) {
  56142. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56143. t2 = $.$get$context();
  56144. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56145. return A.fileExists(path) ? path : _null;
  56146. }
  56147. string = t1 ? exports : _null;
  56148. if (t1) {
  56149. t1 = $.$get$context();
  56150. string.toString;
  56151. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56152. }
  56153. t1 = type$.Map_String_dynamic._is(exports);
  56154. map = t1 ? exports : _null;
  56155. if (t1) {
  56156. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56157. t2 = t1.get$current(t1);
  56158. key = t2._0;
  56159. value = t2._1;
  56160. if (!B.Set_8229z.contains$1(0, key))
  56161. continue;
  56162. if (value == null)
  56163. continue;
  56164. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56165. if (_1_0 != null)
  56166. return _1_0;
  56167. }
  56168. return _null;
  56169. }
  56170. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  56171. return _null;
  56172. t1 = type$.List_dynamic._is(exports);
  56173. array = t1 ? exports : _null;
  56174. if (t1) {
  56175. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56176. value = t1.get$current(t1);
  56177. if (value == null)
  56178. continue;
  56179. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56180. if (_2_0 != null)
  56181. return _2_0;
  56182. }
  56183. return _null;
  56184. }
  56185. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56186. },
  56187. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56188. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56189. },
  56190. _getMainExport$1(exports) {
  56191. var t1, t2, t3, map, _0_4, t4, $export;
  56192. $label0$0: {
  56193. t1 = null;
  56194. if (typeof exports == "string") {
  56195. t1 = exports;
  56196. break $label0$0;
  56197. }
  56198. if (type$.List_String._is(exports)) {
  56199. t1 = exports;
  56200. break $label0$0;
  56201. }
  56202. t2 = type$.Map_String_dynamic._is(exports);
  56203. if (t2) {
  56204. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  56205. map = exports;
  56206. } else {
  56207. map = t1;
  56208. t3 = false;
  56209. }
  56210. if (t3) {
  56211. t1 = map;
  56212. break $label0$0;
  56213. }
  56214. t3 = false;
  56215. if (t2) {
  56216. _0_4 = exports.$index(0, ".");
  56217. if (_0_4 == null)
  56218. t4 = exports.containsKey$1(".");
  56219. else
  56220. t4 = true;
  56221. if (t4)
  56222. t3 = _0_4 != null;
  56223. } else
  56224. _0_4 = null;
  56225. if (t3) {
  56226. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  56227. t1 = $export;
  56228. break $label0$0;
  56229. }
  56230. break $label0$0;
  56231. }
  56232. return t1;
  56233. },
  56234. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56235. var basename, dirname, t3, t4, _i, path,
  56236. t1 = type$.JSArray_String,
  56237. paths = A._setArrayType([], t1),
  56238. t2 = subpath == null;
  56239. if (t2 && addIndex)
  56240. subpath = "index";
  56241. else if (!t2 && addIndex)
  56242. subpath = A.join(subpath, "index", null);
  56243. if (subpath == null)
  56244. return A._setArrayType([null], type$.JSArray_nullable_String);
  56245. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56246. paths.push(subpath);
  56247. else
  56248. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56249. t1 = $.$get$context();
  56250. t2 = t1.style;
  56251. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56252. dirname = t1.dirname$1(subpath);
  56253. if (B.JSString_methods.startsWith$1(basename, "_"))
  56254. return paths;
  56255. t1 = A.List_List$of(paths, true, type$.nullable_String);
  56256. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56257. path = paths[_i];
  56258. if (t4)
  56259. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56260. else
  56261. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56262. }
  56263. return t1;
  56264. },
  56265. _exportsToCheck$1(subpath) {
  56266. return this._exportsToCheck$2$addIndex(subpath, false);
  56267. }
  56268. };
  56269. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56270. call$1(key) {
  56271. return B.JSString_methods.startsWith$1(key, ".");
  56272. },
  56273. $signature: 5
  56274. };
  56275. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56276. call$1(key) {
  56277. return !B.JSString_methods.startsWith$1(key, ".");
  56278. },
  56279. $signature: 5
  56280. };
  56281. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56282. call$1(key) {
  56283. return '"' + key + '"';
  56284. },
  56285. $signature: 6
  56286. };
  56287. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56288. call$1(variant) {
  56289. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  56290. if (variant == null) {
  56291. t1 = _this.$this;
  56292. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56293. } else {
  56294. t1 = _this.exports;
  56295. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  56296. return _null;
  56297. }
  56298. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56299. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56300. t1 = J.$index$asx(t1, matchKey);
  56301. if (t1 == null)
  56302. t1 = type$.Object._as(t1);
  56303. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56304. }
  56305. t2 = A._setArrayType([], type$.JSArray_String);
  56306. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  56307. t5 = t4.get$current(t4);
  56308. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  56309. t2.push(t5);
  56310. }
  56311. t4 = _this.$this;
  56312. B.JSArray_methods.sort$1(t2, t4.get$_compareExpansionKeys());
  56313. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56314. expansionKey = t2[_i];
  56315. _0_0 = expansionKey.split("*");
  56316. t7 = _0_0.length === 2;
  56317. if (t7) {
  56318. patternBase = _0_0[0];
  56319. patternTrailer = _0_0[1];
  56320. } else {
  56321. patternTrailer = _null;
  56322. patternBase = patternTrailer;
  56323. }
  56324. if (!t7)
  56325. throw A.wrapException(A.StateError$("Pattern matching error"));
  56326. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56327. continue;
  56328. if (matchKey === patternBase)
  56329. continue;
  56330. t7 = patternTrailer.length;
  56331. if (t7 !== 0)
  56332. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  56333. else
  56334. t8 = true;
  56335. if (t8) {
  56336. target = t3.$index(t1, expansionKey);
  56337. if (target == null)
  56338. continue;
  56339. return t4._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  56340. }
  56341. }
  56342. return _null;
  56343. },
  56344. $signature: 154
  56345. };
  56346. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56347. call$1(mainExport) {
  56348. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56349. },
  56350. $signature: 155
  56351. };
  56352. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56353. call$1(key) {
  56354. return !B.JSString_methods.startsWith$1(key, ".");
  56355. },
  56356. $signature: 5
  56357. };
  56358. A.NodePackageImporter__getMainExport_closure.prototype = {
  56359. call$1(key) {
  56360. return B.JSString_methods.startsWith$1(key, ".");
  56361. },
  56362. $signature: 5
  56363. };
  56364. A.ImporterResult.prototype = {
  56365. get$sourceMapUrl(_) {
  56366. return this._sourceMapUrl;
  56367. }
  56368. };
  56369. A.resolveImportPath_closure.prototype = {
  56370. call$0() {
  56371. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56372. },
  56373. $signature: 49
  56374. };
  56375. A.resolveImportPath_closure0.prototype = {
  56376. call$0() {
  56377. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56378. },
  56379. $signature: 49
  56380. };
  56381. A._tryPathAsDirectory_closure.prototype = {
  56382. call$0() {
  56383. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56384. },
  56385. $signature: 49
  56386. };
  56387. A._exactlyOne_closure.prototype = {
  56388. call$1(path) {
  56389. var t1 = $.$get$context();
  56390. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56391. },
  56392. $signature: 6
  56393. };
  56394. A.InterpolationBuffer.prototype = {
  56395. writeCharCode$1(character) {
  56396. var t1 = this._interpolation_buffer$_text,
  56397. t2 = A.Primitives_stringFromCharCode(character);
  56398. t1._contents += t2;
  56399. return null;
  56400. },
  56401. add$2(_, expression, span) {
  56402. this._flushText$0();
  56403. this._interpolation_buffer$_contents.push(expression);
  56404. this._spans.push(span);
  56405. },
  56406. addInterpolation$1(interpolation) {
  56407. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  56408. toAdd = interpolation.contents,
  56409. t1 = toAdd.length;
  56410. if (t1 === 0)
  56411. return;
  56412. spansToAdd = interpolation.spans;
  56413. _0_4_isSet = t1 >= 1;
  56414. if (_0_4_isSet) {
  56415. _0_4 = toAdd[0];
  56416. _0_40 = _0_4;
  56417. t1 = typeof _0_4 == "string";
  56418. _0_4 = _0_40;
  56419. } else {
  56420. _0_4 = null;
  56421. t1 = false;
  56422. }
  56423. if (t1) {
  56424. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56425. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56426. t1 = _this._interpolation_buffer$_text;
  56427. t1._contents += first;
  56428. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56429. toAdd = rest;
  56430. }
  56431. _this._flushText$0();
  56432. t1 = _this._interpolation_buffer$_contents;
  56433. B.JSArray_methods.addAll$1(t1, toAdd);
  56434. t2 = _this._spans;
  56435. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56436. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56437. t3 = _this._interpolation_buffer$_text;
  56438. t1 = A.S(t1.pop());
  56439. t3._contents += t1;
  56440. t2.pop();
  56441. }
  56442. },
  56443. _flushText$0() {
  56444. var t1 = this._interpolation_buffer$_text,
  56445. t2 = t1._contents;
  56446. if (t2.length === 0)
  56447. return;
  56448. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56449. this._spans.push(null);
  56450. t1._contents = "";
  56451. },
  56452. interpolation$1(span) {
  56453. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  56454. t2 = this._interpolation_buffer$_text,
  56455. t3 = t2._contents;
  56456. if (t3.length !== 0)
  56457. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56458. t3 = A.List_List$of(this._spans, true, type$.nullable_FileSpan);
  56459. if (t2._contents.length !== 0)
  56460. t3.push(null);
  56461. return A.Interpolation$(t1, t3, span);
  56462. },
  56463. toString$0(_) {
  56464. var t1, t2, _i, t3, element;
  56465. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56466. element = t1[_i];
  56467. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56468. }
  56469. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56470. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56471. }
  56472. };
  56473. A.InterpolationMap.prototype = {
  56474. mapException$1(error) {
  56475. var source, startIndex, endIndex, t3, t4, _this = this,
  56476. target = error.get$span(error),
  56477. t1 = _this._interpolation,
  56478. t2 = t1.contents;
  56479. if (t2.length === 0)
  56480. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56481. source = _this.mapSpan$1(target);
  56482. startIndex = _this._indexInContents$1(target.get$start(target));
  56483. endIndex = _this._indexInContents$1(target.get$end(target));
  56484. t1 = error._span_exception$_message;
  56485. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56486. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56487. else {
  56488. t2 = type$.SourceSpan;
  56489. t3 = type$.String;
  56490. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56491. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56492. }
  56493. },
  56494. mapSpan$1(target) {
  56495. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  56496. _0_1 = _this._mapLocation$1(target.get$start(target)),
  56497. _0_2 = _this._mapLocation$1(target.get$end(target));
  56498. $label0$0: {
  56499. _0_10 = _0_1;
  56500. t1 = type$.FileSpan;
  56501. _0_2_isSet = t1._is(_0_1);
  56502. _0_20 = _null;
  56503. t2 = false;
  56504. if (_0_2_isSet) {
  56505. t1._as(_0_10);
  56506. _0_20 = _0_2;
  56507. t2 = t1._is(_0_2);
  56508. start = _0_10;
  56509. _0_1 = start;
  56510. } else {
  56511. start = _null;
  56512. _0_1 = _0_10;
  56513. }
  56514. if (t2) {
  56515. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56516. break $label0$0;
  56517. }
  56518. t2 = false;
  56519. if (t1._is(_0_1)) {
  56520. if (_0_2_isSet)
  56521. t2 = _0_20;
  56522. else {
  56523. t2 = _0_2;
  56524. _0_20 = t2;
  56525. _0_2_isSet = true;
  56526. }
  56527. t2 = t2 instanceof A.FileLocation;
  56528. start = _0_1;
  56529. } else
  56530. start = _null;
  56531. if (t2) {
  56532. t1 = _0_2_isSet ? _0_20 : _0_2;
  56533. type$.FileLocation._as(t1);
  56534. t1 = _this._interpolation.span.file.span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56535. break $label0$0;
  56536. }
  56537. t2 = false;
  56538. if (_0_1 instanceof A.FileLocation) {
  56539. if (_0_2_isSet)
  56540. t2 = _0_20;
  56541. else {
  56542. t2 = _0_2;
  56543. _0_20 = t2;
  56544. _0_2_isSet = true;
  56545. }
  56546. t2 = t1._is(t2);
  56547. start = _0_1;
  56548. } else
  56549. start = _null;
  56550. if (t2) {
  56551. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56552. t1 = _this._interpolation.span.file.span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56553. break $label0$0;
  56554. }
  56555. t1 = false;
  56556. if (_0_1 instanceof A.FileLocation) {
  56557. if (_0_2_isSet)
  56558. t1 = _0_20;
  56559. else {
  56560. t1 = _0_2;
  56561. _0_20 = t1;
  56562. _0_2_isSet = true;
  56563. }
  56564. t1 = t1 instanceof A.FileLocation;
  56565. start = _0_1;
  56566. } else
  56567. start = _null;
  56568. if (t1) {
  56569. t1 = _0_2_isSet ? _0_20 : _0_2;
  56570. type$.FileLocation._as(t1);
  56571. t1 = _this._interpolation.span.file.span$2(0, start.offset, t1.offset);
  56572. break $label0$0;
  56573. }
  56574. t1 = A.throwExpression("[BUG] Unreachable");
  56575. }
  56576. return t1;
  56577. },
  56578. _mapLocation$1(target) {
  56579. var index, _0_0, t3, t4, previousLocation, _this = this,
  56580. t1 = _this._interpolation,
  56581. t2 = t1.contents;
  56582. if (t2.length === 0)
  56583. return t1.span;
  56584. index = _this._indexInContents$1(target);
  56585. _0_0 = t2[index];
  56586. if (_0_0 instanceof A.Expression)
  56587. return _0_0.get$span(_0_0);
  56588. t3 = index === 0;
  56589. t1 = t1.span;
  56590. t4 = t1.file;
  56591. if (t3)
  56592. previousLocation = A.FileLocation$_(t4, t1._file$_start);
  56593. else {
  56594. t1 = type$.Expression._as(t2[index - 1]);
  56595. t1 = t1.get$span(t1);
  56596. previousLocation = A.FileLocation$_(t4, _this._expandInterpolationSpanRight$1(t1.get$end(t1)));
  56597. }
  56598. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  56599. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56600. },
  56601. _indexInContents$1(target) {
  56602. var t1, t2, t3, i;
  56603. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56604. if (t3 < t1[i].get$offset())
  56605. return i;
  56606. return this._interpolation.contents.length - 1;
  56607. },
  56608. _expandInterpolationSpanLeft$1(start) {
  56609. var i0, prev, char,
  56610. source = start.file._decodedChars,
  56611. i = start.offset - 1;
  56612. for (; i >= 0;) {
  56613. i0 = i - 1;
  56614. prev = source[i];
  56615. if (prev === 123) {
  56616. if (source[i0] === 35) {
  56617. i = i0;
  56618. break;
  56619. }
  56620. i = i0;
  56621. } else if (prev === 47) {
  56622. i = i0 - 1;
  56623. if (source[i0] === 42)
  56624. for (; true;) {
  56625. i0 = i - 1;
  56626. if (source[i] !== 42) {
  56627. i = i0;
  56628. continue;
  56629. }
  56630. i = i0;
  56631. do {
  56632. i0 = i - 1;
  56633. char = source[i];
  56634. if (char === 42) {
  56635. i = i0;
  56636. continue;
  56637. } else
  56638. break;
  56639. } while (true);
  56640. if (char === 47) {
  56641. i = i0;
  56642. break;
  56643. }
  56644. i = i0;
  56645. }
  56646. } else
  56647. i = i0;
  56648. }
  56649. return i;
  56650. },
  56651. _expandInterpolationSpanRight$1(end) {
  56652. var t1, i0, next, second, t2, char,
  56653. source = end.file._decodedChars,
  56654. i = end.offset;
  56655. for (t1 = source.length; i < t1;) {
  56656. i0 = i + 1;
  56657. next = source[i];
  56658. if (next === 125) {
  56659. i = i0;
  56660. break;
  56661. }
  56662. if (next === 47) {
  56663. i = i0 + 1;
  56664. second = source[i0];
  56665. if (second === 47) {
  56666. while (true) {
  56667. i0 = i + 1;
  56668. t2 = source[i];
  56669. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  56670. break;
  56671. i = i0;
  56672. }
  56673. i = i0;
  56674. } else if (second === 42)
  56675. for (; true;) {
  56676. i0 = i + 1;
  56677. if (source[i] !== 42) {
  56678. i = i0;
  56679. continue;
  56680. }
  56681. i = i0;
  56682. do {
  56683. i0 = i + 1;
  56684. char = source[i];
  56685. if (char === 42) {
  56686. i = i0;
  56687. continue;
  56688. } else
  56689. break;
  56690. } while (true);
  56691. if (char === 47) {
  56692. i = i0;
  56693. break;
  56694. }
  56695. i = i0;
  56696. }
  56697. } else
  56698. i = i0;
  56699. }
  56700. return i;
  56701. }
  56702. };
  56703. A.InterpolationMap_mapException_closure.prototype = {
  56704. call$1($content) {
  56705. return $content instanceof A.Expression;
  56706. },
  56707. $signature: 79
  56708. };
  56709. A._realCasePath_helper.prototype = {
  56710. call$1(path) {
  56711. var dirname = $.$get$context().dirname$1(path);
  56712. if (dirname === path)
  56713. return path;
  56714. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  56715. },
  56716. $signature: 6
  56717. };
  56718. A._realCasePath_helper_closure.prototype = {
  56719. call$0() {
  56720. var matches, t1, _0_0, match, exception,
  56721. realDirname = this.helper.call$1(this.dirname),
  56722. t2 = this.path,
  56723. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  56724. try {
  56725. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  56726. t1 = null;
  56727. _0_0 = matches;
  56728. $label0$0: {
  56729. match = null;
  56730. if (J.get$length$asx(_0_0) === 1) {
  56731. match = J.$index$asx(_0_0, 0);
  56732. t1 = match;
  56733. break $label0$0;
  56734. }
  56735. t1 = A.join(realDirname, basename, null);
  56736. break $label0$0;
  56737. }
  56738. t1 = t1;
  56739. return t1;
  56740. } catch (exception) {
  56741. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56742. return t2;
  56743. else
  56744. throw exception;
  56745. }
  56746. },
  56747. $signature: 32
  56748. };
  56749. A._realCasePath_helper__closure.prototype = {
  56750. call$1(realPath) {
  56751. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  56752. },
  56753. $signature: 5
  56754. };
  56755. A.FileSystemException.prototype = {
  56756. toString$0(_) {
  56757. var t1 = $.$get$context();
  56758. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  56759. },
  56760. get$message(receiver) {
  56761. return this.message;
  56762. }
  56763. };
  56764. A._readFile_closure.prototype = {
  56765. call$0() {
  56766. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  56767. },
  56768. $signature: 66
  56769. };
  56770. A.writeFile_closure.prototype = {
  56771. call$0() {
  56772. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  56773. },
  56774. $signature: 0
  56775. };
  56776. A.deleteFile_closure.prototype = {
  56777. call$0() {
  56778. return J.unlinkSync$1$x(A.fs(), this.path);
  56779. },
  56780. $signature: 0
  56781. };
  56782. A.readStdin_closure.prototype = {
  56783. call$1(result) {
  56784. this._box_0.contents = result;
  56785. this.completer.complete$1(result);
  56786. },
  56787. $signature: 83
  56788. };
  56789. A.readStdin_closure0.prototype = {
  56790. call$1(chunk) {
  56791. this.sink.add$1(0, type$.List_int._as(chunk));
  56792. },
  56793. call$0() {
  56794. return this.call$1(null);
  56795. },
  56796. "call*": "call$1",
  56797. $requiredArgCount: 0,
  56798. $defaultValues() {
  56799. return [null];
  56800. },
  56801. $signature: 84
  56802. };
  56803. A.readStdin_closure1.prototype = {
  56804. call$1(arg) {
  56805. this.sink.close$0(0);
  56806. },
  56807. call$0() {
  56808. return this.call$1(null);
  56809. },
  56810. "call*": "call$1",
  56811. $requiredArgCount: 0,
  56812. $defaultValues() {
  56813. return [null];
  56814. },
  56815. $signature: 84
  56816. };
  56817. A.readStdin_closure2.prototype = {
  56818. call$1(e) {
  56819. A.printError("Failed to read from stdin");
  56820. A.printError(e);
  56821. e.toString;
  56822. this.completer.completeError$1(e);
  56823. },
  56824. call$0() {
  56825. return this.call$1(null);
  56826. },
  56827. "call*": "call$1",
  56828. $requiredArgCount: 0,
  56829. $defaultValues() {
  56830. return [null];
  56831. },
  56832. $signature: 84
  56833. };
  56834. A.fileExists_closure.prototype = {
  56835. call$0() {
  56836. var error, systemError, exception,
  56837. t1 = this.path;
  56838. if (!J.existsSync$1$x(A.fs(), t1))
  56839. return false;
  56840. try {
  56841. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  56842. return t1;
  56843. } catch (exception) {
  56844. error = A.unwrapException(exception);
  56845. systemError = type$.JsSystemError._as(error);
  56846. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56847. return false;
  56848. throw exception;
  56849. }
  56850. },
  56851. $signature: 22
  56852. };
  56853. A.dirExists_closure.prototype = {
  56854. call$0() {
  56855. var error, systemError, exception,
  56856. t1 = this.path;
  56857. if (!J.existsSync$1$x(A.fs(), t1))
  56858. return false;
  56859. try {
  56860. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  56861. return t1;
  56862. } catch (exception) {
  56863. error = A.unwrapException(exception);
  56864. systemError = type$.JsSystemError._as(error);
  56865. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56866. return false;
  56867. throw exception;
  56868. }
  56869. },
  56870. $signature: 22
  56871. };
  56872. A.ensureDir_closure.prototype = {
  56873. call$0() {
  56874. var error, systemError, exception, t1;
  56875. try {
  56876. J.mkdirSync$1$x(A.fs(), this.path);
  56877. } catch (exception) {
  56878. error = A.unwrapException(exception);
  56879. systemError = type$.JsSystemError._as(error);
  56880. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  56881. return;
  56882. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56883. throw exception;
  56884. t1 = this.path;
  56885. A.ensureDir($.$get$context().dirname$1(t1));
  56886. J.mkdirSync$1$x(A.fs(), t1);
  56887. }
  56888. },
  56889. $signature: 0
  56890. };
  56891. A.listDir_closure.prototype = {
  56892. call$0() {
  56893. var t1 = this.path;
  56894. if (!this.recursive)
  56895. 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());
  56896. else
  56897. return new A.listDir_closure_list().call$1(t1);
  56898. },
  56899. $signature: 161
  56900. };
  56901. A.listDir__closure.prototype = {
  56902. call$1(child) {
  56903. return A.join(this.path, A._asString(child), null);
  56904. },
  56905. $signature: 113
  56906. };
  56907. A.listDir__closure0.prototype = {
  56908. call$1(child) {
  56909. return !A.dirExists(child);
  56910. },
  56911. $signature: 5
  56912. };
  56913. A.listDir_closure_list.prototype = {
  56914. call$1($parent) {
  56915. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  56916. },
  56917. $signature: 162
  56918. };
  56919. A.listDir__list_closure.prototype = {
  56920. call$1(child) {
  56921. var path = A.join(this.parent, A._asString(child), null);
  56922. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  56923. },
  56924. $signature: 163
  56925. };
  56926. A.modificationTime_closure.prototype = {
  56927. call$0() {
  56928. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  56929. if (t1 < -864e13 || t1 > 864e13)
  56930. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  56931. A.checkNotNullable(false, "isUtc", type$.bool);
  56932. return new A.DateTime(t1, 0, false);
  56933. },
  56934. $signature: 164
  56935. };
  56936. A.watchDir_closure0.prototype = {
  56937. call$2(error, events) {
  56938. var t1, t2, t3, t4, t5, lastEvent;
  56939. if (error != null) {
  56940. t1 = this._box_0.controller;
  56941. if (t1 != null)
  56942. t1.addError$1(error);
  56943. } else
  56944. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  56945. t3 = t1.get$current(t1);
  56946. switch (t3.type) {
  56947. case "create":
  56948. t4 = t2.controller;
  56949. if (t4 != null) {
  56950. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  56951. t5 = t4._state;
  56952. if (t5 >= 4)
  56953. A.throwExpression(t4._badEventState$0());
  56954. if ((t5 & 1) !== 0)
  56955. t4._sendData$1(t3);
  56956. else if ((t5 & 3) === 0) {
  56957. t4 = t4._ensurePendingEvents$0();
  56958. t3 = new A._DelayedData(t3);
  56959. lastEvent = t4.lastPendingEvent;
  56960. if (lastEvent == null)
  56961. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56962. else {
  56963. lastEvent.set$next(t3);
  56964. t4.lastPendingEvent = t3;
  56965. }
  56966. }
  56967. }
  56968. break;
  56969. case "update":
  56970. t4 = t2.controller;
  56971. if (t4 != null) {
  56972. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  56973. t5 = t4._state;
  56974. if (t5 >= 4)
  56975. A.throwExpression(t4._badEventState$0());
  56976. if ((t5 & 1) !== 0)
  56977. t4._sendData$1(t3);
  56978. else if ((t5 & 3) === 0) {
  56979. t4 = t4._ensurePendingEvents$0();
  56980. t3 = new A._DelayedData(t3);
  56981. lastEvent = t4.lastPendingEvent;
  56982. if (lastEvent == null)
  56983. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56984. else {
  56985. lastEvent.set$next(t3);
  56986. t4.lastPendingEvent = t3;
  56987. }
  56988. }
  56989. }
  56990. break;
  56991. case "delete":
  56992. t4 = t2.controller;
  56993. if (t4 != null) {
  56994. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  56995. t5 = t4._state;
  56996. if (t5 >= 4)
  56997. A.throwExpression(t4._badEventState$0());
  56998. if ((t5 & 1) !== 0)
  56999. t4._sendData$1(t3);
  57000. else if ((t5 & 3) === 0) {
  57001. t4 = t4._ensurePendingEvents$0();
  57002. t3 = new A._DelayedData(t3);
  57003. lastEvent = t4.lastPendingEvent;
  57004. if (lastEvent == null)
  57005. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57006. else {
  57007. lastEvent.set$next(t3);
  57008. t4.lastPendingEvent = t3;
  57009. }
  57010. }
  57011. }
  57012. break;
  57013. }
  57014. }
  57015. },
  57016. $signature: 423
  57017. };
  57018. A.watchDir_closure.prototype = {
  57019. call$0() {
  57020. this.subscription.unsubscribe();
  57021. },
  57022. $signature: 1
  57023. };
  57024. A.watchDir_closure1.prototype = {
  57025. call$2(path, _) {
  57026. var t1 = this._box_0.controller;
  57027. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57028. },
  57029. call$1(path) {
  57030. return this.call$2(path, null);
  57031. },
  57032. "call*": "call$2",
  57033. $requiredArgCount: 1,
  57034. $defaultValues() {
  57035. return [null];
  57036. },
  57037. $signature: 166
  57038. };
  57039. A.watchDir_closure2.prototype = {
  57040. call$2(path, _) {
  57041. var t1 = this._box_0.controller;
  57042. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57043. },
  57044. call$1(path) {
  57045. return this.call$2(path, null);
  57046. },
  57047. "call*": "call$2",
  57048. $requiredArgCount: 1,
  57049. $defaultValues() {
  57050. return [null];
  57051. },
  57052. $signature: 166
  57053. };
  57054. A.watchDir_closure3.prototype = {
  57055. call$1(path) {
  57056. var t1 = this._box_0.controller;
  57057. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57058. },
  57059. $signature: 83
  57060. };
  57061. A.watchDir_closure4.prototype = {
  57062. call$1(error) {
  57063. var t1 = this._box_0.controller;
  57064. return t1 == null ? null : t1.addError$1(error);
  57065. },
  57066. $signature: 85
  57067. };
  57068. A.watchDir_closure5.prototype = {
  57069. call$0() {
  57070. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57071. this._box_0.controller = controller;
  57072. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57073. },
  57074. $signature: 1
  57075. };
  57076. A.watchDir__closure.prototype = {
  57077. call$0() {
  57078. J.close$0$x(this.watcher);
  57079. },
  57080. $signature: 1
  57081. };
  57082. A.JSArray0.prototype = {};
  57083. A.Chokidar.prototype = {};
  57084. A.ChokidarOptions.prototype = {};
  57085. A.ChokidarWatcher.prototype = {};
  57086. A.JSFunction.prototype = {};
  57087. A.ImmutableList.prototype = {};
  57088. A.ImmutableMap.prototype = {};
  57089. A.NodeImporterResult.prototype = {};
  57090. A.RenderContext.prototype = {};
  57091. A.RenderContextOptions.prototype = {};
  57092. A.RenderContextResult.prototype = {};
  57093. A.RenderContextResultStats.prototype = {};
  57094. A.JSModule.prototype = {};
  57095. A.JSModuleRequire.prototype = {};
  57096. A.ParcelWatcher_subscribe_closure.prototype = {
  57097. call$2(error, events) {
  57098. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57099. this.callback.call$2(error, t1);
  57100. },
  57101. $signature: 421
  57102. };
  57103. A.JSClass.prototype = {};
  57104. A.JSUrl.prototype = {};
  57105. A._PropertyDescriptor.prototype = {};
  57106. A._RequireMain.prototype = {};
  57107. A.LoggerWithDeprecationType.prototype = {
  57108. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57109. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_KtC : null, span, trace);
  57110. },
  57111. warn$1(_, message) {
  57112. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57113. },
  57114. warn$3$span$trace(_, message, span, trace) {
  57115. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57116. }
  57117. };
  57118. A._QuietLogger.prototype = {
  57119. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57120. },
  57121. warn$1(_, message) {
  57122. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57123. },
  57124. warn$3$span$trace(_, message, span, trace) {
  57125. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57126. },
  57127. debug$2(_, message, span) {
  57128. }
  57129. };
  57130. A.DeprecationProcessingLogger.prototype = {
  57131. validate$0() {
  57132. var t1, t2, t3, t4, _this = this, _null = null;
  57133. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57134. t3 = t1.get$current(t1);
  57135. t4 = t2.contains$1(0, t3);
  57136. if (t4) {
  57137. t3 = t3.toString$0(0);
  57138. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57139. continue;
  57140. }
  57141. }
  57142. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57143. t4 = t1._collection$_current;
  57144. if (B.Deprecation_KtC === (t4 == null ? t2._as(t4) : t4)) {
  57145. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57146. continue;
  57147. }
  57148. }
  57149. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57150. t3 = t1._collection$_current;
  57151. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57152. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57153. }
  57154. },
  57155. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57156. if (deprecation != null)
  57157. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57158. else
  57159. this._inner.warn$3$span$trace(0, message, span, trace);
  57160. },
  57161. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57162. var _0_3_isSet, _0_3, t1, span0, t2, count, _1_0, _this = this, _null = null;
  57163. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57164. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  57165. $label0$0: {
  57166. _0_3_isSet = span != null;
  57167. _0_3 = _null;
  57168. t1 = false;
  57169. if (_0_3_isSet) {
  57170. span0 = span == null ? type$.FileSpan._as(span) : span;
  57171. t1 = trace != null;
  57172. _0_3 = trace;
  57173. } else
  57174. span0 = _null;
  57175. if (t1) {
  57176. if (_0_3_isSet)
  57177. trace = _0_3;
  57178. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57179. break $label0$0;
  57180. }
  57181. t1 = false;
  57182. if (span != null)
  57183. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57184. else
  57185. span = _null;
  57186. if (t1) {
  57187. t1 = A.SassException$(message, span, _null);
  57188. break $label0$0;
  57189. }
  57190. t1 = A.SassScriptException$(message, _null);
  57191. break $label0$0;
  57192. }
  57193. throw A.wrapException(t1);
  57194. }
  57195. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57196. return;
  57197. if (_this.limitRepetition) {
  57198. t1 = _this._warningCounts;
  57199. t2 = t1.$index(0, deprecation);
  57200. count = (t2 == null ? 0 : t2) + 1;
  57201. t1.$indexSet(0, deprecation, count);
  57202. if (count > 5)
  57203. return;
  57204. }
  57205. _1_0 = _this._inner;
  57206. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57207. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57208. else
  57209. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57210. },
  57211. debug$2(_, message, span) {
  57212. return this._inner.debug$2(0, message, span);
  57213. },
  57214. summarize$1$js(js) {
  57215. var t1 = this._warningCounts,
  57216. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57217. 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>")));
  57218. if (total > 0) {
  57219. t1 = js ? "" : string$.x0aRun_i;
  57220. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57221. }
  57222. }
  57223. };
  57224. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57225. call$1(count) {
  57226. return count > 5;
  57227. },
  57228. $signature: 50
  57229. };
  57230. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57231. call$1(count) {
  57232. return count - 5;
  57233. },
  57234. $signature: 170
  57235. };
  57236. A.StderrLogger.prototype = {
  57237. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57238. var t3,
  57239. result = new A.StringBuffer(""),
  57240. t1 = deprecation != null,
  57241. showDeprecation = t1 && deprecation !== B.Deprecation_KtC,
  57242. t2 = this.color;
  57243. if (t2) {
  57244. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  57245. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  57246. if (showDeprecation) {
  57247. t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
  57248. result._contents = t1;
  57249. } else
  57250. t1 = t3;
  57251. } else {
  57252. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  57253. if (showDeprecation) {
  57254. t1 = t3 + (" [" + A.S(deprecation) + "]");
  57255. result._contents = t1;
  57256. } else
  57257. t1 = t3;
  57258. }
  57259. if (span == null)
  57260. t1 = result._contents = t1 + (": " + message + "\n");
  57261. else if (trace != null) {
  57262. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57263. result._contents = t1;
  57264. } else {
  57265. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57266. result._contents = t1;
  57267. }
  57268. if (trace != null)
  57269. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57270. A.printError(result);
  57271. },
  57272. debug$2(_, message, span) {
  57273. var url, t3, t4,
  57274. t1 = span.file,
  57275. t2 = span._file$_start;
  57276. if (A.FileLocation$_(t1, t2).file.url == null)
  57277. url = "-";
  57278. else {
  57279. t3 = A.FileLocation$_(t1, t2).file.url;
  57280. t4 = $.$get$context();
  57281. t3.toString;
  57282. url = t4.prettyUri$1(t3);
  57283. }
  57284. t1 = A.FileLocation$_(t1, t2);
  57285. t1 = t1.file.getLine$1(t1.offset);
  57286. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57287. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  57288. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57289. }
  57290. };
  57291. A.TrackingLogger.prototype = {
  57292. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57293. this._emittedWarning = true;
  57294. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57295. },
  57296. warn$1(_, message) {
  57297. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57298. },
  57299. warn$3$span$trace(_, message, span, trace) {
  57300. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57301. },
  57302. debug$2(_, message, span) {
  57303. this._emittedDebug = true;
  57304. this._tracking$_logger.debug$2(0, message, span);
  57305. }
  57306. };
  57307. A.BuiltInModule.prototype = {
  57308. get$upstream() {
  57309. return B.List_empty7;
  57310. },
  57311. get$variableNodes() {
  57312. return B.Map_empty4;
  57313. },
  57314. get$extensionStore() {
  57315. return B.C_EmptyExtensionStore;
  57316. },
  57317. get$css(_) {
  57318. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57319. },
  57320. get$preModuleComments() {
  57321. return B.Map_empty2;
  57322. },
  57323. get$transitivelyContainsCss() {
  57324. return false;
  57325. },
  57326. get$transitivelyContainsExtensions() {
  57327. return false;
  57328. },
  57329. setVariable$3($name, value, nodeWithSpan) {
  57330. if (!this.variables.containsKey$1($name))
  57331. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57332. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57333. },
  57334. variableIdentity$1($name) {
  57335. return this;
  57336. },
  57337. cloneCss$0() {
  57338. return this;
  57339. },
  57340. $isModule0: 1,
  57341. get$url(receiver) {
  57342. return this.url;
  57343. },
  57344. get$functions(receiver) {
  57345. return this.functions;
  57346. },
  57347. get$mixins() {
  57348. return this.mixins;
  57349. },
  57350. get$variables() {
  57351. return this.variables;
  57352. }
  57353. };
  57354. A.ForwardedModuleView.prototype = {
  57355. get$url(_) {
  57356. var t1 = this._forwarded_view$_inner;
  57357. return t1.get$url(t1);
  57358. },
  57359. get$upstream() {
  57360. return this._forwarded_view$_inner.get$upstream();
  57361. },
  57362. get$extensionStore() {
  57363. return this._forwarded_view$_inner.get$extensionStore();
  57364. },
  57365. get$css(_) {
  57366. var t1 = this._forwarded_view$_inner;
  57367. return t1.get$css(t1);
  57368. },
  57369. get$preModuleComments() {
  57370. return this._forwarded_view$_inner.get$preModuleComments();
  57371. },
  57372. get$transitivelyContainsCss() {
  57373. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57374. },
  57375. get$transitivelyContainsExtensions() {
  57376. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57377. },
  57378. setVariable$3($name, value, nodeWithSpan) {
  57379. var t2, _1_0, _2_0,
  57380. _s19_ = "Undefined variable.",
  57381. t1 = this._rule,
  57382. _0_0 = t1.shownVariables;
  57383. if (_0_0 != null)
  57384. t2 = !_0_0._base.contains$1(0, $name);
  57385. else
  57386. t2 = false;
  57387. if (t2)
  57388. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57389. else {
  57390. _1_0 = t1.hiddenVariables;
  57391. if (_1_0 != null)
  57392. t2 = _1_0._base.contains$1(0, $name);
  57393. else
  57394. t2 = false;
  57395. if (t2)
  57396. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57397. }
  57398. _2_0 = t1.prefix;
  57399. if (_2_0 != null) {
  57400. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57401. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57402. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57403. }
  57404. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57405. },
  57406. variableIdentity$1($name) {
  57407. var _0_0 = this._rule.prefix;
  57408. if (_0_0 != null)
  57409. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57410. return this._forwarded_view$_inner.variableIdentity$1($name);
  57411. },
  57412. $eq(_, other) {
  57413. if (other == null)
  57414. return false;
  57415. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57416. },
  57417. get$hashCode(_) {
  57418. var t1 = this._forwarded_view$_inner;
  57419. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57420. },
  57421. cloneCss$0() {
  57422. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57423. },
  57424. toString$0(_) {
  57425. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57426. },
  57427. $isModule0: 1,
  57428. get$variables() {
  57429. return this.variables;
  57430. },
  57431. get$variableNodes() {
  57432. return this.variableNodes;
  57433. },
  57434. get$functions(receiver) {
  57435. return this.functions;
  57436. },
  57437. get$mixins() {
  57438. return this.mixins;
  57439. }
  57440. };
  57441. A.ShadowedModuleView.prototype = {
  57442. get$url(_) {
  57443. var t1 = this._shadowed_view$_inner;
  57444. return t1.get$url(t1);
  57445. },
  57446. get$upstream() {
  57447. return this._shadowed_view$_inner.get$upstream();
  57448. },
  57449. get$extensionStore() {
  57450. return this._shadowed_view$_inner.get$extensionStore();
  57451. },
  57452. get$css(_) {
  57453. var t1 = this._shadowed_view$_inner;
  57454. return t1.get$css(t1);
  57455. },
  57456. get$preModuleComments() {
  57457. return this._shadowed_view$_inner.get$preModuleComments();
  57458. },
  57459. get$transitivelyContainsCss() {
  57460. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57461. },
  57462. get$transitivelyContainsExtensions() {
  57463. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57464. },
  57465. setVariable$3($name, value, nodeWithSpan) {
  57466. if (!this.variables.containsKey$1($name))
  57467. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57468. else
  57469. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57470. },
  57471. variableIdentity$1($name) {
  57472. return this._shadowed_view$_inner.variableIdentity$1($name);
  57473. },
  57474. $eq(_, other) {
  57475. var t1, t2, t3, _this = this;
  57476. if (other == null)
  57477. return false;
  57478. t1 = false;
  57479. if (other instanceof A.ShadowedModuleView)
  57480. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57481. t2 = _this.variables;
  57482. t2 = t2.get$keys(t2);
  57483. t3 = other.variables;
  57484. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57485. t2 = _this.functions;
  57486. t2 = t2.get$keys(t2);
  57487. t3 = other.functions;
  57488. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57489. t1 = _this.mixins;
  57490. t1 = t1.get$keys(t1);
  57491. t2 = other.mixins;
  57492. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57493. t1 = t2;
  57494. }
  57495. }
  57496. }
  57497. return t1;
  57498. },
  57499. get$hashCode(_) {
  57500. var t1 = this._shadowed_view$_inner;
  57501. return t1.get$hashCode(t1);
  57502. },
  57503. cloneCss$0() {
  57504. var _this = this;
  57505. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57506. },
  57507. toString$0(_) {
  57508. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57509. },
  57510. $isModule0: 1,
  57511. get$variables() {
  57512. return this.variables;
  57513. },
  57514. get$variableNodes() {
  57515. return this.variableNodes;
  57516. },
  57517. get$functions(receiver) {
  57518. return this.functions;
  57519. },
  57520. get$mixins() {
  57521. return this.mixins;
  57522. }
  57523. };
  57524. A.AtRootQueryParser.prototype = {
  57525. parse$0(_) {
  57526. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  57527. }
  57528. };
  57529. A.AtRootQueryParser_parse_closure.prototype = {
  57530. call$0() {
  57531. var include, atRules,
  57532. t1 = this.$this,
  57533. t2 = t1.scanner;
  57534. t2.expectChar$1(40);
  57535. t1.whitespace$1$consumeNewlines(true);
  57536. include = t1.scanIdentifier$1("with");
  57537. if (!include)
  57538. t1.expectIdentifier$2$name("without", '"with" or "without"');
  57539. t1.whitespace$1$consumeNewlines(true);
  57540. t2.expectChar$1(58);
  57541. t1.whitespace$1$consumeNewlines(true);
  57542. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57543. do {
  57544. atRules.add$1(0, t1.identifier$0().toLowerCase());
  57545. t1.whitespace$1$consumeNewlines(true);
  57546. } while (t1.lookingAtIdentifier$0());
  57547. t2.expectChar$1(41);
  57548. t2.expectDone$0();
  57549. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  57550. },
  57551. $signature: 418
  57552. };
  57553. A._disallowedFunctionNames_closure.prototype = {
  57554. call$1($function) {
  57555. return $function.name;
  57556. },
  57557. $signature: 417
  57558. };
  57559. A.CssParser.prototype = {
  57560. get$plainCss() {
  57561. return true;
  57562. },
  57563. silentComment$0() {
  57564. var t1, t2, _this = this;
  57565. if (_this._inExpression)
  57566. return false;
  57567. t1 = _this.scanner;
  57568. t2 = t1._string_scanner$_position;
  57569. _this.super$Parser$silentComment();
  57570. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57571. },
  57572. atRule$2$root(child, root) {
  57573. var $name, _0_0, _this = this,
  57574. t1 = _this.scanner,
  57575. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57576. t1.expectChar$1(64);
  57577. $name = _this.interpolatedIdentifier$0();
  57578. _this.whitespace$1$consumeNewlines(true);
  57579. _0_0 = $name.get$asPlain();
  57580. $label0$0: {
  57581. 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)
  57582. _this._forbiddenAtRule$1(start);
  57583. if ("import" === _0_0) {
  57584. t1 = _this._cssImportRule$1(start);
  57585. break $label0$0;
  57586. }
  57587. if ("media" === _0_0) {
  57588. t1 = _this.mediaRule$1(start);
  57589. break $label0$0;
  57590. }
  57591. if ("-moz-document" === _0_0) {
  57592. t1 = _this.mozDocumentRule$2(start, $name);
  57593. break $label0$0;
  57594. }
  57595. if ("supports" === _0_0) {
  57596. t1 = _this.supportsRule$1(start);
  57597. break $label0$0;
  57598. }
  57599. t1 = _this.unknownAtRule$2(start, $name);
  57600. break $label0$0;
  57601. }
  57602. return t1;
  57603. },
  57604. _forbiddenAtRule$1(start) {
  57605. this.almostAnyValue$0();
  57606. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  57607. },
  57608. _cssImportRule$1(start) {
  57609. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  57610. t1 = _this.scanner,
  57611. t2 = t1._string_scanner$_position,
  57612. _1_0 = t1.peekChar$0();
  57613. $label1$1: {
  57614. if (117 === _1_0 || 85 === _1_0) {
  57615. _0_0 = _this.dynamicUrl$0();
  57616. $label0$0: {
  57617. if (_0_0 instanceof A.StringExpression) {
  57618. t3 = _0_0.text;
  57619. break $label0$0;
  57620. }
  57621. string = _null;
  57622. t3 = false;
  57623. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  57624. $name = _0_0.name;
  57625. _0_3 = _0_0.$arguments;
  57626. _0_4 = _0_3.positional;
  57627. t4 = _0_4;
  57628. if (t4.length === 1) {
  57629. _0_8 = _0_4[0];
  57630. t4 = _0_8;
  57631. if (t4 instanceof A.StringExpression) {
  57632. type$.StringExpression._as(_0_8);
  57633. t4 = _0_3.named;
  57634. if (t4.get$isEmpty(t4))
  57635. if (_0_3.rest == null)
  57636. t3 = _0_3.keywordRest == null;
  57637. string = _0_8;
  57638. }
  57639. }
  57640. } else
  57641. $name = _null;
  57642. if (t3) {
  57643. t3 = new A.StringBuffer("");
  57644. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  57645. t4.addInterpolation$1($name);
  57646. t5 = A.Primitives_stringFromCharCode(40);
  57647. t3._contents += t5;
  57648. t4.addInterpolation$1(string.asInterpolation$0());
  57649. t5 = A.Primitives_stringFromCharCode(41);
  57650. t3._contents += t5;
  57651. t4 = t4.interpolation$1(_0_0.span);
  57652. t3 = t4;
  57653. break $label0$0;
  57654. }
  57655. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  57656. }
  57657. break $label1$1;
  57658. }
  57659. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  57660. break $label1$1;
  57661. }
  57662. _this.whitespace$1$consumeNewlines(true);
  57663. modifiers = _this.tryImportModifiers$0();
  57664. _this.expectStatementSeparator$1("@import rule");
  57665. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  57666. t1 = t1.spanFrom$1(start);
  57667. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  57668. },
  57669. parentheses$0() {
  57670. var expression,
  57671. t1 = this.scanner,
  57672. t2 = t1._string_scanner$_position;
  57673. t1.expectChar$1(40);
  57674. this.whitespace$1$consumeNewlines(true);
  57675. expression = this.expressionUntilComma$0();
  57676. t1.expectChar$1(41);
  57677. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57678. },
  57679. identifierLike$0() {
  57680. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  57681. t1 = _this.scanner,
  57682. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57683. identifier = _this.interpolatedIdentifier$0(),
  57684. plain = identifier.get$asPlain(),
  57685. lower = plain.toLowerCase(),
  57686. _0_0 = _this.trySpecialFunction$2(lower, start);
  57687. if (_0_0 != null)
  57688. return _0_0;
  57689. t2 = t1._string_scanner$_position;
  57690. if (t1.scanChar$1(46))
  57691. return _this.namespacedExpression$2(plain, start);
  57692. if (!t1.scanChar$1(40))
  57693. return new A.StringExpression(identifier, false);
  57694. allowEmptySecondArg = lower === "var";
  57695. $arguments = A._setArrayType([], type$.JSArray_Expression);
  57696. if (!t1.scanChar$1(41)) {
  57697. do {
  57698. _this.whitespace$1$consumeNewlines(true);
  57699. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  57700. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57701. t4 = t3.offset;
  57702. t4 = A._FileSpan$(t3.file, t4, t4);
  57703. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  57704. break;
  57705. }
  57706. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  57707. _this.whitespace$1$consumeNewlines(true);
  57708. } while (t1.scanChar$1(44));
  57709. t1.expectChar$1(41);
  57710. }
  57711. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  57712. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  57713. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57714. t3 = type$.Expression;
  57715. t4 = A.List_List$unmodifiable($arguments, t3);
  57716. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t3);
  57717. t1 = t1.spanFrom$1(start);
  57718. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t4, t3, null, null, t2), t1);
  57719. },
  57720. namespacedExpression$2(namespace, start) {
  57721. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  57722. this.error$2(0, string$.Modulen, expression.get$span(expression));
  57723. }
  57724. };
  57725. A.KeyframeSelectorParser.prototype = {
  57726. parse$0(_) {
  57727. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  57728. },
  57729. _percentage$0() {
  57730. var $self, _0_0,
  57731. t1 = this.scanner,
  57732. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  57733. second = t1.peekChar$0();
  57734. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  57735. t1.error$1(0, "Expected number.");
  57736. while (true) {
  57737. $self = t1.peekChar$0();
  57738. if (!($self != null && $self >= 48 && $self <= 57))
  57739. break;
  57740. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57741. }
  57742. if (t1.peekChar$0() === 46) {
  57743. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57744. while (true) {
  57745. $self = t1.peekChar$0();
  57746. if (!($self != null && $self >= 48 && $self <= 57))
  57747. break;
  57748. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57749. }
  57750. }
  57751. if (this.scanIdentChar$1(101)) {
  57752. t2 += A.Primitives_stringFromCharCode(101);
  57753. _0_0 = t1.peekChar$0();
  57754. if (43 === _0_0 || 45 === _0_0)
  57755. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57756. $self = t1.peekChar$0();
  57757. if (!($self != null && $self >= 48 && $self <= 57))
  57758. t1.error$1(0, "Expected digit.");
  57759. do {
  57760. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57761. $self = t1.peekChar$0();
  57762. } while ($self != null && $self >= 48 && $self <= 57);
  57763. }
  57764. t1.expectChar$1(37);
  57765. t2 += A.Primitives_stringFromCharCode(37);
  57766. return t2.charCodeAt(0) == 0 ? t2 : t2;
  57767. }
  57768. };
  57769. A.KeyframeSelectorParser_parse_closure.prototype = {
  57770. call$0() {
  57771. var selectors = A._setArrayType([], type$.JSArray_String),
  57772. t1 = this.$this,
  57773. t2 = t1.scanner;
  57774. do {
  57775. t1.whitespace$1$consumeNewlines(true);
  57776. if (t1.lookingAtIdentifier$0())
  57777. if (t1.scanIdentifier$1("from"))
  57778. selectors.push("from");
  57779. else {
  57780. t1.expectIdentifier$2$name("to", '"to" or "from"');
  57781. selectors.push("to");
  57782. }
  57783. else
  57784. selectors.push(t1._percentage$0());
  57785. t1.whitespace$1$consumeNewlines(true);
  57786. } while (t2.scanChar$1(44));
  57787. t2.expectDone$0();
  57788. return selectors;
  57789. },
  57790. $signature: 139
  57791. };
  57792. A.MediaQueryParser.prototype = {
  57793. parse$0(_) {
  57794. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  57795. },
  57796. _mediaQuery$0() {
  57797. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  57798. if (_this.scanner.peekChar$0() === 40) {
  57799. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  57800. _this.whitespace$1$consumeNewlines(true);
  57801. if (_this.scanIdentifier$1(_s3_)) {
  57802. _this.expectWhitespace$0();
  57803. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  57804. conjunction = true;
  57805. } else {
  57806. t1 = _this.scanIdentifier$1("or");
  57807. if (t1) {
  57808. _this.expectWhitespace$0();
  57809. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  57810. }
  57811. conjunction = !t1;
  57812. }
  57813. return A.CssMediaQuery$condition(conditions, conjunction);
  57814. }
  57815. identifier1 = _this.identifier$0();
  57816. if (A.equalsIgnoreCase(identifier1, "not")) {
  57817. _this.expectWhitespace$0();
  57818. if (!_this.lookingAtIdentifier$0())
  57819. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  57820. }
  57821. _this.whitespace$1$consumeNewlines(true);
  57822. if (!_this.lookingAtIdentifier$0())
  57823. return A.CssMediaQuery$type(identifier1, _null, _null);
  57824. identifier2 = _this.identifier$0();
  57825. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  57826. _this.expectWhitespace$0();
  57827. type = identifier1;
  57828. modifier = _null;
  57829. } else {
  57830. _this.whitespace$1$consumeNewlines(true);
  57831. if (_this.scanIdentifier$1(_s3_))
  57832. _this.expectWhitespace$0();
  57833. else
  57834. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  57835. type = identifier2;
  57836. modifier = identifier1;
  57837. }
  57838. if (_this.scanIdentifier$1("not")) {
  57839. _this.expectWhitespace$0();
  57840. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  57841. }
  57842. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  57843. },
  57844. _mediaLogicSequence$1(operator) {
  57845. var t1, t2, _this = this,
  57846. result = A._setArrayType([], type$.JSArray_String);
  57847. for (t1 = _this.scanner; true;) {
  57848. t1.expectChar$2$name(40, "media condition in parentheses");
  57849. t2 = _this.declarationValue$0();
  57850. t1.expectChar$1(41);
  57851. result.push("(" + t2 + ")");
  57852. _this.whitespace$1$consumeNewlines(true);
  57853. if (!_this.scanIdentifier$1(operator))
  57854. return result;
  57855. _this.expectWhitespace$0();
  57856. }
  57857. },
  57858. _mediaInParens$0() {
  57859. var t2,
  57860. t1 = this.scanner;
  57861. t1.expectChar$2$name(40, "media condition in parentheses");
  57862. t2 = this.declarationValue$0();
  57863. t1.expectChar$1(41);
  57864. return "(" + t2 + ")";
  57865. }
  57866. };
  57867. A.MediaQueryParser_parse_closure.prototype = {
  57868. call$0() {
  57869. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  57870. t1 = this.$this,
  57871. t2 = t1.scanner;
  57872. do {
  57873. t1.whitespace$1$consumeNewlines(true);
  57874. queries.push(t1._mediaQuery$0());
  57875. t1.whitespace$1$consumeNewlines(true);
  57876. } while (t2.scanChar$1(44));
  57877. t2.expectDone$0();
  57878. return queries;
  57879. },
  57880. $signature: 416
  57881. };
  57882. A.Parser.prototype = {
  57883. _parseIdentifier$0() {
  57884. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  57885. },
  57886. _isVariableDeclarationLike$0() {
  57887. var _this = this,
  57888. t1 = _this.scanner;
  57889. if (!t1.scanChar$1(36))
  57890. return false;
  57891. if (!_this.lookingAtIdentifier$0())
  57892. return false;
  57893. _this.identifier$0();
  57894. _this.whitespace$1$consumeNewlines(true);
  57895. return t1.scanChar$1(58);
  57896. },
  57897. whitespace$1$consumeNewlines(consumeNewlines) {
  57898. do
  57899. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  57900. while (this.scanComment$0());
  57901. },
  57902. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  57903. var t3,
  57904. t1 = this.scanner,
  57905. t2 = t1.string.length;
  57906. while (true) {
  57907. if (t1._string_scanner$_position !== t2) {
  57908. t3 = t1.peekChar$0();
  57909. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  57910. } else
  57911. t3 = false;
  57912. if (!t3)
  57913. break;
  57914. t1.readChar$0();
  57915. }
  57916. },
  57917. spaces$0() {
  57918. var t3,
  57919. t1 = this.scanner,
  57920. t2 = t1.string.length;
  57921. while (true) {
  57922. if (t1._string_scanner$_position !== t2) {
  57923. t3 = t1.peekChar$0();
  57924. t3 = t3 === 32 || t3 === 9;
  57925. } else
  57926. t3 = false;
  57927. if (!t3)
  57928. break;
  57929. t1.readChar$0();
  57930. }
  57931. },
  57932. scanComment$0() {
  57933. var _0_0,
  57934. t1 = this.scanner;
  57935. if (t1.peekChar$0() !== 47)
  57936. return false;
  57937. _0_0 = t1.peekChar$1(1);
  57938. if (47 === _0_0)
  57939. return this.silentComment$0();
  57940. if (42 === _0_0) {
  57941. this.loudComment$0();
  57942. return true;
  57943. }
  57944. return false;
  57945. },
  57946. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  57947. var t2, t3,
  57948. t1 = this.scanner;
  57949. if (t1._string_scanner$_position !== t1.string.length) {
  57950. t2 = t1.peekChar$0();
  57951. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  57952. t2 = t3;
  57953. } else
  57954. t2 = true;
  57955. if (t2)
  57956. t1.error$1(0, "Expected whitespace.");
  57957. this.whitespace$1$consumeNewlines(consumeNewlines);
  57958. },
  57959. expectWhitespace$0() {
  57960. return this.expectWhitespace$1$consumeNewlines(false);
  57961. },
  57962. silentComment$0() {
  57963. var t2, t3,
  57964. t1 = this.scanner;
  57965. t1.expect$1("//");
  57966. t2 = t1.string.length;
  57967. while (true) {
  57968. if (t1._string_scanner$_position !== t2) {
  57969. t3 = t1.peekChar$0();
  57970. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  57971. } else
  57972. t3 = false;
  57973. if (!t3)
  57974. break;
  57975. t1.readChar$0();
  57976. }
  57977. return true;
  57978. },
  57979. loudComment$0() {
  57980. var next,
  57981. t1 = this.scanner;
  57982. t1.expect$1("/*");
  57983. for (; true;) {
  57984. if (t1.readChar$0() !== 42)
  57985. continue;
  57986. do
  57987. next = t1.readChar$0();
  57988. while (next === 42);
  57989. if (next === 47)
  57990. break;
  57991. }
  57992. },
  57993. identifier$2$normalize$unit(normalize, unit) {
  57994. var t2, _0_0, _this = this,
  57995. _s20_ = "Expected identifier.",
  57996. text = new A.StringBuffer(""),
  57997. t1 = _this.scanner;
  57998. if (t1.scanChar$1(45)) {
  57999. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  58000. if (t1.scanChar$1(45)) {
  58001. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58002. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58003. t1 = text._contents;
  58004. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58005. }
  58006. } else
  58007. t2 = "";
  58008. $label0$0: {
  58009. _0_0 = t1.peekChar$0();
  58010. if (_0_0 == null)
  58011. t1.error$1(0, _s20_);
  58012. if (95 === _0_0 && normalize) {
  58013. t1.readChar$0();
  58014. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58015. break $label0$0;
  58016. }
  58017. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58018. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58019. break $label0$0;
  58020. }
  58021. if (92 === _0_0) {
  58022. text._contents = t2 + _this.escape$1$identifierStart(true);
  58023. break $label0$0;
  58024. }
  58025. t1.error$1(0, _s20_);
  58026. }
  58027. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58028. t1 = text._contents;
  58029. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58030. },
  58031. identifier$0() {
  58032. return this.identifier$2$normalize$unit(false, false);
  58033. },
  58034. identifier$1$normalize(normalize) {
  58035. return this.identifier$2$normalize$unit(normalize, false);
  58036. },
  58037. identifier$1$unit(unit) {
  58038. return this.identifier$2$normalize$unit(false, unit);
  58039. },
  58040. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58041. var t1, _1_0, _0_0, t2;
  58042. for (t1 = this.scanner; true;) {
  58043. _1_0 = t1.peekChar$0();
  58044. if (_1_0 == null)
  58045. break;
  58046. if (45 === _1_0 && unit) {
  58047. _0_0 = t1.peekChar$1(1);
  58048. if (46 !== _0_0)
  58049. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58050. else
  58051. t2 = true;
  58052. if (t2)
  58053. break;
  58054. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58055. text._contents += t2;
  58056. continue;
  58057. }
  58058. if (95 === _1_0 && normalize) {
  58059. t1.readChar$0();
  58060. t2 = A.Primitives_stringFromCharCode(45);
  58061. text._contents += t2;
  58062. continue;
  58063. }
  58064. if (_1_0 !== 95) {
  58065. if (!(_1_0 >= 97 && _1_0 <= 122))
  58066. t2 = _1_0 >= 65 && _1_0 <= 90;
  58067. else
  58068. t2 = true;
  58069. t2 = t2 || _1_0 >= 128;
  58070. } else
  58071. t2 = true;
  58072. if (!t2)
  58073. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58074. else
  58075. t2 = true;
  58076. if (t2) {
  58077. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58078. text._contents += t2;
  58079. continue;
  58080. }
  58081. if (92 === _1_0) {
  58082. t2 = this.escape$0();
  58083. text._contents += t2;
  58084. continue;
  58085. }
  58086. break;
  58087. }
  58088. },
  58089. _identifierBody$1(text) {
  58090. return this._identifierBody$3$normalize$unit(text, false, false);
  58091. },
  58092. string$0() {
  58093. var buffer, _0_0, t2,
  58094. t1 = this.scanner,
  58095. quote = t1.readChar$0();
  58096. if (quote !== 39 && quote !== 34)
  58097. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58098. buffer = new A.StringBuffer("");
  58099. for (; true;) {
  58100. _0_0 = t1.peekChar$0();
  58101. if (_0_0 === quote) {
  58102. t1.readChar$0();
  58103. break;
  58104. }
  58105. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58106. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58107. if (92 === _0_0) {
  58108. t2 = t1.peekChar$1(1);
  58109. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58110. t1.readChar$0();
  58111. t1.readChar$0();
  58112. } else {
  58113. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58114. buffer._contents += t2;
  58115. }
  58116. continue;
  58117. }
  58118. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58119. buffer._contents += t2;
  58120. }
  58121. t1 = buffer._contents;
  58122. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58123. },
  58124. declarationValue$1$allowEmpty(allowEmpty) {
  58125. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58126. buffer = new A.StringBuffer(""),
  58127. brackets = A._setArrayType([], type$.JSArray_int);
  58128. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  58129. next = t1.peekChar$0();
  58130. if (next == null)
  58131. break;
  58132. wroteNewline0 = false;
  58133. if (92 === next) {
  58134. t4 = _this.escape$1$identifierStart(true);
  58135. buffer._contents += t4;
  58136. wroteNewline = wroteNewline0;
  58137. continue;
  58138. }
  58139. if (34 === next || 39 === next) {
  58140. start = t1._string_scanner$_position;
  58141. t3.call$0();
  58142. end = t1._string_scanner$_position;
  58143. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58144. wroteNewline = wroteNewline0;
  58145. continue;
  58146. }
  58147. if (47 === next) {
  58148. if (t1.peekChar$1(1) === 42) {
  58149. start = t1._string_scanner$_position;
  58150. t2.call$0();
  58151. end = t1._string_scanner$_position;
  58152. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58153. } else {
  58154. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58155. buffer._contents += t4;
  58156. }
  58157. wroteNewline = wroteNewline0;
  58158. continue;
  58159. }
  58160. if (32 === next || 9 === next) {
  58161. if (!wroteNewline) {
  58162. t4 = t1.peekChar$1(1);
  58163. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58164. } else
  58165. t4 = true;
  58166. if (t4) {
  58167. t4 = A.Primitives_stringFromCharCode(32);
  58168. buffer._contents += t4;
  58169. }
  58170. t1.readChar$0();
  58171. continue;
  58172. }
  58173. if (10 === next || 13 === next || 12 === next) {
  58174. t4 = t1.peekChar$1(-1);
  58175. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58176. buffer._contents += "\n";
  58177. t1.readChar$0();
  58178. wroteNewline = true;
  58179. continue;
  58180. }
  58181. if (40 === next || 123 === next || 91 === next) {
  58182. t4 = A.Primitives_stringFromCharCode(next);
  58183. buffer._contents += t4;
  58184. brackets.push(A.opposite(t1.readChar$0()));
  58185. wroteNewline = wroteNewline0;
  58186. continue;
  58187. }
  58188. if (41 === next || 125 === next || 93 === next) {
  58189. if (brackets.length === 0)
  58190. break;
  58191. t4 = A.Primitives_stringFromCharCode(next);
  58192. buffer._contents += t4;
  58193. t1.expectChar$1(brackets.pop());
  58194. wroteNewline = wroteNewline0;
  58195. continue;
  58196. }
  58197. if (59 === next) {
  58198. if (brackets.length === 0)
  58199. break;
  58200. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58201. buffer._contents += t4;
  58202. continue;
  58203. }
  58204. if (117 === next || 85 === next) {
  58205. _0_0 = _this.tryUrl$0();
  58206. if (_0_0 != null)
  58207. buffer._contents += _0_0;
  58208. else {
  58209. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58210. buffer._contents += t4;
  58211. }
  58212. wroteNewline = wroteNewline0;
  58213. continue;
  58214. }
  58215. if (_this.lookingAtIdentifier$0()) {
  58216. t4 = _this.identifier$0();
  58217. buffer._contents += t4;
  58218. } else {
  58219. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58220. buffer._contents += t4;
  58221. }
  58222. wroteNewline = wroteNewline0;
  58223. }
  58224. if (brackets.length !== 0)
  58225. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58226. if (!allowEmpty && buffer._contents.length === 0)
  58227. t1.error$1(0, "Expected token.");
  58228. t1 = buffer._contents;
  58229. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58230. },
  58231. declarationValue$0() {
  58232. return this.declarationValue$1$allowEmpty(false);
  58233. },
  58234. tryUrl$0() {
  58235. var buffer, _0_0, t2, _this = this,
  58236. t1 = _this.scanner,
  58237. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58238. if (!_this.scanIdentifier$1("url"))
  58239. return null;
  58240. if (!t1.scanChar$1(40)) {
  58241. t1.set$state(start);
  58242. return null;
  58243. }
  58244. _this.whitespace$1$consumeNewlines(true);
  58245. buffer = new A.StringBuffer("");
  58246. buffer._contents = "" + "url(";
  58247. for (; true;) {
  58248. _0_0 = t1.peekChar$0();
  58249. if (_0_0 == null)
  58250. break;
  58251. if (92 === _0_0) {
  58252. t2 = _this.escape$0();
  58253. buffer._contents += t2;
  58254. continue;
  58255. }
  58256. t2 = true;
  58257. if (37 !== _0_0)
  58258. if (38 !== _0_0)
  58259. if (35 !== _0_0)
  58260. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58261. if (t2) {
  58262. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58263. buffer._contents += t2;
  58264. continue;
  58265. }
  58266. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58267. _this.whitespace$1$consumeNewlines(true);
  58268. if (t1.peekChar$0() !== 41)
  58269. break;
  58270. continue;
  58271. }
  58272. if (41 === _0_0) {
  58273. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58274. t2 = buffer._contents += t2;
  58275. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58276. }
  58277. break;
  58278. }
  58279. t1.set$state(start);
  58280. return null;
  58281. },
  58282. variableName$0() {
  58283. this.scanner.expectChar$1(36);
  58284. return this.identifier$1$normalize(true);
  58285. },
  58286. escape$1$identifierStart(identifierStart) {
  58287. var value, _0_0, i, next, t2, exception,
  58288. _s25_ = "Expected escape sequence.",
  58289. t1 = this.scanner,
  58290. start = t1._string_scanner$_position;
  58291. t1.expectChar$1(92);
  58292. value = 0;
  58293. $label0$1: {
  58294. _0_0 = t1.peekChar$0();
  58295. if (_0_0 == null)
  58296. t1.error$1(0, _s25_);
  58297. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58298. t1.error$1(0, _s25_);
  58299. if (A.CharacterExtension_get_isHex(_0_0)) {
  58300. for (i = 0; i < 6; ++i) {
  58301. next = t1.peekChar$0();
  58302. if (next != null) {
  58303. t2 = true;
  58304. if (!(next >= 48 && next <= 57))
  58305. if (!(next >= 97 && next <= 102))
  58306. t2 = next >= 65 && next <= 70;
  58307. t2 = !t2;
  58308. } else
  58309. t2 = true;
  58310. if (t2)
  58311. break;
  58312. value *= 16;
  58313. value += A.asHex(t1.readChar$0());
  58314. }
  58315. this.scanCharIf$1(new A.Parser_escape_closure());
  58316. break $label0$1;
  58317. }
  58318. value = t1.readChar$0();
  58319. }
  58320. if (identifierStart) {
  58321. t2 = value;
  58322. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58323. } else {
  58324. t2 = value;
  58325. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58326. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58327. else
  58328. t2 = true;
  58329. }
  58330. if (t2)
  58331. try {
  58332. t2 = A.Primitives_stringFromCharCode(value);
  58333. return t2;
  58334. } catch (exception) {
  58335. if (type$.RangeError._is(A.unwrapException(exception)))
  58336. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58337. else
  58338. throw exception;
  58339. }
  58340. else {
  58341. t1 = true;
  58342. if (!(value <= 31))
  58343. if (!J.$eq$(value, 127))
  58344. if (identifierStart) {
  58345. t1 = value;
  58346. t1 = t1 >= 48 && t1 <= 57;
  58347. } else
  58348. t1 = false;
  58349. if (t1) {
  58350. t1 = "" + A.Primitives_stringFromCharCode(92);
  58351. if (value > 15)
  58352. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58353. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58354. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58355. } else
  58356. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58357. }
  58358. },
  58359. escape$0() {
  58360. return this.escape$1$identifierStart(false);
  58361. },
  58362. scanCharIf$1(condition) {
  58363. var t1 = this.scanner;
  58364. if (!condition.call$1(t1.peekChar$0()))
  58365. return false;
  58366. t1.readChar$0();
  58367. return true;
  58368. },
  58369. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58370. var t3,
  58371. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58372. t2 = this.scanner,
  58373. _0_0 = t2.peekChar$0();
  58374. if (_0_0 != null) {
  58375. t3 = t1.call$1(_0_0);
  58376. t3 = t3;
  58377. } else
  58378. t3 = false;
  58379. if (t3) {
  58380. t2.readChar$0();
  58381. return true;
  58382. }
  58383. if (92 === _0_0) {
  58384. t3 = t2._string_scanner$_position;
  58385. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58386. return true;
  58387. t2.set$state(new A._SpanScannerState(t2, t3));
  58388. }
  58389. return false;
  58390. },
  58391. scanIdentChar$1(char) {
  58392. return this.scanIdentChar$2$caseSensitive(char, false);
  58393. },
  58394. expectIdentChar$1(letter) {
  58395. var t1;
  58396. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58397. return;
  58398. t1 = this.scanner;
  58399. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58400. },
  58401. lookingAtIdentifier$1($forward) {
  58402. var t1, _1_0, t2, _0_0;
  58403. if ($forward == null)
  58404. $forward = 0;
  58405. t1 = this.scanner;
  58406. _1_0 = t1.peekChar$1($forward);
  58407. $label0$0: {
  58408. if (A._isInt(_1_0))
  58409. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58410. else
  58411. t2 = false;
  58412. if (t2 || 92 === _1_0) {
  58413. t1 = true;
  58414. break $label0$0;
  58415. }
  58416. if (45 === _1_0) {
  58417. _0_0 = t1.peekChar$1($forward + 1);
  58418. $label1$1: {
  58419. if (A._isInt(_0_0))
  58420. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58421. else
  58422. t1 = false;
  58423. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58424. if (t1)
  58425. break $label1$1;
  58426. break $label1$1;
  58427. }
  58428. break $label0$0;
  58429. }
  58430. t1 = false;
  58431. break $label0$0;
  58432. }
  58433. return t1;
  58434. },
  58435. lookingAtIdentifier$0() {
  58436. return this.lookingAtIdentifier$1(null);
  58437. },
  58438. lookingAtIdentifierBody$0() {
  58439. var t1,
  58440. next = this.scanner.peekChar$0();
  58441. if (next != null) {
  58442. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58443. t1 = next >= 48 && next <= 57 || next === 45;
  58444. else
  58445. t1 = true;
  58446. t1 = t1 || next === 92;
  58447. } else
  58448. t1 = false;
  58449. return t1;
  58450. },
  58451. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58452. var t1, t2, _this = this;
  58453. if (!_this.lookingAtIdentifier$0())
  58454. return false;
  58455. t1 = _this.scanner;
  58456. t2 = t1._string_scanner$_position;
  58457. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58458. return true;
  58459. else {
  58460. t1.set$state(new A._SpanScannerState(t1, t2));
  58461. return false;
  58462. }
  58463. },
  58464. scanIdentifier$1(text) {
  58465. return this.scanIdentifier$2$caseSensitive(text, false);
  58466. },
  58467. _consumeIdentifier$2(text, caseSensitive) {
  58468. var t1, t2, t3;
  58469. 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();) {
  58470. t3 = t1.__internal$_current;
  58471. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58472. return false;
  58473. }
  58474. return true;
  58475. },
  58476. expectIdentifier$2$name(text, $name) {
  58477. var t1, start, t2, t3, t4, t5, t6;
  58478. if ($name == null)
  58479. $name = '"' + text + '"';
  58480. t1 = this.scanner;
  58481. start = t1._string_scanner$_position;
  58482. 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();) {
  58483. t6 = t2.__internal$_current;
  58484. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58485. continue;
  58486. t1.error$2$position(0, t5, start);
  58487. }
  58488. if (!this.lookingAtIdentifierBody$0())
  58489. return;
  58490. t1.error$2$position(0, t4, start);
  58491. },
  58492. expectIdentifier$1(text) {
  58493. return this.expectIdentifier$2$name(text, null);
  58494. },
  58495. rawText$1(consumer) {
  58496. var t1 = this.scanner,
  58497. start = t1._string_scanner$_position;
  58498. consumer.call$0();
  58499. return t1.substring$1(0, start);
  58500. },
  58501. spanFrom$1(state) {
  58502. var span = this.scanner.spanFrom$1(state);
  58503. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58504. },
  58505. error$3(_, message, span, trace) {
  58506. var exception = new A.StringScannerException(this.scanner.string, message, span);
  58507. if (trace == null)
  58508. throw A.wrapException(exception);
  58509. else
  58510. A.throwWithTrace(exception, this.get$error(this), trace);
  58511. },
  58512. error$2(_, message, span) {
  58513. return this.error$3(0, message, span, null);
  58514. },
  58515. withErrorMessage$1$2(message, callback) {
  58516. var error, stackTrace, t1, exception;
  58517. try {
  58518. t1 = callback.call$0();
  58519. return t1;
  58520. } catch (exception) {
  58521. t1 = A.unwrapException(exception);
  58522. if (type$.SourceSpanFormatException._is(t1)) {
  58523. error = t1;
  58524. stackTrace = A.getTraceFromException(exception);
  58525. t1 = J.get$span$z(error);
  58526. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  58527. } else
  58528. throw exception;
  58529. }
  58530. },
  58531. withErrorMessage$2(message, callback) {
  58532. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  58533. },
  58534. wrapSpanFormatException$1$1(callback) {
  58535. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  58536. _s8_ = "expected";
  58537. try {
  58538. try {
  58539. t3 = callback.call$0();
  58540. return t3;
  58541. } catch (exception) {
  58542. t3 = A.unwrapException(exception);
  58543. if (type$.SourceSpanFormatException._is(t3)) {
  58544. error = t3;
  58545. stackTrace = A.getTraceFromException(exception);
  58546. map = _this._interpolationMap;
  58547. if (map == null)
  58548. throw exception;
  58549. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  58550. } else
  58551. throw exception;
  58552. }
  58553. } catch (exception) {
  58554. t3 = A.unwrapException(exception);
  58555. if (type$.MultiSourceSpanFormatException._is(t3)) {
  58556. error0 = t3;
  58557. stackTrace0 = A.getTraceFromException(exception);
  58558. span = J.get$span$z(error0);
  58559. t3 = type$.FileSpan;
  58560. t4 = type$.String;
  58561. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  58562. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  58563. span = _this._adjustExceptionSpan$1(span);
  58564. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58565. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  58566. t2 = t3.get$current(t3);
  58567. span0 = null;
  58568. description = null;
  58569. _0_0 = t2;
  58570. span0 = _0_0._0;
  58571. description = _0_0._1;
  58572. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  58573. }
  58574. secondarySpans = t1;
  58575. }
  58576. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  58577. } else if (type$.SourceSpanFormatException._is(t3)) {
  58578. error1 = t3;
  58579. stackTrace1 = A.getTraceFromException(exception);
  58580. span1 = J.get$span$z(error1);
  58581. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  58582. span1 = _this._adjustExceptionSpan$1(span1);
  58583. t1 = error1._span_exception$_message;
  58584. t2 = span1;
  58585. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  58586. } else
  58587. throw exception;
  58588. }
  58589. },
  58590. wrapSpanFormatException$1(callback) {
  58591. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  58592. },
  58593. _adjustExceptionSpan$1(span) {
  58594. var start, t1;
  58595. if (span.get$length(span) > 0)
  58596. return span;
  58597. start = this._firstNewlineBefore$1(span.get$start(span));
  58598. if (start.$eq(0, span.get$start(span)))
  58599. t1 = span;
  58600. else {
  58601. t1 = start.offset;
  58602. t1 = A._FileSpan$(start.file, t1, t1);
  58603. }
  58604. return t1;
  58605. },
  58606. _firstNewlineBefore$1($location) {
  58607. var lastNewline, codeUnit,
  58608. t1 = $location.file,
  58609. t2 = $location.offset,
  58610. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  58611. index = t2 - 1;
  58612. for (lastNewline = null; index >= 0;) {
  58613. codeUnit = text.charCodeAt(index);
  58614. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  58615. if (lastNewline == null)
  58616. t1 = $location;
  58617. else {
  58618. t2 = new A.FileLocation(t1, lastNewline);
  58619. t2.FileLocation$_$2(t1, lastNewline);
  58620. t1 = t2;
  58621. }
  58622. return t1;
  58623. }
  58624. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  58625. lastNewline = index;
  58626. --index;
  58627. }
  58628. return $location;
  58629. }
  58630. };
  58631. A.Parser__parseIdentifier_closure.prototype = {
  58632. call$0() {
  58633. var t1 = this.$this,
  58634. result = t1.identifier$0();
  58635. t1.scanner.expectDone$0();
  58636. return result;
  58637. },
  58638. $signature: 32
  58639. };
  58640. A.Parser_escape_closure.prototype = {
  58641. call$1(char) {
  58642. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  58643. },
  58644. $signature: 30
  58645. };
  58646. A.Parser_scanIdentChar_matches.prototype = {
  58647. call$1(actual) {
  58648. var t1 = this.char;
  58649. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  58650. },
  58651. $signature: 50
  58652. };
  58653. A.Parser_spanFrom_closure.prototype = {
  58654. call$0() {
  58655. var t1 = this.$this._interpolationMap;
  58656. if (t1 == null)
  58657. t1 = type$.InterpolationMap._as(t1);
  58658. return t1.mapSpan$1(this.span);
  58659. },
  58660. $signature: 28
  58661. };
  58662. A.SassParser.prototype = {
  58663. get$currentIndentation() {
  58664. return this._currentIndentation;
  58665. },
  58666. get$indented() {
  58667. return true;
  58668. },
  58669. styleRuleSelector$0() {
  58670. var t4,
  58671. t1 = this.scanner,
  58672. t2 = t1._string_scanner$_position,
  58673. t3 = new A.StringBuffer(""),
  58674. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58675. do {
  58676. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  58677. t4 = A.Primitives_stringFromCharCode(10);
  58678. t4 = t3._contents += t4;
  58679. } 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()));
  58680. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58681. },
  58682. expectStatementSeparator$1($name) {
  58683. var t1, _this = this,
  58684. trailingSemicolon = _this._tryTrailingSemicolon$0();
  58685. if (!_this.atEndOfStatement$0())
  58686. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  58687. if (_this._peekIndentation$0() <= _this._currentIndentation)
  58688. return;
  58689. t1 = $name == null ? "here" : "beneath a " + $name;
  58690. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  58691. },
  58692. expectStatementSeparator$0() {
  58693. return this.expectStatementSeparator$1(null);
  58694. },
  58695. atEndOfStatement$0() {
  58696. var t1 = this.scanner.peekChar$0();
  58697. if (t1 == null)
  58698. t1 = null;
  58699. else
  58700. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  58701. return t1 !== false;
  58702. },
  58703. lookingAtChildren$0() {
  58704. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  58705. },
  58706. importArgument$0() {
  58707. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  58708. $label0$0: {
  58709. t1 = _this.scanner;
  58710. _0_0 = t1.peekChar$0();
  58711. if (117 === _0_0 || 85 === _0_0) {
  58712. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58713. if (_this.scanIdentifier$1("url"))
  58714. if (t1.scanChar$1(40)) {
  58715. t1.set$state(start);
  58716. return _this.super$StylesheetParser$importArgument();
  58717. } else
  58718. t1.set$state(start);
  58719. break $label0$0;
  58720. }
  58721. if (39 === _0_0 || 34 === _0_0)
  58722. return _this.super$StylesheetParser$importArgument();
  58723. }
  58724. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58725. next = t1.peekChar$0();
  58726. while (true) {
  58727. t2 = false;
  58728. if (next != null)
  58729. if (next !== 44)
  58730. if (next !== 59)
  58731. t2 = !(next === 10 || next === 13 || next === 12);
  58732. if (!t2)
  58733. break;
  58734. t1.readChar$0();
  58735. next = t1.peekChar$0();
  58736. }
  58737. url = t1.substring$1(0, start.position);
  58738. span = t1.spanFrom$1(start);
  58739. if (_this.isPlainImportUrl$1(url))
  58740. 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);
  58741. else
  58742. try {
  58743. t1 = _this.parseImportUrl$1(url);
  58744. return new A.DynamicImport(t1, span);
  58745. } catch (exception) {
  58746. t1 = A.unwrapException(exception);
  58747. if (type$.FormatException._is(t1)) {
  58748. innerError = t1;
  58749. stackTrace = A.getTraceFromException(exception);
  58750. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  58751. } else
  58752. throw exception;
  58753. }
  58754. },
  58755. scanElse$1(ifIndentation) {
  58756. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  58757. if (_this._peekIndentation$0() !== ifIndentation)
  58758. return false;
  58759. t1 = _this.scanner;
  58760. t2 = t1._string_scanner$_position;
  58761. startIndentation = _this._currentIndentation;
  58762. startNextIndentation = _this._nextIndentation;
  58763. startNextIndentationEnd = _this._nextIndentationEnd;
  58764. _this._readIndentation$0();
  58765. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  58766. return true;
  58767. t1.set$state(new A._SpanScannerState(t1, t2));
  58768. _this._currentIndentation = startIndentation;
  58769. _this._nextIndentation = startNextIndentation;
  58770. _this._nextIndentationEnd = startNextIndentationEnd;
  58771. return false;
  58772. },
  58773. children$1(_, child) {
  58774. var children = A._setArrayType([], type$.JSArray_Statement);
  58775. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  58776. return children;
  58777. },
  58778. statements$1(statement) {
  58779. var statements, t2, _1_0,
  58780. t1 = this.scanner,
  58781. _0_0 = t1.peekChar$0();
  58782. if (9 === _0_0 || 32 === _0_0)
  58783. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  58784. statements = A._setArrayType([], type$.JSArray_Statement);
  58785. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58786. _1_0 = this._child$1(statement);
  58787. if (_1_0 != null)
  58788. statements.push(_1_0);
  58789. this._readIndentation$0();
  58790. }
  58791. return statements;
  58792. },
  58793. _child$1(child) {
  58794. var _0_0, _this = this,
  58795. t1 = _this.scanner,
  58796. _1_0 = t1.peekChar$0();
  58797. $label0$0: {
  58798. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  58799. t1 = null;
  58800. break $label0$0;
  58801. }
  58802. if (36 === _1_0) {
  58803. t1 = _this.variableDeclarationWithoutNamespace$0();
  58804. break $label0$0;
  58805. }
  58806. if (47 === _1_0) {
  58807. _0_0 = t1.peekChar$1(1);
  58808. $label1$1: {
  58809. if (47 === _0_0) {
  58810. t1 = _this._silentComment$0();
  58811. break $label1$1;
  58812. }
  58813. if (42 === _0_0) {
  58814. t1 = _this._loudComment$0();
  58815. break $label1$1;
  58816. }
  58817. t1 = child.call$0();
  58818. break $label1$1;
  58819. }
  58820. break $label0$0;
  58821. }
  58822. t1 = child.call$0();
  58823. break $label0$0;
  58824. }
  58825. return t1;
  58826. },
  58827. _silentComment$0() {
  58828. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  58829. t1 = _this.scanner,
  58830. t2 = t1._string_scanner$_position;
  58831. t1.expect$1("//");
  58832. buffer = new A.StringBuffer("");
  58833. parentIndentation = _this._currentIndentation;
  58834. t3 = t1.string.length;
  58835. t4 = 1 + parentIndentation;
  58836. t5 = 2 + parentIndentation;
  58837. $label0$0:
  58838. do {
  58839. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  58840. for (i = commentPrefix.length; true;) {
  58841. t6 = buffer._contents += commentPrefix;
  58842. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  58843. t6 += A.Primitives_stringFromCharCode(32);
  58844. buffer._contents = t6;
  58845. }
  58846. while (true) {
  58847. if (t1._string_scanner$_position !== t3) {
  58848. t7 = t1.peekChar$0();
  58849. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  58850. } else
  58851. t7 = false;
  58852. if (!t7)
  58853. break;
  58854. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58855. buffer._contents = t6;
  58856. }
  58857. buffer._contents = t6 + "\n";
  58858. if (_this._peekIndentation$0() < parentIndentation)
  58859. break $label0$0;
  58860. if (_this._peekIndentation$0() === parentIndentation) {
  58861. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  58862. _this._readIndentation$0();
  58863. break;
  58864. }
  58865. _this._readIndentation$0();
  58866. }
  58867. } while (t1.scan$1("//"));
  58868. t3 = buffer._contents;
  58869. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58870. },
  58871. _loudComment$0() {
  58872. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  58873. t1 = _this.scanner,
  58874. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58875. t1.expect$1("/*");
  58876. t2 = new A.StringBuffer("");
  58877. t3 = A._setArrayType([], type$.JSArray_Object);
  58878. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  58879. buffer = new A.InterpolationBuffer(t2, t3, t4);
  58880. t2._contents = "" + "/*";
  58881. parentIndentation = _this._currentIndentation;
  58882. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  58883. if (first) {
  58884. beginningOfComment = t1._string_scanner$_position;
  58885. _this.spaces$0();
  58886. t7 = t1.peekChar$0();
  58887. if (t7 === 10 || t7 === 13 || t7 === 12) {
  58888. _this._readIndentation$0();
  58889. t7 = A.Primitives_stringFromCharCode(32);
  58890. t2._contents += t7;
  58891. } else {
  58892. end = t1._string_scanner$_position;
  58893. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  58894. }
  58895. } else {
  58896. t7 = t2._contents += "\n";
  58897. t2._contents = t7 + " * ";
  58898. }
  58899. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  58900. t7 = A.Primitives_stringFromCharCode(32);
  58901. t2._contents += t7;
  58902. }
  58903. for (; t1._string_scanner$_position !== t6;) {
  58904. _1_0 = t1.peekChar$0();
  58905. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  58906. break;
  58907. if (35 === _1_0) {
  58908. if (t1.peekChar$1(1) === 123) {
  58909. _0_0 = _this.singleInterpolation$0();
  58910. buffer._flushText$0();
  58911. t3.push(_0_0._0);
  58912. t4.push(_0_0._1);
  58913. } else {
  58914. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58915. t2._contents += t7;
  58916. }
  58917. continue;
  58918. }
  58919. if (42 === _1_0) {
  58920. if (t1.peekChar$1(1) === 47) {
  58921. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58922. t2._contents += t3;
  58923. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58924. t2._contents += t3;
  58925. endPosition = t1._string_scanner$_position;
  58926. t2 = t1._sourceFile;
  58927. t3 = start.position;
  58928. span = new A._FileSpan(t2, t3, endPosition);
  58929. span._FileSpan$3(t2, t3, endPosition);
  58930. _this.whitespace$1$consumeNewlines(false);
  58931. while (true) {
  58932. t2 = t1.peekChar$0();
  58933. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  58934. break;
  58935. for (; _this._lookingAtDoubleNewline$0();)
  58936. _this._expectNewline$0();
  58937. _this._readIndentation$0();
  58938. _this.whitespace$1$consumeNewlines(false);
  58939. }
  58940. if (t1._string_scanner$_position !== t6) {
  58941. t2 = t1.peekChar$0();
  58942. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  58943. } else
  58944. t2 = false;
  58945. if (t2) {
  58946. t2 = t1._string_scanner$_position;
  58947. while (true) {
  58948. if (t1._string_scanner$_position !== t6) {
  58949. t3 = t1.peekChar$0();
  58950. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58951. } else
  58952. t3 = false;
  58953. if (!t3)
  58954. break;
  58955. t1.readChar$0();
  58956. }
  58957. 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));
  58958. } else
  58959. return new A.LoudComment(buffer.interpolation$1(span));
  58960. } else {
  58961. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58962. t2._contents += t7;
  58963. }
  58964. continue;
  58965. }
  58966. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58967. t2._contents += t7;
  58968. }
  58969. if (_this._peekIndentation$0() <= parentIndentation)
  58970. break;
  58971. for (; _this._lookingAtDoubleNewline$0();) {
  58972. _this._expectNewline$0();
  58973. t7 = t2._contents += "\n";
  58974. t2._contents = t7 + " *";
  58975. }
  58976. _this._readIndentation$0();
  58977. }
  58978. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(start)));
  58979. },
  58980. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  58981. var t1, t2, next, t3;
  58982. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58983. next = t1.peekChar$0();
  58984. if (consumeNewlines)
  58985. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  58986. else
  58987. t3 = !(next === 32 || next === 9);
  58988. if (t3)
  58989. break;
  58990. t1.readChar$0();
  58991. }
  58992. },
  58993. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  58994. var t1 = this.scanner,
  58995. _0_0 = t1.peekChar$0();
  58996. if (13 === _0_0) {
  58997. t1.readChar$0();
  58998. if (t1.peekChar$0() === 10)
  58999. t1.readChar$0();
  59000. return;
  59001. }
  59002. if (10 === _0_0 || 12 === _0_0) {
  59003. t1.readChar$0();
  59004. return;
  59005. }
  59006. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  59007. },
  59008. _expectNewline$0() {
  59009. return this._expectNewline$1$trailingSemicolon(false);
  59010. },
  59011. _lookingAtDoubleNewline$0() {
  59012. var t2, _0_0,
  59013. t1 = this.scanner,
  59014. _1_0 = t1.peekChar$0();
  59015. $label1$1: {
  59016. t2 = false;
  59017. if (13 === _1_0) {
  59018. _0_0 = t1.peekChar$1(1);
  59019. $label0$0: {
  59020. if (10 === _0_0) {
  59021. t1 = t1.peekChar$1(2);
  59022. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59023. break $label0$0;
  59024. }
  59025. if (13 === _0_0 || 12 === _0_0) {
  59026. t1 = true;
  59027. break $label0$0;
  59028. }
  59029. t1 = t2;
  59030. break $label0$0;
  59031. }
  59032. break $label1$1;
  59033. }
  59034. if (10 === _1_0 || 12 === _1_0) {
  59035. t1 = t1.peekChar$1(1);
  59036. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59037. break $label1$1;
  59038. }
  59039. t1 = t2;
  59040. break $label1$1;
  59041. }
  59042. return t1;
  59043. },
  59044. _whileIndentedLower$1(body) {
  59045. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59046. parentIndentation = _this._currentIndentation;
  59047. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59048. indentation = _this._readIndentation$0();
  59049. if (childIndentation == null)
  59050. childIndentation = indentation;
  59051. if (childIndentation !== indentation) {
  59052. t3 = t1._string_scanner$_position;
  59053. t4 = t2.getColumn$1(t3);
  59054. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59055. }
  59056. body.call$0();
  59057. }
  59058. },
  59059. _readIndentation$0() {
  59060. var t1, _this = this,
  59061. currentIndentation = _this._nextIndentation;
  59062. if (currentIndentation == null)
  59063. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59064. _this._currentIndentation = currentIndentation;
  59065. t1 = _this._nextIndentationEnd;
  59066. t1.toString;
  59067. _this.scanner.set$state(t1);
  59068. _this._nextIndentationEnd = _this._nextIndentation = null;
  59069. return currentIndentation;
  59070. },
  59071. _peekIndentation$0() {
  59072. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59073. _0_0 = _this._nextIndentation;
  59074. if (_0_0 != null)
  59075. return _0_0;
  59076. t1 = _this.scanner;
  59077. t2 = t1._string_scanner$_position;
  59078. t3 = t1.string.length;
  59079. if (t2 === t3) {
  59080. _this._nextIndentation = 0;
  59081. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59082. return 0;
  59083. }
  59084. start = new A._SpanScannerState(t1, t2);
  59085. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59086. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59087. containsTab = A._Cell$();
  59088. containsSpace = A._Cell$();
  59089. nextIndentation = A._Cell$();
  59090. do {
  59091. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59092. nextIndentation.__late_helper$_value = 0;
  59093. for (; true;) {
  59094. $label0$0: {
  59095. _1_0 = t1.peekChar$0();
  59096. if (32 === _1_0) {
  59097. containsSpace.__late_helper$_value = true;
  59098. break $label0$0;
  59099. }
  59100. if (9 === _1_0) {
  59101. containsTab.__late_helper$_value = true;
  59102. break $label0$0;
  59103. }
  59104. break;
  59105. }
  59106. t2 = nextIndentation.__late_helper$_value;
  59107. if (t2 === nextIndentation)
  59108. A.throwExpression(A.LateError$localNI(""));
  59109. nextIndentation.__late_helper$_value = t2 + 1;
  59110. t1.readChar$0();
  59111. }
  59112. t2 = t1._string_scanner$_position;
  59113. if (t2 === t3) {
  59114. _this._nextIndentation = 0;
  59115. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59116. t1.set$state(start);
  59117. return 0;
  59118. }
  59119. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59120. t2 = containsTab._readLocal$0();
  59121. t3 = containsSpace._readLocal$0();
  59122. if (t2) {
  59123. if (t3) {
  59124. t2 = t1._string_scanner$_position;
  59125. t3 = t1._sourceFile;
  59126. t4 = t3.getColumn$1(t2);
  59127. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59128. } else if (_this._spaces === true) {
  59129. t2 = t1._string_scanner$_position;
  59130. t3 = t1._sourceFile;
  59131. t4 = t3.getColumn$1(t2);
  59132. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59133. }
  59134. } else if (t3 && _this._spaces === false) {
  59135. t2 = t1._string_scanner$_position;
  59136. t3 = t1._sourceFile;
  59137. t4 = t3.getColumn$1(t2);
  59138. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59139. }
  59140. _this._nextIndentation = nextIndentation._readLocal$0();
  59141. if (nextIndentation._readLocal$0() > 0)
  59142. if (_this._spaces == null)
  59143. _this._spaces = containsSpace._readLocal$0();
  59144. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59145. t1.set$state(start);
  59146. return nextIndentation._readLocal$0();
  59147. },
  59148. _tryTrailingSemicolon$0() {
  59149. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59150. this.whitespace$1$consumeNewlines(false);
  59151. return true;
  59152. }
  59153. return false;
  59154. }
  59155. };
  59156. A.SassParser_styleRuleSelector_closure.prototype = {
  59157. call$1(char) {
  59158. return char === 10 || char === 13 || char === 12;
  59159. },
  59160. $signature: 30
  59161. };
  59162. A.SassParser_children_closure.prototype = {
  59163. call$0() {
  59164. var _0_0 = this.$this._child$1(this.child);
  59165. if (_0_0 != null)
  59166. this.children.push(_0_0);
  59167. },
  59168. $signature: 0
  59169. };
  59170. A.SassParser__peekIndentation_closure.prototype = {
  59171. call$1(char) {
  59172. return char === 10 || char === 13 || char === 12;
  59173. },
  59174. $signature: 30
  59175. };
  59176. A.SassParser__peekIndentation_closure0.prototype = {
  59177. call$1(char) {
  59178. return char === 10 || char === 13 || char === 12;
  59179. },
  59180. $signature: 30
  59181. };
  59182. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59183. call$1(char) {
  59184. return char === 59;
  59185. },
  59186. $signature: 30
  59187. };
  59188. A.ScssParser.prototype = {
  59189. get$indented() {
  59190. return false;
  59191. },
  59192. get$currentIndentation() {
  59193. return 0;
  59194. },
  59195. styleRuleSelector$0() {
  59196. return this.almostAnyValue$0();
  59197. },
  59198. expectStatementSeparator$1($name) {
  59199. var t1, _0_0;
  59200. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59201. t1 = this.scanner;
  59202. if (t1._string_scanner$_position === t1.string.length)
  59203. return;
  59204. _0_0 = t1.peekChar$0();
  59205. if (59 === _0_0 || 125 === _0_0)
  59206. return;
  59207. t1.expectChar$1(59);
  59208. },
  59209. expectStatementSeparator$0() {
  59210. return this.expectStatementSeparator$1(null);
  59211. },
  59212. atEndOfStatement$0() {
  59213. var next = this.scanner.peekChar$0();
  59214. return next == null || next === 59 || next === 125 || next === 123;
  59215. },
  59216. lookingAtChildren$0() {
  59217. return this.scanner.peekChar$0() === 123;
  59218. },
  59219. scanElse$1(ifIndentation) {
  59220. var t3, _this = this,
  59221. t1 = _this.scanner,
  59222. t2 = t1._string_scanner$_position;
  59223. _this.whitespace$1$consumeNewlines(true);
  59224. t3 = t1._string_scanner$_position;
  59225. if (t1.scanChar$1(64)) {
  59226. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59227. return true;
  59228. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59229. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_hAa, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59230. t1.set$position(t1._string_scanner$_position - 2);
  59231. return true;
  59232. }
  59233. }
  59234. t1.set$state(new A._SpanScannerState(t1, t2));
  59235. return false;
  59236. },
  59237. children$1(_, child) {
  59238. var children, _this = this,
  59239. t1 = _this.scanner;
  59240. t1.expectChar$1(123);
  59241. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59242. children = A._setArrayType([], type$.JSArray_Statement);
  59243. for (; true;)
  59244. switch (t1.peekChar$0()) {
  59245. case 36:
  59246. children.push(_this.variableDeclarationWithoutNamespace$0());
  59247. break;
  59248. case 47:
  59249. switch (t1.peekChar$1(1)) {
  59250. case 47:
  59251. children.push(_this._scss$_silentComment$0());
  59252. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59253. break;
  59254. case 42:
  59255. children.push(_this._scss$_loudComment$0());
  59256. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59257. break;
  59258. default:
  59259. children.push(child.call$0());
  59260. }
  59261. break;
  59262. case 59:
  59263. t1.readChar$0();
  59264. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59265. break;
  59266. case 125:
  59267. t1.expectChar$1(125);
  59268. return children;
  59269. default:
  59270. children.push(child.call$0());
  59271. }
  59272. },
  59273. statements$1(statement) {
  59274. var t1, t2, _0_0, _1_0, _this = this,
  59275. statements = A._setArrayType([], type$.JSArray_Statement);
  59276. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59277. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59278. switch (t1.peekChar$0()) {
  59279. case 36:
  59280. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59281. break;
  59282. case 47:
  59283. switch (t1.peekChar$1(1)) {
  59284. case 47:
  59285. statements.push(_this._scss$_silentComment$0());
  59286. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59287. break;
  59288. case 42:
  59289. statements.push(_this._scss$_loudComment$0());
  59290. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59291. break;
  59292. default:
  59293. _0_0 = statement.call$0();
  59294. if (_0_0 != null)
  59295. statements.push(_0_0);
  59296. }
  59297. break;
  59298. case 59:
  59299. t1.readChar$0();
  59300. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59301. break;
  59302. default:
  59303. _1_0 = statement.call$0();
  59304. if (_1_0 != null)
  59305. statements.push(_1_0);
  59306. }
  59307. return statements;
  59308. },
  59309. _scss$_silentComment$0() {
  59310. var t2, t3, _this = this,
  59311. t1 = _this.scanner,
  59312. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59313. t1.expect$1("//");
  59314. t2 = t1.string.length;
  59315. do {
  59316. while (true) {
  59317. if (t1._string_scanner$_position !== t2) {
  59318. t3 = t1.readChar$0();
  59319. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59320. } else
  59321. t3 = false;
  59322. if (!t3)
  59323. break;
  59324. }
  59325. if (t1._string_scanner$_position === t2)
  59326. break;
  59327. _this.spaces$0();
  59328. } while (t1.scan$1("//"));
  59329. if (_this.get$plainCss())
  59330. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  59331. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  59332. },
  59333. _scss$_loudComment$0() {
  59334. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  59335. t1 = this.scanner,
  59336. t2 = t1._string_scanner$_position;
  59337. t1.expect$1("/*");
  59338. t3 = new A.StringBuffer("");
  59339. t4 = A._setArrayType([], type$.JSArray_Object);
  59340. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59341. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59342. t3._contents = "" + "/*";
  59343. $label0$1:
  59344. for (; true;)
  59345. switch (t1.peekChar$0()) {
  59346. case 35:
  59347. if (t1.peekChar$1(1) === 123) {
  59348. _0_0 = this.singleInterpolation$0();
  59349. buffer._flushText$0();
  59350. t4.push(_0_0._0);
  59351. t5.push(_0_0._1);
  59352. } else {
  59353. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59354. t3._contents += t6;
  59355. }
  59356. break;
  59357. case 42:
  59358. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59359. t3._contents += t6;
  59360. if (t1.peekChar$0() !== 47)
  59361. continue $label0$1;
  59362. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59363. t3._contents += t4;
  59364. endPosition = t1._string_scanner$_position;
  59365. t3 = t1._sourceFile;
  59366. t4 = new A._SpanScannerState(t1, t2).position;
  59367. t1 = new A._FileSpan(t3, t4, endPosition);
  59368. t1._FileSpan$3(t3, t4, endPosition);
  59369. return new A.LoudComment(buffer.interpolation$1(t1));
  59370. case 13:
  59371. t1.readChar$0();
  59372. if (t1.peekChar$0() !== 10) {
  59373. t6 = A.Primitives_stringFromCharCode(10);
  59374. t3._contents += t6;
  59375. }
  59376. break;
  59377. case 12:
  59378. t1.readChar$0();
  59379. t6 = A.Primitives_stringFromCharCode(10);
  59380. t3._contents += t6;
  59381. break;
  59382. default:
  59383. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59384. t3._contents += t6;
  59385. }
  59386. }
  59387. };
  59388. A.SelectorParser.prototype = {
  59389. parse$0(_) {
  59390. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59391. },
  59392. parseCompoundSelector$0() {
  59393. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59394. },
  59395. _selectorList$0() {
  59396. var t4, t5, lineBreak, _this = this,
  59397. t1 = _this.scanner,
  59398. t2 = t1._string_scanner$_position,
  59399. t3 = t1._sourceFile,
  59400. previousLine = t3.getLine$1(t2),
  59401. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59402. _this.whitespace$1$consumeNewlines(true);
  59403. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59404. _this.whitespace$1$consumeNewlines(true);
  59405. if (t1.peekChar$0() === 44)
  59406. continue;
  59407. t5 = t1._string_scanner$_position;
  59408. if (t5 === t4)
  59409. break;
  59410. lineBreak = t3.getLine$1(t5) !== previousLine;
  59411. if (lineBreak)
  59412. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59413. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59414. }
  59415. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59416. },
  59417. _complexSelector$1$lineBreak(lineBreak) {
  59418. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59419. _s18_ = "expected selector.",
  59420. t1 = _this.scanner,
  59421. t2 = t1._string_scanner$_position,
  59422. componentStart = new A._SpanScannerState(t1, t2),
  59423. t3 = type$.JSArray_CssValue_Combinator,
  59424. combinators = A._setArrayType([], t3),
  59425. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59426. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  59427. _this.whitespace$1$consumeNewlines(true);
  59428. _0_0 = t1.peekChar$0();
  59429. if (43 === _0_0) {
  59430. t5 = t1._string_scanner$_position;
  59431. t1.readChar$0();
  59432. combinators.push(new A.CssValue(B.Combinator_bOP, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59433. continue;
  59434. }
  59435. if (62 === _0_0) {
  59436. t5 = t1._string_scanner$_position;
  59437. t1.readChar$0();
  59438. combinators.push(new A.CssValue(B.Combinator_0mp, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59439. continue;
  59440. }
  59441. if (126 === _0_0) {
  59442. t5 = t1._string_scanner$_position;
  59443. t1.readChar$0();
  59444. combinators.push(new A.CssValue(B.Combinator_55N, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59445. continue;
  59446. }
  59447. if (_0_0 == null)
  59448. break;
  59449. t5 = true;
  59450. if (91 !== _0_0)
  59451. if (46 !== _0_0)
  59452. if (35 !== _0_0)
  59453. if (37 !== _0_0)
  59454. if (58 !== _0_0)
  59455. if (38 !== _0_0)
  59456. if (42 !== _0_0)
  59457. if (124 !== _0_0)
  59458. t5 = _this.lookingAtIdentifier$0();
  59459. if (t5) {
  59460. if (lastCompound != null) {
  59461. t5 = _this.spanFrom$1(componentStart);
  59462. result = A.List_List$from(combinators, false, t4);
  59463. result.$flags = 3;
  59464. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59465. } else if (combinators.length !== 0) {
  59466. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59467. initialCombinators = combinators;
  59468. }
  59469. lastCompound = _this._compoundSelector$0();
  59470. combinators = A._setArrayType([], t3);
  59471. if (t1.peekChar$0() === 38)
  59472. t1.error$1(0, string$.x22x26__ma);
  59473. continue;
  59474. }
  59475. break;
  59476. }
  59477. t3 = combinators.length !== 0;
  59478. if (t3 && _this._plainCss)
  59479. t1.error$1(0, _s18_);
  59480. else if (lastCompound != null) {
  59481. t3 = _this.spanFrom$1(componentStart);
  59482. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59483. } else if (t3)
  59484. initialCombinators = combinators;
  59485. else
  59486. t1.error$1(0, _s18_);
  59487. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59488. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59489. },
  59490. _complexSelector$0() {
  59491. return this._complexSelector$1$lineBreak(false);
  59492. },
  59493. _compoundSelector$0() {
  59494. var t3, _this = this,
  59495. t1 = _this.scanner,
  59496. t2 = t1._string_scanner$_position,
  59497. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59498. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  59499. components.push(_this._simpleSelector$1$allowParent(t3));
  59500. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59501. },
  59502. _simpleSelector$1$allowParent(allowParent) {
  59503. var t2, $name, text, t3, suffix, _this = this,
  59504. t1 = _this.scanner,
  59505. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59506. if (allowParent == null)
  59507. allowParent = _this._allowParent;
  59508. switch (t1.peekChar$0()) {
  59509. case 91:
  59510. return _this._attributeSelector$0();
  59511. case 46:
  59512. t2 = t1._string_scanner$_position;
  59513. t1.expectChar$1(46);
  59514. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59515. case 35:
  59516. t2 = t1._string_scanner$_position;
  59517. t1.expectChar$1(35);
  59518. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59519. case 37:
  59520. t2 = t1._string_scanner$_position;
  59521. t1.expectChar$1(37);
  59522. $name = _this.identifier$0();
  59523. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59524. if (_this._plainCss)
  59525. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  59526. return new A.PlaceholderSelector($name, t2);
  59527. case 58:
  59528. return _this._pseudoSelector$0();
  59529. case 38:
  59530. t2 = t1._string_scanner$_position;
  59531. t1.expectChar$1(38);
  59532. if (_this.lookingAtIdentifierBody$0()) {
  59533. text = new A.StringBuffer("");
  59534. _this._identifierBody$1(text);
  59535. if (text._contents.length === 0)
  59536. t1.error$1(0, "Expected identifier body.");
  59537. t3 = text._contents;
  59538. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  59539. } else
  59540. suffix = null;
  59541. if (_this._plainCss && suffix != null)
  59542. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  59543. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59544. if (!allowParent)
  59545. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  59546. return new A.ParentSelector(suffix, t2);
  59547. default:
  59548. return _this._typeOrUniversalSelector$0();
  59549. }
  59550. },
  59551. _simpleSelector$0() {
  59552. return this._simpleSelector$1$allowParent(null);
  59553. },
  59554. _attributeSelector$0() {
  59555. var $name, operator, next, value, modifier, _this = this, _null = null,
  59556. t1 = _this.scanner,
  59557. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59558. t1.expectChar$1(91);
  59559. _this.whitespace$1$consumeNewlines(true);
  59560. $name = _this._attributeName$0();
  59561. _this.whitespace$1$consumeNewlines(true);
  59562. if (t1.scanChar$1(93))
  59563. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  59564. operator = _this._attributeOperator$0();
  59565. _this.whitespace$1$consumeNewlines(true);
  59566. next = t1.peekChar$0();
  59567. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  59568. _this.whitespace$1$consumeNewlines(true);
  59569. next = t1.peekChar$0();
  59570. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  59571. t1.expectChar$1(93);
  59572. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  59573. },
  59574. _attributeName$0() {
  59575. var nameOrNamespace, _this = this,
  59576. t1 = _this.scanner;
  59577. if (t1.scanChar$1(42)) {
  59578. t1.expectChar$1(124);
  59579. return new A.QualifiedName(_this.identifier$0(), "*");
  59580. }
  59581. if (t1.scanChar$1(124))
  59582. return new A.QualifiedName(_this.identifier$0(), "");
  59583. nameOrNamespace = _this.identifier$0();
  59584. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  59585. return new A.QualifiedName(nameOrNamespace, null);
  59586. t1.readChar$0();
  59587. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  59588. },
  59589. _attributeOperator$0() {
  59590. var t1 = this.scanner,
  59591. t2 = t1._string_scanner$_position;
  59592. switch (t1.readChar$0()) {
  59593. case 61:
  59594. return B.AttributeOperator_Lvy;
  59595. case 126:
  59596. t1.expectChar$1(61);
  59597. return B.AttributeOperator_fp2;
  59598. case 124:
  59599. t1.expectChar$1(61);
  59600. return B.AttributeOperator_iyP;
  59601. case 94:
  59602. t1.expectChar$1(61);
  59603. return B.AttributeOperator_JzP;
  59604. case 36:
  59605. t1.expectChar$1(61);
  59606. return B.AttributeOperator_U1W;
  59607. case 42:
  59608. t1.expectChar$1(61);
  59609. return B.AttributeOperator_GWq;
  59610. default:
  59611. t1.error$2$position(0, 'Expected "]".', t2);
  59612. }
  59613. },
  59614. _pseudoSelector$0() {
  59615. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  59616. t1 = _this.scanner,
  59617. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59618. t1.expectChar$1(58);
  59619. element = t1.scanChar$1(58);
  59620. $name = _this.identifier$0();
  59621. if (!t1.scanChar$1(40))
  59622. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  59623. _this.whitespace$1$consumeNewlines(true);
  59624. unvendored = A.unvendor($name);
  59625. argument = _null;
  59626. selector = _null;
  59627. if (element)
  59628. if ($._selectorPseudoElements.contains$1(0, unvendored))
  59629. selector = _this._selectorList$0();
  59630. else
  59631. argument = _this.declarationValue$1$allowEmpty(true);
  59632. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  59633. selector = _this._selectorList$0();
  59634. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  59635. argument = _this._aNPlusB$0();
  59636. _this.whitespace$1$consumeNewlines(true);
  59637. t2 = t1.peekChar$1(-1);
  59638. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  59639. _this.expectIdentifier$1("of");
  59640. argument += " of";
  59641. _this.whitespace$1$consumeNewlines(true);
  59642. selector = _this._selectorList$0();
  59643. }
  59644. } else
  59645. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  59646. t1.expectChar$1(41);
  59647. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  59648. },
  59649. _aNPlusB$0() {
  59650. var t1, _0_0, t2, $self, next, _this = this;
  59651. $label0$0: {
  59652. t1 = _this.scanner;
  59653. _0_0 = t1.peekChar$0();
  59654. if (101 === _0_0 || 69 === _0_0) {
  59655. _this.expectIdentifier$1("even");
  59656. return "even";
  59657. }
  59658. if (111 === _0_0 || 79 === _0_0) {
  59659. _this.expectIdentifier$1("odd");
  59660. return "odd";
  59661. }
  59662. if (43 === _0_0 || 45 === _0_0) {
  59663. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  59664. break $label0$0;
  59665. }
  59666. t2 = "";
  59667. }
  59668. $self = t1.peekChar$0();
  59669. if ($self != null && $self >= 48 && $self <= 57) {
  59670. do {
  59671. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59672. $self = t1.peekChar$0();
  59673. } while ($self != null && $self >= 48 && $self <= 57);
  59674. _this.whitespace$1$consumeNewlines(true);
  59675. if (!_this.scanIdentChar$1(110))
  59676. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59677. } else
  59678. _this.expectIdentChar$1(110);
  59679. t2 += A.Primitives_stringFromCharCode(110);
  59680. _this.whitespace$1$consumeNewlines(true);
  59681. next = t1.peekChar$0();
  59682. if (next !== 43 && next !== 45)
  59683. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59684. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59685. _this.whitespace$1$consumeNewlines(true);
  59686. $self = t1.peekChar$0();
  59687. if (!($self != null && $self >= 48 && $self <= 57))
  59688. t1.error$1(0, "Expected a number.");
  59689. do {
  59690. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59691. $self = t1.peekChar$0();
  59692. } while ($self != null && $self >= 48 && $self <= 57);
  59693. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59694. },
  59695. _typeOrUniversalSelector$0() {
  59696. var nameOrNamespace, _this = this,
  59697. t1 = _this.scanner,
  59698. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59699. if (t1.scanChar$1(42)) {
  59700. if (!t1.scanChar$1(124))
  59701. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  59702. 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));
  59703. } else if (t1.scanChar$1(124))
  59704. 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));
  59705. nameOrNamespace = _this.identifier$0();
  59706. if (!t1.scanChar$1(124))
  59707. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  59708. else if (t1.scanChar$1(42))
  59709. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  59710. else
  59711. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  59712. },
  59713. _isSimpleSelectorStart$1(character) {
  59714. var t1;
  59715. $label0$0: {
  59716. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  59717. t1 = true;
  59718. break $label0$0;
  59719. }
  59720. if (38 === character) {
  59721. t1 = this._plainCss;
  59722. break $label0$0;
  59723. }
  59724. t1 = false;
  59725. break $label0$0;
  59726. }
  59727. return t1;
  59728. }
  59729. };
  59730. A.SelectorParser_parse_closure.prototype = {
  59731. call$0() {
  59732. var t1 = this.$this,
  59733. selector = t1._selectorList$0();
  59734. t1 = t1.scanner;
  59735. if (t1._string_scanner$_position !== t1.string.length)
  59736. t1.error$1(0, "expected selector.");
  59737. return selector;
  59738. },
  59739. $signature: 397
  59740. };
  59741. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  59742. call$0() {
  59743. var t1 = this.$this,
  59744. compound = t1._compoundSelector$0();
  59745. t1 = t1.scanner;
  59746. if (t1._string_scanner$_position !== t1.string.length)
  59747. t1.error$1(0, "expected selector.");
  59748. return compound;
  59749. },
  59750. $signature: 396
  59751. };
  59752. A.StylesheetParser.prototype = {
  59753. parse$0(_) {
  59754. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  59755. },
  59756. parseParameterList$0() {
  59757. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  59758. },
  59759. parseVariableDeclaration$0() {
  59760. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  59761. },
  59762. parseUseRule$0() {
  59763. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  59764. },
  59765. _parseSingleProduction$1$1(production, $T) {
  59766. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  59767. },
  59768. _statement$1$root(root) {
  59769. var t2, _this = this,
  59770. t1 = _this.scanner,
  59771. _0_0 = t1.peekChar$0();
  59772. if (64 === _0_0)
  59773. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  59774. if (43 === _0_0) {
  59775. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  59776. return _this._styleRule$0();
  59777. _this._isUseAllowed = false;
  59778. t2 = t1._string_scanner$_position;
  59779. t1.readChar$0();
  59780. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  59781. }
  59782. if (61 === _0_0) {
  59783. if (!_this.get$indented())
  59784. return _this._styleRule$0();
  59785. _this._isUseAllowed = false;
  59786. t2 = t1._string_scanner$_position;
  59787. t1.readChar$0();
  59788. _this.whitespace$1$consumeNewlines(true);
  59789. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  59790. }
  59791. if (125 === _0_0)
  59792. t1.error$2$length(0, 'unmatched "}".', 1);
  59793. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  59794. },
  59795. _statement$0() {
  59796. return this._statement$1$root(false);
  59797. },
  59798. _variableDeclarationWithNamespace$0() {
  59799. var t1 = this.scanner,
  59800. t2 = t1._string_scanner$_position,
  59801. namespace = this.identifier$0();
  59802. t1.expectChar$1(46);
  59803. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  59804. },
  59805. variableDeclarationWithoutNamespace$2(namespace, start_) {
  59806. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  59807. precedingComment = _this.lastSilentComment;
  59808. _this.lastSilentComment = null;
  59809. if (start_ == null) {
  59810. t1 = _this.scanner;
  59811. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59812. } else
  59813. start = start_;
  59814. $name = _this.variableName$0();
  59815. t1 = namespace != null;
  59816. if (t1)
  59817. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  59818. if (_this.get$plainCss())
  59819. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  59820. _this.whitespace$1$consumeNewlines(true);
  59821. t2 = _this.scanner;
  59822. t2.expectChar$1(58);
  59823. _this.whitespace$1$consumeNewlines(true);
  59824. value = _this._expression$0();
  59825. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59826. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  59827. $label0$0: {
  59828. _0_0 = _this.identifier$0();
  59829. if ("default" === _0_0) {
  59830. if (guarded) {
  59831. endPosition = t2._string_scanner$_position;
  59832. t4 = t2._sourceFile;
  59833. t5 = flagStart.position;
  59834. t6 = new A._FileSpan(t4, t5, endPosition);
  59835. t6._FileSpan$3(t4, t5, endPosition);
  59836. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21defau, t6));
  59837. }
  59838. guarded = true;
  59839. break $label0$0;
  59840. }
  59841. if ("global" === _0_0) {
  59842. if (t1) {
  59843. endPosition = t2._string_scanner$_position;
  59844. t4 = t2._sourceFile;
  59845. t5 = flagStart.position;
  59846. t6 = new A._FileSpan(t4, t5, endPosition);
  59847. t6._FileSpan$3(t4, t5, endPosition);
  59848. _this.error$2(0, string$.x21globai, t6);
  59849. } else if (global) {
  59850. endPosition = t2._string_scanner$_position;
  59851. t4 = t2._sourceFile;
  59852. t5 = flagStart.position;
  59853. t6 = new A._FileSpan(t4, t5, endPosition);
  59854. t6._FileSpan$3(t4, t5, endPosition);
  59855. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21globas, t6));
  59856. }
  59857. global = true;
  59858. break $label0$0;
  59859. }
  59860. endPosition = t2._string_scanner$_position;
  59861. t4 = t2._sourceFile;
  59862. t5 = flagStart.position;
  59863. t6 = new A._FileSpan(t4, t5, endPosition);
  59864. t6._FileSpan$3(t4, t5, endPosition);
  59865. _this.error$2(0, "Invalid flag name.", t6);
  59866. }
  59867. _this.whitespace$1$consumeNewlines(false);
  59868. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59869. }
  59870. _this.expectStatementSeparator$1("variable declaration");
  59871. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  59872. if (global)
  59873. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  59874. return declaration;
  59875. },
  59876. variableDeclarationWithoutNamespace$0() {
  59877. return this.variableDeclarationWithoutNamespace$2(null, null);
  59878. },
  59879. _variableDeclarationOrStyleRule$0() {
  59880. var t1, t2, variableOrInterpolation, t3, _this = this;
  59881. if (_this.get$plainCss())
  59882. return _this._styleRule$0();
  59883. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59884. return _this._styleRule$0();
  59885. if (!_this.lookingAtIdentifier$0())
  59886. return _this._styleRule$0();
  59887. t1 = _this.scanner;
  59888. t2 = t1._string_scanner$_position;
  59889. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  59890. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59891. t1 = variableOrInterpolation;
  59892. else {
  59893. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  59894. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59895. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  59896. t1 = t2;
  59897. }
  59898. return t1;
  59899. },
  59900. _declarationOrStyleRule$0() {
  59901. var t1, t2, declarationOrBuffer, _this = this;
  59902. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59903. return _this._styleRule$0();
  59904. t1 = _this.scanner;
  59905. t2 = t1._string_scanner$_position;
  59906. declarationOrBuffer = _this._declarationOrBuffer$0();
  59907. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  59908. },
  59909. _declarationOrBuffer$0() {
  59910. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  59911. t1 = _this.scanner,
  59912. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59913. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  59914. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  59915. if (startsWithPunctuation) {
  59916. t2 = t1.readChar$0();
  59917. t3 = nameBuffer._interpolation_buffer$_text;
  59918. t2 = A.Primitives_stringFromCharCode(t2);
  59919. t3._contents += t2;
  59920. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  59921. t3 = nameBuffer._interpolation_buffer$_text;
  59922. t3._contents += t2;
  59923. }
  59924. if (!_this._lookingAtInterpolatedIdentifier$0())
  59925. return nameBuffer;
  59926. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  59927. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59928. return variableOrInterpolation;
  59929. else
  59930. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59931. _this._isUseAllowed = false;
  59932. if (t1.matches$1("/*")) {
  59933. t2 = _this.rawText$1(_this.get$loudComment());
  59934. t3 = nameBuffer._interpolation_buffer$_text;
  59935. t3._contents += t2;
  59936. }
  59937. midBuffer = new A.StringBuffer("");
  59938. t2 = midBuffer;
  59939. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  59940. t2._contents += t3;
  59941. t3 = t1._string_scanner$_position;
  59942. if (!t1.scanChar$1(58)) {
  59943. if (midBuffer._contents.length !== 0) {
  59944. t1 = nameBuffer._interpolation_buffer$_text;
  59945. t2 = A.Primitives_stringFromCharCode(32);
  59946. t1._contents += t2;
  59947. }
  59948. return nameBuffer;
  59949. }
  59950. t2 = midBuffer;
  59951. t4 = A.Primitives_stringFromCharCode(58);
  59952. t2._contents += t4;
  59953. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  59954. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  59955. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  59956. _this.expectStatementSeparator$1("custom property");
  59957. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  59958. }
  59959. if (t1.scanChar$1(58)) {
  59960. t1 = nameBuffer;
  59961. t2 = t1._interpolation_buffer$_text;
  59962. t3 = A.S(midBuffer);
  59963. t2._contents += t3;
  59964. t3 = A.Primitives_stringFromCharCode(58);
  59965. t2._contents += t3;
  59966. return t1;
  59967. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  59968. t1 = nameBuffer;
  59969. t2 = t1._interpolation_buffer$_text;
  59970. t3 = A.S(midBuffer);
  59971. t2._contents += t3;
  59972. return t1;
  59973. }
  59974. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure1(_this));
  59975. _0_0 = _this._tryDeclarationChildren$2($name, start);
  59976. if (_0_0 != null)
  59977. return _0_0;
  59978. midBuffer._contents += postColonWhitespace;
  59979. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  59980. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59981. value = null;
  59982. try {
  59983. value = _this._expression$0();
  59984. if (_this.lookingAtChildren$0()) {
  59985. if (couldBeSelector)
  59986. _this.expectStatementSeparator$0();
  59987. } else if (!_this.atEndOfStatement$0())
  59988. _this.expectStatementSeparator$0();
  59989. } catch (exception) {
  59990. if (type$.FormatException._is(A.unwrapException(exception))) {
  59991. if (!couldBeSelector)
  59992. throw exception;
  59993. t1.set$state(beforeDeclaration);
  59994. additional = _this.almostAnyValue$0();
  59995. if (!_this.get$indented() && t1.peekChar$0() === 59)
  59996. throw exception;
  59997. t1 = nameBuffer._interpolation_buffer$_text;
  59998. t2 = A.S(midBuffer);
  59999. t1._contents += t2;
  60000. nameBuffer.addInterpolation$1(additional);
  60001. return nameBuffer;
  60002. } else
  60003. throw exception;
  60004. }
  60005. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60006. if (_1_0 != null)
  60007. return _1_0;
  60008. else {
  60009. _this.expectStatementSeparator$0();
  60010. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60011. }
  60012. },
  60013. _variableDeclarationOrInterpolation$0() {
  60014. var t1, start, identifier, t2, buffer, _this = this;
  60015. if (!_this.lookingAtIdentifier$0())
  60016. return _this.interpolatedIdentifier$0();
  60017. t1 = _this.scanner;
  60018. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60019. identifier = _this.identifier$0();
  60020. if (t1.matches$1(".$")) {
  60021. t1.readChar$0();
  60022. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60023. } else {
  60024. t2 = new A.StringBuffer("");
  60025. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60026. t2._contents = "" + identifier;
  60027. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60028. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60029. return buffer.interpolation$1(t1.spanFrom$1(start));
  60030. }
  60031. },
  60032. _styleRule$2(buffer, start_) {
  60033. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  60034. _this._isUseAllowed = false;
  60035. if (start_ == null) {
  60036. t2 = _this.scanner;
  60037. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60038. } else
  60039. start = start_;
  60040. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60041. if (buffer != null) {
  60042. buffer.addInterpolation$1(interpolation);
  60043. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  60044. } else
  60045. t2 = interpolation;
  60046. if (t2.contents.length === 0)
  60047. _this.scanner.error$1(0, 'expected "}".');
  60048. wasInStyleRule = _this._inStyleRule;
  60049. _this._inStyleRule = true;
  60050. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  60051. },
  60052. _styleRule$0() {
  60053. return this._styleRule$2(null, null);
  60054. },
  60055. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  60056. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60057. t1 = _this.scanner,
  60058. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60059. if (_this._lookingAtPotentialPropertyHack$0()) {
  60060. t2 = new A.StringBuffer("");
  60061. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60062. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60063. t2._contents += t3;
  60064. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60065. t2._contents += t3;
  60066. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60067. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  60068. } else if (!_this.get$plainCss()) {
  60069. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60070. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60071. return variableOrInterpolation;
  60072. else
  60073. type$.Interpolation._as(variableOrInterpolation);
  60074. $name = variableOrInterpolation;
  60075. } else
  60076. $name = _this.interpolatedIdentifier$0();
  60077. _this.whitespace$1$consumeNewlines(false);
  60078. t1.expectChar$1(58);
  60079. _this.whitespace$1$consumeNewlines(false);
  60080. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60081. if (_0_0 != null)
  60082. return _0_0;
  60083. value = _this._expression$0();
  60084. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60085. if (_1_0 != null)
  60086. return _1_0;
  60087. else {
  60088. _this.expectStatementSeparator$0();
  60089. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60090. }
  60091. },
  60092. _tryDeclarationChildren$3$value($name, start, value) {
  60093. var _this = this;
  60094. if (!_this.lookingAtChildren$0())
  60095. return null;
  60096. if (_this.get$plainCss())
  60097. _this.scanner.error$1(0, string$.Nested);
  60098. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60099. },
  60100. _tryDeclarationChildren$2($name, start) {
  60101. return this._tryDeclarationChildren$3$value($name, start, null);
  60102. },
  60103. _declarationChild$0() {
  60104. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  60105. },
  60106. atRule$2$root(child, root) {
  60107. var $name, wasUseAllowed, value, optional, _this = this,
  60108. t1 = _this.scanner,
  60109. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60110. t1.expectChar$2$name(64, "@-rule");
  60111. $name = _this.interpolatedIdentifier$0();
  60112. wasUseAllowed = _this._isUseAllowed;
  60113. _this._isUseAllowed = false;
  60114. switch ($name.get$asPlain()) {
  60115. case "at-root":
  60116. return _this._atRootRule$1(start);
  60117. case "content":
  60118. return _this._contentRule$1(start);
  60119. case "debug":
  60120. return _this._debugRule$1(start);
  60121. case "each":
  60122. return _this._eachRule$2(start, child);
  60123. case "else":
  60124. return _this._disallowedAtRule$1(start);
  60125. case "error":
  60126. return _this._errorRule$1(start);
  60127. case "extend":
  60128. _this.whitespace$1$consumeNewlines(true);
  60129. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60130. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  60131. value = _this.almostAnyValue$0();
  60132. optional = t1.scanChar$1(33);
  60133. if (optional) {
  60134. _this.expectIdentifier$1("optional");
  60135. _this.whitespace$1$consumeNewlines(false);
  60136. }
  60137. _this.expectStatementSeparator$1("@extend rule");
  60138. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  60139. case "for":
  60140. return _this._forRule$2(start, child);
  60141. case "forward":
  60142. _this._isUseAllowed = wasUseAllowed;
  60143. if (!root)
  60144. _this._disallowedAtRule$1(start);
  60145. return _this._forwardRule$1(start);
  60146. case "function":
  60147. return _this._functionRule$1(start);
  60148. case "if":
  60149. return _this._ifRule$2(start, child);
  60150. case "import":
  60151. return _this._importRule$1(start);
  60152. case "include":
  60153. return _this._includeRule$1(start);
  60154. case "media":
  60155. return _this.mediaRule$1(start);
  60156. case "mixin":
  60157. return _this._mixinRule$1(start);
  60158. case "-moz-document":
  60159. return _this.mozDocumentRule$2(start, $name);
  60160. case "return":
  60161. return _this._disallowedAtRule$1(start);
  60162. case "supports":
  60163. return _this.supportsRule$1(start);
  60164. case "use":
  60165. _this._isUseAllowed = wasUseAllowed;
  60166. if (!root)
  60167. _this._disallowedAtRule$1(start);
  60168. return _this._useRule$1(start);
  60169. case "warn":
  60170. return _this._warnRule$1(start);
  60171. case "while":
  60172. return _this._whileRule$2(start, child);
  60173. default:
  60174. return _this.unknownAtRule$2(start, $name);
  60175. }
  60176. },
  60177. _declarationAtRule$0() {
  60178. var _this = this,
  60179. t1 = _this.scanner,
  60180. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60181. _0_0 = _this._plainAtRuleName$0();
  60182. $label0$0: {
  60183. if ("content" === _0_0) {
  60184. t1 = _this._contentRule$1(start);
  60185. break $label0$0;
  60186. }
  60187. if ("debug" === _0_0) {
  60188. t1 = _this._debugRule$1(start);
  60189. break $label0$0;
  60190. }
  60191. if ("each" === _0_0) {
  60192. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60193. break $label0$0;
  60194. }
  60195. if ("else" === _0_0)
  60196. _this._disallowedAtRule$1(start);
  60197. if ("error" === _0_0) {
  60198. t1 = _this._errorRule$1(start);
  60199. break $label0$0;
  60200. }
  60201. if ("for" === _0_0) {
  60202. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60203. break $label0$0;
  60204. }
  60205. if ("if" === _0_0) {
  60206. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60207. break $label0$0;
  60208. }
  60209. if ("include" === _0_0) {
  60210. t1 = _this._includeRule$1(start);
  60211. break $label0$0;
  60212. }
  60213. if ("warn" === _0_0) {
  60214. t1 = _this._warnRule$1(start);
  60215. break $label0$0;
  60216. }
  60217. if ("while" === _0_0) {
  60218. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60219. break $label0$0;
  60220. }
  60221. t1 = _this._disallowedAtRule$1(start);
  60222. }
  60223. return t1;
  60224. },
  60225. _functionChild$0() {
  60226. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60227. t1 = _this.scanner;
  60228. if (t1.peekChar$0() !== 64) {
  60229. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60230. try {
  60231. t2 = _this._variableDeclarationWithNamespace$0();
  60232. return t2;
  60233. } catch (exception) {
  60234. t2 = A.unwrapException(exception);
  60235. t3 = type$.SourceSpanFormatException;
  60236. if (t3._is(t2)) {
  60237. variableDeclarationError = t2;
  60238. stackTrace = A.getTraceFromException(exception);
  60239. t1.set$state(state);
  60240. statement = null;
  60241. try {
  60242. statement = _this._declarationOrStyleRule$0();
  60243. } catch (exception) {
  60244. if (t3._is(A.unwrapException(exception)))
  60245. throw A.wrapException(variableDeclarationError);
  60246. else
  60247. throw exception;
  60248. }
  60249. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60250. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60251. } else
  60252. throw exception;
  60253. }
  60254. }
  60255. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60256. _0_0 = _this._plainAtRuleName$0();
  60257. $label0$0: {
  60258. if ("debug" === _0_0) {
  60259. t1 = _this._debugRule$1(start);
  60260. break $label0$0;
  60261. }
  60262. if ("each" === _0_0) {
  60263. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60264. break $label0$0;
  60265. }
  60266. if ("else" === _0_0)
  60267. _this._disallowedAtRule$1(start);
  60268. if ("error" === _0_0) {
  60269. t1 = _this._errorRule$1(start);
  60270. break $label0$0;
  60271. }
  60272. if ("for" === _0_0) {
  60273. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60274. break $label0$0;
  60275. }
  60276. if ("if" === _0_0) {
  60277. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60278. break $label0$0;
  60279. }
  60280. if ("return" === _0_0) {
  60281. _this.whitespace$1$consumeNewlines(true);
  60282. value = _this._expression$0();
  60283. _this.expectStatementSeparator$1("@return rule");
  60284. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  60285. break $label0$0;
  60286. }
  60287. if ("warn" === _0_0) {
  60288. t1 = _this._warnRule$1(start);
  60289. break $label0$0;
  60290. }
  60291. if ("while" === _0_0) {
  60292. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60293. break $label0$0;
  60294. }
  60295. t1 = _this._disallowedAtRule$1(start);
  60296. }
  60297. return t1;
  60298. },
  60299. _plainAtRuleName$0() {
  60300. this.scanner.expectChar$2$name(64, "@-rule");
  60301. return this.identifier$0();
  60302. },
  60303. _atRootRule$1(start) {
  60304. var t1, t2, t3, buffer, t4, _this = this;
  60305. _this.whitespace$1$consumeNewlines(false);
  60306. t1 = _this.scanner;
  60307. if (t1.peekChar$0() === 40) {
  60308. t2 = t1._string_scanner$_position;
  60309. t3 = new A.StringBuffer("");
  60310. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60311. t1.expectChar$1(40);
  60312. t4 = A.Primitives_stringFromCharCode(40);
  60313. t3._contents += t4;
  60314. _this.whitespace$1$consumeNewlines(true);
  60315. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60316. if (t1.scanChar$1(58)) {
  60317. _this.whitespace$1$consumeNewlines(true);
  60318. t4 = A.Primitives_stringFromCharCode(58);
  60319. t3._contents += t4;
  60320. t4 = A.Primitives_stringFromCharCode(32);
  60321. t3._contents += t4;
  60322. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60323. }
  60324. t1.expectChar$1(41);
  60325. _this.whitespace$1$consumeNewlines(false);
  60326. t4 = A.Primitives_stringFromCharCode(41);
  60327. t3._contents += t4;
  60328. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60329. } else {
  60330. if (!_this.lookingAtChildren$0())
  60331. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  60332. else
  60333. t2 = true;
  60334. if (t2)
  60335. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60336. else
  60337. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  60338. }
  60339. },
  60340. _contentRule$1(start) {
  60341. var t1, beforeWhitespace, $arguments, t2, _this = this;
  60342. if (!_this._stylesheet$_inMixin)
  60343. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  60344. t1 = _this.scanner;
  60345. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60346. _this.whitespace$1$consumeNewlines(false);
  60347. if (t1.peekChar$0() === 40) {
  60348. $arguments = _this._argumentInvocation$1$mixin(true);
  60349. _this.whitespace$1$consumeNewlines(false);
  60350. } else {
  60351. t2 = beforeWhitespace.offset;
  60352. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  60353. }
  60354. _this.expectStatementSeparator$1("@content rule");
  60355. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  60356. },
  60357. _debugRule$1(start) {
  60358. var value, t1, t2, _this = this;
  60359. _this.whitespace$1$consumeNewlines(true);
  60360. value = _this._expression$0();
  60361. t1 = _this.scanner;
  60362. t2 = t1._string_scanner$_position;
  60363. _this.expectStatementSeparator$1("@debug rule");
  60364. return new A.DebugRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60365. },
  60366. _eachRule$2(start, child) {
  60367. var wasInControlDirective, variables, t1, _this = this;
  60368. _this.whitespace$1$consumeNewlines(true);
  60369. wasInControlDirective = _this._inControlDirective;
  60370. _this._inControlDirective = true;
  60371. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60372. _this.whitespace$1$consumeNewlines(true);
  60373. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60374. _this.whitespace$1$consumeNewlines(true);
  60375. t1.expectChar$1(36);
  60376. variables.push(_this.identifier$1$normalize(true));
  60377. _this.whitespace$1$consumeNewlines(true);
  60378. }
  60379. _this.whitespace$1$consumeNewlines(true);
  60380. _this.expectIdentifier$1("in");
  60381. _this.whitespace$1$consumeNewlines(true);
  60382. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60383. },
  60384. _errorRule$1(start) {
  60385. var value, t1, t2, _this = this;
  60386. _this.whitespace$1$consumeNewlines(true);
  60387. value = _this._expression$0();
  60388. t1 = _this.scanner;
  60389. t2 = t1._string_scanner$_position;
  60390. _this.expectStatementSeparator$1("@error rule");
  60391. return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60392. },
  60393. _functionRule$1(start) {
  60394. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  60395. _this.whitespace$1$consumeNewlines(true);
  60396. precedingComment = _this.lastSilentComment;
  60397. _this.lastSilentComment = null;
  60398. t1 = _this.scanner;
  60399. t2 = t1._string_scanner$_position;
  60400. $name = _this.identifier$0();
  60401. if (B.JSString_methods.startsWith$1($name, "--"))
  60402. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60403. _this.whitespace$1$consumeNewlines(true);
  60404. parameters = _this._parameterList$0();
  60405. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60406. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  60407. else if (_this._inControlDirective)
  60408. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  60409. _0_0 = A.unvendor($name);
  60410. 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)
  60411. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  60412. _this.whitespace$1$consumeNewlines(false);
  60413. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60414. },
  60415. _forRule$2(start, child) {
  60416. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60417. _this.whitespace$1$consumeNewlines(true);
  60418. wasInControlDirective = _this._inControlDirective;
  60419. _this._inControlDirective = true;
  60420. variable = _this.variableName$0();
  60421. _this.whitespace$1$consumeNewlines(true);
  60422. _this.expectIdentifier$1("from");
  60423. _this.whitespace$1$consumeNewlines(true);
  60424. t1.exclusive = null;
  60425. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60426. if (t1.exclusive == null)
  60427. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60428. _this.whitespace$1$consumeNewlines(true);
  60429. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60430. },
  60431. _forwardRule$1(start) {
  60432. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60433. _this.whitespace$1$consumeNewlines(true);
  60434. url = _this._urlString$0();
  60435. _this.whitespace$1$consumeNewlines(false);
  60436. if (_this.scanIdentifier$1("as")) {
  60437. _this.whitespace$1$consumeNewlines(true);
  60438. prefix = _this.identifier$1$normalize(true);
  60439. _this.scanner.expectChar$1(42);
  60440. _this.whitespace$1$consumeNewlines(false);
  60441. } else
  60442. prefix = _null;
  60443. hiddenMixinsAndFunctions = _null;
  60444. hiddenVariables = _null;
  60445. if (_this.scanIdentifier$1("show")) {
  60446. _this.whitespace$1$consumeNewlines(true);
  60447. _0_0 = _this._memberList$0();
  60448. shownMixinsAndFunctions = _0_0._0;
  60449. shownVariables = _0_0._1;
  60450. } else {
  60451. if (_this.scanIdentifier$1("hide")) {
  60452. _this.whitespace$1$consumeNewlines(true);
  60453. _1_0 = _this._memberList$0();
  60454. hiddenMixinsAndFunctions = _1_0._0;
  60455. hiddenVariables = _1_0._1;
  60456. }
  60457. shownVariables = _null;
  60458. shownMixinsAndFunctions = shownVariables;
  60459. }
  60460. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60461. _this.whitespace$1$consumeNewlines(false);
  60462. _this.expectStatementSeparator$1("@forward rule");
  60463. span = _this.scanner.spanFrom$1(start);
  60464. if (!_this._isUseAllowed)
  60465. _this.error$2(0, string$.x40forwa, span);
  60466. if (shownMixinsAndFunctions != null) {
  60467. shownVariables.toString;
  60468. t1 = type$.String;
  60469. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60470. t3 = type$.UnmodifiableSetView_String;
  60471. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60472. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60473. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60474. } else if (hiddenMixinsAndFunctions != null) {
  60475. hiddenVariables.toString;
  60476. t1 = type$.String;
  60477. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60478. t3 = type$.UnmodifiableSetView_String;
  60479. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60480. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60481. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60482. } else
  60483. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60484. },
  60485. _memberList$0() {
  60486. var _this = this,
  60487. t1 = type$.String,
  60488. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60489. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60490. t1 = _this.scanner;
  60491. do {
  60492. _this.whitespace$1$consumeNewlines(true);
  60493. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60494. _this.whitespace$1$consumeNewlines(false);
  60495. } while (t1.scanChar$1(44));
  60496. return new A._Record_2(identifiers, variables);
  60497. },
  60498. _ifRule$2(start, child) {
  60499. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  60500. _this.whitespace$1$consumeNewlines(true);
  60501. ifIndentation = _this.get$currentIndentation();
  60502. wasInControlDirective = _this._inControlDirective;
  60503. _this._inControlDirective = true;
  60504. condition = _this._expression$0();
  60505. children = _this.children$1(0, child);
  60506. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60507. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  60508. while (true) {
  60509. if (!_this.scanElse$1(ifIndentation)) {
  60510. lastClause = null;
  60511. break;
  60512. }
  60513. _this.whitespace$1$consumeNewlines(false);
  60514. if (_this.scanIdentifier$1("if")) {
  60515. _this.whitespace$1$consumeNewlines(true);
  60516. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  60517. } else {
  60518. lastClause = A.ElseClause$(_this.children$1(0, child));
  60519. break;
  60520. }
  60521. }
  60522. _this._inControlDirective = wasInControlDirective;
  60523. span = _this.scanner.spanFrom$1(start);
  60524. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60525. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  60526. },
  60527. _importRule$1(start) {
  60528. var argument, t3, _this = this,
  60529. imports = A._setArrayType([], type$.JSArray_Import),
  60530. t1 = _this.scanner,
  60531. t2 = _this.warnings;
  60532. do {
  60533. _this.whitespace$1$consumeNewlines(false);
  60534. argument = _this.importArgument$0();
  60535. t3 = argument instanceof A.DynamicImport;
  60536. if (t3)
  60537. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_2g5, string$.Sassx20_i, argument.span));
  60538. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  60539. _this._disallowedAtRule$1(start);
  60540. imports.push(argument);
  60541. _this.whitespace$1$consumeNewlines(false);
  60542. } while (t1.scanChar$1(44));
  60543. _this.expectStatementSeparator$1("@import rule");
  60544. t1 = t1.spanFrom$1(start);
  60545. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  60546. },
  60547. importArgument$0() {
  60548. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  60549. t1 = _this.scanner,
  60550. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60551. _0_0 = t1.peekChar$0();
  60552. if (117 === _0_0 || 85 === _0_0) {
  60553. url = _this.dynamicUrl$0();
  60554. _this.whitespace$1$consumeNewlines(false);
  60555. modifiers = _this.tryImportModifiers$0();
  60556. 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));
  60557. return new A.StaticImport(t2, modifiers, t1.spanFrom$1(start));
  60558. }
  60559. url = _this.string$0();
  60560. urlSpan = t1.spanFrom$1(start);
  60561. _this.whitespace$1$consumeNewlines(false);
  60562. modifiers = _this.tryImportModifiers$0();
  60563. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  60564. t2 = urlSpan;
  60565. 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));
  60566. } else
  60567. try {
  60568. t1 = _this.parseImportUrl$1(url);
  60569. return new A.DynamicImport(t1, urlSpan);
  60570. } catch (exception) {
  60571. t1 = A.unwrapException(exception);
  60572. if (type$.FormatException._is(t1)) {
  60573. innerError = t1;
  60574. stackTrace = A.getTraceFromException(exception);
  60575. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  60576. } else
  60577. throw exception;
  60578. }
  60579. },
  60580. parseImportUrl$1(url) {
  60581. var t1 = $.$get$windows();
  60582. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  60583. return t1.toUri$1(url).toString$0(0);
  60584. A.Uri_parse(url);
  60585. return url;
  60586. },
  60587. isPlainImportUrl$1(url) {
  60588. var _0_0, t1;
  60589. if (url.length < 5)
  60590. return false;
  60591. if (B.JSString_methods.endsWith$1(url, ".css"))
  60592. return true;
  60593. _0_0 = url.charCodeAt(0);
  60594. $label0$0: {
  60595. if (47 === _0_0) {
  60596. t1 = url.charCodeAt(1) === 47;
  60597. break $label0$0;
  60598. }
  60599. if (104 === _0_0) {
  60600. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  60601. break $label0$0;
  60602. }
  60603. t1 = false;
  60604. break $label0$0;
  60605. }
  60606. return t1;
  60607. },
  60608. tryImportModifiers$0() {
  60609. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  60610. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  60611. return null;
  60612. t1 = _this.scanner;
  60613. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60614. t2 = new A.StringBuffer("");
  60615. t3 = A._setArrayType([], type$.JSArray_Object);
  60616. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60617. buffer = new A.InterpolationBuffer(t2, t3, t4);
  60618. for (; true;)
  60619. if (_this._lookingAtInterpolatedIdentifier$0()) {
  60620. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60621. t5 = A.Primitives_stringFromCharCode(32);
  60622. t2._contents += t5;
  60623. }
  60624. identifier = _this.interpolatedIdentifier$0();
  60625. buffer.addInterpolation$1(identifier);
  60626. t5 = identifier.get$asPlain();
  60627. $name = t5 == null ? null : t5.toLowerCase();
  60628. if ($name !== "and" && t1.scanChar$1(40)) {
  60629. if ($name === "supports") {
  60630. query = _this._importSupportsQuery$0();
  60631. t5 = !(query instanceof A.SupportsDeclaration);
  60632. if (t5) {
  60633. t6 = A.Primitives_stringFromCharCode(40);
  60634. t2._contents += t6;
  60635. }
  60636. t6 = query.get$span(query);
  60637. buffer._flushText$0();
  60638. t3.push(new A.SupportsExpression(query));
  60639. t4.push(t6);
  60640. if (t5) {
  60641. t5 = A.Primitives_stringFromCharCode(41);
  60642. t2._contents += t5;
  60643. }
  60644. } else {
  60645. t5 = A.Primitives_stringFromCharCode(40);
  60646. t2._contents += t5;
  60647. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  60648. t5 = A.Primitives_stringFromCharCode(41);
  60649. t2._contents += t5;
  60650. }
  60651. t1.expectChar$1(41);
  60652. _this.whitespace$1$consumeNewlines(false);
  60653. } else {
  60654. _this.whitespace$1$consumeNewlines(false);
  60655. if (t1.scanChar$1(44)) {
  60656. t2._contents += ", ";
  60657. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60658. endPosition = t1._string_scanner$_position;
  60659. t2 = t1._sourceFile;
  60660. t3 = start.position;
  60661. t1 = new A._FileSpan(t2, t3, endPosition);
  60662. t1._FileSpan$3(t2, t3, endPosition);
  60663. return buffer.interpolation$1(t1);
  60664. }
  60665. }
  60666. } else if (t1.peekChar$0() === 40) {
  60667. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60668. t3 = A.Primitives_stringFromCharCode(32);
  60669. t2._contents += t3;
  60670. }
  60671. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60672. endPosition = t1._string_scanner$_position;
  60673. t1 = t1._sourceFile;
  60674. t2 = start.position;
  60675. t3 = new A._FileSpan(t1, t2, endPosition);
  60676. t3._FileSpan$3(t1, t2, endPosition);
  60677. return buffer.interpolation$1(t3);
  60678. } else {
  60679. endPosition = t1._string_scanner$_position;
  60680. t1 = t1._sourceFile;
  60681. t2 = start.position;
  60682. t3 = new A._FileSpan(t1, t2, endPosition);
  60683. t3._FileSpan$3(t1, t2, endPosition);
  60684. return buffer.interpolation$1(t3);
  60685. }
  60686. },
  60687. _importSupportsQuery$0() {
  60688. var t1, t2, _0_0, $name, _this = this;
  60689. _this.whitespace$1$consumeNewlines(true);
  60690. if (_this.scanIdentifier$1("not")) {
  60691. _this.whitespace$1$consumeNewlines(true);
  60692. t1 = _this.scanner;
  60693. t2 = t1._string_scanner$_position;
  60694. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60695. } else {
  60696. t1 = _this.scanner;
  60697. if (t1.peekChar$0() === 40)
  60698. return _this._supportsCondition$1$inParentheses(true);
  60699. else {
  60700. _0_0 = _this._tryImportSupportsFunction$0();
  60701. if (_0_0 != null)
  60702. return _0_0;
  60703. t2 = t1._string_scanner$_position;
  60704. $name = _this._expression$1$consumeNewlines(true);
  60705. t1.expectChar$1(58);
  60706. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60707. }
  60708. }
  60709. },
  60710. _tryImportSupportsFunction$0() {
  60711. var t1, start, $name, value, _this = this;
  60712. if (!_this._lookingAtInterpolatedIdentifier$0())
  60713. return null;
  60714. t1 = _this.scanner;
  60715. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60716. $name = _this.interpolatedIdentifier$0();
  60717. if (!t1.scanChar$1(40)) {
  60718. t1.set$state(start);
  60719. return null;
  60720. }
  60721. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  60722. t1.expectChar$1(41);
  60723. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  60724. },
  60725. _includeRule$1(start) {
  60726. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  60727. _this.whitespace$1$consumeNewlines(true);
  60728. $name = _this.identifier$0();
  60729. t1 = _this.scanner;
  60730. if (t1.scanChar$1(46)) {
  60731. name0 = _this._publicIdentifier$0();
  60732. namespace = $name;
  60733. $name = name0;
  60734. } else
  60735. namespace = _null;
  60736. _this.whitespace$1$consumeNewlines(false);
  60737. if (t1.peekChar$0() === 40)
  60738. $arguments = _this._argumentInvocation$1$mixin(true);
  60739. else {
  60740. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60741. t3 = t2.offset;
  60742. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  60743. }
  60744. _this.whitespace$1$consumeNewlines(false);
  60745. if (_this.scanIdentifier$1("using")) {
  60746. _this.whitespace$1$consumeNewlines(true);
  60747. contentParameters = _this._parameterList$0();
  60748. _this.whitespace$1$consumeNewlines(false);
  60749. } else
  60750. contentParameters = _null;
  60751. t2 = contentParameters == null;
  60752. if (!t2 || _this.lookingAtChildren$0()) {
  60753. if (t2) {
  60754. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60755. t3 = t2.offset;
  60756. contentParameters_ = new A.ParameterList(B.List_empty12, _null, A._FileSpan$(t2.file, t3, t3));
  60757. } else
  60758. contentParameters_ = contentParameters;
  60759. wasInContentBlock = _this._inContentBlock;
  60760. _this._inContentBlock = true;
  60761. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  60762. _this._inContentBlock = wasInContentBlock;
  60763. } else {
  60764. _this.expectStatementSeparator$0();
  60765. $content = _null;
  60766. }
  60767. t1 = t1.spanFrom$2(start, start);
  60768. t2 = $content == null ? $arguments : $content;
  60769. span = t1.expand$1(0, t2.get$span(t2));
  60770. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  60771. },
  60772. mediaRule$1(start) {
  60773. var _this = this;
  60774. _this.whitespace$1$consumeNewlines(false);
  60775. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  60776. },
  60777. _mixinRule$1(start) {
  60778. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  60779. _this.whitespace$1$consumeNewlines(true);
  60780. precedingComment = _this.lastSilentComment;
  60781. _this.lastSilentComment = null;
  60782. t1 = _this.scanner;
  60783. t2 = t1._string_scanner$_position;
  60784. $name = _this.identifier$0();
  60785. if (B.JSString_methods.startsWith$1($name, "--"))
  60786. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60787. _this.whitespace$1$consumeNewlines(false);
  60788. if (t1.peekChar$0() === 40)
  60789. parameters = _this._parameterList$0();
  60790. else {
  60791. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60792. t3 = t2.offset;
  60793. parameters = new A.ParameterList(B.List_empty12, null, A._FileSpan$(t2.file, t3, t3));
  60794. }
  60795. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60796. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  60797. else if (_this._inControlDirective)
  60798. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  60799. _this.whitespace$1$consumeNewlines(false);
  60800. _this._stylesheet$_inMixin = true;
  60801. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  60802. },
  60803. mozDocumentRule$2(start, $name) {
  60804. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  60805. _this.whitespace$1$consumeNewlines(false);
  60806. t1 = _this.scanner;
  60807. t2 = t1._string_scanner$_position;
  60808. t3 = new A.StringBuffer("");
  60809. t4 = A._setArrayType([], type$.JSArray_Object);
  60810. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60811. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60812. _box_0.needsDeprecationWarning = false;
  60813. for (; true;) {
  60814. if (t1.peekChar$0() === 35) {
  60815. _0_0 = _this.singleInterpolation$0();
  60816. buffer._flushText$0();
  60817. t4.push(_0_0._0);
  60818. t5.push(_0_0._1);
  60819. _box_0.needsDeprecationWarning = true;
  60820. } else {
  60821. t6 = t1._string_scanner$_position;
  60822. identifier = _this.identifier$0();
  60823. $label0$0: {
  60824. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  60825. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  60826. if (_1_0 != null)
  60827. buffer.addInterpolation$1(_1_0);
  60828. else {
  60829. t1.expectChar$1(40);
  60830. _this.whitespace$1$consumeNewlines(false);
  60831. argument = _this.interpolatedString$0();
  60832. t1.expectChar$1(41);
  60833. t3._contents += identifier;
  60834. t6 = A.Primitives_stringFromCharCode(40);
  60835. t3._contents += t6;
  60836. buffer.addInterpolation$1(argument.asInterpolation$0());
  60837. t6 = A.Primitives_stringFromCharCode(41);
  60838. t3._contents += t6;
  60839. }
  60840. t6 = t3._contents;
  60841. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  60842. 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("")'))
  60843. _box_0.needsDeprecationWarning = true;
  60844. break $label0$0;
  60845. }
  60846. if ("regexp" === identifier) {
  60847. t3._contents += "regexp(";
  60848. t1.expectChar$1(40);
  60849. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  60850. t1.expectChar$1(41);
  60851. t6 = A.Primitives_stringFromCharCode(41);
  60852. t3._contents += t6;
  60853. _box_0.needsDeprecationWarning = true;
  60854. break $label0$0;
  60855. }
  60856. endPosition = t1._string_scanner$_position;
  60857. t7 = t1._sourceFile;
  60858. t8 = new A._FileSpan(t7, t6, endPosition);
  60859. t8._FileSpan$3(t7, t6, endPosition);
  60860. _this.error$2(0, "Invalid function name.", t8);
  60861. }
  60862. }
  60863. _this.whitespace$1$consumeNewlines(false);
  60864. if (!t1.scanChar$1(44))
  60865. break;
  60866. t6 = A.Primitives_stringFromCharCode(44);
  60867. t3._contents += t6;
  60868. start0 = t1._string_scanner$_position;
  60869. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  60870. end = t1._string_scanner$_position;
  60871. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  60872. }
  60873. 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)))));
  60874. },
  60875. supportsRule$1(start) {
  60876. var condition, _this = this;
  60877. _this.whitespace$1$consumeNewlines(false);
  60878. condition = _this._supportsCondition$0();
  60879. _this.whitespace$1$consumeNewlines(false);
  60880. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  60881. },
  60882. _useRule$1(start) {
  60883. var url, namespace, configuration, span, t1, _this = this;
  60884. _this.whitespace$1$consumeNewlines(true);
  60885. url = _this._urlString$0();
  60886. _this.whitespace$1$consumeNewlines(false);
  60887. namespace = _this._useNamespace$2(url, start);
  60888. _this.whitespace$1$consumeNewlines(false);
  60889. configuration = _this._stylesheet$_configuration$0();
  60890. _this.whitespace$1$consumeNewlines(false);
  60891. span = _this.scanner.spanFrom$1(start);
  60892. if (!_this._isUseAllowed)
  60893. _this.error$2(0, string$.x40use_r, span);
  60894. _this.expectStatementSeparator$1("@use rule");
  60895. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60896. t1.UseRule$4$configuration(url, namespace, span, configuration);
  60897. return t1;
  60898. },
  60899. _useNamespace$2(url, start) {
  60900. var namespace, basename, dot, t1, exception, _this = this;
  60901. if (_this.scanIdentifier$1("as")) {
  60902. _this.whitespace$1$consumeNewlines(true);
  60903. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  60904. }
  60905. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  60906. dot = B.JSString_methods.indexOf$1(basename, ".");
  60907. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  60908. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  60909. try {
  60910. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  60911. return t1;
  60912. } catch (exception) {
  60913. if (type$.SassFormatException._is(A.unwrapException(exception)))
  60914. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  60915. else
  60916. throw exception;
  60917. }
  60918. },
  60919. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  60920. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  60921. if (!_this.scanIdentifier$1("with"))
  60922. return null;
  60923. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  60924. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  60925. _this.whitespace$1$consumeNewlines(true);
  60926. t1 = _this.scanner;
  60927. t1.expectChar$1(40);
  60928. for (; true;) {
  60929. _this.whitespace$1$consumeNewlines(true);
  60930. t2 = t1._string_scanner$_position;
  60931. t1.expectChar$1(36);
  60932. $name = _this.identifier$1$normalize(true);
  60933. _this.whitespace$1$consumeNewlines(true);
  60934. t1.expectChar$1(58);
  60935. _this.whitespace$1$consumeNewlines(true);
  60936. expression = _this.expressionUntilComma$0();
  60937. t3 = t1._string_scanner$_position;
  60938. if (allowGuarded && t1.scanChar$1(33)) {
  60939. guarded = _this.identifier$0() === "default";
  60940. if (guarded)
  60941. _this.whitespace$1$consumeNewlines(true);
  60942. else {
  60943. endPosition = t1._string_scanner$_position;
  60944. t4 = t1._sourceFile;
  60945. t5 = new A._FileSpan(t4, t3, endPosition);
  60946. t5._FileSpan$3(t4, t3, endPosition);
  60947. _this.error$2(0, "Invalid flag name.", t5);
  60948. }
  60949. } else
  60950. guarded = false;
  60951. endPosition = t1._string_scanner$_position;
  60952. t3 = t1._sourceFile;
  60953. span = new A._FileSpan(t3, t2, endPosition);
  60954. span._FileSpan$3(t3, t2, endPosition);
  60955. if (variableNames.contains$1(0, $name))
  60956. _this.error$2(0, string$.The_sa, span);
  60957. variableNames.add$1(0, $name);
  60958. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  60959. if (!t1.scanChar$1(44))
  60960. break;
  60961. _this.whitespace$1$consumeNewlines(true);
  60962. if (!_this._lookingAtExpression$0())
  60963. break;
  60964. }
  60965. t1.expectChar$1(41);
  60966. return configuration;
  60967. },
  60968. _stylesheet$_configuration$0() {
  60969. return this._stylesheet$_configuration$1$allowGuarded(false);
  60970. },
  60971. _warnRule$1(start) {
  60972. var value, t1, t2, _this = this;
  60973. _this.whitespace$1$consumeNewlines(true);
  60974. value = _this._expression$0();
  60975. t1 = _this.scanner;
  60976. t2 = t1._string_scanner$_position;
  60977. _this.expectStatementSeparator$1("@warn rule");
  60978. return new A.WarnRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60979. },
  60980. _whileRule$2(start, child) {
  60981. var wasInControlDirective, _this = this;
  60982. _this.whitespace$1$consumeNewlines(true);
  60983. wasInControlDirective = _this._inControlDirective;
  60984. _this._inControlDirective = true;
  60985. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  60986. },
  60987. unknownAtRule$2(start, $name) {
  60988. var t2, t3, rule, _this = this, t1 = {},
  60989. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  60990. _this._stylesheet$_inUnknownAtRule = true;
  60991. _this.whitespace$1$consumeNewlines(false);
  60992. t1.value = null;
  60993. t2 = _this.scanner;
  60994. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  60995. if (_this.lookingAtChildren$0())
  60996. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  60997. else {
  60998. _this.expectStatementSeparator$0();
  60999. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  61000. }
  61001. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  61002. return rule;
  61003. },
  61004. _disallowedAtRule$1(start) {
  61005. var _this = this;
  61006. _this.whitespace$1$consumeNewlines(false);
  61007. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  61008. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  61009. },
  61010. _parameterList$0() {
  61011. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  61012. t1 = _this.scanner,
  61013. t2 = t1._string_scanner$_position;
  61014. t1.expectChar$1(40);
  61015. _this.whitespace$1$consumeNewlines(true);
  61016. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61017. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61018. for (; restParameter = null, t1.peekChar$0() === 36;) {
  61019. t3 = t1._string_scanner$_position;
  61020. t1.expectChar$1(36);
  61021. $name = _this.identifier$1$normalize(true);
  61022. _this.whitespace$1$consumeNewlines(true);
  61023. if (t1.scanChar$1(58)) {
  61024. _this.whitespace$1$consumeNewlines(true);
  61025. defaultValue = _this.expressionUntilComma$0();
  61026. } else {
  61027. if (t1.scanChar$1(46)) {
  61028. t1.expectChar$1(46);
  61029. t1.expectChar$1(46);
  61030. _this.whitespace$1$consumeNewlines(true);
  61031. if (t1.scanChar$1(44))
  61032. _this.whitespace$1$consumeNewlines(true);
  61033. restParameter = $name;
  61034. break;
  61035. }
  61036. defaultValue = null;
  61037. }
  61038. endPosition = t1._string_scanner$_position;
  61039. t4 = t1._sourceFile;
  61040. t5 = new A._FileSpan(t4, t3, endPosition);
  61041. t5._FileSpan$3(t4, t3, endPosition);
  61042. parameters.push(new A.Parameter($name, defaultValue, t5));
  61043. if (!named.add$1(0, $name))
  61044. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61045. if (!t1.scanChar$1(44))
  61046. break;
  61047. _this.whitespace$1$consumeNewlines(true);
  61048. }
  61049. t1.expectChar$1(41);
  61050. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61051. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61052. },
  61053. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61054. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  61055. t1 = _this.scanner,
  61056. t2 = t1._string_scanner$_position;
  61057. t1.expectChar$1(40);
  61058. _this.whitespace$1$consumeNewlines(true);
  61059. positional = A._setArrayType([], type$.JSArray_Expression);
  61060. t3 = type$.String;
  61061. t4 = type$.Expression;
  61062. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61063. for (t5 = !mixin, rest = null; keywordRest = null, _this._lookingAtExpression$0();) {
  61064. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61065. _this.whitespace$1$consumeNewlines(true);
  61066. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61067. _this.whitespace$1$consumeNewlines(true);
  61068. t6 = expression.name;
  61069. if (named.containsKey$1(t6))
  61070. _this.error$2(0, "Duplicate argument.", expression.span);
  61071. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  61072. } else if (t1.scanChar$1(46)) {
  61073. t1.expectChar$1(46);
  61074. t1.expectChar$1(46);
  61075. if (rest != null) {
  61076. _this.whitespace$1$consumeNewlines(true);
  61077. if (t1.scanChar$1(44))
  61078. _this.whitespace$1$consumeNewlines(true);
  61079. keywordRest = expression;
  61080. break;
  61081. }
  61082. rest = expression;
  61083. } else if (named.__js_helper$_length !== 0)
  61084. _this.error$2(0, string$.Positi, expression.get$span(expression));
  61085. else
  61086. positional.push(expression);
  61087. _this.whitespace$1$consumeNewlines(true);
  61088. if (!t1.scanChar$1(44))
  61089. break;
  61090. _this.whitespace$1$consumeNewlines(true);
  61091. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61092. t5 = t1._sourceFile;
  61093. t6 = t1._string_scanner$_position;
  61094. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  61095. t7 = new A._FileSpan(t5, t6, t6);
  61096. t7._FileSpan$3(t5, t6, t6);
  61097. result = A.List_List$from([""], false, type$.Object);
  61098. result.$flags = 3;
  61099. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t7), false));
  61100. break;
  61101. }
  61102. }
  61103. t1.expectChar$1(41);
  61104. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61105. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61106. },
  61107. _argumentInvocation$0() {
  61108. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61109. },
  61110. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61111. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61112. },
  61113. _argumentInvocation$1$mixin(mixin) {
  61114. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61115. },
  61116. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61117. 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,
  61118. _s20_ = "Expected expression.",
  61119. _box_0 = {},
  61120. t1 = until != null;
  61121. if (t1 && until.call$0())
  61122. _this.scanner.error$1(0, _s20_);
  61123. if (bracketList) {
  61124. t2 = _this.scanner;
  61125. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61126. t2.expectChar$1(91);
  61127. _this.whitespace$1$consumeNewlines(true);
  61128. if (t2.scanChar$1(93)) {
  61129. t1 = A._setArrayType([], type$.JSArray_Expression);
  61130. t2 = t2.spanFrom$1(beforeBracket);
  61131. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61132. }
  61133. } else
  61134. beforeBracket = null;
  61135. t2 = _this.scanner;
  61136. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61137. wasInExpression = _this._inExpression;
  61138. wasInParentheses = _this._inParentheses;
  61139. _this._inExpression = true;
  61140. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61141. _box_0.allowSlash = true;
  61142. _box_0.singleExpression_ = _this._singleExpression$0();
  61143. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61144. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61145. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61146. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61147. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  61148. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61149. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
  61150. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61151. if (t1 && until.call$0())
  61152. break;
  61153. _3_0 = t2.peekChar$0();
  61154. if (_3_0 == null)
  61155. break;
  61156. if (40 === _3_0) {
  61157. addSingleExpression.call$1(_this.parentheses$0());
  61158. continue;
  61159. }
  61160. if (91 === _3_0) {
  61161. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61162. continue;
  61163. }
  61164. if (36 === _3_0) {
  61165. addSingleExpression.call$1(_this._variable$0());
  61166. continue;
  61167. }
  61168. if (38 === _3_0) {
  61169. addSingleExpression.call$1(_this._selector$0());
  61170. continue;
  61171. }
  61172. if (39 === _3_0 || 34 === _3_0) {
  61173. addSingleExpression.call$1(_this.interpolatedString$0());
  61174. continue;
  61175. }
  61176. if (35 === _3_0) {
  61177. addSingleExpression.call$1(_this._hashExpression$0());
  61178. continue;
  61179. }
  61180. if (61 === _3_0) {
  61181. t2.readChar$0();
  61182. if (singleEquals && t2.peekChar$0() !== 61)
  61183. addOperator.call$1(B.BinaryOperator_Kyq);
  61184. else {
  61185. t2.expectChar$1(61);
  61186. addOperator.call$1(B.BinaryOperator_r84);
  61187. }
  61188. continue;
  61189. }
  61190. if (33 === _3_0) {
  61191. $label0$1: {
  61192. _1_0 = t2.peekChar$1(1);
  61193. if (61 === _1_0) {
  61194. t2.readChar$0();
  61195. t2.readChar$0();
  61196. addOperator.call$1(B.BinaryOperator_qGq);
  61197. break $label0$1;
  61198. }
  61199. t5 = true;
  61200. if (_1_0 != null)
  61201. if (105 !== _1_0)
  61202. if (73 !== _1_0)
  61203. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61204. if (t5) {
  61205. addSingleExpression.call$1(_this._importantExpression$0());
  61206. break $label0$1;
  61207. }
  61208. break;
  61209. }
  61210. continue;
  61211. }
  61212. if (60 === _3_0) {
  61213. t2.readChar$0();
  61214. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG : B.BinaryOperator_qHy);
  61215. continue;
  61216. }
  61217. if (62 === _3_0) {
  61218. t2.readChar$0();
  61219. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR : B.BinaryOperator_o8O);
  61220. continue;
  61221. }
  61222. if (42 === _3_0) {
  61223. t2.readChar$0();
  61224. addOperator.call$1(B.BinaryOperator_tht);
  61225. continue;
  61226. }
  61227. _3_28 = 43 === _3_0;
  61228. if (_3_28 && _box_0.singleExpression_ == null) {
  61229. addSingleExpression.call$1(_this._unaryOperation$0());
  61230. continue;
  61231. }
  61232. if (_3_28) {
  61233. t2.readChar$0();
  61234. addOperator.call$1(B.BinaryOperator_Swh);
  61235. continue;
  61236. }
  61237. if (45 === _3_0) {
  61238. _2_0 = t2.peekChar$1(1);
  61239. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61240. if (_box_0.singleExpression_ != null) {
  61241. t5 = t2.peekChar$1(-1);
  61242. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61243. } else
  61244. t5 = true;
  61245. else
  61246. t5 = false;
  61247. if (t5)
  61248. addSingleExpression.call$1(_this._number$0());
  61249. else if (_this._lookingAtInterpolatedIdentifier$0())
  61250. addSingleExpression.call$1(_this.identifierLike$0());
  61251. else if (_box_0.singleExpression_ == null)
  61252. addSingleExpression.call$1(_this._unaryOperation$0());
  61253. else {
  61254. t2.readChar$0();
  61255. addOperator.call$1(B.BinaryOperator_QG1);
  61256. }
  61257. continue;
  61258. }
  61259. _3_32 = 47 === _3_0;
  61260. if (_3_32 && _box_0.singleExpression_ == null) {
  61261. addSingleExpression.call$1(_this._unaryOperation$0());
  61262. continue;
  61263. }
  61264. if (_3_32) {
  61265. t2.readChar$0();
  61266. addOperator.call$1(B.BinaryOperator_Mh5);
  61267. continue;
  61268. }
  61269. if (37 === _3_0) {
  61270. t2.readChar$0();
  61271. addOperator.call$1(B.BinaryOperator_s7T);
  61272. continue;
  61273. }
  61274. if (_3_0 >= 48 && _3_0 <= 57) {
  61275. addSingleExpression.call$1(_this._number$0());
  61276. continue;
  61277. }
  61278. _3_40 = 46 === _3_0;
  61279. if (_3_40 && t2.peekChar$1(1) === 46)
  61280. break;
  61281. if (_3_40) {
  61282. addSingleExpression.call$1(_this._number$0());
  61283. continue;
  61284. }
  61285. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61286. addOperator.call$1(B.BinaryOperator_uke);
  61287. continue;
  61288. }
  61289. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61290. addOperator.call$1(B.BinaryOperator_tKu);
  61291. continue;
  61292. }
  61293. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61294. addSingleExpression.call$1(_this._unicodeRange$0());
  61295. continue;
  61296. }
  61297. if (!(_3_0 >= 97 && _3_0 <= 122))
  61298. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61299. else
  61300. t5 = true;
  61301. if (t5) {
  61302. addSingleExpression.call$1(_this.identifierLike$0());
  61303. continue;
  61304. }
  61305. if (44 === _3_0) {
  61306. if (_this._inParentheses) {
  61307. _this._inParentheses = false;
  61308. if (_box_0.allowSlash) {
  61309. resetState.call$0();
  61310. continue;
  61311. }
  61312. }
  61313. commaExpressions = _box_0.commaExpressions_;
  61314. if (commaExpressions == null)
  61315. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61316. if (_box_0.singleExpression_ == null)
  61317. t2.error$1(0, _s20_);
  61318. resolveSpaceExpressions.call$0();
  61319. t5 = _box_0.singleExpression_;
  61320. t5.toString;
  61321. commaExpressions.push(t5);
  61322. t2.readChar$0();
  61323. _box_0.allowSlash = true;
  61324. _box_0.singleExpression_ = null;
  61325. continue;
  61326. }
  61327. break;
  61328. }
  61329. if (bracketList)
  61330. t2.expectChar$1(93);
  61331. commaExpressions = _box_0.commaExpressions_;
  61332. spaceExpressions = _box_0.spaceExpressions_;
  61333. if (commaExpressions != null) {
  61334. resolveSpaceExpressions.call$0();
  61335. _this._inParentheses = wasInParentheses;
  61336. singleExpression = _box_0.singleExpression_;
  61337. if (singleExpression != null)
  61338. commaExpressions.push(singleExpression);
  61339. _this._inExpression = wasInExpression;
  61340. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61341. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_qVN, bracketList, t1);
  61342. } else if (bracketList && spaceExpressions != null) {
  61343. resolveOperations.call$0();
  61344. _this._inExpression = wasInExpression;
  61345. t1 = _box_0.singleExpression_;
  61346. t1.toString;
  61347. spaceExpressions.push(t1);
  61348. beforeBracket.toString;
  61349. t2 = t2.spanFrom$1(beforeBracket);
  61350. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, true, t2);
  61351. } else {
  61352. resolveSpaceExpressions.call$0();
  61353. if (bracketList) {
  61354. t1 = _box_0.singleExpression_;
  61355. t1.toString;
  61356. t4 = A._setArrayType([t1], t4);
  61357. beforeBracket.toString;
  61358. t2 = t2.spanFrom$1(beforeBracket);
  61359. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61360. }
  61361. _this._inExpression = wasInExpression;
  61362. t1 = _box_0.singleExpression_;
  61363. t1.toString;
  61364. return t1;
  61365. }
  61366. },
  61367. _expression$0() {
  61368. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61369. },
  61370. _expression$1$consumeNewlines(consumeNewlines) {
  61371. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61372. },
  61373. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61374. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61375. },
  61376. _expression$1$bracketList(bracketList) {
  61377. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61378. },
  61379. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61380. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61381. },
  61382. expressionUntilComma$1$singleEquals(singleEquals) {
  61383. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61384. },
  61385. expressionUntilComma$0() {
  61386. return this.expressionUntilComma$1$singleEquals(false);
  61387. },
  61388. _isSlashOperand$1(expression) {
  61389. var t1 = true;
  61390. if (!(expression instanceof A.NumberExpression))
  61391. if (!(expression instanceof A.FunctionExpression))
  61392. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61393. return t1;
  61394. },
  61395. _singleExpression$0() {
  61396. var next, t2, _this = this,
  61397. _s20_ = "Expected expression.",
  61398. t1 = _this.scanner,
  61399. _0_0 = t1.peekChar$0();
  61400. $label0$0: {
  61401. if (_0_0 == null)
  61402. t1.error$1(0, _s20_);
  61403. if (40 === _0_0) {
  61404. t1 = _this.parentheses$0();
  61405. break $label0$0;
  61406. }
  61407. if (47 === _0_0) {
  61408. t1 = _this._unaryOperation$0();
  61409. break $label0$0;
  61410. }
  61411. if (46 === _0_0) {
  61412. t1 = _this._number$0();
  61413. break $label0$0;
  61414. }
  61415. if (91 === _0_0) {
  61416. t1 = _this._expression$1$bracketList(true);
  61417. break $label0$0;
  61418. }
  61419. if (36 === _0_0) {
  61420. t1 = _this._variable$0();
  61421. break $label0$0;
  61422. }
  61423. if (38 === _0_0) {
  61424. t1 = _this._selector$0();
  61425. break $label0$0;
  61426. }
  61427. if (39 === _0_0 || 34 === _0_0) {
  61428. t1 = _this.interpolatedString$0();
  61429. break $label0$0;
  61430. }
  61431. if (35 === _0_0) {
  61432. t1 = _this._hashExpression$0();
  61433. break $label0$0;
  61434. }
  61435. if (43 === _0_0) {
  61436. next = t1.peekChar$1(1);
  61437. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61438. break $label0$0;
  61439. }
  61440. if (45 === _0_0) {
  61441. t1 = _this._minusExpression$0();
  61442. break $label0$0;
  61443. }
  61444. if (33 === _0_0) {
  61445. t1 = _this._importantExpression$0();
  61446. break $label0$0;
  61447. }
  61448. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61449. t1 = _this._unicodeRange$0();
  61450. break $label0$0;
  61451. }
  61452. if (_0_0 >= 48 && _0_0 <= 57) {
  61453. t1 = _this._number$0();
  61454. break $label0$0;
  61455. }
  61456. if (!(_0_0 >= 97 && _0_0 <= 122))
  61457. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61458. else
  61459. t2 = true;
  61460. if (t2) {
  61461. t1 = _this.identifierLike$0();
  61462. break $label0$0;
  61463. }
  61464. t1 = t1.error$1(0, _s20_);
  61465. }
  61466. return t1;
  61467. },
  61468. parentheses$0() {
  61469. var start, first, expressions, t1, t2, _this = this,
  61470. wasInParentheses = _this._inParentheses;
  61471. _this._inParentheses = true;
  61472. try {
  61473. t1 = _this.scanner;
  61474. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61475. t1.expectChar$1(40);
  61476. _this.whitespace$1$consumeNewlines(true);
  61477. if (!_this._lookingAtExpression$0()) {
  61478. t1.expectChar$1(41);
  61479. t2 = A._setArrayType([], type$.JSArray_Expression);
  61480. t1 = t1.spanFrom$1(start);
  61481. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  61482. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  61483. }
  61484. first = _this.expressionUntilComma$0();
  61485. if (t1.scanChar$1(58)) {
  61486. _this.whitespace$1$consumeNewlines(true);
  61487. t1 = _this._stylesheet$_map$2(first, start);
  61488. return t1;
  61489. }
  61490. if (!t1.scanChar$1(44)) {
  61491. t1.expectChar$1(41);
  61492. t1 = t1.spanFrom$1(start);
  61493. return new A.ParenthesizedExpression(first, t1);
  61494. }
  61495. _this.whitespace$1$consumeNewlines(true);
  61496. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61497. for (; true;) {
  61498. if (!_this._lookingAtExpression$0())
  61499. break;
  61500. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  61501. if (!t1.scanChar$1(44))
  61502. break;
  61503. _this.whitespace$1$consumeNewlines(true);
  61504. }
  61505. t1.expectChar$1(41);
  61506. t1 = t1.spanFrom$1(start);
  61507. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  61508. return new A.ListExpression(t2, B.ListSeparator_qVN, false, t1);
  61509. } finally {
  61510. _this._inParentheses = wasInParentheses;
  61511. }
  61512. },
  61513. _stylesheet$_map$2(first, start) {
  61514. var t1, key, _this = this,
  61515. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  61516. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  61517. _this.whitespace$1$consumeNewlines(true);
  61518. if (!_this._lookingAtExpression$0())
  61519. break;
  61520. key = _this.expressionUntilComma$0();
  61521. t1.expectChar$1(58);
  61522. _this.whitespace$1$consumeNewlines(true);
  61523. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  61524. }
  61525. t1.expectChar$1(41);
  61526. t1 = t1.spanFrom$1(start);
  61527. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  61528. },
  61529. _hashExpression$0() {
  61530. var start, t2, identifier, buffer, t3, _this = this,
  61531. t1 = _this.scanner;
  61532. if (t1.peekChar$1(1) === 123)
  61533. return _this.identifierLike$0();
  61534. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61535. t1.expectChar$1(35);
  61536. t2 = t1.peekChar$0();
  61537. if (t2 == null)
  61538. t2 = null;
  61539. else
  61540. t2 = t2 >= 48 && t2 <= 57;
  61541. if (t2 === true)
  61542. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61543. t2 = t1._string_scanner$_position;
  61544. identifier = _this.interpolatedIdentifier$0();
  61545. if (_this._isHexColor$1(identifier)) {
  61546. t1.set$state(new A._SpanScannerState(t1, t2));
  61547. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61548. }
  61549. t2 = new A.StringBuffer("");
  61550. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61551. t3 = A.Primitives_stringFromCharCode(35);
  61552. t2._contents += t3;
  61553. buffer.addInterpolation$1(identifier);
  61554. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61555. },
  61556. _hexColorContents$1(start) {
  61557. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  61558. digit1 = _this._hexDigit$0(),
  61559. digit2 = _this._hexDigit$0(),
  61560. digit3 = _this._hexDigit$0(),
  61561. t1 = _this.scanner,
  61562. $self = t1.peekChar$0();
  61563. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  61564. red = (digit1 << 4 >>> 0) + digit1;
  61565. green = (digit2 << 4 >>> 0) + digit2;
  61566. blue = (digit3 << 4 >>> 0) + digit3;
  61567. alpha = null;
  61568. } else {
  61569. digit4 = _this._hexDigit$0();
  61570. $self = t1.peekChar$0();
  61571. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  61572. t3 = digit1 << 4 >>> 0;
  61573. t4 = digit3 << 4 >>> 0;
  61574. if (!t2) {
  61575. red = t3 + digit1;
  61576. green = (digit2 << 4 >>> 0) + digit2;
  61577. blue = t4 + digit3;
  61578. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  61579. } else {
  61580. red = t3 + digit2;
  61581. green = t4 + digit4;
  61582. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  61583. $self = t1.peekChar$0();
  61584. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  61585. }
  61586. }
  61587. t2 = alpha == null;
  61588. t3 = t2 ? 1 : alpha;
  61589. return A.SassColor_SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  61590. },
  61591. _isHexColor$1(interpolation) {
  61592. var _0_2, t1,
  61593. plain = interpolation.get$asPlain();
  61594. if (typeof plain == "string") {
  61595. _0_2 = plain.length;
  61596. t1 = true;
  61597. if (3 !== _0_2)
  61598. if (4 !== _0_2)
  61599. if (6 !== _0_2)
  61600. t1 = 8 === _0_2;
  61601. } else
  61602. t1 = false;
  61603. if (t1) {
  61604. t1 = new A.CodeUnits(plain);
  61605. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  61606. } else
  61607. return false;
  61608. },
  61609. _hexDigit$0() {
  61610. var t1 = this.scanner,
  61611. t2 = t1.peekChar$0();
  61612. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  61613. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  61614. },
  61615. _minusExpression$0() {
  61616. var _this = this,
  61617. _0_0 = _this.scanner.peekChar$1(1);
  61618. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  61619. return _this._number$0();
  61620. if (_this._lookingAtInterpolatedIdentifier$0())
  61621. return _this.identifierLike$0();
  61622. return _this._unaryOperation$0();
  61623. },
  61624. _importantExpression$0() {
  61625. var t1 = this.scanner,
  61626. t2 = t1._string_scanner$_position;
  61627. t1.readChar$0();
  61628. this.whitespace$1$consumeNewlines(true);
  61629. this.expectIdentifier$1("important");
  61630. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61631. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  61632. },
  61633. _unaryOperation$0() {
  61634. var _this = this,
  61635. t1 = _this.scanner,
  61636. t2 = t1._string_scanner$_position,
  61637. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  61638. if (operator == null)
  61639. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  61640. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV)
  61641. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  61642. _this.whitespace$1$consumeNewlines(true);
  61643. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61644. },
  61645. _unaryOperatorFor$1(character) {
  61646. var t1;
  61647. $label0$0: {
  61648. if (43 === character) {
  61649. t1 = B.UnaryOperator_Rbl;
  61650. break $label0$0;
  61651. }
  61652. if (45 === character) {
  61653. t1 = B.UnaryOperator_UCP;
  61654. break $label0$0;
  61655. }
  61656. if (47 === character) {
  61657. t1 = B.UnaryOperator_lZV;
  61658. break $label0$0;
  61659. }
  61660. t1 = null;
  61661. break $label0$0;
  61662. }
  61663. return t1;
  61664. },
  61665. _number$0() {
  61666. var number, unit, _this = this,
  61667. t1 = _this.scanner,
  61668. t2 = t1._string_scanner$_position,
  61669. first = t1.peekChar$0(),
  61670. t3 = first !== 43;
  61671. if (!t3 || first === 45)
  61672. t1.readChar$0();
  61673. if (t1.peekChar$0() !== 46)
  61674. _this._consumeNaturalNumber$0();
  61675. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  61676. _this._tryExponent$0();
  61677. number = A.double_parse(t1.substring$1(0, t2));
  61678. if (t1.scanChar$1(37))
  61679. unit = "%";
  61680. else {
  61681. if (_this.lookingAtIdentifier$0())
  61682. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  61683. else
  61684. t3 = false;
  61685. unit = t3 ? _this.identifier$1$unit(true) : null;
  61686. }
  61687. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61688. },
  61689. _consumeNaturalNumber$0() {
  61690. var $self,
  61691. t1 = this.scanner,
  61692. t2 = t1.readChar$0();
  61693. if (!(t2 >= 48 && t2 <= 57))
  61694. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  61695. while (true) {
  61696. $self = t1.peekChar$0();
  61697. if (!($self != null && $self >= 48 && $self <= 57))
  61698. break;
  61699. t1.readChar$0();
  61700. }
  61701. },
  61702. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  61703. var $self,
  61704. t1 = this.scanner;
  61705. if (t1.peekChar$0() !== 46)
  61706. return;
  61707. $self = t1.peekChar$1(1);
  61708. if (!($self != null && $self >= 48 && $self <= 57)) {
  61709. if (allowTrailingDot)
  61710. return;
  61711. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  61712. }
  61713. t1.readChar$0();
  61714. while (true) {
  61715. $self = t1.peekChar$0();
  61716. if (!($self != null && $self >= 48 && $self <= 57))
  61717. break;
  61718. t1.readChar$0();
  61719. }
  61720. },
  61721. _tryExponent$0() {
  61722. var next, $self,
  61723. t1 = this.scanner,
  61724. first = t1.peekChar$0();
  61725. if (first !== 101 && first !== 69)
  61726. return;
  61727. next = t1.peekChar$1(1);
  61728. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  61729. return;
  61730. t1.readChar$0();
  61731. if (43 === next || 45 === next)
  61732. t1.readChar$0();
  61733. $self = t1.peekChar$0();
  61734. if (!($self != null && $self >= 48 && $self <= 57))
  61735. t1.error$1(0, "Expected digit.");
  61736. while (true) {
  61737. $self = t1.peekChar$0();
  61738. if (!($self != null && $self >= 48 && $self <= 57))
  61739. break;
  61740. t1.readChar$0();
  61741. }
  61742. },
  61743. _unicodeRange$0() {
  61744. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  61745. _s26_ = "Expected at most 6 digits.",
  61746. t1 = _this.scanner,
  61747. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61748. _this.expectIdentChar$1(117);
  61749. t1.expectChar$1(43);
  61750. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  61751. ++firstRangeLength;
  61752. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  61753. ++firstRangeLength;
  61754. if (firstRangeLength === 0)
  61755. t1.error$1(0, 'Expected hex digit or "?".');
  61756. else if (firstRangeLength > 6)
  61757. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  61758. else if (hasQuestionMark) {
  61759. t2 = t1.substring$1(0, start.position);
  61760. t1 = t1.spanFrom$1(start);
  61761. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61762. }
  61763. if (t1.scanChar$1(45)) {
  61764. t2 = t1._string_scanner$_position;
  61765. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  61766. ++secondRangeLength;
  61767. if (secondRangeLength === 0)
  61768. t1.error$1(0, "Expected hex digit.");
  61769. else if (secondRangeLength > 6)
  61770. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61771. }
  61772. if (_this._lookingAtInterpolatedIdentifierBody$0())
  61773. t1.error$1(0, "Expected end of identifier.");
  61774. t2 = t1.substring$1(0, start.position);
  61775. t1 = t1.spanFrom$1(start);
  61776. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61777. },
  61778. _variable$0() {
  61779. var _this = this,
  61780. t1 = _this.scanner,
  61781. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61782. $name = _this.variableName$0();
  61783. if (_this.get$plainCss())
  61784. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  61785. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  61786. },
  61787. _selector$0() {
  61788. var t1, start, _this = this;
  61789. if (_this.get$plainCss())
  61790. _this.scanner.error$2$length(0, string$.The_pa, 1);
  61791. t1 = _this.scanner;
  61792. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61793. t1.expectChar$1(38);
  61794. if (t1.scanChar$1(38)) {
  61795. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  61796. t1.set$position(t1._string_scanner$_position - 1);
  61797. }
  61798. return new A.SelectorExpression(t1.spanFrom$1(start));
  61799. },
  61800. interpolatedString$0() {
  61801. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  61802. t1 = this.scanner,
  61803. t2 = t1._string_scanner$_position,
  61804. quote = t1.readChar$0();
  61805. if (quote !== 39 && quote !== 34)
  61806. t1.error$2$position(0, "Expected string.", t2);
  61807. t3 = new A.StringBuffer("");
  61808. t4 = A._setArrayType([], type$.JSArray_Object);
  61809. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61810. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61811. for (; true;) {
  61812. _1_0 = t1.peekChar$0();
  61813. if (_1_0 === quote) {
  61814. t1.readChar$0();
  61815. break;
  61816. }
  61817. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  61818. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  61819. if (92 === _1_0) {
  61820. second = t1.peekChar$1(1);
  61821. if (second === 10 || second === 13 || second === 12) {
  61822. t1.readChar$0();
  61823. t1.readChar$0();
  61824. if (second === 13)
  61825. t1.scanChar$1(10);
  61826. } else {
  61827. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  61828. t3._contents += t6;
  61829. }
  61830. continue;
  61831. }
  61832. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  61833. _0_0 = this.singleInterpolation$0();
  61834. buffer._flushText$0();
  61835. t4.push(_0_0._0);
  61836. t5.push(_0_0._1);
  61837. continue;
  61838. }
  61839. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  61840. t3._contents += t6;
  61841. }
  61842. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  61843. },
  61844. identifierLike$0() {
  61845. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  61846. t1 = _this.scanner,
  61847. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61848. identifier = _this.interpolatedIdentifier$0(),
  61849. plain = identifier.get$asPlain(),
  61850. lower = A._Cell$(),
  61851. t2 = plain != null;
  61852. if (t2) {
  61853. if (plain === "if" && t1.peekChar$0() === 40) {
  61854. invocation = _this._argumentInvocation$0();
  61855. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  61856. } else if (plain === "not") {
  61857. _this.whitespace$1$consumeNewlines(true);
  61858. expression = _this._singleExpression$0();
  61859. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  61860. }
  61861. lower.__late_helper$_value = plain.toLowerCase();
  61862. if (t1.peekChar$0() !== 40) {
  61863. switch (plain) {
  61864. case "false":
  61865. return new A.BooleanExpression(false, identifier.span);
  61866. case "null":
  61867. return new A.NullExpression(identifier.span);
  61868. case "true":
  61869. return new A.BooleanExpression(true, identifier.span);
  61870. }
  61871. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  61872. if (_0_0 != null) {
  61873. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  61874. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  61875. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  61876. t4 = _0_0.alphaOrNull;
  61877. if (t4 == null)
  61878. t4 = 0;
  61879. t5 = identifier.span;
  61880. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  61881. }
  61882. }
  61883. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  61884. if (_1_0 != null)
  61885. return _1_0;
  61886. }
  61887. _2_0 = t1.peekChar$0();
  61888. _2_2 = 46 === _2_0;
  61889. if (_2_2 && t1.peekChar$1(1) === 46)
  61890. return new A.StringExpression(identifier, false);
  61891. if (_2_2) {
  61892. t1.readChar$0();
  61893. if (t2)
  61894. return _this.namespacedExpression$2(plain, start);
  61895. _this.error$2(0, string$.Interpn, identifier.span);
  61896. }
  61897. _2_4 = 40 === _2_0;
  61898. if (_2_4 && t2) {
  61899. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  61900. t1 = t1.spanFrom$1(start);
  61901. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  61902. }
  61903. if (_2_4)
  61904. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  61905. return new A.StringExpression(identifier, false);
  61906. },
  61907. namespacedExpression$2(namespace, start) {
  61908. var $name, t2, t3, _this = this,
  61909. t1 = _this.scanner;
  61910. if (t1.peekChar$0() === 36) {
  61911. $name = _this.variableName$0();
  61912. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  61913. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  61914. }
  61915. t2 = _this._publicIdentifier$0();
  61916. t3 = _this._argumentInvocation$0();
  61917. t1 = t1.spanFrom$1(start);
  61918. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  61919. },
  61920. trySpecialFunction$2($name, start) {
  61921. var t1, buffer, t2, next, t3, _this = this,
  61922. normalized = A.unvendor($name);
  61923. $label0$0: {
  61924. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  61925. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  61926. else
  61927. t1 = true;
  61928. if (t1) {
  61929. t1 = new A.StringBuffer("");
  61930. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61931. t1._contents = "" + $name;
  61932. t2 = A.Primitives_stringFromCharCode(40);
  61933. t1._contents += t2;
  61934. break $label0$0;
  61935. }
  61936. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  61937. t1 = new A.StringBuffer("");
  61938. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61939. t1._contents = "" + $name;
  61940. t2 = A.Primitives_stringFromCharCode(58);
  61941. t1._contents += t2;
  61942. t2 = _this.scanner;
  61943. next = t2.peekChar$0();
  61944. while (true) {
  61945. if (next != null) {
  61946. if (!(next >= 97 && next <= 122))
  61947. t3 = next >= 65 && next <= 90;
  61948. else
  61949. t3 = true;
  61950. t3 = t3 || next === 46;
  61951. } else
  61952. t3 = false;
  61953. if (!t3)
  61954. break;
  61955. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  61956. t1._contents += t3;
  61957. next = t2.peekChar$0();
  61958. }
  61959. t2.expectChar$1(40);
  61960. t2 = A.Primitives_stringFromCharCode(40);
  61961. t1._contents += t2;
  61962. break $label0$0;
  61963. }
  61964. if ("url" === normalized)
  61965. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  61966. return null;
  61967. }
  61968. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  61969. t1 = _this.scanner;
  61970. t1.expectChar$1(41);
  61971. t2 = buffer._interpolation_buffer$_text;
  61972. t3 = A.Primitives_stringFromCharCode(41);
  61973. t2._contents += t3;
  61974. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61975. },
  61976. _tryUrlContents$2$name(start, $name) {
  61977. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  61978. t1 = _this.scanner,
  61979. t2 = t1._string_scanner$_position;
  61980. if (!t1.scanChar$1(40))
  61981. return null;
  61982. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  61983. t3 = new A.StringBuffer("");
  61984. t4 = A._setArrayType([], type$.JSArray_Object);
  61985. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61986. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61987. t3._contents = "" + ($name == null ? "url" : $name);
  61988. t6 = A.Primitives_stringFromCharCode(40);
  61989. t3._contents += t6;
  61990. for (; true;) {
  61991. _1_0 = t1.peekChar$0();
  61992. if (_1_0 == null)
  61993. break;
  61994. if (92 === _1_0) {
  61995. t6 = _this.escape$0();
  61996. t3._contents += t6;
  61997. continue;
  61998. }
  61999. _1_6 = 35 === _1_0;
  62000. if (_1_6 && t1.peekChar$1(1) === 123) {
  62001. _0_0 = _this.singleInterpolation$0();
  62002. buffer._flushText$0();
  62003. t4.push(_0_0._0);
  62004. t5.push(_0_0._1);
  62005. continue;
  62006. }
  62007. t6 = true;
  62008. if (33 !== _1_0)
  62009. if (37 !== _1_0)
  62010. if (38 !== _1_0)
  62011. if (!_1_6)
  62012. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62013. if (t6) {
  62014. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62015. t3._contents += t6;
  62016. continue;
  62017. }
  62018. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62019. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62020. if (t1.peekChar$0() !== 41)
  62021. break;
  62022. continue;
  62023. }
  62024. if (41 === _1_0) {
  62025. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62026. t3._contents += t2;
  62027. endPosition = t1._string_scanner$_position;
  62028. t2 = t1._sourceFile;
  62029. t3 = start.position;
  62030. t1 = new A._FileSpan(t2, t3, endPosition);
  62031. t1._FileSpan$3(t2, t3, endPosition);
  62032. return buffer.interpolation$1(t1);
  62033. }
  62034. break;
  62035. }
  62036. t1.set$state(new A._SpanScannerState(t1, t2));
  62037. return null;
  62038. },
  62039. _tryUrlContents$1(start) {
  62040. return this._tryUrlContents$2$name(start, null);
  62041. },
  62042. dynamicUrl$0() {
  62043. var _0_0, t2, _this = this,
  62044. t1 = _this.scanner,
  62045. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62046. _this.expectIdentifier$1("url");
  62047. _0_0 = _this._tryUrlContents$1(start);
  62048. if (_0_0 != null)
  62049. return new A.StringExpression(_0_0, false);
  62050. t2 = t1.spanFrom$1(start);
  62051. 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));
  62052. },
  62053. almostAnyValue$1$omitComments(omitComments) {
  62054. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62055. t1 = _this.scanner,
  62056. t2 = t1._string_scanner$_position,
  62057. t3 = new A.StringBuffer(""),
  62058. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62059. brackets = A._setArrayType([], type$.JSArray_int);
  62060. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  62061. $label0$0: {
  62062. _2_0 = t1.peekChar$0();
  62063. if (92 === _2_0) {
  62064. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62065. t3._contents += t8;
  62066. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62067. t3._contents += t8;
  62068. break $label0$0;
  62069. }
  62070. if (34 === _2_0 || 39 === _2_0) {
  62071. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62072. break $label0$0;
  62073. }
  62074. if (47 === _2_0) {
  62075. $label1$1: {
  62076. _0_0 = t1.peekChar$1(1);
  62077. _0_2 = 42 === _0_0;
  62078. if (_0_2 && t6) {
  62079. start = t1._string_scanner$_position;
  62080. t7.call$0();
  62081. end = t1._string_scanner$_position;
  62082. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62083. break $label1$1;
  62084. }
  62085. if (_0_2) {
  62086. _this.loudComment$0();
  62087. break $label1$1;
  62088. }
  62089. _0_4 = 47 === _0_0;
  62090. if (_0_4 && t6) {
  62091. t8 = _this.get$silentComment();
  62092. start = t1._string_scanner$_position;
  62093. t8.call$0();
  62094. end = t1._string_scanner$_position;
  62095. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62096. break $label1$1;
  62097. }
  62098. if (_0_4) {
  62099. _this.silentComment$0();
  62100. break $label1$1;
  62101. }
  62102. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62103. t3._contents += t8;
  62104. }
  62105. break $label0$0;
  62106. }
  62107. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62108. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62109. break $label0$0;
  62110. }
  62111. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62112. if (_this.get$indented() && brackets.length === 0)
  62113. break;
  62114. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62115. t3._contents += t8;
  62116. break $label0$0;
  62117. }
  62118. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62119. break;
  62120. if (117 === _2_0 || 85 === _2_0) {
  62121. t8 = t1._string_scanner$_position;
  62122. identifier = _this.identifier$0();
  62123. if (identifier !== "url" && identifier !== "url-prefix") {
  62124. t3._contents += identifier;
  62125. continue;
  62126. }
  62127. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62128. if (_1_0 != null)
  62129. buffer.addInterpolation$1(_1_0);
  62130. else {
  62131. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62132. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62133. t1._string_scanner$_position = t8;
  62134. t1._lastMatch = null;
  62135. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62136. t3._contents += t8;
  62137. }
  62138. break $label0$0;
  62139. }
  62140. if (40 === _2_0 || 91 === _2_0) {
  62141. bracket = t1.readChar$0();
  62142. t8 = A.Primitives_stringFromCharCode(bracket);
  62143. t3._contents += t8;
  62144. brackets.push(A.opposite(bracket));
  62145. break $label0$0;
  62146. }
  62147. if (41 === _2_0 || 93 === _2_0) {
  62148. t8 = _2_0 != null;
  62149. char = t8 ? _2_0 : null;
  62150. } else {
  62151. char = null;
  62152. t8 = false;
  62153. }
  62154. if (t8) {
  62155. if (brackets.length === 0)
  62156. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62157. bracket = brackets.pop();
  62158. t1.expectChar$1(bracket);
  62159. t8 = A.Primitives_stringFromCharCode(bracket);
  62160. t3._contents += t8;
  62161. break $label0$0;
  62162. }
  62163. if (_2_0 == null)
  62164. break;
  62165. t8 = _this.lookingAtIdentifier$0();
  62166. if (t8) {
  62167. t8 = _this.identifier$0();
  62168. t3._contents += t8;
  62169. break $label0$0;
  62170. }
  62171. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62172. t3._contents += t8;
  62173. }
  62174. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62175. },
  62176. almostAnyValue$0() {
  62177. return this.almostAnyValue$1$omitComments(false);
  62178. },
  62179. _interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  62180. 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,
  62181. t1 = _this.scanner,
  62182. t2 = t1._string_scanner$_position,
  62183. t3 = new A.StringBuffer(""),
  62184. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62185. brackets = A._setArrayType([], type$.JSArray_int);
  62186. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  62187. $label0$0: {
  62188. _2_0 = t1.peekChar$0();
  62189. wroteNewline0 = false;
  62190. if (92 === _2_0) {
  62191. t11 = _this.escape$1$identifierStart(true);
  62192. t3._contents += t11;
  62193. wroteNewline = wroteNewline0;
  62194. break $label0$0;
  62195. }
  62196. if (34 === _2_0 || 39 === _2_0) {
  62197. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62198. wroteNewline = wroteNewline0;
  62199. break $label0$0;
  62200. }
  62201. if (47 === _2_0) {
  62202. $label1$1: {
  62203. _0_0 = t1.peekChar$1(1);
  62204. if (42 === _0_0) {
  62205. start = t1._string_scanner$_position;
  62206. t10.call$0();
  62207. end = t1._string_scanner$_position;
  62208. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  62209. break $label1$1;
  62210. }
  62211. if (47 === _0_0 && silentComments) {
  62212. _this.silentComment$0();
  62213. break $label1$1;
  62214. }
  62215. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62216. t3._contents += t11;
  62217. }
  62218. wroteNewline = wroteNewline0;
  62219. break $label0$0;
  62220. }
  62221. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62222. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62223. wroteNewline = wroteNewline0;
  62224. break $label0$0;
  62225. }
  62226. _2_14_isSet = 32 !== _2_0;
  62227. if (_2_14_isSet) {
  62228. _2_14 = 9 === _2_0;
  62229. t11 = _2_14;
  62230. } else {
  62231. _2_14 = _null;
  62232. t11 = true;
  62233. }
  62234. t12 = false;
  62235. if (t11)
  62236. if (!wroteNewline) {
  62237. t11 = t1.peekChar$1(1);
  62238. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  62239. } else
  62240. t11 = t12;
  62241. else
  62242. t11 = t12;
  62243. if (t11) {
  62244. t1.readChar$0();
  62245. break $label0$0;
  62246. }
  62247. if (_2_14_isSet)
  62248. t11 = _2_14;
  62249. else
  62250. t11 = true;
  62251. if (t11) {
  62252. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62253. t3._contents += t11;
  62254. break $label0$0;
  62255. }
  62256. _2_18_isSet = 10 !== _2_0;
  62257. _2_20 = _null;
  62258. t11 = true;
  62259. if (_2_18_isSet) {
  62260. _2_18 = 13 === _2_0;
  62261. _2_20_isSet = !_2_18;
  62262. if (_2_20_isSet) {
  62263. _2_20 = 12 === _2_0;
  62264. t11 = _2_20;
  62265. }
  62266. } else {
  62267. _2_18 = _null;
  62268. _2_20_isSet = false;
  62269. }
  62270. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  62271. break;
  62272. t11 = true;
  62273. if (_2_18_isSet)
  62274. if (!_2_18)
  62275. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62276. if (t11) {
  62277. t11 = t1.peekChar$1(-1);
  62278. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  62279. t3._contents += "\n";
  62280. t1.readChar$0();
  62281. wroteNewline = true;
  62282. break $label0$0;
  62283. }
  62284. _2_22 = 123 === _2_0;
  62285. if (_2_22 && t5)
  62286. break;
  62287. if (40 !== _2_0)
  62288. t11 = _2_22 || 91 === _2_0;
  62289. else
  62290. t11 = true;
  62291. if (t11) {
  62292. bracket = t1.readChar$0();
  62293. t11 = A.Primitives_stringFromCharCode(bracket);
  62294. t3._contents += t11;
  62295. brackets.push(A.opposite(bracket));
  62296. wroteNewline = wroteNewline0;
  62297. break $label0$0;
  62298. }
  62299. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62300. if (brackets.length === 0)
  62301. break;
  62302. bracket = brackets.pop();
  62303. t1.expectChar$1(bracket);
  62304. t11 = A.Primitives_stringFromCharCode(bracket);
  62305. t3._contents += t11;
  62306. wroteNewline = wroteNewline0;
  62307. break $label0$0;
  62308. }
  62309. if (59 === _2_0) {
  62310. if (t9 && brackets.length === 0)
  62311. break;
  62312. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62313. t3._contents += t11;
  62314. wroteNewline = wroteNewline0;
  62315. break $label0$0;
  62316. }
  62317. if (58 === _2_0) {
  62318. if (t8 && brackets.length === 0)
  62319. break;
  62320. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62321. t3._contents += t11;
  62322. wroteNewline = wroteNewline0;
  62323. break $label0$0;
  62324. }
  62325. if (117 === _2_0 || 85 === _2_0) {
  62326. t11 = t1._string_scanner$_position;
  62327. identifier = _this.identifier$0();
  62328. if (identifier !== "url" && identifier !== "url-prefix") {
  62329. t3._contents += identifier;
  62330. wroteNewline = wroteNewline0;
  62331. continue;
  62332. }
  62333. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  62334. if (_1_0 != null)
  62335. buffer.addInterpolation$1(_1_0);
  62336. else {
  62337. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  62338. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  62339. t1._string_scanner$_position = t11;
  62340. t1._lastMatch = null;
  62341. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62342. t3._contents += t11;
  62343. }
  62344. wroteNewline = wroteNewline0;
  62345. break $label0$0;
  62346. }
  62347. if (_2_0 == null)
  62348. break;
  62349. t11 = _this.lookingAtIdentifier$0();
  62350. if (t11) {
  62351. t11 = _this.identifier$0();
  62352. t3._contents += t11;
  62353. wroteNewline = wroteNewline0;
  62354. break $label0$0;
  62355. }
  62356. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62357. t3._contents += t11;
  62358. wroteNewline = wroteNewline0;
  62359. }
  62360. if (brackets.length !== 0)
  62361. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62362. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  62363. t1.error$1(0, "Expected token.");
  62364. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62365. },
  62366. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62367. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  62368. },
  62369. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62370. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  62371. },
  62372. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62373. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62374. },
  62375. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62376. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62377. },
  62378. _interpolatedDeclarationValue$0() {
  62379. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  62380. },
  62381. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62382. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  62383. },
  62384. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62385. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  62386. },
  62387. interpolatedIdentifier$0() {
  62388. var t3, _1_0, _0_0, _this = this,
  62389. _s20_ = "Expected identifier.",
  62390. t1 = _this.scanner,
  62391. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62392. t2 = new A.StringBuffer(""),
  62393. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62394. if (t1.scanChar$1(45)) {
  62395. t3 = A.Primitives_stringFromCharCode(45);
  62396. t2._contents += t3;
  62397. if (t1.scanChar$1(45)) {
  62398. t3 = A.Primitives_stringFromCharCode(45);
  62399. t2._contents += t3;
  62400. _this._interpolatedIdentifierBody$1(buffer);
  62401. return buffer.interpolation$1(t1.spanFrom$1(start));
  62402. }
  62403. }
  62404. $label0$0: {
  62405. _1_0 = t1.peekChar$0();
  62406. if (_1_0 == null)
  62407. t1.error$1(0, _s20_);
  62408. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62409. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62410. t2._contents += t3;
  62411. break $label0$0;
  62412. }
  62413. if (92 === _1_0) {
  62414. t3 = _this.escape$1$identifierStart(true);
  62415. t2._contents += t3;
  62416. break $label0$0;
  62417. }
  62418. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62419. _0_0 = _this.singleInterpolation$0();
  62420. buffer.add$2(0, _0_0._0, _0_0._1);
  62421. break $label0$0;
  62422. }
  62423. t1.error$1(0, _s20_);
  62424. }
  62425. _this._interpolatedIdentifierBody$1(buffer);
  62426. return buffer.interpolation$1(t1.spanFrom$1(start));
  62427. },
  62428. _interpolatedIdentifierBody$1(buffer) {
  62429. var t1, t2, t3, t4, _1_0, t5, _0_0;
  62430. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text; true;) {
  62431. _1_0 = t3.peekChar$0();
  62432. if (_1_0 == null)
  62433. break;
  62434. t5 = true;
  62435. if (95 !== _1_0)
  62436. if (45 !== _1_0) {
  62437. if (!(_1_0 >= 97 && _1_0 <= 122))
  62438. t5 = _1_0 >= 65 && _1_0 <= 90;
  62439. else
  62440. t5 = true;
  62441. if (!t5)
  62442. t5 = _1_0 >= 48 && _1_0 <= 57;
  62443. else
  62444. t5 = true;
  62445. t5 = t5 || _1_0 >= 128;
  62446. }
  62447. if (t5) {
  62448. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  62449. t4._contents += t5;
  62450. continue;
  62451. }
  62452. if (92 === _1_0) {
  62453. t5 = this.escape$0();
  62454. t4._contents += t5;
  62455. continue;
  62456. }
  62457. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  62458. _0_0 = this.singleInterpolation$0();
  62459. buffer._flushText$0();
  62460. t1.push(_0_0._0);
  62461. t2.push(_0_0._1);
  62462. continue;
  62463. }
  62464. break;
  62465. }
  62466. },
  62467. singleInterpolation$0() {
  62468. var contents, span, _this = this,
  62469. t1 = _this.scanner,
  62470. t2 = t1._string_scanner$_position;
  62471. t1.expect$1("#{");
  62472. _this.whitespace$1$consumeNewlines(true);
  62473. contents = _this._expression$1$consumeNewlines(true);
  62474. t1.expectChar$1(125);
  62475. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  62476. if (_this.get$plainCss())
  62477. _this.error$2(0, string$.Interpp, span);
  62478. return new A._Record_2(contents, span);
  62479. },
  62480. _mediaQueryList$0() {
  62481. var t4, _this = this,
  62482. t1 = _this.scanner,
  62483. t2 = t1._string_scanner$_position,
  62484. t3 = new A.StringBuffer(""),
  62485. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62486. for (; true;) {
  62487. _this.whitespace$1$consumeNewlines(false);
  62488. _this._stylesheet$_mediaQuery$1(buffer);
  62489. _this.whitespace$1$consumeNewlines(false);
  62490. if (!t1.scanChar$1(44))
  62491. break;
  62492. t4 = A.Primitives_stringFromCharCode(44);
  62493. t3._contents += t4;
  62494. t4 = A.Primitives_stringFromCharCode(32);
  62495. t3._contents += t4;
  62496. }
  62497. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62498. },
  62499. _stylesheet$_mediaQuery$1(buffer) {
  62500. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  62501. if (_this.scanner.peekChar$0() === 40) {
  62502. _this._stylesheet$_mediaInParens$1(buffer);
  62503. _this.whitespace$1$consumeNewlines(false);
  62504. if (_this.scanIdentifier$1(_s3_)) {
  62505. buffer._interpolation_buffer$_text._contents += " and ";
  62506. _this.expectWhitespace$0();
  62507. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62508. } else if (_this.scanIdentifier$1("or")) {
  62509. buffer._interpolation_buffer$_text._contents += " or ";
  62510. _this.expectWhitespace$0();
  62511. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62512. }
  62513. return;
  62514. }
  62515. identifier1 = _this.interpolatedIdentifier$0();
  62516. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  62517. _this.expectWhitespace$0();
  62518. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  62519. buffer._interpolation_buffer$_text._contents += "not ";
  62520. _this._mediaOrInterp$1(buffer);
  62521. return;
  62522. }
  62523. }
  62524. _this.whitespace$1$consumeNewlines(false);
  62525. buffer.addInterpolation$1(identifier1);
  62526. if (!_this._lookingAtInterpolatedIdentifier$0())
  62527. return;
  62528. t1 = buffer._interpolation_buffer$_text;
  62529. t2 = A.Primitives_stringFromCharCode(32);
  62530. t1._contents += t2;
  62531. identifier2 = _this.interpolatedIdentifier$0();
  62532. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  62533. _this.expectWhitespace$0();
  62534. t1._contents += " and ";
  62535. } else {
  62536. _this.whitespace$1$consumeNewlines(false);
  62537. buffer.addInterpolation$1(identifier2);
  62538. if (_this.scanIdentifier$1(_s3_)) {
  62539. _this.expectWhitespace$0();
  62540. t1._contents += " and ";
  62541. } else
  62542. return;
  62543. }
  62544. if (_this.scanIdentifier$1("not")) {
  62545. _this.expectWhitespace$0();
  62546. t1._contents += "not ";
  62547. _this._mediaOrInterp$1(buffer);
  62548. return;
  62549. }
  62550. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62551. return;
  62552. },
  62553. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  62554. var t1, t2, _this = this;
  62555. for (t1 = buffer._interpolation_buffer$_text; true;) {
  62556. _this._mediaOrInterp$1(buffer);
  62557. _this.whitespace$1$consumeNewlines(false);
  62558. if (!_this.scanIdentifier$1(operator))
  62559. return;
  62560. _this.expectWhitespace$1$consumeNewlines(false);
  62561. t2 = A.Primitives_stringFromCharCode(32);
  62562. t2 = t1._contents += t2;
  62563. t1._contents = t2 + operator;
  62564. t2 = A.Primitives_stringFromCharCode(32);
  62565. t1._contents += t2;
  62566. }
  62567. },
  62568. _mediaOrInterp$1(buffer) {
  62569. var _0_0;
  62570. if (this.scanner.peekChar$0() === 35) {
  62571. _0_0 = this.singleInterpolation$0();
  62572. buffer.add$2(0, _0_0._0, _0_0._1);
  62573. } else
  62574. this._stylesheet$_mediaInParens$1(buffer);
  62575. },
  62576. _stylesheet$_mediaInParens$1(buffer) {
  62577. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  62578. t1 = _this.scanner;
  62579. t1.expectChar$2$name(40, "media condition in parentheses");
  62580. t2 = buffer._interpolation_buffer$_text;
  62581. t3 = A.Primitives_stringFromCharCode(40);
  62582. t2._contents += t3;
  62583. _this.whitespace$1$consumeNewlines(true);
  62584. if (t1.peekChar$0() === 40) {
  62585. _this._stylesheet$_mediaInParens$1(buffer);
  62586. _this.whitespace$1$consumeNewlines(true);
  62587. if (_this.scanIdentifier$1("and")) {
  62588. t2._contents += " and ";
  62589. _this.expectWhitespace$1$consumeNewlines(true);
  62590. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  62591. } else if (_this.scanIdentifier$1("or")) {
  62592. t2._contents += " or ";
  62593. _this.expectWhitespace$1$consumeNewlines(true);
  62594. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62595. }
  62596. } else if (_this.scanIdentifier$1("not")) {
  62597. t2._contents += "not ";
  62598. _this.expectWhitespace$1$consumeNewlines(true);
  62599. _this._mediaOrInterp$1(buffer);
  62600. } else {
  62601. expressionBefore = _this._expressionUntilComparison$0();
  62602. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  62603. if (t1.scanChar$1(58)) {
  62604. _this.whitespace$1$consumeNewlines(true);
  62605. t3 = A.Primitives_stringFromCharCode(58);
  62606. t2._contents += t3;
  62607. t3 = A.Primitives_stringFromCharCode(32);
  62608. t2._contents += t3;
  62609. expressionAfter = _this._expression$1$consumeNewlines(true);
  62610. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62611. } else {
  62612. next = t1.peekChar$0();
  62613. t3 = 60 !== next;
  62614. if (!t3 || 62 === next || 61 === next) {
  62615. t4 = A.Primitives_stringFromCharCode(32);
  62616. t2._contents += t4;
  62617. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62618. t2._contents += t4;
  62619. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  62620. t4 = A.Primitives_stringFromCharCode(61);
  62621. t2._contents += t4;
  62622. }
  62623. t4 = A.Primitives_stringFromCharCode(32);
  62624. t2._contents += t4;
  62625. _this.whitespace$1$consumeNewlines(true);
  62626. expressionMiddle = _this._expressionUntilComparison$0();
  62627. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  62628. if (!t3 || 62 === next) {
  62629. next.toString;
  62630. t3 = t1.scanChar$1(next);
  62631. } else
  62632. t3 = false;
  62633. if (t3) {
  62634. t3 = A.Primitives_stringFromCharCode(32);
  62635. t2._contents += t3;
  62636. t3 = A.Primitives_stringFromCharCode(next);
  62637. t2._contents += t3;
  62638. if (t1.scanChar$1(61)) {
  62639. t3 = A.Primitives_stringFromCharCode(61);
  62640. t2._contents += t3;
  62641. }
  62642. t3 = A.Primitives_stringFromCharCode(32);
  62643. t2._contents += t3;
  62644. _this.whitespace$1$consumeNewlines(true);
  62645. expressionAfter = _this._expressionUntilComparison$0();
  62646. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62647. }
  62648. }
  62649. }
  62650. }
  62651. t1.expectChar$1(41);
  62652. _this.whitespace$1$consumeNewlines(false);
  62653. t1 = A.Primitives_stringFromCharCode(41);
  62654. t2._contents += t1;
  62655. },
  62656. _expressionUntilComparison$0() {
  62657. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  62658. },
  62659. _supportsCondition$1$inParentheses(inParentheses) {
  62660. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  62661. t1 = _this.scanner,
  62662. t2 = t1._string_scanner$_position;
  62663. if (_this.scanIdentifier$1("not")) {
  62664. _this.whitespace$1$consumeNewlines(inParentheses);
  62665. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62666. }
  62667. condition = _this._supportsConditionInParens$0();
  62668. _this.whitespace$1$consumeNewlines(inParentheses);
  62669. for (operator = null; _this.lookingAtIdentifier$0();) {
  62670. if (operator != null)
  62671. _this.expectIdentifier$1(operator);
  62672. else if (_this.scanIdentifier$1("or"))
  62673. operator = "or";
  62674. else {
  62675. _this.expectIdentifier$1("and");
  62676. operator = "and";
  62677. }
  62678. _this.whitespace$1$consumeNewlines(inParentheses);
  62679. right = _this._supportsConditionInParens$0();
  62680. endPosition = t1._string_scanner$_position;
  62681. t3 = t1._sourceFile;
  62682. t4 = new A._FileSpan(t3, t2, endPosition);
  62683. t4._FileSpan$3(t3, t2, endPosition);
  62684. condition = new A.SupportsOperation(condition, right, operator, t4);
  62685. lowerOperator = operator.toLowerCase();
  62686. if (lowerOperator !== "and" && lowerOperator !== "or")
  62687. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62688. _this.whitespace$1$consumeNewlines(inParentheses);
  62689. }
  62690. return condition;
  62691. },
  62692. _supportsCondition$0() {
  62693. return this._supportsCondition$1$inParentheses(false);
  62694. },
  62695. _supportsConditionInParens$0() {
  62696. 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,
  62697. t1 = _this.scanner,
  62698. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62699. if (_this._lookingAtInterpolatedIdentifier$0()) {
  62700. identifier0 = _this.interpolatedIdentifier$0();
  62701. t2 = identifier0.get$asPlain();
  62702. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  62703. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  62704. if (t1.scanChar$1(40)) {
  62705. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  62706. t1.expectChar$1(41);
  62707. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  62708. } else {
  62709. _0_0 = identifier0.contents;
  62710. _0_4_isSet = _0_0.length === 1;
  62711. if (_0_4_isSet) {
  62712. _0_4 = _0_0[0];
  62713. _0_40 = _0_4;
  62714. t2 = _0_4 instanceof A.Expression;
  62715. _0_4 = _0_40;
  62716. } else {
  62717. _0_4 = null;
  62718. t2 = false;
  62719. }
  62720. if (t2) {
  62721. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  62722. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  62723. } else
  62724. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  62725. }
  62726. }
  62727. t1.expectChar$1(40);
  62728. _this.whitespace$1$consumeNewlines(true);
  62729. if (_this.scanIdentifier$1("not")) {
  62730. _this.whitespace$1$consumeNewlines(true);
  62731. condition = _this._supportsConditionInParens$0();
  62732. t1.expectChar$1(41);
  62733. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  62734. } else if (t1.peekChar$0() === 40) {
  62735. condition = _this._supportsCondition$1$inParentheses(true);
  62736. t1.expectChar$1(41);
  62737. return condition.withSpan$1(t1.spanFrom$1(start));
  62738. }
  62739. $name = null;
  62740. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62741. wasInParentheses = _this._inParentheses;
  62742. try {
  62743. $name = _this._expression$1$consumeNewlines(true);
  62744. t1.expectChar$1(58);
  62745. } catch (exception) {
  62746. if (type$.FormatException._is(A.unwrapException(exception))) {
  62747. t1.set$state(nameStart);
  62748. _this._inParentheses = wasInParentheses;
  62749. identifier = _this.interpolatedIdentifier$0();
  62750. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  62751. operation = null;
  62752. if (_1_0 != null) {
  62753. operation = _1_0;
  62754. t1.expectChar$1(41);
  62755. t2 = operation;
  62756. t1 = t1.spanFrom$1(start);
  62757. return A.SupportsOperation$(t2.left, t2.right, t2.operator, t1);
  62758. }
  62759. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62760. t2.addInterpolation$1(identifier);
  62761. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  62762. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  62763. if (t1.peekChar$0() === 58)
  62764. throw exception;
  62765. t1.expectChar$1(41);
  62766. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  62767. } else
  62768. throw exception;
  62769. }
  62770. value = _this._supportsDeclarationValue$1($name);
  62771. t1.expectChar$1(41);
  62772. return new A.SupportsDeclaration($name, value, t1.spanFrom$1(start));
  62773. },
  62774. _supportsDeclarationValue$1($name) {
  62775. var t1 = false;
  62776. if ($name instanceof A.StringExpression)
  62777. if (!$name.hasQuotes)
  62778. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  62779. if (t1)
  62780. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  62781. else {
  62782. this.whitespace$1$consumeNewlines(true);
  62783. return this._expression$1$consumeNewlines(true);
  62784. }
  62785. },
  62786. _trySupportsOperation$2(interpolation, start) {
  62787. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  62788. t1 = interpolation.contents;
  62789. if (t1.length !== 1)
  62790. return _null;
  62791. expression = B.JSArray_methods.get$first(t1);
  62792. if (!(expression instanceof A.Expression))
  62793. return _null;
  62794. t1 = _this.scanner;
  62795. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62796. _this.whitespace$1$consumeNewlines(true);
  62797. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  62798. if (operator != null)
  62799. _this.expectIdentifier$1(operator);
  62800. else if (_this.scanIdentifier$1("and"))
  62801. operator = "and";
  62802. else {
  62803. if (!_this.scanIdentifier$1("or")) {
  62804. if (beforeWhitespace._scanner !== t1)
  62805. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  62806. t2 = beforeWhitespace.position;
  62807. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  62808. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  62809. t1._string_scanner$_position = t2;
  62810. return t1._lastMatch = null;
  62811. }
  62812. operator = "or";
  62813. }
  62814. _this.whitespace$1$consumeNewlines(true);
  62815. right = _this._supportsConditionInParens$0();
  62816. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  62817. endPosition = t1._string_scanner$_position;
  62818. t5 = t1._sourceFile;
  62819. t6 = new A._FileSpan(t5, t2, endPosition);
  62820. t6._FileSpan$3(t5, t2, endPosition);
  62821. operation = new A.SupportsOperation(t4, right, operator, t6);
  62822. lowerOperator = operator.toLowerCase();
  62823. if (lowerOperator !== "and" && lowerOperator !== "or")
  62824. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62825. _this.whitespace$1$consumeNewlines(true);
  62826. }
  62827. return operation;
  62828. },
  62829. _lookingAtInterpolatedIdentifier$0() {
  62830. var t2, _0_0,
  62831. t1 = this.scanner,
  62832. _1_0 = t1.peekChar$0();
  62833. $label0$0: {
  62834. t2 = false;
  62835. if (_1_0 == null) {
  62836. t1 = t2;
  62837. break $label0$0;
  62838. }
  62839. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  62840. t1 = true;
  62841. break $label0$0;
  62842. }
  62843. if (35 === _1_0) {
  62844. t1 = t1.peekChar$1(1) === 123;
  62845. break $label0$0;
  62846. }
  62847. if (45 === _1_0) {
  62848. _0_0 = t1.peekChar$1(1);
  62849. $label1$1: {
  62850. if (_0_0 == null) {
  62851. t1 = t2;
  62852. break $label1$1;
  62853. }
  62854. if (35 === _0_0) {
  62855. t1 = t1.peekChar$1(2) === 123;
  62856. break $label1$1;
  62857. }
  62858. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  62859. t1 = true;
  62860. break $label1$1;
  62861. }
  62862. t1 = t2;
  62863. break $label1$1;
  62864. }
  62865. break $label0$0;
  62866. }
  62867. t1 = t2;
  62868. break $label0$0;
  62869. }
  62870. return t1;
  62871. },
  62872. _lookingAtPotentialPropertyHack$0() {
  62873. var t1 = this.scanner,
  62874. _0_0 = t1.peekChar$0();
  62875. $label0$0: {
  62876. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  62877. t1 = true;
  62878. break $label0$0;
  62879. }
  62880. if (35 === _0_0) {
  62881. t1 = t1.peekChar$1(1) !== 123;
  62882. break $label0$0;
  62883. }
  62884. t1 = false;
  62885. break $label0$0;
  62886. }
  62887. return t1;
  62888. },
  62889. _lookingAtInterpolatedIdentifierBody$0() {
  62890. var t2, t3,
  62891. t1 = this.scanner,
  62892. _0_0 = t1.peekChar$0();
  62893. $label0$0: {
  62894. t2 = false;
  62895. if (_0_0 == null) {
  62896. t1 = t2;
  62897. break $label0$0;
  62898. }
  62899. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  62900. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  62901. else
  62902. t3 = true;
  62903. if (t3 || 92 === _0_0) {
  62904. t1 = true;
  62905. break $label0$0;
  62906. }
  62907. if (35 === _0_0) {
  62908. t1 = t1.peekChar$1(1) === 123;
  62909. break $label0$0;
  62910. }
  62911. t1 = t2;
  62912. break $label0$0;
  62913. }
  62914. return t1;
  62915. },
  62916. _lookingAtExpression$0() {
  62917. var t2, _0_0,
  62918. t1 = this.scanner,
  62919. _1_0 = t1.peekChar$0();
  62920. $label0$0: {
  62921. t2 = true;
  62922. if (_1_0 == null) {
  62923. t1 = false;
  62924. break $label0$0;
  62925. }
  62926. if (46 === _1_0) {
  62927. t1 = t1.peekChar$1(1) !== 46;
  62928. break $label0$0;
  62929. }
  62930. if (33 === _1_0) {
  62931. _0_0 = t1.peekChar$1(1);
  62932. $label1$1: {
  62933. if (_0_0 != null)
  62934. if (105 !== _0_0)
  62935. if (73 !== _0_0)
  62936. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  62937. else
  62938. t1 = t2;
  62939. else
  62940. t1 = t2;
  62941. else
  62942. t1 = t2;
  62943. if (t1)
  62944. break $label1$1;
  62945. break $label1$1;
  62946. }
  62947. break $label0$0;
  62948. }
  62949. t1 = true;
  62950. if (40 !== _1_0)
  62951. if (47 !== _1_0)
  62952. if (91 !== _1_0)
  62953. if (39 !== _1_0)
  62954. if (34 !== _1_0)
  62955. if (35 !== _1_0)
  62956. if (43 !== _1_0)
  62957. if (45 !== _1_0)
  62958. if (92 !== _1_0)
  62959. if (36 !== _1_0)
  62960. if (38 !== _1_0)
  62961. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  62962. t1 = _1_0 >= 48 && _1_0 <= 57;
  62963. if (t1) {
  62964. t1 = t2;
  62965. break $label0$0;
  62966. }
  62967. t1 = false;
  62968. break $label0$0;
  62969. }
  62970. return t1;
  62971. },
  62972. _withChildren$1$3(child, start, create) {
  62973. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  62974. this.whitespaceWithoutComments$1$consumeNewlines(false);
  62975. return result;
  62976. },
  62977. _withChildren$3(child, start, create) {
  62978. return this._withChildren$1$3(child, start, create, type$.dynamic);
  62979. },
  62980. _urlString$0() {
  62981. var innerError, stackTrace, t2, exception,
  62982. t1 = this.scanner,
  62983. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62984. url = this.string$0();
  62985. try {
  62986. t2 = A.Uri_parse(url);
  62987. return t2;
  62988. } catch (exception) {
  62989. t2 = A.unwrapException(exception);
  62990. if (type$.FormatException._is(t2)) {
  62991. innerError = t2;
  62992. stackTrace = A.getTraceFromException(exception);
  62993. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  62994. } else
  62995. throw exception;
  62996. }
  62997. },
  62998. _publicIdentifier$0() {
  62999. var _this = this,
  63000. t1 = _this.scanner,
  63001. t2 = t1._string_scanner$_position,
  63002. result = _this.identifier$0();
  63003. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  63004. return result;
  63005. },
  63006. _assertPublic$2(identifier, span) {
  63007. var first = identifier.charCodeAt(0);
  63008. if (!(first === 45 || first === 95))
  63009. return;
  63010. this.error$2(0, string$.Privat, span.call$0());
  63011. },
  63012. _addOrInject$2(buffer, expression) {
  63013. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63014. buffer.addInterpolation$1(expression.text);
  63015. else
  63016. buffer.add$2(0, expression, expression.get$span(expression));
  63017. },
  63018. get$plainCss() {
  63019. return false;
  63020. }
  63021. };
  63022. A.StylesheetParser_parse_closure.prototype = {
  63023. call$0() {
  63024. var statements,
  63025. t1 = this.$this,
  63026. t2 = t1.scanner,
  63027. t3 = t2._string_scanner$_position;
  63028. t2.scanChar$1(65279);
  63029. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63030. t2.expectDone$0();
  63031. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63032. },
  63033. $signature: 386
  63034. };
  63035. A.StylesheetParser_parse__closure.prototype = {
  63036. call$0() {
  63037. var t1 = this.$this;
  63038. if (t1.scanner.scan$1("@charset")) {
  63039. t1.whitespace$1$consumeNewlines(false);
  63040. t1.string$0();
  63041. return null;
  63042. }
  63043. return t1._statement$1$root(true);
  63044. },
  63045. $signature: 385
  63046. };
  63047. A.StylesheetParser_parseParameterList_closure.prototype = {
  63048. call$0() {
  63049. var parameters,
  63050. t1 = this.$this,
  63051. t2 = t1.scanner;
  63052. t2.expectChar$2$name(64, "@-rule");
  63053. t1.identifier$0();
  63054. t1.whitespace$1$consumeNewlines(true);
  63055. t1.identifier$0();
  63056. parameters = t1._parameterList$0();
  63057. t1.whitespace$1$consumeNewlines(true);
  63058. t2.expectChar$1(123);
  63059. return parameters;
  63060. },
  63061. $signature: 378
  63062. };
  63063. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63064. call$0() {
  63065. var t1 = this.$this;
  63066. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63067. },
  63068. $signature: 369
  63069. };
  63070. A.StylesheetParser_parseUseRule_closure.prototype = {
  63071. call$0() {
  63072. var t1 = this.$this,
  63073. t2 = t1.scanner,
  63074. t3 = t2._string_scanner$_position;
  63075. t2.expectChar$2$name(64, "@-rule");
  63076. t1.expectIdentifier$1("use");
  63077. t1.whitespace$1$consumeNewlines(true);
  63078. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63079. },
  63080. $signature: 367
  63081. };
  63082. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63083. call$0() {
  63084. var result = this.production.call$0();
  63085. this.$this.scanner.expectDone$0();
  63086. return result;
  63087. },
  63088. $signature() {
  63089. return this.T._eval$1("0()");
  63090. }
  63091. };
  63092. A.StylesheetParser__statement_closure.prototype = {
  63093. call$0() {
  63094. return this.$this._statement$0();
  63095. },
  63096. $signature: 118
  63097. };
  63098. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63099. call$0() {
  63100. return this.$this.scanner.spanFrom$1(this.start);
  63101. },
  63102. $signature: 28
  63103. };
  63104. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63105. call$0() {
  63106. return this.declaration.span;
  63107. },
  63108. $signature: 28
  63109. };
  63110. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63111. call$0() {
  63112. return this.$this.whitespace$1$consumeNewlines(false);
  63113. },
  63114. $signature: 0
  63115. };
  63116. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63117. call$0() {
  63118. return this.$this.whitespace$1$consumeNewlines(false);
  63119. },
  63120. $signature: 0
  63121. };
  63122. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63123. call$0() {
  63124. return this.$this.whitespace$1$consumeNewlines(false);
  63125. },
  63126. $signature: 0
  63127. };
  63128. A.StylesheetParser__styleRule_closure.prototype = {
  63129. call$2(children, span) {
  63130. var _this = this,
  63131. t1 = _this.$this;
  63132. if (t1.get$indented() && children.length === 0)
  63133. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  63134. t1._inStyleRule = _this.wasInStyleRule;
  63135. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  63136. },
  63137. $signature: 366
  63138. };
  63139. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63140. call$0() {
  63141. return this.$this.whitespace$1$consumeNewlines(false);
  63142. },
  63143. $signature: 0
  63144. };
  63145. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63146. call$2(children, span) {
  63147. return A.Declaration$nested(this.name, children, span, this.value);
  63148. },
  63149. $signature: 360
  63150. };
  63151. A.StylesheetParser__atRootRule_closure.prototype = {
  63152. call$2(children, span) {
  63153. return A.AtRootRule$(children, span, this.query);
  63154. },
  63155. $signature: 190
  63156. };
  63157. A.StylesheetParser__atRootRule_closure0.prototype = {
  63158. call$2(children, span) {
  63159. return A.AtRootRule$(children, span, null);
  63160. },
  63161. $signature: 190
  63162. };
  63163. A.StylesheetParser__eachRule_closure.prototype = {
  63164. call$2(children, span) {
  63165. var _this = this;
  63166. _this.$this._inControlDirective = _this.wasInControlDirective;
  63167. return A.EachRule$(_this.variables, _this.list, children, span);
  63168. },
  63169. $signature: 359
  63170. };
  63171. A.StylesheetParser__functionRule_closure.prototype = {
  63172. call$2(children, span) {
  63173. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63174. },
  63175. $signature: 358
  63176. };
  63177. A.StylesheetParser__forRule_closure.prototype = {
  63178. call$0() {
  63179. var t1 = this.$this;
  63180. if (!t1.lookingAtIdentifier$0())
  63181. return false;
  63182. if (t1.scanIdentifier$1("to"))
  63183. return this._box_0.exclusive = true;
  63184. else if (t1.scanIdentifier$1("through")) {
  63185. this._box_0.exclusive = false;
  63186. return true;
  63187. } else
  63188. return false;
  63189. },
  63190. $signature: 22
  63191. };
  63192. A.StylesheetParser__forRule_closure0.prototype = {
  63193. call$2(children, span) {
  63194. var t1, _this = this;
  63195. _this.$this._inControlDirective = _this.wasInControlDirective;
  63196. t1 = _this._box_0.exclusive;
  63197. t1.toString;
  63198. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63199. },
  63200. $signature: 356
  63201. };
  63202. A.StylesheetParser__memberList_closure.prototype = {
  63203. call$0() {
  63204. var t1 = this.$this;
  63205. if (t1.scanner.peekChar$0() === 36)
  63206. this.variables.add$1(0, t1.variableName$0());
  63207. else
  63208. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63209. },
  63210. $signature: 1
  63211. };
  63212. A.StylesheetParser__includeRule_closure.prototype = {
  63213. call$2(children, span) {
  63214. return A.ContentBlock$(this.contentParameters_, children, span);
  63215. },
  63216. $signature: 355
  63217. };
  63218. A.StylesheetParser_mediaRule_closure.prototype = {
  63219. call$2(children, span) {
  63220. return A.MediaRule$(this.query, children, span);
  63221. },
  63222. $signature: 353
  63223. };
  63224. A.StylesheetParser__mixinRule_closure.prototype = {
  63225. call$2(children, span) {
  63226. var _this = this;
  63227. _this.$this._stylesheet$_inMixin = false;
  63228. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63229. },
  63230. $signature: 352
  63231. };
  63232. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63233. call$0() {
  63234. return this.$this.whitespace$1$consumeNewlines(false);
  63235. },
  63236. $signature: 0
  63237. };
  63238. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63239. call$2(children, span) {
  63240. var _this = this;
  63241. if (_this._box_0.needsDeprecationWarning)
  63242. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_89v, string$.x40_moz_, span));
  63243. return A.AtRule$(_this.name, span, children, _this.value);
  63244. },
  63245. $signature: 197
  63246. };
  63247. A.StylesheetParser_supportsRule_closure.prototype = {
  63248. call$2(children, span) {
  63249. return A.SupportsRule$(this.condition, children, span);
  63250. },
  63251. $signature: 349
  63252. };
  63253. A.StylesheetParser__whileRule_closure.prototype = {
  63254. call$2(children, span) {
  63255. this.$this._inControlDirective = this.wasInControlDirective;
  63256. return A.WhileRule$(this.condition, children, span);
  63257. },
  63258. $signature: 347
  63259. };
  63260. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63261. call$2(children, span) {
  63262. return A.AtRule$(this.name, span, children, this._box_0.value);
  63263. },
  63264. $signature: 197
  63265. };
  63266. A.StylesheetParser__expression_resetState.prototype = {
  63267. call$0() {
  63268. var t2,
  63269. t1 = this._box_0;
  63270. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63271. t2 = this.$this;
  63272. t2.scanner.set$state(this.start);
  63273. t1.allowSlash = true;
  63274. t1.singleExpression_ = t2._singleExpression$0();
  63275. },
  63276. $signature: 0
  63277. };
  63278. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63279. call$0() {
  63280. var t2, t3, t4, t5, t6, t7, _this = this,
  63281. t1 = _this._box_0,
  63282. operator = t1.operators_.pop(),
  63283. left = t1.operands_.pop(),
  63284. right = t1.singleExpression_;
  63285. if (right == null) {
  63286. t2 = _this.$this.scanner;
  63287. t3 = operator.operator.length;
  63288. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63289. }
  63290. if (t1.allowSlash) {
  63291. t2 = _this.$this;
  63292. t2 = !t2._inParentheses && operator === B.BinaryOperator_Mh5 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63293. } else
  63294. t2 = false;
  63295. if (t2)
  63296. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_Mh5, left, right, true);
  63297. else {
  63298. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63299. t2 = t1.allowSlash = false;
  63300. if (B.BinaryOperator_Swh === operator || B.BinaryOperator_QG1 === operator) {
  63301. t3 = _this.$this;
  63302. t4 = t3.scanner.string;
  63303. t5 = right.get$span(right);
  63304. t5 = t5.get$start(t5);
  63305. t6 = right.get$span(right);
  63306. t7 = operator.operator;
  63307. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63308. t2 = left.get$span(left);
  63309. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63310. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63311. }
  63312. if (t2) {
  63313. t2 = left.toString$0(0);
  63314. t4 = right.toString$0(0);
  63315. t5 = left.toString$0(0);
  63316. t6 = right.toString$0(0);
  63317. t1 = t1.singleExpression_;
  63318. 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)));
  63319. }
  63320. }
  63321. }
  63322. },
  63323. $signature: 0
  63324. };
  63325. A.StylesheetParser__expression_resolveOperations.prototype = {
  63326. call$0() {
  63327. var t1,
  63328. operators = this._box_0.operators_;
  63329. if (operators == null)
  63330. return;
  63331. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63332. t1.call$0();
  63333. },
  63334. $signature: 0
  63335. };
  63336. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63337. call$1(expression) {
  63338. var t2, spaceExpressions, _this = this,
  63339. t1 = _this._box_0;
  63340. if (t1.singleExpression_ != null) {
  63341. t2 = _this.$this;
  63342. if (t2._inParentheses) {
  63343. t2._inParentheses = false;
  63344. if (t1.allowSlash) {
  63345. _this.resetState.call$0();
  63346. return;
  63347. }
  63348. }
  63349. spaceExpressions = t1.spaceExpressions_;
  63350. if (spaceExpressions == null)
  63351. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63352. _this.resolveOperations.call$0();
  63353. t2 = t1.singleExpression_;
  63354. t2.toString;
  63355. spaceExpressions.push(t2);
  63356. t1.allowSlash = true;
  63357. }
  63358. t1.singleExpression_ = expression;
  63359. },
  63360. $signature: 346
  63361. };
  63362. A.StylesheetParser__expression_addOperator.prototype = {
  63363. call$1(operator) {
  63364. var t2, t3, operators, operands, t4, singleExpression,
  63365. t1 = this.$this;
  63366. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
  63367. t2 = t1.scanner;
  63368. t3 = operator.operator.length;
  63369. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63370. }
  63371. t2 = this._box_0;
  63372. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
  63373. operators = t2.operators_;
  63374. if (operators == null)
  63375. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63376. operands = t2.operands_;
  63377. if (operands == null)
  63378. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63379. t3 = this.resolveOneOperation;
  63380. t4 = operator.precedence;
  63381. while (true) {
  63382. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63383. break;
  63384. t3.call$0();
  63385. }
  63386. operators.push(operator);
  63387. singleExpression = t2.singleExpression_;
  63388. if (singleExpression == null) {
  63389. t3 = t1.scanner;
  63390. t4 = operator.operator.length;
  63391. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63392. }
  63393. operands.push(singleExpression);
  63394. t1.whitespace$1$consumeNewlines(true);
  63395. t2.singleExpression_ = t1._singleExpression$0();
  63396. },
  63397. $signature: 344
  63398. };
  63399. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63400. call$0() {
  63401. var t1, spaceExpressions, singleExpression, t2;
  63402. this.resolveOperations.call$0();
  63403. t1 = this._box_0;
  63404. spaceExpressions = t1.spaceExpressions_;
  63405. if (spaceExpressions == null)
  63406. return;
  63407. singleExpression = t1.singleExpression_;
  63408. if (singleExpression == null)
  63409. this.$this.scanner.error$1(0, "Expected expression.");
  63410. spaceExpressions.push(singleExpression);
  63411. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63412. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63413. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, false, t2);
  63414. t1.spaceExpressions_ = null;
  63415. },
  63416. $signature: 0
  63417. };
  63418. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63419. call$0() {
  63420. return this.$this.scanner.peekChar$0() === 44;
  63421. },
  63422. $signature: 22
  63423. };
  63424. A.StylesheetParser__isHexColor_closure.prototype = {
  63425. call$1(char) {
  63426. return A.CharacterExtension_get_isHex(char);
  63427. },
  63428. $signature: 50
  63429. };
  63430. A.StylesheetParser__unicodeRange_closure.prototype = {
  63431. call$1(char) {
  63432. return char != null && A.CharacterExtension_get_isHex(char);
  63433. },
  63434. $signature: 30
  63435. };
  63436. A.StylesheetParser__unicodeRange_closure0.prototype = {
  63437. call$1(char) {
  63438. return char != null && A.CharacterExtension_get_isHex(char);
  63439. },
  63440. $signature: 30
  63441. };
  63442. A.StylesheetParser_namespacedExpression_closure.prototype = {
  63443. call$0() {
  63444. return this.$this.scanner.spanFrom$1(this.start);
  63445. },
  63446. $signature: 28
  63447. };
  63448. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  63449. call$1(contents) {
  63450. return new A.StringExpression(contents, false);
  63451. },
  63452. $signature: 343
  63453. };
  63454. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  63455. call$0() {
  63456. var t1 = this.$this.scanner,
  63457. _0_0 = t1.peekChar$0();
  63458. $label0$0: {
  63459. if (61 === _0_0) {
  63460. t1 = t1.peekChar$1(1) !== 61;
  63461. break $label0$0;
  63462. }
  63463. if (60 === _0_0 || 62 === _0_0) {
  63464. t1 = true;
  63465. break $label0$0;
  63466. }
  63467. t1 = false;
  63468. break $label0$0;
  63469. }
  63470. return t1;
  63471. },
  63472. $signature: 22
  63473. };
  63474. A.StylesheetParser__publicIdentifier_closure.prototype = {
  63475. call$0() {
  63476. return this.$this.scanner.spanFrom$1(this.start);
  63477. },
  63478. $signature: 28
  63479. };
  63480. A.StylesheetGraph.prototype = {
  63481. modifiedSince$3(url, since, baseImporter) {
  63482. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  63483. if (node == null)
  63484. return true;
  63485. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  63486. },
  63487. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  63488. var importer, canonicalUrl, _this = this,
  63489. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  63490. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  63491. importer = result._0;
  63492. canonicalUrl = result._1;
  63493. _this.addCanonical$3(importer, canonicalUrl, result._2);
  63494. return _this._nodes.$index(0, canonicalUrl);
  63495. } else
  63496. return null;
  63497. },
  63498. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  63499. var stylesheet, _this = this,
  63500. t1 = _this._nodes;
  63501. if (t1.$index(0, canonicalUrl) != null)
  63502. return B.Set_empty3;
  63503. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  63504. if (stylesheet == null)
  63505. return B.Set_empty3;
  63506. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  63507. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  63508. },
  63509. addCanonical$3(importer, canonicalUrl, originalUrl) {
  63510. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  63511. },
  63512. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  63513. var t6, t7, t8, t9, t10,
  63514. t1 = type$.Uri,
  63515. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  63516. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63517. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63518. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63519. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  63520. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  63521. t6 = type$.UnmodifiableSetView_Uri;
  63522. t2 = new A.UnmodifiableSetView0(t2, t6);
  63523. t3 = new A.UnmodifiableSetView0(t3, t6);
  63524. t4 = new A.UnmodifiableSetView0(t4, t6);
  63525. t7 = type$.nullable_StylesheetNode;
  63526. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63527. 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();) {
  63528. t10 = t9.get$current(t9);
  63529. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  63530. }
  63531. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63532. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  63533. t3 = t2.get$current(0);
  63534. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  63535. }
  63536. return new A._Record_2_imports_modules(t1, t8);
  63537. },
  63538. reload$1(canonicalUrl) {
  63539. var stylesheet, upstream, _this = this,
  63540. node = _this._nodes.$index(0, canonicalUrl);
  63541. if (node == null)
  63542. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  63543. _this._transitiveModificationTimes.clear$0(0);
  63544. _this.importCache.clearImport$1(canonicalUrl);
  63545. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  63546. if (stylesheet == null)
  63547. return false;
  63548. node._stylesheet = stylesheet;
  63549. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  63550. node._replaceUpstream$2(upstream._1, upstream._0);
  63551. return true;
  63552. },
  63553. reloadAllModified$0() {
  63554. var node, modified, loadTime, t1, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this;
  63555. 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) {
  63556. node = t1[_i];
  63557. modified = false;
  63558. try {
  63559. loadTime = t3.$index(0, node.canonicalUrl);
  63560. if (loadTime != null) {
  63561. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  63562. t5 = loadTime;
  63563. t6 = t4._value;
  63564. t7 = t5._value;
  63565. if (t6 <= t7) {
  63566. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  63567. modified0 = t4;
  63568. } else
  63569. modified0 = true;
  63570. } else
  63571. modified0 = false;
  63572. modified = modified0;
  63573. } catch (exception) {
  63574. if (A.unwrapException(exception) instanceof A.FileSystemException)
  63575. modified = true;
  63576. else
  63577. throw exception;
  63578. }
  63579. if (modified)
  63580. if (!_this.reload$1(node.canonicalUrl))
  63581. _this.remove$2(0, node.importer, node.canonicalUrl);
  63582. }
  63583. },
  63584. remove$2(_, importer, canonicalUrl) {
  63585. var toRecompile, _this = this,
  63586. node = _this._nodes.remove$1(0, canonicalUrl),
  63587. t1 = node != null;
  63588. if (t1) {
  63589. _this._transitiveModificationTimes.clear$0(0);
  63590. _this.importCache.clearImport$1(canonicalUrl);
  63591. node._stylesheet_graph$_remove$0();
  63592. }
  63593. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  63594. if (t1)
  63595. toRecompile.addAll$1(0, node._downstream);
  63596. return toRecompile;
  63597. },
  63598. _recanonicalizeImports$2(importer, canonicalUrl) {
  63599. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  63600. _this.importCache.clearCanonicalize$1(canonicalUrl);
  63601. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  63602. 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();) {
  63603. t5 = t1.get$current(0);
  63604. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  63605. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  63606. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  63607. changed.add$1(0, t5);
  63608. 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));
  63609. }
  63610. }
  63611. if (changed._collection$_length !== 0)
  63612. _this._transitiveModificationTimes.clear$0(0);
  63613. return changed;
  63614. },
  63615. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  63616. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  63617. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  63618. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  63619. t1 = type$.Uri;
  63620. t2 = type$.nullable_StylesheetNode;
  63621. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63622. 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();) {
  63623. t6 = t1.get$current(t1);
  63624. url = null;
  63625. url = t6._0;
  63626. upstream = t6._1;
  63627. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  63628. continue;
  63629. result = null;
  63630. try {
  63631. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  63632. } catch (exception) {
  63633. }
  63634. t6 = result;
  63635. newCanonicalUrl = t6 == null ? null : t6._1;
  63636. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  63637. continue;
  63638. t6 = url;
  63639. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  63640. }
  63641. return newMap;
  63642. },
  63643. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  63644. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  63645. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  63646. if (result == null)
  63647. return null;
  63648. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  63649. t1.importer = result._0;
  63650. canonicalUrl = t1.canonicalUrl = result._1;
  63651. t1.originalUrl = result._2;
  63652. t2 = _this._nodes;
  63653. _1_0 = t2.$index(0, canonicalUrl);
  63654. if (_1_0 != null)
  63655. return _1_0;
  63656. if (active.contains$1(0, canonicalUrl))
  63657. return null;
  63658. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  63659. if (stylesheet == null)
  63660. return null;
  63661. active.add$1(0, t1.canonicalUrl);
  63662. t3 = t1.importer;
  63663. t4 = t1.canonicalUrl;
  63664. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  63665. active.remove$1(0, t1.canonicalUrl);
  63666. t2.$indexSet(0, t1.canonicalUrl, node);
  63667. return node;
  63668. },
  63669. _nodeFor$4(url, baseImporter, baseUrl, active) {
  63670. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  63671. },
  63672. _ignoreErrors$1$1(callback) {
  63673. var t1, exception;
  63674. try {
  63675. t1 = callback.call$0();
  63676. return t1;
  63677. } catch (exception) {
  63678. return null;
  63679. }
  63680. },
  63681. _ignoreErrors$1(callback) {
  63682. return this._ignoreErrors$1$1(callback, type$.dynamic);
  63683. }
  63684. };
  63685. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  63686. call$1(node) {
  63687. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  63688. },
  63689. $signature: 341
  63690. };
  63691. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  63692. call$0() {
  63693. var t2, t3, upstreamTime, t4,
  63694. t1 = this.node,
  63695. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  63696. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  63697. t3 = t1.get$current(0);
  63698. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  63699. t3 = upstreamTime._value;
  63700. t4 = latest._value;
  63701. if (t3 <= t4)
  63702. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  63703. else
  63704. t3 = true;
  63705. if (t3)
  63706. latest = upstreamTime;
  63707. }
  63708. return latest;
  63709. },
  63710. $signature: 164
  63711. };
  63712. A.StylesheetGraph__add_closure.prototype = {
  63713. call$0() {
  63714. var _this = this;
  63715. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  63716. },
  63717. $signature: 128
  63718. };
  63719. A.StylesheetGraph_addCanonical_closure.prototype = {
  63720. call$0() {
  63721. var _this = this;
  63722. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  63723. },
  63724. $signature: 82
  63725. };
  63726. A.StylesheetGraph_reload_closure.prototype = {
  63727. call$0() {
  63728. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  63729. },
  63730. $signature: 82
  63731. };
  63732. A.StylesheetGraph__nodeFor_closure.prototype = {
  63733. call$0() {
  63734. var _this = this;
  63735. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  63736. },
  63737. $signature: 128
  63738. };
  63739. A.StylesheetGraph__nodeFor_closure0.prototype = {
  63740. call$0() {
  63741. var t1 = this._box_0;
  63742. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  63743. },
  63744. $signature: 82
  63745. };
  63746. A.StylesheetNode.prototype = {
  63747. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  63748. var t1, t2;
  63749. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  63750. t2 = t1.get$current(0);
  63751. if (t2 != null)
  63752. t2._downstream.add$1(0, this);
  63753. }
  63754. },
  63755. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  63756. var t3, oldUpstream, newUpstreamSet, _this = this,
  63757. t1 = type$.nullable_StylesheetNode,
  63758. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  63759. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  63760. t3 = type$.StylesheetNode;
  63761. oldUpstream = A.SetExtension_removeNull(t2, t3);
  63762. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  63763. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  63764. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  63765. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63766. t1.get$current(t1)._downstream.remove$1(0, _this);
  63767. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63768. t1.get$current(t1)._downstream.add$1(0, _this);
  63769. _this._upstream = newUpstream;
  63770. _this._upstreamImports = newUpstreamImports;
  63771. },
  63772. _stylesheet_graph$_remove$0() {
  63773. var t1, t2, t3, t4, _i, url, _this = this;
  63774. 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();) {
  63775. t3 = t1._collection$_current;
  63776. if (t3 == null)
  63777. t3 = t2._as(t3);
  63778. if (t3 == null)
  63779. continue;
  63780. t3._downstream.remove$1(0, _this);
  63781. }
  63782. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  63783. t2 = t1.get$current(0);
  63784. 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) {
  63785. url = t4[_i];
  63786. if (t2._upstream.$index(0, url) === _this) {
  63787. t2._upstream.$indexSet(0, url, null);
  63788. break;
  63789. }
  63790. }
  63791. 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) {
  63792. url = t4[_i];
  63793. if (t2._upstreamImports.$index(0, url) === _this) {
  63794. t2._upstreamImports.$indexSet(0, url, null);
  63795. break;
  63796. }
  63797. }
  63798. }
  63799. },
  63800. toString$0(_) {
  63801. var t1 = this._stylesheet.span;
  63802. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  63803. return t1 == null ? "<unknown>" : t1;
  63804. }
  63805. };
  63806. A.Syntax.prototype = {
  63807. _enumToString$0() {
  63808. return "Syntax." + this._name;
  63809. },
  63810. toString$0(_) {
  63811. return this._syntax$_name;
  63812. }
  63813. };
  63814. A.Box.prototype = {
  63815. $eq(_, other) {
  63816. if (other == null)
  63817. return false;
  63818. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  63819. },
  63820. get$hashCode(_) {
  63821. return A.Primitives_objectHashCode(this._box$_inner);
  63822. }
  63823. };
  63824. A.ModifiableBox.prototype = {};
  63825. A.LazyFileSpan.prototype = {
  63826. get$span(_) {
  63827. var t1 = this._lazy_file_span$_span;
  63828. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  63829. },
  63830. compareTo$1(_, other) {
  63831. return this.get$span(0).compareTo$1(0, other);
  63832. },
  63833. get$context(_) {
  63834. var t1 = this.get$span(0);
  63835. return t1.get$context(t1);
  63836. },
  63837. get$end(_) {
  63838. var t1 = this.get$span(0);
  63839. return t1.get$end(t1);
  63840. },
  63841. expand$1(_, other) {
  63842. return this.get$span(0).expand$1(0, other);
  63843. },
  63844. get$file(_) {
  63845. var t1 = this.get$span(0);
  63846. return t1.get$file(t1);
  63847. },
  63848. highlight$1$color(color) {
  63849. return this.get$span(0).highlight$1$color(color);
  63850. },
  63851. get$length(_) {
  63852. var t1 = this.get$span(0);
  63853. return t1.get$length(t1);
  63854. },
  63855. message$2$color(_, message, color) {
  63856. return this.get$span(0).message$2$color(0, message, color);
  63857. },
  63858. message$1(_, message) {
  63859. return this.message$2$color(0, message, null);
  63860. },
  63861. get$sourceUrl(_) {
  63862. var t1 = this.get$span(0);
  63863. return t1.get$sourceUrl(t1);
  63864. },
  63865. get$start(_) {
  63866. var t1 = this.get$span(0);
  63867. return t1.get$start(t1);
  63868. },
  63869. get$text() {
  63870. return this.get$span(0).get$text();
  63871. },
  63872. $isComparable: 1,
  63873. $isFileSpan: 1,
  63874. $isSourceSpan: 1,
  63875. $isSourceSpanWithContext: 1
  63876. };
  63877. A.LimitedMapView.prototype = {
  63878. get$keys(_) {
  63879. return this._limited_map_view$_keys;
  63880. },
  63881. get$length(_) {
  63882. return this._limited_map_view$_keys._collection$_length;
  63883. },
  63884. get$isEmpty(_) {
  63885. return this._limited_map_view$_keys._collection$_length === 0;
  63886. },
  63887. get$isNotEmpty(_) {
  63888. return this._limited_map_view$_keys._collection$_length !== 0;
  63889. },
  63890. $index(_, key) {
  63891. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  63892. },
  63893. containsKey$1(key) {
  63894. return this._limited_map_view$_keys.contains$1(0, key);
  63895. },
  63896. remove$1(_, key) {
  63897. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  63898. }
  63899. };
  63900. A.MapExtensions_get_pairs_closure.prototype = {
  63901. call$1(e) {
  63902. return new A._Record_2(e.key, e.value);
  63903. },
  63904. $signature() {
  63905. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  63906. }
  63907. };
  63908. A.MergedMapView.prototype = {
  63909. get$keys(_) {
  63910. var t1 = this._mapsByKey;
  63911. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  63912. },
  63913. get$length(_) {
  63914. return this._mapsByKey.__js_helper$_length;
  63915. },
  63916. get$isEmpty(_) {
  63917. return this._mapsByKey.__js_helper$_length === 0;
  63918. },
  63919. get$isNotEmpty(_) {
  63920. return this._mapsByKey.__js_helper$_length !== 0;
  63921. },
  63922. MergedMapView$1(maps, $K, $V) {
  63923. var t1, t2, t3, _i, map, t4, t5;
  63924. 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) {
  63925. map = maps[_i];
  63926. if (t3._is(map))
  63927. for (t4 = map._mapsByKey, t4 = new A.LinkedHashMapValueIterator(t4, t4.__js_helper$_modifications, t4.__js_helper$_first); t4.moveNext$0();) {
  63928. t5 = t4.__js_helper$_current;
  63929. A.setAll(t2, t5.get$keys(t5), t5);
  63930. }
  63931. else
  63932. A.setAll(t2, map.get$keys(map), map);
  63933. }
  63934. },
  63935. $index(_, key) {
  63936. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  63937. return t1 == null ? null : t1.$index(0, key);
  63938. },
  63939. $indexSet(_, key, value) {
  63940. var _0_0 = this._mapsByKey.$index(0, key);
  63941. if (_0_0 != null)
  63942. _0_0.$indexSet(0, key, value);
  63943. else
  63944. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  63945. },
  63946. remove$1(_, key) {
  63947. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  63948. },
  63949. containsKey$1(key) {
  63950. return this._mapsByKey.containsKey$1(key);
  63951. }
  63952. };
  63953. A.MultiDirWatcher.prototype = {
  63954. watch$1(_, directory) {
  63955. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, completer;
  63956. 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) {
  63957. t5 = t2[_i];
  63958. _0_1 = t5._0;
  63959. _0_1.toString;
  63960. if (!isParentOfExistingDir) {
  63961. t6 = $.$get$context();
  63962. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  63963. } else
  63964. t6 = false;
  63965. if (t6) {
  63966. t1 = new A._Future($.Zone__current, type$._Future_void);
  63967. t1._asyncComplete$1(null);
  63968. return t1;
  63969. }
  63970. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  63971. t1.remove$1(0, _0_1);
  63972. t4.remove$1(0, t5._1);
  63973. isParentOfExistingDir = true;
  63974. }
  63975. }
  63976. future = A.watchDir(directory, this._poll);
  63977. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  63978. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  63979. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  63980. t1.$indexSet(0, directory, t2);
  63981. t4.add$1(0, t2);
  63982. return future;
  63983. }
  63984. };
  63985. A.MultiSpan.prototype = {
  63986. get$start(_) {
  63987. var t1 = this._multi_span$_primary;
  63988. return t1.get$start(t1);
  63989. },
  63990. get$end(_) {
  63991. var t1 = this._multi_span$_primary;
  63992. return t1.get$end(t1);
  63993. },
  63994. get$text() {
  63995. return this._multi_span$_primary.get$text();
  63996. },
  63997. get$context(_) {
  63998. var t1 = this._multi_span$_primary;
  63999. return t1.get$context(t1);
  64000. },
  64001. get$file(_) {
  64002. var t1 = this._multi_span$_primary;
  64003. return t1.get$file(t1);
  64004. },
  64005. get$length(_) {
  64006. var t1 = this._multi_span$_primary;
  64007. return t1.get$length(t1);
  64008. },
  64009. get$sourceUrl(_) {
  64010. var t1 = this._multi_span$_primary;
  64011. return t1.get$sourceUrl(t1);
  64012. },
  64013. compareTo$1(_, other) {
  64014. return this._multi_span$_primary.compareTo$1(0, other);
  64015. },
  64016. toString$0(_) {
  64017. return this._multi_span$_primary.toString$0(0);
  64018. },
  64019. expand$1(_, other) {
  64020. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64021. },
  64022. highlight$1$color(color) {
  64023. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64024. },
  64025. message$2$color(_, message, color) {
  64026. var t1 = J.$eq$(color, true) || typeof color == "string",
  64027. t2 = typeof color == "string" ? color : null;
  64028. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64029. },
  64030. message$1(_, message) {
  64031. return this.message$2$color(0, message, null);
  64032. },
  64033. $isComparable: 1,
  64034. $isFileSpan: 1,
  64035. $isSourceSpan: 1,
  64036. $isSourceSpanWithContext: 1
  64037. };
  64038. A.NoSourceMapBuffer.prototype = {
  64039. get$length(_) {
  64040. return this._no_source_map_buffer$_buffer._contents.length;
  64041. },
  64042. forSpan$1$2(span, callback) {
  64043. return callback.call$0();
  64044. },
  64045. forSpan$2(span, callback) {
  64046. return this.forSpan$1$2(span, callback, type$.dynamic);
  64047. },
  64048. write$1(_, object) {
  64049. var t1 = this._no_source_map_buffer$_buffer,
  64050. t2 = A.S(object);
  64051. t1._contents += t2;
  64052. return null;
  64053. },
  64054. writeCharCode$1(charCode) {
  64055. var t1 = this._no_source_map_buffer$_buffer,
  64056. t2 = A.Primitives_stringFromCharCode(charCode);
  64057. t1._contents += t2;
  64058. return null;
  64059. },
  64060. toString$0(_) {
  64061. var t1 = this._no_source_map_buffer$_buffer._contents;
  64062. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64063. },
  64064. buildSourceMap$1$prefix(prefix) {
  64065. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64066. }
  64067. };
  64068. A.PrefixedMapView.prototype = {
  64069. get$keys(_) {
  64070. return new A._PrefixedKeys(this);
  64071. },
  64072. get$length(_) {
  64073. var t1 = this._prefixed_map_view$_map;
  64074. return t1.get$length(t1);
  64075. },
  64076. get$isEmpty(_) {
  64077. var t1 = this._prefixed_map_view$_map;
  64078. return t1.get$isEmpty(t1);
  64079. },
  64080. get$isNotEmpty(_) {
  64081. var t1 = this._prefixed_map_view$_map;
  64082. return t1.get$isNotEmpty(t1);
  64083. },
  64084. $index(_, key) {
  64085. 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;
  64086. },
  64087. containsKey$1(key) {
  64088. 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));
  64089. }
  64090. };
  64091. A._PrefixedKeys.prototype = {
  64092. get$length(_) {
  64093. var t1 = this._view._prefixed_map_view$_map;
  64094. return t1.get$length(t1);
  64095. },
  64096. get$iterator(_) {
  64097. var t1 = this._view._prefixed_map_view$_map;
  64098. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  64099. return t1.get$iterator(t1);
  64100. },
  64101. contains$1(_, key) {
  64102. return this._view.containsKey$1(key);
  64103. }
  64104. };
  64105. A._PrefixedKeys_iterator_closure.prototype = {
  64106. call$1(key) {
  64107. return this.$this._view._prefix + key;
  64108. },
  64109. $signature: 6
  64110. };
  64111. A.PublicMemberMapView.prototype = {
  64112. get$keys(_) {
  64113. var t1 = this._public_member_map_view$_inner;
  64114. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  64115. },
  64116. containsKey$1(key) {
  64117. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64118. },
  64119. $index(_, key) {
  64120. if (typeof key == "string" && A.isPublic(key))
  64121. return this._public_member_map_view$_inner.$index(0, key);
  64122. return null;
  64123. }
  64124. };
  64125. A.SourceMapBuffer.prototype = {
  64126. get$_targetLocation() {
  64127. var t1 = this._source_map_buffer$_buffer._contents,
  64128. t2 = this._line;
  64129. return A.SourceLocation$(t1.length, this._column, t2, null);
  64130. },
  64131. get$length(_) {
  64132. return this._source_map_buffer$_buffer._contents.length;
  64133. },
  64134. forSpan$1$2(span, callback) {
  64135. var t1, _this = this,
  64136. wasInSpan = _this._inSpan;
  64137. _this._inSpan = true;
  64138. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64139. try {
  64140. t1 = callback.call$0();
  64141. return t1;
  64142. } finally {
  64143. _this._inSpan = wasInSpan;
  64144. }
  64145. },
  64146. forSpan$2(span, callback) {
  64147. return this.forSpan$1$2(span, callback, type$.dynamic);
  64148. },
  64149. _addEntry$2(source, target) {
  64150. var entry, t2,
  64151. t1 = this._entries;
  64152. if (t1.length !== 0) {
  64153. entry = B.JSArray_methods.get$last(t1);
  64154. t2 = entry.source;
  64155. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64156. return;
  64157. if (entry.target.offset === target.offset)
  64158. return;
  64159. }
  64160. t1.push(new A.Entry(source, target, null));
  64161. },
  64162. write$1(_, object) {
  64163. var t1, i,
  64164. string = J.toString$0$(object);
  64165. this._source_map_buffer$_buffer._contents += string;
  64166. for (t1 = string.length, i = 0; i < t1; ++i)
  64167. if (string.charCodeAt(i) === 10)
  64168. this._source_map_buffer$_writeLine$0();
  64169. else
  64170. ++this._column;
  64171. },
  64172. writeCharCode$1(charCode) {
  64173. var t1 = this._source_map_buffer$_buffer,
  64174. t2 = A.Primitives_stringFromCharCode(charCode);
  64175. t1._contents += t2;
  64176. if (charCode === 10)
  64177. this._source_map_buffer$_writeLine$0();
  64178. else
  64179. ++this._column;
  64180. },
  64181. _source_map_buffer$_writeLine$0() {
  64182. var _this = this,
  64183. t1 = _this._entries;
  64184. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64185. t1.pop();
  64186. ++_this._line;
  64187. _this._column = 0;
  64188. if (_this._inSpan)
  64189. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64190. },
  64191. toString$0(_) {
  64192. var t1 = this._source_map_buffer$_buffer._contents;
  64193. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64194. },
  64195. buildSourceMap$1$prefix(prefix) {
  64196. var i, t2, prefixColumn, _box_0 = {},
  64197. t1 = prefix.length;
  64198. if (t1 === 0)
  64199. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64200. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64201. for (i = 0, t2 = 0; i < t1; ++i)
  64202. if (prefix.charCodeAt(i) === 10) {
  64203. ++_box_0.prefixLines;
  64204. _box_0.prefixColumn = 0;
  64205. t2 = 0;
  64206. } else {
  64207. prefixColumn = t2 + 1;
  64208. _box_0.prefixColumn = prefixColumn;
  64209. t2 = prefixColumn;
  64210. }
  64211. t2 = this._entries;
  64212. 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>")));
  64213. }
  64214. };
  64215. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64216. call$1(entry) {
  64217. var t1 = entry.target,
  64218. t2 = t1.line,
  64219. t3 = this._box_0,
  64220. t4 = t3.prefixLines;
  64221. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64222. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64223. },
  64224. $signature: 206
  64225. };
  64226. A.UnprefixedMapView.prototype = {
  64227. get$keys(_) {
  64228. return new A._UnprefixedKeys(this);
  64229. },
  64230. $index(_, key) {
  64231. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64232. },
  64233. containsKey$1(key) {
  64234. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64235. },
  64236. remove$1(_, key) {
  64237. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64238. return t1;
  64239. }
  64240. };
  64241. A._UnprefixedKeys.prototype = {
  64242. get$iterator(_) {
  64243. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64244. 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);
  64245. return t1.get$iterator(t1);
  64246. },
  64247. contains$1(_, key) {
  64248. return this._unprefixed_map_view$_view.containsKey$1(key);
  64249. }
  64250. };
  64251. A._UnprefixedKeys_iterator_closure.prototype = {
  64252. call$1(key) {
  64253. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64254. },
  64255. $signature: 5
  64256. };
  64257. A._UnprefixedKeys_iterator_closure0.prototype = {
  64258. call$1(key) {
  64259. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64260. },
  64261. $signature: 6
  64262. };
  64263. A.indent_closure.prototype = {
  64264. call$1(line) {
  64265. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64266. },
  64267. $signature: 6
  64268. };
  64269. A.flattenVertically_closure.prototype = {
  64270. call$1(inner) {
  64271. return A.QueueList_QueueList$from(inner, this.T);
  64272. },
  64273. $signature() {
  64274. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64275. }
  64276. };
  64277. A.flattenVertically_closure0.prototype = {
  64278. call$1(queue) {
  64279. this.result.push(queue.removeFirst$0());
  64280. return queue.get$length(0) === 0;
  64281. },
  64282. $signature() {
  64283. return this.T._eval$1("bool(QueueList<0>)");
  64284. }
  64285. };
  64286. A.longestCommonSubsequence_backtrack.prototype = {
  64287. call$2(i, j) {
  64288. var selection, t1, _this = this;
  64289. if (i === -1 || j === -1)
  64290. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64291. selection = _this.selections[i][j];
  64292. if (selection != null) {
  64293. t1 = _this.call$2(i - 1, j - 1);
  64294. J.add$1$ax(t1, selection);
  64295. return t1;
  64296. }
  64297. t1 = _this.lengths;
  64298. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64299. },
  64300. $signature() {
  64301. return this.T._eval$1("List<0>(int,int)");
  64302. }
  64303. };
  64304. A.mapAddAll2_closure.prototype = {
  64305. call$2(key, inner) {
  64306. var t1 = this.destination,
  64307. _0_0 = t1.$index(0, key);
  64308. if (_0_0 != null)
  64309. _0_0.addAll$1(0, inner);
  64310. else
  64311. t1.$indexSet(0, key, inner);
  64312. },
  64313. $signature() {
  64314. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64315. }
  64316. };
  64317. A.Value.prototype = {
  64318. get$isTruthy() {
  64319. return true;
  64320. },
  64321. get$separator(_) {
  64322. return B.ListSeparator_undecided_null_undecided;
  64323. },
  64324. get$hasBrackets() {
  64325. return false;
  64326. },
  64327. get$asList() {
  64328. return A._setArrayType([this], type$.JSArray_Value);
  64329. },
  64330. get$lengthAsList() {
  64331. return 1;
  64332. },
  64333. get$isBlank() {
  64334. return false;
  64335. },
  64336. get$isSpecialNumber() {
  64337. return false;
  64338. },
  64339. get$isVar() {
  64340. return false;
  64341. },
  64342. get$realNull() {
  64343. return this;
  64344. },
  64345. sassIndexToListIndex$2(sassIndex, $name) {
  64346. var t1, index,
  64347. indexValue = sassIndex.assertNumber$1($name);
  64348. if (indexValue.get$hasUnits()) {
  64349. t1 = indexValue.get$unitString();
  64350. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_jG1);
  64351. }
  64352. index = indexValue.assertInt$1($name);
  64353. if (index === 0)
  64354. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64355. if (Math.abs(index) > this.get$lengthAsList())
  64356. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64357. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64358. },
  64359. assertCalculation$1($name) {
  64360. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64361. },
  64362. assertColor$1($name) {
  64363. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64364. },
  64365. assertFunction$1($name) {
  64366. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64367. },
  64368. assertMixin$1($name) {
  64369. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64370. },
  64371. assertMap$1($name) {
  64372. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64373. },
  64374. tryMap$0() {
  64375. return null;
  64376. },
  64377. assertNumber$1($name) {
  64378. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64379. },
  64380. assertNumber$0() {
  64381. return this.assertNumber$1(null);
  64382. },
  64383. assertString$1($name) {
  64384. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64385. },
  64386. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  64387. var invalidSeparator, buffer, t1, _this = this,
  64388. _s8_ = "Expected";
  64389. if (_this.get$separator(_this) !== B.ListSeparator_qVN)
  64390. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz;
  64391. else
  64392. invalidSeparator = true;
  64393. if (!invalidSeparator && !_this.get$hasBrackets())
  64394. return _this.get$asList();
  64395. buffer = new A.StringBuffer(_s8_);
  64396. if (_this.get$hasBrackets()) {
  64397. t1 = "Expected" + " an unbracketed";
  64398. buffer._contents = t1;
  64399. } else
  64400. t1 = _s8_;
  64401. if (invalidSeparator) {
  64402. t1 += _this.get$hasBrackets() ? "," : " a";
  64403. buffer._contents = t1;
  64404. t1 = buffer._contents = t1 + " space-";
  64405. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  64406. }
  64407. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  64408. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  64409. },
  64410. _selectorString$1($name) {
  64411. var _0_0 = this._selectorStringOrNull$0();
  64412. if (_0_0 != null)
  64413. return _0_0;
  64414. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  64415. },
  64416. _selectorStringOrNull$0() {
  64417. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  64418. if (_this instanceof A.SassString)
  64419. return _this._string$_text;
  64420. if (!(_this instanceof A.SassList))
  64421. return _null;
  64422. t1 = _this._list$_contents;
  64423. t2 = t1.length;
  64424. if (t2 === 0)
  64425. return _null;
  64426. result = A._setArrayType([], type$.JSArray_String);
  64427. $label0$1: {
  64428. _1_0 = _this._separator;
  64429. if (B.ListSeparator_qVN === _1_0) {
  64430. for (_i = 0; _i < t2; ++_i) {
  64431. complex = t1[_i];
  64432. if (complex instanceof A.SassString) {
  64433. result.push(complex._string$_text);
  64434. continue;
  64435. }
  64436. if (complex instanceof A.SassList && B.ListSeparator_qSL === complex._separator) {
  64437. string = complex._selectorStringOrNull$0();
  64438. if (string == null)
  64439. return _null;
  64440. result.push(string);
  64441. continue;
  64442. }
  64443. return _null;
  64444. }
  64445. break $label0$1;
  64446. }
  64447. if (B.ListSeparator_bRz === _1_0)
  64448. return _null;
  64449. for (_i = 0; _i < t2; ++_i) {
  64450. compound = t1[_i];
  64451. if (!(compound instanceof A.SassString))
  64452. return _null;
  64453. result.push(compound._string$_text);
  64454. }
  64455. }
  64456. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN ? ", " : " ");
  64457. },
  64458. withListContents$2$separator(contents, separator) {
  64459. var t1 = separator == null ? this.get$separator(this) : separator,
  64460. t2 = this.get$hasBrackets();
  64461. return A.SassList$(contents, t1, t2);
  64462. },
  64463. withListContents$1(contents) {
  64464. return this.withListContents$2$separator(contents, null);
  64465. },
  64466. greaterThan$1(other) {
  64467. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  64468. },
  64469. greaterThanOrEquals$1(other) {
  64470. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  64471. },
  64472. lessThan$1(other) {
  64473. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  64474. },
  64475. lessThanOrEquals$1(other) {
  64476. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  64477. },
  64478. times$1(other) {
  64479. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  64480. },
  64481. modulo$1(other) {
  64482. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  64483. },
  64484. plus$1(other) {
  64485. var t1;
  64486. $label0$0: {
  64487. if (other instanceof A.SassString) {
  64488. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  64489. break $label0$0;
  64490. }
  64491. if (other instanceof A.SassCalculation)
  64492. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64493. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  64494. break $label0$0;
  64495. }
  64496. return t1;
  64497. },
  64498. minus$1(other) {
  64499. 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);
  64500. },
  64501. dividedBy$1(other) {
  64502. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  64503. },
  64504. unaryPlus$0() {
  64505. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  64506. },
  64507. unaryMinus$0() {
  64508. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  64509. },
  64510. unaryNot$0() {
  64511. return B.SassBoolean_false;
  64512. },
  64513. withoutSlash$0() {
  64514. return this;
  64515. },
  64516. toString$0(_) {
  64517. return A.serializeValue(this, true, true);
  64518. }
  64519. };
  64520. A.SassArgumentList.prototype = {};
  64521. A.SassBoolean.prototype = {
  64522. get$isTruthy() {
  64523. return this.value;
  64524. },
  64525. accept$1$1(visitor) {
  64526. return visitor._serialize$_buffer.write$1(0, String(this.value));
  64527. },
  64528. accept$1(visitor) {
  64529. return this.accept$1$1(visitor, type$.dynamic);
  64530. },
  64531. unaryNot$0() {
  64532. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  64533. }
  64534. };
  64535. A.SassCalculation.prototype = {
  64536. get$isSpecialNumber() {
  64537. return true;
  64538. },
  64539. accept$1$1(visitor) {
  64540. return visitor.visitCalculation$1(this);
  64541. },
  64542. accept$1(visitor) {
  64543. return this.accept$1$1(visitor, type$.dynamic);
  64544. },
  64545. assertCalculation$1($name) {
  64546. return this;
  64547. },
  64548. plus$1(other) {
  64549. if (other instanceof A.SassString)
  64550. return this.super$Value$plus(other);
  64551. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64552. },
  64553. minus$1(other) {
  64554. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64555. },
  64556. unaryPlus$0() {
  64557. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  64558. },
  64559. unaryMinus$0() {
  64560. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  64561. },
  64562. $eq(_, other) {
  64563. if (other == null)
  64564. return false;
  64565. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  64566. },
  64567. get$hashCode(_) {
  64568. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  64569. }
  64570. };
  64571. A.SassCalculation__verifyLength_closure.prototype = {
  64572. call$1(arg) {
  64573. return arg instanceof A.SassString;
  64574. },
  64575. $signature: 79
  64576. };
  64577. A.CalculationOperation.prototype = {
  64578. $eq(_, other) {
  64579. if (other == null)
  64580. return false;
  64581. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  64582. },
  64583. get$hashCode(_) {
  64584. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  64585. },
  64586. toString$0(_) {
  64587. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  64588. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  64589. }
  64590. };
  64591. A.CalculationOperator.prototype = {
  64592. _enumToString$0() {
  64593. return "CalculationOperator." + this._name;
  64594. },
  64595. toString$0(_) {
  64596. return this.name;
  64597. }
  64598. };
  64599. A.SassColor.prototype = {
  64600. get$channels() {
  64601. var t2, t3,
  64602. t1 = this.channel0OrNull;
  64603. if (t1 == null)
  64604. t1 = 0;
  64605. t2 = this.channel1OrNull;
  64606. if (t2 == null)
  64607. t2 = 0;
  64608. t3 = this.channel2OrNull;
  64609. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  64610. },
  64611. get$channelsOrNull() {
  64612. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  64613. },
  64614. get$isChannel0Powerless() {
  64615. var t1, t2, _this = this,
  64616. _0_0 = _this._space;
  64617. $label0$0: {
  64618. if (B.HslColorSpace_JQ2 === _0_0) {
  64619. t1 = _this.channel1OrNull;
  64620. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64621. break $label0$0;
  64622. }
  64623. if (B.HwbColorSpace_guQ === _0_0) {
  64624. t1 = _this.channel1OrNull;
  64625. if (t1 == null)
  64626. t1 = 0;
  64627. t2 = _this.channel2OrNull;
  64628. t1 += t2 == null ? 0 : t2;
  64629. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  64630. break $label0$0;
  64631. }
  64632. t1 = false;
  64633. break $label0$0;
  64634. }
  64635. return t1;
  64636. },
  64637. get$isChannel2Powerless() {
  64638. var t1,
  64639. _0_0 = this._space;
  64640. $label0$0: {
  64641. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  64642. t1 = this.channel1OrNull;
  64643. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64644. break $label0$0;
  64645. }
  64646. t1 = false;
  64647. break $label0$0;
  64648. }
  64649. return t1;
  64650. },
  64651. get$isInGamut() {
  64652. var t2, t3, _this = this,
  64653. t1 = _this._space;
  64654. if (!t1.get$isBoundedInternal())
  64655. return true;
  64656. t2 = _this.channel0OrNull;
  64657. if (t2 == null)
  64658. t2 = 0;
  64659. t1 = t1._channels;
  64660. t3 = false;
  64661. if (_this._isChannelInGamut$2(t2, t1[0])) {
  64662. t2 = _this.channel1OrNull;
  64663. if (t2 == null)
  64664. t2 = 0;
  64665. if (_this._isChannelInGamut$2(t2, t1[1])) {
  64666. t2 = _this.channel2OrNull;
  64667. if (t2 == null)
  64668. t2 = 0;
  64669. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  64670. } else
  64671. t1 = t3;
  64672. } else
  64673. t1 = t3;
  64674. return t1;
  64675. },
  64676. _isChannelInGamut$2(value, channel) {
  64677. var min, max, t1;
  64678. $label0$0: {
  64679. if (channel instanceof A.LinearChannel) {
  64680. min = channel.min;
  64681. max = channel.max;
  64682. if (value < max || A.fuzzyEquals(value, max))
  64683. t1 = value > min || A.fuzzyEquals(value, min);
  64684. else
  64685. t1 = false;
  64686. break $label0$0;
  64687. }
  64688. t1 = true;
  64689. break $label0$0;
  64690. }
  64691. return t1;
  64692. },
  64693. accept$1$1(visitor) {
  64694. return visitor.visitColor$1(this);
  64695. },
  64696. accept$1(visitor) {
  64697. return this.accept$1$1(visitor, type$.dynamic);
  64698. },
  64699. assertColor$1($name) {
  64700. return this;
  64701. },
  64702. assertLegacy$1($name) {
  64703. if (this._space.get$isLegacyInternal())
  64704. return;
  64705. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  64706. },
  64707. channel$1(_, channel) {
  64708. var t1, _this = this,
  64709. channels = _this._space._channels;
  64710. if (channel === channels[0].name) {
  64711. t1 = _this.channel0OrNull;
  64712. return t1 == null ? 0 : t1;
  64713. }
  64714. if (channel === channels[1].name) {
  64715. t1 = _this.channel1OrNull;
  64716. return t1 == null ? 0 : t1;
  64717. }
  64718. if (channel === channels[2].name) {
  64719. t1 = _this.channel2OrNull;
  64720. return t1 == null ? 0 : t1;
  64721. }
  64722. if (channel === "alpha") {
  64723. t1 = _this.alphaOrNull;
  64724. return t1 == null ? 0 : t1;
  64725. }
  64726. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  64727. },
  64728. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  64729. var _this = this,
  64730. channels = _this._space._channels;
  64731. if (channel === channels[0].name)
  64732. return _this.channel0OrNull == null;
  64733. if (channel === channels[1].name)
  64734. return _this.channel1OrNull == null;
  64735. if (channel === channels[2].name)
  64736. return _this.channel2OrNull == null;
  64737. if (channel === "alpha")
  64738. return _this.alphaOrNull == null;
  64739. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64740. },
  64741. isChannelMissing$1(channel) {
  64742. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  64743. },
  64744. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  64745. var _this = this,
  64746. channels = _this._space._channels;
  64747. if (channel === channels[0].name)
  64748. return _this.get$isChannel0Powerless();
  64749. if (channel === channels[1].name)
  64750. return false;
  64751. if (channel === channels[2].name)
  64752. return _this.get$isChannel2Powerless();
  64753. if (channel === "alpha")
  64754. return false;
  64755. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64756. },
  64757. _legacyChannel$2(space, channel) {
  64758. if (!this._space.get$isLegacyInternal())
  64759. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  64760. return this.toSpace$1(space).channel$1(0, channel);
  64761. },
  64762. toSpace$2$legacyMissing(space, legacyMissing) {
  64763. var t2, converted, t3, t4, _this = this,
  64764. t1 = _this._space;
  64765. if (t1 === space)
  64766. return _this;
  64767. t2 = _this.alphaOrNull;
  64768. if (t2 == null)
  64769. t2 = 0;
  64770. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  64771. t1 = false;
  64772. if (!legacyMissing)
  64773. if (converted._space.get$isLegacyInternal())
  64774. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  64775. if (t1) {
  64776. t1 = converted.channel0OrNull;
  64777. if (t1 == null)
  64778. t1 = 0;
  64779. t2 = converted.channel1OrNull;
  64780. if (t2 == null)
  64781. t2 = 0;
  64782. t3 = converted.channel2OrNull;
  64783. if (t3 == null)
  64784. t3 = 0;
  64785. t4 = converted.alphaOrNull;
  64786. if (t4 == null)
  64787. t4 = 0;
  64788. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  64789. t1 = t4;
  64790. } else
  64791. t1 = converted;
  64792. return t1;
  64793. },
  64794. toSpace$1(space) {
  64795. return this.toSpace$2$legacyMissing(space, true);
  64796. },
  64797. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  64798. var t2, t3, t4, t5, _this = this, _null = null,
  64799. t1 = _this._space;
  64800. if (!t1.get$isLegacyInternal())
  64801. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  64802. t2 = hue == null ? _null : hue;
  64803. if (t2 == null)
  64804. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  64805. t3 = saturation == null ? _null : saturation;
  64806. if (t3 == null)
  64807. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  64808. t4 = lightness == null ? _null : lightness;
  64809. if (t4 == null)
  64810. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  64811. t5 = _this.alphaOrNull;
  64812. if (t5 == null)
  64813. t5 = 0;
  64814. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  64815. },
  64816. changeHsl$1$saturation(saturation) {
  64817. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  64818. },
  64819. changeHsl$1$lightness(lightness) {
  64820. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  64821. },
  64822. changeHsl$1$hue(hue) {
  64823. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  64824. },
  64825. changeAlpha$1(alpha) {
  64826. var t2, t3, _this = this,
  64827. t1 = _this.channel0OrNull;
  64828. if (t1 == null)
  64829. t1 = 0;
  64830. t2 = _this.channel1OrNull;
  64831. if (t2 == null)
  64832. t2 = 0;
  64833. t3 = _this.channel2OrNull;
  64834. if (t3 == null)
  64835. t3 = 0;
  64836. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  64837. },
  64838. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  64839. 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;
  64840. if (A.fuzzyEquals(weight, 0))
  64841. return other;
  64842. if (A.fuzzyEquals(weight, 1))
  64843. return _this;
  64844. t1 = method.space;
  64845. color1 = _this.toSpace$1(t1);
  64846. color2 = other.toSpace$1(t1);
  64847. if (weight < 0 || weight > 1)
  64848. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  64849. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  64850. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  64851. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  64852. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  64853. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  64854. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  64855. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  64856. if (channel1_0 == null)
  64857. channel1_0 = 0;
  64858. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  64859. if (channel1_1 == null)
  64860. channel1_1 = 0;
  64861. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  64862. if (channel1_2 == null)
  64863. channel1_2 = 0;
  64864. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  64865. if (channel2_0 == null)
  64866. channel2_0 = 0;
  64867. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  64868. if (channel2_1 == null)
  64869. channel2_1 = 0;
  64870. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  64871. if (channel2_2 == null)
  64872. channel2_2 = 0;
  64873. alpha1 = _this.alphaOrNull;
  64874. t2 = alpha1 == null;
  64875. if (t2) {
  64876. t3 = other.alphaOrNull;
  64877. alpha10 = t3 == null ? 0 : t3;
  64878. } else
  64879. alpha10 = alpha1;
  64880. alpha2 = other.alphaOrNull;
  64881. t3 = alpha2 == null;
  64882. if (t3)
  64883. alpha20 = t2 ? 0 : alpha1;
  64884. else
  64885. alpha20 = alpha2;
  64886. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  64887. t4 = t3 ? 1 : alpha2;
  64888. t5 = 1 - weight;
  64889. otherMultiplier = t4 * t5;
  64890. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  64891. if (missing1_0 && missing2_0)
  64892. mixed0 = _null;
  64893. else {
  64894. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64895. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  64896. }
  64897. if (missing1_1 && missing2_1)
  64898. mixed1 = _null;
  64899. else {
  64900. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64901. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  64902. }
  64903. if (missing1_2 && missing2_2)
  64904. mixed2 = _null;
  64905. else {
  64906. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  64907. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  64908. }
  64909. $label0$0: {
  64910. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  64911. if (missing1_0 && missing2_0)
  64912. t2 = _null;
  64913. else {
  64914. t2 = method.hue;
  64915. t2.toString;
  64916. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  64917. }
  64918. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  64919. t1 = t2;
  64920. break $label0$0;
  64921. }
  64922. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  64923. if (missing1_2 && missing2_2)
  64924. t2 = _null;
  64925. else {
  64926. t2 = method.hue;
  64927. t2.toString;
  64928. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  64929. }
  64930. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  64931. t1 = t2;
  64932. break $label0$0;
  64933. }
  64934. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  64935. break $label0$0;
  64936. }
  64937. return t1.toSpace$2$legacyMissing(_this._space, false);
  64938. },
  64939. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  64940. var originalChannel;
  64941. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  64942. return true;
  64943. if (original === output)
  64944. return false;
  64945. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  64946. if (originalChannel == null)
  64947. return false;
  64948. return original.isChannelMissing$1(originalChannel.name);
  64949. },
  64950. _interpolateHues$4(hue1, hue2, method, weight) {
  64951. var _0_0, _1_0;
  64952. $label1$1: {
  64953. if (B.HueInterpolationMethod_0 === method) {
  64954. $label0$0: {
  64955. _0_0 = hue2 - hue1;
  64956. if (_0_0 > 180) {
  64957. hue1 += 360;
  64958. break $label0$0;
  64959. }
  64960. if (_0_0 < -180)
  64961. hue2 += 360;
  64962. }
  64963. break $label1$1;
  64964. }
  64965. if (B.HueInterpolationMethod_1 === method) {
  64966. $label2$2: {
  64967. _1_0 = hue2 - hue1;
  64968. if (_1_0 > 0 && _1_0 < 180) {
  64969. hue2 += 360;
  64970. break $label2$2;
  64971. }
  64972. if (_1_0 > -180 && _1_0 <= 0)
  64973. hue1 += 360;
  64974. }
  64975. break $label1$1;
  64976. }
  64977. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  64978. hue2 += 360;
  64979. break $label1$1;
  64980. }
  64981. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  64982. hue1 += 360;
  64983. break $label1$1;
  64984. }
  64985. }
  64986. return hue1 * weight + hue2 * (1 - weight);
  64987. },
  64988. plus$1(other) {
  64989. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  64990. return this.super$Value$plus(other);
  64991. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64992. },
  64993. minus$1(other) {
  64994. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  64995. return this.super$Value$minus(other);
  64996. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64997. },
  64998. dividedBy$1(other) {
  64999. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65000. return this.super$Value$dividedBy(other);
  65001. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  65002. },
  65003. $eq(_, other) {
  65004. var t1, t2, _this = this;
  65005. if (other == null)
  65006. return false;
  65007. if (!(other instanceof A.SassColor))
  65008. return false;
  65009. t1 = _this._space;
  65010. if (t1.get$isLegacyInternal()) {
  65011. t2 = other._space;
  65012. if (!t2.get$isLegacyInternal())
  65013. return false;
  65014. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65015. return false;
  65016. if (t1 === t2)
  65017. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65018. else
  65019. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65020. }
  65021. 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);
  65022. },
  65023. get$hashCode(_) {
  65024. var rgb, t2, t3, t4, t5, _this = this,
  65025. t1 = _this._space;
  65026. if (t1.get$isLegacyInternal()) {
  65027. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65028. t1 = rgb.channel0OrNull;
  65029. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65030. t2 = rgb.channel1OrNull;
  65031. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65032. t3 = rgb.channel2OrNull;
  65033. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65034. t4 = _this.alphaOrNull;
  65035. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65036. } else {
  65037. t1 = A.Primitives_objectHashCode(t1);
  65038. t2 = _this.channel0OrNull;
  65039. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65040. t3 = _this.channel1OrNull;
  65041. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65042. t4 = _this.channel2OrNull;
  65043. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65044. t5 = _this.alphaOrNull;
  65045. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65046. }
  65047. }
  65048. };
  65049. A.SassColor$_forSpace_closure.prototype = {
  65050. call$1(alpha) {
  65051. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65052. },
  65053. $signature: 16
  65054. };
  65055. A._ColorFormatEnum.prototype = {
  65056. toString$0(_) {
  65057. return "rgbFunction";
  65058. }
  65059. };
  65060. A.SpanColorFormat.prototype = {};
  65061. A.ColorChannel.prototype = {
  65062. isAnalogous$1(other) {
  65063. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65064. _0_1 = this.name,
  65065. _0_6 = other.name;
  65066. $label0$0: {
  65067. if ("red" !== _0_1)
  65068. _0_6_isSet = "x" === _0_1;
  65069. else
  65070. _0_6_isSet = true;
  65071. if (_0_6_isSet) {
  65072. if ("red" !== _0_6)
  65073. t1 = "x" === _0_6;
  65074. else
  65075. t1 = true;
  65076. _0_60 = _0_6;
  65077. } else {
  65078. _0_60 = null;
  65079. t1 = false;
  65080. }
  65081. t2 = true;
  65082. if (!t1) {
  65083. if ("green" !== _0_1)
  65084. t1 = "y" === _0_1;
  65085. else
  65086. t1 = true;
  65087. if (t1) {
  65088. _0_6_isSet0 = true;
  65089. if (_0_6_isSet)
  65090. t1 = _0_60;
  65091. else {
  65092. t1 = _0_6;
  65093. _0_6_isSet = _0_6_isSet0;
  65094. _0_60 = t1;
  65095. }
  65096. if ("green" !== t1) {
  65097. if (_0_6_isSet)
  65098. t1 = _0_60;
  65099. else {
  65100. t1 = _0_6;
  65101. _0_6_isSet = _0_6_isSet0;
  65102. _0_60 = t1;
  65103. }
  65104. t1 = "y" === t1;
  65105. } else
  65106. t1 = true;
  65107. } else
  65108. t1 = false;
  65109. if (!t1) {
  65110. if ("blue" !== _0_1)
  65111. t1 = "z" === _0_1;
  65112. else
  65113. t1 = true;
  65114. if (t1) {
  65115. _0_6_isSet0 = true;
  65116. if (_0_6_isSet)
  65117. t1 = _0_60;
  65118. else {
  65119. t1 = _0_6;
  65120. _0_6_isSet = _0_6_isSet0;
  65121. _0_60 = t1;
  65122. }
  65123. if ("blue" !== t1) {
  65124. if (_0_6_isSet)
  65125. t1 = _0_60;
  65126. else {
  65127. t1 = _0_6;
  65128. _0_6_isSet = _0_6_isSet0;
  65129. _0_60 = t1;
  65130. }
  65131. t1 = "z" === t1;
  65132. } else
  65133. t1 = true;
  65134. } else
  65135. t1 = false;
  65136. if (!t1) {
  65137. if ("chroma" !== _0_1)
  65138. t1 = "saturation" === _0_1;
  65139. else
  65140. t1 = true;
  65141. if (t1) {
  65142. _0_6_isSet0 = true;
  65143. if (_0_6_isSet)
  65144. t1 = _0_60;
  65145. else {
  65146. t1 = _0_6;
  65147. _0_6_isSet = _0_6_isSet0;
  65148. _0_60 = t1;
  65149. }
  65150. if ("chroma" !== t1) {
  65151. if (_0_6_isSet)
  65152. t1 = _0_60;
  65153. else {
  65154. t1 = _0_6;
  65155. _0_6_isSet = _0_6_isSet0;
  65156. _0_60 = t1;
  65157. }
  65158. t1 = "saturation" === t1;
  65159. } else
  65160. t1 = true;
  65161. } else
  65162. t1 = false;
  65163. if (!t1) {
  65164. if ("lightness" === _0_1) {
  65165. if (_0_6_isSet)
  65166. t1 = _0_60;
  65167. else {
  65168. t1 = _0_6;
  65169. _0_60 = t1;
  65170. _0_6_isSet = true;
  65171. }
  65172. t1 = "lightness" === t1;
  65173. } else
  65174. t1 = false;
  65175. if (!t1)
  65176. if ("hue" === _0_1)
  65177. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65178. else
  65179. t1 = false;
  65180. else
  65181. t1 = t2;
  65182. } else
  65183. t1 = t2;
  65184. } else
  65185. t1 = t2;
  65186. } else
  65187. t1 = t2;
  65188. } else
  65189. t1 = t2;
  65190. if (t1)
  65191. break $label0$0;
  65192. break $label0$0;
  65193. }
  65194. return t1;
  65195. }
  65196. };
  65197. A.LinearChannel.prototype = {};
  65198. A.GamutMapMethod.prototype = {
  65199. toString$0(_) {
  65200. return this.name;
  65201. }
  65202. };
  65203. A.ClipGamutMap.prototype = {
  65204. map$1(_, color) {
  65205. var t1 = color._space,
  65206. t2 = t1._channels;
  65207. 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);
  65208. },
  65209. _clampChannel$2(value, channel) {
  65210. var t1, min;
  65211. if (value == null)
  65212. t1 = null;
  65213. else
  65214. $label0$0: {
  65215. if (channel instanceof A.LinearChannel) {
  65216. min = channel.min;
  65217. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65218. break $label0$0;
  65219. }
  65220. t1 = value;
  65221. break $label0$0;
  65222. }
  65223. return t1;
  65224. }
  65225. };
  65226. A.LocalMindeGamutMap.prototype = {
  65227. map$1(_, color) {
  65228. var clipped, max, min, minInGamut, chroma, current, e,
  65229. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65230. lightness = originOklch.channel0OrNull,
  65231. hue = originOklch.channel2OrNull,
  65232. alpha = originOklch.alphaOrNull,
  65233. t1 = lightness == null,
  65234. t2 = t1 ? 0 : lightness;
  65235. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65236. t1 = color._space;
  65237. t2 = color.alphaOrNull;
  65238. 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);
  65239. } else {
  65240. t1 = t1 ? 0 : lightness;
  65241. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65242. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65243. }
  65244. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65245. if (this._deltaEOK$2(clipped, color) < 0.02)
  65246. return clipped;
  65247. max = originOklch.channel1OrNull;
  65248. if (max == null)
  65249. max = 0;
  65250. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65251. chroma = (min + max) / 2;
  65252. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65253. if (minInGamut && current.get$isInGamut()) {
  65254. min = chroma;
  65255. continue;
  65256. }
  65257. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65258. e = this._deltaEOK$2(clipped, current);
  65259. if (e < 0.02) {
  65260. if (0.02 - e < 0.0001)
  65261. return clipped;
  65262. min = chroma;
  65263. minInGamut = false;
  65264. } else
  65265. max = chroma;
  65266. }
  65267. return clipped;
  65268. },
  65269. _deltaEOK$2(color1, color2) {
  65270. var t2, t3, t4,
  65271. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65272. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65273. t1 = lab1.channel0OrNull;
  65274. if (t1 == null)
  65275. t1 = 0;
  65276. t2 = lab2.channel0OrNull;
  65277. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65278. t2 = lab1.channel1OrNull;
  65279. if (t2 == null)
  65280. t2 = 0;
  65281. t3 = lab2.channel1OrNull;
  65282. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65283. t3 = lab1.channel2OrNull;
  65284. if (t3 == null)
  65285. t3 = 0;
  65286. t4 = lab2.channel2OrNull;
  65287. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65288. }
  65289. };
  65290. A.InterpolationMethod.prototype = {
  65291. toString$0(_) {
  65292. var t1 = this.hue;
  65293. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65294. return this.space.name + t1;
  65295. }
  65296. };
  65297. A.HueInterpolationMethod.prototype = {
  65298. _enumToString$0() {
  65299. return "HueInterpolationMethod." + this._name;
  65300. }
  65301. };
  65302. A.ColorSpace.prototype = {
  65303. get$isLegacyInternal() {
  65304. return false;
  65305. },
  65306. get$isPolarInternal() {
  65307. return false;
  65308. },
  65309. convert$5(dest, channel0, channel1, channel2, alpha) {
  65310. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65311. },
  65312. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65313. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65314. $label0$0: {
  65315. t1 = B.HslColorSpace_JQ2 !== dest;
  65316. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65317. t2 = B.SrgbColorSpace_thf;
  65318. break $label0$0;
  65319. }
  65320. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65321. t2 = B.XyzD50ColorSpace_2OB;
  65322. break $label0$0;
  65323. }
  65324. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65325. t2 = B.LmsColorSpace_Os3;
  65326. break $label0$0;
  65327. }
  65328. t2 = dest;
  65329. break $label0$0;
  65330. }
  65331. if (t2 === _this) {
  65332. transformedBlue = blue;
  65333. transformedGreen = green;
  65334. transformedRed = red;
  65335. } else {
  65336. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65337. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65338. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65339. matrix = _this.transformationMatrix$1(t2);
  65340. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65341. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65342. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65343. }
  65344. $label1$1: {
  65345. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65346. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65347. break $label1$1;
  65348. }
  65349. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65350. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65351. break $label1$1;
  65352. }
  65353. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65354. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65355. break $label1$1;
  65356. }
  65357. t1 = red == null ? null : transformedRed;
  65358. t2 = green == null ? null : transformedGreen;
  65359. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65360. break $label1$1;
  65361. }
  65362. return t1;
  65363. },
  65364. convertLinear$5(dest, red, green, blue, alpha) {
  65365. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65366. },
  65367. toLinear$1(channel) {
  65368. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65369. },
  65370. fromLinear$1(channel) {
  65371. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65372. },
  65373. transformationMatrix$1(dest) {
  65374. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65375. },
  65376. toString$0(_) {
  65377. return this.name;
  65378. }
  65379. };
  65380. A.A98RgbColorSpace.prototype = {
  65381. get$isBoundedInternal() {
  65382. return true;
  65383. },
  65384. toLinear$1(channel) {
  65385. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  65386. },
  65387. fromLinear$1(channel) {
  65388. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  65389. },
  65390. transformationMatrix$1(dest) {
  65391. var t1;
  65392. $label0$0: {
  65393. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65394. t1 = $.$get$linearA98RgbToLinearSrgb();
  65395. break $label0$0;
  65396. }
  65397. if (B.DisplayP3ColorSpace_MmT === dest) {
  65398. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  65399. break $label0$0;
  65400. }
  65401. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65402. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  65403. break $label0$0;
  65404. }
  65405. if (B.Rec2020ColorSpace_6oo === dest) {
  65406. t1 = $.$get$linearA98RgbToLinearRec2020();
  65407. break $label0$0;
  65408. }
  65409. if (B.XyzD65ColorSpace_WiJ === dest) {
  65410. t1 = $.$get$linearA98RgbToXyzD65();
  65411. break $label0$0;
  65412. }
  65413. if (B.XyzD50ColorSpace_2OB === dest) {
  65414. t1 = $.$get$linearA98RgbToXyzD50();
  65415. break $label0$0;
  65416. }
  65417. if (B.LmsColorSpace_Os3 === dest) {
  65418. t1 = $.$get$linearA98RgbToLms();
  65419. break $label0$0;
  65420. }
  65421. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65422. break $label0$0;
  65423. }
  65424. return t1;
  65425. }
  65426. };
  65427. A.DisplayP3ColorSpace.prototype = {
  65428. get$isBoundedInternal() {
  65429. return true;
  65430. },
  65431. toLinear$1(channel) {
  65432. return A.srgbAndDisplayP3ToLinear(channel);
  65433. },
  65434. fromLinear$1(channel) {
  65435. return A.srgbAndDisplayP3FromLinear(channel);
  65436. },
  65437. transformationMatrix$1(dest) {
  65438. var t1;
  65439. $label0$0: {
  65440. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65441. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  65442. break $label0$0;
  65443. }
  65444. if (B.A98RgbColorSpace_lf2 === dest) {
  65445. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  65446. break $label0$0;
  65447. }
  65448. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65449. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  65450. break $label0$0;
  65451. }
  65452. if (B.Rec2020ColorSpace_6oo === dest) {
  65453. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  65454. break $label0$0;
  65455. }
  65456. if (B.XyzD65ColorSpace_WiJ === dest) {
  65457. t1 = $.$get$linearDisplayP3ToXyzD65();
  65458. break $label0$0;
  65459. }
  65460. if (B.XyzD50ColorSpace_2OB === dest) {
  65461. t1 = $.$get$linearDisplayP3ToXyzD50();
  65462. break $label0$0;
  65463. }
  65464. if (B.LmsColorSpace_Os3 === dest) {
  65465. t1 = $.$get$linearDisplayP3ToLms();
  65466. break $label0$0;
  65467. }
  65468. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65469. break $label0$0;
  65470. }
  65471. return t1;
  65472. }
  65473. };
  65474. A.HslColorSpace.prototype = {
  65475. get$isBoundedInternal() {
  65476. return true;
  65477. },
  65478. get$isLegacyInternal() {
  65479. return true;
  65480. },
  65481. get$isPolarInternal() {
  65482. return true;
  65483. },
  65484. convert$5(dest, hue, saturation, lightness, alpha) {
  65485. var t1 = hue == null,
  65486. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  65487. t2 = saturation == null,
  65488. scaledSaturation = (t2 ? 0 : saturation) / 100,
  65489. t3 = lightness == null,
  65490. scaledLightness = (t3 ? 0 : lightness) / 100,
  65491. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  65492. m1 = scaledLightness * 2 - m2;
  65493. 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);
  65494. }
  65495. };
  65496. A.HwbColorSpace.prototype = {
  65497. get$isBoundedInternal() {
  65498. return true;
  65499. },
  65500. get$isLegacyInternal() {
  65501. return true;
  65502. },
  65503. get$isPolarInternal() {
  65504. return true;
  65505. },
  65506. convert$5(dest, hue, whiteness, blackness, alpha) {
  65507. var t3, t1 = {},
  65508. t2 = hue == null,
  65509. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  65510. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  65511. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  65512. sum = scaledWhiteness + scaledBlackness;
  65513. if (sum > 1) {
  65514. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  65515. scaledBlackness /= sum;
  65516. } else
  65517. t3 = scaledWhiteness;
  65518. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  65519. 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);
  65520. }
  65521. };
  65522. A.HwbColorSpace_convert_toRgb.prototype = {
  65523. call$1(hue) {
  65524. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  65525. },
  65526. $signature: 16
  65527. };
  65528. A.LabColorSpace.prototype = {
  65529. get$isBoundedInternal() {
  65530. return false;
  65531. },
  65532. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65533. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  65534. switch (dest) {
  65535. case B.LabColorSpace_2nT:
  65536. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  65537. t1 = a == null || powerlessAB ? null : a;
  65538. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  65539. case B.LchColorSpace_Bpv:
  65540. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  65541. default:
  65542. missingLightness = lightness == null;
  65543. if (missingLightness)
  65544. lightness = 0;
  65545. f1 = (lightness + 16) / 116;
  65546. t1 = a == null;
  65547. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  65548. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  65549. t4 = b == null;
  65550. 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);
  65551. }
  65552. },
  65553. convert$5(dest, lightness, a, b, alpha) {
  65554. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65555. },
  65556. _convertFToXorZ$1(component) {
  65557. var cubed = Math.pow(component, 3) + 0;
  65558. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  65559. }
  65560. };
  65561. A.LchColorSpace.prototype = {
  65562. get$isBoundedInternal() {
  65563. return false;
  65564. },
  65565. get$isPolarInternal() {
  65566. return true;
  65567. },
  65568. convert$5(dest, lightness, chroma, hue, alpha) {
  65569. var t1 = hue == null,
  65570. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65571. t2 = chroma == null,
  65572. t3 = t2 ? 0 : chroma,
  65573. t4 = Math.cos(hueRadians),
  65574. t5 = t2 ? 0 : chroma;
  65575. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65576. }
  65577. };
  65578. A.LmsColorSpace.prototype = {
  65579. get$isBoundedInternal() {
  65580. return false;
  65581. },
  65582. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65583. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  65584. switch (dest) {
  65585. case B.OklabColorSpace_540:
  65586. t1 = long == null ? 0 : long;
  65587. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65588. t1 = medium == null ? 0 : medium;
  65589. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65590. t1 = short == null ? 0 : short;
  65591. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65592. t1 = $.$get$lmsToOklab();
  65593. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65594. t2 = missingLightness ? _null : lightness;
  65595. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  65596. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  65597. case B.OklchColorSpace_9Gj:
  65598. t1 = long == null ? 0 : long;
  65599. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65600. t1 = medium == null ? 0 : medium;
  65601. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65602. t1 = short == null ? 0 : short;
  65603. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65604. if (missingLightness)
  65605. t1 = _null;
  65606. else {
  65607. t1 = $.$get$lmsToOklab();
  65608. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65609. }
  65610. t2 = $.$get$lmsToOklab();
  65611. 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);
  65612. default:
  65613. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65614. }
  65615. },
  65616. convert$5(dest, long, medium, short, alpha) {
  65617. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  65618. },
  65619. toLinear$1(channel) {
  65620. return channel;
  65621. },
  65622. fromLinear$1(channel) {
  65623. return channel;
  65624. },
  65625. transformationMatrix$1(dest) {
  65626. var t1;
  65627. $label0$0: {
  65628. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65629. t1 = $.$get$lmsToLinearSrgb();
  65630. break $label0$0;
  65631. }
  65632. if (B.A98RgbColorSpace_lf2 === dest) {
  65633. t1 = $.$get$lmsToLinearA98Rgb();
  65634. break $label0$0;
  65635. }
  65636. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65637. t1 = $.$get$lmsToLinearProphotoRgb();
  65638. break $label0$0;
  65639. }
  65640. if (B.DisplayP3ColorSpace_MmT === dest) {
  65641. t1 = $.$get$lmsToLinearDisplayP3();
  65642. break $label0$0;
  65643. }
  65644. if (B.Rec2020ColorSpace_6oo === dest) {
  65645. t1 = $.$get$lmsToLinearRec2020();
  65646. break $label0$0;
  65647. }
  65648. if (B.XyzD65ColorSpace_WiJ === dest) {
  65649. t1 = $.$get$lmsToXyzD65();
  65650. break $label0$0;
  65651. }
  65652. if (B.XyzD50ColorSpace_2OB === dest) {
  65653. t1 = $.$get$lmsToXyzD50();
  65654. break $label0$0;
  65655. }
  65656. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65657. break $label0$0;
  65658. }
  65659. return t1;
  65660. }
  65661. };
  65662. A.OklabColorSpace.prototype = {
  65663. get$isBoundedInternal() {
  65664. return false;
  65665. },
  65666. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65667. var missingLightness, missingA, missingB, t1;
  65668. if (dest === B.OklchColorSpace_9Gj)
  65669. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  65670. missingLightness = lightness == null;
  65671. missingA = a == null;
  65672. missingB = b == null;
  65673. if (missingLightness)
  65674. lightness = 0;
  65675. if (missingA)
  65676. a = 0;
  65677. if (missingB)
  65678. b = 0;
  65679. t1 = $.$get$oklabToLms();
  65680. 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);
  65681. },
  65682. convert$5(dest, lightness, a, b, alpha) {
  65683. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65684. }
  65685. };
  65686. A.OklchColorSpace.prototype = {
  65687. get$isBoundedInternal() {
  65688. return false;
  65689. },
  65690. get$isPolarInternal() {
  65691. return true;
  65692. },
  65693. convert$5(dest, lightness, chroma, hue, alpha) {
  65694. var t1 = hue == null,
  65695. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65696. t2 = chroma == null,
  65697. t3 = t2 ? 0 : chroma,
  65698. t4 = Math.cos(hueRadians),
  65699. t5 = t2 ? 0 : chroma;
  65700. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65701. }
  65702. };
  65703. A.ProphotoRgbColorSpace.prototype = {
  65704. get$isBoundedInternal() {
  65705. return true;
  65706. },
  65707. toLinear$1(channel) {
  65708. var abs = Math.abs(channel);
  65709. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  65710. },
  65711. fromLinear$1(channel) {
  65712. var abs = Math.abs(channel);
  65713. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  65714. },
  65715. transformationMatrix$1(dest) {
  65716. var t1;
  65717. $label0$0: {
  65718. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65719. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  65720. break $label0$0;
  65721. }
  65722. if (B.A98RgbColorSpace_lf2 === dest) {
  65723. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  65724. break $label0$0;
  65725. }
  65726. if (B.DisplayP3ColorSpace_MmT === dest) {
  65727. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  65728. break $label0$0;
  65729. }
  65730. if (B.Rec2020ColorSpace_6oo === dest) {
  65731. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  65732. break $label0$0;
  65733. }
  65734. if (B.XyzD65ColorSpace_WiJ === dest) {
  65735. t1 = $.$get$linearProphotoRgbToXyzD65();
  65736. break $label0$0;
  65737. }
  65738. if (B.XyzD50ColorSpace_2OB === dest) {
  65739. t1 = $.$get$linearProphotoRgbToXyzD50();
  65740. break $label0$0;
  65741. }
  65742. if (B.LmsColorSpace_Os3 === dest) {
  65743. t1 = $.$get$linearProphotoRgbToLms();
  65744. break $label0$0;
  65745. }
  65746. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65747. break $label0$0;
  65748. }
  65749. return t1;
  65750. }
  65751. };
  65752. A.Rec2020ColorSpace.prototype = {
  65753. get$isBoundedInternal() {
  65754. return true;
  65755. },
  65756. toLinear$1(channel) {
  65757. var abs = Math.abs(channel);
  65758. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  65759. },
  65760. fromLinear$1(channel) {
  65761. var abs = Math.abs(channel);
  65762. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  65763. },
  65764. transformationMatrix$1(dest) {
  65765. var t1;
  65766. $label0$0: {
  65767. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65768. t1 = $.$get$linearRec2020ToLinearSrgb();
  65769. break $label0$0;
  65770. }
  65771. if (B.A98RgbColorSpace_lf2 === dest) {
  65772. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  65773. break $label0$0;
  65774. }
  65775. if (B.DisplayP3ColorSpace_MmT === dest) {
  65776. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  65777. break $label0$0;
  65778. }
  65779. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65780. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  65781. break $label0$0;
  65782. }
  65783. if (B.XyzD65ColorSpace_WiJ === dest) {
  65784. t1 = $.$get$linearRec2020ToXyzD65();
  65785. break $label0$0;
  65786. }
  65787. if (B.XyzD50ColorSpace_2OB === dest) {
  65788. t1 = $.$get$linearRec2020ToXyzD50();
  65789. break $label0$0;
  65790. }
  65791. if (B.LmsColorSpace_Os3 === dest) {
  65792. t1 = $.$get$linearRec2020ToLms();
  65793. break $label0$0;
  65794. }
  65795. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65796. break $label0$0;
  65797. }
  65798. return t1;
  65799. }
  65800. };
  65801. A.RgbColorSpace.prototype = {
  65802. get$isBoundedInternal() {
  65803. return true;
  65804. },
  65805. get$isLegacyInternal() {
  65806. return true;
  65807. },
  65808. convert$5(dest, red, green, blue, alpha) {
  65809. var t1 = red == null ? null : red / 255,
  65810. t2 = green == null ? null : green / 255;
  65811. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  65812. },
  65813. toLinear$1(channel) {
  65814. return A.srgbAndDisplayP3ToLinear(channel / 255);
  65815. },
  65816. fromLinear$1(channel) {
  65817. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  65818. }
  65819. };
  65820. A.SrgbColorSpace.prototype = {
  65821. get$isBoundedInternal() {
  65822. return true;
  65823. },
  65824. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  65825. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  65826. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  65827. if (red == null)
  65828. red = 0;
  65829. if (green == null)
  65830. green = 0;
  65831. if (blue == null)
  65832. blue = 0;
  65833. max = Math.max(Math.max(red, green), blue);
  65834. min = Math.min(Math.min(red, green), blue);
  65835. delta = max - min;
  65836. if (max === min)
  65837. hue = 0;
  65838. else if (max === red)
  65839. hue = 60 * (green - blue) / delta + 360;
  65840. else
  65841. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  65842. if (dest === B.HslColorSpace_JQ2) {
  65843. lightness = (min + max) / 2;
  65844. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  65845. if (saturation < 0) {
  65846. hue += 180;
  65847. saturation = Math.abs(saturation);
  65848. }
  65849. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  65850. t2 = missingChroma ? _null : saturation;
  65851. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  65852. } else {
  65853. whiteness = min * 100;
  65854. blackness = 100 - max * 100;
  65855. if (!missingHue) {
  65856. t1 = whiteness + blackness;
  65857. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  65858. } else
  65859. t1 = true;
  65860. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  65861. }
  65862. }
  65863. if (B.RgbColorSpace_i0P === dest) {
  65864. t1 = red == null ? _null : red * 255;
  65865. t2 = green == null ? _null : green * 255;
  65866. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  65867. }
  65868. if (B.SrgbLinearColorSpace_kUj === dest) {
  65869. t1 = this.get$toLinear();
  65870. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  65871. }
  65872. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  65873. },
  65874. convert$5(dest, red, green, blue, alpha) {
  65875. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  65876. },
  65877. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  65878. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  65879. },
  65880. toLinear$1(channel) {
  65881. return A.srgbAndDisplayP3ToLinear(channel);
  65882. },
  65883. fromLinear$1(channel) {
  65884. return A.srgbAndDisplayP3FromLinear(channel);
  65885. },
  65886. transformationMatrix$1(dest) {
  65887. var t1;
  65888. $label0$0: {
  65889. if (B.DisplayP3ColorSpace_MmT === dest) {
  65890. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65891. break $label0$0;
  65892. }
  65893. if (B.A98RgbColorSpace_lf2 === dest) {
  65894. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65895. break $label0$0;
  65896. }
  65897. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65898. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65899. break $label0$0;
  65900. }
  65901. if (B.Rec2020ColorSpace_6oo === dest) {
  65902. t1 = $.$get$linearSrgbToLinearRec2020();
  65903. break $label0$0;
  65904. }
  65905. if (B.XyzD65ColorSpace_WiJ === dest) {
  65906. t1 = $.$get$linearSrgbToXyzD65();
  65907. break $label0$0;
  65908. }
  65909. if (B.XyzD50ColorSpace_2OB === dest) {
  65910. t1 = $.$get$linearSrgbToXyzD50();
  65911. break $label0$0;
  65912. }
  65913. if (B.LmsColorSpace_Os3 === dest) {
  65914. t1 = $.$get$linearSrgbToLms();
  65915. break $label0$0;
  65916. }
  65917. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65918. break $label0$0;
  65919. }
  65920. return t1;
  65921. }
  65922. };
  65923. A.SrgbLinearColorSpace.prototype = {
  65924. get$isBoundedInternal() {
  65925. return true;
  65926. },
  65927. convert$5(dest, red, green, blue, alpha) {
  65928. var t1;
  65929. $label0$0: {
  65930. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  65931. 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);
  65932. break $label0$0;
  65933. }
  65934. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  65935. break $label0$0;
  65936. }
  65937. return t1;
  65938. },
  65939. toLinear$1(channel) {
  65940. return channel;
  65941. },
  65942. fromLinear$1(channel) {
  65943. return channel;
  65944. },
  65945. transformationMatrix$1(dest) {
  65946. var t1;
  65947. $label0$0: {
  65948. if (B.DisplayP3ColorSpace_MmT === dest) {
  65949. t1 = $.$get$linearSrgbToLinearDisplayP3();
  65950. break $label0$0;
  65951. }
  65952. if (B.A98RgbColorSpace_lf2 === dest) {
  65953. t1 = $.$get$linearSrgbToLinearA98Rgb();
  65954. break $label0$0;
  65955. }
  65956. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65957. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  65958. break $label0$0;
  65959. }
  65960. if (B.Rec2020ColorSpace_6oo === dest) {
  65961. t1 = $.$get$linearSrgbToLinearRec2020();
  65962. break $label0$0;
  65963. }
  65964. if (B.XyzD65ColorSpace_WiJ === dest) {
  65965. t1 = $.$get$linearSrgbToXyzD65();
  65966. break $label0$0;
  65967. }
  65968. if (B.XyzD50ColorSpace_2OB === dest) {
  65969. t1 = $.$get$linearSrgbToXyzD50();
  65970. break $label0$0;
  65971. }
  65972. if (B.LmsColorSpace_Os3 === dest) {
  65973. t1 = $.$get$linearSrgbToLms();
  65974. break $label0$0;
  65975. }
  65976. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65977. break $label0$0;
  65978. }
  65979. return t1;
  65980. }
  65981. };
  65982. A.XyzD50ColorSpace.prototype = {
  65983. get$isBoundedInternal() {
  65984. return false;
  65985. },
  65986. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65987. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  65988. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65989. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  65990. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  65991. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  65992. lightness = missingLightness ? _null : 116 * f1 - 16;
  65993. a = 500 * (f0 - f1);
  65994. b = 200 * (f1 - f2);
  65995. if (dest === B.LabColorSpace_2nT) {
  65996. t1 = missingA ? _null : a;
  65997. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  65998. } else
  65999. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  66000. return t1;
  66001. }
  66002. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66003. },
  66004. convert$5(dest, x, y, z, alpha) {
  66005. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  66006. },
  66007. _convertComponentToLabF$1(component) {
  66008. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66009. },
  66010. toLinear$1(channel) {
  66011. return channel;
  66012. },
  66013. fromLinear$1(channel) {
  66014. return channel;
  66015. },
  66016. transformationMatrix$1(dest) {
  66017. var t1;
  66018. $label0$0: {
  66019. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66020. t1 = $.$get$xyzD50ToLinearSrgb();
  66021. break $label0$0;
  66022. }
  66023. if (B.A98RgbColorSpace_lf2 === dest) {
  66024. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66025. break $label0$0;
  66026. }
  66027. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66028. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66029. break $label0$0;
  66030. }
  66031. if (B.DisplayP3ColorSpace_MmT === dest) {
  66032. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66033. break $label0$0;
  66034. }
  66035. if (B.Rec2020ColorSpace_6oo === dest) {
  66036. t1 = $.$get$xyzD50ToLinearRec2020();
  66037. break $label0$0;
  66038. }
  66039. if (B.XyzD65ColorSpace_WiJ === dest) {
  66040. t1 = $.$get$xyzD50ToXyzD65();
  66041. break $label0$0;
  66042. }
  66043. if (B.LmsColorSpace_Os3 === dest) {
  66044. t1 = $.$get$xyzD50ToLms();
  66045. break $label0$0;
  66046. }
  66047. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66048. break $label0$0;
  66049. }
  66050. return t1;
  66051. }
  66052. };
  66053. A.XyzD65ColorSpace.prototype = {
  66054. get$isBoundedInternal() {
  66055. return false;
  66056. },
  66057. toLinear$1(channel) {
  66058. return channel;
  66059. },
  66060. fromLinear$1(channel) {
  66061. return channel;
  66062. },
  66063. transformationMatrix$1(dest) {
  66064. var t1;
  66065. $label0$0: {
  66066. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66067. t1 = $.$get$xyzD65ToLinearSrgb();
  66068. break $label0$0;
  66069. }
  66070. if (B.A98RgbColorSpace_lf2 === dest) {
  66071. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66072. break $label0$0;
  66073. }
  66074. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66075. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66076. break $label0$0;
  66077. }
  66078. if (B.DisplayP3ColorSpace_MmT === dest) {
  66079. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66080. break $label0$0;
  66081. }
  66082. if (B.Rec2020ColorSpace_6oo === dest) {
  66083. t1 = $.$get$xyzD65ToLinearRec2020();
  66084. break $label0$0;
  66085. }
  66086. if (B.XyzD50ColorSpace_2OB === dest) {
  66087. t1 = $.$get$xyzD65ToXyzD50();
  66088. break $label0$0;
  66089. }
  66090. if (B.LmsColorSpace_Os3 === dest) {
  66091. t1 = $.$get$xyzD65ToLms();
  66092. break $label0$0;
  66093. }
  66094. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66095. break $label0$0;
  66096. }
  66097. return t1;
  66098. }
  66099. };
  66100. A.SassFunction.prototype = {
  66101. accept$1$1(visitor) {
  66102. var t1, t2;
  66103. if (!visitor._inspect)
  66104. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66105. t1 = visitor._serialize$_buffer;
  66106. t1.write$1(0, "get-function(");
  66107. t2 = this.callable;
  66108. visitor._visitQuotedString$1(t2.get$name(t2));
  66109. t1.writeCharCode$1(41);
  66110. return null;
  66111. },
  66112. accept$1(visitor) {
  66113. return this.accept$1$1(visitor, type$.dynamic);
  66114. },
  66115. assertFunction$1($name) {
  66116. return this;
  66117. },
  66118. $eq(_, other) {
  66119. if (other == null)
  66120. return false;
  66121. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66122. },
  66123. get$hashCode(_) {
  66124. var t1 = this.callable;
  66125. return t1.get$hashCode(t1);
  66126. }
  66127. };
  66128. A.SassList.prototype = {
  66129. get$separator(_) {
  66130. return this._separator;
  66131. },
  66132. get$hasBrackets() {
  66133. return this._hasBrackets;
  66134. },
  66135. get$isBlank() {
  66136. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66137. },
  66138. get$asList() {
  66139. return this._list$_contents;
  66140. },
  66141. get$lengthAsList() {
  66142. return this._list$_contents.length;
  66143. },
  66144. SassList$3$brackets(contents, _separator, brackets) {
  66145. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  66146. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66147. },
  66148. toString$0(_) {
  66149. var t2, _this = this,
  66150. t1 = true;
  66151. if (!_this._hasBrackets) {
  66152. t2 = _this._list$_contents.length;
  66153. if (t2 !== 0)
  66154. t1 = t2 === 1 && _this._separator === B.ListSeparator_qVN;
  66155. }
  66156. if (t1)
  66157. return _this.super$Value$toString(0);
  66158. return "(" + _this.super$Value$toString(0) + ")";
  66159. },
  66160. accept$1$1(visitor) {
  66161. return visitor.visitList$1(this);
  66162. },
  66163. accept$1(visitor) {
  66164. return this.accept$1$1(visitor, type$.dynamic);
  66165. },
  66166. assertMap$1($name) {
  66167. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66168. },
  66169. tryMap$0() {
  66170. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66171. },
  66172. $eq(_, other) {
  66173. var t1, _this = this;
  66174. if (other == null)
  66175. return false;
  66176. 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)))
  66177. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66178. else
  66179. t1 = true;
  66180. return t1;
  66181. },
  66182. get$hashCode(_) {
  66183. return B.C_ListEquality0.hash$1(this._list$_contents);
  66184. }
  66185. };
  66186. A.SassList_isBlank_closure.prototype = {
  66187. call$1(element) {
  66188. return element.get$isBlank();
  66189. },
  66190. $signature: 70
  66191. };
  66192. A.ListSeparator.prototype = {
  66193. _enumToString$0() {
  66194. return "ListSeparator." + this._name;
  66195. },
  66196. toString$0(_) {
  66197. return this._list$_name;
  66198. }
  66199. };
  66200. A.SassMap.prototype = {
  66201. get$separator(_) {
  66202. var t1 = this._map$_contents;
  66203. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_qVN;
  66204. },
  66205. get$asList() {
  66206. var t3, t4, t5, result,
  66207. t1 = type$.JSArray_Value,
  66208. t2 = A._setArrayType([], t1);
  66209. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66210. t5 = t4.get$current(t4);
  66211. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66212. result.$flags = 3;
  66213. t2.push(new A.SassList(result, B.ListSeparator_qSL, false));
  66214. }
  66215. return t2;
  66216. },
  66217. get$lengthAsList() {
  66218. var t1 = this._map$_contents;
  66219. return t1.get$length(t1);
  66220. },
  66221. accept$1$1(visitor) {
  66222. return visitor.visitMap$1(this);
  66223. },
  66224. accept$1(visitor) {
  66225. return this.accept$1$1(visitor, type$.dynamic);
  66226. },
  66227. assertMap$1($name) {
  66228. return this;
  66229. },
  66230. tryMap$0() {
  66231. return this;
  66232. },
  66233. $eq(_, other) {
  66234. var t1;
  66235. if (other == null)
  66236. return false;
  66237. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66238. t1 = this._map$_contents;
  66239. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66240. } else
  66241. t1 = true;
  66242. return t1;
  66243. },
  66244. get$hashCode(_) {
  66245. var t1 = this._map$_contents;
  66246. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66247. }
  66248. };
  66249. A.SassMixin.prototype = {
  66250. accept$1$1(visitor) {
  66251. var t1, t2;
  66252. if (!visitor._inspect)
  66253. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66254. t1 = visitor._serialize$_buffer;
  66255. t1.write$1(0, "get-mixin(");
  66256. t2 = this.callable;
  66257. visitor._visitQuotedString$1(t2.get$name(t2));
  66258. t1.writeCharCode$1(41);
  66259. return null;
  66260. },
  66261. accept$1(visitor) {
  66262. return this.accept$1$1(visitor, type$.dynamic);
  66263. },
  66264. assertMixin$1($name) {
  66265. return this;
  66266. },
  66267. $eq(_, other) {
  66268. if (other == null)
  66269. return false;
  66270. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66271. },
  66272. get$hashCode(_) {
  66273. var t1 = this.callable;
  66274. return t1.get$hashCode(t1);
  66275. }
  66276. };
  66277. A._SassNull.prototype = {
  66278. get$isTruthy() {
  66279. return false;
  66280. },
  66281. get$isBlank() {
  66282. return true;
  66283. },
  66284. get$realNull() {
  66285. return null;
  66286. },
  66287. accept$1$1(visitor) {
  66288. if (visitor._inspect)
  66289. visitor._serialize$_buffer.write$1(0, "null");
  66290. return null;
  66291. },
  66292. accept$1(visitor) {
  66293. return this.accept$1$1(visitor, type$.dynamic);
  66294. },
  66295. unaryNot$0() {
  66296. return B.SassBoolean_true;
  66297. }
  66298. };
  66299. A.SassNumber.prototype = {
  66300. get$unitString() {
  66301. var _this = this;
  66302. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66303. },
  66304. accept$1$1(visitor) {
  66305. return visitor.visitNumber$1(this);
  66306. },
  66307. accept$1(visitor) {
  66308. return this.accept$1$1(visitor, type$.dynamic);
  66309. },
  66310. withoutSlash$0() {
  66311. var _this = this;
  66312. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66313. },
  66314. assertNumber$1($name) {
  66315. return this;
  66316. },
  66317. assertNumber$0() {
  66318. return this.assertNumber$1(null);
  66319. },
  66320. assertInt$1($name) {
  66321. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66322. if (_0_0 != null)
  66323. return _0_0;
  66324. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66325. },
  66326. assertInt$0() {
  66327. return this.assertInt$1(null);
  66328. },
  66329. valueInRange$3(min, max, $name) {
  66330. var _this = this,
  66331. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66332. if (_0_0 != null)
  66333. return _0_0;
  66334. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66335. },
  66336. valueInRangeWithUnit$4(min, max, $name, unit) {
  66337. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66338. if (_0_0 != null)
  66339. return _0_0;
  66340. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66341. },
  66342. hasCompatibleUnits$1(other) {
  66343. var _this = this;
  66344. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66345. return false;
  66346. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66347. return false;
  66348. return _this.isComparableTo$1(other);
  66349. },
  66350. assertUnit$2(unit, $name) {
  66351. if (this.hasUnit$1(unit))
  66352. return;
  66353. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66354. },
  66355. assertNoUnits$1($name) {
  66356. if (!this.get$hasUnits())
  66357. return;
  66358. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66359. },
  66360. assertNoUnits$0() {
  66361. return this.assertNoUnits$1(null);
  66362. },
  66363. convertValueToMatch$3(other, $name, otherName) {
  66364. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66365. },
  66366. convertValueToMatch$1(other) {
  66367. return this.convertValueToMatch$3(other, null, null);
  66368. },
  66369. coerce$3(newNumerators, newDenominators, $name) {
  66370. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  66371. },
  66372. coerce$2(newNumerators, newDenominators) {
  66373. return this.coerce$3(newNumerators, newDenominators, null);
  66374. },
  66375. coerceValue$3(newNumerators, newDenominators, $name) {
  66376. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  66377. },
  66378. coerceValueToUnit$2(unit, $name) {
  66379. var t1 = type$.JSArray_String;
  66380. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  66381. },
  66382. coerceValueToUnit$1(unit) {
  66383. return this.coerceValueToUnit$2(unit, null);
  66384. },
  66385. coerceToMatch$3(other, $name, otherName) {
  66386. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  66387. t2 = other.get$numeratorUnits(other);
  66388. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  66389. },
  66390. coerceValueToMatch$3(other, $name, otherName) {
  66391. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  66392. },
  66393. coerceValueToMatch$1(other) {
  66394. return this.coerceValueToMatch$3(other, null, null);
  66395. },
  66396. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  66397. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  66398. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  66399. return _this._number$_value;
  66400. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  66401. if (coerceUnitless)
  66402. t1 = !_this.get$hasUnits() || !otherHasUnits;
  66403. else
  66404. t1 = false;
  66405. if (t1)
  66406. return _this._number$_value;
  66407. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  66408. _box_0.value = _this._number$_value;
  66409. t1 = _this.get$numeratorUnits(_this);
  66410. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66411. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  66412. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  66413. t1 = _this.get$denominatorUnits(_this);
  66414. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66415. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  66416. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  66417. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  66418. throw A.wrapException(compatibilityException.call$0());
  66419. return _box_0.value;
  66420. },
  66421. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  66422. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  66423. },
  66424. isComparableTo$1(other) {
  66425. var exception;
  66426. if (!this.get$hasUnits() || !other.get$hasUnits())
  66427. return true;
  66428. try {
  66429. this.greaterThan$1(other);
  66430. return true;
  66431. } catch (exception) {
  66432. if (A.unwrapException(exception) instanceof A.SassScriptException)
  66433. return false;
  66434. else
  66435. throw exception;
  66436. }
  66437. },
  66438. greaterThan$1(other) {
  66439. if (other instanceof A.SassNumber)
  66440. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66441. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  66442. },
  66443. greaterThanOrEquals$1(other) {
  66444. if (other instanceof A.SassNumber)
  66445. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66446. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  66447. },
  66448. lessThan$1(other) {
  66449. if (other instanceof A.SassNumber)
  66450. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66451. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  66452. },
  66453. lessThanOrEquals$1(other) {
  66454. if (other instanceof A.SassNumber)
  66455. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66456. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  66457. },
  66458. modulo$1(other) {
  66459. if (other instanceof A.SassNumber)
  66460. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  66461. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  66462. },
  66463. plus$1(other) {
  66464. var _this = this;
  66465. if (other instanceof A.SassNumber)
  66466. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  66467. if (!(other instanceof A.SassColor))
  66468. return _this.super$Value$plus(other);
  66469. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  66470. },
  66471. minus$1(other) {
  66472. var _this = this;
  66473. if (other instanceof A.SassNumber)
  66474. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  66475. if (!(other instanceof A.SassColor))
  66476. return _this.super$Value$minus(other);
  66477. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  66478. },
  66479. times$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$numeratorUnits(other), other.get$denominatorUnits(other));
  66485. }
  66486. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  66487. },
  66488. dividedBy$1(other) {
  66489. var _this = this;
  66490. if (other instanceof A.SassNumber) {
  66491. if (!other.get$hasUnits())
  66492. return _this.withValue$1(_this._number$_value / other._number$_value);
  66493. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  66494. }
  66495. return _this.super$Value$dividedBy(other);
  66496. },
  66497. unaryPlus$0() {
  66498. return this;
  66499. },
  66500. _coerceUnits$1$2(other, operation) {
  66501. var t1, exception;
  66502. try {
  66503. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  66504. return t1;
  66505. } catch (exception) {
  66506. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  66507. this.coerceValueToMatch$1(other);
  66508. throw exception;
  66509. } else
  66510. throw exception;
  66511. }
  66512. },
  66513. _coerceUnits$2(other, operation) {
  66514. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  66515. },
  66516. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  66517. 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 = {};
  66518. _box_0.value = value;
  66519. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  66520. _0_1 = t1[0];
  66521. _0_6 = _null;
  66522. _0_3 = _null;
  66523. _0_9 = _null;
  66524. _0_9_isSet = false;
  66525. _0_7 = _null;
  66526. _0_7_isSet = false;
  66527. t2 = false;
  66528. _0_2 = t1[1];
  66529. _0_3 = t1[2];
  66530. _0_6 = _0_3.length <= 0;
  66531. _0_7_isSet = _0_6;
  66532. if (_0_7_isSet) {
  66533. _0_7 = t1[3];
  66534. _0_9 = _0_7.length <= 0;
  66535. t2 = _0_9;
  66536. }
  66537. _0_9_isSet = _0_7_isSet;
  66538. denominators_case_0 = _0_2;
  66539. _0_11_isSet = !t2;
  66540. _0_11 = _null;
  66541. _0_13 = _null;
  66542. if (_0_11_isSet) {
  66543. _0_11 = _0_1.length <= 0;
  66544. _0_13_isSet = _0_11;
  66545. _0_10 = _0_1;
  66546. if (_0_13_isSet) {
  66547. _0_13 = _0_2.length <= 0;
  66548. t2 = _0_13;
  66549. if (t2) {
  66550. if (_0_7_isSet)
  66551. denominators_case_0 = _0_7;
  66552. else {
  66553. _0_7 = t1[3];
  66554. denominators_case_0 = _0_7;
  66555. _0_7_isSet = true;
  66556. }
  66557. numerators_case_0 = _0_3;
  66558. } else
  66559. numerators_case_0 = _0_1;
  66560. } else {
  66561. numerators_case_0 = _0_1;
  66562. t2 = false;
  66563. }
  66564. _0_1 = _0_10;
  66565. } else {
  66566. numerators_case_0 = _0_1;
  66567. _0_13_isSet = false;
  66568. t2 = true;
  66569. }
  66570. if (t2) {
  66571. t4 = denominators_case_0;
  66572. t3 = numerators_case_0;
  66573. } else {
  66574. t4 = _null;
  66575. t3 = t4;
  66576. }
  66577. if (!t2) {
  66578. t2 = _null;
  66579. t5 = _null;
  66580. if (_0_11_isSet)
  66581. t6 = _0_11;
  66582. else {
  66583. _0_11 = _0_1.length <= 0;
  66584. t6 = _0_11;
  66585. }
  66586. t7 = false;
  66587. if (t6) {
  66588. if (_0_9_isSet)
  66589. t2 = _0_9;
  66590. else {
  66591. if (_0_7_isSet)
  66592. t2 = _0_7;
  66593. else {
  66594. _0_7 = t1[3];
  66595. t2 = _0_7;
  66596. _0_7_isSet = true;
  66597. }
  66598. _0_9 = t2.length <= 0;
  66599. t2 = _0_9;
  66600. }
  66601. numerators_case_1 = _0_3;
  66602. denominators_case_1 = _0_2;
  66603. } else {
  66604. numerators_case_1 = t2;
  66605. t2 = t7;
  66606. denominators_case_1 = t5;
  66607. }
  66608. if (!t2) {
  66609. t2 = false;
  66610. if (_0_13_isSet)
  66611. t5 = _0_13;
  66612. else {
  66613. _0_13 = _0_2.length <= 0;
  66614. t5 = _0_13;
  66615. }
  66616. if (t5) {
  66617. if (_0_6)
  66618. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  66619. t1 = _0_6;
  66620. } else
  66621. t1 = t2;
  66622. numerators_case_1 = _0_1;
  66623. } else
  66624. t1 = true;
  66625. if (t1) {
  66626. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  66627. if (t1) {
  66628. t3 = denominators_case_1;
  66629. t2 = numerators_case_1;
  66630. } else {
  66631. t2 = t3;
  66632. t3 = t4;
  66633. }
  66634. t0 = t3;
  66635. t3 = t1;
  66636. t1 = t2;
  66637. t2 = t0;
  66638. } else {
  66639. t2 = t4;
  66640. t1 = t3;
  66641. t3 = false;
  66642. }
  66643. } else {
  66644. t2 = t4;
  66645. t1 = t3;
  66646. t3 = true;
  66647. }
  66648. if (t3)
  66649. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  66650. newNumerators = A._setArrayType([], type$.JSArray_String);
  66651. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  66652. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  66653. numerator = t1[_i];
  66654. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  66655. }
  66656. t1 = _this.get$denominatorUnits(_this);
  66657. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66658. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  66659. numerator = otherNumerators[_i];
  66660. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  66661. }
  66662. t1 = _box_0.value;
  66663. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  66664. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  66665. },
  66666. _areAnyConvertible$2(units1, units2) {
  66667. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  66668. },
  66669. _unitString$2(numerators, denominators) {
  66670. var _0_4, _0_7, _0_6, _0_5, t1, _0_9, _0_6_isSet, _0_5_isSet, _0_10, denominator, _null = null;
  66671. $label0$0: {
  66672. _0_4 = numerators.length <= 0;
  66673. _0_7 = _null;
  66674. _0_6 = _null;
  66675. _0_5 = _null;
  66676. if (_0_4) {
  66677. _0_6 = denominators.length;
  66678. t1 = _0_6;
  66679. _0_7 = t1 <= 0;
  66680. t1 = _0_7;
  66681. _0_5 = denominators;
  66682. } else
  66683. t1 = false;
  66684. if (t1) {
  66685. t1 = "no units";
  66686. break $label0$0;
  66687. }
  66688. _0_9 = _null;
  66689. if (_0_4) {
  66690. _0_9 = _0_6 === 1;
  66691. t1 = _0_9;
  66692. _0_6_isSet = true;
  66693. _0_5_isSet = true;
  66694. } else {
  66695. _0_5_isSet = _0_4;
  66696. _0_6_isSet = _0_5_isSet;
  66697. t1 = false;
  66698. }
  66699. if (t1) {
  66700. _0_10 = (_0_5_isSet ? _0_5 : denominators)[0];
  66701. denominator = _0_10;
  66702. t1 = denominator + "^-1";
  66703. break $label0$0;
  66704. }
  66705. if (_0_4) {
  66706. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  66707. break $label0$0;
  66708. }
  66709. if (_0_6_isSet)
  66710. t1 = _0_6;
  66711. else {
  66712. if (_0_5_isSet)
  66713. t1 = _0_5;
  66714. else {
  66715. t1 = denominators;
  66716. _0_5 = t1;
  66717. _0_5_isSet = true;
  66718. }
  66719. _0_6 = t1.length;
  66720. t1 = _0_6;
  66721. _0_6_isSet = true;
  66722. }
  66723. _0_7 = t1 <= 0;
  66724. t1 = _0_7;
  66725. if (t1) {
  66726. t1 = B.JSArray_methods.join$1(numerators, "*");
  66727. break $label0$0;
  66728. }
  66729. if (_0_6_isSet)
  66730. t1 = _0_6;
  66731. else {
  66732. if (_0_5_isSet)
  66733. t1 = _0_5;
  66734. else {
  66735. t1 = denominators;
  66736. _0_5 = t1;
  66737. _0_5_isSet = true;
  66738. }
  66739. _0_6 = t1.length;
  66740. t1 = _0_6;
  66741. }
  66742. _0_9 = t1 === 1;
  66743. t1 = _0_9;
  66744. if (t1) {
  66745. _0_10 = (_0_5_isSet ? _0_5 : denominators)[0];
  66746. denominator = _0_10;
  66747. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  66748. break $label0$0;
  66749. }
  66750. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  66751. break $label0$0;
  66752. }
  66753. return t1;
  66754. },
  66755. $eq(_, other) {
  66756. var _this = this;
  66757. if (other == null)
  66758. return false;
  66759. if (!(other instanceof A.SassNumber))
  66760. return false;
  66761. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66762. return false;
  66763. if (!_this.get$hasUnits())
  66764. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  66765. 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))))
  66766. return false;
  66767. 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)));
  66768. },
  66769. get$hashCode(_) {
  66770. var _this = this,
  66771. t1 = _this.hashCache;
  66772. 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;
  66773. },
  66774. _canonicalizeUnitList$1(units) {
  66775. var type,
  66776. t1 = units.length;
  66777. if (t1 === 0)
  66778. return units;
  66779. if (t1 === 1) {
  66780. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  66781. if (type == null)
  66782. t1 = units;
  66783. else {
  66784. t1 = B.Map_Sr65K.$index(0, type);
  66785. t1.toString;
  66786. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  66787. }
  66788. return t1;
  66789. }
  66790. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  66791. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  66792. B.JSArray_methods.sort$0(t1);
  66793. return t1;
  66794. },
  66795. _canonicalMultiplier$1(units) {
  66796. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  66797. },
  66798. canonicalMultiplierForUnit$1(unit) {
  66799. var t1,
  66800. innerMap = B.Map_NtHoP.$index(0, unit);
  66801. if (innerMap == null)
  66802. t1 = 1;
  66803. else {
  66804. t1 = innerMap.get$values(innerMap);
  66805. t1 = 1 / t1.get$first(t1);
  66806. }
  66807. return t1;
  66808. },
  66809. unitSuggestion$2($name, unit) {
  66810. var t2, t3, result, _this = this,
  66811. t1 = _this.get$denominatorUnits(_this);
  66812. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66813. t2 = _this.get$numeratorUnits(_this);
  66814. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66815. t3 = unit == null ? "" : " * 1" + unit;
  66816. result = "$" + $name + t1 + t2 + t3;
  66817. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  66818. },
  66819. unitSuggestion$1($name) {
  66820. return this.unitSuggestion$2($name, null);
  66821. }
  66822. };
  66823. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  66824. call$0() {
  66825. var t2, t3, message, t4, type, unit, _this = this,
  66826. t1 = _this.other;
  66827. if (t1 != null) {
  66828. t2 = _this.$this;
  66829. t3 = t2.toString$0(0) + " and";
  66830. message = new A.StringBuffer(t3);
  66831. t4 = _this.otherName;
  66832. if (t4 != null)
  66833. t3 = message._contents = t3 + (" $" + t4 + ":");
  66834. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  66835. message._contents = t1;
  66836. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  66837. message._contents = t1 + " (one has units and the other doesn't)";
  66838. t1 = message.toString$0(0) + ".";
  66839. t2 = _this.name;
  66840. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66841. } else if (!_this.otherHasUnits) {
  66842. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  66843. t2 = _this.name;
  66844. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66845. } else {
  66846. t1 = _this.newNumerators;
  66847. if (t1.length === 1 && _this.newDenominators.length === 0) {
  66848. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  66849. if (type != null) {
  66850. t1 = _this.$this.toString$0(0);
  66851. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  66852. t3 = B.Map_Sr65K.$index(0, type);
  66853. t3.toString;
  66854. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  66855. t2 = _this.name;
  66856. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  66857. }
  66858. }
  66859. t2 = _this.newDenominators;
  66860. unit = A.pluralize("unit", t1.length + t2.length, null);
  66861. t3 = _this.$this;
  66862. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  66863. t1 = _this.name;
  66864. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  66865. }
  66866. },
  66867. $signature: 340
  66868. };
  66869. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  66870. call$1(oldNumerator) {
  66871. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  66872. if (factor == null)
  66873. return false;
  66874. this._box_0.value *= factor;
  66875. return true;
  66876. },
  66877. $signature: 5
  66878. };
  66879. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  66880. call$0() {
  66881. return A.throwExpression(this.compatibilityException.call$0());
  66882. },
  66883. $signature: 0
  66884. };
  66885. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  66886. call$1(oldDenominator) {
  66887. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  66888. if (factor == null)
  66889. return false;
  66890. this._box_0.value /= factor;
  66891. return true;
  66892. },
  66893. $signature: 5
  66894. };
  66895. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  66896. call$0() {
  66897. return A.throwExpression(this.compatibilityException.call$0());
  66898. },
  66899. $signature: 0
  66900. };
  66901. A.SassNumber_plus_closure.prototype = {
  66902. call$2(num1, num2) {
  66903. return num1 + num2;
  66904. },
  66905. $signature: 63
  66906. };
  66907. A.SassNumber_minus_closure.prototype = {
  66908. call$2(num1, num2) {
  66909. return num1 - num2;
  66910. },
  66911. $signature: 63
  66912. };
  66913. A.SassNumber_multiplyUnits_closure.prototype = {
  66914. call$1(denominator) {
  66915. var factor = A.conversionFactor(this.numerator, denominator);
  66916. if (factor == null)
  66917. return false;
  66918. this._box_0.value /= factor;
  66919. return true;
  66920. },
  66921. $signature: 5
  66922. };
  66923. A.SassNumber_multiplyUnits_closure0.prototype = {
  66924. call$0() {
  66925. return this.newNumerators.push(this.numerator);
  66926. },
  66927. $signature: 0
  66928. };
  66929. A.SassNumber_multiplyUnits_closure1.prototype = {
  66930. call$1(denominator) {
  66931. var factor = A.conversionFactor(this.numerator, denominator);
  66932. if (factor == null)
  66933. return false;
  66934. this._box_0.value /= factor;
  66935. return true;
  66936. },
  66937. $signature: 5
  66938. };
  66939. A.SassNumber_multiplyUnits_closure2.prototype = {
  66940. call$0() {
  66941. return this.newNumerators.push(this.numerator);
  66942. },
  66943. $signature: 0
  66944. };
  66945. A.SassNumber__areAnyConvertible_closure.prototype = {
  66946. call$1(unit1) {
  66947. var t1,
  66948. _0_0 = B.Map_NtHoP.$index(0, unit1);
  66949. $label0$0: {
  66950. if (_0_0 != null) {
  66951. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  66952. break $label0$0;
  66953. }
  66954. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  66955. break $label0$0;
  66956. }
  66957. return t1;
  66958. },
  66959. $signature: 5
  66960. };
  66961. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  66962. call$1(unit) {
  66963. var t1,
  66964. type = $.$get$_typesByUnit().$index(0, unit);
  66965. if (type == null)
  66966. t1 = unit;
  66967. else {
  66968. t1 = B.Map_Sr65K.$index(0, type);
  66969. t1.toString;
  66970. t1 = B.JSArray_methods.get$first(t1);
  66971. }
  66972. return t1;
  66973. },
  66974. $signature: 6
  66975. };
  66976. A.SassNumber__canonicalMultiplier_closure.prototype = {
  66977. call$2(multiplier, unit) {
  66978. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  66979. },
  66980. $signature: 209
  66981. };
  66982. A.SassNumber_unitSuggestion_closure.prototype = {
  66983. call$1(unit) {
  66984. return " * 1" + unit;
  66985. },
  66986. $signature: 6
  66987. };
  66988. A.SassNumber_unitSuggestion_closure0.prototype = {
  66989. call$1(unit) {
  66990. return " / 1" + unit;
  66991. },
  66992. $signature: 6
  66993. };
  66994. A.ComplexSassNumber.prototype = {
  66995. get$numeratorUnits(_) {
  66996. return this._numeratorUnits;
  66997. },
  66998. get$denominatorUnits(_) {
  66999. return this._denominatorUnits;
  67000. },
  67001. get$hasUnits() {
  67002. return true;
  67003. },
  67004. get$hasComplexUnits() {
  67005. return true;
  67006. },
  67007. hasUnit$1(unit) {
  67008. return false;
  67009. },
  67010. compatibleWithUnit$1(unit) {
  67011. return false;
  67012. },
  67013. hasPossiblyCompatibleUnits$1(other) {
  67014. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67015. },
  67016. withValue$1(value) {
  67017. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67018. },
  67019. withSlash$2(numerator, denominator) {
  67020. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67021. }
  67022. };
  67023. A.SingleUnitSassNumber.prototype = {
  67024. get$numeratorUnits(_) {
  67025. return A.List_List$unmodifiable([this._unit], type$.String);
  67026. },
  67027. get$denominatorUnits(_) {
  67028. return B.List_empty;
  67029. },
  67030. get$hasUnits() {
  67031. return true;
  67032. },
  67033. get$hasComplexUnits() {
  67034. return false;
  67035. },
  67036. withValue$1(value) {
  67037. return new A.SingleUnitSassNumber(this._unit, value, null);
  67038. },
  67039. withSlash$2(numerator, denominator) {
  67040. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67041. },
  67042. hasUnit$1(unit) {
  67043. return unit === this._unit;
  67044. },
  67045. hasCompatibleUnits$1(other) {
  67046. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67047. },
  67048. hasPossiblyCompatibleUnits$1(other) {
  67049. var t1, knownCompatibilities, otherUnit;
  67050. if (!(other instanceof A.SingleUnitSassNumber))
  67051. return false;
  67052. t1 = $.$get$_knownCompatibilitiesByUnit();
  67053. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67054. if (knownCompatibilities == null)
  67055. return true;
  67056. otherUnit = other._unit.toLowerCase();
  67057. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67058. },
  67059. compatibleWithUnit$1(unit) {
  67060. return A.conversionFactor(this._unit, unit) != null;
  67061. },
  67062. coerceToMatch$1(other) {
  67063. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67064. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67065. },
  67066. coerceValueToMatch$3(other, $name, otherName) {
  67067. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67068. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67069. },
  67070. coerceValueToMatch$1(other) {
  67071. return this.coerceValueToMatch$3(other, null, null);
  67072. },
  67073. convertValueToMatch$3(other, $name, otherName) {
  67074. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67075. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67076. },
  67077. convertValueToMatch$1(other) {
  67078. return this.convertValueToMatch$3(other, null, null);
  67079. },
  67080. coerce$2(newNumerators, newDenominators) {
  67081. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67082. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67083. },
  67084. coerceValue$3(newNumerators, newDenominators, $name) {
  67085. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67086. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67087. },
  67088. coerceValueToUnit$2(unit, $name) {
  67089. var t1 = this._coerceValueToUnit$1(unit);
  67090. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67091. },
  67092. coerceValueToUnit$1(unit) {
  67093. return this.coerceValueToUnit$2(unit, null);
  67094. },
  67095. _coerceToUnit$1(unit) {
  67096. var t1 = this._unit;
  67097. if (t1 === unit)
  67098. return this;
  67099. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67100. },
  67101. _coerceValueToUnit$1(unit) {
  67102. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67103. },
  67104. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67105. var mutableOtherDenominators, t1 = {};
  67106. t1.value = value;
  67107. t1.newNumerators = otherNumerators;
  67108. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67109. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67110. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67111. },
  67112. unaryMinus$0() {
  67113. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67114. },
  67115. $eq(_, other) {
  67116. var factor;
  67117. if (other == null)
  67118. return false;
  67119. if (other instanceof A.SingleUnitSassNumber) {
  67120. factor = A.conversionFactor(other._unit, this._unit);
  67121. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67122. } else
  67123. return false;
  67124. },
  67125. get$hashCode(_) {
  67126. var _this = this,
  67127. t1 = _this.hashCache;
  67128. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67129. }
  67130. };
  67131. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67132. call$1(factor) {
  67133. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67134. },
  67135. $signature: 339
  67136. };
  67137. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67138. call$1(factor) {
  67139. return this.$this._number$_value * factor;
  67140. },
  67141. $signature: 16
  67142. };
  67143. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67144. call$1(denominator) {
  67145. var factor = A.conversionFactor(denominator, this.$this._unit);
  67146. if (factor == null)
  67147. return false;
  67148. this._box_0.value *= factor;
  67149. return true;
  67150. },
  67151. $signature: 5
  67152. };
  67153. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67154. call$0() {
  67155. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67156. t2 = this._box_0;
  67157. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67158. t2.newNumerators = t1;
  67159. },
  67160. $signature: 0
  67161. };
  67162. A.UnitlessSassNumber.prototype = {
  67163. get$numeratorUnits(_) {
  67164. return B.List_empty;
  67165. },
  67166. get$denominatorUnits(_) {
  67167. return B.List_empty;
  67168. },
  67169. get$hasUnits() {
  67170. return false;
  67171. },
  67172. get$hasComplexUnits() {
  67173. return false;
  67174. },
  67175. withValue$1(value) {
  67176. return new A.UnitlessSassNumber(value, null);
  67177. },
  67178. withSlash$2(numerator, denominator) {
  67179. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67180. },
  67181. hasUnit$1(unit) {
  67182. return false;
  67183. },
  67184. hasCompatibleUnits$1(other) {
  67185. return other instanceof A.UnitlessSassNumber;
  67186. },
  67187. hasPossiblyCompatibleUnits$1(other) {
  67188. return other instanceof A.UnitlessSassNumber;
  67189. },
  67190. compatibleWithUnit$1(unit) {
  67191. return true;
  67192. },
  67193. coerceToMatch$1(other) {
  67194. return other.withValue$1(this._number$_value);
  67195. },
  67196. coerceValueToMatch$3(other, $name, otherName) {
  67197. return this._number$_value;
  67198. },
  67199. coerceValueToMatch$1(other) {
  67200. return this.coerceValueToMatch$3(other, null, null);
  67201. },
  67202. convertValueToMatch$3(other, $name, otherName) {
  67203. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67204. },
  67205. convertValueToMatch$1(other) {
  67206. return this.convertValueToMatch$3(other, null, null);
  67207. },
  67208. coerce$2(newNumerators, newDenominators) {
  67209. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67210. },
  67211. coerceValue$3(newNumerators, newDenominators, $name) {
  67212. return this._number$_value;
  67213. },
  67214. coerceValueToUnit$2(unit, $name) {
  67215. return this._number$_value;
  67216. },
  67217. coerceValueToUnit$1(unit) {
  67218. return this.coerceValueToUnit$2(unit, null);
  67219. },
  67220. greaterThan$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$greaterThan(other);
  67228. },
  67229. greaterThanOrEquals$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$greaterThanOrEquals(other);
  67237. },
  67238. lessThan$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$lessThan(other);
  67246. },
  67247. lessThanOrEquals$1(other) {
  67248. var t1, t2;
  67249. if (other instanceof A.SassNumber) {
  67250. t1 = this._number$_value;
  67251. t2 = other._number$_value;
  67252. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67253. }
  67254. return this.super$SassNumber$lessThanOrEquals(other);
  67255. },
  67256. modulo$1(other) {
  67257. if (other instanceof A.SassNumber)
  67258. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67259. return this.super$SassNumber$modulo(other);
  67260. },
  67261. plus$1(other) {
  67262. if (other instanceof A.SassNumber)
  67263. return other.withValue$1(this._number$_value + other._number$_value);
  67264. return this.super$SassNumber$plus(other);
  67265. },
  67266. minus$1(other) {
  67267. if (other instanceof A.SassNumber)
  67268. return other.withValue$1(this._number$_value - other._number$_value);
  67269. return this.super$SassNumber$minus(other);
  67270. },
  67271. times$1(other) {
  67272. if (other instanceof A.SassNumber)
  67273. return other.withValue$1(this._number$_value * other._number$_value);
  67274. return this.super$SassNumber$times(other);
  67275. },
  67276. dividedBy$1(other) {
  67277. var t1, t2;
  67278. if (other instanceof A.SassNumber) {
  67279. t1 = this._number$_value / other._number$_value;
  67280. if (other.get$hasUnits()) {
  67281. t2 = other.get$denominatorUnits(other);
  67282. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67283. t1 = t2;
  67284. } else
  67285. t1 = new A.UnitlessSassNumber(t1, null);
  67286. return t1;
  67287. }
  67288. return this.super$SassNumber$dividedBy(other);
  67289. },
  67290. unaryMinus$0() {
  67291. return new A.UnitlessSassNumber(-this._number$_value, null);
  67292. },
  67293. $eq(_, other) {
  67294. if (other == null)
  67295. return false;
  67296. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67297. },
  67298. get$hashCode(_) {
  67299. var t1 = this.hashCache;
  67300. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67301. }
  67302. };
  67303. A.SassString.prototype = {
  67304. get$_sassLength() {
  67305. var result, _this = this,
  67306. value = _this.__SassString__sassLength_FI;
  67307. if (value === $) {
  67308. result = new A.Runes(_this._string$_text).get$length(0);
  67309. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67310. _this.__SassString__sassLength_FI = result;
  67311. value = result;
  67312. }
  67313. return value;
  67314. },
  67315. get$isSpecialNumber() {
  67316. var t1, _2_0, t2, _0_0, _1_0;
  67317. if (this._hasQuotes)
  67318. return false;
  67319. t1 = this._string$_text;
  67320. if (t1.length < 6)
  67321. return false;
  67322. _2_0 = t1.charCodeAt(0);
  67323. $label1$1: {
  67324. t2 = false;
  67325. if (99 === _2_0 || 67 === _2_0) {
  67326. _0_0 = t1.charCodeAt(1);
  67327. $label0$0: {
  67328. if (108 === _0_0 || 76 === _0_0) {
  67329. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67330. break $label0$0;
  67331. }
  67332. if (97 === _0_0 || 65 === _0_0) {
  67333. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67334. break $label0$0;
  67335. }
  67336. t1 = t2;
  67337. break $label0$0;
  67338. }
  67339. break $label1$1;
  67340. }
  67341. if (118 === _2_0 || 86 === _2_0) {
  67342. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67343. break $label1$1;
  67344. }
  67345. if (101 === _2_0 || 69 === _2_0) {
  67346. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67347. break $label1$1;
  67348. }
  67349. if (109 === _2_0 || 77 === _2_0) {
  67350. _1_0 = t1.charCodeAt(1);
  67351. $label2$2: {
  67352. if (97 === _1_0 || 65 === _1_0) {
  67353. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67354. break $label2$2;
  67355. }
  67356. if (105 === _1_0 || 73 === _1_0) {
  67357. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67358. break $label2$2;
  67359. }
  67360. t1 = t2;
  67361. break $label2$2;
  67362. }
  67363. break $label1$1;
  67364. }
  67365. t1 = t2;
  67366. break $label1$1;
  67367. }
  67368. return t1;
  67369. },
  67370. get$isVar() {
  67371. if (this._hasQuotes)
  67372. return false;
  67373. var t1 = this._string$_text;
  67374. if (t1.length < 8)
  67375. return false;
  67376. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67377. },
  67378. get$isBlank() {
  67379. return !this._hasQuotes && this._string$_text.length === 0;
  67380. },
  67381. assertQuoted$1($name) {
  67382. if (this._hasQuotes)
  67383. return;
  67384. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67385. },
  67386. assertUnquoted$1($name) {
  67387. if (!this._hasQuotes)
  67388. return;
  67389. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  67390. },
  67391. assertUnquoted$0() {
  67392. return this.assertUnquoted$1(null);
  67393. },
  67394. accept$1$1(visitor) {
  67395. var t1 = visitor._quote && this._hasQuotes,
  67396. t2 = this._string$_text;
  67397. if (t1)
  67398. visitor._visitQuotedString$1(t2);
  67399. else
  67400. visitor._visitUnquotedString$1(t2);
  67401. return null;
  67402. },
  67403. accept$1(visitor) {
  67404. return this.accept$1$1(visitor, type$.dynamic);
  67405. },
  67406. assertString$1($name) {
  67407. return this;
  67408. },
  67409. plus$1(other) {
  67410. var t1 = this._string$_text,
  67411. t2 = this._hasQuotes;
  67412. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  67413. },
  67414. $eq(_, other) {
  67415. if (other == null)
  67416. return false;
  67417. return other instanceof A.SassString && this._string$_text === other._string$_text;
  67418. },
  67419. get$hashCode(_) {
  67420. var t1 = this._hashCache;
  67421. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  67422. }
  67423. };
  67424. A.AnySelectorVisitor.prototype = {
  67425. visitComplexSelector$1(complex) {
  67426. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  67427. },
  67428. visitCompoundSelector$1(compound) {
  67429. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  67430. },
  67431. visitPseudoSelector$1(pseudo) {
  67432. var selector = pseudo.selector;
  67433. return selector == null ? false : this.visitSelectorList$1(selector);
  67434. },
  67435. visitSelectorList$1(list) {
  67436. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67437. },
  67438. visitAttributeSelector$1(attribute) {
  67439. return false;
  67440. },
  67441. visitClassSelector$1(klass) {
  67442. return false;
  67443. },
  67444. visitIDSelector$1(id) {
  67445. return false;
  67446. },
  67447. visitParentSelector$1($parent) {
  67448. return false;
  67449. },
  67450. visitPlaceholderSelector$1(placeholder) {
  67451. return false;
  67452. },
  67453. visitTypeSelector$1(type) {
  67454. return false;
  67455. },
  67456. visitUniversalSelector$1(universal) {
  67457. return false;
  67458. }
  67459. };
  67460. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  67461. call$1(component) {
  67462. return this.$this.visitCompoundSelector$1(component.selector);
  67463. },
  67464. $signature: 57
  67465. };
  67466. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  67467. call$1(simple) {
  67468. return simple.accept$1(this.$this);
  67469. },
  67470. $signature: 14
  67471. };
  67472. A._EvaluateVisitor0.prototype = {
  67473. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  67474. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  67475. _s20_ = "$name, $module: null",
  67476. _s9_ = "sass:meta",
  67477. _s7_ = "$module",
  67478. t1 = type$.JSArray_AsyncBuiltInCallable,
  67479. 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),
  67480. 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);
  67481. t1 = type$.AsyncBuiltInCallable;
  67482. t2 = A.List_List$of($.$get$moduleFunctions(), true, t1);
  67483. B.JSArray_methods.addAll$1(t2, metaFunctions);
  67484. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  67485. 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) {
  67486. module = t1[_i];
  67487. t3.$indexSet(0, module.url, module);
  67488. }
  67489. t1 = type$.JSArray_AsyncCallable;
  67490. t2 = A._setArrayType([], t1);
  67491. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  67492. t1 = A._setArrayType([], t1);
  67493. for (_i = 0; _i < 11; ++_i)
  67494. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  67495. B.JSArray_methods.addAll$1(t2, t1);
  67496. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67497. $function = t2[_i];
  67498. t4 = $function.get$name($function);
  67499. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  67500. }
  67501. },
  67502. run$2(_, importer, node) {
  67503. return this.run$body$_EvaluateVisitor(0, importer, node);
  67504. },
  67505. run$body$_EvaluateVisitor(_, importer, node) {
  67506. var $async$goto = 0,
  67507. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67508. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  67509. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67510. if ($async$errorCode === 1) {
  67511. $async$errorStack.push($async$result);
  67512. $async$goto = $async$handler;
  67513. }
  67514. while (true)
  67515. switch ($async$goto) {
  67516. case 0:
  67517. // Function start
  67518. $async$handler = 4;
  67519. t1 = type$.nullable_Object;
  67520. 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);
  67521. $async$goto = 7;
  67522. 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);
  67523. case 7:
  67524. // returning from await.
  67525. t1 = $async$result;
  67526. $async$returnValue = t1;
  67527. // goto return
  67528. $async$goto = 1;
  67529. break;
  67530. $async$handler = 2;
  67531. // goto after finally
  67532. $async$goto = 6;
  67533. break;
  67534. case 4:
  67535. // catch
  67536. $async$handler = 3;
  67537. $async$exception = $async$errorStack.pop();
  67538. t1 = A.unwrapException($async$exception);
  67539. if (t1 instanceof A.SassException) {
  67540. error = t1;
  67541. stackTrace = A.getTraceFromException($async$exception);
  67542. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  67543. } else
  67544. throw $async$exception;
  67545. // goto after finally
  67546. $async$goto = 6;
  67547. break;
  67548. case 3:
  67549. // uncaught
  67550. // goto rethrow
  67551. $async$goto = 2;
  67552. break;
  67553. case 6:
  67554. // after finally
  67555. case 1:
  67556. // return
  67557. return A._asyncReturn($async$returnValue, $async$completer);
  67558. case 2:
  67559. // rethrow
  67560. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  67561. }
  67562. });
  67563. return A._asyncStartSync($async$run$2, $async$completer);
  67564. },
  67565. _async_evaluate$_assertInModule$1$2(value, $name) {
  67566. if (value != null)
  67567. return value;
  67568. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  67569. },
  67570. _async_evaluate$_assertInModule$2(value, $name) {
  67571. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  67572. },
  67573. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67574. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  67575. },
  67576. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  67577. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  67578. },
  67579. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  67580. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  67581. },
  67582. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67583. var $async$goto = 0,
  67584. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67585. $async$returnValue, $async$self = this, t2, _0_0, t1;
  67586. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67587. if ($async$errorCode === 1)
  67588. return A._asyncRethrow($async$result, $async$completer);
  67589. while (true)
  67590. switch ($async$goto) {
  67591. case 0:
  67592. // Function start
  67593. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  67594. t1 = {};
  67595. t1.builtInModule = null;
  67596. $async$goto = _0_0 != null ? 3 : 4;
  67597. break;
  67598. case 3:
  67599. // then
  67600. t1.builtInModule = _0_0;
  67601. if (configuration instanceof A.ExplicitConfiguration) {
  67602. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  67603. t2 = configuration.nodeWithSpan;
  67604. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  67605. }
  67606. $async$goto = 5;
  67607. 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);
  67608. case 5:
  67609. // returning from await.
  67610. // goto return
  67611. $async$goto = 1;
  67612. break;
  67613. case 4:
  67614. // join
  67615. $async$goto = 6;
  67616. 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);
  67617. case 6:
  67618. // returning from await.
  67619. case 1:
  67620. // return
  67621. return A._asyncReturn($async$returnValue, $async$completer);
  67622. }
  67623. });
  67624. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  67625. },
  67626. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67627. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  67628. },
  67629. _async_evaluate$_execute$2(importer, stylesheet) {
  67630. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  67631. },
  67632. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67633. var $async$goto = 0,
  67634. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  67635. $async$returnValue, $async$self = this, _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  67636. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67637. if ($async$errorCode === 1)
  67638. return A._asyncRethrow($async$result, $async$completer);
  67639. while (true)
  67640. switch ($async$goto) {
  67641. case 0:
  67642. // Function start
  67643. t1 = stylesheet.span;
  67644. url = t1.get$sourceUrl(t1);
  67645. t1 = $async$self._async_evaluate$_modules;
  67646. _0_0 = t1.$index(0, url);
  67647. if (_0_0 != null) {
  67648. t1 = configuration == null;
  67649. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  67650. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  67651. t3 = t2.__originalConfiguration;
  67652. t2 = t3 == null ? t2 : t3;
  67653. t3 = currentConfiguration.__originalConfiguration;
  67654. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  67655. if (namesInErrors) {
  67656. t2 = $.$get$context();
  67657. url.toString;
  67658. message = t2.prettyUri$1(url) + string$.x20was_a;
  67659. } else
  67660. message = string$.This_mw;
  67661. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  67662. existingSpan = t2 == null ? null : t2.get$span(t2);
  67663. if (t1) {
  67664. t1 = currentConfiguration.nodeWithSpan;
  67665. configurationSpan = t1.get$span(t1);
  67666. } else
  67667. configurationSpan = null;
  67668. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  67669. if (existingSpan != null)
  67670. t1.$indexSet(0, existingSpan, "original load");
  67671. if (configurationSpan != null)
  67672. t1.$indexSet(0, configurationSpan, "configuration");
  67673. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  67674. }
  67675. $async$returnValue = _0_0;
  67676. // goto return
  67677. $async$goto = 1;
  67678. break;
  67679. }
  67680. environment = A.AsyncEnvironment$();
  67681. css = A._Cell$();
  67682. preModuleComments = A._Cell$();
  67683. extensionStore = A.ExtensionStore$();
  67684. $async$goto = 3;
  67685. 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);
  67686. case 3:
  67687. // returning from await.
  67688. t2 = css._readLocal$0();
  67689. t3 = preModuleComments._readLocal$0();
  67690. module = environment.toModule$3(t2, t3 == null ? B.Map_empty8 : t3, extensionStore);
  67691. if (url != null) {
  67692. t1.$indexSet(0, url, module);
  67693. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  67694. if (nodeWithSpan != null)
  67695. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  67696. }
  67697. $async$returnValue = module;
  67698. // goto return
  67699. $async$goto = 1;
  67700. break;
  67701. case 1:
  67702. // return
  67703. return A._asyncReturn($async$returnValue, $async$completer);
  67704. }
  67705. });
  67706. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  67707. },
  67708. _async_evaluate$_addOutOfOrderImports$0() {
  67709. var t1, t2, _this = this, _s5_ = "_root",
  67710. _s13_ = "_endOfImports",
  67711. _0_0 = _this._async_evaluate$_outOfOrderImports;
  67712. $label0$0: {
  67713. if (_0_0 == null) {
  67714. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67715. break $label0$0;
  67716. }
  67717. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67718. 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);
  67719. B.JSArray_methods.addAll$1(t1, _0_0);
  67720. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67721. 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")));
  67722. break $label0$0;
  67723. }
  67724. return t1;
  67725. },
  67726. _async_evaluate$_combineCss$2$clone(root, clone) {
  67727. var selectors, _0_0, t1, imports, css, sorted, t2;
  67728. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  67729. selectors = root.get$extensionStore().get$simpleSelectors();
  67730. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  67731. if (_0_0 != null)
  67732. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  67733. return root.get$css(root);
  67734. }
  67735. t1 = type$.JSArray_CssNode;
  67736. imports = A._setArrayType([], t1);
  67737. css = A._setArrayType([], t1);
  67738. t1 = type$.Module_AsyncCallable;
  67739. sorted = A.ListQueue$(t1);
  67740. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  67741. if (root.get$transitivelyContainsExtensions())
  67742. this._async_evaluate$_extendModules$1(sorted);
  67743. t1 = B.JSArray_methods.$add(imports, css);
  67744. t2 = root.get$css(root);
  67745. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  67746. },
  67747. _async_evaluate$_combineCss$1(root) {
  67748. return this._async_evaluate$_combineCss$2$clone(root, false);
  67749. },
  67750. _async_evaluate$_extendModules$1(sortedModules) {
  67751. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  67752. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  67753. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  67754. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  67755. t3 = t1._collection$_current;
  67756. if (t3 == null)
  67757. t3 = t2._as(t3);
  67758. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  67759. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  67760. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  67761. t4 = t3.get$extensionStore().get$addExtensions();
  67762. if ($self != null)
  67763. t4.call$1($self);
  67764. t4 = t3.get$extensionStore();
  67765. if (t4.get$isEmpty(t4))
  67766. continue;
  67767. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  67768. upstream = t4[_i];
  67769. _0_0 = upstream.get$url(upstream);
  67770. if (_0_0 != null)
  67771. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  67772. }
  67773. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  67774. }
  67775. if (unsatisfiedExtensions._collection$_length !== 0)
  67776. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  67777. },
  67778. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  67779. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  67780. },
  67781. _async_evaluate$_indexAfterImports$1(statements) {
  67782. var t1, lastImport, i, _0_0;
  67783. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  67784. $label0$0: {
  67785. _0_0 = t1.$index(statements, i);
  67786. if (_0_0 instanceof A.ModifiableCssImport)
  67787. break $label0$0;
  67788. if (_0_0 instanceof A.ModifiableCssComment)
  67789. continue;
  67790. break;
  67791. }
  67792. lastImport = i;
  67793. }
  67794. return lastImport + 1;
  67795. },
  67796. visitStylesheet$1(_, node) {
  67797. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  67798. },
  67799. visitStylesheet$body$_EvaluateVisitor(_, node) {
  67800. var $async$goto = 0,
  67801. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67802. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  67803. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67804. if ($async$errorCode === 1)
  67805. return A._asyncRethrow($async$result, $async$completer);
  67806. while (true)
  67807. switch ($async$goto) {
  67808. case 0:
  67809. // Function start
  67810. 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();) {
  67811. warning = t1.__internal$_current;
  67812. if (warning == null)
  67813. warning = t2._as(warning);
  67814. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  67815. }
  67816. t1 = node.children, t2 = t1.length, _i = 0;
  67817. case 3:
  67818. // for condition
  67819. if (!(_i < t2)) {
  67820. // goto after for
  67821. $async$goto = 5;
  67822. break;
  67823. }
  67824. $async$goto = 6;
  67825. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  67826. case 6:
  67827. // returning from await.
  67828. case 4:
  67829. // for update
  67830. ++_i;
  67831. // goto for condition
  67832. $async$goto = 3;
  67833. break;
  67834. case 5:
  67835. // after for
  67836. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  67837. t2 = t1.get$current(t1);
  67838. $name = t2._0;
  67839. span = t2._1;
  67840. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  67841. }
  67842. $async$returnValue = null;
  67843. // goto return
  67844. $async$goto = 1;
  67845. break;
  67846. case 1:
  67847. // return
  67848. return A._asyncReturn($async$returnValue, $async$completer);
  67849. }
  67850. });
  67851. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  67852. },
  67853. visitAtRootRule$1(_, node) {
  67854. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  67855. },
  67856. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  67857. var $async$goto = 0,
  67858. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67859. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  67860. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67861. if ($async$errorCode === 1)
  67862. return A._asyncRethrow($async$result, $async$completer);
  67863. while (true)
  67864. switch ($async$goto) {
  67865. case 0:
  67866. // Function start
  67867. _0_0 = node.query;
  67868. $async$goto = _0_0 != null ? 3 : 5;
  67869. break;
  67870. case 3:
  67871. // then
  67872. $async$goto = 6;
  67873. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  67874. case 6:
  67875. // returning from await.
  67876. _1_0 = $async$result;
  67877. resolved = _1_0._0;
  67878. _1_0._1;
  67879. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  67880. // goto join
  67881. $async$goto = 4;
  67882. break;
  67883. case 5:
  67884. // else
  67885. query = B.AtRootQuery_bfj;
  67886. case 4:
  67887. // join
  67888. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  67889. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  67890. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  67891. if (!query.excludes$1($parent))
  67892. included.push($parent);
  67893. _2_0 = $parent._parent;
  67894. if (_2_0 == null)
  67895. throw A.wrapException(A.StateError$(string$.CssNod));
  67896. }
  67897. root = $async$self._async_evaluate$_trimIncluded$1(included);
  67898. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  67899. break;
  67900. case 7:
  67901. // then
  67902. $async$goto = 9;
  67903. 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);
  67904. case 9:
  67905. // returning from await.
  67906. $async$returnValue = null;
  67907. // goto return
  67908. $async$goto = 1;
  67909. break;
  67910. case 8:
  67911. // join
  67912. if (included.length >= 1) {
  67913. first = included[0];
  67914. rest = B.JSArray_methods.sublist$1(included, 1);
  67915. innerCopy = first.copyWithoutChildren$0();
  67916. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  67917. copy = rest[_i].copyWithoutChildren$0();
  67918. copy.addChild$1(outerCopy);
  67919. }
  67920. root.addChild$1(outerCopy);
  67921. } else
  67922. innerCopy = root;
  67923. $async$goto = 10;
  67924. 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);
  67925. case 10:
  67926. // returning from await.
  67927. $async$returnValue = null;
  67928. // goto return
  67929. $async$goto = 1;
  67930. break;
  67931. case 1:
  67932. // return
  67933. return A._asyncReturn($async$returnValue, $async$completer);
  67934. }
  67935. });
  67936. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  67937. },
  67938. _async_evaluate$_trimIncluded$1(nodes) {
  67939. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  67940. _s22_ = " to be an ancestor of ";
  67941. if (nodes.length === 0)
  67942. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67943. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  67944. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  67945. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  67946. _0_0 = $parent._parent;
  67947. if (_0_0 == null)
  67948. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67949. }
  67950. if (innermostContiguous == null)
  67951. innermostContiguous = i;
  67952. _1_0 = $parent._parent;
  67953. if (_1_0 == null)
  67954. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  67955. }
  67956. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  67957. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  67958. innermostContiguous.toString;
  67959. root = nodes[innermostContiguous];
  67960. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  67961. return root;
  67962. },
  67963. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  67964. var _this = this,
  67965. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  67966. t1 = query._all || query._at_root_query$_rule;
  67967. if (t1 !== query.include)
  67968. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  67969. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  67970. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  67971. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  67972. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  67973. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  67974. },
  67975. visitContentBlock$1(_, node) {
  67976. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  67977. },
  67978. visitContentRule$1(_, node) {
  67979. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  67980. },
  67981. visitContentRule$body$_EvaluateVisitor(_, node) {
  67982. var $async$goto = 0,
  67983. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67984. $async$returnValue, $async$self = this, $content;
  67985. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67986. if ($async$errorCode === 1)
  67987. return A._asyncRethrow($async$result, $async$completer);
  67988. while (true)
  67989. switch ($async$goto) {
  67990. case 0:
  67991. // Function start
  67992. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  67993. if ($content == null) {
  67994. $async$returnValue = null;
  67995. // goto return
  67996. $async$goto = 1;
  67997. break;
  67998. }
  67999. $async$goto = 3;
  68000. 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);
  68001. case 3:
  68002. // returning from await.
  68003. $async$returnValue = null;
  68004. // goto return
  68005. $async$goto = 1;
  68006. break;
  68007. case 1:
  68008. // return
  68009. return A._asyncReturn($async$returnValue, $async$completer);
  68010. }
  68011. });
  68012. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68013. },
  68014. visitDebugRule$1(_, node) {
  68015. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68016. },
  68017. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68018. var $async$goto = 0,
  68019. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68020. $async$returnValue, $async$self = this, value, t1;
  68021. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68022. if ($async$errorCode === 1)
  68023. return A._asyncRethrow($async$result, $async$completer);
  68024. while (true)
  68025. switch ($async$goto) {
  68026. case 0:
  68027. // Function start
  68028. $async$goto = 3;
  68029. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68030. case 3:
  68031. // returning from await.
  68032. value = $async$result;
  68033. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68034. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68035. $async$returnValue = null;
  68036. // goto return
  68037. $async$goto = 1;
  68038. break;
  68039. case 1:
  68040. // return
  68041. return A._asyncReturn($async$returnValue, $async$completer);
  68042. }
  68043. });
  68044. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68045. },
  68046. visitDeclaration$1(_, node) {
  68047. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68048. },
  68049. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68050. var $async$goto = 0,
  68051. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68052. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  68053. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68054. if ($async$errorCode === 1)
  68055. return A._asyncRethrow($async$result, $async$completer);
  68056. while (true)
  68057. switch ($async$goto) {
  68058. case 0:
  68059. // Function start
  68060. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68061. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68062. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  68063. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  68064. siblings = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  68065. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  68066. if (siblings.get$last(siblings) !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent"))
  68067. t1 = !($async$self._async_evaluate$_quietDeps && $async$self._async_evaluate$_inDependency);
  68068. else
  68069. t1 = false;
  68070. if (t1)
  68071. 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();) {
  68072. t6 = t1.__internal$_current;
  68073. rule = t6 == null ? t2._as(t6) : t6;
  68074. $label0$1: {
  68075. if (rule instanceof A.ModifiableCssComment)
  68076. continue;
  68077. t6 = rule instanceof A.ModifiableCssStyleRule;
  68078. rule0 = t6 ? rule : null;
  68079. if (t6) {
  68080. interleavedRules.push(rule0);
  68081. break $label0$1;
  68082. }
  68083. $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);
  68084. B.JSArray_methods.clear$0(interleavedRules);
  68085. break $label0$1;
  68086. }
  68087. }
  68088. t1 = node.name;
  68089. $async$goto = 3;
  68090. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  68091. case 3:
  68092. // returning from await.
  68093. $name = $async$result;
  68094. _1_0 = $async$self._async_evaluate$_declarationName;
  68095. if (_1_0 != null)
  68096. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  68097. _2_0 = node.value;
  68098. $async$goto = _2_0 != null ? 4 : 5;
  68099. break;
  68100. case 4:
  68101. // then
  68102. $async$goto = 6;
  68103. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  68104. case 6:
  68105. // returning from await.
  68106. value = $async$result;
  68107. if (!value.get$isBlank() || value.get$asList().length === 0) {
  68108. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68109. t3 = _2_0.get$span(_2_0);
  68110. t4 = node.span;
  68111. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  68112. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate$_stackTrace$1(t4);
  68113. if ($async$self._async_evaluate$_sourceMap) {
  68114. t6 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  68115. t6 = t6 == null ? null : J.get$span$z(t6);
  68116. } else
  68117. t6 = null;
  68118. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  68119. } else if (J.startsWith$1$s($name.value, "--"))
  68120. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  68121. case 5:
  68122. // join
  68123. _3_0 = node.children;
  68124. t1 = {};
  68125. t1.children = null;
  68126. $async$goto = _3_0 != null ? 7 : 8;
  68127. break;
  68128. case 7:
  68129. // then
  68130. t1.children = _3_0;
  68131. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68132. $async$self._async_evaluate$_declarationName = $name.value;
  68133. $async$goto = 9;
  68134. 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);
  68135. case 9:
  68136. // returning from await.
  68137. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68138. case 8:
  68139. // join
  68140. $async$returnValue = null;
  68141. // goto return
  68142. $async$goto = 1;
  68143. break;
  68144. case 1:
  68145. // return
  68146. return A._asyncReturn($async$returnValue, $async$completer);
  68147. }
  68148. });
  68149. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68150. },
  68151. visitEachRule$1(_, node) {
  68152. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68153. },
  68154. visitEachRule$body$_EvaluateVisitor(_, node) {
  68155. var $async$goto = 0,
  68156. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68157. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68158. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68159. if ($async$errorCode === 1)
  68160. return A._asyncRethrow($async$result, $async$completer);
  68161. while (true)
  68162. switch ($async$goto) {
  68163. case 0:
  68164. // Function start
  68165. t1 = node.list;
  68166. $async$goto = 3;
  68167. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68168. case 3:
  68169. // returning from await.
  68170. list = $async$result;
  68171. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68172. _0_0 = node.variables;
  68173. $label0$0: {
  68174. t1 = {};
  68175. t1.variable = null;
  68176. if (_0_0.length === 1) {
  68177. t1.variable = _0_0[0];
  68178. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68179. break $label0$0;
  68180. }
  68181. t1 = {};
  68182. t1.variables = null;
  68183. t1.variables = _0_0;
  68184. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68185. break $label0$0;
  68186. }
  68187. $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);
  68188. // goto return
  68189. $async$goto = 1;
  68190. break;
  68191. case 1:
  68192. // return
  68193. return A._asyncReturn($async$returnValue, $async$completer);
  68194. }
  68195. });
  68196. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68197. },
  68198. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68199. var i,
  68200. list = value.get$asList(),
  68201. t1 = variables.length,
  68202. minLength = Math.min(t1, list.length);
  68203. for (i = 0; i < minLength; ++i)
  68204. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68205. for (i = minLength; i < t1; ++i)
  68206. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68207. },
  68208. visitErrorRule$1(_, node) {
  68209. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68210. },
  68211. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68212. var $async$goto = 0,
  68213. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68214. $async$self = this, $async$temp1, $async$temp2;
  68215. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68216. if ($async$errorCode === 1)
  68217. return A._asyncRethrow($async$result, $async$completer);
  68218. while (true)
  68219. switch ($async$goto) {
  68220. case 0:
  68221. // Function start
  68222. $async$temp1 = A;
  68223. $async$temp2 = J;
  68224. $async$goto = 2;
  68225. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68226. case 2:
  68227. // returning from await.
  68228. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68229. // implicit return
  68230. return A._asyncReturn(null, $async$completer);
  68231. }
  68232. });
  68233. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68234. },
  68235. visitExtendRule$1(_, node) {
  68236. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68237. },
  68238. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68239. var $async$goto = 0,
  68240. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68241. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  68242. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68243. if ($async$errorCode === 1)
  68244. return A._asyncRethrow($async$result, $async$completer);
  68245. while (true)
  68246. switch ($async$goto) {
  68247. case 0:
  68248. // Function start
  68249. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68250. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68251. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68252. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68253. complex = t1[_i];
  68254. if (!complex.accept$1(B._IsBogusVisitor_true))
  68255. continue;
  68256. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68257. complex.accept$1(visitor);
  68258. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68259. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68260. $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);
  68261. }
  68262. $async$goto = 3;
  68263. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68264. case 3:
  68265. // returning from await.
  68266. _0_0 = $async$result;
  68267. targetText = _0_0._0;
  68268. targetMap = _0_0._1;
  68269. 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) {
  68270. complex = t1[_i];
  68271. compound = complex.get$singleCompound();
  68272. if (compound == null)
  68273. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68274. t4 = compound.components;
  68275. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68276. if (t5 == null)
  68277. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68278. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  68279. }
  68280. $async$returnValue = null;
  68281. // goto return
  68282. $async$goto = 1;
  68283. break;
  68284. case 1:
  68285. // return
  68286. return A._asyncReturn($async$returnValue, $async$completer);
  68287. }
  68288. });
  68289. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68290. },
  68291. visitAtRule$1(_, node) {
  68292. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68293. },
  68294. visitAtRule$body$_EvaluateVisitor(_, node) {
  68295. var $async$goto = 0,
  68296. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68297. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68298. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68299. if ($async$errorCode === 1)
  68300. return A._asyncRethrow($async$result, $async$completer);
  68301. while (true)
  68302. switch ($async$goto) {
  68303. case 0:
  68304. // Function start
  68305. if ($async$self._async_evaluate$_declarationName != null)
  68306. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68307. $async$goto = 3;
  68308. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68309. case 3:
  68310. // returning from await.
  68311. $name = $async$result;
  68312. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68313. $async$goto = 4;
  68314. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68315. case 4:
  68316. // returning from await.
  68317. value = $async$result;
  68318. children = node.children;
  68319. if (children == null) {
  68320. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68321. $async$returnValue = null;
  68322. // goto return
  68323. $async$goto = 1;
  68324. break;
  68325. }
  68326. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68327. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68328. if (A.unvendor($name.value) === "keyframes")
  68329. $async$self._async_evaluate$_inKeyframes = true;
  68330. else
  68331. $async$self._async_evaluate$_inUnknownAtRule = true;
  68332. $async$goto = 5;
  68333. 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);
  68334. case 5:
  68335. // returning from await.
  68336. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68337. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68338. $async$returnValue = null;
  68339. // goto return
  68340. $async$goto = 1;
  68341. break;
  68342. case 1:
  68343. // return
  68344. return A._asyncReturn($async$returnValue, $async$completer);
  68345. }
  68346. });
  68347. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68348. },
  68349. visitForRule$1(_, node) {
  68350. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68351. },
  68352. visitForRule$body$_EvaluateVisitor(_, node) {
  68353. var $async$goto = 0,
  68354. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68355. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68356. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68357. if ($async$errorCode === 1)
  68358. return A._asyncRethrow($async$result, $async$completer);
  68359. while (true)
  68360. switch ($async$goto) {
  68361. case 0:
  68362. // Function start
  68363. t1 = {};
  68364. t2 = node.from;
  68365. t3 = type$.SassNumber;
  68366. $async$goto = 3;
  68367. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68368. case 3:
  68369. // returning from await.
  68370. fromNumber = $async$result;
  68371. t4 = node.to;
  68372. $async$goto = 4;
  68373. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68374. case 4:
  68375. // returning from await.
  68376. toNumber = $async$result;
  68377. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68378. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68379. direction = from > to ? -1 : 1;
  68380. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68381. $async$returnValue = null;
  68382. // goto return
  68383. $async$goto = 1;
  68384. break;
  68385. }
  68386. $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);
  68387. // goto return
  68388. $async$goto = 1;
  68389. break;
  68390. case 1:
  68391. // return
  68392. return A._asyncReturn($async$returnValue, $async$completer);
  68393. }
  68394. });
  68395. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68396. },
  68397. visitForwardRule$1(_, node) {
  68398. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68399. },
  68400. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68401. var $async$goto = 0,
  68402. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68403. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68404. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68405. if ($async$errorCode === 1)
  68406. return A._asyncRethrow($async$result, $async$completer);
  68407. while (true)
  68408. switch ($async$goto) {
  68409. case 0:
  68410. // Function start
  68411. oldConfiguration = $async$self._async_evaluate$_configuration;
  68412. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  68413. t1 = node.configuration;
  68414. t2 = t1.length;
  68415. t3 = node.url;
  68416. $async$goto = t2 !== 0 ? 3 : 5;
  68417. break;
  68418. case 3:
  68419. // then
  68420. $async$goto = 6;
  68421. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  68422. case 6:
  68423. // returning from await.
  68424. newConfiguration = $async$result;
  68425. $async$goto = 7;
  68426. 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);
  68427. case 7:
  68428. // returning from await.
  68429. t3 = type$.String;
  68430. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68431. for (_i = 0; _i < t2; ++_i) {
  68432. variable = t1[_i];
  68433. if (!variable.isGuarded)
  68434. t4.add$1(0, variable.name);
  68435. }
  68436. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  68437. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68438. for (_i = 0; _i < t2; ++_i)
  68439. t3.add$1(0, t1[_i].name);
  68440. 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) {
  68441. $name = t2[_i];
  68442. if (!t3.contains$1(0, $name))
  68443. if (!t1.get$isEmpty(t1))
  68444. t1.remove$1(0, $name);
  68445. }
  68446. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  68447. // goto join
  68448. $async$goto = 4;
  68449. break;
  68450. case 5:
  68451. // else
  68452. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  68453. $async$goto = 8;
  68454. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  68455. case 8:
  68456. // returning from await.
  68457. $async$self._async_evaluate$_configuration = oldConfiguration;
  68458. case 4:
  68459. // join
  68460. $async$returnValue = null;
  68461. // goto return
  68462. $async$goto = 1;
  68463. break;
  68464. case 1:
  68465. // return
  68466. return A._asyncReturn($async$returnValue, $async$completer);
  68467. }
  68468. });
  68469. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  68470. },
  68471. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  68472. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  68473. },
  68474. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  68475. var $async$goto = 0,
  68476. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  68477. $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;
  68478. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68479. if ($async$errorCode === 1)
  68480. return A._asyncRethrow($async$result, $async$completer);
  68481. while (true)
  68482. switch ($async$goto) {
  68483. case 0:
  68484. // Function start
  68485. t1 = configuration._configuration$_values;
  68486. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68487. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  68488. case 3:
  68489. // for condition
  68490. if (!(_i < t3)) {
  68491. // goto after for
  68492. $async$goto = 5;
  68493. break;
  68494. }
  68495. variable = t2[_i];
  68496. if (variable.isGuarded) {
  68497. t6 = variable.name;
  68498. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  68499. if (_0_0 != null) {
  68500. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  68501. oldValue = _0_0;
  68502. } else {
  68503. oldValue = null;
  68504. t7 = false;
  68505. }
  68506. if (t7) {
  68507. newValues.$indexSet(0, t6, oldValue);
  68508. // goto for update
  68509. $async$goto = 4;
  68510. break;
  68511. }
  68512. }
  68513. t6 = variable.expression;
  68514. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  68515. t6 = t6.accept$1($async$self);
  68516. if (!t5._is(t6)) {
  68517. t7 = new A._Future($.Zone__current, t4);
  68518. t7._state = 8;
  68519. t7._resultOrListeners = t6;
  68520. t6 = t7;
  68521. }
  68522. $async$temp1 = newValues;
  68523. $async$temp2 = variable.name;
  68524. $async$temp3 = A;
  68525. $async$goto = 6;
  68526. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  68527. case 6:
  68528. // returning from await.
  68529. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  68530. case 4:
  68531. // for update
  68532. ++_i;
  68533. // goto for condition
  68534. $async$goto = 3;
  68535. break;
  68536. case 5:
  68537. // after for
  68538. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  68539. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  68540. // goto return
  68541. $async$goto = 1;
  68542. break;
  68543. } else {
  68544. $async$returnValue = new A.Configuration(newValues, null);
  68545. // goto return
  68546. $async$goto = 1;
  68547. break;
  68548. }
  68549. case 1:
  68550. // return
  68551. return A._asyncReturn($async$returnValue, $async$completer);
  68552. }
  68553. });
  68554. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  68555. },
  68556. _async_evaluate$_registerCommentsForModule$1(module) {
  68557. var _this = this, _s5_ = "_root",
  68558. t1 = _this._async_evaluate$__root;
  68559. if (t1 == null)
  68560. return;
  68561. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  68562. return;
  68563. t1 = _this._async_evaluate$_preModuleComments;
  68564. if (t1 == null)
  68565. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  68566. 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));
  68567. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  68568. _this._async_evaluate$__endOfImports = 0;
  68569. },
  68570. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  68571. var t1, t2, t3, t4, _i, $name;
  68572. 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) {
  68573. $name = t2[_i];
  68574. if (except.contains$1(0, $name))
  68575. continue;
  68576. if (!t4.containsKey$1($name))
  68577. if (!t1.get$isEmpty(t1))
  68578. t1.remove$1(0, $name);
  68579. }
  68580. },
  68581. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  68582. var t1, _0_0, $name, value;
  68583. if (!(configuration instanceof A.ExplicitConfiguration))
  68584. return;
  68585. t1 = configuration._configuration$_values;
  68586. if (t1.get$isEmpty(t1))
  68587. return;
  68588. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68589. _0_0 = t1.get$first(t1);
  68590. $name = _0_0._0;
  68591. value = _0_0._1;
  68592. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  68593. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  68594. },
  68595. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  68596. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  68597. },
  68598. visitFunctionRule$1(_, node) {
  68599. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  68600. },
  68601. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  68602. var $async$goto = 0,
  68603. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68604. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  68605. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68606. if ($async$errorCode === 1)
  68607. return A._asyncRethrow($async$result, $async$completer);
  68608. while (true)
  68609. switch ($async$goto) {
  68610. case 0:
  68611. // Function start
  68612. t1 = $async$self._async_evaluate$_environment;
  68613. t2 = t1.closure$0();
  68614. t3 = $async$self._async_evaluate$_inDependency;
  68615. t4 = t1._async_environment$_functions;
  68616. index = t4.length - 1;
  68617. t5 = node.name;
  68618. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  68619. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  68620. $async$returnValue = null;
  68621. // goto return
  68622. $async$goto = 1;
  68623. break;
  68624. case 1:
  68625. // return
  68626. return A._asyncReturn($async$returnValue, $async$completer);
  68627. }
  68628. });
  68629. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  68630. },
  68631. visitIfRule$1(_, node) {
  68632. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  68633. },
  68634. visitIfRule$body$_EvaluateVisitor(_, node) {
  68635. var $async$goto = 0,
  68636. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68637. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  68638. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68639. if ($async$errorCode === 1)
  68640. return A._asyncRethrow($async$result, $async$completer);
  68641. while (true)
  68642. switch ($async$goto) {
  68643. case 0:
  68644. // Function start
  68645. clause = node.lastClause;
  68646. t1 = node.clauses, t2 = t1.length, _i = 0;
  68647. case 3:
  68648. // for condition
  68649. if (!(_i < t2)) {
  68650. // goto after for
  68651. $async$goto = 5;
  68652. break;
  68653. }
  68654. clauseToCheck = t1[_i];
  68655. $async$goto = 6;
  68656. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  68657. case 6:
  68658. // returning from await.
  68659. if ($async$result.get$isTruthy()) {
  68660. clause = clauseToCheck;
  68661. // goto after for
  68662. $async$goto = 5;
  68663. break;
  68664. }
  68665. case 4:
  68666. // for update
  68667. ++_i;
  68668. // goto for condition
  68669. $async$goto = 3;
  68670. break;
  68671. case 5:
  68672. // after for
  68673. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  68674. $async$goto = 7;
  68675. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  68676. case 7:
  68677. // returning from await.
  68678. $async$returnValue = $async$result;
  68679. // goto return
  68680. $async$goto = 1;
  68681. break;
  68682. case 1:
  68683. // return
  68684. return A._asyncReturn($async$returnValue, $async$completer);
  68685. }
  68686. });
  68687. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  68688. },
  68689. visitImportRule$1(_, node) {
  68690. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  68691. },
  68692. visitImportRule$body$_EvaluateVisitor(_, node) {
  68693. var $async$goto = 0,
  68694. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68695. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  68696. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68697. if ($async$errorCode === 1)
  68698. return A._asyncRethrow($async$result, $async$completer);
  68699. while (true)
  68700. switch ($async$goto) {
  68701. case 0:
  68702. // Function start
  68703. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  68704. case 3:
  68705. // for condition
  68706. if (!(_i < t2)) {
  68707. // goto after for
  68708. $async$goto = 5;
  68709. break;
  68710. }
  68711. $import = t1[_i];
  68712. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  68713. break;
  68714. case 6:
  68715. // then
  68716. $async$goto = 9;
  68717. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  68718. case 9:
  68719. // returning from await.
  68720. // goto join
  68721. $async$goto = 7;
  68722. break;
  68723. case 8:
  68724. // else
  68725. $async$goto = 10;
  68726. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  68727. case 10:
  68728. // returning from await.
  68729. case 7:
  68730. // join
  68731. case 4:
  68732. // for update
  68733. ++_i;
  68734. // goto for condition
  68735. $async$goto = 3;
  68736. break;
  68737. case 5:
  68738. // after for
  68739. $async$returnValue = null;
  68740. // goto return
  68741. $async$goto = 1;
  68742. break;
  68743. case 1:
  68744. // return
  68745. return A._asyncReturn($async$returnValue, $async$completer);
  68746. }
  68747. });
  68748. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  68749. },
  68750. _async_evaluate$_visitDynamicImport$1($import) {
  68751. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  68752. },
  68753. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  68754. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  68755. },
  68756. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  68757. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  68758. },
  68759. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  68760. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  68761. },
  68762. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  68763. var $async$goto = 0,
  68764. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  68765. $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;
  68766. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68767. if ($async$errorCode === 1) {
  68768. $async$errorStack.push($async$result);
  68769. $async$goto = $async$handler;
  68770. }
  68771. while (true)
  68772. switch ($async$goto) {
  68773. case 0:
  68774. // Function start
  68775. baseUrl = baseUrl;
  68776. $async$handler = 4;
  68777. $async$self._async_evaluate$_importSpan = span;
  68778. _0_0 = $async$self._async_evaluate$_importCache;
  68779. importCache = null;
  68780. $async$goto = _0_0 != null ? 7 : 8;
  68781. break;
  68782. case 7:
  68783. // then
  68784. importCache = _0_0;
  68785. if (baseUrl == null) {
  68786. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  68787. baseUrl = t1.get$sourceUrl(t1);
  68788. }
  68789. $async$goto = 9;
  68790. 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);
  68791. case 9:
  68792. // returning from await.
  68793. _1_0 = $async$result;
  68794. importer = null;
  68795. canonicalUrl = null;
  68796. originalUrl = null;
  68797. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  68798. break;
  68799. case 10:
  68800. // then
  68801. importer = _1_0._0;
  68802. canonicalUrl = _1_0._1;
  68803. originalUrl = _1_0._2;
  68804. if (canonicalUrl.get$scheme() === "")
  68805. 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);
  68806. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  68807. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  68808. $async$goto = 12;
  68809. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  68810. case 12:
  68811. // returning from await.
  68812. _2_0 = $async$result;
  68813. stylesheet = null;
  68814. if (_2_0 != null) {
  68815. stylesheet = _2_0;
  68816. t1 = stylesheet;
  68817. t2 = importer;
  68818. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  68819. $async$next = [1];
  68820. // goto finally
  68821. $async$goto = 5;
  68822. break;
  68823. }
  68824. case 11:
  68825. // join
  68826. case 8:
  68827. // join
  68828. t1 = B.JSString_methods.startsWith$1(url, "package:");
  68829. if (t1)
  68830. throw A.wrapException(string$.x22packa);
  68831. else
  68832. throw A.wrapException("Can't find stylesheet to import.");
  68833. $async$next.push(6);
  68834. // goto finally
  68835. $async$goto = 5;
  68836. break;
  68837. case 4:
  68838. // catch
  68839. $async$handler = 3;
  68840. $async$exception = $async$errorStack.pop();
  68841. t1 = A.unwrapException($async$exception);
  68842. if (t1 instanceof A.SassException)
  68843. throw $async$exception;
  68844. else if (t1 instanceof A.ArgumentError) {
  68845. error = t1;
  68846. stackTrace = A.getTraceFromException($async$exception);
  68847. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  68848. } else {
  68849. error0 = t1;
  68850. stackTrace0 = A.getTraceFromException($async$exception);
  68851. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  68852. }
  68853. $async$next.push(6);
  68854. // goto finally
  68855. $async$goto = 5;
  68856. break;
  68857. case 3:
  68858. // uncaught
  68859. $async$next = [2];
  68860. case 5:
  68861. // finally
  68862. $async$handler = 2;
  68863. $async$self._async_evaluate$_importSpan = null;
  68864. // goto the next finally handler
  68865. $async$goto = $async$next.pop();
  68866. break;
  68867. case 6:
  68868. // after finally
  68869. case 1:
  68870. // return
  68871. return A._asyncReturn($async$returnValue, $async$completer);
  68872. case 2:
  68873. // rethrow
  68874. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  68875. }
  68876. });
  68877. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  68878. },
  68879. _visitStaticImport$1($import) {
  68880. return this._visitStaticImport$body$_EvaluateVisitor($import);
  68881. },
  68882. _visitStaticImport$body$_EvaluateVisitor($import) {
  68883. var $async$goto = 0,
  68884. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68885. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  68886. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68887. if ($async$errorCode === 1)
  68888. return A._asyncRethrow($async$result, $async$completer);
  68889. while (true)
  68890. switch ($async$goto) {
  68891. case 0:
  68892. // Function start
  68893. $async$goto = 2;
  68894. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  68895. case 2:
  68896. // returning from await.
  68897. t1 = $async$result;
  68898. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  68899. $async$temp1 = A;
  68900. $async$temp2 = t1;
  68901. $async$goto = 3;
  68902. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  68903. case 3:
  68904. // returning from await.
  68905. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  68906. 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"))
  68907. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  68908. 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)) {
  68909. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  68910. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  68911. } else {
  68912. t1 = $async$self._async_evaluate$_outOfOrderImports;
  68913. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  68914. }
  68915. // implicit return
  68916. return A._asyncReturn(null, $async$completer);
  68917. }
  68918. });
  68919. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  68920. },
  68921. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68922. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  68923. },
  68924. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  68925. var $async$goto = 0,
  68926. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68927. $async$self = this, t1, _0_0, t2, _1_8;
  68928. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68929. if ($async$errorCode === 1)
  68930. return A._asyncRethrow($async$result, $async$completer);
  68931. while (true)
  68932. switch ($async$goto) {
  68933. case 0:
  68934. // Function start
  68935. if (mixin == null)
  68936. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  68937. t1 = type$.AsyncBuiltInCallable._is(mixin);
  68938. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  68939. break;
  68940. case 3:
  68941. // then
  68942. $async$goto = 5;
  68943. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  68944. case 5:
  68945. // returning from await.
  68946. t1 = $async$result._values;
  68947. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  68948. 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));
  68949. case 4:
  68950. // join
  68951. $async$goto = t1 ? 6 : 7;
  68952. break;
  68953. case 6:
  68954. // then
  68955. $async$goto = 8;
  68956. 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);
  68957. case 8:
  68958. // returning from await.
  68959. // goto break $label0$0
  68960. $async$goto = 2;
  68961. break;
  68962. case 7:
  68963. // join
  68964. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  68965. t2 = false;
  68966. if (t1) {
  68967. _1_8 = mixin.declaration;
  68968. if (_1_8 instanceof A.MixinRule)
  68969. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  68970. }
  68971. if (t2)
  68972. 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));
  68973. $async$goto = t1 ? 9 : 10;
  68974. break;
  68975. case 9:
  68976. // then
  68977. $async$goto = 11;
  68978. 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);
  68979. case 11:
  68980. // returning from await.
  68981. // goto break $label0$0
  68982. $async$goto = 2;
  68983. break;
  68984. case 10:
  68985. // join
  68986. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  68987. case 2:
  68988. // break $label0$0
  68989. // implicit return
  68990. return A._asyncReturn(null, $async$completer);
  68991. }
  68992. });
  68993. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  68994. },
  68995. visitIncludeRule$1(_, node) {
  68996. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  68997. },
  68998. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  68999. var $async$goto = 0,
  69000. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69001. $async$returnValue, $async$self = this, mixin;
  69002. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69003. if ($async$errorCode === 1)
  69004. return A._asyncRethrow($async$result, $async$completer);
  69005. while (true)
  69006. switch ($async$goto) {
  69007. case 0:
  69008. // Function start
  69009. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69010. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69011. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  69012. $async$goto = 3;
  69013. 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);
  69014. case 3:
  69015. // returning from await.
  69016. $async$returnValue = null;
  69017. // goto return
  69018. $async$goto = 1;
  69019. break;
  69020. case 1:
  69021. // return
  69022. return A._asyncReturn($async$returnValue, $async$completer);
  69023. }
  69024. });
  69025. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69026. },
  69027. visitMixinRule$1(_, node) {
  69028. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69029. },
  69030. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69031. var $async$goto = 0,
  69032. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69033. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69034. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69035. if ($async$errorCode === 1)
  69036. return A._asyncRethrow($async$result, $async$completer);
  69037. while (true)
  69038. switch ($async$goto) {
  69039. case 0:
  69040. // Function start
  69041. t1 = $async$self._async_evaluate$_environment;
  69042. t2 = t1.closure$0();
  69043. t3 = $async$self._async_evaluate$_inDependency;
  69044. t4 = t1._async_environment$_mixins;
  69045. index = t4.length - 1;
  69046. t5 = node.name;
  69047. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69048. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69049. $async$returnValue = null;
  69050. // goto return
  69051. $async$goto = 1;
  69052. break;
  69053. case 1:
  69054. // return
  69055. return A._asyncReturn($async$returnValue, $async$completer);
  69056. }
  69057. });
  69058. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69059. },
  69060. visitLoudComment$1(_, node) {
  69061. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69062. },
  69063. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69064. var $async$goto = 0,
  69065. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69066. $async$returnValue, $async$self = this, t1, text;
  69067. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69068. if ($async$errorCode === 1)
  69069. return A._asyncRethrow($async$result, $async$completer);
  69070. while (true)
  69071. switch ($async$goto) {
  69072. case 0:
  69073. // Function start
  69074. if ($async$self._async_evaluate$_inFunction) {
  69075. $async$returnValue = null;
  69076. // goto return
  69077. $async$goto = 1;
  69078. break;
  69079. }
  69080. 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))
  69081. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69082. t1 = node.text;
  69083. $async$goto = 3;
  69084. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69085. case 3:
  69086. // returning from await.
  69087. text = $async$result;
  69088. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69089. text += " */";
  69090. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69091. $async$returnValue = null;
  69092. // goto return
  69093. $async$goto = 1;
  69094. break;
  69095. case 1:
  69096. // return
  69097. return A._asyncReturn($async$returnValue, $async$completer);
  69098. }
  69099. });
  69100. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69101. },
  69102. visitMediaRule$1(_, node) {
  69103. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69104. },
  69105. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69106. var $async$goto = 0,
  69107. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69108. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69109. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69110. if ($async$errorCode === 1)
  69111. return A._asyncRethrow($async$result, $async$completer);
  69112. while (true)
  69113. switch ($async$goto) {
  69114. case 0:
  69115. // Function start
  69116. if ($async$self._async_evaluate$_declarationName != null)
  69117. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69118. $async$goto = 3;
  69119. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69120. case 3:
  69121. // returning from await.
  69122. queries = $async$result;
  69123. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69124. t1 = mergedQueries == null;
  69125. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69126. $async$returnValue = null;
  69127. // goto return
  69128. $async$goto = 1;
  69129. break;
  69130. }
  69131. if (t1)
  69132. mergedSources = B.Set_empty1;
  69133. else {
  69134. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69135. t2.toString;
  69136. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69137. t3 = $async$self._async_evaluate$_mediaQueries;
  69138. t3.toString;
  69139. t2.addAll$1(0, t3);
  69140. t2.addAll$1(0, queries);
  69141. mergedSources = t2;
  69142. }
  69143. t1 = t1 ? queries : mergedQueries;
  69144. $async$goto = 4;
  69145. 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);
  69146. case 4:
  69147. // returning from await.
  69148. $async$returnValue = null;
  69149. // goto return
  69150. $async$goto = 1;
  69151. break;
  69152. case 1:
  69153. // return
  69154. return A._asyncReturn($async$returnValue, $async$completer);
  69155. }
  69156. });
  69157. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69158. },
  69159. _visitMediaQueries$1(interpolation) {
  69160. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69161. },
  69162. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69163. var $async$goto = 0,
  69164. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69165. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69166. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69167. if ($async$errorCode === 1)
  69168. return A._asyncRethrow($async$result, $async$completer);
  69169. while (true)
  69170. switch ($async$goto) {
  69171. case 0:
  69172. // Function start
  69173. $async$goto = 3;
  69174. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69175. case 3:
  69176. // returning from await.
  69177. _0_0 = $async$result;
  69178. resolved = _0_0._0;
  69179. map = _0_0._1;
  69180. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69181. // goto return
  69182. $async$goto = 1;
  69183. break;
  69184. case 1:
  69185. // return
  69186. return A._asyncReturn($async$returnValue, $async$completer);
  69187. }
  69188. });
  69189. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69190. },
  69191. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69192. var t1, t2, t3, t4, _0_0, t5, result,
  69193. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69194. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69195. t3 = t1.get$current(t1);
  69196. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69197. _0_0 = t3.merge$1(t4.get$current(t4));
  69198. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69199. continue;
  69200. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69201. return null;
  69202. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69203. result = t5 ? _0_0 : null;
  69204. if (t5)
  69205. queries.push(result.query);
  69206. }
  69207. }
  69208. return queries;
  69209. },
  69210. visitReturnRule$1(_, node) {
  69211. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69212. },
  69213. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69214. var $async$goto = 0,
  69215. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69216. $async$returnValue, $async$self = this, t1, t2;
  69217. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69218. if ($async$errorCode === 1)
  69219. return A._asyncRethrow($async$result, $async$completer);
  69220. while (true)
  69221. switch ($async$goto) {
  69222. case 0:
  69223. // Function start
  69224. t1 = node.expression;
  69225. t2 = t1.accept$1($async$self);
  69226. $async$goto = 3;
  69227. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69228. case 3:
  69229. // returning from await.
  69230. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69231. // goto return
  69232. $async$goto = 1;
  69233. break;
  69234. case 1:
  69235. // return
  69236. return A._asyncReturn($async$returnValue, $async$completer);
  69237. }
  69238. });
  69239. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69240. },
  69241. visitSilentComment$1(_, node) {
  69242. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69243. },
  69244. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69245. var $async$goto = 0,
  69246. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69247. $async$returnValue;
  69248. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69249. if ($async$errorCode === 1)
  69250. return A._asyncRethrow($async$result, $async$completer);
  69251. while (true)
  69252. switch ($async$goto) {
  69253. case 0:
  69254. // Function start
  69255. $async$returnValue = null;
  69256. // goto return
  69257. $async$goto = 1;
  69258. break;
  69259. case 1:
  69260. // return
  69261. return A._asyncReturn($async$returnValue, $async$completer);
  69262. }
  69263. });
  69264. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69265. },
  69266. visitStyleRule$1(_, node) {
  69267. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69268. },
  69269. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69270. var $async$goto = 0,
  69271. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69272. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  69273. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69274. if ($async$errorCode === 1)
  69275. return A._asyncRethrow($async$result, $async$completer);
  69276. while (true)
  69277. switch ($async$goto) {
  69278. case 0:
  69279. // Function start
  69280. if ($async$self._async_evaluate$_declarationName != null)
  69281. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69282. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69283. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69284. t1 = node.selector;
  69285. $async$goto = 3;
  69286. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69287. case 3:
  69288. // returning from await.
  69289. _0_0 = $async$result;
  69290. selectorText = _0_0._0;
  69291. selectorMap = _0_0._1;
  69292. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69293. break;
  69294. case 4:
  69295. // then
  69296. $async$goto = 6;
  69297. 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);
  69298. case 6:
  69299. // returning from await.
  69300. $async$returnValue = null;
  69301. // goto return
  69302. $async$goto = 1;
  69303. break;
  69304. case 5:
  69305. // join
  69306. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69307. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69308. t1 = t1 == null ? null : t1.fromPlainCss;
  69309. nest = t1 !== true;
  69310. if (nest) {
  69311. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69312. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  69313. _1_0 = t1[_i].leadingCombinators;
  69314. if (_1_0.length >= 1) {
  69315. first = _1_0[0];
  69316. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69317. } else {
  69318. first = null;
  69319. t3 = false;
  69320. }
  69321. if (t3)
  69322. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69323. }
  69324. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69325. t1 = t1 == null ? null : t1.originalSelector;
  69326. 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);
  69327. }
  69328. 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);
  69329. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69330. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69331. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69332. $async$goto = 7;
  69333. 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);
  69334. case 7:
  69335. // returning from await.
  69336. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69337. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69338. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69339. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69340. t1 = !t1.get$isEmpty(t1);
  69341. }
  69342. if (t1) {
  69343. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69344. t1.get$last(t1).isGroupEnd = true;
  69345. }
  69346. $async$returnValue = null;
  69347. // goto return
  69348. $async$goto = 1;
  69349. break;
  69350. case 1:
  69351. // return
  69352. return A._asyncReturn($async$returnValue, $async$completer);
  69353. }
  69354. });
  69355. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69356. },
  69357. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69358. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69359. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69360. 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) {
  69361. complex = t1[_i];
  69362. if (!complex.accept$1(B._IsBogusVisitor_true))
  69363. continue;
  69364. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69365. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69366. complex.accept$1(visitor);
  69367. _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);
  69368. } else if (complex.leadingCombinators.length !== 0) {
  69369. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69370. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69371. complex.accept$1(visitor);
  69372. _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);
  69373. }
  69374. } else {
  69375. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69376. complex.accept$1(visitor);
  69377. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69378. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69379. t8 = A.SpanExtensions_trimRight(complex.span);
  69380. if (t5.get$length(0) === 0)
  69381. A.throwExpression(A.IterableElementError_noElement());
  69382. t9 = J.get$span$z(t5.$index(0, 0));
  69383. _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);
  69384. }
  69385. }
  69386. },
  69387. visitSupportsRule$1(_, node) {
  69388. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69389. },
  69390. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69391. var $async$goto = 0,
  69392. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69393. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69394. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69395. if ($async$errorCode === 1)
  69396. return A._asyncRethrow($async$result, $async$completer);
  69397. while (true)
  69398. switch ($async$goto) {
  69399. case 0:
  69400. // Function start
  69401. if ($async$self._async_evaluate$_declarationName != null)
  69402. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  69403. t1 = node.condition;
  69404. $async$temp1 = A;
  69405. $async$temp2 = A;
  69406. $async$goto = 4;
  69407. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  69408. case 4:
  69409. // returning from await.
  69410. $async$goto = 3;
  69411. 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);
  69412. case 3:
  69413. // returning from await.
  69414. $async$returnValue = null;
  69415. // goto return
  69416. $async$goto = 1;
  69417. break;
  69418. case 1:
  69419. // return
  69420. return A._asyncReturn($async$returnValue, $async$completer);
  69421. }
  69422. });
  69423. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  69424. },
  69425. _async_evaluate$_visitSupportsCondition$1(condition) {
  69426. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  69427. },
  69428. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  69429. var $async$goto = 0,
  69430. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69431. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69432. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69433. if ($async$errorCode === 1)
  69434. return A._asyncRethrow($async$result, $async$completer);
  69435. while (true)
  69436. switch ($async$goto) {
  69437. case 0:
  69438. // Function start
  69439. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  69440. break;
  69441. case 4:
  69442. // then
  69443. t1 = condition.operator;
  69444. $async$temp1 = A;
  69445. $async$goto = 6;
  69446. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69447. case 6:
  69448. // returning from await.
  69449. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  69450. $async$temp2 = A;
  69451. $async$goto = 7;
  69452. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69453. case 7:
  69454. // returning from await.
  69455. t1 = $async$temp1 + $async$temp2.S($async$result);
  69456. // goto break $label0$0
  69457. $async$goto = 3;
  69458. break;
  69459. case 5:
  69460. // join
  69461. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  69462. break;
  69463. case 8:
  69464. // then
  69465. $async$temp1 = A;
  69466. $async$goto = 10;
  69467. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  69468. case 10:
  69469. // returning from await.
  69470. t1 = "not " + $async$temp1.S($async$result);
  69471. // goto break $label0$0
  69472. $async$goto = 3;
  69473. break;
  69474. case 9:
  69475. // join
  69476. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  69477. break;
  69478. case 11:
  69479. // then
  69480. $async$goto = 13;
  69481. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  69482. case 13:
  69483. // returning from await.
  69484. t1 = $async$result;
  69485. // goto break $label0$0
  69486. $async$goto = 3;
  69487. break;
  69488. case 12:
  69489. // join
  69490. t1 = {};
  69491. t1.declaration = null;
  69492. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  69493. break;
  69494. case 14:
  69495. // then
  69496. t1.declaration = condition;
  69497. $async$goto = 16;
  69498. 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);
  69499. case 16:
  69500. // returning from await.
  69501. t1 = $async$result;
  69502. // goto break $label0$0
  69503. $async$goto = 3;
  69504. break;
  69505. case 15:
  69506. // join
  69507. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  69508. break;
  69509. case 17:
  69510. // then
  69511. $async$temp1 = A;
  69512. $async$goto = 19;
  69513. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  69514. case 19:
  69515. // returning from await.
  69516. $async$temp1 = $async$temp1.S($async$result) + "(";
  69517. $async$temp2 = A;
  69518. $async$goto = 20;
  69519. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  69520. case 20:
  69521. // returning from await.
  69522. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  69523. // goto break $label0$0
  69524. $async$goto = 3;
  69525. break;
  69526. case 18:
  69527. // join
  69528. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  69529. break;
  69530. case 21:
  69531. // then
  69532. $async$temp1 = A;
  69533. $async$goto = 23;
  69534. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  69535. case 23:
  69536. // returning from await.
  69537. t1 = "(" + $async$temp1.S($async$result) + ")";
  69538. // goto break $label0$0
  69539. $async$goto = 3;
  69540. break;
  69541. case 22:
  69542. // join
  69543. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  69544. case 3:
  69545. // break $label0$0
  69546. $async$returnValue = t1;
  69547. // goto return
  69548. $async$goto = 1;
  69549. break;
  69550. case 1:
  69551. // return
  69552. return A._asyncReturn($async$returnValue, $async$completer);
  69553. }
  69554. });
  69555. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  69556. },
  69557. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  69558. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  69559. },
  69560. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  69561. var $async$goto = 0,
  69562. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69563. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  69564. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69565. if ($async$errorCode === 1) {
  69566. $async$errorStack.push($async$result);
  69567. $async$goto = $async$handler;
  69568. }
  69569. while (true)
  69570. switch ($async$goto) {
  69571. case 0:
  69572. // Function start
  69573. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  69574. $async$self._async_evaluate$_inSupportsDeclaration = true;
  69575. $async$handler = 3;
  69576. t1 = callback.call$0();
  69577. $async$goto = 6;
  69578. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  69579. case 6:
  69580. // returning from await.
  69581. t1 = $async$result;
  69582. $async$returnValue = t1;
  69583. $async$next = [1];
  69584. // goto finally
  69585. $async$goto = 4;
  69586. break;
  69587. $async$next.push(5);
  69588. // goto finally
  69589. $async$goto = 4;
  69590. break;
  69591. case 3:
  69592. // uncaught
  69593. $async$next = [2];
  69594. case 4:
  69595. // finally
  69596. $async$handler = 2;
  69597. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  69598. // goto the next finally handler
  69599. $async$goto = $async$next.pop();
  69600. break;
  69601. case 5:
  69602. // after finally
  69603. case 1:
  69604. // return
  69605. return A._asyncReturn($async$returnValue, $async$completer);
  69606. case 2:
  69607. // rethrow
  69608. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69609. }
  69610. });
  69611. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  69612. },
  69613. _async_evaluate$_parenthesize$2(condition, operator) {
  69614. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  69615. },
  69616. _async_evaluate$_parenthesize$1(condition) {
  69617. return this._async_evaluate$_parenthesize$2(condition, null);
  69618. },
  69619. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  69620. var $async$goto = 0,
  69621. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69622. $async$returnValue, $async$self = this, t1, $async$temp1;
  69623. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69624. if ($async$errorCode === 1)
  69625. return A._asyncRethrow($async$result, $async$completer);
  69626. while (true)
  69627. switch ($async$goto) {
  69628. case 0:
  69629. // Function start
  69630. if (!(condition instanceof A.SupportsNegation))
  69631. if (condition instanceof A.SupportsOperation)
  69632. t1 = operator == null || operator !== condition.operator;
  69633. else
  69634. t1 = false;
  69635. else
  69636. t1 = true;
  69637. $async$goto = t1 ? 3 : 4;
  69638. break;
  69639. case 3:
  69640. // then
  69641. $async$temp1 = A;
  69642. $async$goto = 5;
  69643. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69644. case 5:
  69645. // returning from await.
  69646. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  69647. // goto return
  69648. $async$goto = 1;
  69649. break;
  69650. case 4:
  69651. // join
  69652. $async$goto = 6;
  69653. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69654. case 6:
  69655. // returning from await.
  69656. $async$returnValue = $async$result;
  69657. // goto return
  69658. $async$goto = 1;
  69659. break;
  69660. case 1:
  69661. // return
  69662. return A._asyncReturn($async$returnValue, $async$completer);
  69663. }
  69664. });
  69665. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  69666. },
  69667. visitVariableDeclaration$1(_, node) {
  69668. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  69669. },
  69670. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  69671. var $async$goto = 0,
  69672. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69673. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  69674. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69675. if ($async$errorCode === 1)
  69676. return A._asyncRethrow($async$result, $async$completer);
  69677. while (true)
  69678. switch ($async$goto) {
  69679. case 0:
  69680. // Function start
  69681. if (node.isGuarded) {
  69682. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  69683. t1 = $async$self._async_evaluate$_configuration._configuration$_values;
  69684. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  69685. t1 = {};
  69686. t1.override = null;
  69687. if (_0_0 != null) {
  69688. t1.override = _0_0;
  69689. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  69690. } else
  69691. t2 = false;
  69692. if (t2) {
  69693. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  69694. $async$returnValue = null;
  69695. // goto return
  69696. $async$goto = 1;
  69697. break;
  69698. }
  69699. }
  69700. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  69701. if (value != null && !value.$eq(0, B.C__SassNull)) {
  69702. $async$returnValue = null;
  69703. // goto return
  69704. $async$goto = 1;
  69705. break;
  69706. }
  69707. }
  69708. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  69709. 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.";
  69710. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_Rg0);
  69711. }
  69712. t1 = node.expression;
  69713. t2 = t1.accept$1($async$self);
  69714. $async$temp1 = node;
  69715. $async$temp2 = A;
  69716. $async$temp3 = node;
  69717. $async$goto = 3;
  69718. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  69719. case 3:
  69720. // returning from await.
  69721. $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)));
  69722. $async$returnValue = null;
  69723. // goto return
  69724. $async$goto = 1;
  69725. break;
  69726. case 1:
  69727. // return
  69728. return A._asyncReturn($async$returnValue, $async$completer);
  69729. }
  69730. });
  69731. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  69732. },
  69733. visitUseRule$1(_, node) {
  69734. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  69735. },
  69736. visitUseRule$body$_EvaluateVisitor(_, node) {
  69737. var $async$goto = 0,
  69738. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69739. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  69740. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69741. if ($async$errorCode === 1)
  69742. return A._asyncRethrow($async$result, $async$completer);
  69743. while (true)
  69744. switch ($async$goto) {
  69745. case 0:
  69746. // Function start
  69747. t1 = node.configuration;
  69748. t2 = t1.length;
  69749. $async$goto = t2 !== 0 ? 3 : 5;
  69750. break;
  69751. case 3:
  69752. // then
  69753. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  69754. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  69755. case 6:
  69756. // for condition
  69757. if (!(_i < t2)) {
  69758. // goto after for
  69759. $async$goto = 8;
  69760. break;
  69761. }
  69762. variable = t1[_i];
  69763. t5 = variable.expression;
  69764. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  69765. t5 = t5.accept$1($async$self);
  69766. if (!t4._is(t5)) {
  69767. t6 = new A._Future($.Zone__current, t3);
  69768. t6._state = 8;
  69769. t6._resultOrListeners = t5;
  69770. t5 = t6;
  69771. }
  69772. $async$temp1 = values;
  69773. $async$temp2 = variable.name;
  69774. $async$temp3 = A;
  69775. $async$goto = 9;
  69776. return A._asyncAwait(t5, $async$visitUseRule$1);
  69777. case 9:
  69778. // returning from await.
  69779. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69780. case 7:
  69781. // for update
  69782. ++_i;
  69783. // goto for condition
  69784. $async$goto = 6;
  69785. break;
  69786. case 8:
  69787. // after for
  69788. configuration = new A.ExplicitConfiguration(node, values, null);
  69789. // goto join
  69790. $async$goto = 4;
  69791. break;
  69792. case 5:
  69793. // else
  69794. configuration = B.Configuration_Map_empty_null;
  69795. case 4:
  69796. // join
  69797. $async$goto = 10;
  69798. 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);
  69799. case 10:
  69800. // returning from await.
  69801. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  69802. $async$returnValue = null;
  69803. // goto return
  69804. $async$goto = 1;
  69805. break;
  69806. case 1:
  69807. // return
  69808. return A._asyncReturn($async$returnValue, $async$completer);
  69809. }
  69810. });
  69811. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  69812. },
  69813. visitWarnRule$1(_, node) {
  69814. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  69815. },
  69816. visitWarnRule$body$_EvaluateVisitor(_, node) {
  69817. var $async$goto = 0,
  69818. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69819. $async$returnValue, $async$self = this, value, t1, t2;
  69820. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69821. if ($async$errorCode === 1)
  69822. return A._asyncRethrow($async$result, $async$completer);
  69823. while (true)
  69824. switch ($async$goto) {
  69825. case 0:
  69826. // Function start
  69827. $async$goto = 3;
  69828. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  69829. case 3:
  69830. // returning from await.
  69831. value = $async$result;
  69832. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  69833. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  69834. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  69835. $async$returnValue = null;
  69836. // goto return
  69837. $async$goto = 1;
  69838. break;
  69839. case 1:
  69840. // return
  69841. return A._asyncReturn($async$returnValue, $async$completer);
  69842. }
  69843. });
  69844. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  69845. },
  69846. visitWhileRule$1(_, node) {
  69847. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  69848. },
  69849. visitBinaryOperationExpression$1(_, node) {
  69850. var t1, _this = this;
  69851. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69852. t1 = node.operator;
  69853. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  69854. } else
  69855. t1 = false;
  69856. if (t1)
  69857. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  69858. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  69859. },
  69860. _async_evaluate$_slash$3(left, right, node) {
  69861. var t2, _1_1,
  69862. result = left.dividedBy$1(right),
  69863. _1_2_isSet = left instanceof A.SassNumber,
  69864. _1_2 = null, right0 = null,
  69865. t1 = false;
  69866. if (_1_2_isSet) {
  69867. t2 = type$.SassNumber;
  69868. t2._as(left);
  69869. if (right instanceof A.SassNumber) {
  69870. t2._as(right);
  69871. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  69872. right0 = right;
  69873. _1_2 = right0;
  69874. } else
  69875. _1_2 = right;
  69876. _1_1 = left;
  69877. } else {
  69878. _1_1 = left;
  69879. left = null;
  69880. }
  69881. if (t1)
  69882. return type$.SassNumber._as(result).withSlash$2(left, right0);
  69883. if (_1_1 instanceof A.SassNumber)
  69884. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  69885. else
  69886. t1 = false;
  69887. if (t1) {
  69888. 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);
  69889. return result;
  69890. }
  69891. return result;
  69892. },
  69893. _async_evaluate$_operandAllowsSlash$1(node) {
  69894. var t1;
  69895. if (node instanceof A.FunctionExpression)
  69896. if (node.namespace == null) {
  69897. t1 = node.name;
  69898. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  69899. } else
  69900. t1 = false;
  69901. else
  69902. t1 = true;
  69903. return t1;
  69904. },
  69905. visitValueExpression$1(_, node) {
  69906. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  69907. },
  69908. visitValueExpression$body$_EvaluateVisitor(_, node) {
  69909. var $async$goto = 0,
  69910. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69911. $async$returnValue;
  69912. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69913. if ($async$errorCode === 1)
  69914. return A._asyncRethrow($async$result, $async$completer);
  69915. while (true)
  69916. switch ($async$goto) {
  69917. case 0:
  69918. // Function start
  69919. $async$returnValue = node.value;
  69920. // goto return
  69921. $async$goto = 1;
  69922. break;
  69923. case 1:
  69924. // return
  69925. return A._asyncReturn($async$returnValue, $async$completer);
  69926. }
  69927. });
  69928. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  69929. },
  69930. visitVariableExpression$1(_, node) {
  69931. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  69932. },
  69933. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  69934. var $async$goto = 0,
  69935. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69936. $async$returnValue, $async$self = this, result;
  69937. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69938. if ($async$errorCode === 1)
  69939. return A._asyncRethrow($async$result, $async$completer);
  69940. while (true)
  69941. switch ($async$goto) {
  69942. case 0:
  69943. // Function start
  69944. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  69945. if (result != null) {
  69946. $async$returnValue = result;
  69947. // goto return
  69948. $async$goto = 1;
  69949. break;
  69950. }
  69951. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  69952. case 1:
  69953. // return
  69954. return A._asyncReturn($async$returnValue, $async$completer);
  69955. }
  69956. });
  69957. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  69958. },
  69959. visitUnaryOperationExpression$1(_, node) {
  69960. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  69961. },
  69962. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  69963. var $async$goto = 0,
  69964. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69965. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  69966. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69967. if ($async$errorCode === 1)
  69968. return A._asyncRethrow($async$result, $async$completer);
  69969. while (true)
  69970. switch ($async$goto) {
  69971. case 0:
  69972. // Function start
  69973. $async$temp1 = node;
  69974. $async$temp2 = A;
  69975. $async$temp3 = node;
  69976. $async$goto = 3;
  69977. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  69978. case 3:
  69979. // returning from await.
  69980. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  69981. // goto return
  69982. $async$goto = 1;
  69983. break;
  69984. case 1:
  69985. // return
  69986. return A._asyncReturn($async$returnValue, $async$completer);
  69987. }
  69988. });
  69989. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  69990. },
  69991. visitBooleanExpression$1(_, node) {
  69992. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  69993. },
  69994. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  69995. var $async$goto = 0,
  69996. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  69997. $async$returnValue;
  69998. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69999. if ($async$errorCode === 1)
  70000. return A._asyncRethrow($async$result, $async$completer);
  70001. while (true)
  70002. switch ($async$goto) {
  70003. case 0:
  70004. // Function start
  70005. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  70006. // goto return
  70007. $async$goto = 1;
  70008. break;
  70009. case 1:
  70010. // return
  70011. return A._asyncReturn($async$returnValue, $async$completer);
  70012. }
  70013. });
  70014. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70015. },
  70016. visitIfExpression$1(_, node) {
  70017. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70018. },
  70019. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70020. var $async$goto = 0,
  70021. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70022. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70023. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70024. if ($async$errorCode === 1)
  70025. return A._asyncRethrow($async$result, $async$completer);
  70026. while (true)
  70027. switch ($async$goto) {
  70028. case 0:
  70029. // Function start
  70030. $async$goto = 3;
  70031. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70032. case 3:
  70033. // returning from await.
  70034. _0_0 = $async$result;
  70035. positional = _0_0._0;
  70036. named = _0_0._1;
  70037. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70038. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70039. if (condition == null) {
  70040. t1 = named.$index(0, "condition");
  70041. t1.toString;
  70042. condition = t1;
  70043. }
  70044. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70045. if (ifTrue == null) {
  70046. t1 = named.$index(0, "if-true");
  70047. t1.toString;
  70048. ifTrue = t1;
  70049. }
  70050. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70051. if (ifFalse == null) {
  70052. t1 = named.$index(0, "if-false");
  70053. t1.toString;
  70054. ifFalse = t1;
  70055. }
  70056. $async$goto = 4;
  70057. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70058. case 4:
  70059. // returning from await.
  70060. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70061. t1 = result.accept$1($async$self);
  70062. $async$goto = 5;
  70063. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70064. case 5:
  70065. // returning from await.
  70066. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70067. // goto return
  70068. $async$goto = 1;
  70069. break;
  70070. case 1:
  70071. // return
  70072. return A._asyncReturn($async$returnValue, $async$completer);
  70073. }
  70074. });
  70075. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70076. },
  70077. visitNullExpression$1(_, node) {
  70078. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70079. },
  70080. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70081. var $async$goto = 0,
  70082. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70083. $async$returnValue;
  70084. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70085. if ($async$errorCode === 1)
  70086. return A._asyncRethrow($async$result, $async$completer);
  70087. while (true)
  70088. switch ($async$goto) {
  70089. case 0:
  70090. // Function start
  70091. $async$returnValue = B.C__SassNull;
  70092. // goto return
  70093. $async$goto = 1;
  70094. break;
  70095. case 1:
  70096. // return
  70097. return A._asyncReturn($async$returnValue, $async$completer);
  70098. }
  70099. });
  70100. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70101. },
  70102. visitNumberExpression$1(_, node) {
  70103. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70104. },
  70105. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70106. var $async$goto = 0,
  70107. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70108. $async$returnValue;
  70109. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70110. if ($async$errorCode === 1)
  70111. return A._asyncRethrow($async$result, $async$completer);
  70112. while (true)
  70113. switch ($async$goto) {
  70114. case 0:
  70115. // Function start
  70116. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70117. // goto return
  70118. $async$goto = 1;
  70119. break;
  70120. case 1:
  70121. // return
  70122. return A._asyncReturn($async$returnValue, $async$completer);
  70123. }
  70124. });
  70125. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70126. },
  70127. visitParenthesizedExpression$1(_, node) {
  70128. var _this = this;
  70129. 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);
  70130. },
  70131. visitColorExpression$1(_, node) {
  70132. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70133. },
  70134. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70135. var $async$goto = 0,
  70136. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70137. $async$returnValue;
  70138. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70139. if ($async$errorCode === 1)
  70140. return A._asyncRethrow($async$result, $async$completer);
  70141. while (true)
  70142. switch ($async$goto) {
  70143. case 0:
  70144. // Function start
  70145. $async$returnValue = node.value;
  70146. // goto return
  70147. $async$goto = 1;
  70148. break;
  70149. case 1:
  70150. // return
  70151. return A._asyncReturn($async$returnValue, $async$completer);
  70152. }
  70153. });
  70154. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70155. },
  70156. visitListExpression$1(_, node) {
  70157. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70158. },
  70159. visitListExpression$body$_EvaluateVisitor(_, node) {
  70160. var $async$goto = 0,
  70161. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70162. $async$returnValue, $async$self = this, $async$temp1;
  70163. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70164. if ($async$errorCode === 1)
  70165. return A._asyncRethrow($async$result, $async$completer);
  70166. while (true)
  70167. switch ($async$goto) {
  70168. case 0:
  70169. // Function start
  70170. $async$temp1 = A;
  70171. $async$goto = 3;
  70172. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70173. case 3:
  70174. // returning from await.
  70175. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70176. // goto return
  70177. $async$goto = 1;
  70178. break;
  70179. case 1:
  70180. // return
  70181. return A._asyncReturn($async$returnValue, $async$completer);
  70182. }
  70183. });
  70184. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70185. },
  70186. visitMapExpression$1(_, node) {
  70187. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70188. },
  70189. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70190. var $async$goto = 0,
  70191. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70192. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70193. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70194. if ($async$errorCode === 1)
  70195. return A._asyncRethrow($async$result, $async$completer);
  70196. while (true)
  70197. switch ($async$goto) {
  70198. case 0:
  70199. // Function start
  70200. t1 = type$.Value;
  70201. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70202. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70203. t2 = node.pairs, t3 = t2.length, _i = 0;
  70204. case 3:
  70205. // for condition
  70206. if (!(_i < t3)) {
  70207. // goto after for
  70208. $async$goto = 5;
  70209. break;
  70210. }
  70211. t4 = t2[_i];
  70212. key = t4._0;
  70213. $async$goto = 6;
  70214. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70215. case 6:
  70216. // returning from await.
  70217. keyValue = $async$result;
  70218. $async$goto = 7;
  70219. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70220. case 7:
  70221. // returning from await.
  70222. valueValue = $async$result;
  70223. if (map.containsKey$1(keyValue)) {
  70224. t1 = keyNodes.$index(0, keyValue);
  70225. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70226. t1 = key.get$span(key);
  70227. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70228. if (oldValueSpan != null)
  70229. t2.$indexSet(0, oldValueSpan, "first key");
  70230. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70231. }
  70232. map.$indexSet(0, keyValue, valueValue);
  70233. keyNodes.$indexSet(0, keyValue, key);
  70234. case 4:
  70235. // for update
  70236. ++_i;
  70237. // goto for condition
  70238. $async$goto = 3;
  70239. break;
  70240. case 5:
  70241. // after for
  70242. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70243. // goto return
  70244. $async$goto = 1;
  70245. break;
  70246. case 1:
  70247. // return
  70248. return A._asyncReturn($async$returnValue, $async$completer);
  70249. }
  70250. });
  70251. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70252. },
  70253. visitFunctionExpression$1(_, node) {
  70254. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70255. },
  70256. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70257. var $async$goto = 0,
  70258. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70259. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70260. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70261. if ($async$errorCode === 1)
  70262. return A._asyncRethrow($async$result, $async$completer);
  70263. while (true)
  70264. switch ($async$goto) {
  70265. case 0:
  70266. // Function start
  70267. t1 = {};
  70268. $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));
  70269. t1.$function = $function;
  70270. $async$goto = $function == null ? 3 : 5;
  70271. break;
  70272. case 3:
  70273. // then
  70274. if (node.namespace != null)
  70275. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70276. t2 = node.name;
  70277. _0_0 = t2.toLowerCase();
  70278. t3 = false;
  70279. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70280. t3 = node.$arguments;
  70281. t4 = t3.named;
  70282. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70283. $name = _0_0;
  70284. } else
  70285. $name = null;
  70286. $async$goto = t3 ? 6 : 7;
  70287. break;
  70288. case 6:
  70289. // then
  70290. $async$goto = 8;
  70291. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70292. case 8:
  70293. // returning from await.
  70294. $async$returnValue = $async$result;
  70295. // goto return
  70296. $async$goto = 1;
  70297. break;
  70298. case 7:
  70299. // join
  70300. $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;
  70301. break;
  70302. case 9:
  70303. // then
  70304. $async$goto = 11;
  70305. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70306. case 11:
  70307. // returning from await.
  70308. $async$returnValue = $async$result;
  70309. // goto return
  70310. $async$goto = 1;
  70311. break;
  70312. case 10:
  70313. // join
  70314. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70315. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70316. // goto join
  70317. $async$goto = 4;
  70318. break;
  70319. case 5:
  70320. // else
  70321. t2 = $function;
  70322. case 4:
  70323. // join
  70324. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  70325. $async$self._async_evaluate$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_Kg6);
  70326. oldInFunction = $async$self._async_evaluate$_inFunction;
  70327. $async$self._async_evaluate$_inFunction = true;
  70328. $async$goto = 12;
  70329. 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);
  70330. case 12:
  70331. // returning from await.
  70332. result = $async$result;
  70333. $async$self._async_evaluate$_inFunction = oldInFunction;
  70334. $async$returnValue = result;
  70335. // goto return
  70336. $async$goto = 1;
  70337. break;
  70338. case 1:
  70339. // return
  70340. return A._asyncReturn($async$returnValue, $async$completer);
  70341. }
  70342. });
  70343. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70344. },
  70345. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70346. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70347. },
  70348. _async_evaluate$_visitCalculation$1(node) {
  70349. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70350. },
  70351. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70352. var $async$goto = 0,
  70353. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70354. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70355. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70356. if ($async$errorCode === 1)
  70357. return A._asyncRethrow($async$result, $async$completer);
  70358. while (true)
  70359. switch ($async$goto) {
  70360. case 0:
  70361. // Function start
  70362. t2 = node.$arguments;
  70363. t3 = t2.named;
  70364. if (t3.get$isNotEmpty(t3))
  70365. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70366. else if (t2.rest != null)
  70367. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70368. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70369. t3 = A._setArrayType([], type$.JSArray_Object);
  70370. t2 = t2.positional, t4 = t2.length, _i = 0;
  70371. case 3:
  70372. // for condition
  70373. if (!(_i < t4)) {
  70374. // goto after for
  70375. $async$goto = 5;
  70376. break;
  70377. }
  70378. $async$temp1 = t3;
  70379. $async$goto = 6;
  70380. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70381. case 6:
  70382. // returning from await.
  70383. $async$temp1.push($async$result);
  70384. case 4:
  70385. // for update
  70386. ++_i;
  70387. // goto for condition
  70388. $async$goto = 3;
  70389. break;
  70390. case 5:
  70391. // after for
  70392. $arguments = t3;
  70393. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70394. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70395. // goto return
  70396. $async$goto = 1;
  70397. break;
  70398. }
  70399. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70400. $async$self._async_evaluate$_callableNode = node;
  70401. try {
  70402. t1 = null;
  70403. t3 = node.name;
  70404. _0_0 = t3.toLowerCase();
  70405. $label0$0: {
  70406. if ("calc" === _0_0) {
  70407. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  70408. break $label0$0;
  70409. }
  70410. if ("sqrt" === _0_0) {
  70411. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  70412. break $label0$0;
  70413. }
  70414. if ("sin" === _0_0) {
  70415. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  70416. break $label0$0;
  70417. }
  70418. if ("cos" === _0_0) {
  70419. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  70420. break $label0$0;
  70421. }
  70422. if ("tan" === _0_0) {
  70423. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  70424. break $label0$0;
  70425. }
  70426. if ("asin" === _0_0) {
  70427. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  70428. break $label0$0;
  70429. }
  70430. if ("acos" === _0_0) {
  70431. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  70432. break $label0$0;
  70433. }
  70434. if ("atan" === _0_0) {
  70435. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  70436. break $label0$0;
  70437. }
  70438. if ("abs" === _0_0) {
  70439. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  70440. break $label0$0;
  70441. }
  70442. if ("exp" === _0_0) {
  70443. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  70444. break $label0$0;
  70445. }
  70446. if ("sign" === _0_0) {
  70447. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  70448. break $label0$0;
  70449. }
  70450. if ("min" === _0_0) {
  70451. t1 = A.SassCalculation_min($arguments);
  70452. break $label0$0;
  70453. }
  70454. if ("max" === _0_0) {
  70455. t1 = A.SassCalculation_max($arguments);
  70456. break $label0$0;
  70457. }
  70458. if ("hypot" === _0_0) {
  70459. t1 = A.SassCalculation_hypot($arguments);
  70460. break $label0$0;
  70461. }
  70462. if ("pow" === _0_0) {
  70463. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70464. break $label0$0;
  70465. }
  70466. if ("atan2" === _0_0) {
  70467. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70468. break $label0$0;
  70469. }
  70470. if ("log" === _0_0) {
  70471. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70472. break $label0$0;
  70473. }
  70474. if ("mod" === _0_0) {
  70475. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70476. break $label0$0;
  70477. }
  70478. if ("rem" === _0_0) {
  70479. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70480. break $label0$0;
  70481. }
  70482. if ("round" === _0_0) {
  70483. 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));
  70484. break $label0$0;
  70485. }
  70486. if ("clamp" === _0_0) {
  70487. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  70488. break $label0$0;
  70489. }
  70490. if ("calc-size" === _0_0) {
  70491. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70492. break $label0$0;
  70493. }
  70494. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  70495. t1 = A.throwExpression(t3);
  70496. }
  70497. t1 = t1;
  70498. $async$returnValue = t1;
  70499. // goto return
  70500. $async$goto = 1;
  70501. break;
  70502. } catch (exception) {
  70503. t1 = A.unwrapException(exception);
  70504. if (t1 instanceof A.SassScriptException) {
  70505. error = t1;
  70506. stackTrace = A.getTraceFromException(exception);
  70507. if (B.JSString_methods.contains$1(error.message, "compatible"))
  70508. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  70509. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  70510. } else
  70511. throw exception;
  70512. } finally {
  70513. $async$self._async_evaluate$_callableNode = oldCallableNode;
  70514. }
  70515. case 1:
  70516. // return
  70517. return A._asyncReturn($async$returnValue, $async$completer);
  70518. }
  70519. });
  70520. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  70521. },
  70522. _async_evaluate$_checkCalculationArguments$1(node) {
  70523. var t1, _0_0,
  70524. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  70525. $label0$0: {
  70526. t1 = node.name;
  70527. _0_0 = t1.toLowerCase();
  70528. 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) {
  70529. check.call$1(1);
  70530. break $label0$0;
  70531. }
  70532. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  70533. check.call$0();
  70534. break $label0$0;
  70535. }
  70536. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  70537. check.call$1(2);
  70538. break $label0$0;
  70539. }
  70540. if ("round" === _0_0 || "clamp" === _0_0) {
  70541. check.call$1(3);
  70542. break $label0$0;
  70543. }
  70544. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  70545. }
  70546. },
  70547. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  70548. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  70549. for (i = 0; t1 = args.length, i < t1; ++i) {
  70550. _0_0 = args[i];
  70551. if (_0_0 instanceof A.SassNumber) {
  70552. t1 = _0_0.get$hasComplexUnits();
  70553. arg = _0_0;
  70554. } else {
  70555. arg = null;
  70556. t1 = false;
  70557. }
  70558. if (t1) {
  70559. t1 = A.S(arg);
  70560. t2 = nodesWithSpans[i];
  70561. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  70562. }
  70563. }
  70564. for (i = 0; i < t1 - 1; ++i) {
  70565. number1 = args[i];
  70566. if (!(number1 instanceof A.SassNumber))
  70567. continue;
  70568. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  70569. number2 = args[j];
  70570. if (!(number2 instanceof A.SassNumber))
  70571. continue;
  70572. if (number1.hasPossiblyCompatibleUnits$1(number2))
  70573. continue;
  70574. t1 = number1.toString$0(0);
  70575. t2 = number2.toString$0(0);
  70576. t3 = nodesWithSpans[i];
  70577. t3 = t3.get$span(t3);
  70578. t4 = number1.toString$0(0);
  70579. t5 = nodesWithSpans[j];
  70580. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  70581. t6 = nodesWithSpans[i];
  70582. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  70583. }
  70584. }
  70585. },
  70586. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  70587. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  70588. },
  70589. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70590. var $async$goto = 0,
  70591. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70592. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  70593. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70594. if ($async$errorCode === 1)
  70595. return A._asyncRethrow($async$result, $async$completer);
  70596. while (true)
  70597. switch ($async$goto) {
  70598. case 0:
  70599. // Function start
  70600. t1 = node instanceof A.ParenthesizedExpression;
  70601. inner = t1 ? node.expression : null;
  70602. $async$goto = t1 ? 3 : 4;
  70603. break;
  70604. case 3:
  70605. // then
  70606. $async$goto = 5;
  70607. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70608. case 5:
  70609. // returning from await.
  70610. result = $async$result;
  70611. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  70612. // goto return
  70613. $async$goto = 1;
  70614. break;
  70615. case 4:
  70616. // join
  70617. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  70618. break;
  70619. case 6:
  70620. // then
  70621. t1 = node.text;
  70622. t2 = t1.get$asPlain();
  70623. _0_0 = t2 == null ? null : t2.toLowerCase();
  70624. if ("pi" === _0_0) {
  70625. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  70626. // goto break $label0$0
  70627. $async$goto = 8;
  70628. break;
  70629. }
  70630. if ("e" === _0_0) {
  70631. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  70632. // goto break $label0$0
  70633. $async$goto = 8;
  70634. break;
  70635. }
  70636. if ("infinity" === _0_0) {
  70637. t1 = A.SassNumber_SassNumber(1 / 0, null);
  70638. // goto break $label0$0
  70639. $async$goto = 8;
  70640. break;
  70641. }
  70642. if ("-infinity" === _0_0) {
  70643. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  70644. // goto break $label0$0
  70645. $async$goto = 8;
  70646. break;
  70647. }
  70648. if ("nan" === _0_0) {
  70649. t1 = A.SassNumber_SassNumber(0 / 0, null);
  70650. // goto break $label0$0
  70651. $async$goto = 8;
  70652. break;
  70653. }
  70654. $async$temp1 = A;
  70655. $async$goto = 9;
  70656. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70657. case 9:
  70658. // returning from await.
  70659. t1 = new $async$temp1.SassString($async$result, false);
  70660. // goto break $label0$0
  70661. $async$goto = 8;
  70662. break;
  70663. case 8:
  70664. // break $label0$0
  70665. $async$returnValue = t1;
  70666. // goto return
  70667. $async$goto = 1;
  70668. break;
  70669. case 7:
  70670. // join
  70671. _box_0 = {};
  70672. _box_0.right = _box_0.left = _box_0.operator = null;
  70673. t1 = node instanceof A.BinaryOperationExpression;
  70674. if (t1) {
  70675. _box_0.operator = node.operator;
  70676. _box_0.left = node.left;
  70677. _box_0.right = node.right;
  70678. }
  70679. $async$goto = t1 ? 10 : 11;
  70680. break;
  70681. case 10:
  70682. // then
  70683. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  70684. $async$goto = 12;
  70685. 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);
  70686. case 12:
  70687. // returning from await.
  70688. $async$returnValue = $async$result;
  70689. // goto return
  70690. $async$goto = 1;
  70691. break;
  70692. case 11:
  70693. // join
  70694. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  70695. break;
  70696. case 13:
  70697. // then
  70698. $async$goto = 15;
  70699. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70700. case 15:
  70701. // returning from await.
  70702. _1_0 = $async$result;
  70703. $label1$1: {
  70704. if (_1_0 instanceof A.SassNumber) {
  70705. t1 = _1_0;
  70706. break $label1$1;
  70707. }
  70708. if (_1_0 instanceof A.SassCalculation) {
  70709. t1 = _1_0;
  70710. break $label1$1;
  70711. }
  70712. if (_1_0 instanceof A.SassString) {
  70713. t1 = !_1_0._hasQuotes;
  70714. result = _1_0;
  70715. } else {
  70716. result = null;
  70717. t1 = false;
  70718. }
  70719. if (t1) {
  70720. t1 = result;
  70721. break $label1$1;
  70722. }
  70723. 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)));
  70724. }
  70725. $async$returnValue = t1;
  70726. // goto return
  70727. $async$goto = 1;
  70728. break;
  70729. case 14:
  70730. // join
  70731. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2 ? 16 : 17;
  70732. break;
  70733. case 16:
  70734. // then
  70735. t1 = A._setArrayType([], type$.JSArray_Object);
  70736. t2 = node.contents, t3 = t2.length, _i = 0;
  70737. case 18:
  70738. // for condition
  70739. if (!(_i < t3)) {
  70740. // goto after for
  70741. $async$goto = 20;
  70742. break;
  70743. }
  70744. $async$temp1 = t1;
  70745. $async$goto = 21;
  70746. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70747. case 21:
  70748. // returning from await.
  70749. $async$temp1.push($async$result);
  70750. case 19:
  70751. // for update
  70752. ++_i;
  70753. // goto for condition
  70754. $async$goto = 18;
  70755. break;
  70756. case 20:
  70757. // after for
  70758. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  70759. for (i = 0; i < t1.length; ++i) {
  70760. t3 = t1[i];
  70761. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  70762. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  70763. }
  70764. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  70765. // goto return
  70766. $async$goto = 1;
  70767. break;
  70768. case 17:
  70769. // join
  70770. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  70771. case 1:
  70772. // return
  70773. return A._asyncReturn($async$returnValue, $async$completer);
  70774. }
  70775. });
  70776. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  70777. },
  70778. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  70779. var t2, t3, t4, textBetweenOperands, first, last,
  70780. t1 = node.operator;
  70781. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  70782. return;
  70783. t1 = node.left;
  70784. t2 = t1.get$span(t1);
  70785. t2 = t2.get$file(t2);
  70786. t3 = node.right;
  70787. t4 = t3.get$span(t3);
  70788. if (t2 !== t4.get$file(t4))
  70789. return;
  70790. t2 = t1.get$span(t1);
  70791. t2 = t2.get$end(t2);
  70792. t4 = t3.get$span(t3);
  70793. if (t2.offset >= t4.get$start(t4).offset)
  70794. return;
  70795. t2 = t1.get$span(t1);
  70796. t2 = t2.get$file(t2);
  70797. t1 = t1.get$span(t1);
  70798. t1 = t1.get$end(t1);
  70799. t3 = t3.get$span(t3);
  70800. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  70801. first = textBetweenOperands.charCodeAt(0);
  70802. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  70803. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  70804. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  70805. else
  70806. t1 = true;
  70807. if (t1)
  70808. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  70809. },
  70810. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  70811. var t1;
  70812. $label0$0: {
  70813. if (B.BinaryOperator_Swh === operator) {
  70814. t1 = B.CalculationOperator_F7i;
  70815. break $label0$0;
  70816. }
  70817. if (B.BinaryOperator_QG1 === operator) {
  70818. t1 = B.CalculationOperator_oum;
  70819. break $label0$0;
  70820. }
  70821. if (B.BinaryOperator_tht === operator) {
  70822. t1 = B.CalculationOperator_kkN;
  70823. break $label0$0;
  70824. }
  70825. if (B.BinaryOperator_Mh5 === operator) {
  70826. t1 = B.CalculationOperator_bo5;
  70827. break $label0$0;
  70828. }
  70829. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  70830. }
  70831. return t1;
  70832. },
  70833. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  70834. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  70835. for (t1 = elements.length, i = 1; i < t1; ++i) {
  70836. t2 = i - 1;
  70837. previous = elements[t2];
  70838. current = elements[i];
  70839. if (previous instanceof A.SassString || current instanceof A.SassString)
  70840. continue;
  70841. t1 = node.contents;
  70842. previousNode = t1[t2];
  70843. currentNode = t1[i];
  70844. if (currentNode instanceof A.UnaryOperationExpression) {
  70845. _0_2 = currentNode.operator;
  70846. if (B.UnaryOperator_UCP !== _0_2)
  70847. t1 = B.UnaryOperator_Rbl === _0_2;
  70848. else
  70849. t1 = true;
  70850. } else
  70851. t1 = false;
  70852. if (!t1)
  70853. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  70854. else
  70855. t1 = true;
  70856. if (t1)
  70857. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  70858. else
  70859. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  70860. }
  70861. },
  70862. visitInterpolatedFunctionExpression$1(_, node) {
  70863. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  70864. },
  70865. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  70866. var $async$goto = 0,
  70867. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70868. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  70869. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70870. if ($async$errorCode === 1)
  70871. return A._asyncRethrow($async$result, $async$completer);
  70872. while (true)
  70873. switch ($async$goto) {
  70874. case 0:
  70875. // Function start
  70876. $async$goto = 3;
  70877. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  70878. case 3:
  70879. // returning from await.
  70880. t1 = $async$result;
  70881. oldInFunction = $async$self._async_evaluate$_inFunction;
  70882. $async$self._async_evaluate$_inFunction = true;
  70883. $async$goto = 4;
  70884. 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);
  70885. case 4:
  70886. // returning from await.
  70887. result = $async$result;
  70888. $async$self._async_evaluate$_inFunction = oldInFunction;
  70889. $async$returnValue = result;
  70890. // goto return
  70891. $async$goto = 1;
  70892. break;
  70893. case 1:
  70894. // return
  70895. return A._asyncReturn($async$returnValue, $async$completer);
  70896. }
  70897. });
  70898. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  70899. },
  70900. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  70901. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  70902. },
  70903. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  70904. var $async$goto = 0,
  70905. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  70906. $async$returnValue, $async$self = this, oldCallable, oldInDependency, result, evaluated, $name;
  70907. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70908. if ($async$errorCode === 1)
  70909. return A._asyncRethrow($async$result, $async$completer);
  70910. while (true)
  70911. switch ($async$goto) {
  70912. case 0:
  70913. // Function start
  70914. $async$goto = 3;
  70915. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  70916. case 3:
  70917. // returning from await.
  70918. evaluated = $async$result;
  70919. $name = callable.declaration.name;
  70920. if ($name !== "@content")
  70921. $name += "()";
  70922. oldCallable = $async$self._async_evaluate$_currentCallable;
  70923. oldInDependency = $async$self._async_evaluate$_inDependency;
  70924. $async$self._async_evaluate$_currentCallable = callable;
  70925. $async$self._async_evaluate$_inDependency = callable.inDependency;
  70926. $async$goto = 4;
  70927. 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);
  70928. case 4:
  70929. // returning from await.
  70930. result = $async$result;
  70931. $async$self._async_evaluate$_currentCallable = oldCallable;
  70932. $async$self._async_evaluate$_inDependency = oldInDependency;
  70933. $async$returnValue = result;
  70934. // goto return
  70935. $async$goto = 1;
  70936. break;
  70937. case 1:
  70938. // return
  70939. return A._asyncReturn($async$returnValue, $async$completer);
  70940. }
  70941. });
  70942. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  70943. },
  70944. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  70945. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  70946. },
  70947. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  70948. var $async$goto = 0,
  70949. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70950. $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;
  70951. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70952. if ($async$errorCode === 1) {
  70953. $async$errorStack.push($async$result);
  70954. $async$goto = $async$handler;
  70955. }
  70956. while (true)
  70957. switch ($async$goto) {
  70958. case 0:
  70959. // Function start
  70960. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  70961. break;
  70962. case 3:
  70963. // then
  70964. $async$goto = 6;
  70965. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  70966. case 6:
  70967. // returning from await.
  70968. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  70969. // goto return
  70970. $async$goto = 1;
  70971. break;
  70972. // goto join
  70973. $async$goto = 4;
  70974. break;
  70975. case 5:
  70976. // else
  70977. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  70978. break;
  70979. case 7:
  70980. // then
  70981. $async$goto = 10;
  70982. 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);
  70983. case 10:
  70984. // returning from await.
  70985. $async$returnValue = $async$result;
  70986. // goto return
  70987. $async$goto = 1;
  70988. break;
  70989. // goto join
  70990. $async$goto = 8;
  70991. break;
  70992. case 9:
  70993. // else
  70994. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  70995. break;
  70996. case 11:
  70997. // then
  70998. t1 = $arguments.named;
  70999. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  71000. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  71001. buffer = new A.StringBuffer(callable.name + "(");
  71002. $async$handler = 15;
  71003. first = true;
  71004. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  71005. case 18:
  71006. // for condition
  71007. if (!(_i < t2)) {
  71008. // goto after for
  71009. $async$goto = 20;
  71010. break;
  71011. }
  71012. argument = t1[_i];
  71013. if (first)
  71014. first = false;
  71015. else
  71016. buffer._contents += ", ";
  71017. t3 = buffer;
  71018. $async$temp1 = A;
  71019. $async$goto = 21;
  71020. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71021. case 21:
  71022. // returning from await.
  71023. t4 = $async$temp1.S($async$result);
  71024. t3._contents += t4;
  71025. case 19:
  71026. // for update
  71027. ++_i;
  71028. // goto for condition
  71029. $async$goto = 18;
  71030. break;
  71031. case 20:
  71032. // after for
  71033. restArg = $arguments.rest;
  71034. $async$goto = restArg != null ? 22 : 23;
  71035. break;
  71036. case 22:
  71037. // then
  71038. $async$goto = 24;
  71039. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71040. case 24:
  71041. // returning from await.
  71042. rest = $async$result;
  71043. if (!first)
  71044. buffer._contents += ", ";
  71045. t1 = buffer;
  71046. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71047. t1._contents += t2;
  71048. case 23:
  71049. // join
  71050. $async$handler = 2;
  71051. // goto after finally
  71052. $async$goto = 17;
  71053. break;
  71054. case 15:
  71055. // catch
  71056. $async$handler = 14;
  71057. $async$exception = $async$errorStack.pop();
  71058. t1 = A.unwrapException($async$exception);
  71059. if (type$.SassRuntimeException._is(t1)) {
  71060. error = t1;
  71061. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71062. throw $async$exception;
  71063. 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));
  71064. } else
  71065. throw $async$exception;
  71066. // goto after finally
  71067. $async$goto = 17;
  71068. break;
  71069. case 14:
  71070. // uncaught
  71071. // goto rethrow
  71072. $async$goto = 2;
  71073. break;
  71074. case 17:
  71075. // after finally
  71076. t1 = buffer;
  71077. t2 = A.Primitives_stringFromCharCode(41);
  71078. t1._contents += t2;
  71079. t2 = buffer._contents;
  71080. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71081. // goto return
  71082. $async$goto = 1;
  71083. break;
  71084. // goto join
  71085. $async$goto = 12;
  71086. break;
  71087. case 13:
  71088. // else
  71089. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71090. case 12:
  71091. // join
  71092. case 8:
  71093. // join
  71094. case 4:
  71095. // join
  71096. case 1:
  71097. // return
  71098. return A._asyncReturn($async$returnValue, $async$completer);
  71099. case 2:
  71100. // rethrow
  71101. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71102. }
  71103. });
  71104. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71105. },
  71106. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71107. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71108. },
  71109. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71110. var $async$goto = 0,
  71111. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71112. $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;
  71113. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71114. if ($async$errorCode === 1) {
  71115. $async$errorStack.push($async$result);
  71116. $async$goto = $async$handler;
  71117. }
  71118. while (true)
  71119. switch ($async$goto) {
  71120. case 0:
  71121. // Function start
  71122. _box_0 = {};
  71123. $async$goto = 3;
  71124. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71125. case 3:
  71126. // returning from await.
  71127. evaluated = $async$result;
  71128. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71129. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71130. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71131. _box_0.callback = _box_0.overload = null;
  71132. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71133. _box_0.overload = _0_0._0;
  71134. _box_0.callback = _0_0._1;
  71135. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71136. parameters = _box_0.overload.parameters;
  71137. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71138. case 4:
  71139. // for condition
  71140. if (!(i < t1)) {
  71141. // goto after for
  71142. $async$goto = 6;
  71143. break;
  71144. }
  71145. parameter = parameters[i];
  71146. t4 = evaluated._values[2];
  71147. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71148. $async$goto = t5 == null ? 7 : 8;
  71149. break;
  71150. case 7:
  71151. // then
  71152. t5 = parameter.defaultValue;
  71153. t6 = t5.accept$1($async$self);
  71154. if (!t3._is(t6)) {
  71155. t7 = new A._Future($.Zone__current, t2);
  71156. t7._state = 8;
  71157. t7._resultOrListeners = t6;
  71158. t6 = t7;
  71159. }
  71160. $async$goto = 9;
  71161. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71162. case 9:
  71163. // returning from await.
  71164. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71165. case 8:
  71166. // join
  71167. J.add$1$ax(t4, t5);
  71168. case 5:
  71169. // for update
  71170. ++i;
  71171. // goto for condition
  71172. $async$goto = 4;
  71173. break;
  71174. case 6:
  71175. // after for
  71176. if (_box_0.overload.restParameter != null) {
  71177. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71178. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71179. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71180. } else
  71181. rest = B.List_empty8;
  71182. t1 = evaluated._values[0];
  71183. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  71184. J.add$1$ax(evaluated._values[2], argumentList);
  71185. } else
  71186. argumentList = null;
  71187. result = null;
  71188. $async$handler = 11;
  71189. $async$goto = 14;
  71190. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71191. case 14:
  71192. // returning from await.
  71193. result = $async$result;
  71194. $async$handler = 2;
  71195. // goto after finally
  71196. $async$goto = 13;
  71197. break;
  71198. case 11:
  71199. // catch
  71200. $async$handler = 10;
  71201. $async$exception = $async$errorStack.pop();
  71202. t1 = A.unwrapException($async$exception);
  71203. if (t1 instanceof A.SassException)
  71204. throw $async$exception;
  71205. else {
  71206. error = t1;
  71207. stackTrace = A.getTraceFromException($async$exception);
  71208. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71209. }
  71210. // goto after finally
  71211. $async$goto = 13;
  71212. break;
  71213. case 10:
  71214. // uncaught
  71215. // goto rethrow
  71216. $async$goto = 2;
  71217. break;
  71218. case 13:
  71219. // after finally
  71220. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71221. if (argumentList == null) {
  71222. $async$returnValue = result;
  71223. // goto return
  71224. $async$goto = 1;
  71225. break;
  71226. }
  71227. t1 = evaluated._values[0];
  71228. if (t1.get$isEmpty(t1)) {
  71229. $async$returnValue = result;
  71230. // goto return
  71231. $async$goto = 1;
  71232. break;
  71233. }
  71234. if (argumentList._wereKeywordsAccessed) {
  71235. $async$returnValue = result;
  71236. // goto return
  71237. $async$goto = 1;
  71238. break;
  71239. }
  71240. t1 = evaluated._values[0];
  71241. t1 = A.pluralize("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  71242. t2 = evaluated._values[0];
  71243. 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));
  71244. case 1:
  71245. // return
  71246. return A._asyncReturn($async$returnValue, $async$completer);
  71247. case 2:
  71248. // rethrow
  71249. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71250. }
  71251. });
  71252. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71253. },
  71254. _async_evaluate$_evaluateArguments$1($arguments) {
  71255. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71256. },
  71257. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71258. var $async$goto = 0,
  71259. $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),
  71260. $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;
  71261. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71262. if ($async$errorCode === 1)
  71263. return A._asyncRethrow($async$result, $async$completer);
  71264. while (true)
  71265. switch ($async$goto) {
  71266. case 0:
  71267. // Function start
  71268. positional = A._setArrayType([], type$.JSArray_Value);
  71269. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71270. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71271. case 3:
  71272. // for condition
  71273. if (!(_i < t2)) {
  71274. // goto after for
  71275. $async$goto = 5;
  71276. break;
  71277. }
  71278. expression = t1[_i];
  71279. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71280. t5 = expression.accept$1($async$self);
  71281. if (!t4._is(t5)) {
  71282. t6 = new A._Future($.Zone__current, t3);
  71283. t6._state = 8;
  71284. t6._resultOrListeners = t5;
  71285. t5 = t6;
  71286. }
  71287. $async$temp1 = positional;
  71288. $async$goto = 6;
  71289. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71290. case 6:
  71291. // returning from await.
  71292. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71293. positionalNodes.push(nodeForSpan);
  71294. case 4:
  71295. // for update
  71296. ++_i;
  71297. // goto for condition
  71298. $async$goto = 3;
  71299. break;
  71300. case 5:
  71301. // after for
  71302. t1 = type$.String;
  71303. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71304. t2 = type$.AstNode;
  71305. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71306. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71307. case 7:
  71308. // for condition
  71309. if (!t5.moveNext$0()) {
  71310. // goto after for
  71311. $async$goto = 8;
  71312. break;
  71313. }
  71314. t6 = t5.get$current(t5);
  71315. $name = t6._0;
  71316. value = t6._1;
  71317. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71318. t6 = value.accept$1($async$self);
  71319. if (!t4._is(t6)) {
  71320. t7 = new A._Future($.Zone__current, t3);
  71321. t7._state = 8;
  71322. t7._resultOrListeners = t6;
  71323. t6 = t7;
  71324. }
  71325. $async$temp1 = named;
  71326. $async$temp2 = $name;
  71327. $async$goto = 9;
  71328. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71329. case 9:
  71330. // returning from await.
  71331. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71332. namedNodes.$indexSet(0, $name, nodeForSpan);
  71333. // goto for condition
  71334. $async$goto = 7;
  71335. break;
  71336. case 8:
  71337. // after for
  71338. restArgs = $arguments.rest;
  71339. if (restArgs == null) {
  71340. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  71341. // goto return
  71342. $async$goto = 1;
  71343. break;
  71344. }
  71345. $async$goto = 10;
  71346. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71347. case 10:
  71348. // returning from await.
  71349. rest = $async$result;
  71350. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71351. if (rest instanceof A.SassMap) {
  71352. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71353. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71354. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  71355. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71356. namedNodes.addAll$1(0, t3);
  71357. separator = B.ListSeparator_undecided_null_undecided;
  71358. } else if (rest instanceof A.SassList) {
  71359. t3 = rest._list$_contents;
  71360. 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>")));
  71361. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71362. separator = rest._separator;
  71363. if (rest instanceof A.SassArgumentList) {
  71364. rest._wereKeywordsAccessed = true;
  71365. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71366. }
  71367. } else {
  71368. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71369. positionalNodes.push(restNodeForSpan);
  71370. separator = B.ListSeparator_undecided_null_undecided;
  71371. }
  71372. keywordRestArgs = $arguments.keywordRest;
  71373. if (keywordRestArgs == null) {
  71374. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71375. // goto return
  71376. $async$goto = 1;
  71377. break;
  71378. }
  71379. $async$goto = 11;
  71380. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71381. case 11:
  71382. // returning from await.
  71383. keywordRest = $async$result;
  71384. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71385. if (keywordRest instanceof A.SassMap) {
  71386. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71387. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71388. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  71389. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71390. namedNodes.addAll$1(0, t1);
  71391. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71392. // goto return
  71393. $async$goto = 1;
  71394. break;
  71395. } else
  71396. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71397. case 1:
  71398. // return
  71399. return A._asyncReturn($async$returnValue, $async$completer);
  71400. }
  71401. });
  71402. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71403. },
  71404. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71405. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  71406. },
  71407. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  71408. var $async$goto = 0,
  71409. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  71410. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  71411. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71412. if ($async$errorCode === 1)
  71413. return A._asyncRethrow($async$result, $async$completer);
  71414. while (true)
  71415. switch ($async$goto) {
  71416. case 0:
  71417. // Function start
  71418. t1 = invocation.$arguments;
  71419. restArgs_ = t1.rest;
  71420. if (restArgs_ == null) {
  71421. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  71422. // goto return
  71423. $async$goto = 1;
  71424. break;
  71425. }
  71426. t2 = t1.positional;
  71427. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  71428. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  71429. $async$goto = 3;
  71430. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71431. case 3:
  71432. // returning from await.
  71433. rest = $async$result;
  71434. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  71435. if (rest instanceof A.SassMap)
  71436. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  71437. else if (rest instanceof A.SassList) {
  71438. t2 = rest._list$_contents;
  71439. 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>")));
  71440. if (rest instanceof A.SassArgumentList) {
  71441. rest._wereKeywordsAccessed = true;
  71442. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  71443. }
  71444. } else
  71445. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  71446. keywordRestArgs_ = t1.keywordRest;
  71447. if (keywordRestArgs_ == null) {
  71448. $async$returnValue = new A._Record_2(positional, named);
  71449. // goto return
  71450. $async$goto = 1;
  71451. break;
  71452. }
  71453. $async$goto = 4;
  71454. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71455. case 4:
  71456. // returning from await.
  71457. keywordRest = $async$result;
  71458. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  71459. if (keywordRest instanceof A.SassMap) {
  71460. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  71461. $async$returnValue = new A._Record_2(positional, named);
  71462. // goto return
  71463. $async$goto = 1;
  71464. break;
  71465. } else
  71466. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  71467. case 1:
  71468. // return
  71469. return A._asyncReturn($async$returnValue, $async$completer);
  71470. }
  71471. });
  71472. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  71473. },
  71474. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  71475. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  71476. },
  71477. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  71478. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  71479. },
  71480. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  71481. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  71482. },
  71483. visitSelectorExpression$1(_, node) {
  71484. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  71485. },
  71486. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  71487. var $async$goto = 0,
  71488. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71489. $async$returnValue, $async$self = this, t1;
  71490. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71491. if ($async$errorCode === 1)
  71492. return A._asyncRethrow($async$result, $async$completer);
  71493. while (true)
  71494. switch ($async$goto) {
  71495. case 0:
  71496. // Function start
  71497. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71498. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  71499. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  71500. // goto return
  71501. $async$goto = 1;
  71502. break;
  71503. case 1:
  71504. // return
  71505. return A._asyncReturn($async$returnValue, $async$completer);
  71506. }
  71507. });
  71508. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  71509. },
  71510. visitStringExpression$1(_, node) {
  71511. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  71512. },
  71513. visitStringExpression$body$_EvaluateVisitor(_, node) {
  71514. var $async$goto = 0,
  71515. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71516. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  71517. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71518. if ($async$errorCode === 1)
  71519. return A._asyncRethrow($async$result, $async$completer);
  71520. while (true)
  71521. switch ($async$goto) {
  71522. case 0:
  71523. // Function start
  71524. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  71525. $async$self._async_evaluate$_inSupportsDeclaration = false;
  71526. t1 = A._setArrayType([], type$.JSArray_String);
  71527. t2 = node.text.contents, t3 = t2.length, _i = 0;
  71528. case 3:
  71529. // for condition
  71530. if (!(_i < t3)) {
  71531. // goto after for
  71532. $async$goto = 5;
  71533. break;
  71534. }
  71535. value = t2[_i];
  71536. if (typeof value == "string") {
  71537. t4 = value;
  71538. // goto break $label0$0
  71539. $async$goto = 6;
  71540. break;
  71541. }
  71542. $async$goto = value instanceof A.Expression ? 7 : 8;
  71543. break;
  71544. case 7:
  71545. // then
  71546. $async$goto = 9;
  71547. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  71548. case 9:
  71549. // returning from await.
  71550. _0_0 = $async$result;
  71551. $label1$1: {
  71552. if (_0_0 instanceof A.SassString) {
  71553. text = _0_0._string$_text;
  71554. t4 = text;
  71555. break $label1$1;
  71556. }
  71557. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  71558. break $label1$1;
  71559. }
  71560. // goto break $label0$0
  71561. $async$goto = 6;
  71562. break;
  71563. case 8:
  71564. // join
  71565. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  71566. case 6:
  71567. // break $label0$0
  71568. t1.push(t4);
  71569. case 4:
  71570. // for update
  71571. ++_i;
  71572. // goto for condition
  71573. $async$goto = 3;
  71574. break;
  71575. case 5:
  71576. // after for
  71577. t1 = B.JSArray_methods.join$0(t1);
  71578. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  71579. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  71580. // goto return
  71581. $async$goto = 1;
  71582. break;
  71583. case 1:
  71584. // return
  71585. return A._asyncReturn($async$returnValue, $async$completer);
  71586. }
  71587. });
  71588. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  71589. },
  71590. visitSupportsExpression$1(_, expression) {
  71591. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  71592. },
  71593. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  71594. var $async$goto = 0,
  71595. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71596. $async$returnValue, $async$self = this, $async$temp1;
  71597. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71598. if ($async$errorCode === 1)
  71599. return A._asyncRethrow($async$result, $async$completer);
  71600. while (true)
  71601. switch ($async$goto) {
  71602. case 0:
  71603. // Function start
  71604. $async$temp1 = A;
  71605. $async$goto = 3;
  71606. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  71607. case 3:
  71608. // returning from await.
  71609. $async$returnValue = new $async$temp1.SassString($async$result, false);
  71610. // goto return
  71611. $async$goto = 1;
  71612. break;
  71613. case 1:
  71614. // return
  71615. return A._asyncReturn($async$returnValue, $async$completer);
  71616. }
  71617. });
  71618. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  71619. },
  71620. visitCssAtRule$1(node) {
  71621. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  71622. },
  71623. visitCssAtRule$body$_EvaluateVisitor(node) {
  71624. var $async$goto = 0,
  71625. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71626. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  71627. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71628. if ($async$errorCode === 1)
  71629. return A._asyncRethrow($async$result, $async$completer);
  71630. while (true)
  71631. switch ($async$goto) {
  71632. case 0:
  71633. // Function start
  71634. if ($async$self._async_evaluate$_declarationName != null)
  71635. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  71636. if (node.isChildless) {
  71637. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  71638. // goto return
  71639. $async$goto = 1;
  71640. break;
  71641. }
  71642. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  71643. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  71644. t1 = node.name;
  71645. if (A.unvendor(t1.value) === "keyframes")
  71646. $async$self._async_evaluate$_inKeyframes = true;
  71647. else
  71648. $async$self._async_evaluate$_inUnknownAtRule = true;
  71649. $async$goto = 3;
  71650. 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);
  71651. case 3:
  71652. // returning from await.
  71653. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  71654. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  71655. case 1:
  71656. // return
  71657. return A._asyncReturn($async$returnValue, $async$completer);
  71658. }
  71659. });
  71660. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  71661. },
  71662. visitCssComment$1(node) {
  71663. return this.visitCssComment$body$_EvaluateVisitor(node);
  71664. },
  71665. visitCssComment$body$_EvaluateVisitor(node) {
  71666. var $async$goto = 0,
  71667. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71668. $async$self = this;
  71669. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71670. if ($async$errorCode === 1)
  71671. return A._asyncRethrow($async$result, $async$completer);
  71672. while (true)
  71673. switch ($async$goto) {
  71674. case 0:
  71675. // Function start
  71676. 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))
  71677. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71678. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  71679. // implicit return
  71680. return A._asyncReturn(null, $async$completer);
  71681. }
  71682. });
  71683. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  71684. },
  71685. visitCssDeclaration$1(node) {
  71686. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  71687. },
  71688. visitCssDeclaration$body$_EvaluateVisitor(node) {
  71689. var $async$goto = 0,
  71690. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71691. $async$self = this;
  71692. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71693. if ($async$errorCode === 1)
  71694. return A._asyncRethrow($async$result, $async$completer);
  71695. while (true)
  71696. switch ($async$goto) {
  71697. case 0:
  71698. // Function start
  71699. $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));
  71700. // implicit return
  71701. return A._asyncReturn(null, $async$completer);
  71702. }
  71703. });
  71704. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  71705. },
  71706. visitCssImport$1(node) {
  71707. return this.visitCssImport$body$_EvaluateVisitor(node);
  71708. },
  71709. visitCssImport$body$_EvaluateVisitor(node) {
  71710. var $async$goto = 0,
  71711. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71712. $async$self = this, t1, modifiableNode;
  71713. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71714. if ($async$errorCode === 1)
  71715. return A._asyncRethrow($async$result, $async$completer);
  71716. while (true)
  71717. switch ($async$goto) {
  71718. case 0:
  71719. // Function start
  71720. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71721. 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"))
  71722. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  71723. 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)) {
  71724. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  71725. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71726. } else {
  71727. t1 = $async$self._async_evaluate$_outOfOrderImports;
  71728. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  71729. }
  71730. // implicit return
  71731. return A._asyncReturn(null, $async$completer);
  71732. }
  71733. });
  71734. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  71735. },
  71736. visitCssKeyframeBlock$1(node) {
  71737. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  71738. },
  71739. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  71740. var $async$goto = 0,
  71741. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71742. $async$self = this;
  71743. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71744. if ($async$errorCode === 1)
  71745. return A._asyncRethrow($async$result, $async$completer);
  71746. while (true)
  71747. switch ($async$goto) {
  71748. case 0:
  71749. // Function start
  71750. $async$goto = 2;
  71751. 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);
  71752. case 2:
  71753. // returning from await.
  71754. // implicit return
  71755. return A._asyncReturn(null, $async$completer);
  71756. }
  71757. });
  71758. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  71759. },
  71760. visitCssMediaRule$1(node) {
  71761. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  71762. },
  71763. visitCssMediaRule$body$_EvaluateVisitor(node) {
  71764. var $async$goto = 0,
  71765. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71766. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  71767. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71768. if ($async$errorCode === 1)
  71769. return A._asyncRethrow($async$result, $async$completer);
  71770. while (true)
  71771. switch ($async$goto) {
  71772. case 0:
  71773. // Function start
  71774. if ($async$self._async_evaluate$_declarationName != null)
  71775. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  71776. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  71777. t1 = mergedQueries == null;
  71778. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  71779. // goto return
  71780. $async$goto = 1;
  71781. break;
  71782. }
  71783. if (t1)
  71784. mergedSources = B.Set_empty1;
  71785. else {
  71786. t2 = $async$self._async_evaluate$_mediaQuerySources;
  71787. t2.toString;
  71788. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71789. t3 = $async$self._async_evaluate$_mediaQueries;
  71790. t3.toString;
  71791. t2.addAll$1(0, t3);
  71792. t2.addAll$1(0, node.queries);
  71793. mergedSources = t2;
  71794. }
  71795. t1 = t1 ? node.queries : mergedQueries;
  71796. $async$goto = 3;
  71797. 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);
  71798. case 3:
  71799. // returning from await.
  71800. case 1:
  71801. // return
  71802. return A._asyncReturn($async$returnValue, $async$completer);
  71803. }
  71804. });
  71805. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  71806. },
  71807. visitCssStyleRule$1(node) {
  71808. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  71809. },
  71810. visitCssStyleRule$body$_EvaluateVisitor(node) {
  71811. var $async$goto = 0,
  71812. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71813. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  71814. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71815. if ($async$errorCode === 1)
  71816. return A._asyncRethrow($async$result, $async$completer);
  71817. while (true)
  71818. switch ($async$goto) {
  71819. case 0:
  71820. // Function start
  71821. if ($async$self._async_evaluate$_declarationName != null)
  71822. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  71823. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  71824. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  71825. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71826. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71827. t2 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71828. t2 = t2 == null ? null : t2.fromPlainCss;
  71829. nest = t2 !== true;
  71830. t2 = node._style_rule$_selector._box$_inner;
  71831. if (nest) {
  71832. t2 = t2.value;
  71833. t3 = styleRule == null ? null : styleRule.originalSelector;
  71834. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  71835. } else
  71836. originalSelector = t2.value;
  71837. 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);
  71838. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71839. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  71840. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  71841. $async$goto = 2;
  71842. 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);
  71843. case 2:
  71844. // returning from await.
  71845. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  71846. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  71847. t2 = J.getInterceptor$asx(t1);
  71848. _0_1 = t2.get$length(t1);
  71849. if (_0_1 >= 1) {
  71850. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  71851. t1 = styleRule == null;
  71852. } else {
  71853. lastChild = null;
  71854. t1 = false;
  71855. }
  71856. if (t1)
  71857. lastChild.isGroupEnd = true;
  71858. // implicit return
  71859. return A._asyncReturn(null, $async$completer);
  71860. }
  71861. });
  71862. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  71863. },
  71864. visitCssStylesheet$1(node) {
  71865. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  71866. },
  71867. visitCssStylesheet$body$_EvaluateVisitor(node) {
  71868. var $async$goto = 0,
  71869. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71870. $async$self = this, t1;
  71871. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71872. if ($async$errorCode === 1)
  71873. return A._asyncRethrow($async$result, $async$completer);
  71874. while (true)
  71875. switch ($async$goto) {
  71876. case 0:
  71877. // Function start
  71878. t1 = J.get$iterator$ax(node.get$children(node));
  71879. case 2:
  71880. // for condition
  71881. if (!t1.moveNext$0()) {
  71882. // goto after for
  71883. $async$goto = 3;
  71884. break;
  71885. }
  71886. $async$goto = 4;
  71887. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  71888. case 4:
  71889. // returning from await.
  71890. // goto for condition
  71891. $async$goto = 2;
  71892. break;
  71893. case 3:
  71894. // after for
  71895. // implicit return
  71896. return A._asyncReturn(null, $async$completer);
  71897. }
  71898. });
  71899. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  71900. },
  71901. visitCssSupportsRule$1(node) {
  71902. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  71903. },
  71904. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  71905. var $async$goto = 0,
  71906. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71907. $async$self = this;
  71908. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71909. if ($async$errorCode === 1)
  71910. return A._asyncRethrow($async$result, $async$completer);
  71911. while (true)
  71912. switch ($async$goto) {
  71913. case 0:
  71914. // Function start
  71915. if ($async$self._async_evaluate$_declarationName != null)
  71916. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  71917. $async$goto = 2;
  71918. 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);
  71919. case 2:
  71920. // returning from await.
  71921. // implicit return
  71922. return A._asyncReturn(null, $async$completer);
  71923. }
  71924. });
  71925. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  71926. },
  71927. _async_evaluate$_handleReturn$1$2(list, callback) {
  71928. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  71929. },
  71930. _async_evaluate$_handleReturn$2(list, callback) {
  71931. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  71932. },
  71933. _handleReturn$body$_EvaluateVisitor(list, callback) {
  71934. var $async$goto = 0,
  71935. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  71936. $async$returnValue, t1, _i, _0_0;
  71937. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71938. if ($async$errorCode === 1)
  71939. return A._asyncRethrow($async$result, $async$completer);
  71940. while (true)
  71941. switch ($async$goto) {
  71942. case 0:
  71943. // Function start
  71944. t1 = list.length, _i = 0;
  71945. case 3:
  71946. // for condition
  71947. if (!(_i < list.length)) {
  71948. // goto after for
  71949. $async$goto = 5;
  71950. break;
  71951. }
  71952. $async$goto = 6;
  71953. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  71954. case 6:
  71955. // returning from await.
  71956. _0_0 = $async$result;
  71957. if (_0_0 != null) {
  71958. $async$returnValue = _0_0;
  71959. // goto return
  71960. $async$goto = 1;
  71961. break;
  71962. }
  71963. case 4:
  71964. // for update
  71965. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  71966. // goto for condition
  71967. $async$goto = 3;
  71968. break;
  71969. case 5:
  71970. // after for
  71971. $async$returnValue = null;
  71972. // goto return
  71973. $async$goto = 1;
  71974. break;
  71975. case 1:
  71976. // return
  71977. return A._asyncReturn($async$returnValue, $async$completer);
  71978. }
  71979. });
  71980. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  71981. },
  71982. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  71983. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  71984. },
  71985. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  71986. var $async$goto = 0,
  71987. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71988. $async$returnValue, $async$self = this, result, oldEnvironment;
  71989. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71990. if ($async$errorCode === 1)
  71991. return A._asyncRethrow($async$result, $async$completer);
  71992. while (true)
  71993. switch ($async$goto) {
  71994. case 0:
  71995. // Function start
  71996. oldEnvironment = $async$self._async_evaluate$_environment;
  71997. $async$self._async_evaluate$_environment = environment;
  71998. $async$goto = 3;
  71999. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  72000. case 3:
  72001. // returning from await.
  72002. result = $async$result;
  72003. $async$self._async_evaluate$_environment = oldEnvironment;
  72004. $async$returnValue = result;
  72005. // goto return
  72006. $async$goto = 1;
  72007. break;
  72008. case 1:
  72009. // return
  72010. return A._asyncReturn($async$returnValue, $async$completer);
  72011. }
  72012. });
  72013. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72014. },
  72015. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72016. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72017. },
  72018. _async_evaluate$_interpolationToValue$1(interpolation) {
  72019. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72020. },
  72021. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72022. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72023. },
  72024. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72025. var $async$goto = 0,
  72026. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72027. $async$returnValue, $async$self = this, result, t1;
  72028. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72029. if ($async$errorCode === 1)
  72030. return A._asyncRethrow($async$result, $async$completer);
  72031. while (true)
  72032. switch ($async$goto) {
  72033. case 0:
  72034. // Function start
  72035. $async$goto = 3;
  72036. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72037. case 3:
  72038. // returning from await.
  72039. result = $async$result;
  72040. t1 = trim ? A.trimAscii(result, true) : result;
  72041. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72042. // goto return
  72043. $async$goto = 1;
  72044. break;
  72045. case 1:
  72046. // return
  72047. return A._asyncReturn($async$returnValue, $async$completer);
  72048. }
  72049. });
  72050. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72051. },
  72052. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72053. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72054. },
  72055. _async_evaluate$_performInterpolation$1(interpolation) {
  72056. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72057. },
  72058. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72059. var $async$goto = 0,
  72060. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72061. $async$returnValue, $async$self = this;
  72062. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72063. if ($async$errorCode === 1)
  72064. return A._asyncRethrow($async$result, $async$completer);
  72065. while (true)
  72066. switch ($async$goto) {
  72067. case 0:
  72068. // Function start
  72069. $async$goto = 3;
  72070. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72071. case 3:
  72072. // returning from await.
  72073. $async$returnValue = $async$result._0;
  72074. // goto return
  72075. $async$goto = 1;
  72076. break;
  72077. case 1:
  72078. // return
  72079. return A._asyncReturn($async$returnValue, $async$completer);
  72080. }
  72081. });
  72082. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72083. },
  72084. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72085. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72086. },
  72087. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72088. var $async$goto = 0,
  72089. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72090. $async$returnValue, $async$self = this, _0_0, result, map;
  72091. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72092. if ($async$errorCode === 1)
  72093. return A._asyncRethrow($async$result, $async$completer);
  72094. while (true)
  72095. switch ($async$goto) {
  72096. case 0:
  72097. // Function start
  72098. $async$goto = 3;
  72099. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72100. case 3:
  72101. // returning from await.
  72102. _0_0 = $async$result;
  72103. result = _0_0._0;
  72104. map = _0_0._1;
  72105. map.toString;
  72106. $async$returnValue = new A._Record_2(result, map);
  72107. // goto return
  72108. $async$goto = 1;
  72109. break;
  72110. case 1:
  72111. // return
  72112. return A._asyncReturn($async$returnValue, $async$completer);
  72113. }
  72114. });
  72115. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72116. },
  72117. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72118. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72119. },
  72120. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72121. var $async$goto = 0,
  72122. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72123. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  72124. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72125. if ($async$errorCode === 1)
  72126. return A._asyncRethrow($async$result, $async$completer);
  72127. while (true)
  72128. switch ($async$goto) {
  72129. case 0:
  72130. // Function start
  72131. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  72132. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72133. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72134. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72135. case 3:
  72136. // for condition
  72137. if (!(_i < t2)) {
  72138. // goto after for
  72139. $async$goto = 5;
  72140. break;
  72141. }
  72142. value = t1[_i];
  72143. if (!first)
  72144. if (!t4)
  72145. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  72146. if (typeof value == "string") {
  72147. t7 += value;
  72148. // goto for update
  72149. $async$goto = 4;
  72150. break;
  72151. }
  72152. t3._as(value);
  72153. $async$goto = 6;
  72154. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72155. case 6:
  72156. // returning from await.
  72157. result = $async$result;
  72158. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72159. result0 = A.List_List$from([""], false, t6);
  72160. result0.$flags = 3;
  72161. t8 = $.$get$namesByColor();
  72162. $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));
  72163. }
  72164. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72165. case 4:
  72166. // for update
  72167. ++_i, first = false;
  72168. // goto for condition
  72169. $async$goto = 3;
  72170. break;
  72171. case 5:
  72172. // after for
  72173. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72174. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72175. // goto return
  72176. $async$goto = 1;
  72177. break;
  72178. case 1:
  72179. // return
  72180. return A._asyncReturn($async$returnValue, $async$completer);
  72181. }
  72182. });
  72183. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72184. },
  72185. _evaluateToCss$2$quote(expression, quote) {
  72186. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72187. },
  72188. _evaluateToCss$1(expression) {
  72189. return this._evaluateToCss$2$quote(expression, true);
  72190. },
  72191. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72192. var $async$goto = 0,
  72193. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72194. $async$returnValue, $async$self = this, t1;
  72195. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72196. if ($async$errorCode === 1)
  72197. return A._asyncRethrow($async$result, $async$completer);
  72198. while (true)
  72199. switch ($async$goto) {
  72200. case 0:
  72201. // Function start
  72202. t1 = expression.accept$1($async$self);
  72203. $async$goto = 3;
  72204. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72205. case 3:
  72206. // returning from await.
  72207. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72208. // goto return
  72209. $async$goto = 1;
  72210. break;
  72211. case 1:
  72212. // return
  72213. return A._asyncReturn($async$returnValue, $async$completer);
  72214. }
  72215. });
  72216. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72217. },
  72218. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72219. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72220. },
  72221. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72222. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72223. },
  72224. _async_evaluate$_expressionNode$1(expression) {
  72225. var t1;
  72226. if (expression instanceof A.VariableExpression) {
  72227. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72228. return t1 == null ? expression : t1;
  72229. } else
  72230. return expression;
  72231. },
  72232. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72233. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72234. },
  72235. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72236. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72237. },
  72238. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72239. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72240. },
  72241. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72242. var $async$goto = 0,
  72243. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72244. $async$returnValue, $async$self = this, oldParent, result;
  72245. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72246. if ($async$errorCode === 1)
  72247. return A._asyncRethrow($async$result, $async$completer);
  72248. while (true)
  72249. switch ($async$goto) {
  72250. case 0:
  72251. // Function start
  72252. $async$self._async_evaluate$_addChild$2$through(node, through);
  72253. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72254. $async$self._async_evaluate$__parent = node;
  72255. $async$goto = 3;
  72256. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72257. case 3:
  72258. // returning from await.
  72259. result = $async$result;
  72260. $async$self._async_evaluate$__parent = oldParent;
  72261. $async$returnValue = result;
  72262. // goto return
  72263. $async$goto = 1;
  72264. break;
  72265. case 1:
  72266. // return
  72267. return A._asyncReturn($async$returnValue, $async$completer);
  72268. }
  72269. });
  72270. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72271. },
  72272. _async_evaluate$_addChild$2$through(node, through) {
  72273. var _0_0, grandparent, t1,
  72274. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72275. if (through != null) {
  72276. for (; through.call$1($parent); $parent = _0_0) {
  72277. _0_0 = $parent._parent;
  72278. if (_0_0 == null)
  72279. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72280. }
  72281. if ($parent.get$hasFollowingSibling()) {
  72282. grandparent = $parent._parent;
  72283. t1 = grandparent.children;
  72284. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72285. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72286. else {
  72287. $parent = $parent.copyWithoutChildren$0();
  72288. grandparent.addChild$1($parent);
  72289. }
  72290. }
  72291. }
  72292. $parent.addChild$1(node);
  72293. },
  72294. _async_evaluate$_addChild$1(node) {
  72295. return this._async_evaluate$_addChild$2$through(node, null);
  72296. },
  72297. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72298. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72299. },
  72300. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72301. var $async$goto = 0,
  72302. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72303. $async$returnValue, $async$self = this, result, oldRule;
  72304. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72305. if ($async$errorCode === 1)
  72306. return A._asyncRethrow($async$result, $async$completer);
  72307. while (true)
  72308. switch ($async$goto) {
  72309. case 0:
  72310. // Function start
  72311. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72312. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72313. $async$goto = 3;
  72314. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72315. case 3:
  72316. // returning from await.
  72317. result = $async$result;
  72318. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72319. $async$returnValue = result;
  72320. // goto return
  72321. $async$goto = 1;
  72322. break;
  72323. case 1:
  72324. // return
  72325. return A._asyncReturn($async$returnValue, $async$completer);
  72326. }
  72327. });
  72328. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72329. },
  72330. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72331. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72332. },
  72333. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72334. var $async$goto = 0,
  72335. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72336. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72337. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72338. if ($async$errorCode === 1)
  72339. return A._asyncRethrow($async$result, $async$completer);
  72340. while (true)
  72341. switch ($async$goto) {
  72342. case 0:
  72343. // Function start
  72344. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72345. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72346. $async$self._async_evaluate$_mediaQueries = queries;
  72347. $async$self._async_evaluate$_mediaQuerySources = sources;
  72348. $async$goto = 3;
  72349. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72350. case 3:
  72351. // returning from await.
  72352. result = $async$result;
  72353. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72354. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72355. $async$returnValue = result;
  72356. // goto return
  72357. $async$goto = 1;
  72358. break;
  72359. case 1:
  72360. // return
  72361. return A._asyncReturn($async$returnValue, $async$completer);
  72362. }
  72363. });
  72364. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72365. },
  72366. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72367. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72368. },
  72369. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72370. var $async$goto = 0,
  72371. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72372. $async$returnValue, $async$self = this, oldMember, result, t1;
  72373. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72374. if ($async$errorCode === 1)
  72375. return A._asyncRethrow($async$result, $async$completer);
  72376. while (true)
  72377. switch ($async$goto) {
  72378. case 0:
  72379. // Function start
  72380. t1 = $async$self._async_evaluate$_stack;
  72381. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  72382. oldMember = $async$self._async_evaluate$_member;
  72383. $async$self._async_evaluate$_member = member;
  72384. $async$goto = 3;
  72385. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  72386. case 3:
  72387. // returning from await.
  72388. result = $async$result;
  72389. $async$self._async_evaluate$_member = oldMember;
  72390. t1.pop();
  72391. $async$returnValue = result;
  72392. // goto return
  72393. $async$goto = 1;
  72394. break;
  72395. case 1:
  72396. // return
  72397. return A._asyncReturn($async$returnValue, $async$completer);
  72398. }
  72399. });
  72400. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  72401. },
  72402. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  72403. var t1;
  72404. if (value instanceof A.SassNumber)
  72405. t1 = value.asSlash != null;
  72406. else
  72407. t1 = false;
  72408. if (t1)
  72409. 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);
  72410. return value.withoutSlash$0();
  72411. },
  72412. _async_evaluate$_stackFrame$2(member, span) {
  72413. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  72414. },
  72415. _async_evaluate$_stackTrace$1(span) {
  72416. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72417. t1 = A._setArrayType([], type$.JSArray_Frame);
  72418. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72419. t4 = t2[_i];
  72420. nodeWithSpan = t4._1;
  72421. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72422. }
  72423. if (span != null)
  72424. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  72425. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72426. },
  72427. _async_evaluate$_stackTrace$0() {
  72428. return this._async_evaluate$_stackTrace$1(null);
  72429. },
  72430. _async_evaluate$_warn$3(message, span, deprecation) {
  72431. var trace, t1, _this = this;
  72432. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  72433. return;
  72434. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  72435. return;
  72436. trace = _this._async_evaluate$_stackTrace$1(span);
  72437. t1 = _this._async_evaluate$_logger;
  72438. if (deprecation == null)
  72439. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  72440. else
  72441. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  72442. },
  72443. _async_evaluate$_warn$2(message, span) {
  72444. return this._async_evaluate$_warn$3(message, span, null);
  72445. },
  72446. _async_evaluate$_exception$2(message, span) {
  72447. var t1, t2;
  72448. if (span == null) {
  72449. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72450. t1 = t1.get$span(t1);
  72451. } else
  72452. t1 = span;
  72453. t2 = this._async_evaluate$_stackTrace$1(span);
  72454. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  72455. },
  72456. _async_evaluate$_exception$1(message) {
  72457. return this._async_evaluate$_exception$2(message, null);
  72458. },
  72459. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  72460. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72461. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  72462. },
  72463. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  72464. var error, stackTrace, t1, exception,
  72465. addStackFrame = true;
  72466. try {
  72467. t1 = callback.call$0();
  72468. return t1;
  72469. } catch (exception) {
  72470. t1 = A.unwrapException(exception);
  72471. if (t1 instanceof A.SassScriptException) {
  72472. error = t1;
  72473. stackTrace = A.getTraceFromException(exception);
  72474. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72475. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72476. } else
  72477. throw exception;
  72478. }
  72479. },
  72480. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  72481. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  72482. },
  72483. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  72484. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  72485. },
  72486. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  72487. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  72488. },
  72489. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  72490. var $async$goto = 0,
  72491. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72492. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  72493. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72494. if ($async$errorCode === 1) {
  72495. $async$errorStack.push($async$result);
  72496. $async$goto = $async$handler;
  72497. }
  72498. while (true)
  72499. switch ($async$goto) {
  72500. case 0:
  72501. // Function start
  72502. $async$handler = 4;
  72503. t1 = callback.call$0();
  72504. $async$goto = 7;
  72505. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  72506. case 7:
  72507. // returning from await.
  72508. t1 = $async$result;
  72509. $async$returnValue = t1;
  72510. // goto return
  72511. $async$goto = 1;
  72512. break;
  72513. $async$handler = 2;
  72514. // goto after finally
  72515. $async$goto = 6;
  72516. break;
  72517. case 4:
  72518. // catch
  72519. $async$handler = 3;
  72520. $async$exception = $async$errorStack.pop();
  72521. t1 = A.unwrapException($async$exception);
  72522. if (t1 instanceof A.SassScriptException) {
  72523. error = t1;
  72524. stackTrace = A.getTraceFromException($async$exception);
  72525. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72526. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72527. } else
  72528. throw $async$exception;
  72529. // goto after finally
  72530. $async$goto = 6;
  72531. break;
  72532. case 3:
  72533. // uncaught
  72534. // goto rethrow
  72535. $async$goto = 2;
  72536. break;
  72537. case 6:
  72538. // after finally
  72539. case 1:
  72540. // return
  72541. return A._asyncReturn($async$returnValue, $async$completer);
  72542. case 2:
  72543. // rethrow
  72544. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72545. }
  72546. });
  72547. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  72548. },
  72549. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  72550. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  72551. },
  72552. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  72553. var $async$goto = 0,
  72554. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72555. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  72556. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72557. if ($async$errorCode === 1) {
  72558. $async$errorStack.push($async$result);
  72559. $async$goto = $async$handler;
  72560. }
  72561. while (true)
  72562. switch ($async$goto) {
  72563. case 0:
  72564. // Function start
  72565. $async$handler = 4;
  72566. t1 = callback.call$0();
  72567. $async$goto = 7;
  72568. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  72569. case 7:
  72570. // returning from await.
  72571. t1 = $async$result;
  72572. $async$returnValue = t1;
  72573. // goto return
  72574. $async$goto = 1;
  72575. break;
  72576. $async$handler = 2;
  72577. // goto after finally
  72578. $async$goto = 6;
  72579. break;
  72580. case 4:
  72581. // catch
  72582. $async$handler = 3;
  72583. $async$exception = $async$errorStack.pop();
  72584. t1 = A.unwrapException($async$exception);
  72585. if (type$.SassRuntimeException._is(t1))
  72586. throw $async$exception;
  72587. else if (t1 instanceof A.SassException) {
  72588. error = t1;
  72589. stackTrace = A.getTraceFromException($async$exception);
  72590. t1 = error;
  72591. t2 = J.getInterceptor$z(t1);
  72592. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  72593. } else
  72594. throw $async$exception;
  72595. // goto after finally
  72596. $async$goto = 6;
  72597. break;
  72598. case 3:
  72599. // uncaught
  72600. // goto rethrow
  72601. $async$goto = 2;
  72602. break;
  72603. case 6:
  72604. // after finally
  72605. case 1:
  72606. // return
  72607. return A._asyncReturn($async$returnValue, $async$completer);
  72608. case 2:
  72609. // rethrow
  72610. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72611. }
  72612. });
  72613. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  72614. },
  72615. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  72616. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  72617. },
  72618. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  72619. var $async$goto = 0,
  72620. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72621. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  72622. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72623. if ($async$errorCode === 1) {
  72624. $async$errorStack.push($async$result);
  72625. $async$goto = $async$handler;
  72626. }
  72627. while (true)
  72628. switch ($async$goto) {
  72629. case 0:
  72630. // Function start
  72631. $async$handler = 4;
  72632. $async$goto = 7;
  72633. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  72634. case 7:
  72635. // returning from await.
  72636. t1 = $async$result;
  72637. $async$returnValue = t1;
  72638. // goto return
  72639. $async$goto = 1;
  72640. break;
  72641. $async$handler = 2;
  72642. // goto after finally
  72643. $async$goto = 6;
  72644. break;
  72645. case 4:
  72646. // catch
  72647. $async$handler = 3;
  72648. $async$exception = $async$errorStack.pop();
  72649. t1 = A.unwrapException($async$exception);
  72650. if (type$.SassRuntimeException._is(t1)) {
  72651. error = t1;
  72652. stackTrace = A.getTraceFromException($async$exception);
  72653. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  72654. throw $async$exception;
  72655. t1 = error._span_exception$_message;
  72656. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72657. t3 = $async$self._async_evaluate$_stackTrace$0();
  72658. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  72659. } else
  72660. throw $async$exception;
  72661. // goto after finally
  72662. $async$goto = 6;
  72663. break;
  72664. case 3:
  72665. // uncaught
  72666. // goto rethrow
  72667. $async$goto = 2;
  72668. break;
  72669. case 6:
  72670. // after finally
  72671. case 1:
  72672. // return
  72673. return A._asyncReturn($async$returnValue, $async$completer);
  72674. case 2:
  72675. // rethrow
  72676. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72677. }
  72678. });
  72679. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  72680. },
  72681. _async_evaluate$_getErrorMessage$1(error) {
  72682. var t1, exception;
  72683. if (type$.Error._is(error))
  72684. return error.toString$0(0);
  72685. try {
  72686. t1 = A._asString(J.get$message$x(error));
  72687. return t1;
  72688. } catch (exception) {
  72689. t1 = J.toString$0$(error);
  72690. return t1;
  72691. }
  72692. }
  72693. };
  72694. A._EvaluateVisitor_closure12.prototype = {
  72695. call$1($arguments) {
  72696. var module, t2,
  72697. t1 = J.getInterceptor$asx($arguments),
  72698. variable = t1.$index($arguments, 0).assertString$1("name");
  72699. t1 = t1.$index($arguments, 1).get$realNull();
  72700. module = t1 == null ? null : t1.assertString$1("module");
  72701. t1 = this.$this._async_evaluate$_environment;
  72702. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72703. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  72704. },
  72705. $signature: 11
  72706. };
  72707. A._EvaluateVisitor_closure13.prototype = {
  72708. call$1($arguments) {
  72709. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  72710. t1 = this.$this._async_evaluate$_environment;
  72711. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72712. },
  72713. $signature: 11
  72714. };
  72715. A._EvaluateVisitor_closure14.prototype = {
  72716. call$1($arguments) {
  72717. var module, t2, t3, t4,
  72718. t1 = J.getInterceptor$asx($arguments),
  72719. variable = t1.$index($arguments, 0).assertString$1("name");
  72720. t1 = t1.$index($arguments, 1).get$realNull();
  72721. module = t1 == null ? null : t1.assertString$1("module");
  72722. t1 = this.$this;
  72723. t2 = t1._async_evaluate$_environment;
  72724. t3 = variable._string$_text;
  72725. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  72726. 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;
  72727. },
  72728. $signature: 11
  72729. };
  72730. A._EvaluateVisitor_closure15.prototype = {
  72731. call$1($arguments) {
  72732. var module, t2,
  72733. t1 = J.getInterceptor$asx($arguments),
  72734. variable = t1.$index($arguments, 0).assertString$1("name");
  72735. t1 = t1.$index($arguments, 1).get$realNull();
  72736. module = t1 == null ? null : t1.assertString$1("module");
  72737. t1 = this.$this._async_evaluate$_environment;
  72738. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72739. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72740. },
  72741. $signature: 11
  72742. };
  72743. A._EvaluateVisitor_closure16.prototype = {
  72744. call$1($arguments) {
  72745. var t1 = this.$this._async_evaluate$_environment;
  72746. if (!t1._async_environment$_inMixin)
  72747. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  72748. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  72749. },
  72750. $signature: 11
  72751. };
  72752. A._EvaluateVisitor_closure17.prototype = {
  72753. call$1($arguments) {
  72754. var t2, t3, t4,
  72755. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72756. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72757. if (module == null)
  72758. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72759. t1 = type$.Value;
  72760. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72761. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72762. t4 = t3.get$current(t3);
  72763. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  72764. }
  72765. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72766. },
  72767. $signature: 34
  72768. };
  72769. A._EvaluateVisitor_closure18.prototype = {
  72770. call$1($arguments) {
  72771. var t2, t3, t4,
  72772. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72773. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72774. if (module == null)
  72775. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72776. t1 = type$.Value;
  72777. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72778. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72779. t4 = t3.get$current(t3);
  72780. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  72781. }
  72782. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72783. },
  72784. $signature: 34
  72785. };
  72786. A._EvaluateVisitor_closure19.prototype = {
  72787. call$1($arguments) {
  72788. var t2, t3, t4,
  72789. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72790. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72791. if (module == null)
  72792. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72793. t1 = type$.Value;
  72794. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72795. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72796. t4 = t3.get$current(t3);
  72797. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  72798. }
  72799. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72800. },
  72801. $signature: 34
  72802. };
  72803. A._EvaluateVisitor_closure20.prototype = {
  72804. call$1($arguments) {
  72805. var module, t2, callable,
  72806. t1 = J.getInterceptor$asx($arguments),
  72807. $name = t1.$index($arguments, 0).assertString$1("name"),
  72808. css = t1.$index($arguments, 1).get$isTruthy();
  72809. t1 = t1.$index($arguments, 2).get$realNull();
  72810. module = t1 == null ? null : t1.assertString$1("module");
  72811. if (css) {
  72812. if (module != null)
  72813. throw A.wrapException(string$.x24css_a);
  72814. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  72815. }
  72816. t1 = this.$this;
  72817. t2 = t1._async_evaluate$_callableNode;
  72818. t2.toString;
  72819. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  72820. if (callable == null)
  72821. throw A.wrapException("Function not found: " + $name.toString$0(0));
  72822. return new A.SassFunction(callable);
  72823. },
  72824. $signature: 213
  72825. };
  72826. A._EvaluateVisitor__closure6.prototype = {
  72827. call$0() {
  72828. var local,
  72829. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72830. t1 = this.module,
  72831. namespace = t1 == null ? null : t1._string$_text;
  72832. t1 = this.$this;
  72833. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  72834. if (local != null || namespace != null)
  72835. return local;
  72836. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  72837. },
  72838. $signature: 87
  72839. };
  72840. A._EvaluateVisitor_closure21.prototype = {
  72841. call$1($arguments) {
  72842. var module, t2, callable,
  72843. t1 = J.getInterceptor$asx($arguments),
  72844. $name = t1.$index($arguments, 0).assertString$1("name");
  72845. t1 = t1.$index($arguments, 1).get$realNull();
  72846. module = t1 == null ? null : t1.assertString$1("module");
  72847. t1 = this.$this;
  72848. t2 = t1._async_evaluate$_callableNode;
  72849. t2.toString;
  72850. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  72851. if (callable == null)
  72852. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  72853. return new A.SassMixin(callable);
  72854. },
  72855. $signature: 215
  72856. };
  72857. A._EvaluateVisitor__closure5.prototype = {
  72858. call$0() {
  72859. var t1 = this.$this._async_evaluate$_environment,
  72860. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72861. t3 = this.module;
  72862. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  72863. },
  72864. $signature: 87
  72865. };
  72866. A._EvaluateVisitor_closure22.prototype = {
  72867. call$1($arguments) {
  72868. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  72869. },
  72870. $call$body$_EvaluateVisitor_closure1($arguments) {
  72871. var $async$goto = 0,
  72872. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  72873. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  72874. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72875. if ($async$errorCode === 1)
  72876. return A._asyncRethrow($async$result, $async$completer);
  72877. while (true)
  72878. switch ($async$goto) {
  72879. case 0:
  72880. // Function start
  72881. t1 = J.getInterceptor$asx($arguments);
  72882. $function = t1.$index($arguments, 0);
  72883. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  72884. t1 = $async$self.$this;
  72885. t2 = t1._async_evaluate$_callableNode;
  72886. t2.toString;
  72887. t3 = A._setArrayType([], type$.JSArray_Expression);
  72888. t4 = type$.String;
  72889. t5 = type$.Expression;
  72890. t6 = t2.get$span(t2);
  72891. t7 = t2.get$span(t2);
  72892. args._wereKeywordsAccessed = true;
  72893. t8 = args._keywords;
  72894. if (t8.get$isEmpty(t8))
  72895. t2 = null;
  72896. else {
  72897. t9 = type$.Value;
  72898. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  72899. args._wereKeywordsAccessed = true;
  72900. t8 = A.MapExtensions_get_pairs(t8, t4, t9);
  72901. t8 = t8.get$iterator(t8);
  72902. for (; t8.moveNext$0();) {
  72903. t11 = t8.get$current(t8);
  72904. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  72905. }
  72906. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  72907. }
  72908. 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);
  72909. $async$goto = $function instanceof A.SassString ? 3 : 4;
  72910. break;
  72911. case 3:
  72912. // then
  72913. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  72914. callableNode = t1._async_evaluate$_callableNode;
  72915. t2 = $function._string$_text;
  72916. t3 = callableNode.get$span(callableNode);
  72917. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  72918. $async$goto = 5;
  72919. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  72920. case 5:
  72921. // returning from await.
  72922. $async$returnValue = $async$result;
  72923. // goto return
  72924. $async$goto = 1;
  72925. break;
  72926. case 4:
  72927. // join
  72928. t2 = $function.assertFunction$1("function");
  72929. t3 = t1._async_evaluate$_callableNode;
  72930. t3.toString;
  72931. $async$goto = 6;
  72932. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  72933. case 6:
  72934. // returning from await.
  72935. t3 = $async$result;
  72936. $async$returnValue = t3;
  72937. // goto return
  72938. $async$goto = 1;
  72939. break;
  72940. case 1:
  72941. // return
  72942. return A._asyncReturn($async$returnValue, $async$completer);
  72943. }
  72944. });
  72945. return A._asyncStartSync($async$call$1, $async$completer);
  72946. },
  72947. $signature: 196
  72948. };
  72949. A._EvaluateVisitor_closure23.prototype = {
  72950. call$1($arguments) {
  72951. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  72952. },
  72953. $call$body$_EvaluateVisitor_closure0($arguments) {
  72954. var $async$goto = 0,
  72955. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72956. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  72957. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72958. if ($async$errorCode === 1)
  72959. return A._asyncRethrow($async$result, $async$completer);
  72960. while (true)
  72961. switch ($async$goto) {
  72962. case 0:
  72963. // Function start
  72964. t1 = J.getInterceptor$asx($arguments);
  72965. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  72966. t1 = t1.$index($arguments, 1).get$realNull();
  72967. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  72968. t1 = $async$self.$this;
  72969. t2 = t1._async_evaluate$_callableNode;
  72970. t2.toString;
  72971. if (withMap != null) {
  72972. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  72973. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  72974. configuration = new A.ExplicitConfiguration(t2, values, null);
  72975. } else
  72976. configuration = B.Configuration_Map_empty_null;
  72977. t3 = t2.get$span(t2);
  72978. $async$goto = 2;
  72979. 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);
  72980. case 2:
  72981. // returning from await.
  72982. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  72983. // implicit return
  72984. return A._asyncReturn(null, $async$completer);
  72985. }
  72986. });
  72987. return A._asyncStartSync($async$call$1, $async$completer);
  72988. },
  72989. $signature: 216
  72990. };
  72991. A._EvaluateVisitor__closure3.prototype = {
  72992. call$2(variable, value) {
  72993. var t1 = variable.assertString$1("with key"),
  72994. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  72995. t1 = this.values;
  72996. if (t1.containsKey$1($name))
  72997. throw A.wrapException("The variable $" + $name + " was configured twice.");
  72998. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  72999. },
  73000. $signature: 88
  73001. };
  73002. A._EvaluateVisitor__closure4.prototype = {
  73003. call$2(module, _) {
  73004. var t1 = this.$this;
  73005. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  73006. },
  73007. $signature: 336
  73008. };
  73009. A._EvaluateVisitor_closure24.prototype = {
  73010. call$1($arguments) {
  73011. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73012. },
  73013. $call$body$_EvaluateVisitor_closure($arguments) {
  73014. var $async$goto = 0,
  73015. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73016. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73017. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73018. if ($async$errorCode === 1)
  73019. return A._asyncRethrow($async$result, $async$completer);
  73020. while (true)
  73021. switch ($async$goto) {
  73022. case 0:
  73023. // Function start
  73024. t1 = J.getInterceptor$asx($arguments);
  73025. mixin = t1.$index($arguments, 0);
  73026. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73027. t1 = $async$self.$this;
  73028. callableNode = t1._async_evaluate$_callableNode;
  73029. t2 = callableNode.get$span(callableNode);
  73030. t3 = callableNode.get$span(callableNode);
  73031. t4 = type$.Expression;
  73032. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73033. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t4);
  73034. $async$goto = 2;
  73035. 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);
  73036. case 2:
  73037. // returning from await.
  73038. // implicit return
  73039. return A._asyncReturn(null, $async$completer);
  73040. }
  73041. });
  73042. return A._asyncStartSync($async$call$1, $async$completer);
  73043. },
  73044. $signature: 216
  73045. };
  73046. A._EvaluateVisitor_run_closure0.prototype = {
  73047. call$0() {
  73048. var $async$goto = 0,
  73049. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73050. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73051. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73052. if ($async$errorCode === 1)
  73053. return A._asyncRethrow($async$result, $async$completer);
  73054. while (true)
  73055. switch ($async$goto) {
  73056. case 0:
  73057. // Function start
  73058. t1 = $async$self.node;
  73059. t2 = t1.span;
  73060. _0_0 = t2.get$sourceUrl(t2);
  73061. url = null;
  73062. if (_0_0 != null) {
  73063. url = _0_0;
  73064. t2 = $async$self.$this;
  73065. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73066. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73067. }
  73068. t2 = $async$self.$this;
  73069. $async$goto = 3;
  73070. 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);
  73071. case 3:
  73072. // returning from await.
  73073. module = $async$result;
  73074. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  73075. // goto return
  73076. $async$goto = 1;
  73077. break;
  73078. case 1:
  73079. // return
  73080. return A._asyncReturn($async$returnValue, $async$completer);
  73081. }
  73082. });
  73083. return A._asyncStartSync($async$call$0, $async$completer);
  73084. },
  73085. $signature: 333
  73086. };
  73087. A._EvaluateVisitor_run__closure0.prototype = {
  73088. call$0() {
  73089. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73090. },
  73091. $signature: 332
  73092. };
  73093. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73094. call$0() {
  73095. return this.callback.call$2(this._box_0.builtInModule, false);
  73096. },
  73097. $signature: 0
  73098. };
  73099. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73100. call$0() {
  73101. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73102. },
  73103. $call$body$_EvaluateVisitor__loadModule_closure() {
  73104. var $async$goto = 0,
  73105. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73106. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73107. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73108. if ($async$errorCode === 1) {
  73109. $async$errorStack.push($async$result);
  73110. $async$goto = $async$handler;
  73111. }
  73112. while (true)
  73113. switch ($async$goto) {
  73114. case 0:
  73115. // Function start
  73116. t1 = {};
  73117. stylesheet = null;
  73118. importer = null;
  73119. t2 = $async$self.$this;
  73120. t3 = $async$self.nodeWithSpan;
  73121. $async$goto = 2;
  73122. 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);
  73123. case 2:
  73124. // returning from await.
  73125. _1_0 = $async$result;
  73126. stylesheet = _1_0._0;
  73127. importer = _1_0._1;
  73128. isDependency = _1_0._2;
  73129. t4 = stylesheet.span;
  73130. canonicalUrl = t4.get$sourceUrl(t4);
  73131. if (canonicalUrl != null) {
  73132. t4 = t2._async_evaluate$_activeModules;
  73133. if (t4.containsKey$1(canonicalUrl)) {
  73134. if ($async$self.namesInErrors) {
  73135. t1 = canonicalUrl;
  73136. t3 = $.$get$context();
  73137. t1.toString;
  73138. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  73139. } else
  73140. message = string$.Modulel;
  73141. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73142. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73143. } else
  73144. t4.$indexSet(0, canonicalUrl, t3);
  73145. }
  73146. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73147. oldInDependency = t2._async_evaluate$_inDependency;
  73148. t2._async_evaluate$_inDependency = isDependency;
  73149. t1.module = null;
  73150. $async$handler = 3;
  73151. $async$temp1 = t1;
  73152. $async$goto = 6;
  73153. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73154. case 6:
  73155. // returning from await.
  73156. $async$temp1.module = $async$result;
  73157. $async$next.push(5);
  73158. // goto finally
  73159. $async$goto = 4;
  73160. break;
  73161. case 3:
  73162. // uncaught
  73163. $async$next = [1];
  73164. case 4:
  73165. // finally
  73166. $async$handler = 1;
  73167. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73168. t2._async_evaluate$_inDependency = oldInDependency;
  73169. // goto the next finally handler
  73170. $async$goto = $async$next.pop();
  73171. break;
  73172. case 5:
  73173. // after finally
  73174. $async$goto = 7;
  73175. 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);
  73176. case 7:
  73177. // returning from await.
  73178. // implicit return
  73179. return A._asyncReturn(null, $async$completer);
  73180. case 1:
  73181. // rethrow
  73182. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73183. }
  73184. });
  73185. return A._asyncStartSync($async$call$0, $async$completer);
  73186. },
  73187. $signature: 2
  73188. };
  73189. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73190. call$1(previousLoad) {
  73191. 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));
  73192. },
  73193. $signature: 89
  73194. };
  73195. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73196. call$0() {
  73197. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73198. },
  73199. $signature: 0
  73200. };
  73201. A._EvaluateVisitor__execute_closure0.prototype = {
  73202. call$0() {
  73203. var $async$goto = 0,
  73204. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73205. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73206. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73207. if ($async$errorCode === 1)
  73208. return A._asyncRethrow($async$result, $async$completer);
  73209. while (true)
  73210. switch ($async$goto) {
  73211. case 0:
  73212. // Function start
  73213. t1 = $async$self.$this;
  73214. oldImporter = t1._async_evaluate$_importer;
  73215. oldStylesheet = t1._async_evaluate$__stylesheet;
  73216. oldRoot = t1._async_evaluate$__root;
  73217. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73218. oldParent = t1._async_evaluate$__parent;
  73219. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73220. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73221. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73222. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73223. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73224. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73225. oldDeclarationName = t1._async_evaluate$_declarationName;
  73226. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73227. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73228. oldConfiguration = t1._async_evaluate$_configuration;
  73229. t1._async_evaluate$_importer = $async$self.importer;
  73230. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73231. t4 = t3.span;
  73232. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73233. t1._async_evaluate$__endOfImports = 0;
  73234. t1._async_evaluate$_outOfOrderImports = null;
  73235. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73236. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73237. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73238. t6 = $async$self.configuration;
  73239. if (t6 != null)
  73240. t1._async_evaluate$_configuration = t6;
  73241. $async$goto = 2;
  73242. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73243. case 2:
  73244. // returning from await.
  73245. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73246. $async$self.css.__late_helper$_value = t3;
  73247. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73248. t1._async_evaluate$_importer = oldImporter;
  73249. t1._async_evaluate$__stylesheet = oldStylesheet;
  73250. t1._async_evaluate$__root = oldRoot;
  73251. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73252. t1._async_evaluate$__parent = oldParent;
  73253. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73254. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73255. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73256. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73257. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73258. t1._async_evaluate$_declarationName = oldDeclarationName;
  73259. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73260. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73261. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73262. t1._async_evaluate$_configuration = oldConfiguration;
  73263. // implicit return
  73264. return A._asyncReturn(null, $async$completer);
  73265. }
  73266. });
  73267. return A._asyncStartSync($async$call$0, $async$completer);
  73268. },
  73269. $signature: 2
  73270. };
  73271. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73272. call$1(module) {
  73273. return module.get$transitivelyContainsCss();
  73274. },
  73275. $signature: 119
  73276. };
  73277. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73278. call$1(target) {
  73279. return !this.selectors.contains$1(0, target);
  73280. },
  73281. $signature: 14
  73282. };
  73283. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73284. call$1(module) {
  73285. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73286. if (!_this.seen.add$1(0, module))
  73287. return;
  73288. if (_this.clone)
  73289. module = module.cloneCss$0();
  73290. 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) {
  73291. upstream = t1[_i];
  73292. if (upstream.get$transitivelyContainsCss()) {
  73293. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73294. if (_1_0 != null)
  73295. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73296. _this.call$1(upstream);
  73297. }
  73298. }
  73299. _this.sorted.addFirst$1(module);
  73300. t1 = module.get$css(module);
  73301. statements = t1.get$children(t1);
  73302. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73303. t1 = J.getInterceptor$ax(statements);
  73304. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73305. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73306. },
  73307. $signature: 329
  73308. };
  73309. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73310. call$1(target) {
  73311. return !this.originalSelectors.contains$1(0, target);
  73312. },
  73313. $signature: 14
  73314. };
  73315. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73316. call$0() {
  73317. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73318. },
  73319. $signature: 224
  73320. };
  73321. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73322. call$0() {
  73323. var $async$goto = 0,
  73324. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73325. $async$self = this, t1, t2, t3, _i;
  73326. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73327. if ($async$errorCode === 1)
  73328. return A._asyncRethrow($async$result, $async$completer);
  73329. while (true)
  73330. switch ($async$goto) {
  73331. case 0:
  73332. // Function start
  73333. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73334. case 2:
  73335. // for condition
  73336. if (!(_i < t2)) {
  73337. // goto after for
  73338. $async$goto = 4;
  73339. break;
  73340. }
  73341. $async$goto = 5;
  73342. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73343. case 5:
  73344. // returning from await.
  73345. case 3:
  73346. // for update
  73347. ++_i;
  73348. // goto for condition
  73349. $async$goto = 2;
  73350. break;
  73351. case 4:
  73352. // after for
  73353. // implicit return
  73354. return A._asyncReturn(null, $async$completer);
  73355. }
  73356. });
  73357. return A._asyncStartSync($async$call$0, $async$completer);
  73358. },
  73359. $signature: 2
  73360. };
  73361. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73362. call$0() {
  73363. var $async$goto = 0,
  73364. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73365. $async$self = this, t1, t2, t3, _i;
  73366. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73367. if ($async$errorCode === 1)
  73368. return A._asyncRethrow($async$result, $async$completer);
  73369. while (true)
  73370. switch ($async$goto) {
  73371. case 0:
  73372. // Function start
  73373. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73374. case 2:
  73375. // for condition
  73376. if (!(_i < t2)) {
  73377. // goto after for
  73378. $async$goto = 4;
  73379. break;
  73380. }
  73381. $async$goto = 5;
  73382. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73383. case 5:
  73384. // returning from await.
  73385. case 3:
  73386. // for update
  73387. ++_i;
  73388. // goto for condition
  73389. $async$goto = 2;
  73390. break;
  73391. case 4:
  73392. // after for
  73393. // implicit return
  73394. return A._asyncReturn(null, $async$completer);
  73395. }
  73396. });
  73397. return A._asyncStartSync($async$call$0, $async$completer);
  73398. },
  73399. $signature: 29
  73400. };
  73401. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  73402. call$1(callback) {
  73403. var $async$goto = 0,
  73404. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73405. $async$self = this, t1, oldParent;
  73406. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73407. if ($async$errorCode === 1)
  73408. return A._asyncRethrow($async$result, $async$completer);
  73409. while (true)
  73410. switch ($async$goto) {
  73411. case 0:
  73412. // Function start
  73413. t1 = $async$self.$this;
  73414. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  73415. t1._async_evaluate$__parent = $async$self.newParent;
  73416. $async$goto = 2;
  73417. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  73418. case 2:
  73419. // returning from await.
  73420. t1._async_evaluate$__parent = oldParent;
  73421. // implicit return
  73422. return A._asyncReturn(null, $async$completer);
  73423. }
  73424. });
  73425. return A._asyncStartSync($async$call$1, $async$completer);
  73426. },
  73427. $signature: 39
  73428. };
  73429. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  73430. call$1(callback) {
  73431. var $async$goto = 0,
  73432. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73433. $async$self = this, t1, oldAtRootExcludingStyleRule;
  73434. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73435. if ($async$errorCode === 1)
  73436. return A._asyncRethrow($async$result, $async$completer);
  73437. while (true)
  73438. switch ($async$goto) {
  73439. case 0:
  73440. // Function start
  73441. t1 = $async$self.$this;
  73442. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  73443. t1._async_evaluate$_atRootExcludingStyleRule = true;
  73444. $async$goto = 2;
  73445. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73446. case 2:
  73447. // returning from await.
  73448. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73449. // implicit return
  73450. return A._asyncReturn(null, $async$completer);
  73451. }
  73452. });
  73453. return A._asyncStartSync($async$call$1, $async$completer);
  73454. },
  73455. $signature: 39
  73456. };
  73457. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  73458. call$1(callback) {
  73459. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  73460. },
  73461. $signature: 39
  73462. };
  73463. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  73464. call$0() {
  73465. return this.innerScope.call$1(this.callback);
  73466. },
  73467. $signature: 2
  73468. };
  73469. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  73470. call$1(callback) {
  73471. var $async$goto = 0,
  73472. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73473. $async$self = this, t1, wasInKeyframes;
  73474. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73475. if ($async$errorCode === 1)
  73476. return A._asyncRethrow($async$result, $async$completer);
  73477. while (true)
  73478. switch ($async$goto) {
  73479. case 0:
  73480. // Function start
  73481. t1 = $async$self.$this;
  73482. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  73483. t1._async_evaluate$_inKeyframes = false;
  73484. $async$goto = 2;
  73485. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73486. case 2:
  73487. // returning from await.
  73488. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  73489. // implicit return
  73490. return A._asyncReturn(null, $async$completer);
  73491. }
  73492. });
  73493. return A._asyncStartSync($async$call$1, $async$completer);
  73494. },
  73495. $signature: 39
  73496. };
  73497. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  73498. call$1($parent) {
  73499. return $parent instanceof A.ModifiableCssAtRule;
  73500. },
  73501. $signature: 226
  73502. };
  73503. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  73504. call$1(callback) {
  73505. var $async$goto = 0,
  73506. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73507. $async$self = this, t1, wasInUnknownAtRule;
  73508. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73509. if ($async$errorCode === 1)
  73510. return A._asyncRethrow($async$result, $async$completer);
  73511. while (true)
  73512. switch ($async$goto) {
  73513. case 0:
  73514. // Function start
  73515. t1 = $async$self.$this;
  73516. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73517. t1._async_evaluate$_inUnknownAtRule = false;
  73518. $async$goto = 2;
  73519. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73520. case 2:
  73521. // returning from await.
  73522. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  73523. // implicit return
  73524. return A._asyncReturn(null, $async$completer);
  73525. }
  73526. });
  73527. return A._asyncStartSync($async$call$1, $async$completer);
  73528. },
  73529. $signature: 39
  73530. };
  73531. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  73532. call$0() {
  73533. var $async$goto = 0,
  73534. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73535. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  73536. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73537. if ($async$errorCode === 1)
  73538. return A._asyncRethrow($async$result, $async$completer);
  73539. while (true)
  73540. switch ($async$goto) {
  73541. case 0:
  73542. // Function start
  73543. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73544. case 3:
  73545. // for condition
  73546. if (!(_i < t2)) {
  73547. // goto after for
  73548. $async$goto = 5;
  73549. break;
  73550. }
  73551. $async$goto = 6;
  73552. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73553. case 6:
  73554. // returning from await.
  73555. case 4:
  73556. // for update
  73557. ++_i;
  73558. // goto for condition
  73559. $async$goto = 3;
  73560. break;
  73561. case 5:
  73562. // after for
  73563. $async$returnValue = null;
  73564. // goto return
  73565. $async$goto = 1;
  73566. break;
  73567. case 1:
  73568. // return
  73569. return A._asyncReturn($async$returnValue, $async$completer);
  73570. }
  73571. });
  73572. return A._asyncStartSync($async$call$0, $async$completer);
  73573. },
  73574. $signature: 2
  73575. };
  73576. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  73577. call$0() {
  73578. var $async$goto = 0,
  73579. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73580. $async$self = this, t1, t2, t3, _i;
  73581. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73582. if ($async$errorCode === 1)
  73583. return A._asyncRethrow($async$result, $async$completer);
  73584. while (true)
  73585. switch ($async$goto) {
  73586. case 0:
  73587. // Function start
  73588. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73589. case 2:
  73590. // for condition
  73591. if (!(_i < t2)) {
  73592. // goto after for
  73593. $async$goto = 4;
  73594. break;
  73595. }
  73596. $async$goto = 5;
  73597. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73598. case 5:
  73599. // returning from await.
  73600. case 3:
  73601. // for update
  73602. ++_i;
  73603. // goto for condition
  73604. $async$goto = 2;
  73605. break;
  73606. case 4:
  73607. // after for
  73608. // implicit return
  73609. return A._asyncReturn(null, $async$completer);
  73610. }
  73611. });
  73612. return A._asyncStartSync($async$call$0, $async$completer);
  73613. },
  73614. $signature: 2
  73615. };
  73616. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  73617. call$1(value) {
  73618. var t1 = this.$this,
  73619. t2 = this.nodeWithSpan;
  73620. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  73621. },
  73622. $signature: 61
  73623. };
  73624. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  73625. call$1(value) {
  73626. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  73627. },
  73628. $signature: 61
  73629. };
  73630. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  73631. call$0() {
  73632. var _this = this,
  73633. t1 = _this.$this;
  73634. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  73635. },
  73636. $signature: 76
  73637. };
  73638. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  73639. call$1(element) {
  73640. var t1;
  73641. this.setVariables.call$1(element);
  73642. t1 = this.$this;
  73643. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  73644. },
  73645. $signature: 322
  73646. };
  73647. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  73648. call$1(child) {
  73649. return child.accept$1(this.$this);
  73650. },
  73651. $signature: 90
  73652. };
  73653. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  73654. call$1(value) {
  73655. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  73656. },
  73657. $signature: 321
  73658. };
  73659. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  73660. call$0() {
  73661. var $async$goto = 0,
  73662. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73663. $async$self = this, t2, t3, _i, t1, styleRule;
  73664. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73665. if ($async$errorCode === 1)
  73666. return A._asyncRethrow($async$result, $async$completer);
  73667. while (true)
  73668. switch ($async$goto) {
  73669. case 0:
  73670. // Function start
  73671. t1 = $async$self.$this;
  73672. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73673. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  73674. break;
  73675. case 2:
  73676. // then
  73677. t2 = $async$self.children, t3 = t2.length, _i = 0;
  73678. case 5:
  73679. // for condition
  73680. if (!(_i < t3)) {
  73681. // goto after for
  73682. $async$goto = 7;
  73683. break;
  73684. }
  73685. $async$goto = 8;
  73686. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  73687. case 8:
  73688. // returning from await.
  73689. case 6:
  73690. // for update
  73691. ++_i;
  73692. // goto for condition
  73693. $async$goto = 5;
  73694. break;
  73695. case 7:
  73696. // after for
  73697. // goto join
  73698. $async$goto = 3;
  73699. break;
  73700. case 4:
  73701. // else
  73702. $async$goto = 9;
  73703. 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);
  73704. case 9:
  73705. // returning from await.
  73706. case 3:
  73707. // join
  73708. // implicit return
  73709. return A._asyncReturn(null, $async$completer);
  73710. }
  73711. });
  73712. return A._asyncStartSync($async$call$0, $async$completer);
  73713. },
  73714. $signature: 2
  73715. };
  73716. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  73717. call$0() {
  73718. var $async$goto = 0,
  73719. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73720. $async$self = this, t1, t2, t3, _i;
  73721. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73722. if ($async$errorCode === 1)
  73723. return A._asyncRethrow($async$result, $async$completer);
  73724. while (true)
  73725. switch ($async$goto) {
  73726. case 0:
  73727. // Function start
  73728. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73729. case 2:
  73730. // for condition
  73731. if (!(_i < t2)) {
  73732. // goto after for
  73733. $async$goto = 4;
  73734. break;
  73735. }
  73736. $async$goto = 5;
  73737. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73738. case 5:
  73739. // returning from await.
  73740. case 3:
  73741. // for update
  73742. ++_i;
  73743. // goto for condition
  73744. $async$goto = 2;
  73745. break;
  73746. case 4:
  73747. // after for
  73748. // implicit return
  73749. return A._asyncReturn(null, $async$completer);
  73750. }
  73751. });
  73752. return A._asyncStartSync($async$call$0, $async$completer);
  73753. },
  73754. $signature: 2
  73755. };
  73756. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  73757. call$1(node) {
  73758. return node instanceof A.ModifiableCssStyleRule;
  73759. },
  73760. $signature: 8
  73761. };
  73762. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  73763. call$0() {
  73764. var $async$goto = 0,
  73765. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73766. $async$returnValue, $async$self = this;
  73767. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73768. if ($async$errorCode === 1)
  73769. return A._asyncRethrow($async$result, $async$completer);
  73770. while (true)
  73771. switch ($async$goto) {
  73772. case 0:
  73773. // Function start
  73774. $async$goto = 3;
  73775. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  73776. case 3:
  73777. // returning from await.
  73778. $async$returnValue = $async$result.assertNumber$0();
  73779. // goto return
  73780. $async$goto = 1;
  73781. break;
  73782. case 1:
  73783. // return
  73784. return A._asyncReturn($async$returnValue, $async$completer);
  73785. }
  73786. });
  73787. return A._asyncStartSync($async$call$0, $async$completer);
  73788. },
  73789. $signature: 233
  73790. };
  73791. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  73792. call$0() {
  73793. var $async$goto = 0,
  73794. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73795. $async$returnValue, $async$self = this;
  73796. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73797. if ($async$errorCode === 1)
  73798. return A._asyncRethrow($async$result, $async$completer);
  73799. while (true)
  73800. switch ($async$goto) {
  73801. case 0:
  73802. // Function start
  73803. $async$goto = 3;
  73804. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  73805. case 3:
  73806. // returning from await.
  73807. $async$returnValue = $async$result.assertNumber$0();
  73808. // goto return
  73809. $async$goto = 1;
  73810. break;
  73811. case 1:
  73812. // return
  73813. return A._asyncReturn($async$returnValue, $async$completer);
  73814. }
  73815. });
  73816. return A._asyncStartSync($async$call$0, $async$completer);
  73817. },
  73818. $signature: 233
  73819. };
  73820. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  73821. call$0() {
  73822. return this.fromNumber.assertInt$0();
  73823. },
  73824. $signature: 10
  73825. };
  73826. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  73827. call$0() {
  73828. var t1 = this.fromNumber;
  73829. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  73830. },
  73831. $signature: 10
  73832. };
  73833. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  73834. call$0() {
  73835. var $async$goto = 0,
  73836. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  73837. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  73838. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73839. if ($async$errorCode === 1)
  73840. return A._asyncRethrow($async$result, $async$completer);
  73841. while (true)
  73842. switch ($async$goto) {
  73843. case 0:
  73844. // Function start
  73845. t1 = $async$self.$this;
  73846. t2 = $async$self.node;
  73847. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  73848. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  73849. case 3:
  73850. // for condition
  73851. if (!(i !== t3.to)) {
  73852. // goto after for
  73853. $async$goto = 5;
  73854. break;
  73855. }
  73856. t7 = t1._async_evaluate$_environment;
  73857. t8 = t6.get$numeratorUnits(t6);
  73858. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  73859. $async$goto = 6;
  73860. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  73861. case 6:
  73862. // returning from await.
  73863. _0_0 = $async$result;
  73864. if (_0_0 != null) {
  73865. $async$returnValue = _0_0;
  73866. // goto return
  73867. $async$goto = 1;
  73868. break;
  73869. }
  73870. case 4:
  73871. // for update
  73872. i += t4;
  73873. // goto for condition
  73874. $async$goto = 3;
  73875. break;
  73876. case 5:
  73877. // after for
  73878. $async$returnValue = null;
  73879. // goto return
  73880. $async$goto = 1;
  73881. break;
  73882. case 1:
  73883. // return
  73884. return A._asyncReturn($async$returnValue, $async$completer);
  73885. }
  73886. });
  73887. return A._asyncStartSync($async$call$0, $async$completer);
  73888. },
  73889. $signature: 76
  73890. };
  73891. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  73892. call$1(child) {
  73893. return child.accept$1(this.$this);
  73894. },
  73895. $signature: 90
  73896. };
  73897. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  73898. call$2(module, firstLoad) {
  73899. if (firstLoad)
  73900. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73901. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73902. },
  73903. $signature: 133
  73904. };
  73905. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  73906. call$2(module, firstLoad) {
  73907. if (firstLoad)
  73908. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  73909. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  73910. },
  73911. $signature: 133
  73912. };
  73913. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  73914. call$0() {
  73915. return A._setArrayType([], type$.JSArray_CssComment);
  73916. },
  73917. $signature: 235
  73918. };
  73919. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  73920. call$1(clause) {
  73921. var t1 = this.$this;
  73922. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  73923. },
  73924. $signature: 316
  73925. };
  73926. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  73927. call$0() {
  73928. var t1 = this.$this;
  73929. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  73930. },
  73931. $signature: 76
  73932. };
  73933. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  73934. call$1(child) {
  73935. return child.accept$1(this.$this);
  73936. },
  73937. $signature: 90
  73938. };
  73939. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  73940. call$0() {
  73941. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  73942. },
  73943. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  73944. var $async$goto = 0,
  73945. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73946. $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;
  73947. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73948. if ($async$errorCode === 1)
  73949. return A._asyncRethrow($async$result, $async$completer);
  73950. while (true)
  73951. switch ($async$goto) {
  73952. case 0:
  73953. // Function start
  73954. _box_0 = {};
  73955. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  73956. t1 = $async$self.$this;
  73957. t2 = $async$self.$import;
  73958. $async$goto = 3;
  73959. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  73960. case 3:
  73961. // returning from await.
  73962. _0_0 = $async$result;
  73963. stylesheet = _box_0.stylesheet = _0_0._0;
  73964. importer = _0_0._1;
  73965. _box_0.importer = importer;
  73966. isDependency = _0_0._2;
  73967. _box_0.isDependency = isDependency;
  73968. t3 = stylesheet.span;
  73969. url = t3.get$sourceUrl(t3);
  73970. if (url != null) {
  73971. t3 = t1._async_evaluate$_activeModules;
  73972. if (t3.containsKey$1(url)) {
  73973. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  73974. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  73975. }
  73976. t3.$indexSet(0, url, t2);
  73977. }
  73978. t2 = stylesheet._uses;
  73979. t3 = type$.UnmodifiableListView_UseRule;
  73980. $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;
  73981. break;
  73982. case 4:
  73983. // then
  73984. oldImporter = t1._async_evaluate$_importer;
  73985. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  73986. oldInDependency = t1._async_evaluate$_inDependency;
  73987. t1._async_evaluate$_importer = importer;
  73988. t1._async_evaluate$__stylesheet = stylesheet;
  73989. t1._async_evaluate$_inDependency = isDependency;
  73990. $async$goto = 6;
  73991. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  73992. case 6:
  73993. // returning from await.
  73994. t1._async_evaluate$_importer = oldImporter;
  73995. t1._async_evaluate$__stylesheet = oldStylesheet;
  73996. t1._async_evaluate$_inDependency = oldInDependency;
  73997. t1._async_evaluate$_activeModules.remove$1(0, url);
  73998. // goto return
  73999. $async$goto = 1;
  74000. break;
  74001. case 5:
  74002. // join
  74003. t2 = new A.UnmodifiableListView(t2, t3);
  74004. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  74005. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74006. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  74007. } else
  74008. loadsUserDefinedModules = true;
  74009. children = A._Cell$();
  74010. t2 = t1._async_evaluate$_environment;
  74011. t3 = type$.String;
  74012. t4 = type$.Module_AsyncCallable;
  74013. t5 = type$.AstNode;
  74014. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74015. t7 = t2._async_environment$_variables;
  74016. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74017. t8 = t2._async_environment$_variableNodes;
  74018. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74019. t9 = t2._async_environment$_functions;
  74020. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74021. t10 = t2._async_environment$_mixins;
  74022. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74023. 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);
  74024. $async$goto = 7;
  74025. 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);
  74026. case 7:
  74027. // returning from await.
  74028. module = environment.toDummyModule$0();
  74029. t1._async_evaluate$_environment.importForwards$1(module);
  74030. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74031. break;
  74032. case 8:
  74033. // then
  74034. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74035. break;
  74036. case 10:
  74037. // then
  74038. $async$goto = 12;
  74039. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74040. case 12:
  74041. // returning from await.
  74042. case 11:
  74043. // join
  74044. visitor = new A._ImportedCssVisitor0(t1);
  74045. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74046. t2.get$current(t2).accept$1(visitor);
  74047. case 9:
  74048. // join
  74049. t1._async_evaluate$_activeModules.remove$1(0, url);
  74050. case 1:
  74051. // return
  74052. return A._asyncReturn($async$returnValue, $async$completer);
  74053. }
  74054. });
  74055. return A._asyncStartSync($async$call$0, $async$completer);
  74056. },
  74057. $signature: 29
  74058. };
  74059. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74060. call$1(previousLoad) {
  74061. 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));
  74062. },
  74063. $signature: 89
  74064. };
  74065. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74066. call$1(rule) {
  74067. return rule.url.get$scheme() !== "sass";
  74068. },
  74069. $signature: 237
  74070. };
  74071. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74072. call$1(rule) {
  74073. return rule.url.get$scheme() !== "sass";
  74074. },
  74075. $signature: 238
  74076. };
  74077. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74078. call$0() {
  74079. var $async$goto = 0,
  74080. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74081. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74082. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74083. if ($async$errorCode === 1)
  74084. return A._asyncRethrow($async$result, $async$completer);
  74085. while (true)
  74086. switch ($async$goto) {
  74087. case 0:
  74088. // Function start
  74089. t1 = $async$self.$this;
  74090. oldImporter = t1._async_evaluate$_importer;
  74091. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74092. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74093. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74094. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74095. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74096. oldConfiguration = t1._async_evaluate$_configuration;
  74097. oldInDependency = t1._async_evaluate$_inDependency;
  74098. t2 = $async$self._box_0;
  74099. t1._async_evaluate$_importer = t2.importer;
  74100. t3 = t2.stylesheet;
  74101. t1._async_evaluate$__stylesheet = t3;
  74102. t4 = $async$self.loadsUserDefinedModules;
  74103. if (t4) {
  74104. t3 = A.ModifiableCssStylesheet$(t3.span);
  74105. t1._async_evaluate$__root = t3;
  74106. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74107. t1._async_evaluate$__endOfImports = 0;
  74108. t1._async_evaluate$_outOfOrderImports = null;
  74109. }
  74110. t1._async_evaluate$_inDependency = t2.isDependency;
  74111. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74112. if (!t3.get$isEmpty(t3))
  74113. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74114. $async$goto = 2;
  74115. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74116. case 2:
  74117. // returning from await.
  74118. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74119. $async$self.children.__late_helper$_value = t2;
  74120. t1._async_evaluate$_importer = oldImporter;
  74121. t1._async_evaluate$__stylesheet = oldStylesheet;
  74122. if (t4) {
  74123. t1._async_evaluate$__root = oldRoot;
  74124. t1._async_evaluate$__parent = oldParent;
  74125. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74126. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74127. }
  74128. t1._async_evaluate$_configuration = oldConfiguration;
  74129. t1._async_evaluate$_inDependency = oldInDependency;
  74130. // implicit return
  74131. return A._asyncReturn(null, $async$completer);
  74132. }
  74133. });
  74134. return A._asyncStartSync($async$call$0, $async$completer);
  74135. },
  74136. $signature: 2
  74137. };
  74138. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74139. call$0() {
  74140. var $async$goto = 0,
  74141. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74142. $async$self = this, t1;
  74143. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74144. if ($async$errorCode === 1)
  74145. return A._asyncRethrow($async$result, $async$completer);
  74146. while (true)
  74147. switch ($async$goto) {
  74148. case 0:
  74149. // Function start
  74150. t1 = $async$self.$this;
  74151. $async$goto = 2;
  74152. 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);
  74153. case 2:
  74154. // returning from await.
  74155. // implicit return
  74156. return A._asyncReturn(null, $async$completer);
  74157. }
  74158. });
  74159. return A._asyncStartSync($async$call$0, $async$completer);
  74160. },
  74161. $signature: 29
  74162. };
  74163. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74164. call$0() {
  74165. var $async$goto = 0,
  74166. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74167. $async$self = this;
  74168. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74169. if ($async$errorCode === 1)
  74170. return A._asyncRethrow($async$result, $async$completer);
  74171. while (true)
  74172. switch ($async$goto) {
  74173. case 0:
  74174. // Function start
  74175. $async$goto = 2;
  74176. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74177. case 2:
  74178. // returning from await.
  74179. // implicit return
  74180. return A._asyncReturn(null, $async$completer);
  74181. }
  74182. });
  74183. return A._asyncStartSync($async$call$0, $async$completer);
  74184. },
  74185. $signature: 29
  74186. };
  74187. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74188. call$0() {
  74189. var $async$goto = 0,
  74190. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74191. $async$self = this, t1;
  74192. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74193. if ($async$errorCode === 1)
  74194. return A._asyncRethrow($async$result, $async$completer);
  74195. while (true)
  74196. switch ($async$goto) {
  74197. case 0:
  74198. // Function start
  74199. t1 = $async$self.$this;
  74200. $async$goto = 2;
  74201. 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);
  74202. case 2:
  74203. // returning from await.
  74204. // implicit return
  74205. return A._asyncReturn(null, $async$completer);
  74206. }
  74207. });
  74208. return A._asyncStartSync($async$call$0, $async$completer);
  74209. },
  74210. $signature: 2
  74211. };
  74212. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74213. call$0() {
  74214. var $async$goto = 0,
  74215. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74216. $async$self = this, t1;
  74217. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74218. if ($async$errorCode === 1)
  74219. return A._asyncRethrow($async$result, $async$completer);
  74220. while (true)
  74221. switch ($async$goto) {
  74222. case 0:
  74223. // Function start
  74224. t1 = $async$self.$this;
  74225. $async$goto = 2;
  74226. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74227. case 2:
  74228. // returning from await.
  74229. // implicit return
  74230. return A._asyncReturn(null, $async$completer);
  74231. }
  74232. });
  74233. return A._asyncStartSync($async$call$0, $async$completer);
  74234. },
  74235. $signature: 29
  74236. };
  74237. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74238. call$0() {
  74239. var $async$goto = 0,
  74240. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74241. $async$self = this, t1, t2, t3, t4, t5, _i;
  74242. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74243. if ($async$errorCode === 1)
  74244. return A._asyncRethrow($async$result, $async$completer);
  74245. while (true)
  74246. switch ($async$goto) {
  74247. case 0:
  74248. // Function start
  74249. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74250. case 2:
  74251. // for condition
  74252. if (!(_i < t2)) {
  74253. // goto after for
  74254. $async$goto = 4;
  74255. break;
  74256. }
  74257. $async$goto = 5;
  74258. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74259. case 5:
  74260. // returning from await.
  74261. case 3:
  74262. // for update
  74263. ++_i;
  74264. // goto for condition
  74265. $async$goto = 2;
  74266. break;
  74267. case 4:
  74268. // after for
  74269. // implicit return
  74270. return A._asyncReturn(null, $async$completer);
  74271. }
  74272. });
  74273. return A._asyncStartSync($async$call$0, $async$completer);
  74274. },
  74275. $signature: 29
  74276. };
  74277. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74278. call$0() {
  74279. return this.statement.accept$1(this.$this);
  74280. },
  74281. $signature: 76
  74282. };
  74283. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74284. call$0() {
  74285. var t1 = this.node;
  74286. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74287. },
  74288. $signature: 87
  74289. };
  74290. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74291. call$1($content) {
  74292. var t1 = this.$this;
  74293. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74294. },
  74295. $signature: 315
  74296. };
  74297. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74298. call$0() {
  74299. return this.node.get$spanWithoutContent();
  74300. },
  74301. $signature: 28
  74302. };
  74303. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74304. call$1(mediaQueries) {
  74305. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74306. },
  74307. $signature: 91
  74308. };
  74309. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74310. call$0() {
  74311. var $async$goto = 0,
  74312. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74313. $async$self = this, t1, t2;
  74314. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74315. if ($async$errorCode === 1)
  74316. return A._asyncRethrow($async$result, $async$completer);
  74317. while (true)
  74318. switch ($async$goto) {
  74319. case 0:
  74320. // Function start
  74321. t1 = $async$self.$this;
  74322. t2 = $async$self.mergedQueries;
  74323. if (t2 == null)
  74324. t2 = $async$self.queries;
  74325. $async$goto = 2;
  74326. 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);
  74327. case 2:
  74328. // returning from await.
  74329. // implicit return
  74330. return A._asyncReturn(null, $async$completer);
  74331. }
  74332. });
  74333. return A._asyncStartSync($async$call$0, $async$completer);
  74334. },
  74335. $signature: 2
  74336. };
  74337. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74338. call$0() {
  74339. var $async$goto = 0,
  74340. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74341. $async$self = this, t2, t3, _i, t1, _0_0;
  74342. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74343. if ($async$errorCode === 1)
  74344. return A._asyncRethrow($async$result, $async$completer);
  74345. while (true)
  74346. switch ($async$goto) {
  74347. case 0:
  74348. // Function start
  74349. t1 = $async$self.$this;
  74350. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74351. $async$goto = _0_0 != null ? 2 : 4;
  74352. break;
  74353. case 2:
  74354. // then
  74355. $async$goto = 5;
  74356. 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);
  74357. case 5:
  74358. // returning from await.
  74359. // goto join
  74360. $async$goto = 3;
  74361. break;
  74362. case 4:
  74363. // else
  74364. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74365. case 6:
  74366. // for condition
  74367. if (!(_i < t3)) {
  74368. // goto after for
  74369. $async$goto = 8;
  74370. break;
  74371. }
  74372. $async$goto = 9;
  74373. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74374. case 9:
  74375. // returning from await.
  74376. case 7:
  74377. // for update
  74378. ++_i;
  74379. // goto for condition
  74380. $async$goto = 6;
  74381. break;
  74382. case 8:
  74383. // after for
  74384. case 3:
  74385. // join
  74386. // implicit return
  74387. return A._asyncReturn(null, $async$completer);
  74388. }
  74389. });
  74390. return A._asyncStartSync($async$call$0, $async$completer);
  74391. },
  74392. $signature: 2
  74393. };
  74394. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  74395. call$0() {
  74396. var $async$goto = 0,
  74397. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74398. $async$self = this, t1, t2, t3, _i;
  74399. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74400. if ($async$errorCode === 1)
  74401. return A._asyncRethrow($async$result, $async$completer);
  74402. while (true)
  74403. switch ($async$goto) {
  74404. case 0:
  74405. // Function start
  74406. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74407. case 2:
  74408. // for condition
  74409. if (!(_i < t2)) {
  74410. // goto after for
  74411. $async$goto = 4;
  74412. break;
  74413. }
  74414. $async$goto = 5;
  74415. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74416. case 5:
  74417. // returning from await.
  74418. case 3:
  74419. // for update
  74420. ++_i;
  74421. // goto for condition
  74422. $async$goto = 2;
  74423. break;
  74424. case 4:
  74425. // after for
  74426. // implicit return
  74427. return A._asyncReturn(null, $async$completer);
  74428. }
  74429. });
  74430. return A._asyncStartSync($async$call$0, $async$completer);
  74431. },
  74432. $signature: 2
  74433. };
  74434. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  74435. call$1(node) {
  74436. var t1;
  74437. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74438. t1 = this.mergedSources;
  74439. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74440. } else
  74441. t1 = true;
  74442. return t1;
  74443. },
  74444. $signature: 8
  74445. };
  74446. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74447. call$0() {
  74448. var $async$goto = 0,
  74449. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74450. $async$self = this, t1, t2, t3, _i;
  74451. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74452. if ($async$errorCode === 1)
  74453. return A._asyncRethrow($async$result, $async$completer);
  74454. while (true)
  74455. switch ($async$goto) {
  74456. case 0:
  74457. // Function start
  74458. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74459. case 2:
  74460. // for condition
  74461. if (!(_i < t2)) {
  74462. // goto after for
  74463. $async$goto = 4;
  74464. break;
  74465. }
  74466. $async$goto = 5;
  74467. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74468. case 5:
  74469. // returning from await.
  74470. case 3:
  74471. // for update
  74472. ++_i;
  74473. // goto for condition
  74474. $async$goto = 2;
  74475. break;
  74476. case 4:
  74477. // after for
  74478. // implicit return
  74479. return A._asyncReturn(null, $async$completer);
  74480. }
  74481. });
  74482. return A._asyncStartSync($async$call$0, $async$completer);
  74483. },
  74484. $signature: 2
  74485. };
  74486. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  74487. call$1(node) {
  74488. return node instanceof A.ModifiableCssStyleRule;
  74489. },
  74490. $signature: 8
  74491. };
  74492. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  74493. call$0() {
  74494. var $async$goto = 0,
  74495. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74496. $async$self = this, t1;
  74497. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74498. if ($async$errorCode === 1)
  74499. return A._asyncRethrow($async$result, $async$completer);
  74500. while (true)
  74501. switch ($async$goto) {
  74502. case 0:
  74503. // Function start
  74504. t1 = $async$self.$this;
  74505. $async$goto = 2;
  74506. 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);
  74507. case 2:
  74508. // returning from await.
  74509. // implicit return
  74510. return A._asyncReturn(null, $async$completer);
  74511. }
  74512. });
  74513. return A._asyncStartSync($async$call$0, $async$completer);
  74514. },
  74515. $signature: 2
  74516. };
  74517. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  74518. call$0() {
  74519. var $async$goto = 0,
  74520. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74521. $async$self = this, t1, t2, t3, _i;
  74522. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74523. if ($async$errorCode === 1)
  74524. return A._asyncRethrow($async$result, $async$completer);
  74525. while (true)
  74526. switch ($async$goto) {
  74527. case 0:
  74528. // Function start
  74529. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74530. case 2:
  74531. // for condition
  74532. if (!(_i < t2)) {
  74533. // goto after for
  74534. $async$goto = 4;
  74535. break;
  74536. }
  74537. $async$goto = 5;
  74538. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74539. case 5:
  74540. // returning from await.
  74541. case 3:
  74542. // for update
  74543. ++_i;
  74544. // goto for condition
  74545. $async$goto = 2;
  74546. break;
  74547. case 4:
  74548. // after for
  74549. // implicit return
  74550. return A._asyncReturn(null, $async$completer);
  74551. }
  74552. });
  74553. return A._asyncStartSync($async$call$0, $async$completer);
  74554. },
  74555. $signature: 2
  74556. };
  74557. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  74558. call$1(node) {
  74559. return node instanceof A.ModifiableCssStyleRule;
  74560. },
  74561. $signature: 8
  74562. };
  74563. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  74564. call$1(child) {
  74565. return child instanceof A.ModifiableCssComment;
  74566. },
  74567. $signature: 8
  74568. };
  74569. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  74570. call$0() {
  74571. var $async$goto = 0,
  74572. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74573. $async$self = this, t2, t3, _i, t1, _0_0;
  74574. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74575. if ($async$errorCode === 1)
  74576. return A._asyncRethrow($async$result, $async$completer);
  74577. while (true)
  74578. switch ($async$goto) {
  74579. case 0:
  74580. // Function start
  74581. t1 = $async$self.$this;
  74582. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74583. $async$goto = _0_0 != null ? 2 : 4;
  74584. break;
  74585. case 2:
  74586. // then
  74587. $async$goto = 5;
  74588. 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);
  74589. case 5:
  74590. // returning from await.
  74591. // goto join
  74592. $async$goto = 3;
  74593. break;
  74594. case 4:
  74595. // else
  74596. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74597. case 6:
  74598. // for condition
  74599. if (!(_i < t3)) {
  74600. // goto after for
  74601. $async$goto = 8;
  74602. break;
  74603. }
  74604. $async$goto = 9;
  74605. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74606. case 9:
  74607. // returning from await.
  74608. case 7:
  74609. // for update
  74610. ++_i;
  74611. // goto for condition
  74612. $async$goto = 6;
  74613. break;
  74614. case 8:
  74615. // after for
  74616. case 3:
  74617. // join
  74618. // implicit return
  74619. return A._asyncReturn(null, $async$completer);
  74620. }
  74621. });
  74622. return A._asyncStartSync($async$call$0, $async$completer);
  74623. },
  74624. $signature: 2
  74625. };
  74626. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  74627. call$0() {
  74628. var $async$goto = 0,
  74629. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74630. $async$self = this, t1, t2, t3, _i;
  74631. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74632. if ($async$errorCode === 1)
  74633. return A._asyncRethrow($async$result, $async$completer);
  74634. while (true)
  74635. switch ($async$goto) {
  74636. case 0:
  74637. // Function start
  74638. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74639. case 2:
  74640. // for condition
  74641. if (!(_i < t2)) {
  74642. // goto after for
  74643. $async$goto = 4;
  74644. break;
  74645. }
  74646. $async$goto = 5;
  74647. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74648. case 5:
  74649. // returning from await.
  74650. case 3:
  74651. // for update
  74652. ++_i;
  74653. // goto for condition
  74654. $async$goto = 2;
  74655. break;
  74656. case 4:
  74657. // after for
  74658. // implicit return
  74659. return A._asyncReturn(null, $async$completer);
  74660. }
  74661. });
  74662. return A._asyncStartSync($async$call$0, $async$completer);
  74663. },
  74664. $signature: 2
  74665. };
  74666. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  74667. call$1(node) {
  74668. return node instanceof A.ModifiableCssStyleRule;
  74669. },
  74670. $signature: 8
  74671. };
  74672. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  74673. call$0() {
  74674. var $async$goto = 0,
  74675. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74676. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  74677. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74678. if ($async$errorCode === 1)
  74679. return A._asyncRethrow($async$result, $async$completer);
  74680. while (true)
  74681. switch ($async$goto) {
  74682. case 0:
  74683. // Function start
  74684. t1 = $async$self.$this;
  74685. t2 = $async$self._box_0;
  74686. $async$temp1 = A;
  74687. $async$goto = 3;
  74688. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  74689. case 3:
  74690. // returning from await.
  74691. t3 = $async$temp1.S($async$result);
  74692. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74693. $async$temp1 = "(" + t3 + ":" + t4;
  74694. $async$temp2 = A;
  74695. $async$goto = 4;
  74696. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  74697. case 4:
  74698. // returning from await.
  74699. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  74700. // goto return
  74701. $async$goto = 1;
  74702. break;
  74703. case 1:
  74704. // return
  74705. return A._asyncReturn($async$returnValue, $async$completer);
  74706. }
  74707. });
  74708. return A._asyncStartSync($async$call$0, $async$completer);
  74709. },
  74710. $signature: 241
  74711. };
  74712. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  74713. call$0() {
  74714. var t1 = this.$this._async_evaluate$_environment,
  74715. t2 = this._box_0.override;
  74716. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74717. },
  74718. $signature: 1
  74719. };
  74720. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  74721. call$0() {
  74722. var t1 = this.node;
  74723. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  74724. },
  74725. $signature: 43
  74726. };
  74727. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  74728. call$0() {
  74729. var t1 = this.$this,
  74730. t2 = this.node;
  74731. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74732. },
  74733. $signature: 1
  74734. };
  74735. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  74736. call$2(module, firstLoad) {
  74737. var t1, t2, t3, _0_0, t4, t5, span;
  74738. if (firstLoad)
  74739. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74740. t1 = this.$this._async_evaluate$_environment;
  74741. t2 = this.node;
  74742. t3 = t2.namespace;
  74743. if (t3 == null) {
  74744. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  74745. t1._async_environment$_allModules.push(module);
  74746. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  74747. if (_0_0 != null)
  74748. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74749. } else {
  74750. t4 = t1._async_environment$_modules;
  74751. if (t4.containsKey$1(t3)) {
  74752. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  74753. span = t5 == null ? null : t5.span;
  74754. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74755. if (span != null)
  74756. t5.$indexSet(0, span, "original @use");
  74757. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74758. }
  74759. t4.$indexSet(0, t3, module);
  74760. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  74761. t1._async_environment$_allModules.push(module);
  74762. }
  74763. },
  74764. $signature: 133
  74765. };
  74766. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  74767. call$0() {
  74768. return this.node.expression.accept$1(this.$this);
  74769. },
  74770. $signature: 72
  74771. };
  74772. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  74773. call$0() {
  74774. var $async$goto = 0,
  74775. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74776. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  74777. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74778. if ($async$errorCode === 1)
  74779. return A._asyncRethrow($async$result, $async$completer);
  74780. while (true)
  74781. switch ($async$goto) {
  74782. case 0:
  74783. // Function start
  74784. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  74785. case 3:
  74786. // for condition
  74787. $async$goto = 5;
  74788. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  74789. case 5:
  74790. // returning from await.
  74791. if (!$async$result.get$isTruthy()) {
  74792. // goto after for
  74793. $async$goto = 4;
  74794. break;
  74795. }
  74796. $async$goto = 6;
  74797. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  74798. case 6:
  74799. // returning from await.
  74800. _0_0 = $async$result;
  74801. if (_0_0 != null) {
  74802. $async$returnValue = _0_0;
  74803. // goto return
  74804. $async$goto = 1;
  74805. break;
  74806. }
  74807. // goto for condition
  74808. $async$goto = 3;
  74809. break;
  74810. case 4:
  74811. // after for
  74812. $async$returnValue = null;
  74813. // goto return
  74814. $async$goto = 1;
  74815. break;
  74816. case 1:
  74817. // return
  74818. return A._asyncReturn($async$returnValue, $async$completer);
  74819. }
  74820. });
  74821. return A._asyncStartSync($async$call$0, $async$completer);
  74822. },
  74823. $signature: 76
  74824. };
  74825. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  74826. call$1(child) {
  74827. return child.accept$1(this.$this);
  74828. },
  74829. $signature: 90
  74830. };
  74831. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  74832. call$0() {
  74833. var $async$goto = 0,
  74834. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  74835. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  74836. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74837. if ($async$errorCode === 1)
  74838. return A._asyncRethrow($async$result, $async$completer);
  74839. while (true)
  74840. switch ($async$goto) {
  74841. case 0:
  74842. // Function start
  74843. t1 = $async$self.node;
  74844. t2 = $async$self.$this;
  74845. $async$goto = 3;
  74846. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  74847. case 3:
  74848. // returning from await.
  74849. left = $async$result;
  74850. case 4:
  74851. // switch
  74852. switch (t1.operator) {
  74853. case B.BinaryOperator_Kyq:
  74854. // goto case
  74855. $async$goto = 6;
  74856. break;
  74857. case B.BinaryOperator_tKu:
  74858. // goto case
  74859. $async$goto = 7;
  74860. break;
  74861. case B.BinaryOperator_uke:
  74862. // goto case
  74863. $async$goto = 8;
  74864. break;
  74865. case B.BinaryOperator_r84:
  74866. // goto case
  74867. $async$goto = 9;
  74868. break;
  74869. case B.BinaryOperator_qGq:
  74870. // goto case
  74871. $async$goto = 10;
  74872. break;
  74873. case B.BinaryOperator_o8O:
  74874. // goto case
  74875. $async$goto = 11;
  74876. break;
  74877. case B.BinaryOperator_JiR:
  74878. // goto case
  74879. $async$goto = 12;
  74880. break;
  74881. case B.BinaryOperator_qHy:
  74882. // goto case
  74883. $async$goto = 13;
  74884. break;
  74885. case B.BinaryOperator_FPG:
  74886. // goto case
  74887. $async$goto = 14;
  74888. break;
  74889. case B.BinaryOperator_Swh:
  74890. // goto case
  74891. $async$goto = 15;
  74892. break;
  74893. case B.BinaryOperator_QG1:
  74894. // goto case
  74895. $async$goto = 16;
  74896. break;
  74897. case B.BinaryOperator_tht:
  74898. // goto case
  74899. $async$goto = 17;
  74900. break;
  74901. case B.BinaryOperator_Mh5:
  74902. // goto case
  74903. $async$goto = 18;
  74904. break;
  74905. case B.BinaryOperator_s7T:
  74906. // goto case
  74907. $async$goto = 19;
  74908. break;
  74909. default:
  74910. // goto default
  74911. $async$goto = 20;
  74912. break;
  74913. }
  74914. break;
  74915. case 6:
  74916. // case
  74917. t1 = t1.right.accept$1(t2);
  74918. $async$goto = 21;
  74919. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74920. case 21:
  74921. // returning from await.
  74922. t1 = $async$result;
  74923. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  74924. // goto after switch
  74925. $async$goto = 5;
  74926. break;
  74927. case 7:
  74928. // case
  74929. $async$goto = left.get$isTruthy() ? 22 : 24;
  74930. break;
  74931. case 22:
  74932. // then
  74933. t1 = left;
  74934. // goto join
  74935. $async$goto = 23;
  74936. break;
  74937. case 24:
  74938. // else
  74939. t1 = t1.right.accept$1(t2);
  74940. $async$goto = 25;
  74941. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74942. case 25:
  74943. // returning from await.
  74944. t1 = $async$result;
  74945. case 23:
  74946. // join
  74947. // goto after switch
  74948. $async$goto = 5;
  74949. break;
  74950. case 8:
  74951. // case
  74952. $async$goto = left.get$isTruthy() ? 26 : 28;
  74953. break;
  74954. case 26:
  74955. // then
  74956. t1 = t1.right.accept$1(t2);
  74957. $async$goto = 29;
  74958. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  74959. case 29:
  74960. // returning from await.
  74961. t1 = $async$result;
  74962. // goto join
  74963. $async$goto = 27;
  74964. break;
  74965. case 28:
  74966. // else
  74967. t1 = left;
  74968. case 27:
  74969. // join
  74970. // goto after switch
  74971. $async$goto = 5;
  74972. break;
  74973. case 9:
  74974. // case
  74975. $async$temp1 = left;
  74976. $async$goto = 30;
  74977. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  74978. case 30:
  74979. // returning from await.
  74980. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  74981. // goto after switch
  74982. $async$goto = 5;
  74983. break;
  74984. case 10:
  74985. // case
  74986. $async$temp1 = left;
  74987. $async$goto = 31;
  74988. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  74989. case 31:
  74990. // returning from await.
  74991. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  74992. // goto after switch
  74993. $async$goto = 5;
  74994. break;
  74995. case 11:
  74996. // case
  74997. t1 = t1.right.accept$1(t2);
  74998. $async$temp1 = left;
  74999. $async$goto = 32;
  75000. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75001. case 32:
  75002. // returning from await.
  75003. t1 = $async$temp1.greaterThan$1($async$result);
  75004. // goto after switch
  75005. $async$goto = 5;
  75006. break;
  75007. case 12:
  75008. // case
  75009. t1 = t1.right.accept$1(t2);
  75010. $async$temp1 = left;
  75011. $async$goto = 33;
  75012. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75013. case 33:
  75014. // returning from await.
  75015. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75016. // goto after switch
  75017. $async$goto = 5;
  75018. break;
  75019. case 13:
  75020. // case
  75021. t1 = t1.right.accept$1(t2);
  75022. $async$temp1 = left;
  75023. $async$goto = 34;
  75024. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75025. case 34:
  75026. // returning from await.
  75027. t1 = $async$temp1.lessThan$1($async$result);
  75028. // goto after switch
  75029. $async$goto = 5;
  75030. break;
  75031. case 14:
  75032. // case
  75033. t1 = t1.right.accept$1(t2);
  75034. $async$temp1 = left;
  75035. $async$goto = 35;
  75036. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75037. case 35:
  75038. // returning from await.
  75039. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75040. // goto after switch
  75041. $async$goto = 5;
  75042. break;
  75043. case 15:
  75044. // case
  75045. t1 = t1.right.accept$1(t2);
  75046. $async$temp1 = left;
  75047. $async$goto = 36;
  75048. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75049. case 36:
  75050. // returning from await.
  75051. t1 = $async$temp1.plus$1($async$result);
  75052. // goto after switch
  75053. $async$goto = 5;
  75054. break;
  75055. case 16:
  75056. // case
  75057. t1 = t1.right.accept$1(t2);
  75058. $async$temp1 = left;
  75059. $async$goto = 37;
  75060. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75061. case 37:
  75062. // returning from await.
  75063. t1 = $async$temp1.minus$1($async$result);
  75064. // goto after switch
  75065. $async$goto = 5;
  75066. break;
  75067. case 17:
  75068. // case
  75069. t1 = t1.right.accept$1(t2);
  75070. $async$temp1 = left;
  75071. $async$goto = 38;
  75072. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75073. case 38:
  75074. // returning from await.
  75075. t1 = $async$temp1.times$1($async$result);
  75076. // goto after switch
  75077. $async$goto = 5;
  75078. break;
  75079. case 18:
  75080. // case
  75081. t3 = t1.right.accept$1(t2);
  75082. $async$temp1 = t2;
  75083. $async$temp2 = left;
  75084. $async$goto = 39;
  75085. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75086. case 39:
  75087. // returning from await.
  75088. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75089. // goto after switch
  75090. $async$goto = 5;
  75091. break;
  75092. case 19:
  75093. // case
  75094. t1 = t1.right.accept$1(t2);
  75095. $async$temp1 = left;
  75096. $async$goto = 40;
  75097. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75098. case 40:
  75099. // returning from await.
  75100. t1 = $async$temp1.modulo$1($async$result);
  75101. // goto after switch
  75102. $async$goto = 5;
  75103. break;
  75104. case 20:
  75105. // default
  75106. t1 = null;
  75107. case 5:
  75108. // after switch
  75109. $async$returnValue = t1;
  75110. // goto return
  75111. $async$goto = 1;
  75112. break;
  75113. case 1:
  75114. // return
  75115. return A._asyncReturn($async$returnValue, $async$completer);
  75116. }
  75117. });
  75118. return A._asyncStartSync($async$call$0, $async$completer);
  75119. },
  75120. $signature: 72
  75121. };
  75122. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75123. call$1(expression) {
  75124. var t1;
  75125. $label0$0: {
  75126. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  75127. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75128. break $label0$0;
  75129. }
  75130. if (expression instanceof A.ParenthesizedExpression) {
  75131. t1 = expression.expression.toString$0(0);
  75132. break $label0$0;
  75133. }
  75134. t1 = expression.toString$0(0);
  75135. break $label0$0;
  75136. }
  75137. return t1;
  75138. },
  75139. $signature: 135
  75140. };
  75141. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75142. call$0() {
  75143. var t1 = this.node;
  75144. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75145. },
  75146. $signature: 43
  75147. };
  75148. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75149. call$0() {
  75150. var t1, _this = this;
  75151. switch (_this.node.operator) {
  75152. case B.UnaryOperator_Rbl:
  75153. t1 = _this.operand.unaryPlus$0();
  75154. break;
  75155. case B.UnaryOperator_UCP:
  75156. t1 = _this.operand.unaryMinus$0();
  75157. break;
  75158. case B.UnaryOperator_lZV:
  75159. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75160. break;
  75161. case B.UnaryOperator_not_not_not:
  75162. t1 = _this.operand.unaryNot$0();
  75163. break;
  75164. default:
  75165. t1 = null;
  75166. }
  75167. return t1;
  75168. },
  75169. $signature: 36
  75170. };
  75171. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75172. call$1(expression) {
  75173. return expression.accept$1(this.$this);
  75174. },
  75175. $signature: 311
  75176. };
  75177. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75178. call$0() {
  75179. var t1 = this.node;
  75180. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75181. },
  75182. $signature: 87
  75183. };
  75184. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75185. call$1(argument) {
  75186. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75187. },
  75188. $signature: 137
  75189. };
  75190. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75191. call$0() {
  75192. var t1 = this.node;
  75193. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75194. },
  75195. $signature: 72
  75196. };
  75197. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75198. call$2(message, deprecation) {
  75199. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75200. },
  75201. call$1(message) {
  75202. return this.call$2(message, null);
  75203. },
  75204. $signature: 92
  75205. };
  75206. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75207. call$1(maxArgs) {
  75208. var t1 = this.node,
  75209. t2 = t1.$arguments.positional.length;
  75210. if (t2 === 0)
  75211. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75212. else if (maxArgs != null && t2 > maxArgs)
  75213. 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));
  75214. },
  75215. call$0() {
  75216. return this.call$1(null);
  75217. },
  75218. $signature: 93
  75219. };
  75220. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75221. call$0() {
  75222. var $async$goto = 0,
  75223. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75224. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  75225. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75226. if ($async$errorCode === 1)
  75227. return A._asyncRethrow($async$result, $async$completer);
  75228. while (true)
  75229. switch ($async$goto) {
  75230. case 0:
  75231. // Function start
  75232. t1 = $async$self.$this;
  75233. t2 = $async$self._box_0;
  75234. t3 = $async$self.node;
  75235. t4 = $async$self.inLegacySassFunction;
  75236. $async$temp1 = A;
  75237. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75238. $async$goto = 3;
  75239. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75240. case 3:
  75241. // returning from await.
  75242. $async$temp3 = $async$result;
  75243. $async$goto = 4;
  75244. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75245. case 4:
  75246. // returning from await.
  75247. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75248. // goto return
  75249. $async$goto = 1;
  75250. break;
  75251. case 1:
  75252. // return
  75253. return A._asyncReturn($async$returnValue, $async$completer);
  75254. }
  75255. });
  75256. return A._asyncStartSync($async$call$0, $async$completer);
  75257. },
  75258. $signature: 249
  75259. };
  75260. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75261. call$2(message, deprecation) {
  75262. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75263. },
  75264. call$1(message) {
  75265. return this.call$2(message, null);
  75266. },
  75267. $signature: 92
  75268. };
  75269. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75270. call$0() {
  75271. var t1 = this.node;
  75272. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75273. },
  75274. $signature: 72
  75275. };
  75276. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75277. call$0() {
  75278. var _this = this,
  75279. t1 = _this.$this,
  75280. t2 = _this.callable,
  75281. t3 = _this.V;
  75282. 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);
  75283. },
  75284. $signature() {
  75285. return this.V._eval$1("Future<0>()");
  75286. }
  75287. };
  75288. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75289. call$0() {
  75290. var _this = this,
  75291. t1 = _this.$this,
  75292. t2 = _this.V;
  75293. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75294. },
  75295. $signature() {
  75296. return this.V._eval$1("Future<0>()");
  75297. }
  75298. };
  75299. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75300. call$0() {
  75301. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75302. },
  75303. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75304. var $async$goto = 0,
  75305. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75306. $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;
  75307. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75308. if ($async$errorCode === 1)
  75309. return A._asyncRethrow($async$result, $async$completer);
  75310. while (true)
  75311. switch ($async$goto) {
  75312. case 0:
  75313. // Function start
  75314. t1 = $async$self.$this;
  75315. t2 = $async$self.evaluated._values;
  75316. t3 = $async$self.callable.declaration.parameters;
  75317. t4 = $async$self.nodeWithSpan;
  75318. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75319. parameters = t3.parameters;
  75320. t5 = parameters.length;
  75321. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75322. for (i = 0; i < minLength; ++i)
  75323. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75324. i = J.get$length$asx(t2[2]);
  75325. case 3:
  75326. // for condition
  75327. if (!(i < t5)) {
  75328. // goto after for
  75329. $async$goto = 5;
  75330. break;
  75331. }
  75332. parameter = parameters[i];
  75333. t6 = parameter.name;
  75334. value = t2[0].remove$1(0, t6);
  75335. $async$goto = value == null ? 6 : 7;
  75336. break;
  75337. case 6:
  75338. // then
  75339. t7 = parameter.defaultValue;
  75340. $async$temp1 = t1;
  75341. $async$goto = 8;
  75342. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75343. case 8:
  75344. // returning from await.
  75345. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75346. case 7:
  75347. // join
  75348. t7 = t1._async_evaluate$_environment;
  75349. t8 = t2[1].$index(0, t6);
  75350. if (t8 == null) {
  75351. t8 = parameter.defaultValue;
  75352. t8.toString;
  75353. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75354. }
  75355. t7.setLocalVariable$3(t6, value, t8);
  75356. case 4:
  75357. // for update
  75358. ++i;
  75359. // goto for condition
  75360. $async$goto = 3;
  75361. break;
  75362. case 5:
  75363. // after for
  75364. restParameter = t3.restParameter;
  75365. if (restParameter != null) {
  75366. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75367. t5 = t2[0];
  75368. t6 = t2[4];
  75369. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  75370. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75371. } else
  75372. argumentList = null;
  75373. $async$goto = 9;
  75374. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  75375. case 9:
  75376. // returning from await.
  75377. result = $async$result;
  75378. if (argumentList == null) {
  75379. $async$returnValue = result;
  75380. // goto return
  75381. $async$goto = 1;
  75382. break;
  75383. }
  75384. t5 = t2[0];
  75385. if (t5.get$isEmpty(t5)) {
  75386. $async$returnValue = result;
  75387. // goto return
  75388. $async$goto = 1;
  75389. break;
  75390. }
  75391. if (argumentList._wereKeywordsAccessed) {
  75392. $async$returnValue = result;
  75393. // goto return
  75394. $async$goto = 1;
  75395. break;
  75396. }
  75397. t5 = t2[0];
  75398. parameterWord = A.pluralize("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  75399. t2 = t2[0];
  75400. 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));
  75401. case 1:
  75402. // return
  75403. return A._asyncReturn($async$returnValue, $async$completer);
  75404. }
  75405. });
  75406. return A._asyncStartSync($async$call$0, $async$completer);
  75407. },
  75408. $signature() {
  75409. return this.V._eval$1("Future<0>()");
  75410. }
  75411. };
  75412. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  75413. call$1($name) {
  75414. return "$" + $name;
  75415. },
  75416. $signature: 6
  75417. };
  75418. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  75419. call$0() {
  75420. var $async$goto = 0,
  75421. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75422. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  75423. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75424. if ($async$errorCode === 1)
  75425. return A._asyncRethrow($async$result, $async$completer);
  75426. while (true)
  75427. switch ($async$goto) {
  75428. case 0:
  75429. // Function start
  75430. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  75431. case 3:
  75432. // for condition
  75433. if (!(_i < t3)) {
  75434. // goto after for
  75435. $async$goto = 5;
  75436. break;
  75437. }
  75438. $async$goto = 6;
  75439. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  75440. case 6:
  75441. // returning from await.
  75442. $returnValue = $async$result;
  75443. if ($returnValue instanceof A.Value) {
  75444. $async$returnValue = $returnValue;
  75445. // goto return
  75446. $async$goto = 1;
  75447. break;
  75448. }
  75449. case 4:
  75450. // for update
  75451. ++_i;
  75452. // goto for condition
  75453. $async$goto = 3;
  75454. break;
  75455. case 5:
  75456. // after for
  75457. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  75458. case 1:
  75459. // return
  75460. return A._asyncReturn($async$returnValue, $async$completer);
  75461. }
  75462. });
  75463. return A._asyncStartSync($async$call$0, $async$completer);
  75464. },
  75465. $signature: 72
  75466. };
  75467. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  75468. call$0() {
  75469. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75470. },
  75471. $signature: 0
  75472. };
  75473. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  75474. call$0() {
  75475. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75476. },
  75477. $signature: 307
  75478. };
  75479. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  75480. call$1($name) {
  75481. return "$" + $name;
  75482. },
  75483. $signature: 6
  75484. };
  75485. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  75486. call$1(value) {
  75487. return value;
  75488. },
  75489. $signature: 42
  75490. };
  75491. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  75492. call$1(value) {
  75493. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  75494. },
  75495. $signature: 42
  75496. };
  75497. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  75498. call$2(key, value) {
  75499. var _this = this,
  75500. t1 = _this.restNodeForSpan;
  75501. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  75502. _this.namedNodes.$indexSet(0, key, t1);
  75503. },
  75504. $signature: 94
  75505. };
  75506. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  75507. call$1(value) {
  75508. return value;
  75509. },
  75510. $signature: 42
  75511. };
  75512. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  75513. call$1(value) {
  75514. var t1 = this.restArgs;
  75515. return new A.ValueExpression(value, t1.get$span(t1));
  75516. },
  75517. $signature: 59
  75518. };
  75519. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  75520. call$1(value) {
  75521. var t1 = this.restArgs;
  75522. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75523. },
  75524. $signature: 59
  75525. };
  75526. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  75527. call$2(key, value) {
  75528. var _this = this,
  75529. t1 = _this.restArgs;
  75530. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75531. },
  75532. $signature: 94
  75533. };
  75534. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  75535. call$1(value) {
  75536. var t1 = this.keywordRestArgs;
  75537. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75538. },
  75539. $signature: 59
  75540. };
  75541. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  75542. call$2(key, value) {
  75543. var t2, _this = this,
  75544. t1 = _this.$this;
  75545. if (key instanceof A.SassString)
  75546. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  75547. else {
  75548. t2 = _this.nodeWithSpan;
  75549. 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)));
  75550. }
  75551. },
  75552. $signature: 88
  75553. };
  75554. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  75555. call$0() {
  75556. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75557. },
  75558. $signature: 0
  75559. };
  75560. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  75561. call$0() {
  75562. var $async$goto = 0,
  75563. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75564. $async$self = this, t1, t2, t3, t4;
  75565. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75566. if ($async$errorCode === 1)
  75567. return A._asyncRethrow($async$result, $async$completer);
  75568. while (true)
  75569. switch ($async$goto) {
  75570. case 0:
  75571. // Function start
  75572. 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");
  75573. case 2:
  75574. // for condition
  75575. if (!t1.moveNext$0()) {
  75576. // goto after for
  75577. $async$goto = 3;
  75578. break;
  75579. }
  75580. t4 = t1.__internal$_current;
  75581. $async$goto = 4;
  75582. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75583. case 4:
  75584. // returning from await.
  75585. // goto for condition
  75586. $async$goto = 2;
  75587. break;
  75588. case 3:
  75589. // after for
  75590. // implicit return
  75591. return A._asyncReturn(null, $async$completer);
  75592. }
  75593. });
  75594. return A._asyncStartSync($async$call$0, $async$completer);
  75595. },
  75596. $signature: 2
  75597. };
  75598. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  75599. call$1(node) {
  75600. return node instanceof A.ModifiableCssStyleRule;
  75601. },
  75602. $signature: 8
  75603. };
  75604. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  75605. call$0() {
  75606. var $async$goto = 0,
  75607. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75608. $async$self = this, t1, t2, t3, t4;
  75609. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75610. if ($async$errorCode === 1)
  75611. return A._asyncRethrow($async$result, $async$completer);
  75612. while (true)
  75613. switch ($async$goto) {
  75614. case 0:
  75615. // Function start
  75616. 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");
  75617. case 2:
  75618. // for condition
  75619. if (!t1.moveNext$0()) {
  75620. // goto after for
  75621. $async$goto = 3;
  75622. break;
  75623. }
  75624. t4 = t1.__internal$_current;
  75625. $async$goto = 4;
  75626. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75627. case 4:
  75628. // returning from await.
  75629. // goto for condition
  75630. $async$goto = 2;
  75631. break;
  75632. case 3:
  75633. // after for
  75634. // implicit return
  75635. return A._asyncReturn(null, $async$completer);
  75636. }
  75637. });
  75638. return A._asyncStartSync($async$call$0, $async$completer);
  75639. },
  75640. $signature: 2
  75641. };
  75642. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  75643. call$1(node) {
  75644. return node instanceof A.ModifiableCssStyleRule;
  75645. },
  75646. $signature: 8
  75647. };
  75648. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  75649. call$1(mediaQueries) {
  75650. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  75651. },
  75652. $signature: 91
  75653. };
  75654. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  75655. call$0() {
  75656. var $async$goto = 0,
  75657. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75658. $async$self = this, t1, t2;
  75659. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75660. if ($async$errorCode === 1)
  75661. return A._asyncRethrow($async$result, $async$completer);
  75662. while (true)
  75663. switch ($async$goto) {
  75664. case 0:
  75665. // Function start
  75666. t1 = $async$self.$this;
  75667. t2 = $async$self.mergedQueries;
  75668. if (t2 == null)
  75669. t2 = $async$self.node.queries;
  75670. $async$goto = 2;
  75671. 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);
  75672. case 2:
  75673. // returning from await.
  75674. // implicit return
  75675. return A._asyncReturn(null, $async$completer);
  75676. }
  75677. });
  75678. return A._asyncStartSync($async$call$0, $async$completer);
  75679. },
  75680. $signature: 2
  75681. };
  75682. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  75683. call$0() {
  75684. var $async$goto = 0,
  75685. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75686. $async$self = this, t2, t3, t4, t1, _0_0;
  75687. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75688. if ($async$errorCode === 1)
  75689. return A._asyncRethrow($async$result, $async$completer);
  75690. while (true)
  75691. switch ($async$goto) {
  75692. case 0:
  75693. // Function start
  75694. t1 = $async$self.$this;
  75695. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75696. $async$goto = _0_0 != null ? 2 : 4;
  75697. break;
  75698. case 2:
  75699. // then
  75700. $async$goto = 5;
  75701. 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);
  75702. case 5:
  75703. // returning from await.
  75704. // goto join
  75705. $async$goto = 3;
  75706. break;
  75707. case 4:
  75708. // else
  75709. 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");
  75710. case 6:
  75711. // for condition
  75712. if (!t2.moveNext$0()) {
  75713. // goto after for
  75714. $async$goto = 7;
  75715. break;
  75716. }
  75717. t4 = t2.__internal$_current;
  75718. $async$goto = 8;
  75719. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75720. case 8:
  75721. // returning from await.
  75722. // goto for condition
  75723. $async$goto = 6;
  75724. break;
  75725. case 7:
  75726. // after for
  75727. case 3:
  75728. // join
  75729. // implicit return
  75730. return A._asyncReturn(null, $async$completer);
  75731. }
  75732. });
  75733. return A._asyncStartSync($async$call$0, $async$completer);
  75734. },
  75735. $signature: 2
  75736. };
  75737. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  75738. call$0() {
  75739. var $async$goto = 0,
  75740. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75741. $async$self = this, t1, t2, t3, t4;
  75742. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75743. if ($async$errorCode === 1)
  75744. return A._asyncRethrow($async$result, $async$completer);
  75745. while (true)
  75746. switch ($async$goto) {
  75747. case 0:
  75748. // Function start
  75749. 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");
  75750. case 2:
  75751. // for condition
  75752. if (!t1.moveNext$0()) {
  75753. // goto after for
  75754. $async$goto = 3;
  75755. break;
  75756. }
  75757. t4 = t1.__internal$_current;
  75758. $async$goto = 4;
  75759. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75760. case 4:
  75761. // returning from await.
  75762. // goto for condition
  75763. $async$goto = 2;
  75764. break;
  75765. case 3:
  75766. // after for
  75767. // implicit return
  75768. return A._asyncReturn(null, $async$completer);
  75769. }
  75770. });
  75771. return A._asyncStartSync($async$call$0, $async$completer);
  75772. },
  75773. $signature: 2
  75774. };
  75775. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  75776. call$1(node) {
  75777. var t1;
  75778. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75779. t1 = this.mergedSources;
  75780. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75781. } else
  75782. t1 = true;
  75783. return t1;
  75784. },
  75785. $signature: 8
  75786. };
  75787. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  75788. call$0() {
  75789. var $async$goto = 0,
  75790. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75791. $async$self = this, t1;
  75792. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75793. if ($async$errorCode === 1)
  75794. return A._asyncRethrow($async$result, $async$completer);
  75795. while (true)
  75796. switch ($async$goto) {
  75797. case 0:
  75798. // Function start
  75799. t1 = $async$self.$this;
  75800. $async$goto = 2;
  75801. 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);
  75802. case 2:
  75803. // returning from await.
  75804. // implicit return
  75805. return A._asyncReturn(null, $async$completer);
  75806. }
  75807. });
  75808. return A._asyncStartSync($async$call$0, $async$completer);
  75809. },
  75810. $signature: 2
  75811. };
  75812. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  75813. call$0() {
  75814. var $async$goto = 0,
  75815. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75816. $async$self = this, t1, t2, t3, t4;
  75817. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75818. if ($async$errorCode === 1)
  75819. return A._asyncRethrow($async$result, $async$completer);
  75820. while (true)
  75821. switch ($async$goto) {
  75822. case 0:
  75823. // Function start
  75824. 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");
  75825. case 2:
  75826. // for condition
  75827. if (!t1.moveNext$0()) {
  75828. // goto after for
  75829. $async$goto = 3;
  75830. break;
  75831. }
  75832. t4 = t1.__internal$_current;
  75833. $async$goto = 4;
  75834. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75835. case 4:
  75836. // returning from await.
  75837. // goto for condition
  75838. $async$goto = 2;
  75839. break;
  75840. case 3:
  75841. // after for
  75842. // implicit return
  75843. return A._asyncReturn(null, $async$completer);
  75844. }
  75845. });
  75846. return A._asyncStartSync($async$call$0, $async$completer);
  75847. },
  75848. $signature: 2
  75849. };
  75850. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  75851. call$1(node) {
  75852. return node instanceof A.ModifiableCssStyleRule;
  75853. },
  75854. $signature: 8
  75855. };
  75856. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  75857. call$0() {
  75858. var $async$goto = 0,
  75859. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75860. $async$self = this, t2, t3, t4, t1, _0_0;
  75861. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75862. if ($async$errorCode === 1)
  75863. return A._asyncRethrow($async$result, $async$completer);
  75864. while (true)
  75865. switch ($async$goto) {
  75866. case 0:
  75867. // Function start
  75868. t1 = $async$self.$this;
  75869. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75870. $async$goto = _0_0 != null ? 2 : 4;
  75871. break;
  75872. case 2:
  75873. // then
  75874. $async$goto = 5;
  75875. 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);
  75876. case 5:
  75877. // returning from await.
  75878. // goto join
  75879. $async$goto = 3;
  75880. break;
  75881. case 4:
  75882. // else
  75883. 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");
  75884. case 6:
  75885. // for condition
  75886. if (!t2.moveNext$0()) {
  75887. // goto after for
  75888. $async$goto = 7;
  75889. break;
  75890. }
  75891. t4 = t2.__internal$_current;
  75892. $async$goto = 8;
  75893. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75894. case 8:
  75895. // returning from await.
  75896. // goto for condition
  75897. $async$goto = 6;
  75898. break;
  75899. case 7:
  75900. // after for
  75901. case 3:
  75902. // join
  75903. // implicit return
  75904. return A._asyncReturn(null, $async$completer);
  75905. }
  75906. });
  75907. return A._asyncStartSync($async$call$0, $async$completer);
  75908. },
  75909. $signature: 2
  75910. };
  75911. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  75912. call$0() {
  75913. var $async$goto = 0,
  75914. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75915. $async$self = this, t1, t2, t3, t4;
  75916. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75917. if ($async$errorCode === 1)
  75918. return A._asyncRethrow($async$result, $async$completer);
  75919. while (true)
  75920. switch ($async$goto) {
  75921. case 0:
  75922. // Function start
  75923. 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");
  75924. case 2:
  75925. // for condition
  75926. if (!t1.moveNext$0()) {
  75927. // goto after for
  75928. $async$goto = 3;
  75929. break;
  75930. }
  75931. t4 = t1.__internal$_current;
  75932. $async$goto = 4;
  75933. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75934. case 4:
  75935. // returning from await.
  75936. // goto for condition
  75937. $async$goto = 2;
  75938. break;
  75939. case 3:
  75940. // after for
  75941. // implicit return
  75942. return A._asyncReturn(null, $async$completer);
  75943. }
  75944. });
  75945. return A._asyncStartSync($async$call$0, $async$completer);
  75946. },
  75947. $signature: 2
  75948. };
  75949. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  75950. call$1(node) {
  75951. return node instanceof A.ModifiableCssStyleRule;
  75952. },
  75953. $signature: 8
  75954. };
  75955. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  75956. call$1(targetLocations) {
  75957. return A.InterpolationMap$(this.interpolation, targetLocations);
  75958. },
  75959. $signature: 253
  75960. };
  75961. A._EvaluateVisitor__serialize_closure0.prototype = {
  75962. call$0() {
  75963. return A.serializeValue(this.value, false, this.quote);
  75964. },
  75965. $signature: 32
  75966. };
  75967. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  75968. call$0() {
  75969. var t1 = this.expression;
  75970. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  75971. },
  75972. $signature: 254
  75973. };
  75974. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  75975. call$1(number) {
  75976. var before, after, t1,
  75977. _1_0 = number.asSlash;
  75978. $label0$0: {
  75979. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  75980. before = _1_0._0;
  75981. after = _1_0._1;
  75982. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  75983. break $label0$0;
  75984. }
  75985. t1 = A.serializeValue(number, true, true);
  75986. break $label0$0;
  75987. }
  75988. return t1;
  75989. },
  75990. $signature: 255
  75991. };
  75992. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  75993. call$1(url) {
  75994. var t1 = this.$this._async_evaluate$_importCache;
  75995. t1 = t1 == null ? null : t1.humanize$1(url);
  75996. return t1 == null ? url : t1;
  75997. },
  75998. $signature: 51
  75999. };
  76000. A._ImportedCssVisitor0.prototype = {
  76001. visitCssAtRule$1(node) {
  76002. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  76003. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  76004. },
  76005. visitCssComment$1(node) {
  76006. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76007. },
  76008. visitCssDeclaration$1(node) {
  76009. },
  76010. visitCssImport$1(node) {
  76011. var t2,
  76012. _s13_ = "_endOfImports",
  76013. t1 = this._async_evaluate$_visitor;
  76014. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76015. t1._async_evaluate$_addChild$1(node);
  76016. 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)) {
  76017. t1._async_evaluate$_addChild$1(node);
  76018. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76019. } else {
  76020. t2 = t1._async_evaluate$_outOfOrderImports;
  76021. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76022. }
  76023. },
  76024. visitCssKeyframeBlock$1(node) {
  76025. },
  76026. visitCssMediaRule$1(node) {
  76027. var t1 = this._async_evaluate$_visitor,
  76028. mediaQueries = t1._async_evaluate$_mediaQueries;
  76029. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76030. },
  76031. visitCssStyleRule$1(node) {
  76032. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76033. },
  76034. visitCssStylesheet$1(node) {
  76035. var t1, t2, t3;
  76036. 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();) {
  76037. t3 = t1.__internal$_current;
  76038. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76039. }
  76040. },
  76041. visitCssSupportsRule$1(node) {
  76042. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76043. }
  76044. };
  76045. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76046. call$1(node) {
  76047. return node instanceof A.ModifiableCssStyleRule;
  76048. },
  76049. $signature: 8
  76050. };
  76051. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76052. call$1(node) {
  76053. var t1;
  76054. if (!(node instanceof A.ModifiableCssStyleRule))
  76055. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76056. else
  76057. t1 = true;
  76058. return t1;
  76059. },
  76060. $signature: 8
  76061. };
  76062. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76063. call$1(node) {
  76064. return node instanceof A.ModifiableCssStyleRule;
  76065. },
  76066. $signature: 8
  76067. };
  76068. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76069. call$1(node) {
  76070. return node instanceof A.ModifiableCssStyleRule;
  76071. },
  76072. $signature: 8
  76073. };
  76074. A._EvaluationContext0.prototype = {
  76075. get$currentCallableSpan() {
  76076. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76077. if (_0_0 != null)
  76078. return _0_0.get$span(_0_0);
  76079. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76080. },
  76081. warn$2(_, message, deprecation) {
  76082. var t1 = this._async_evaluate$_visitor,
  76083. t2 = t1._async_evaluate$_importSpan;
  76084. if (t2 == null) {
  76085. t2 = t1._async_evaluate$_callableNode;
  76086. t2 = t2 == null ? null : t2.get$span(t2);
  76087. }
  76088. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76089. },
  76090. $isEvaluationContext: 1
  76091. };
  76092. A._CloneCssVisitor.prototype = {
  76093. visitCssAtRule$1(node) {
  76094. var t1 = node.isChildless,
  76095. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76096. return t1 ? rule : this._visitChildren$2(rule, node);
  76097. },
  76098. visitCssComment$1(node) {
  76099. return new A.ModifiableCssComment(node.text, node.span);
  76100. },
  76101. visitCssDeclaration$1(node) {
  76102. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  76103. },
  76104. visitCssImport$1(node) {
  76105. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76106. },
  76107. visitCssKeyframeBlock$1(node) {
  76108. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76109. },
  76110. visitCssMediaRule$1(node) {
  76111. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76112. },
  76113. visitCssStyleRule$1(node) {
  76114. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76115. if (_0_0 != null)
  76116. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76117. else
  76118. throw A.wrapException(A.StateError$(string$.The_Ex));
  76119. },
  76120. visitCssStylesheet$1(node) {
  76121. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76122. },
  76123. visitCssSupportsRule$1(node) {
  76124. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76125. },
  76126. _visitChildren$1$2(newParent, oldParent) {
  76127. var t1, t2, newChild;
  76128. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76129. t2 = t1.get$current(t1);
  76130. newChild = t2.accept$1(this);
  76131. newChild.isGroupEnd = t2.get$isGroupEnd();
  76132. newParent.addChild$1(newChild);
  76133. }
  76134. return newParent;
  76135. },
  76136. _visitChildren$2(newParent, oldParent) {
  76137. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76138. }
  76139. };
  76140. A.Evaluator.prototype = {};
  76141. A._EvaluateVisitor.prototype = {
  76142. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76143. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76144. _s20_ = "$name, $module: null",
  76145. _s9_ = "sass:meta",
  76146. _s7_ = "$module",
  76147. t1 = type$.JSArray_BuiltInCallable,
  76148. 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),
  76149. 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);
  76150. t1 = type$.BuiltInCallable;
  76151. t2 = A.List_List$of($.$get$moduleFunctions(), true, t1);
  76152. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76153. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76154. 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) {
  76155. module = t1[_i];
  76156. t3.$indexSet(0, module.url, module);
  76157. }
  76158. t1 = type$.JSArray_Callable;
  76159. t2 = A._setArrayType([], t1);
  76160. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76161. t1 = A._setArrayType([], t1);
  76162. for (_i = 0; _i < 11; ++_i)
  76163. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76164. B.JSArray_methods.addAll$1(t2, t1);
  76165. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76166. $function = t2[_i];
  76167. t4 = $function.get$name($function);
  76168. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76169. }
  76170. },
  76171. run$2(_, importer, node) {
  76172. var error, stackTrace, t1, exception;
  76173. try {
  76174. t1 = type$.nullable_Object;
  76175. 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);
  76176. return t1;
  76177. } catch (exception) {
  76178. t1 = A.unwrapException(exception);
  76179. if (t1 instanceof A.SassException) {
  76180. error = t1;
  76181. stackTrace = A.getTraceFromException(exception);
  76182. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76183. } else
  76184. throw exception;
  76185. }
  76186. },
  76187. runExpression$2(importer, expression) {
  76188. var t1 = type$.nullable_Object;
  76189. 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);
  76190. },
  76191. runStatement$2(importer, statement) {
  76192. var t1 = type$.nullable_Object;
  76193. 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);
  76194. },
  76195. _assertInModule$1$2(value, $name) {
  76196. if (value != null)
  76197. return value;
  76198. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76199. },
  76200. _assertInModule$2(value, $name) {
  76201. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76202. },
  76203. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76204. var t1, _this = this,
  76205. oldImporter = _this._importer;
  76206. _this._importer = importer;
  76207. _this.__stylesheet = A.Stylesheet$(B.List_empty13, nodeWithSpan.get$span(nodeWithSpan));
  76208. try {
  76209. t1 = callback.call$0();
  76210. return t1;
  76211. } finally {
  76212. _this._importer = oldImporter;
  76213. _this.__stylesheet = null;
  76214. }
  76215. },
  76216. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76217. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76218. },
  76219. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76220. var t2, _this = this,
  76221. _0_0 = _this._builtInModules.$index(0, url),
  76222. t1 = {};
  76223. t1.builtInModule = null;
  76224. if (_0_0 != null) {
  76225. t1.builtInModule = _0_0;
  76226. if (configuration instanceof A.ExplicitConfiguration) {
  76227. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76228. t2 = configuration.nodeWithSpan;
  76229. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76230. }
  76231. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76232. return;
  76233. }
  76234. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76235. },
  76236. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76237. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76238. },
  76239. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76240. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76241. },
  76242. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76243. var _0_0, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76244. t1 = stylesheet.span,
  76245. url = t1.get$sourceUrl(t1);
  76246. t1 = _this._modules;
  76247. _0_0 = t1.$index(0, url);
  76248. if (_0_0 != null) {
  76249. t1 = configuration == null;
  76250. currentConfiguration = t1 ? _this._configuration : configuration;
  76251. t2 = _this._moduleConfigurations.$index(0, url);
  76252. t3 = t2.__originalConfiguration;
  76253. t2 = t3 == null ? t2 : t3;
  76254. t3 = currentConfiguration.__originalConfiguration;
  76255. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  76256. if (namesInErrors) {
  76257. t2 = $.$get$context();
  76258. url.toString;
  76259. message = t2.prettyUri$1(url) + string$.x20was_a;
  76260. } else
  76261. message = string$.This_mw;
  76262. t2 = _this._moduleNodes.$index(0, url);
  76263. existingSpan = t2 == null ? null : t2.get$span(t2);
  76264. if (t1) {
  76265. t1 = currentConfiguration.nodeWithSpan;
  76266. configurationSpan = t1.get$span(t1);
  76267. } else
  76268. configurationSpan = null;
  76269. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76270. if (existingSpan != null)
  76271. t1.$indexSet(0, existingSpan, "original load");
  76272. if (configurationSpan != null)
  76273. t1.$indexSet(0, configurationSpan, "configuration");
  76274. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76275. }
  76276. return _0_0;
  76277. }
  76278. environment = A.Environment$();
  76279. css = A._Cell$();
  76280. preModuleComments = A._Cell$();
  76281. extensionStore = A.ExtensionStore$();
  76282. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76283. t2 = css._readLocal$0();
  76284. t3 = preModuleComments._readLocal$0();
  76285. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  76286. if (url != null) {
  76287. t1.$indexSet(0, url, module);
  76288. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  76289. if (nodeWithSpan != null)
  76290. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76291. }
  76292. return module;
  76293. },
  76294. _execute$2(importer, stylesheet) {
  76295. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76296. },
  76297. _addOutOfOrderImports$0() {
  76298. var t1, t2, _this = this, _s5_ = "_root",
  76299. _s13_ = "_endOfImports",
  76300. _0_0 = _this._outOfOrderImports;
  76301. $label0$0: {
  76302. if (_0_0 == null) {
  76303. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76304. break $label0$0;
  76305. }
  76306. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76307. 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);
  76308. B.JSArray_methods.addAll$1(t1, _0_0);
  76309. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76310. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76311. break $label0$0;
  76312. }
  76313. return t1;
  76314. },
  76315. _combineCss$2$clone(root, clone) {
  76316. var selectors, _0_0, t1, imports, css, sorted, t2;
  76317. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76318. selectors = root.get$extensionStore().get$simpleSelectors();
  76319. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76320. if (_0_0 != null)
  76321. this._throwForUnsatisfiedExtension$1(_0_0);
  76322. return root.get$css(root);
  76323. }
  76324. t1 = type$.JSArray_CssNode;
  76325. imports = A._setArrayType([], t1);
  76326. css = A._setArrayType([], t1);
  76327. t1 = type$.Module_Callable;
  76328. sorted = A.ListQueue$(t1);
  76329. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76330. if (root.get$transitivelyContainsExtensions())
  76331. this._extendModules$1(sorted);
  76332. t1 = B.JSArray_methods.$add(imports, css);
  76333. t2 = root.get$css(root);
  76334. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76335. },
  76336. _combineCss$1(root) {
  76337. return this._combineCss$2$clone(root, false);
  76338. },
  76339. _extendModules$1(sortedModules) {
  76340. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76341. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76342. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76343. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76344. t3 = t1._collection$_current;
  76345. if (t3 == null)
  76346. t3 = t2._as(t3);
  76347. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76348. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76349. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76350. t4 = t3.get$extensionStore().get$addExtensions();
  76351. if ($self != null)
  76352. t4.call$1($self);
  76353. t4 = t3.get$extensionStore();
  76354. if (t4.get$isEmpty(t4))
  76355. continue;
  76356. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76357. upstream = t4[_i];
  76358. _0_0 = upstream.get$url(upstream);
  76359. if (_0_0 != null)
  76360. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76361. }
  76362. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76363. }
  76364. if (unsatisfiedExtensions._collection$_length !== 0)
  76365. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  76366. },
  76367. _throwForUnsatisfiedExtension$1(extension) {
  76368. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  76369. },
  76370. _indexAfterImports$1(statements) {
  76371. var t1, lastImport, i, _0_0;
  76372. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  76373. $label0$0: {
  76374. _0_0 = t1.$index(statements, i);
  76375. if (_0_0 instanceof A.ModifiableCssImport)
  76376. break $label0$0;
  76377. if (_0_0 instanceof A.ModifiableCssComment)
  76378. continue;
  76379. break;
  76380. }
  76381. lastImport = i;
  76382. }
  76383. return lastImport + 1;
  76384. },
  76385. visitStylesheet$1(_, node) {
  76386. var t1, t2, warning, _i, $name, span;
  76387. 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();) {
  76388. warning = t1.__internal$_current;
  76389. if (warning == null)
  76390. warning = t2._as(warning);
  76391. this._warn$3(warning._1, warning._2, warning._0);
  76392. }
  76393. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76394. t1[_i].accept$1(this);
  76395. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  76396. t2 = t1.get$current(t1);
  76397. $name = t2._0;
  76398. span = t2._1;
  76399. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  76400. }
  76401. return null;
  76402. },
  76403. visitAtRootRule$1(_, node) {
  76404. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  76405. _s8_ = "__parent",
  76406. _0_0 = node.query,
  76407. 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,
  76408. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  76409. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  76410. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  76411. if (!query.excludes$1($parent))
  76412. included.push($parent);
  76413. _2_0 = $parent._parent;
  76414. if (_2_0 == null)
  76415. throw A.wrapException(A.StateError$(string$.CssNod));
  76416. }
  76417. root = _this._trimIncluded$1(included);
  76418. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  76419. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  76420. return _null;
  76421. }
  76422. if (included.length >= 1) {
  76423. first = included[0];
  76424. rest = B.JSArray_methods.sublist$1(included, 1);
  76425. innerCopy = first.copyWithoutChildren$0();
  76426. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  76427. copy = rest[_i].copyWithoutChildren$0();
  76428. copy.addChild$1(outerCopy);
  76429. }
  76430. root.addChild$1(outerCopy);
  76431. } else
  76432. innerCopy = root;
  76433. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  76434. return _null;
  76435. },
  76436. _trimIncluded$1(nodes) {
  76437. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  76438. _s22_ = " to be an ancestor of ";
  76439. if (nodes.length === 0)
  76440. return _this._assertInModule$2(_this.__root, _s5_);
  76441. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  76442. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  76443. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  76444. _0_0 = $parent._parent;
  76445. if (_0_0 == null)
  76446. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76447. }
  76448. if (innermostContiguous == null)
  76449. innermostContiguous = i;
  76450. _1_0 = $parent._parent;
  76451. if (_1_0 == null)
  76452. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76453. }
  76454. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  76455. return _this._assertInModule$2(_this.__root, _s5_);
  76456. innermostContiguous.toString;
  76457. root = nodes[innermostContiguous];
  76458. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  76459. return root;
  76460. },
  76461. _scopeForAtRoot$4(node, newParent, query, included) {
  76462. var _this = this,
  76463. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  76464. t1 = query._all || query._at_root_query$_rule;
  76465. if (t1 !== query.include)
  76466. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  76467. if (_this._mediaQueries != null && query.excludesName$1("media"))
  76468. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  76469. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  76470. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  76471. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  76472. },
  76473. visitContentBlock$1(_, node) {
  76474. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  76475. },
  76476. visitContentRule$1(_, node) {
  76477. var $content = this._environment._content;
  76478. if ($content == null)
  76479. return null;
  76480. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  76481. return null;
  76482. },
  76483. visitDebugRule$1(_, node) {
  76484. var value = node.expression.accept$1(this),
  76485. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  76486. this._logger.debug$2(0, t1, node.span);
  76487. return null;
  76488. },
  76489. visitDeclaration$1(_, node) {
  76490. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  76491. _s8_ = "__parent";
  76492. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  76493. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  76494. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  76495. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  76496. siblings = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  76497. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  76498. if (siblings.get$last(siblings) !== _this._assertInModule$2(_this.__parent, _s8_))
  76499. t1 = !(_this._quietDeps && _this._inDependency);
  76500. else
  76501. t1 = false;
  76502. if (t1)
  76503. 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();) {
  76504. t6 = t1.__internal$_current;
  76505. rule = t6 == null ? t2._as(t6) : t6;
  76506. $label0$1: {
  76507. if (rule instanceof A.ModifiableCssComment)
  76508. continue;
  76509. t6 = rule instanceof A.ModifiableCssStyleRule;
  76510. rule0 = t6 ? rule : _null;
  76511. if (t6) {
  76512. interleavedRules.push(rule0);
  76513. break $label0$1;
  76514. }
  76515. _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);
  76516. B.JSArray_methods.clear$0(interleavedRules);
  76517. break $label0$1;
  76518. }
  76519. }
  76520. t1 = node.name;
  76521. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  76522. _1_0 = _this._declarationName;
  76523. if (_1_0 != null)
  76524. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  76525. _2_0 = node.value;
  76526. if (_2_0 != null) {
  76527. value = _2_0.accept$1(_this);
  76528. if (!value.get$isBlank() || value.get$asList().length === 0) {
  76529. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  76530. t3 = _2_0.get$span(_2_0);
  76531. t4 = node.span;
  76532. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  76533. t5 = interleavedRules.length === 0 ? _null : _this._evaluate$_stackTrace$1(t4);
  76534. if (_this._sourceMap) {
  76535. t6 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  76536. t6 = t6 == null ? _null : J.get$span$z(t6);
  76537. } else
  76538. t6 = _null;
  76539. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  76540. } else if (J.startsWith$1$s($name.value, "--"))
  76541. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  76542. }
  76543. _3_0 = node.children;
  76544. t1 = {};
  76545. t1.children = null;
  76546. if (_3_0 != null) {
  76547. t1.children = _3_0;
  76548. oldDeclarationName = _this._declarationName;
  76549. _this._declarationName = $name.value;
  76550. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  76551. _this._declarationName = oldDeclarationName;
  76552. }
  76553. return _null;
  76554. },
  76555. visitEachRule$1(_, node) {
  76556. var _this = this,
  76557. t1 = node.list,
  76558. list = t1.accept$1(_this),
  76559. nodeWithSpan = _this._expressionNode$1(t1),
  76560. _0_0 = node.variables;
  76561. $label0$0: {
  76562. t1 = {};
  76563. t1.variable = null;
  76564. if (_0_0.length === 1) {
  76565. t1.variable = _0_0[0];
  76566. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  76567. break $label0$0;
  76568. }
  76569. t1 = {};
  76570. t1.variables = null;
  76571. t1.variables = _0_0;
  76572. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  76573. break $label0$0;
  76574. }
  76575. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  76576. },
  76577. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  76578. var i,
  76579. list = value.get$asList(),
  76580. t1 = variables.length,
  76581. minLength = Math.min(t1, list.length);
  76582. for (i = 0; i < minLength; ++i)
  76583. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  76584. for (i = minLength; i < t1; ++i)
  76585. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  76586. },
  76587. visitErrorRule$1(_, node) {
  76588. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  76589. },
  76590. visitExtendRule$1(_, node) {
  76591. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  76592. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  76593. if (styleRule == null || _this._declarationName != null)
  76594. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  76595. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  76596. complex = t1[_i];
  76597. if (!complex.accept$1(B._IsBogusVisitor_true))
  76598. continue;
  76599. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  76600. complex.accept$1(visitor);
  76601. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  76602. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  76603. _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);
  76604. }
  76605. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  76606. 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) {
  76607. complex = t1[_i];
  76608. compound = complex.get$singleCompound();
  76609. if (compound == null)
  76610. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  76611. t4 = compound.components;
  76612. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  76613. if (t5 == null)
  76614. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  76615. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  76616. }
  76617. return _null;
  76618. },
  76619. visitAtRule$1(_, node) {
  76620. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  76621. if (_this._declarationName != null)
  76622. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  76623. $name = _this._interpolationToValue$1(node.name);
  76624. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  76625. children = node.children;
  76626. if (children == null) {
  76627. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  76628. return null;
  76629. }
  76630. wasInKeyframes = _this._inKeyframes;
  76631. wasInUnknownAtRule = _this._inUnknownAtRule;
  76632. if (A.unvendor($name.value) === "keyframes")
  76633. _this._inKeyframes = true;
  76634. else
  76635. _this._inUnknownAtRule = true;
  76636. _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);
  76637. _this._inUnknownAtRule = wasInUnknownAtRule;
  76638. _this._inKeyframes = wasInKeyframes;
  76639. return null;
  76640. },
  76641. visitForRule$1(_, node) {
  76642. var _this = this, t1 = {},
  76643. t2 = node.from,
  76644. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  76645. t3 = node.to,
  76646. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  76647. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  76648. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  76649. direction = from > to ? -1 : 1;
  76650. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  76651. return null;
  76652. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  76653. },
  76654. visitForwardRule$1(_, node) {
  76655. var newConfiguration, t4, _i, variable, $name, _this = this,
  76656. _s8_ = "@forward",
  76657. oldConfiguration = _this._configuration,
  76658. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  76659. t1 = node.configuration,
  76660. t2 = t1.length,
  76661. t3 = node.url;
  76662. if (t2 !== 0) {
  76663. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  76664. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  76665. t3 = type$.String;
  76666. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76667. for (_i = 0; _i < t2; ++_i) {
  76668. variable = t1[_i];
  76669. if (!variable.isGuarded)
  76670. t4.add$1(0, variable.name);
  76671. }
  76672. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  76673. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76674. for (_i = 0; _i < t2; ++_i)
  76675. t3.add$1(0, t1[_i].name);
  76676. 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) {
  76677. $name = t2[_i];
  76678. if (!t3.contains$1(0, $name))
  76679. if (!t1.get$isEmpty(t1))
  76680. t1.remove$1(0, $name);
  76681. }
  76682. _this._assertConfigurationIsEmpty$1(newConfiguration);
  76683. } else {
  76684. _this._configuration = adjustedConfiguration;
  76685. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  76686. _this._configuration = oldConfiguration;
  76687. }
  76688. return null;
  76689. },
  76690. _addForwardConfiguration$2(configuration, node) {
  76691. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  76692. t1 = configuration._configuration$_values,
  76693. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76694. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76695. variable = t2[_i];
  76696. if (variable.isGuarded) {
  76697. t4 = variable.name;
  76698. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  76699. if (_0_0 != null) {
  76700. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  76701. oldValue = _0_0;
  76702. } else {
  76703. oldValue = _null;
  76704. t5 = false;
  76705. }
  76706. if (t5) {
  76707. newValues.$indexSet(0, t4, oldValue);
  76708. continue;
  76709. }
  76710. }
  76711. t4 = variable.expression;
  76712. variableNodeWithSpan = this._expressionNode$1(t4);
  76713. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  76714. }
  76715. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  76716. return new A.ExplicitConfiguration(node, newValues, _null);
  76717. else
  76718. return new A.Configuration(newValues, _null);
  76719. },
  76720. _registerCommentsForModule$1(module) {
  76721. var _this = this, _s5_ = "_root",
  76722. t1 = _this.__root;
  76723. if (t1 == null)
  76724. return;
  76725. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  76726. return;
  76727. t1 = _this._preModuleComments;
  76728. if (t1 == null)
  76729. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  76730. 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));
  76731. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  76732. _this.__endOfImports = 0;
  76733. },
  76734. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  76735. var t1, t2, t3, t4, _i, $name;
  76736. 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) {
  76737. $name = t2[_i];
  76738. if (except.contains$1(0, $name))
  76739. continue;
  76740. if (!t4.containsKey$1($name))
  76741. if (!t1.get$isEmpty(t1))
  76742. t1.remove$1(0, $name);
  76743. }
  76744. },
  76745. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  76746. var t1, _0_0, $name, value;
  76747. if (!(configuration instanceof A.ExplicitConfiguration))
  76748. return;
  76749. t1 = configuration._configuration$_values;
  76750. if (t1.get$isEmpty(t1))
  76751. return;
  76752. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76753. _0_0 = t1.get$first(t1);
  76754. $name = _0_0._0;
  76755. value = _0_0._1;
  76756. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  76757. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  76758. },
  76759. _assertConfigurationIsEmpty$1(configuration) {
  76760. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  76761. },
  76762. visitFunctionRule$1(_, node) {
  76763. var t1 = this._environment,
  76764. t2 = t1.closure$0(),
  76765. t3 = this._inDependency,
  76766. t4 = t1._functions,
  76767. index = t4.length - 1,
  76768. t5 = node.name;
  76769. t1._functionIndices.$indexSet(0, t5, index);
  76770. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76771. return null;
  76772. },
  76773. visitIfRule$1(_, node) {
  76774. var t1, t2, _i, clauseToCheck,
  76775. clause = node.lastClause;
  76776. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  76777. clauseToCheck = t1[_i];
  76778. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  76779. clause = clauseToCheck;
  76780. break;
  76781. }
  76782. }
  76783. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  76784. },
  76785. visitImportRule$1(_, node) {
  76786. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  76787. _s8_ = "__parent",
  76788. _s5_ = "_root",
  76789. _s13_ = "_endOfImports";
  76790. 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) {
  76791. $import = t1[_i];
  76792. if ($import instanceof A.DynamicImport)
  76793. _this._visitDynamicImport$1($import);
  76794. else {
  76795. t5._as($import);
  76796. t7 = $import.url;
  76797. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  76798. $self = $import.modifiers;
  76799. t8 = $self == null ? null : t4.call$1($self);
  76800. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  76801. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  76802. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  76803. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  76804. t7 = _this._assertInModule$2(_this.__root, _s5_);
  76805. node._parent = t7;
  76806. t7 = t7._children;
  76807. node._indexInParent = t7.length;
  76808. t7.push(node);
  76809. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76810. } else {
  76811. t7 = _this._outOfOrderImports;
  76812. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  76813. }
  76814. }
  76815. }
  76816. return null;
  76817. },
  76818. _visitDynamicImport$1($import) {
  76819. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  76820. },
  76821. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  76822. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76823. baseUrl = baseUrl;
  76824. try {
  76825. _this._importSpan = span;
  76826. _0_0 = _this._evaluate$_importCache;
  76827. importCache = null;
  76828. if (_0_0 != null) {
  76829. importCache = _0_0;
  76830. if (baseUrl == null) {
  76831. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  76832. baseUrl = t1.get$sourceUrl(t1);
  76833. }
  76834. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  76835. importer = null;
  76836. canonicalUrl = null;
  76837. originalUrl = null;
  76838. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  76839. importer = _1_0._0;
  76840. canonicalUrl = _1_0._1;
  76841. originalUrl = _1_0._2;
  76842. if (canonicalUrl.get$scheme() === "")
  76843. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  76844. _this._loadedUrls.add$1(0, canonicalUrl);
  76845. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  76846. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  76847. stylesheet = null;
  76848. if (_2_0 != null) {
  76849. stylesheet = _2_0;
  76850. t1 = stylesheet;
  76851. t2 = importer;
  76852. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  76853. }
  76854. }
  76855. }
  76856. t1 = B.JSString_methods.startsWith$1(url, "package:");
  76857. if (t1)
  76858. throw A.wrapException(string$.x22packa);
  76859. else
  76860. throw A.wrapException("Can't find stylesheet to import.");
  76861. } catch (exception) {
  76862. t1 = A.unwrapException(exception);
  76863. if (t1 instanceof A.SassException)
  76864. throw exception;
  76865. else if (t1 instanceof A.ArgumentError) {
  76866. error = t1;
  76867. stackTrace = A.getTraceFromException(exception);
  76868. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  76869. } else {
  76870. error0 = t1;
  76871. stackTrace0 = A.getTraceFromException(exception);
  76872. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  76873. }
  76874. } finally {
  76875. _this._importSpan = null;
  76876. }
  76877. },
  76878. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  76879. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  76880. },
  76881. _loadStylesheet$3$forImport(url, span, forImport) {
  76882. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  76883. },
  76884. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  76885. var t1, _0_0, t2, _1_8, _this = this,
  76886. _s37_ = "Mixin doesn't accept a content block.",
  76887. _s10_ = "invocation";
  76888. $label0$0: {
  76889. if (mixin == null)
  76890. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  76891. t1 = mixin instanceof A.BuiltInCallable;
  76892. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  76893. t1 = _this._evaluateArguments$1($arguments)._values;
  76894. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  76895. 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));
  76896. }
  76897. if (t1) {
  76898. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  76899. break $label0$0;
  76900. }
  76901. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  76902. t2 = false;
  76903. if (t1) {
  76904. _1_8 = mixin.declaration;
  76905. if (_1_8 instanceof A.MixinRule)
  76906. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  76907. }
  76908. if (t2)
  76909. 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));
  76910. if (t1) {
  76911. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  76912. break $label0$0;
  76913. }
  76914. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  76915. }
  76916. },
  76917. visitIncludeRule$1(_, node) {
  76918. var _this = this,
  76919. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  76920. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  76921. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  76922. _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)));
  76923. return null;
  76924. },
  76925. visitMixinRule$1(_, node) {
  76926. var t1 = this._environment,
  76927. t2 = t1.closure$0(),
  76928. t3 = this._inDependency,
  76929. t4 = t1._mixins,
  76930. index = t4.length - 1,
  76931. t5 = node.name;
  76932. t1._mixinIndices.$indexSet(0, t5, index);
  76933. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76934. return null;
  76935. },
  76936. visitLoudComment$1(_, node) {
  76937. var t1, text, _this = this,
  76938. _s8_ = "__parent",
  76939. _s13_ = "_endOfImports";
  76940. if (_this._inFunction)
  76941. return null;
  76942. 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))
  76943. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76944. t1 = node.text;
  76945. text = _this._performInterpolation$1(t1);
  76946. if (!B.JSString_methods.endsWith$1(text, "*/"))
  76947. text += " */";
  76948. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  76949. return null;
  76950. },
  76951. visitMediaRule$1(_, node) {
  76952. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  76953. if (_this._declarationName != null)
  76954. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  76955. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  76956. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  76957. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  76958. t1 = mergedQueries == null;
  76959. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  76960. return null;
  76961. if (t1)
  76962. mergedSources = B.Set_empty1;
  76963. else {
  76964. t2 = _this._mediaQuerySources;
  76965. t2.toString;
  76966. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  76967. t3 = _this._mediaQueries;
  76968. t3.toString;
  76969. t2.addAll$1(0, t3);
  76970. t2.addAll$1(0, queries);
  76971. mergedSources = t2;
  76972. }
  76973. t1 = t1 ? queries : mergedQueries;
  76974. _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);
  76975. return null;
  76976. },
  76977. _mergeMediaQueries$2(queries1, queries2) {
  76978. var t1, t2, t3, t4, _0_0, t5, result,
  76979. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  76980. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  76981. t3 = t1.get$current(t1);
  76982. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  76983. _0_0 = t3.merge$1(t4.get$current(t4));
  76984. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  76985. continue;
  76986. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  76987. return null;
  76988. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  76989. result = t5 ? _0_0 : null;
  76990. if (t5)
  76991. queries.push(result.query);
  76992. }
  76993. }
  76994. return queries;
  76995. },
  76996. visitReturnRule$1(_, node) {
  76997. var t1 = node.expression;
  76998. return this._withoutSlash$2(t1.accept$1(this), t1);
  76999. },
  77000. visitSilentComment$1(_, node) {
  77001. return null;
  77002. },
  77003. visitStyleRule$1(_, node) {
  77004. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  77005. _s8_ = "__parent",
  77006. _s11_ = "_stylesheet";
  77007. if (_this._declarationName != null)
  77008. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77009. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77010. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77011. t1 = node.selector;
  77012. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77013. selectorText = _0_0._0;
  77014. selectorMap = _0_0._1;
  77015. if (_this._inKeyframes) {
  77016. _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);
  77017. return _null;
  77018. }
  77019. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77020. t1 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77021. t1 = t1 == null ? _null : t1.fromPlainCss;
  77022. nest = t1 !== true;
  77023. if (nest) {
  77024. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77025. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77026. _1_0 = t1[_i].leadingCombinators;
  77027. if (_1_0.length >= 1) {
  77028. first = _1_0[0];
  77029. t3 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77030. } else {
  77031. first = _null;
  77032. t3 = false;
  77033. }
  77034. if (t3)
  77035. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77036. }
  77037. t1 = _this._styleRuleIgnoringAtRoot;
  77038. t1 = t1 == null ? _null : t1.originalSelector;
  77039. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77040. }
  77041. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77042. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77043. t1 = _this._atRootExcludingStyleRule = false;
  77044. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77045. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule, type$.Null);
  77046. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77047. _this._warnForBogusCombinators$1(rule);
  77048. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77049. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77050. t1 = !t1.get$isEmpty(t1);
  77051. }
  77052. if (t1) {
  77053. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77054. t1.get$last(t1).isGroupEnd = true;
  77055. }
  77056. return _null;
  77057. },
  77058. _warnForBogusCombinators$1(rule) {
  77059. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77060. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77061. 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) {
  77062. complex = t1[_i];
  77063. if (!complex.accept$1(B._IsBogusVisitor_true))
  77064. continue;
  77065. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77066. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77067. complex.accept$1(visitor);
  77068. _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);
  77069. } else if (complex.leadingCombinators.length !== 0) {
  77070. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77071. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77072. complex.accept$1(visitor);
  77073. _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);
  77074. }
  77075. } else {
  77076. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77077. complex.accept$1(visitor);
  77078. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77079. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77080. t8 = A.SpanExtensions_trimRight(complex.span);
  77081. if (t5.get$length(0) === 0)
  77082. A.throwExpression(A.IterableElementError_noElement());
  77083. t9 = J.get$span$z(t5.$index(0, 0));
  77084. _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);
  77085. }
  77086. }
  77087. },
  77088. visitSupportsRule$1(_, node) {
  77089. var t1, _this = this;
  77090. if (_this._declarationName != null)
  77091. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77092. t1 = node.condition;
  77093. _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);
  77094. return null;
  77095. },
  77096. _visitSupportsCondition$1(condition) {
  77097. var t1, _this = this;
  77098. $label0$0: {
  77099. if (condition instanceof A.SupportsOperation) {
  77100. t1 = condition.operator;
  77101. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77102. break $label0$0;
  77103. }
  77104. if (condition instanceof A.SupportsNegation) {
  77105. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77106. break $label0$0;
  77107. }
  77108. if (condition instanceof A.SupportsInterpolation) {
  77109. t1 = condition.expression;
  77110. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77111. break $label0$0;
  77112. }
  77113. t1 = {};
  77114. t1.declaration = null;
  77115. if (condition instanceof A.SupportsDeclaration) {
  77116. t1.declaration = condition;
  77117. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77118. break $label0$0;
  77119. }
  77120. if (condition instanceof A.SupportsFunction) {
  77121. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77122. break $label0$0;
  77123. }
  77124. if (condition instanceof A.SupportsAnything) {
  77125. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77126. break $label0$0;
  77127. }
  77128. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77129. }
  77130. return t1;
  77131. },
  77132. _withSupportsDeclaration$1$1(callback) {
  77133. var t1,
  77134. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77135. this._inSupportsDeclaration = true;
  77136. try {
  77137. t1 = callback.call$0();
  77138. return t1;
  77139. } finally {
  77140. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77141. }
  77142. },
  77143. _withSupportsDeclaration$1(callback) {
  77144. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77145. },
  77146. _evaluate$_parenthesize$2(condition, operator) {
  77147. var t1;
  77148. if (!(condition instanceof A.SupportsNegation))
  77149. if (condition instanceof A.SupportsOperation)
  77150. t1 = operator == null || operator !== condition.operator;
  77151. else
  77152. t1 = false;
  77153. else
  77154. t1 = true;
  77155. if (t1)
  77156. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77157. return this._visitSupportsCondition$1(condition);
  77158. },
  77159. _evaluate$_parenthesize$1(condition) {
  77160. return this._evaluate$_parenthesize$2(condition, null);
  77161. },
  77162. visitVariableDeclaration$1(_, node) {
  77163. var t1, _0_0, t2, value, _this = this, _null = null;
  77164. if (node.isGuarded) {
  77165. if (node.namespace == null && _this._environment._variables.length === 1) {
  77166. t1 = _this._configuration._configuration$_values;
  77167. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  77168. t1 = {};
  77169. t1.override = null;
  77170. if (_0_0 != null) {
  77171. t1.override = _0_0;
  77172. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77173. } else
  77174. t2 = false;
  77175. if (t2) {
  77176. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77177. return _null;
  77178. }
  77179. }
  77180. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77181. if (value != null && !value.$eq(0, B.C__SassNull))
  77182. return _null;
  77183. }
  77184. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77185. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77186. _this._warn$3(t1, node.span, B.Deprecation_Rg0);
  77187. }
  77188. t1 = node.expression;
  77189. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77190. return _null;
  77191. },
  77192. visitUseRule$1(_, node) {
  77193. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77194. t1 = node.configuration,
  77195. t2 = t1.length;
  77196. if (t2 !== 0) {
  77197. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77198. for (_i = 0; _i < t2; ++_i) {
  77199. variable = t1[_i];
  77200. t3 = variable.expression;
  77201. variableNodeWithSpan = _this._expressionNode$1(t3);
  77202. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77203. }
  77204. configuration = new A.ExplicitConfiguration(node, values, null);
  77205. } else
  77206. configuration = B.Configuration_Map_empty_null;
  77207. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77208. _this._assertConfigurationIsEmpty$1(configuration);
  77209. return null;
  77210. },
  77211. visitWarnRule$1(_, node) {
  77212. var _this = this,
  77213. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77214. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77215. t2 = _this._evaluate$_stackTrace$1(node.span);
  77216. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77217. return null;
  77218. },
  77219. visitWhileRule$1(_, node) {
  77220. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77221. },
  77222. visitBinaryOperationExpression$1(_, node) {
  77223. var t1, _this = this;
  77224. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77225. t1 = node.operator;
  77226. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  77227. } else
  77228. t1 = false;
  77229. if (t1)
  77230. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77231. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77232. },
  77233. _slash$3(left, right, node) {
  77234. var t2, _1_1,
  77235. result = left.dividedBy$1(right),
  77236. _1_2_isSet = left instanceof A.SassNumber,
  77237. _1_2 = null, right0 = null,
  77238. t1 = false;
  77239. if (_1_2_isSet) {
  77240. t2 = type$.SassNumber;
  77241. t2._as(left);
  77242. if (right instanceof A.SassNumber) {
  77243. t2._as(right);
  77244. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77245. right0 = right;
  77246. _1_2 = right0;
  77247. } else
  77248. _1_2 = right;
  77249. _1_1 = left;
  77250. } else {
  77251. _1_1 = left;
  77252. left = null;
  77253. }
  77254. if (t1)
  77255. return type$.SassNumber._as(result).withSlash$2(left, right0);
  77256. if (_1_1 instanceof A.SassNumber)
  77257. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77258. else
  77259. t1 = false;
  77260. if (t1) {
  77261. 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);
  77262. return result;
  77263. }
  77264. return result;
  77265. },
  77266. _operandAllowsSlash$1(node) {
  77267. var t1;
  77268. if (node instanceof A.FunctionExpression)
  77269. if (node.namespace == null) {
  77270. t1 = node.name;
  77271. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77272. } else
  77273. t1 = false;
  77274. else
  77275. t1 = true;
  77276. return t1;
  77277. },
  77278. visitValueExpression$1(_, node) {
  77279. return node.value;
  77280. },
  77281. visitVariableExpression$1(_, node) {
  77282. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77283. if (result != null)
  77284. return result;
  77285. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77286. },
  77287. visitUnaryOperationExpression$1(_, node) {
  77288. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77289. },
  77290. visitBooleanExpression$1(_, node) {
  77291. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77292. },
  77293. visitIfExpression$1(_, node) {
  77294. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77295. _0_0 = _this._evaluateMacroArguments$1(node),
  77296. positional = _0_0._0,
  77297. named = _0_0._1;
  77298. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77299. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77300. if (condition == null) {
  77301. t1 = named.$index(0, "condition");
  77302. t1.toString;
  77303. condition = t1;
  77304. }
  77305. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77306. if (ifTrue == null) {
  77307. t1 = named.$index(0, "if-true");
  77308. t1.toString;
  77309. ifTrue = t1;
  77310. }
  77311. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77312. if (ifFalse == null) {
  77313. t1 = named.$index(0, "if-false");
  77314. t1.toString;
  77315. ifFalse = t1;
  77316. }
  77317. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77318. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77319. },
  77320. visitNullExpression$1(_, node) {
  77321. return B.C__SassNull;
  77322. },
  77323. visitNumberExpression$1(_, node) {
  77324. return A.SassNumber_SassNumber(node.value, node.unit);
  77325. },
  77326. visitParenthesizedExpression$1(_, node) {
  77327. var _this = this;
  77328. 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);
  77329. },
  77330. visitColorExpression$1(_, node) {
  77331. return node.value;
  77332. },
  77333. visitListExpression$1(_, node) {
  77334. var t1 = node.contents;
  77335. 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);
  77336. },
  77337. visitMapExpression$1(_, node) {
  77338. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77339. t1 = type$.Value,
  77340. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77341. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77342. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77343. t4 = t2[_i];
  77344. key = t4._0;
  77345. keyValue = key.accept$1(this);
  77346. valueValue = t4._1.accept$1(this);
  77347. if (map.containsKey$1(keyValue)) {
  77348. t1 = keyNodes.$index(0, keyValue);
  77349. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77350. t1 = key.get$span(key);
  77351. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77352. if (oldValueSpan != null)
  77353. t2.$indexSet(0, oldValueSpan, "first key");
  77354. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77355. }
  77356. map.$indexSet(0, keyValue, valueValue);
  77357. keyNodes.$indexSet(0, keyValue, key);
  77358. }
  77359. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77360. },
  77361. visitFunctionExpression$1(_, node) {
  77362. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77363. _s11_ = "_stylesheet",
  77364. t1 = {},
  77365. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77366. t1.$function = $function;
  77367. if ($function == null) {
  77368. if (node.namespace != null)
  77369. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77370. t2 = node.name;
  77371. _0_0 = t2.toLowerCase();
  77372. t3 = false;
  77373. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77374. t3 = node.$arguments;
  77375. t4 = t3.named;
  77376. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77377. $name = _0_0;
  77378. } else
  77379. $name = null;
  77380. if (t3)
  77381. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  77382. 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)
  77383. return _this._visitCalculation$1(node);
  77384. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  77385. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  77386. } else
  77387. t2 = $function;
  77388. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  77389. _this._warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_Kg6);
  77390. oldInFunction = _this._inFunction;
  77391. _this._inFunction = true;
  77392. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  77393. _this._inFunction = oldInFunction;
  77394. return result;
  77395. },
  77396. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  77397. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  77398. t2 = node.$arguments,
  77399. t3 = t2.named;
  77400. if (t3.get$isNotEmpty(t3))
  77401. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  77402. else if (t2.rest != null)
  77403. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  77404. _this._checkCalculationArguments$1(node);
  77405. t3 = A._setArrayType([], type$.JSArray_Object);
  77406. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  77407. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77408. $arguments = t3;
  77409. if (_this._inSupportsDeclaration)
  77410. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  77411. oldCallableNode = _this._callableNode;
  77412. _this._callableNode = node;
  77413. try {
  77414. t1 = null;
  77415. t3 = node.name;
  77416. _0_0 = t3.toLowerCase();
  77417. $label0$0: {
  77418. if ("calc" === _0_0) {
  77419. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  77420. break $label0$0;
  77421. }
  77422. if ("sqrt" === _0_0) {
  77423. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  77424. break $label0$0;
  77425. }
  77426. if ("sin" === _0_0) {
  77427. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  77428. break $label0$0;
  77429. }
  77430. if ("cos" === _0_0) {
  77431. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  77432. break $label0$0;
  77433. }
  77434. if ("tan" === _0_0) {
  77435. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  77436. break $label0$0;
  77437. }
  77438. if ("asin" === _0_0) {
  77439. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  77440. break $label0$0;
  77441. }
  77442. if ("acos" === _0_0) {
  77443. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  77444. break $label0$0;
  77445. }
  77446. if ("atan" === _0_0) {
  77447. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  77448. break $label0$0;
  77449. }
  77450. if ("abs" === _0_0) {
  77451. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  77452. break $label0$0;
  77453. }
  77454. if ("exp" === _0_0) {
  77455. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  77456. break $label0$0;
  77457. }
  77458. if ("sign" === _0_0) {
  77459. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  77460. break $label0$0;
  77461. }
  77462. if ("min" === _0_0) {
  77463. t1 = A.SassCalculation_min($arguments);
  77464. break $label0$0;
  77465. }
  77466. if ("max" === _0_0) {
  77467. t1 = A.SassCalculation_max($arguments);
  77468. break $label0$0;
  77469. }
  77470. if ("hypot" === _0_0) {
  77471. t1 = A.SassCalculation_hypot($arguments);
  77472. break $label0$0;
  77473. }
  77474. if ("pow" === _0_0) {
  77475. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77476. break $label0$0;
  77477. }
  77478. if ("atan2" === _0_0) {
  77479. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77480. break $label0$0;
  77481. }
  77482. if ("log" === _0_0) {
  77483. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77484. break $label0$0;
  77485. }
  77486. if ("mod" === _0_0) {
  77487. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77488. break $label0$0;
  77489. }
  77490. if ("rem" === _0_0) {
  77491. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77492. break $label0$0;
  77493. }
  77494. if ("round" === _0_0) {
  77495. 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));
  77496. break $label0$0;
  77497. }
  77498. if ("clamp" === _0_0) {
  77499. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  77500. break $label0$0;
  77501. }
  77502. if ("calc-size" === _0_0) {
  77503. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77504. break $label0$0;
  77505. }
  77506. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  77507. t1 = A.throwExpression(t3);
  77508. }
  77509. t1 = t1;
  77510. return t1;
  77511. } catch (exception) {
  77512. t1 = A.unwrapException(exception);
  77513. if (t1 instanceof A.SassScriptException) {
  77514. error = t1;
  77515. stackTrace = A.getTraceFromException(exception);
  77516. if (B.JSString_methods.contains$1(error.message, "compatible"))
  77517. _this._verifyCompatibleNumbers$2($arguments, t2);
  77518. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  77519. } else
  77520. throw exception;
  77521. } finally {
  77522. _this._callableNode = oldCallableNode;
  77523. }
  77524. },
  77525. _visitCalculation$1(node) {
  77526. return this._visitCalculation$2$inLegacySassFunction(node, null);
  77527. },
  77528. _checkCalculationArguments$1(node) {
  77529. var t1, _0_0,
  77530. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  77531. $label0$0: {
  77532. t1 = node.name;
  77533. _0_0 = t1.toLowerCase();
  77534. 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) {
  77535. check.call$1(1);
  77536. break $label0$0;
  77537. }
  77538. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  77539. check.call$0();
  77540. break $label0$0;
  77541. }
  77542. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  77543. check.call$1(2);
  77544. break $label0$0;
  77545. }
  77546. if ("round" === _0_0 || "clamp" === _0_0) {
  77547. check.call$1(3);
  77548. break $label0$0;
  77549. }
  77550. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  77551. }
  77552. },
  77553. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  77554. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  77555. for (i = 0; t1 = args.length, i < t1; ++i) {
  77556. _0_0 = args[i];
  77557. if (_0_0 instanceof A.SassNumber) {
  77558. t1 = _0_0.get$hasComplexUnits();
  77559. arg = _0_0;
  77560. } else {
  77561. arg = null;
  77562. t1 = false;
  77563. }
  77564. if (t1) {
  77565. t1 = A.S(arg);
  77566. t2 = nodesWithSpans[i];
  77567. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  77568. }
  77569. }
  77570. for (i = 0; i < t1 - 1; ++i) {
  77571. number1 = args[i];
  77572. if (!(number1 instanceof A.SassNumber))
  77573. continue;
  77574. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  77575. number2 = args[j];
  77576. if (!(number2 instanceof A.SassNumber))
  77577. continue;
  77578. if (number1.hasPossiblyCompatibleUnits$1(number2))
  77579. continue;
  77580. t1 = number1.toString$0(0);
  77581. t2 = number2.toString$0(0);
  77582. t3 = nodesWithSpans[i];
  77583. t3 = t3.get$span(t3);
  77584. t4 = number1.toString$0(0);
  77585. t5 = nodesWithSpans[j];
  77586. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  77587. t6 = nodesWithSpans[i];
  77588. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  77589. }
  77590. }
  77591. },
  77592. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  77593. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  77594. t1 = node instanceof A.ParenthesizedExpression,
  77595. inner = t1 ? node.expression : _null;
  77596. if (t1) {
  77597. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  77598. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  77599. }
  77600. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  77601. t1 = node.text;
  77602. t2 = t1.get$asPlain();
  77603. _0_0 = t2 == null ? _null : t2.toLowerCase();
  77604. $label0$0: {
  77605. if ("pi" === _0_0) {
  77606. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  77607. break $label0$0;
  77608. }
  77609. if ("e" === _0_0) {
  77610. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  77611. break $label0$0;
  77612. }
  77613. if ("infinity" === _0_0) {
  77614. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  77615. break $label0$0;
  77616. }
  77617. if ("-infinity" === _0_0) {
  77618. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  77619. break $label0$0;
  77620. }
  77621. if ("nan" === _0_0) {
  77622. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  77623. break $label0$0;
  77624. }
  77625. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  77626. break $label0$0;
  77627. }
  77628. return t1;
  77629. }
  77630. _box_0 = {};
  77631. _box_0.right = _box_0.left = _box_0.operator = null;
  77632. t1 = node instanceof A.BinaryOperationExpression;
  77633. if (t1) {
  77634. _box_0.operator = node.operator;
  77635. _box_0.left = node.left;
  77636. _box_0.right = node.right;
  77637. }
  77638. if (t1) {
  77639. _this._checkWhitespaceAroundCalculationOperator$1(node);
  77640. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  77641. }
  77642. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  77643. _1_0 = node.accept$1(_this);
  77644. $label1$1: {
  77645. if (_1_0 instanceof A.SassNumber) {
  77646. t1 = _1_0;
  77647. break $label1$1;
  77648. }
  77649. if (_1_0 instanceof A.SassCalculation) {
  77650. t1 = _1_0;
  77651. break $label1$1;
  77652. }
  77653. if (_1_0 instanceof A.SassString) {
  77654. t1 = !_1_0._hasQuotes;
  77655. result = _1_0;
  77656. } else {
  77657. result = _null;
  77658. t1 = false;
  77659. }
  77660. if (t1) {
  77661. t1 = result;
  77662. break $label1$1;
  77663. }
  77664. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  77665. }
  77666. return t1;
  77667. }
  77668. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2) {
  77669. t1 = A._setArrayType([], type$.JSArray_Object);
  77670. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77671. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77672. _this._checkAdjacentCalculationValues$2(t1, node);
  77673. for (i = 0; i < t1.length; ++i) {
  77674. t3 = t1[i];
  77675. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  77676. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  77677. }
  77678. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  77679. }
  77680. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  77681. },
  77682. _checkWhitespaceAroundCalculationOperator$1(node) {
  77683. var t2, t3, t4, textBetweenOperands, first, last,
  77684. t1 = node.operator;
  77685. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  77686. return;
  77687. t1 = node.left;
  77688. t2 = t1.get$span(t1);
  77689. t2 = t2.get$file(t2);
  77690. t3 = node.right;
  77691. t4 = t3.get$span(t3);
  77692. if (t2 !== t4.get$file(t4))
  77693. return;
  77694. t2 = t1.get$span(t1);
  77695. t2 = t2.get$end(t2);
  77696. t4 = t3.get$span(t3);
  77697. if (t2.offset >= t4.get$start(t4).offset)
  77698. return;
  77699. t2 = t1.get$span(t1);
  77700. t2 = t2.get$file(t2);
  77701. t1 = t1.get$span(t1);
  77702. t1 = t1.get$end(t1);
  77703. t3 = t3.get$span(t3);
  77704. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  77705. first = textBetweenOperands.charCodeAt(0);
  77706. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  77707. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  77708. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  77709. else
  77710. t1 = true;
  77711. if (t1)
  77712. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  77713. },
  77714. _binaryOperatorToCalculationOperator$2(operator, node) {
  77715. var t1;
  77716. $label0$0: {
  77717. if (B.BinaryOperator_Swh === operator) {
  77718. t1 = B.CalculationOperator_F7i;
  77719. break $label0$0;
  77720. }
  77721. if (B.BinaryOperator_QG1 === operator) {
  77722. t1 = B.CalculationOperator_oum;
  77723. break $label0$0;
  77724. }
  77725. if (B.BinaryOperator_tht === operator) {
  77726. t1 = B.CalculationOperator_kkN;
  77727. break $label0$0;
  77728. }
  77729. if (B.BinaryOperator_Mh5 === operator) {
  77730. t1 = B.CalculationOperator_bo5;
  77731. break $label0$0;
  77732. }
  77733. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  77734. }
  77735. return t1;
  77736. },
  77737. _checkAdjacentCalculationValues$2(elements, node) {
  77738. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  77739. for (t1 = elements.length, i = 1; i < t1; ++i) {
  77740. t2 = i - 1;
  77741. previous = elements[t2];
  77742. current = elements[i];
  77743. if (previous instanceof A.SassString || current instanceof A.SassString)
  77744. continue;
  77745. t1 = node.contents;
  77746. previousNode = t1[t2];
  77747. currentNode = t1[i];
  77748. if (currentNode instanceof A.UnaryOperationExpression) {
  77749. _0_2 = currentNode.operator;
  77750. if (B.UnaryOperator_UCP !== _0_2)
  77751. t1 = B.UnaryOperator_Rbl === _0_2;
  77752. else
  77753. t1 = true;
  77754. } else
  77755. t1 = false;
  77756. if (!t1)
  77757. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  77758. else
  77759. t1 = true;
  77760. if (t1)
  77761. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  77762. else
  77763. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  77764. }
  77765. },
  77766. visitInterpolatedFunctionExpression$1(_, node) {
  77767. var result, _this = this,
  77768. t1 = _this._performInterpolation$1(node.name),
  77769. oldInFunction = _this._inFunction;
  77770. _this._inFunction = true;
  77771. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  77772. _this._inFunction = oldInFunction;
  77773. return result;
  77774. },
  77775. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  77776. var oldCallable, oldInDependency, result, _this = this,
  77777. evaluated = _this._evaluateArguments$1($arguments),
  77778. $name = callable.declaration.name;
  77779. if ($name !== "@content")
  77780. $name += "()";
  77781. oldCallable = _this._currentCallable;
  77782. oldInDependency = _this._inDependency;
  77783. _this._currentCallable = callable;
  77784. _this._inDependency = callable.inDependency;
  77785. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  77786. _this._currentCallable = oldCallable;
  77787. _this._inDependency = oldInDependency;
  77788. return result;
  77789. },
  77790. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  77791. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  77792. if (callable instanceof A.BuiltInCallable)
  77793. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  77794. else if (type$.UserDefinedCallable_Environment._is(callable))
  77795. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  77796. else if (callable instanceof A.PlainCssCallable) {
  77797. t1 = $arguments.named;
  77798. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  77799. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  77800. buffer = new A.StringBuffer(callable.name + "(");
  77801. try {
  77802. first = true;
  77803. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77804. argument = t1[_i];
  77805. if (first)
  77806. first = false;
  77807. else
  77808. buffer._contents += ", ";
  77809. t3 = buffer;
  77810. t4 = argument;
  77811. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  77812. t3._contents += t4;
  77813. }
  77814. restArg = $arguments.rest;
  77815. if (restArg != null) {
  77816. rest = restArg.accept$1(_this);
  77817. if (!first)
  77818. buffer._contents += ", ";
  77819. t1 = buffer;
  77820. t2 = _this._evaluate$_serialize$2(rest, restArg);
  77821. t1._contents += t2;
  77822. }
  77823. } catch (exception) {
  77824. t1 = A.unwrapException(exception);
  77825. if (type$.SassRuntimeException._is(t1)) {
  77826. error = t1;
  77827. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  77828. throw exception;
  77829. 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));
  77830. } else
  77831. throw exception;
  77832. }
  77833. t1 = buffer;
  77834. t2 = A.Primitives_stringFromCharCode(41);
  77835. t1._contents += t2;
  77836. t2 = buffer._contents;
  77837. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  77838. } else
  77839. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  77840. },
  77841. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  77842. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  77843. evaluated = _this._evaluateArguments$1($arguments),
  77844. oldCallableNode = _this._callableNode;
  77845. _this._callableNode = nodeWithSpan;
  77846. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  77847. _box_0.callback = _box_0.overload = null;
  77848. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  77849. _box_0.overload = _0_0._0;
  77850. _box_0.callback = _0_0._1;
  77851. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  77852. parameters = _box_0.overload.parameters;
  77853. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  77854. parameter = parameters[i];
  77855. t2 = evaluated._values[2];
  77856. t3 = evaluated._values[0].remove$1(0, parameter.name);
  77857. if (t3 == null) {
  77858. t3 = parameter.defaultValue;
  77859. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  77860. }
  77861. t2.push(t3);
  77862. }
  77863. if (_box_0.overload.restParameter != null) {
  77864. if (evaluated._values[2].length > t1) {
  77865. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  77866. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  77867. } else
  77868. rest = B.List_empty8;
  77869. t1 = evaluated._values[0];
  77870. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  77871. evaluated._values[2].push(argumentList);
  77872. } else
  77873. argumentList = null;
  77874. result = null;
  77875. try {
  77876. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  77877. } catch (exception) {
  77878. t1 = A.unwrapException(exception);
  77879. if (t1 instanceof A.SassException)
  77880. throw exception;
  77881. else {
  77882. error = t1;
  77883. stackTrace = A.getTraceFromException(exception);
  77884. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  77885. }
  77886. }
  77887. _this._callableNode = oldCallableNode;
  77888. if (argumentList == null)
  77889. return result;
  77890. if (evaluated._values[0].__js_helper$_length === 0)
  77891. return result;
  77892. if (argumentList._wereKeywordsAccessed)
  77893. return result;
  77894. 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));
  77895. },
  77896. _evaluateArguments$1($arguments) {
  77897. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  77898. positional = A._setArrayType([], type$.JSArray_Value),
  77899. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  77900. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77901. expression = t1[_i];
  77902. nodeForSpan = _this._expressionNode$1(expression);
  77903. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  77904. positionalNodes.push(nodeForSpan);
  77905. }
  77906. t1 = type$.String;
  77907. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  77908. t2 = type$.AstNode;
  77909. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77910. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  77911. t4 = t3.get$current(t3);
  77912. $name = t4._0;
  77913. value = t4._1;
  77914. nodeForSpan = _this._expressionNode$1(value);
  77915. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  77916. namedNodes.$indexSet(0, $name, nodeForSpan);
  77917. }
  77918. restArgs = $arguments.rest;
  77919. if (restArgs == null)
  77920. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  77921. rest = restArgs.accept$1(_this);
  77922. restNodeForSpan = _this._expressionNode$1(restArgs);
  77923. if (rest instanceof A.SassMap) {
  77924. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  77925. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77926. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  77927. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  77928. namedNodes.addAll$1(0, t3);
  77929. separator = B.ListSeparator_undecided_null_undecided;
  77930. } else if (rest instanceof A.SassList) {
  77931. t3 = rest._list$_contents;
  77932. 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>")));
  77933. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  77934. separator = rest._separator;
  77935. if (rest instanceof A.SassArgumentList) {
  77936. rest._wereKeywordsAccessed = true;
  77937. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  77938. }
  77939. } else {
  77940. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  77941. positionalNodes.push(restNodeForSpan);
  77942. separator = B.ListSeparator_undecided_null_undecided;
  77943. }
  77944. keywordRestArgs = $arguments.keywordRest;
  77945. if (keywordRestArgs == null)
  77946. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  77947. keywordRest = keywordRestArgs.accept$1(_this);
  77948. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  77949. if (keywordRest instanceof A.SassMap) {
  77950. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  77951. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  77952. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  77953. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  77954. namedNodes.addAll$1(0, t1);
  77955. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  77956. } else
  77957. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  77958. },
  77959. _evaluateMacroArguments$1(invocation) {
  77960. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  77961. t1 = invocation.$arguments,
  77962. restArgs_ = t1.rest;
  77963. if (restArgs_ == null)
  77964. return new A._Record_2(t1.positional, t1.named);
  77965. t2 = t1.positional;
  77966. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  77967. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  77968. rest = restArgs_.accept$1(_this);
  77969. restNodeForSpan = _this._expressionNode$1(restArgs_);
  77970. if (rest instanceof A.SassMap)
  77971. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  77972. else if (rest instanceof A.SassList) {
  77973. t2 = rest._list$_contents;
  77974. 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>")));
  77975. if (rest instanceof A.SassArgumentList) {
  77976. rest._wereKeywordsAccessed = true;
  77977. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  77978. }
  77979. } else
  77980. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  77981. keywordRestArgs_ = t1.keywordRest;
  77982. if (keywordRestArgs_ == null)
  77983. return new A._Record_2(positional, named);
  77984. keywordRest = keywordRestArgs_.accept$1(_this);
  77985. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  77986. if (keywordRest instanceof A.SassMap) {
  77987. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  77988. return new A._Record_2(positional, named);
  77989. } else
  77990. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  77991. },
  77992. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  77993. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  77994. },
  77995. _addRestMap$4(values, map, nodeWithSpan, convert) {
  77996. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  77997. },
  77998. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  77999. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  78000. },
  78001. visitSelectorExpression$1(_, node) {
  78002. var t1 = this._styleRuleIgnoringAtRoot;
  78003. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  78004. return t1 == null ? B.C__SassNull : t1;
  78005. },
  78006. visitStringExpression$1(_, node) {
  78007. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  78008. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78009. _this._inSupportsDeclaration = false;
  78010. t1 = A._setArrayType([], type$.JSArray_String);
  78011. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78012. value = t2[_i];
  78013. $label0$0: {
  78014. if (typeof value == "string") {
  78015. t4 = value;
  78016. break $label0$0;
  78017. }
  78018. if (value instanceof A.Expression) {
  78019. _0_0 = value.accept$1(_this);
  78020. $label1$1: {
  78021. if (_0_0 instanceof A.SassString) {
  78022. text = _0_0._string$_text;
  78023. t4 = text;
  78024. break $label1$1;
  78025. }
  78026. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78027. break $label1$1;
  78028. }
  78029. break $label0$0;
  78030. }
  78031. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78032. }
  78033. t1.push(t4);
  78034. }
  78035. t1 = B.JSArray_methods.join$0(t1);
  78036. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78037. return new A.SassString(t1, node.hasQuotes);
  78038. },
  78039. visitSupportsExpression$1(_, expression) {
  78040. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78041. },
  78042. visitCssAtRule$1(node) {
  78043. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78044. if (_this._declarationName != null)
  78045. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78046. if (node.isChildless) {
  78047. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78048. return;
  78049. }
  78050. wasInKeyframes = _this._inKeyframes;
  78051. wasInUnknownAtRule = _this._inUnknownAtRule;
  78052. t1 = node.name;
  78053. if (A.unvendor(t1.value) === "keyframes")
  78054. _this._inKeyframes = true;
  78055. else
  78056. _this._inUnknownAtRule = true;
  78057. _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);
  78058. _this._inUnknownAtRule = wasInUnknownAtRule;
  78059. _this._inKeyframes = wasInKeyframes;
  78060. },
  78061. visitCssComment$1(node) {
  78062. var _this = this,
  78063. _s8_ = "__parent",
  78064. _s13_ = "_endOfImports";
  78065. 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))
  78066. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78067. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78068. },
  78069. visitCssDeclaration$1(node) {
  78070. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  78071. },
  78072. visitCssImport$1(node) {
  78073. var t1, _this = this,
  78074. _s8_ = "__parent",
  78075. _s5_ = "_root",
  78076. _s13_ = "_endOfImports",
  78077. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78078. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  78079. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78080. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78081. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78082. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78083. } else {
  78084. t1 = _this._outOfOrderImports;
  78085. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78086. }
  78087. },
  78088. visitCssKeyframeBlock$1(node) {
  78089. 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);
  78090. },
  78091. visitCssMediaRule$1(node) {
  78092. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78093. if (_this._declarationName != null)
  78094. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78095. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78096. t1 = mergedQueries == null;
  78097. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78098. return;
  78099. if (t1)
  78100. mergedSources = B.Set_empty1;
  78101. else {
  78102. t2 = _this._mediaQuerySources;
  78103. t2.toString;
  78104. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78105. t3 = _this._mediaQueries;
  78106. t3.toString;
  78107. t2.addAll$1(0, t3);
  78108. t2.addAll$1(0, node.queries);
  78109. mergedSources = t2;
  78110. }
  78111. t1 = t1 ? node.queries : mergedQueries;
  78112. _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);
  78113. },
  78114. visitCssStyleRule$1(node) {
  78115. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  78116. _s8_ = "__parent";
  78117. if (_this._declarationName != null)
  78118. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78119. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78120. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78121. t1 = _this._atRootExcludingStyleRule;
  78122. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78123. t2 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78124. t2 = t2 == null ? _null : t2.fromPlainCss;
  78125. nest = t2 !== true;
  78126. t2 = node._style_rule$_selector._box$_inner;
  78127. if (nest) {
  78128. t2 = t2.value;
  78129. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78130. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  78131. } else
  78132. originalSelector = t2.value;
  78133. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78134. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78135. _this._atRootExcludingStyleRule = false;
  78136. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78137. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78138. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78139. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78140. t2 = J.getInterceptor$asx(t1);
  78141. _0_1 = t2.get$length(t1);
  78142. if (_0_1 >= 1) {
  78143. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  78144. t1 = styleRule == null;
  78145. } else {
  78146. lastChild = _null;
  78147. t1 = false;
  78148. }
  78149. if (t1)
  78150. lastChild.isGroupEnd = true;
  78151. },
  78152. visitCssStylesheet$1(node) {
  78153. var t1;
  78154. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78155. t1.get$current(t1).accept$1(this);
  78156. },
  78157. visitCssSupportsRule$1(node) {
  78158. var _this = this;
  78159. if (_this._declarationName != null)
  78160. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78161. _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);
  78162. },
  78163. _handleReturn$1$2(list, callback) {
  78164. var t1, _i, _0_0;
  78165. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78166. _0_0 = callback.call$1(list[_i]);
  78167. if (_0_0 != null)
  78168. return _0_0;
  78169. }
  78170. return null;
  78171. },
  78172. _handleReturn$2(list, callback) {
  78173. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78174. },
  78175. _withEnvironment$1$2(environment, callback) {
  78176. var result,
  78177. oldEnvironment = this._environment;
  78178. this._environment = environment;
  78179. result = callback.call$0();
  78180. this._environment = oldEnvironment;
  78181. return result;
  78182. },
  78183. _withEnvironment$2(environment, callback) {
  78184. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78185. },
  78186. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78187. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78188. t1 = trim ? A.trimAscii(result, true) : result;
  78189. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78190. },
  78191. _interpolationToValue$1(interpolation) {
  78192. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78193. },
  78194. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78195. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78196. },
  78197. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78198. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78199. },
  78200. _performInterpolation$1(interpolation) {
  78201. return this._performInterpolation$2$warnForColor(interpolation, false);
  78202. },
  78203. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78204. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78205. map = _0_0._1;
  78206. map.toString;
  78207. return new A._Record_2(_0_0._0, map);
  78208. },
  78209. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78210. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  78211. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  78212. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78213. _this._inSupportsDeclaration = false;
  78214. 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) {
  78215. value = t1[_i];
  78216. if (!first)
  78217. if (!t4)
  78218. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  78219. if (typeof value == "string") {
  78220. t7 += value;
  78221. continue;
  78222. }
  78223. t3._as(value);
  78224. result = value.accept$1(_this);
  78225. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78226. result0 = A.List_List$from([""], false, t6);
  78227. result0.$flags = 3;
  78228. t8 = $.$get$namesByColor();
  78229. _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));
  78230. }
  78231. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78232. }
  78233. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78234. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78235. },
  78236. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78237. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78238. },
  78239. _evaluate$_serialize$2(value, nodeWithSpan) {
  78240. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78241. },
  78242. _expressionNode$1(expression) {
  78243. var t1;
  78244. if (expression instanceof A.VariableExpression) {
  78245. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78246. return t1 == null ? expression : t1;
  78247. } else
  78248. return expression;
  78249. },
  78250. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78251. var oldParent, result, _this = this;
  78252. _this._addChild$2$through(node, through);
  78253. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78254. _this.__parent = node;
  78255. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78256. _this.__parent = oldParent;
  78257. return result;
  78258. },
  78259. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78260. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78261. },
  78262. _withParent$2$2(node, callback, $S, $T) {
  78263. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78264. },
  78265. _addChild$2$through(node, through) {
  78266. var _0_0, grandparent, t1,
  78267. $parent = this._assertInModule$2(this.__parent, "__parent");
  78268. if (through != null) {
  78269. for (; through.call$1($parent); $parent = _0_0) {
  78270. _0_0 = $parent._parent;
  78271. if (_0_0 == null)
  78272. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78273. }
  78274. if ($parent.get$hasFollowingSibling()) {
  78275. grandparent = $parent._parent;
  78276. t1 = grandparent.children;
  78277. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78278. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78279. else {
  78280. $parent = $parent.copyWithoutChildren$0();
  78281. grandparent.addChild$1($parent);
  78282. }
  78283. }
  78284. }
  78285. $parent.addChild$1(node);
  78286. },
  78287. _addChild$1(node) {
  78288. return this._addChild$2$through(node, null);
  78289. },
  78290. _withStyleRule$1$2(rule, callback) {
  78291. var result,
  78292. oldRule = this._styleRuleIgnoringAtRoot;
  78293. this._styleRuleIgnoringAtRoot = rule;
  78294. result = callback.call$0();
  78295. this._styleRuleIgnoringAtRoot = oldRule;
  78296. return result;
  78297. },
  78298. _withStyleRule$2(rule, callback) {
  78299. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78300. },
  78301. _withMediaQueries$1$3(queries, sources, callback) {
  78302. var result, _this = this,
  78303. oldMediaQueries = _this._mediaQueries,
  78304. oldSources = _this._mediaQuerySources;
  78305. _this._mediaQueries = queries;
  78306. _this._mediaQuerySources = sources;
  78307. result = callback.call$0();
  78308. _this._mediaQueries = oldMediaQueries;
  78309. _this._mediaQuerySources = oldSources;
  78310. return result;
  78311. },
  78312. _withMediaQueries$3(queries, sources, callback) {
  78313. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78314. },
  78315. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78316. var oldMember, result, _this = this,
  78317. t1 = _this._stack;
  78318. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78319. oldMember = _this._member;
  78320. _this._member = member;
  78321. result = callback.call$0();
  78322. _this._member = oldMember;
  78323. t1.pop();
  78324. return result;
  78325. },
  78326. _withStackFrame$3(member, nodeWithSpan, callback) {
  78327. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78328. },
  78329. _withoutSlash$2(value, nodeForSpan) {
  78330. var t1;
  78331. if (value instanceof A.SassNumber)
  78332. t1 = value.asSlash != null;
  78333. else
  78334. t1 = false;
  78335. if (t1)
  78336. 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);
  78337. return value.withoutSlash$0();
  78338. },
  78339. _stackFrame$2(member, span) {
  78340. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78341. },
  78342. _evaluate$_stackTrace$1(span) {
  78343. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78344. t1 = A._setArrayType([], type$.JSArray_Frame);
  78345. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78346. t4 = t2[_i];
  78347. nodeWithSpan = t4._1;
  78348. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78349. }
  78350. if (span != null)
  78351. t1.push(_this._stackFrame$2(_this._member, span));
  78352. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  78353. },
  78354. _evaluate$_stackTrace$0() {
  78355. return this._evaluate$_stackTrace$1(null);
  78356. },
  78357. _warn$3(message, span, deprecation) {
  78358. var trace, t1, _this = this;
  78359. if (_this._quietDeps && _this._inDependency)
  78360. return;
  78361. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  78362. return;
  78363. trace = _this._evaluate$_stackTrace$1(span);
  78364. t1 = _this._logger;
  78365. if (deprecation == null)
  78366. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  78367. else
  78368. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  78369. },
  78370. _warn$2(message, span) {
  78371. return this._warn$3(message, span, null);
  78372. },
  78373. _evaluate$_exception$2(message, span) {
  78374. var t1, t2;
  78375. if (span == null) {
  78376. t1 = B.JSArray_methods.get$last(this._stack)._1;
  78377. t1 = t1.get$span(t1);
  78378. } else
  78379. t1 = span;
  78380. t2 = this._evaluate$_stackTrace$1(span);
  78381. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  78382. },
  78383. _evaluate$_exception$1(message) {
  78384. return this._evaluate$_exception$2(message, null);
  78385. },
  78386. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  78387. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  78388. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  78389. },
  78390. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78391. var error, stackTrace, t1, exception;
  78392. try {
  78393. t1 = callback.call$0();
  78394. return t1;
  78395. } catch (exception) {
  78396. t1 = A.unwrapException(exception);
  78397. if (t1 instanceof A.SassScriptException) {
  78398. error = t1;
  78399. stackTrace = A.getTraceFromException(exception);
  78400. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  78401. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  78402. } else
  78403. throw exception;
  78404. }
  78405. },
  78406. _addExceptionSpan$2(nodeWithSpan, callback) {
  78407. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  78408. },
  78409. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78410. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  78411. },
  78412. _addExceptionTrace$1$1(callback) {
  78413. var error, stackTrace, t1, exception, t2;
  78414. try {
  78415. t1 = callback.call$0();
  78416. return t1;
  78417. } catch (exception) {
  78418. t1 = A.unwrapException(exception);
  78419. if (type$.SassRuntimeException._is(t1))
  78420. throw exception;
  78421. else if (t1 instanceof A.SassException) {
  78422. error = t1;
  78423. stackTrace = A.getTraceFromException(exception);
  78424. t1 = error;
  78425. t2 = J.getInterceptor$z(t1);
  78426. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  78427. } else
  78428. throw exception;
  78429. }
  78430. },
  78431. _addExceptionTrace$1(callback) {
  78432. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  78433. },
  78434. _addErrorSpan$1$2(nodeWithSpan, callback) {
  78435. var error, stackTrace, t1, exception, t2, t3;
  78436. try {
  78437. t1 = callback.call$0();
  78438. return t1;
  78439. } catch (exception) {
  78440. t1 = A.unwrapException(exception);
  78441. if (type$.SassRuntimeException._is(t1)) {
  78442. error = t1;
  78443. stackTrace = A.getTraceFromException(exception);
  78444. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  78445. throw exception;
  78446. t1 = error._span_exception$_message;
  78447. t2 = nodeWithSpan.get$span(nodeWithSpan);
  78448. t3 = this._evaluate$_stackTrace$0();
  78449. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  78450. } else
  78451. throw exception;
  78452. }
  78453. },
  78454. _addErrorSpan$2(nodeWithSpan, callback) {
  78455. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  78456. },
  78457. _getErrorMessage$1(error) {
  78458. var t1, exception;
  78459. if (type$.Error._is(error))
  78460. return error.toString$0(0);
  78461. try {
  78462. t1 = A._asString(J.get$message$x(error));
  78463. return t1;
  78464. } catch (exception) {
  78465. t1 = J.toString$0$(error);
  78466. return t1;
  78467. }
  78468. }
  78469. };
  78470. A._EvaluateVisitor_closure.prototype = {
  78471. call$1($arguments) {
  78472. var module, t2,
  78473. t1 = J.getInterceptor$asx($arguments),
  78474. variable = t1.$index($arguments, 0).assertString$1("name");
  78475. t1 = t1.$index($arguments, 1).get$realNull();
  78476. module = t1 == null ? null : t1.assertString$1("module");
  78477. t1 = this.$this._environment;
  78478. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78479. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  78480. },
  78481. $signature: 11
  78482. };
  78483. A._EvaluateVisitor_closure0.prototype = {
  78484. call$1($arguments) {
  78485. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  78486. t1 = this.$this._environment;
  78487. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78488. },
  78489. $signature: 11
  78490. };
  78491. A._EvaluateVisitor_closure1.prototype = {
  78492. call$1($arguments) {
  78493. var module, t2, t3, t4,
  78494. t1 = J.getInterceptor$asx($arguments),
  78495. variable = t1.$index($arguments, 0).assertString$1("name");
  78496. t1 = t1.$index($arguments, 1).get$realNull();
  78497. module = t1 == null ? null : t1.assertString$1("module");
  78498. t1 = this.$this;
  78499. t2 = t1._environment;
  78500. t3 = variable._string$_text;
  78501. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  78502. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  78503. },
  78504. $signature: 11
  78505. };
  78506. A._EvaluateVisitor_closure2.prototype = {
  78507. call$1($arguments) {
  78508. var module, t2,
  78509. t1 = J.getInterceptor$asx($arguments),
  78510. variable = t1.$index($arguments, 0).assertString$1("name");
  78511. t1 = t1.$index($arguments, 1).get$realNull();
  78512. module = t1 == null ? null : t1.assertString$1("module");
  78513. t1 = this.$this._environment;
  78514. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78515. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78516. },
  78517. $signature: 11
  78518. };
  78519. A._EvaluateVisitor_closure3.prototype = {
  78520. call$1($arguments) {
  78521. var t1 = this.$this._environment;
  78522. if (!t1._inMixin)
  78523. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  78524. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  78525. },
  78526. $signature: 11
  78527. };
  78528. A._EvaluateVisitor_closure4.prototype = {
  78529. call$1($arguments) {
  78530. var t2, t3, t4,
  78531. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78532. module = this.$this._environment._environment$_modules.$index(0, t1);
  78533. if (module == null)
  78534. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78535. t1 = type$.Value;
  78536. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78537. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78538. t4 = t3.get$current(t3);
  78539. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  78540. }
  78541. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78542. },
  78543. $signature: 34
  78544. };
  78545. A._EvaluateVisitor_closure5.prototype = {
  78546. call$1($arguments) {
  78547. var t2, t3, t4,
  78548. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78549. module = this.$this._environment._environment$_modules.$index(0, t1);
  78550. if (module == null)
  78551. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78552. t1 = type$.Value;
  78553. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78554. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78555. t4 = t3.get$current(t3);
  78556. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  78557. }
  78558. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78559. },
  78560. $signature: 34
  78561. };
  78562. A._EvaluateVisitor_closure6.prototype = {
  78563. call$1($arguments) {
  78564. var t2, t3, t4,
  78565. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78566. module = this.$this._environment._environment$_modules.$index(0, t1);
  78567. if (module == null)
  78568. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78569. t1 = type$.Value;
  78570. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78571. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78572. t4 = t3.get$current(t3);
  78573. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  78574. }
  78575. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78576. },
  78577. $signature: 34
  78578. };
  78579. A._EvaluateVisitor_closure7.prototype = {
  78580. call$1($arguments) {
  78581. var module, t2, callable,
  78582. t1 = J.getInterceptor$asx($arguments),
  78583. $name = t1.$index($arguments, 0).assertString$1("name"),
  78584. css = t1.$index($arguments, 1).get$isTruthy();
  78585. t1 = t1.$index($arguments, 2).get$realNull();
  78586. module = t1 == null ? null : t1.assertString$1("module");
  78587. if (css) {
  78588. if (module != null)
  78589. throw A.wrapException(string$.x24css_a);
  78590. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  78591. }
  78592. t1 = this.$this;
  78593. t2 = t1._callableNode;
  78594. t2.toString;
  78595. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  78596. if (callable == null)
  78597. throw A.wrapException("Function not found: " + $name.toString$0(0));
  78598. return new A.SassFunction(callable);
  78599. },
  78600. $signature: 213
  78601. };
  78602. A._EvaluateVisitor__closure2.prototype = {
  78603. call$0() {
  78604. var local,
  78605. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78606. t1 = this.module,
  78607. namespace = t1 == null ? null : t1._string$_text;
  78608. t1 = this.$this;
  78609. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  78610. if (local != null || namespace != null)
  78611. return local;
  78612. return t1._builtInFunctions.$index(0, normalizedName);
  78613. },
  78614. $signature: 95
  78615. };
  78616. A._EvaluateVisitor_closure8.prototype = {
  78617. call$1($arguments) {
  78618. var module, t2, callable,
  78619. t1 = J.getInterceptor$asx($arguments),
  78620. $name = t1.$index($arguments, 0).assertString$1("name");
  78621. t1 = t1.$index($arguments, 1).get$realNull();
  78622. module = t1 == null ? null : t1.assertString$1("module");
  78623. t1 = this.$this;
  78624. t2 = t1._callableNode;
  78625. t2.toString;
  78626. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  78627. if (callable == null)
  78628. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  78629. return new A.SassMixin(callable);
  78630. },
  78631. $signature: 215
  78632. };
  78633. A._EvaluateVisitor__closure1.prototype = {
  78634. call$0() {
  78635. var t1 = this.$this._environment,
  78636. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78637. t3 = this.module;
  78638. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  78639. },
  78640. $signature: 95
  78641. };
  78642. A._EvaluateVisitor_closure9.prototype = {
  78643. call$1($arguments) {
  78644. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  78645. t1 = J.getInterceptor$asx($arguments),
  78646. $function = t1.$index($arguments, 0),
  78647. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78648. t1 = this.$this;
  78649. t2 = t1._callableNode;
  78650. t2.toString;
  78651. t3 = A._setArrayType([], type$.JSArray_Expression);
  78652. t4 = type$.String;
  78653. t5 = type$.Expression;
  78654. t6 = t2.get$span(t2);
  78655. t7 = t2.get$span(t2);
  78656. args._wereKeywordsAccessed = true;
  78657. t8 = args._keywords;
  78658. if (t8.get$isEmpty(t8))
  78659. t2 = null;
  78660. else {
  78661. t9 = type$.Value;
  78662. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  78663. args._wereKeywordsAccessed = true;
  78664. t8 = A.MapExtensions_get_pairs(t8, t4, t9);
  78665. t8 = t8.get$iterator(t8);
  78666. for (; t8.moveNext$0();) {
  78667. t11 = t8.get$current(t8);
  78668. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  78669. }
  78670. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  78671. }
  78672. 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);
  78673. if ($function instanceof A.SassString) {
  78674. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  78675. callableNode = t1._callableNode;
  78676. t2 = $function._string$_text;
  78677. t3 = callableNode.get$span(callableNode);
  78678. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  78679. }
  78680. callable = $function.assertFunction$1("function").callable;
  78681. if (type$.Callable._is(callable)) {
  78682. t2 = t1._callableNode;
  78683. t2.toString;
  78684. return t1._runFunctionCallable$3(invocation, callable, t2);
  78685. } else
  78686. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  78687. },
  78688. $signature: 4
  78689. };
  78690. A._EvaluateVisitor_closure10.prototype = {
  78691. call$1($arguments) {
  78692. var withMap, t2, values, configuration, t3,
  78693. t1 = J.getInterceptor$asx($arguments),
  78694. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  78695. t1 = t1.$index($arguments, 1).get$realNull();
  78696. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  78697. t1 = this.$this;
  78698. t2 = t1._callableNode;
  78699. t2.toString;
  78700. if (withMap != null) {
  78701. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  78702. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  78703. configuration = new A.ExplicitConfiguration(t2, values, null);
  78704. } else
  78705. configuration = B.Configuration_Map_empty_null;
  78706. t3 = t2.get$span(t2);
  78707. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  78708. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  78709. },
  78710. $signature: 258
  78711. };
  78712. A._EvaluateVisitor__closure.prototype = {
  78713. call$2(variable, value) {
  78714. var t1 = variable.assertString$1("with key"),
  78715. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  78716. t1 = this.values;
  78717. if (t1.containsKey$1($name))
  78718. throw A.wrapException("The variable $" + $name + " was configured twice.");
  78719. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  78720. },
  78721. $signature: 88
  78722. };
  78723. A._EvaluateVisitor__closure0.prototype = {
  78724. call$2(module, _) {
  78725. var t1 = this.$this;
  78726. return t1._combineCss$2$clone(module, true).accept$1(t1);
  78727. },
  78728. $signature: 96
  78729. };
  78730. A._EvaluateVisitor_closure11.prototype = {
  78731. call$1($arguments) {
  78732. var callableNode, t2, t3, t4, t5, callable, $content,
  78733. t1 = J.getInterceptor$asx($arguments),
  78734. mixin = t1.$index($arguments, 0),
  78735. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78736. t1 = this.$this;
  78737. callableNode = t1._callableNode;
  78738. t2 = callableNode.get$span(callableNode);
  78739. t3 = callableNode.get$span(callableNode);
  78740. t4 = type$.Expression;
  78741. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  78742. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t4);
  78743. callable = mixin.assertMixin$1("mixin").callable;
  78744. $content = t1._environment._content;
  78745. if (type$.Callable._is(callable))
  78746. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  78747. else
  78748. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  78749. },
  78750. $signature: 258
  78751. };
  78752. A._EvaluateVisitor_run_closure.prototype = {
  78753. call$0() {
  78754. var module, _this = this,
  78755. t1 = _this.node,
  78756. t2 = t1.span,
  78757. _0_0 = t2.get$sourceUrl(t2),
  78758. url = null;
  78759. if (_0_0 != null) {
  78760. url = _0_0;
  78761. t2 = _this.$this;
  78762. t2._activeModules.$indexSet(0, url, null);
  78763. t2._loadedUrls.add$1(0, url);
  78764. }
  78765. t2 = _this.$this;
  78766. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  78767. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  78768. },
  78769. $signature: 298
  78770. };
  78771. A._EvaluateVisitor_run__closure.prototype = {
  78772. call$0() {
  78773. return this.$this._execute$2(this.importer, this.node);
  78774. },
  78775. $signature: 297
  78776. };
  78777. A._EvaluateVisitor_runExpression_closure.prototype = {
  78778. call$0() {
  78779. var t1 = this.$this,
  78780. t2 = this.expression;
  78781. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  78782. },
  78783. $signature: 36
  78784. };
  78785. A._EvaluateVisitor_runExpression__closure.prototype = {
  78786. call$0() {
  78787. var t1 = this.$this;
  78788. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  78789. },
  78790. $signature: 36
  78791. };
  78792. A._EvaluateVisitor_runExpression___closure.prototype = {
  78793. call$0() {
  78794. return this.expression.accept$1(this.$this);
  78795. },
  78796. $signature: 36
  78797. };
  78798. A._EvaluateVisitor_runStatement_closure.prototype = {
  78799. call$0() {
  78800. var t1 = this.$this,
  78801. t2 = this.statement;
  78802. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  78803. },
  78804. $signature: 0
  78805. };
  78806. A._EvaluateVisitor_runStatement__closure.prototype = {
  78807. call$0() {
  78808. var t1 = this.$this;
  78809. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  78810. },
  78811. $signature: 0
  78812. };
  78813. A._EvaluateVisitor_runStatement___closure.prototype = {
  78814. call$0() {
  78815. return this.statement.accept$1(this.$this);
  78816. },
  78817. $signature: 0
  78818. };
  78819. A._EvaluateVisitor__loadModule_closure.prototype = {
  78820. call$0() {
  78821. return this.callback.call$2(this._box_0.builtInModule, false);
  78822. },
  78823. $signature: 0
  78824. };
  78825. A._EvaluateVisitor__loadModule_closure0.prototype = {
  78826. call$0() {
  78827. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  78828. t2 = _this.$this,
  78829. t3 = _this.nodeWithSpan,
  78830. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  78831. stylesheet = _1_0._0;
  78832. importer = _1_0._1;
  78833. t4 = stylesheet.span;
  78834. canonicalUrl = t4.get$sourceUrl(t4);
  78835. if (canonicalUrl != null) {
  78836. t4 = t2._activeModules;
  78837. if (t4.containsKey$1(canonicalUrl)) {
  78838. if (_this.namesInErrors) {
  78839. t1 = canonicalUrl;
  78840. t3 = $.$get$context();
  78841. t1.toString;
  78842. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  78843. } else
  78844. message = string$.Modulel;
  78845. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  78846. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  78847. } else
  78848. t4.$indexSet(0, canonicalUrl, t3);
  78849. }
  78850. t4 = t2._modules.containsKey$1(canonicalUrl);
  78851. oldInDependency = t2._inDependency;
  78852. t2._inDependency = _1_0._2;
  78853. t1.module = null;
  78854. try {
  78855. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  78856. } finally {
  78857. t2._activeModules.remove$1(0, canonicalUrl);
  78858. t2._inDependency = oldInDependency;
  78859. }
  78860. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  78861. },
  78862. $signature: 1
  78863. };
  78864. A._EvaluateVisitor__loadModule__closure.prototype = {
  78865. call$1(previousLoad) {
  78866. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  78867. },
  78868. $signature: 89
  78869. };
  78870. A._EvaluateVisitor__loadModule__closure0.prototype = {
  78871. call$0() {
  78872. return this.callback.call$2(this._box_1.module, this.firstLoad);
  78873. },
  78874. $signature: 0
  78875. };
  78876. A._EvaluateVisitor__execute_closure.prototype = {
  78877. call$0() {
  78878. var t3, t4, t5, t6, _this = this,
  78879. t1 = _this.$this,
  78880. oldImporter = t1._importer,
  78881. oldStylesheet = t1.__stylesheet,
  78882. oldRoot = t1.__root,
  78883. oldPreModuleComments = t1._preModuleComments,
  78884. oldParent = t1.__parent,
  78885. oldEndOfImports = t1.__endOfImports,
  78886. oldOutOfOrderImports = t1._outOfOrderImports,
  78887. oldExtensionStore = t1.__extensionStore,
  78888. t2 = t1._atRootExcludingStyleRule,
  78889. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  78890. oldMediaQueries = t1._mediaQueries,
  78891. oldDeclarationName = t1._declarationName,
  78892. oldInUnknownAtRule = t1._inUnknownAtRule,
  78893. oldInKeyframes = t1._inKeyframes,
  78894. oldConfiguration = t1._configuration;
  78895. t1._importer = _this.importer;
  78896. t3 = t1.__stylesheet = _this.stylesheet;
  78897. t4 = t3.span;
  78898. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  78899. t1.__endOfImports = 0;
  78900. t1._outOfOrderImports = null;
  78901. t1.__extensionStore = _this.extensionStore;
  78902. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  78903. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  78904. t6 = _this.configuration;
  78905. if (t6 != null)
  78906. t1._configuration = t6;
  78907. t1.visitStylesheet$1(0, t3);
  78908. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  78909. _this.css.__late_helper$_value = t3;
  78910. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  78911. t1._importer = oldImporter;
  78912. t1.__stylesheet = oldStylesheet;
  78913. t1.__root = oldRoot;
  78914. t1._preModuleComments = oldPreModuleComments;
  78915. t1.__parent = oldParent;
  78916. t1.__endOfImports = oldEndOfImports;
  78917. t1._outOfOrderImports = oldOutOfOrderImports;
  78918. t1.__extensionStore = oldExtensionStore;
  78919. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  78920. t1._mediaQueries = oldMediaQueries;
  78921. t1._declarationName = oldDeclarationName;
  78922. t1._inUnknownAtRule = oldInUnknownAtRule;
  78923. t1._atRootExcludingStyleRule = t2;
  78924. t1._inKeyframes = oldInKeyframes;
  78925. t1._configuration = oldConfiguration;
  78926. },
  78927. $signature: 1
  78928. };
  78929. A._EvaluateVisitor__combineCss_closure.prototype = {
  78930. call$1(module) {
  78931. return module.get$transitivelyContainsCss();
  78932. },
  78933. $signature: 138
  78934. };
  78935. A._EvaluateVisitor__combineCss_closure0.prototype = {
  78936. call$1(target) {
  78937. return !this.selectors.contains$1(0, target);
  78938. },
  78939. $signature: 14
  78940. };
  78941. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  78942. call$1(module) {
  78943. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  78944. if (!_this.seen.add$1(0, module))
  78945. return;
  78946. if (_this.clone)
  78947. module = module.cloneCss$0();
  78948. 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) {
  78949. upstream = t1[_i];
  78950. if (upstream.get$transitivelyContainsCss()) {
  78951. _1_0 = module.get$preModuleComments().$index(0, upstream);
  78952. if (_1_0 != null)
  78953. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  78954. _this.call$1(upstream);
  78955. }
  78956. }
  78957. _this.sorted.addFirst$1(module);
  78958. t1 = module.get$css(module);
  78959. statements = t1.get$children(t1);
  78960. index = _this.$this._indexAfterImports$1(statements);
  78961. t1 = J.getInterceptor$ax(statements);
  78962. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  78963. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  78964. },
  78965. $signature: 295
  78966. };
  78967. A._EvaluateVisitor__extendModules_closure.prototype = {
  78968. call$1(target) {
  78969. return !this.originalSelectors.contains$1(0, target);
  78970. },
  78971. $signature: 14
  78972. };
  78973. A._EvaluateVisitor__extendModules_closure0.prototype = {
  78974. call$0() {
  78975. return A._setArrayType([], type$.JSArray_ExtensionStore);
  78976. },
  78977. $signature: 224
  78978. };
  78979. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  78980. call$0() {
  78981. var t1, t2, t3, _i;
  78982. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  78983. t1[_i].accept$1(t3);
  78984. },
  78985. $signature: 1
  78986. };
  78987. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  78988. call$0() {
  78989. var t1, t2, t3, _i;
  78990. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  78991. t1[_i].accept$1(t3);
  78992. },
  78993. $signature: 0
  78994. };
  78995. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  78996. call$1(callback) {
  78997. var t1 = this.$this,
  78998. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  78999. t1.__parent = this.newParent;
  79000. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  79001. t1.__parent = oldParent;
  79002. },
  79003. $signature: 35
  79004. };
  79005. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  79006. call$1(callback) {
  79007. var t1 = this.$this,
  79008. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79009. t1._atRootExcludingStyleRule = true;
  79010. this.innerScope.call$1(callback);
  79011. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79012. },
  79013. $signature: 35
  79014. };
  79015. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79016. call$1(callback) {
  79017. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79018. },
  79019. $signature: 35
  79020. };
  79021. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79022. call$0() {
  79023. return this.innerScope.call$1(this.callback);
  79024. },
  79025. $signature: 1
  79026. };
  79027. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79028. call$1(callback) {
  79029. var t1 = this.$this,
  79030. wasInKeyframes = t1._inKeyframes;
  79031. t1._inKeyframes = false;
  79032. this.innerScope.call$1(callback);
  79033. t1._inKeyframes = wasInKeyframes;
  79034. },
  79035. $signature: 35
  79036. };
  79037. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79038. call$1($parent) {
  79039. return $parent instanceof A.ModifiableCssAtRule;
  79040. },
  79041. $signature: 226
  79042. };
  79043. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79044. call$1(callback) {
  79045. var t1 = this.$this,
  79046. wasInUnknownAtRule = t1._inUnknownAtRule;
  79047. t1._inUnknownAtRule = false;
  79048. this.innerScope.call$1(callback);
  79049. t1._inUnknownAtRule = wasInUnknownAtRule;
  79050. },
  79051. $signature: 35
  79052. };
  79053. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79054. call$0() {
  79055. var t1, t2, t3, _i;
  79056. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79057. t1[_i].accept$1(t3);
  79058. return null;
  79059. },
  79060. $signature: 1
  79061. };
  79062. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79063. call$0() {
  79064. var t1, t2, t3, _i;
  79065. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79066. t1[_i].accept$1(t3);
  79067. },
  79068. $signature: 1
  79069. };
  79070. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79071. call$1(value) {
  79072. var t1 = this.$this,
  79073. t2 = this.nodeWithSpan;
  79074. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79075. },
  79076. $signature: 61
  79077. };
  79078. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79079. call$1(value) {
  79080. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79081. },
  79082. $signature: 61
  79083. };
  79084. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79085. call$0() {
  79086. var _this = this,
  79087. t1 = _this.$this;
  79088. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79089. },
  79090. $signature: 43
  79091. };
  79092. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79093. call$1(element) {
  79094. var t1;
  79095. this.setVariables.call$1(element);
  79096. t1 = this.$this;
  79097. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79098. },
  79099. $signature: 294
  79100. };
  79101. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79102. call$1(child) {
  79103. return child.accept$1(this.$this);
  79104. },
  79105. $signature: 97
  79106. };
  79107. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79108. call$1(value) {
  79109. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79110. },
  79111. $signature: 292
  79112. };
  79113. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79114. call$0() {
  79115. var t2, t3, _i, _this = this,
  79116. t1 = _this.$this,
  79117. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79118. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  79119. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79120. t2[_i].accept$1(t1);
  79121. else
  79122. 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);
  79123. },
  79124. $signature: 1
  79125. };
  79126. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79127. call$0() {
  79128. var t1, t2, t3, _i;
  79129. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79130. t1[_i].accept$1(t3);
  79131. },
  79132. $signature: 1
  79133. };
  79134. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  79135. call$1(node) {
  79136. return node instanceof A.ModifiableCssStyleRule;
  79137. },
  79138. $signature: 8
  79139. };
  79140. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79141. call$0() {
  79142. return this.node.from.accept$1(this.$this).assertNumber$0();
  79143. },
  79144. $signature: 266
  79145. };
  79146. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79147. call$0() {
  79148. return this.node.to.accept$1(this.$this).assertNumber$0();
  79149. },
  79150. $signature: 266
  79151. };
  79152. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79153. call$0() {
  79154. return this.fromNumber.assertInt$0();
  79155. },
  79156. $signature: 10
  79157. };
  79158. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79159. call$0() {
  79160. var t1 = this.fromNumber;
  79161. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79162. },
  79163. $signature: 10
  79164. };
  79165. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79166. call$0() {
  79167. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79168. t1 = _this.$this,
  79169. t2 = _this.node,
  79170. nodeWithSpan = t1._expressionNode$1(t2.from);
  79171. 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) {
  79172. t7 = t1._environment;
  79173. t8 = t6.get$numeratorUnits(t6);
  79174. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79175. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79176. if (_0_0 != null)
  79177. return _0_0;
  79178. }
  79179. return null;
  79180. },
  79181. $signature: 43
  79182. };
  79183. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79184. call$1(child) {
  79185. return child.accept$1(this.$this);
  79186. },
  79187. $signature: 97
  79188. };
  79189. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79190. call$2(module, firstLoad) {
  79191. if (firstLoad)
  79192. this.$this._registerCommentsForModule$1(module);
  79193. this.$this._environment.forwardModule$2(module, this.node);
  79194. },
  79195. $signature: 96
  79196. };
  79197. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79198. call$2(module, firstLoad) {
  79199. if (firstLoad)
  79200. this.$this._registerCommentsForModule$1(module);
  79201. this.$this._environment.forwardModule$2(module, this.node);
  79202. },
  79203. $signature: 96
  79204. };
  79205. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79206. call$0() {
  79207. return A._setArrayType([], type$.JSArray_CssComment);
  79208. },
  79209. $signature: 235
  79210. };
  79211. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79212. call$1(clause) {
  79213. var t1 = this.$this;
  79214. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79215. },
  79216. $signature: 284
  79217. };
  79218. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79219. call$0() {
  79220. var t1 = this.$this;
  79221. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79222. },
  79223. $signature: 43
  79224. };
  79225. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79226. call$1(child) {
  79227. return child.accept$1(this.$this);
  79228. },
  79229. $signature: 97
  79230. };
  79231. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79232. call$0() {
  79233. 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 = {};
  79234. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79235. t1 = this.$this;
  79236. t2 = this.$import;
  79237. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79238. stylesheet = _box_0.stylesheet = _0_0._0;
  79239. importer = _0_0._1;
  79240. _box_0.importer = importer;
  79241. isDependency = _0_0._2;
  79242. _box_0.isDependency = isDependency;
  79243. t3 = stylesheet.span;
  79244. url = t3.get$sourceUrl(t3);
  79245. if (url != null) {
  79246. t3 = t1._activeModules;
  79247. if (t3.containsKey$1(url)) {
  79248. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79249. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79250. }
  79251. t3.$indexSet(0, url, t2);
  79252. }
  79253. t2 = stylesheet._uses;
  79254. t3 = type$.UnmodifiableListView_UseRule;
  79255. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79256. oldImporter = t1._importer;
  79257. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79258. oldInDependency = t1._inDependency;
  79259. t1._importer = importer;
  79260. t1.__stylesheet = stylesheet;
  79261. t1._inDependency = isDependency;
  79262. t1.visitStylesheet$1(0, stylesheet);
  79263. t1._importer = oldImporter;
  79264. t1.__stylesheet = oldStylesheet;
  79265. t1._inDependency = oldInDependency;
  79266. t1._activeModules.remove$1(0, url);
  79267. return;
  79268. }
  79269. t2 = new A.UnmodifiableListView(t2, t3);
  79270. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79271. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79272. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79273. } else
  79274. loadsUserDefinedModules = true;
  79275. children = A._Cell$();
  79276. t2 = t1._environment;
  79277. t3 = type$.String;
  79278. t4 = type$.Module_Callable;
  79279. t5 = type$.AstNode;
  79280. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79281. t7 = t2._variables;
  79282. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79283. t8 = t2._variableNodes;
  79284. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79285. t9 = t2._functions;
  79286. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79287. t10 = t2._mixins;
  79288. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79289. 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);
  79290. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79291. module = environment.toDummyModule$0();
  79292. t1._environment.importForwards$1(module);
  79293. if (loadsUserDefinedModules) {
  79294. if (module.transitivelyContainsCss)
  79295. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79296. visitor = new A._ImportedCssVisitor(t1);
  79297. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79298. t2.get$current(t2).accept$1(visitor);
  79299. }
  79300. t1._activeModules.remove$1(0, url);
  79301. },
  79302. $signature: 0
  79303. };
  79304. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79305. call$1(previousLoad) {
  79306. 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));
  79307. },
  79308. $signature: 89
  79309. };
  79310. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79311. call$1(rule) {
  79312. return rule.url.get$scheme() !== "sass";
  79313. },
  79314. $signature: 237
  79315. };
  79316. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79317. call$1(rule) {
  79318. return rule.url.get$scheme() !== "sass";
  79319. },
  79320. $signature: 238
  79321. };
  79322. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79323. call$0() {
  79324. var t3, t4, _this = this,
  79325. t1 = _this.$this,
  79326. oldImporter = t1._importer,
  79327. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79328. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79329. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79330. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79331. oldOutOfOrderImports = t1._outOfOrderImports,
  79332. oldConfiguration = t1._configuration,
  79333. oldInDependency = t1._inDependency,
  79334. t2 = _this._box_0;
  79335. t1._importer = t2.importer;
  79336. t3 = t2.stylesheet;
  79337. t1.__stylesheet = t3;
  79338. t4 = _this.loadsUserDefinedModules;
  79339. if (t4) {
  79340. t3 = A.ModifiableCssStylesheet$(t3.span);
  79341. t1.__root = t3;
  79342. t1.__parent = t1._assertInModule$2(t3, "_root");
  79343. t1.__endOfImports = 0;
  79344. t1._outOfOrderImports = null;
  79345. }
  79346. t1._inDependency = t2.isDependency;
  79347. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79348. if (!t3.get$isEmpty(t3))
  79349. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79350. t1.visitStylesheet$1(0, t2.stylesheet);
  79351. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  79352. _this.children.__late_helper$_value = t2;
  79353. t1._importer = oldImporter;
  79354. t1.__stylesheet = oldStylesheet;
  79355. if (t4) {
  79356. t1.__root = oldRoot;
  79357. t1.__parent = oldParent;
  79358. t1.__endOfImports = oldEndOfImports;
  79359. t1._outOfOrderImports = oldOutOfOrderImports;
  79360. }
  79361. t1._configuration = oldConfiguration;
  79362. t1._inDependency = oldInDependency;
  79363. },
  79364. $signature: 1
  79365. };
  79366. A._EvaluateVisitor__applyMixin_closure.prototype = {
  79367. call$0() {
  79368. var _this = this,
  79369. t1 = _this.$this;
  79370. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  79371. },
  79372. $signature: 0
  79373. };
  79374. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  79375. call$0() {
  79376. var _this = this;
  79377. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  79378. },
  79379. $signature: 0
  79380. };
  79381. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  79382. call$0() {
  79383. var _this = this,
  79384. t1 = _this.$this;
  79385. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  79386. },
  79387. $signature: 1
  79388. };
  79389. A._EvaluateVisitor__applyMixin__closure.prototype = {
  79390. call$0() {
  79391. var t1 = this.$this;
  79392. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  79393. },
  79394. $signature: 0
  79395. };
  79396. A._EvaluateVisitor__applyMixin___closure.prototype = {
  79397. call$0() {
  79398. var t1, t2, t3, t4, _i;
  79399. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  79400. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  79401. },
  79402. $signature: 0
  79403. };
  79404. A._EvaluateVisitor__applyMixin____closure.prototype = {
  79405. call$0() {
  79406. return this.statement.accept$1(this.$this);
  79407. },
  79408. $signature: 43
  79409. };
  79410. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  79411. call$0() {
  79412. var t1 = this.node;
  79413. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  79414. },
  79415. $signature: 95
  79416. };
  79417. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  79418. call$1($content) {
  79419. var t1 = this.$this;
  79420. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  79421. },
  79422. $signature: 277
  79423. };
  79424. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  79425. call$0() {
  79426. return this.node.get$spanWithoutContent();
  79427. },
  79428. $signature: 28
  79429. };
  79430. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  79431. call$1(mediaQueries) {
  79432. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  79433. },
  79434. $signature: 91
  79435. };
  79436. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  79437. call$0() {
  79438. var _this = this,
  79439. t1 = _this.$this,
  79440. t2 = _this.mergedQueries;
  79441. if (t2 == null)
  79442. t2 = _this.queries;
  79443. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  79444. },
  79445. $signature: 1
  79446. };
  79447. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  79448. call$0() {
  79449. var t2, t3, _i,
  79450. t1 = this.$this,
  79451. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79452. if (_0_0 != null)
  79453. 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);
  79454. else
  79455. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79456. t2[_i].accept$1(t1);
  79457. },
  79458. $signature: 1
  79459. };
  79460. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  79461. call$0() {
  79462. var t1, t2, t3, _i;
  79463. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79464. t1[_i].accept$1(t3);
  79465. },
  79466. $signature: 1
  79467. };
  79468. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  79469. call$1(node) {
  79470. var t1;
  79471. if (!(node instanceof A.ModifiableCssStyleRule)) {
  79472. t1 = this.mergedSources;
  79473. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  79474. } else
  79475. t1 = true;
  79476. return t1;
  79477. },
  79478. $signature: 8
  79479. };
  79480. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  79481. call$0() {
  79482. var t1, t2, t3, _i;
  79483. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79484. t1[_i].accept$1(t3);
  79485. },
  79486. $signature: 1
  79487. };
  79488. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  79489. call$1(node) {
  79490. return node instanceof A.ModifiableCssStyleRule;
  79491. },
  79492. $signature: 8
  79493. };
  79494. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  79495. call$0() {
  79496. var t1 = this.$this;
  79497. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  79498. },
  79499. $signature: 1
  79500. };
  79501. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  79502. call$0() {
  79503. var t1, t2, t3, _i;
  79504. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79505. t1[_i].accept$1(t3);
  79506. },
  79507. $signature: 1
  79508. };
  79509. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  79510. call$1(node) {
  79511. return node instanceof A.ModifiableCssStyleRule;
  79512. },
  79513. $signature: 8
  79514. };
  79515. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  79516. call$1(child) {
  79517. return child instanceof A.ModifiableCssComment;
  79518. },
  79519. $signature: 8
  79520. };
  79521. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  79522. call$0() {
  79523. var t2, t3, _i,
  79524. t1 = this.$this,
  79525. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79526. if (_0_0 != null)
  79527. 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);
  79528. else
  79529. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79530. t2[_i].accept$1(t1);
  79531. },
  79532. $signature: 1
  79533. };
  79534. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  79535. call$0() {
  79536. var t1, t2, t3, _i;
  79537. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79538. t1[_i].accept$1(t3);
  79539. },
  79540. $signature: 1
  79541. };
  79542. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  79543. call$1(node) {
  79544. return node instanceof A.ModifiableCssStyleRule;
  79545. },
  79546. $signature: 8
  79547. };
  79548. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  79549. call$0() {
  79550. var t4,
  79551. t1 = this.$this,
  79552. t2 = this._box_0,
  79553. t3 = t2.declaration.name;
  79554. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  79555. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  79556. t2 = t2.declaration.value;
  79557. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  79558. },
  79559. $signature: 32
  79560. };
  79561. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  79562. call$0() {
  79563. var t1 = this.$this._environment,
  79564. t2 = this._box_0.override;
  79565. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  79566. },
  79567. $signature: 1
  79568. };
  79569. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  79570. call$0() {
  79571. var t1 = this.node;
  79572. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79573. },
  79574. $signature: 43
  79575. };
  79576. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  79577. call$0() {
  79578. var t1 = this.$this,
  79579. t2 = this.node;
  79580. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  79581. },
  79582. $signature: 1
  79583. };
  79584. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  79585. call$2(module, firstLoad) {
  79586. var t1, t2, t3, _0_0, t4, t5, span;
  79587. if (firstLoad)
  79588. this.$this._registerCommentsForModule$1(module);
  79589. t1 = this.$this._environment;
  79590. t2 = this.node;
  79591. t3 = t2.namespace;
  79592. if (t3 == null) {
  79593. t1._globalModules.$indexSet(0, module, t2);
  79594. t1._allModules.push(module);
  79595. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  79596. if (_0_0 != null)
  79597. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  79598. } else {
  79599. t4 = t1._environment$_modules;
  79600. if (t4.containsKey$1(t3)) {
  79601. t5 = t1._namespaceNodes.$index(0, t3);
  79602. span = t5 == null ? null : t5.span;
  79603. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79604. if (span != null)
  79605. t5.$indexSet(0, span, "original @use");
  79606. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  79607. }
  79608. t4.$indexSet(0, t3, module);
  79609. t1._namespaceNodes.$indexSet(0, t3, t2);
  79610. t1._allModules.push(module);
  79611. }
  79612. },
  79613. $signature: 96
  79614. };
  79615. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  79616. call$0() {
  79617. return this.node.expression.accept$1(this.$this);
  79618. },
  79619. $signature: 36
  79620. };
  79621. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  79622. call$0() {
  79623. var t1, t2, t3, _0_0;
  79624. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  79625. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  79626. if (_0_0 != null)
  79627. return _0_0;
  79628. }
  79629. return null;
  79630. },
  79631. $signature: 43
  79632. };
  79633. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  79634. call$1(child) {
  79635. return child.accept$1(this.$this);
  79636. },
  79637. $signature: 97
  79638. };
  79639. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  79640. call$0() {
  79641. var t1 = this.node,
  79642. t2 = this.$this,
  79643. left = t1.left.accept$1(t2);
  79644. switch (t1.operator) {
  79645. case B.BinaryOperator_Kyq:
  79646. t1 = t1.right.accept$1(t2);
  79647. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  79648. break;
  79649. case B.BinaryOperator_tKu:
  79650. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  79651. break;
  79652. case B.BinaryOperator_uke:
  79653. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  79654. break;
  79655. case B.BinaryOperator_r84:
  79656. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79657. break;
  79658. case B.BinaryOperator_qGq:
  79659. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79660. break;
  79661. case B.BinaryOperator_o8O:
  79662. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  79663. break;
  79664. case B.BinaryOperator_JiR:
  79665. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  79666. break;
  79667. case B.BinaryOperator_qHy:
  79668. t1 = left.lessThan$1(t1.right.accept$1(t2));
  79669. break;
  79670. case B.BinaryOperator_FPG:
  79671. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  79672. break;
  79673. case B.BinaryOperator_Swh:
  79674. t1 = left.plus$1(t1.right.accept$1(t2));
  79675. break;
  79676. case B.BinaryOperator_QG1:
  79677. t1 = left.minus$1(t1.right.accept$1(t2));
  79678. break;
  79679. case B.BinaryOperator_tht:
  79680. t1 = left.times$1(t1.right.accept$1(t2));
  79681. break;
  79682. case B.BinaryOperator_Mh5:
  79683. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  79684. break;
  79685. case B.BinaryOperator_s7T:
  79686. t1 = left.modulo$1(t1.right.accept$1(t2));
  79687. break;
  79688. default:
  79689. t1 = null;
  79690. }
  79691. return t1;
  79692. },
  79693. $signature: 36
  79694. };
  79695. A._EvaluateVisitor__slash_recommendation.prototype = {
  79696. call$1(expression) {
  79697. var t1;
  79698. $label0$0: {
  79699. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  79700. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  79701. break $label0$0;
  79702. }
  79703. if (expression instanceof A.ParenthesizedExpression) {
  79704. t1 = expression.expression.toString$0(0);
  79705. break $label0$0;
  79706. }
  79707. t1 = expression.toString$0(0);
  79708. break $label0$0;
  79709. }
  79710. return t1;
  79711. },
  79712. $signature: 135
  79713. };
  79714. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  79715. call$0() {
  79716. var t1 = this.node;
  79717. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79718. },
  79719. $signature: 43
  79720. };
  79721. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  79722. call$0() {
  79723. var t1, _this = this;
  79724. switch (_this.node.operator) {
  79725. case B.UnaryOperator_Rbl:
  79726. t1 = _this.operand.unaryPlus$0();
  79727. break;
  79728. case B.UnaryOperator_UCP:
  79729. t1 = _this.operand.unaryMinus$0();
  79730. break;
  79731. case B.UnaryOperator_lZV:
  79732. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  79733. break;
  79734. case B.UnaryOperator_not_not_not:
  79735. t1 = _this.operand.unaryNot$0();
  79736. break;
  79737. default:
  79738. t1 = null;
  79739. }
  79740. return t1;
  79741. },
  79742. $signature: 36
  79743. };
  79744. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  79745. call$1(expression) {
  79746. return expression.accept$1(this.$this);
  79747. },
  79748. $signature: 273
  79749. };
  79750. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  79751. call$0() {
  79752. var t1 = this.node;
  79753. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  79754. },
  79755. $signature: 95
  79756. };
  79757. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  79758. call$1(argument) {
  79759. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  79760. },
  79761. $signature: 137
  79762. };
  79763. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  79764. call$0() {
  79765. var t1 = this.node;
  79766. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  79767. },
  79768. $signature: 36
  79769. };
  79770. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  79771. call$2(message, deprecation) {
  79772. return this.$this._warn$3(message, this.node.span, deprecation);
  79773. },
  79774. call$1(message) {
  79775. return this.call$2(message, null);
  79776. },
  79777. $signature: 92
  79778. };
  79779. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  79780. call$1(maxArgs) {
  79781. var t1 = this.node,
  79782. t2 = t1.$arguments.positional.length;
  79783. if (t2 === 0)
  79784. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  79785. else if (maxArgs != null && t2 > maxArgs)
  79786. 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));
  79787. },
  79788. call$0() {
  79789. return this.call$1(null);
  79790. },
  79791. $signature: 93
  79792. };
  79793. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  79794. call$0() {
  79795. var _this = this,
  79796. t1 = _this.$this,
  79797. t2 = _this._box_0,
  79798. t3 = _this.node,
  79799. t4 = _this.inLegacySassFunction;
  79800. 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));
  79801. },
  79802. $signature: 98
  79803. };
  79804. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  79805. call$2(message, deprecation) {
  79806. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  79807. },
  79808. call$1(message) {
  79809. return this.call$2(message, null);
  79810. },
  79811. $signature: 92
  79812. };
  79813. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  79814. call$0() {
  79815. var t1 = this.node;
  79816. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  79817. },
  79818. $signature: 36
  79819. };
  79820. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  79821. call$0() {
  79822. var _this = this,
  79823. t1 = _this.$this,
  79824. t2 = _this.callable;
  79825. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  79826. },
  79827. $signature() {
  79828. return this.V._eval$1("0()");
  79829. }
  79830. };
  79831. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  79832. call$0() {
  79833. var _this = this,
  79834. t1 = _this.$this,
  79835. t2 = _this.V;
  79836. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  79837. },
  79838. $signature() {
  79839. return this.V._eval$1("0()");
  79840. }
  79841. };
  79842. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  79843. call$0() {
  79844. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  79845. t1 = _this.$this,
  79846. t2 = _this.evaluated._values,
  79847. t3 = _this.callable.declaration.parameters,
  79848. t4 = _this.nodeWithSpan;
  79849. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  79850. parameters = t3.parameters;
  79851. t5 = parameters.length;
  79852. minLength = Math.min(t2[2].length, t5);
  79853. for (i = 0; i < minLength; ++i)
  79854. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  79855. for (i = t2[2].length; i < t5; ++i) {
  79856. parameter = parameters[i];
  79857. t6 = parameter.name;
  79858. value = t2[0].remove$1(0, t6);
  79859. if (value == null) {
  79860. t7 = parameter.defaultValue;
  79861. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  79862. }
  79863. t7 = t1._environment;
  79864. t8 = t2[1].$index(0, t6);
  79865. if (t8 == null) {
  79866. t8 = parameter.defaultValue;
  79867. t8.toString;
  79868. t8 = t1._expressionNode$1(t8);
  79869. }
  79870. t7.setLocalVariable$3(t6, value, t8);
  79871. }
  79872. restParameter = t3.restParameter;
  79873. if (restParameter != null) {
  79874. t6 = t2[2];
  79875. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  79876. t5 = t2[0];
  79877. t6 = t2[4];
  79878. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  79879. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  79880. } else
  79881. argumentList = null;
  79882. result = _this.run.call$0();
  79883. if (argumentList == null)
  79884. return result;
  79885. t5 = t2[0].__js_helper$_length;
  79886. if (t5 === 0)
  79887. return result;
  79888. if (argumentList._wereKeywordsAccessed)
  79889. return result;
  79890. parameterWord = A.pluralize("parameter", t5, null);
  79891. t2 = t2[0];
  79892. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  79893. 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));
  79894. },
  79895. $signature() {
  79896. return this.V._eval$1("0()");
  79897. }
  79898. };
  79899. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  79900. call$1($name) {
  79901. return "$" + $name;
  79902. },
  79903. $signature: 6
  79904. };
  79905. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  79906. call$0() {
  79907. var t1, t2, t3, t4, _i, $returnValue;
  79908. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  79909. $returnValue = t2[_i].accept$1(t4);
  79910. if ($returnValue instanceof A.Value)
  79911. return $returnValue;
  79912. }
  79913. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  79914. },
  79915. $signature: 36
  79916. };
  79917. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  79918. call$0() {
  79919. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  79920. },
  79921. $signature: 0
  79922. };
  79923. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  79924. call$0() {
  79925. return this._box_0.callback.call$1(this.evaluated._values[2]);
  79926. },
  79927. $signature: 36
  79928. };
  79929. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  79930. call$1($name) {
  79931. return "$" + $name;
  79932. },
  79933. $signature: 6
  79934. };
  79935. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  79936. call$1(value) {
  79937. return value;
  79938. },
  79939. $signature: 42
  79940. };
  79941. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  79942. call$1(value) {
  79943. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  79944. },
  79945. $signature: 42
  79946. };
  79947. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  79948. call$2(key, value) {
  79949. var _this = this,
  79950. t1 = _this.restNodeForSpan;
  79951. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  79952. _this.namedNodes.$indexSet(0, key, t1);
  79953. },
  79954. $signature: 94
  79955. };
  79956. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  79957. call$1(value) {
  79958. return value;
  79959. },
  79960. $signature: 42
  79961. };
  79962. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  79963. call$1(value) {
  79964. var t1 = this.restArgs;
  79965. return new A.ValueExpression(value, t1.get$span(t1));
  79966. },
  79967. $signature: 59
  79968. };
  79969. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  79970. call$1(value) {
  79971. var t1 = this.restArgs;
  79972. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  79973. },
  79974. $signature: 59
  79975. };
  79976. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  79977. call$2(key, value) {
  79978. var _this = this,
  79979. t1 = _this.restArgs;
  79980. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  79981. },
  79982. $signature: 94
  79983. };
  79984. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  79985. call$1(value) {
  79986. var t1 = this.keywordRestArgs;
  79987. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  79988. },
  79989. $signature: 59
  79990. };
  79991. A._EvaluateVisitor__addRestMap_closure.prototype = {
  79992. call$2(key, value) {
  79993. var t2, _this = this,
  79994. t1 = _this.$this;
  79995. if (key instanceof A.SassString)
  79996. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  79997. else {
  79998. t2 = _this.nodeWithSpan;
  79999. 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)));
  80000. }
  80001. },
  80002. $signature: 88
  80003. };
  80004. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  80005. call$0() {
  80006. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  80007. },
  80008. $signature: 0
  80009. };
  80010. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80011. call$0() {
  80012. var t1, t2, t3, t4;
  80013. 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();) {
  80014. t4 = t1.__internal$_current;
  80015. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80016. }
  80017. },
  80018. $signature: 1
  80019. };
  80020. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80021. call$1(node) {
  80022. return node instanceof A.ModifiableCssStyleRule;
  80023. },
  80024. $signature: 8
  80025. };
  80026. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80027. call$0() {
  80028. var t1, t2, t3, t4;
  80029. 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();) {
  80030. t4 = t1.__internal$_current;
  80031. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80032. }
  80033. },
  80034. $signature: 1
  80035. };
  80036. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80037. call$1(node) {
  80038. return node instanceof A.ModifiableCssStyleRule;
  80039. },
  80040. $signature: 8
  80041. };
  80042. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80043. call$1(mediaQueries) {
  80044. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80045. },
  80046. $signature: 91
  80047. };
  80048. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80049. call$0() {
  80050. var _this = this,
  80051. t1 = _this.$this,
  80052. t2 = _this.mergedQueries;
  80053. if (t2 == null)
  80054. t2 = _this.node.queries;
  80055. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80056. },
  80057. $signature: 1
  80058. };
  80059. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80060. call$0() {
  80061. var t2, t3, t4,
  80062. t1 = this.$this,
  80063. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80064. if (_0_0 != null)
  80065. 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);
  80066. else
  80067. 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();) {
  80068. t4 = t2.__internal$_current;
  80069. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80070. }
  80071. },
  80072. $signature: 1
  80073. };
  80074. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80075. call$0() {
  80076. var t1, t2, t3, t4;
  80077. 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();) {
  80078. t4 = t1.__internal$_current;
  80079. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80080. }
  80081. },
  80082. $signature: 1
  80083. };
  80084. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80085. call$1(node) {
  80086. var t1;
  80087. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80088. t1 = this.mergedSources;
  80089. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80090. } else
  80091. t1 = true;
  80092. return t1;
  80093. },
  80094. $signature: 8
  80095. };
  80096. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80097. call$0() {
  80098. var t1 = this.$this;
  80099. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80100. },
  80101. $signature: 1
  80102. };
  80103. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80104. call$0() {
  80105. var t1, t2, t3, t4;
  80106. 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();) {
  80107. t4 = t1.__internal$_current;
  80108. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80109. }
  80110. },
  80111. $signature: 1
  80112. };
  80113. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80114. call$1(node) {
  80115. return node instanceof A.ModifiableCssStyleRule;
  80116. },
  80117. $signature: 8
  80118. };
  80119. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80120. call$0() {
  80121. var t2, t3, t4,
  80122. t1 = this.$this,
  80123. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80124. if (_0_0 != null)
  80125. 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);
  80126. else
  80127. 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();) {
  80128. t4 = t2.__internal$_current;
  80129. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80130. }
  80131. },
  80132. $signature: 1
  80133. };
  80134. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80135. call$0() {
  80136. var t1, t2, t3, t4;
  80137. 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();) {
  80138. t4 = t1.__internal$_current;
  80139. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80140. }
  80141. },
  80142. $signature: 1
  80143. };
  80144. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80145. call$1(node) {
  80146. return node instanceof A.ModifiableCssStyleRule;
  80147. },
  80148. $signature: 8
  80149. };
  80150. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80151. call$1(targetLocations) {
  80152. return A.InterpolationMap$(this.interpolation, targetLocations);
  80153. },
  80154. $signature: 253
  80155. };
  80156. A._EvaluateVisitor__serialize_closure.prototype = {
  80157. call$0() {
  80158. return A.serializeValue(this.value, false, this.quote);
  80159. },
  80160. $signature: 32
  80161. };
  80162. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80163. call$0() {
  80164. var t1 = this.expression;
  80165. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80166. },
  80167. $signature: 254
  80168. };
  80169. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80170. call$1(number) {
  80171. var before, after, t1,
  80172. _1_0 = number.asSlash;
  80173. $label0$0: {
  80174. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80175. before = _1_0._0;
  80176. after = _1_0._1;
  80177. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80178. break $label0$0;
  80179. }
  80180. t1 = A.serializeValue(number, true, true);
  80181. break $label0$0;
  80182. }
  80183. return t1;
  80184. },
  80185. $signature: 255
  80186. };
  80187. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80188. call$1(url) {
  80189. var t1 = this.$this._evaluate$_importCache;
  80190. t1 = t1 == null ? null : t1.humanize$1(url);
  80191. return t1 == null ? url : t1;
  80192. },
  80193. $signature: 51
  80194. };
  80195. A._ImportedCssVisitor.prototype = {
  80196. visitCssAtRule$1(node) {
  80197. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80198. this._visitor._addChild$2$through(node, t1);
  80199. },
  80200. visitCssComment$1(node) {
  80201. return this._visitor._addChild$1(node);
  80202. },
  80203. visitCssDeclaration$1(node) {
  80204. },
  80205. visitCssImport$1(node) {
  80206. var t2,
  80207. _s13_ = "_endOfImports",
  80208. t1 = this._visitor;
  80209. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80210. t1._addChild$1(node);
  80211. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80212. t1._addChild$1(node);
  80213. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80214. } else {
  80215. t2 = t1._outOfOrderImports;
  80216. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80217. }
  80218. },
  80219. visitCssKeyframeBlock$1(node) {
  80220. },
  80221. visitCssMediaRule$1(node) {
  80222. var t1 = this._visitor,
  80223. mediaQueries = t1._mediaQueries;
  80224. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80225. },
  80226. visitCssStyleRule$1(node) {
  80227. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80228. },
  80229. visitCssStylesheet$1(node) {
  80230. var t1, t2, t3;
  80231. 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();) {
  80232. t3 = t1.__internal$_current;
  80233. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80234. }
  80235. },
  80236. visitCssSupportsRule$1(node) {
  80237. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80238. }
  80239. };
  80240. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80241. call$1(node) {
  80242. return node instanceof A.ModifiableCssStyleRule;
  80243. },
  80244. $signature: 8
  80245. };
  80246. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80247. call$1(node) {
  80248. var t1;
  80249. if (!(node instanceof A.ModifiableCssStyleRule))
  80250. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80251. else
  80252. t1 = true;
  80253. return t1;
  80254. },
  80255. $signature: 8
  80256. };
  80257. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80258. call$1(node) {
  80259. return node instanceof A.ModifiableCssStyleRule;
  80260. },
  80261. $signature: 8
  80262. };
  80263. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80264. call$1(node) {
  80265. return node instanceof A.ModifiableCssStyleRule;
  80266. },
  80267. $signature: 8
  80268. };
  80269. A._EvaluationContext.prototype = {
  80270. get$currentCallableSpan() {
  80271. var _0_0 = this._visitor._callableNode;
  80272. if (_0_0 != null)
  80273. return _0_0.get$span(_0_0);
  80274. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80275. },
  80276. warn$2(_, message, deprecation) {
  80277. var t1 = this._visitor,
  80278. t2 = t1._importSpan;
  80279. if (t2 == null) {
  80280. t2 = t1._callableNode;
  80281. t2 = t2 == null ? null : t2.get$span(t2);
  80282. }
  80283. if (t2 == null) {
  80284. t2 = this._defaultWarnNodeWithSpan;
  80285. t2 = t2.get$span(t2);
  80286. }
  80287. t1._warn$3(message, t2, deprecation);
  80288. },
  80289. $isEvaluationContext: 1
  80290. };
  80291. A.EveryCssVisitor.prototype = {
  80292. visitCssAtRule$1(node) {
  80293. var t1 = node.children;
  80294. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80295. },
  80296. visitCssComment$1(node) {
  80297. return false;
  80298. },
  80299. visitCssDeclaration$1(node) {
  80300. return false;
  80301. },
  80302. visitCssImport$1(node) {
  80303. return false;
  80304. },
  80305. visitCssKeyframeBlock$1(node) {
  80306. var t1 = node.children;
  80307. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80308. },
  80309. visitCssMediaRule$1(node) {
  80310. var t1 = node.children;
  80311. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80312. },
  80313. visitCssStyleRule$1(node) {
  80314. var t1 = node.children;
  80315. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80316. },
  80317. visitCssStylesheet$1(node) {
  80318. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80319. },
  80320. visitCssSupportsRule$1(node) {
  80321. var t1 = node.children;
  80322. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80323. }
  80324. };
  80325. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80326. call$1(child) {
  80327. return child.accept$1(this.$this);
  80328. },
  80329. $signature: 8
  80330. };
  80331. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80332. call$1(child) {
  80333. return child.accept$1(this.$this);
  80334. },
  80335. $signature: 8
  80336. };
  80337. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80338. call$1(child) {
  80339. return child.accept$1(this.$this);
  80340. },
  80341. $signature: 8
  80342. };
  80343. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80344. call$1(child) {
  80345. return child.accept$1(this.$this);
  80346. },
  80347. $signature: 8
  80348. };
  80349. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  80350. call$1(child) {
  80351. return child.accept$1(this.$this);
  80352. },
  80353. $signature: 8
  80354. };
  80355. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  80356. call$1(child) {
  80357. return child.accept$1(this.$this);
  80358. },
  80359. $signature: 8
  80360. };
  80361. A._MakeExpressionCalculationSafe.prototype = {
  80362. visitBinaryOperationExpression$1(_, node) {
  80363. var t1, t2, t3, t4;
  80364. if (node.operator === B.BinaryOperator_s7T) {
  80365. t1 = A._setArrayType([node], type$.JSArray_Expression);
  80366. t2 = node.get$span(0);
  80367. t3 = type$.Expression;
  80368. t1 = A.List_List$unmodifiable(t1, t3);
  80369. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty5, type$.String, t3);
  80370. t4 = node.get$span(0);
  80371. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  80372. } else
  80373. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  80374. return t1;
  80375. },
  80376. visitInterpolatedFunctionExpression$1(_, node) {
  80377. return node;
  80378. },
  80379. visitUnaryOperationExpression$1(_, node) {
  80380. var t1,
  80381. _0_0 = node.operator;
  80382. $label0$0: {
  80383. if (B.UnaryOperator_Rbl === _0_0) {
  80384. t1 = node.operand;
  80385. break $label0$0;
  80386. }
  80387. if (B.UnaryOperator_UCP === _0_0) {
  80388. t1 = new A.BinaryOperationExpression(B.BinaryOperator_tht, new A.NumberExpression(-1, null, node.span), node.operand, false);
  80389. break $label0$0;
  80390. }
  80391. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  80392. break $label0$0;
  80393. }
  80394. return t1;
  80395. }
  80396. };
  80397. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  80398. A._FindDependenciesVisitor.prototype = {
  80399. visitEachRule$1(_, node) {
  80400. },
  80401. visitForRule$1(_, node) {
  80402. },
  80403. visitIfRule$1(_, node) {
  80404. },
  80405. visitWhileRule$1(_, node) {
  80406. },
  80407. visitUseRule$1(_, node) {
  80408. var t1 = node.url;
  80409. if (t1.get$scheme() !== "sass")
  80410. this._find_dependencies$_uses.add$1(0, t1);
  80411. else if (t1.toString$0(0) === "sass:meta")
  80412. this._metaNamespaces.add$1(0, node.namespace);
  80413. },
  80414. visitForwardRule$1(_, node) {
  80415. var t1 = node.url;
  80416. if (t1.get$scheme() !== "sass")
  80417. this._find_dependencies$_forwards.add$1(0, t1);
  80418. },
  80419. visitImportRule$1(_, node) {
  80420. var t1, t2, t3, _i, $import;
  80421. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  80422. $import = t1[_i];
  80423. if ($import instanceof A.DynamicImport)
  80424. t3.add$1(0, A.Uri_parse($import.urlString));
  80425. }
  80426. },
  80427. visitIncludeRule$1(_, node) {
  80428. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  80429. if (node.name !== "load-css")
  80430. return;
  80431. if (!this._metaNamespaces.contains$1(0, node.namespace))
  80432. return;
  80433. _0_0 = node.$arguments.positional;
  80434. url = null;
  80435. _0_4_isSet = _0_0.length === 1;
  80436. _0_7 = null;
  80437. t1 = false;
  80438. if (_0_4_isSet) {
  80439. _0_4 = _0_0[0];
  80440. _0_7_isSet = _0_4 instanceof A.StringExpression;
  80441. if (_0_7_isSet) {
  80442. type$.StringExpression._as(_0_4);
  80443. _0_7 = _0_4.text.get$asPlain();
  80444. t1 = _0_7;
  80445. t1 = t1 != null;
  80446. }
  80447. } else {
  80448. _0_4 = null;
  80449. _0_7_isSet = false;
  80450. }
  80451. if (t1) {
  80452. if (_0_7_isSet)
  80453. url0 = _0_7;
  80454. else {
  80455. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  80456. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  80457. url0 = _0_7;
  80458. }
  80459. url = url0 == null ? A._asString(url0) : url0;
  80460. try {
  80461. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  80462. } catch (exception) {
  80463. if (!type$.FormatException._is(A.unwrapException(exception)))
  80464. throw exception;
  80465. }
  80466. }
  80467. }
  80468. };
  80469. A.DependencyReport.prototype = {};
  80470. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  80471. A.IsCalculationSafeVisitor.prototype = {
  80472. visitBinaryOperationExpression$1(_, node) {
  80473. return B.Set_oQTdo.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  80474. },
  80475. visitBooleanExpression$1(_, node) {
  80476. return false;
  80477. },
  80478. visitColorExpression$1(_, node) {
  80479. return false;
  80480. },
  80481. visitFunctionExpression$1(_, node) {
  80482. return true;
  80483. },
  80484. visitInterpolatedFunctionExpression$1(_, node) {
  80485. return true;
  80486. },
  80487. visitIfExpression$1(_, node) {
  80488. return true;
  80489. },
  80490. visitListExpression$1(_, node) {
  80491. var t1 = false;
  80492. if (node.separator === B.ListSeparator_qSL)
  80493. if (!node.hasBrackets) {
  80494. t1 = node.contents;
  80495. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  80496. }
  80497. return t1;
  80498. },
  80499. visitMapExpression$1(_, node) {
  80500. return false;
  80501. },
  80502. visitNullExpression$1(_, node) {
  80503. return false;
  80504. },
  80505. visitNumberExpression$1(_, node) {
  80506. return true;
  80507. },
  80508. visitParenthesizedExpression$1(_, node) {
  80509. return node.expression.accept$1(this);
  80510. },
  80511. visitSelectorExpression$1(_, node) {
  80512. return false;
  80513. },
  80514. visitStringExpression$1(_, node) {
  80515. var text, t1, t2;
  80516. if (node.hasQuotes)
  80517. return false;
  80518. text = node.text.get$initialPlain();
  80519. t1 = false;
  80520. if (!B.JSString_methods.startsWith$1(text, "!"))
  80521. if (!B.JSString_methods.startsWith$1(text, "#")) {
  80522. t2 = text.length;
  80523. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  80524. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  80525. }
  80526. return t1;
  80527. },
  80528. visitSupportsExpression$1(_, node) {
  80529. return false;
  80530. },
  80531. visitUnaryOperationExpression$1(_, node) {
  80532. return false;
  80533. },
  80534. visitValueExpression$1(_, node) {
  80535. return false;
  80536. },
  80537. visitVariableExpression$1(_, node) {
  80538. return true;
  80539. }
  80540. };
  80541. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  80542. call$1(expression) {
  80543. return expression.accept$1(this.$this);
  80544. },
  80545. $signature: 137
  80546. };
  80547. A.RecursiveStatementVisitor.prototype = {
  80548. visitAtRootRule$1(_, node) {
  80549. this.visitChildren$1(node.children);
  80550. },
  80551. visitAtRule$1(_, node) {
  80552. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80553. },
  80554. visitContentBlock$1(_, node) {
  80555. return null;
  80556. },
  80557. visitContentRule$1(_, node) {
  80558. },
  80559. visitDebugRule$1(_, node) {
  80560. },
  80561. visitDeclaration$1(_, node) {
  80562. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80563. },
  80564. visitEachRule$1(_, node) {
  80565. return this.visitChildren$1(node.children);
  80566. },
  80567. visitErrorRule$1(_, node) {
  80568. },
  80569. visitExtendRule$1(_, node) {
  80570. },
  80571. visitForRule$1(_, node) {
  80572. return this.visitChildren$1(node.children);
  80573. },
  80574. visitForwardRule$1(_, node) {
  80575. },
  80576. visitFunctionRule$1(_, node) {
  80577. return null;
  80578. },
  80579. visitIfRule$1(_, node) {
  80580. var t1, t2, _i, t3, t4, _i0, _0_0;
  80581. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80582. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  80583. t3[_i0].accept$1(this);
  80584. _0_0 = node.lastClause;
  80585. if (_0_0 != null)
  80586. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80587. t1[_i].accept$1(this);
  80588. },
  80589. visitImportRule$1(_, node) {
  80590. },
  80591. visitIncludeRule$1(_, node) {
  80592. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  80593. },
  80594. visitLoudComment$1(_, node) {
  80595. },
  80596. visitMediaRule$1(_, node) {
  80597. return this.visitChildren$1(node.children);
  80598. },
  80599. visitMixinRule$1(_, node) {
  80600. return null;
  80601. },
  80602. visitReturnRule$1(_, node) {
  80603. },
  80604. visitSilentComment$1(_, node) {
  80605. },
  80606. visitStyleRule$1(_, node) {
  80607. return this.visitChildren$1(node.children);
  80608. },
  80609. visitStylesheet$1(_, node) {
  80610. return this.visitChildren$1(node.children);
  80611. },
  80612. visitSupportsRule$1(_, node) {
  80613. return this.visitChildren$1(node.children);
  80614. },
  80615. visitUseRule$1(_, node) {
  80616. },
  80617. visitVariableDeclaration$1(_, node) {
  80618. },
  80619. visitWarnRule$1(_, node) {
  80620. },
  80621. visitWhileRule$1(_, node) {
  80622. return this.visitChildren$1(node.children);
  80623. },
  80624. visitChildren$1(children) {
  80625. var t1;
  80626. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  80627. t1.get$current(t1).accept$1(this);
  80628. }
  80629. };
  80630. A.ReplaceExpressionVisitor.prototype = {
  80631. visitBinaryOperationExpression$1(_, node) {
  80632. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  80633. },
  80634. visitBooleanExpression$1(_, node) {
  80635. return node;
  80636. },
  80637. visitColorExpression$1(_, node) {
  80638. return node;
  80639. },
  80640. visitFunctionExpression$1(_, node) {
  80641. var t1 = node.originalName,
  80642. t2 = this.visitArgumentList$1(node.$arguments);
  80643. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  80644. },
  80645. visitInterpolatedFunctionExpression$1(_, node) {
  80646. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  80647. },
  80648. visitIfExpression$1(_, node) {
  80649. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  80650. },
  80651. visitListExpression$1(_, node) {
  80652. var t1 = node.contents;
  80653. 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);
  80654. },
  80655. visitMapExpression$1(_, node) {
  80656. var t2, t3, _i, t4,
  80657. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  80658. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80659. t4 = t2[_i];
  80660. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  80661. }
  80662. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  80663. },
  80664. visitNullExpression$1(_, node) {
  80665. return node;
  80666. },
  80667. visitNumberExpression$1(_, node) {
  80668. return node;
  80669. },
  80670. visitParenthesizedExpression$1(_, node) {
  80671. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  80672. },
  80673. visitSelectorExpression$1(_, node) {
  80674. return node;
  80675. },
  80676. visitStringExpression$1(_, node) {
  80677. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  80678. },
  80679. visitSupportsExpression$1(_, node) {
  80680. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  80681. },
  80682. visitUnaryOperationExpression$1(_, node) {
  80683. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  80684. },
  80685. visitValueExpression$1(_, node) {
  80686. return node;
  80687. },
  80688. visitVariableExpression$1(_, node) {
  80689. return node;
  80690. },
  80691. visitArgumentList$1(invocation) {
  80692. var t5, t6, _this = this,
  80693. t1 = invocation.positional,
  80694. t2 = type$.String,
  80695. t3 = type$.Expression,
  80696. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  80697. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80698. t6 = t5.get$current(t5);
  80699. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  80700. }
  80701. t5 = invocation.rest;
  80702. t5 = t5 == null ? null : t5.accept$1(_this);
  80703. t6 = invocation.keywordRest;
  80704. t6 = t6 == null ? null : t6.accept$1(_this);
  80705. 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);
  80706. },
  80707. visitSupportsCondition$1(condition) {
  80708. var _this = this;
  80709. if (condition instanceof A.SupportsOperation)
  80710. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  80711. else if (condition instanceof A.SupportsNegation)
  80712. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  80713. else if (condition instanceof A.SupportsInterpolation)
  80714. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  80715. else if (condition instanceof A.SupportsDeclaration)
  80716. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  80717. else
  80718. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  80719. },
  80720. visitInterpolation$1(interpolation) {
  80721. var t1 = interpolation.contents;
  80722. 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);
  80723. }
  80724. };
  80725. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  80726. call$1(item) {
  80727. return item.accept$1(this.$this);
  80728. },
  80729. $signature: 269
  80730. };
  80731. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  80732. call$1(expression) {
  80733. return expression.accept$1(this.$this);
  80734. },
  80735. $signature: 269
  80736. };
  80737. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  80738. call$1(node) {
  80739. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  80740. },
  80741. $signature: 69
  80742. };
  80743. A.SelectorSearchVisitor.prototype = {
  80744. visitAttributeSelector$1(attribute) {
  80745. return null;
  80746. },
  80747. visitClassSelector$1(klass) {
  80748. return null;
  80749. },
  80750. visitIDSelector$1(id) {
  80751. return null;
  80752. },
  80753. visitParentSelector$1(placeholder) {
  80754. return null;
  80755. },
  80756. visitPlaceholderSelector$1(placeholder) {
  80757. return null;
  80758. },
  80759. visitTypeSelector$1(type) {
  80760. return null;
  80761. },
  80762. visitUniversalSelector$1(universal) {
  80763. return null;
  80764. },
  80765. visitComplexSelector$1(complex) {
  80766. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  80767. },
  80768. visitCompoundSelector$1(compound) {
  80769. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  80770. },
  80771. visitPseudoSelector$1(pseudo) {
  80772. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  80773. },
  80774. visitSelectorList$1(list) {
  80775. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  80776. }
  80777. };
  80778. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  80779. call$1(component) {
  80780. return this.$this.visitCompoundSelector$1(component.selector);
  80781. },
  80782. $signature() {
  80783. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  80784. }
  80785. };
  80786. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  80787. call$1(simple) {
  80788. return simple.accept$1(this.$this);
  80789. },
  80790. $signature() {
  80791. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  80792. }
  80793. };
  80794. A.serialize_closure.prototype = {
  80795. call$1(codeUnit) {
  80796. return codeUnit > 127;
  80797. },
  80798. $signature: 50
  80799. };
  80800. A._SerializeVisitor.prototype = {
  80801. visitCssStylesheet$1(node) {
  80802. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  80803. 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();) {
  80804. previous0 = t1.get$current(t1);
  80805. if (t2)
  80806. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  80807. else
  80808. t7 = false;
  80809. if (t7)
  80810. continue;
  80811. if (previous != null) {
  80812. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  80813. t6.writeCharCode$1(59);
  80814. if (_this._isTrailingComment$2(previous0, previous)) {
  80815. if (t4)
  80816. t6.writeCharCode$1(32);
  80817. } else {
  80818. if (t4)
  80819. t6.write$1(0, "\n");
  80820. if (previous.get$isGroupEnd())
  80821. if (t4)
  80822. t6.write$1(0, "\n");
  80823. }
  80824. }
  80825. previous0.accept$1(_this);
  80826. previous = previous0;
  80827. }
  80828. if (previous != null)
  80829. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  80830. else
  80831. t1 = false;
  80832. if (t1)
  80833. t6.writeCharCode$1(59);
  80834. },
  80835. visitCssComment$1(node) {
  80836. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  80837. },
  80838. visitCssAtRule$1(node) {
  80839. var t1, _this = this;
  80840. _this._writeIndentation$0();
  80841. t1 = _this._serialize$_buffer;
  80842. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  80843. if (!node.isChildless) {
  80844. if (_this._style !== B.OutputStyle_1)
  80845. t1.writeCharCode$1(32);
  80846. _this._serialize$_visitChildren$1(node);
  80847. }
  80848. },
  80849. visitCssMediaRule$1(node) {
  80850. var t1, _this = this;
  80851. _this._writeIndentation$0();
  80852. t1 = _this._serialize$_buffer;
  80853. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  80854. if (_this._style !== B.OutputStyle_1)
  80855. t1.writeCharCode$1(32);
  80856. _this._serialize$_visitChildren$1(node);
  80857. },
  80858. visitCssImport$1(node) {
  80859. this._writeIndentation$0();
  80860. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  80861. },
  80862. _writeImportUrl$1(url) {
  80863. var urlContents, maybeQuote, _this = this;
  80864. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  80865. _this._serialize$_buffer.write$1(0, url);
  80866. return;
  80867. }
  80868. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  80869. maybeQuote = urlContents.charCodeAt(0);
  80870. if (maybeQuote === 39 || maybeQuote === 34)
  80871. _this._serialize$_buffer.write$1(0, urlContents);
  80872. else
  80873. _this._visitQuotedString$1(urlContents);
  80874. },
  80875. visitCssKeyframeBlock$1(node) {
  80876. var t1, _this = this;
  80877. _this._writeIndentation$0();
  80878. t1 = _this._serialize$_buffer;
  80879. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  80880. if (_this._style !== B.OutputStyle_1)
  80881. t1.writeCharCode$1(32);
  80882. _this._serialize$_visitChildren$1(node);
  80883. },
  80884. _visitMediaQuery$1(query) {
  80885. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  80886. _0_0 = query.modifier;
  80887. if (_0_0 != null) {
  80888. t1 = _this._serialize$_buffer;
  80889. t1.write$1(0, _0_0);
  80890. t1.writeCharCode$1(32);
  80891. }
  80892. _1_0 = query.type;
  80893. if (_1_0 != null) {
  80894. t1 = _this._serialize$_buffer;
  80895. t1.write$1(0, _1_0);
  80896. if (query.conditions.length !== 0)
  80897. t1.write$1(0, " and ");
  80898. }
  80899. _2_0 = query.conditions;
  80900. if (_2_0.length === 1)
  80901. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  80902. else
  80903. t1 = false;
  80904. if (t1) {
  80905. t1 = _this._serialize$_buffer;
  80906. t1.write$1(0, "not ");
  80907. condition = B.JSArray_methods.get$first(_2_0);
  80908. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  80909. } else {
  80910. operator = query.conjunction ? "and" : "or";
  80911. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  80912. t2 = _this._serialize$_buffer;
  80913. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  80914. }
  80915. },
  80916. visitCssStyleRule$1(node) {
  80917. var t1, _this = this;
  80918. _this._writeIndentation$0();
  80919. t1 = _this._serialize$_buffer;
  80920. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  80921. if (_this._style !== B.OutputStyle_1)
  80922. t1.writeCharCode$1(32);
  80923. _this._serialize$_visitChildren$1(node);
  80924. },
  80925. visitCssSupportsRule$1(node) {
  80926. var t1, _this = this;
  80927. _this._writeIndentation$0();
  80928. t1 = _this._serialize$_buffer;
  80929. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  80930. if (_this._style !== B.OutputStyle_1)
  80931. t1.writeCharCode$1(32);
  80932. _this._serialize$_visitChildren$1(node);
  80933. },
  80934. visitCssDeclaration$1(node) {
  80935. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  80936. t1 = node.interleavedRules,
  80937. t2 = t1.length;
  80938. if (t2 !== 0) {
  80939. t3 = node._parent;
  80940. t3.toString;
  80941. declSpecificities = _this._specificities$1(t3);
  80942. for (t3 = _this._serialize$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  80943. rule = t1[_i];
  80944. ruleSpecificities = _this._specificities$1(rule);
  80945. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  80946. continue;
  80947. 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);
  80948. }
  80949. }
  80950. _this._writeIndentation$0();
  80951. t1 = node.name;
  80952. _this._serialize$_write$1(t1);
  80953. t2 = _this._serialize$_buffer;
  80954. t2.writeCharCode$1(58);
  80955. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  80956. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  80957. else {
  80958. if (_this._style !== B.OutputStyle_1)
  80959. t2.writeCharCode$1(32);
  80960. try {
  80961. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  80962. } catch (exception) {
  80963. t1 = A.unwrapException(exception);
  80964. if (t1 instanceof A.MultiSpanSassScriptException) {
  80965. error = t1;
  80966. stackTrace = A.getTraceFromException(exception);
  80967. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  80968. } else if (t1 instanceof A.SassScriptException) {
  80969. error0 = t1;
  80970. stackTrace0 = A.getTraceFromException(exception);
  80971. t1 = error0.message;
  80972. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  80973. } else
  80974. throw exception;
  80975. }
  80976. }
  80977. },
  80978. _specificities$1(node) {
  80979. var $parent, t2, t3, _i,
  80980. t1 = this.get$_specificities();
  80981. if (node instanceof A.ModifiableCssStyleRule) {
  80982. t1 = A.NullableExtension_andThen(node._parent, t1);
  80983. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  80984. if ($parent == null)
  80985. $parent = 0;
  80986. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  80987. for (t2 = node._style_rule$_selector._box$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  80988. t1.add$1(0, $parent + t2[_i].get$specificity());
  80989. return t1;
  80990. } else {
  80991. t1 = A.NullableExtension_andThen(node.get$parent(node), t1);
  80992. return t1 == null ? B.Set_WDSXk : t1;
  80993. }
  80994. },
  80995. _writeFoldedValue$1(node) {
  80996. var t1, t2, next, t3,
  80997. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  80998. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  80999. next = scanner.readChar$0();
  81000. if (next !== 10) {
  81001. t2.writeCharCode$1(next);
  81002. continue;
  81003. }
  81004. t2.writeCharCode$1(32);
  81005. while (true) {
  81006. t3 = scanner.peekChar$0();
  81007. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81008. break;
  81009. scanner.readChar$0();
  81010. }
  81011. }
  81012. },
  81013. _writeReindentedValue$1(node) {
  81014. var _0_0, t1, _this = this,
  81015. value = type$.SassString._as(node.value.value)._string$_text;
  81016. $label0$0: {
  81017. _0_0 = _this._minimumIndentation$1(value);
  81018. if (_0_0 == null) {
  81019. _this._serialize$_buffer.write$1(0, value);
  81020. break $label0$0;
  81021. }
  81022. if (-1 === _0_0) {
  81023. t1 = _this._serialize$_buffer;
  81024. t1.write$1(0, A.trimAsciiRight(value, true));
  81025. t1.writeCharCode$1(32);
  81026. break $label0$0;
  81027. }
  81028. t1 = node.name.span;
  81029. t1 = t1.get$start(t1);
  81030. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81031. }
  81032. },
  81033. _minimumIndentation$1(text) {
  81034. var character, t2, min, next, min0,
  81035. scanner = A.LineScanner$(text),
  81036. t1 = scanner.string.length;
  81037. while (true) {
  81038. if (scanner._string_scanner$_position !== t1) {
  81039. character = scanner.super$StringScanner$readChar();
  81040. scanner._adjustLineAndColumn$1(character);
  81041. t2 = character !== 10;
  81042. } else
  81043. t2 = false;
  81044. if (!t2)
  81045. break;
  81046. }
  81047. if (scanner._string_scanner$_position === t1)
  81048. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81049. for (min = null; scanner._string_scanner$_position !== t1;) {
  81050. for (; scanner._string_scanner$_position !== t1;) {
  81051. next = scanner.peekChar$0();
  81052. if (next !== 32 && next !== 9)
  81053. break;
  81054. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81055. }
  81056. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81057. continue;
  81058. min0 = scanner._line_scanner$_column;
  81059. min = min == null ? min0 : Math.min(min, min0);
  81060. while (true) {
  81061. if (scanner._string_scanner$_position !== t1) {
  81062. character = scanner.super$StringScanner$readChar();
  81063. scanner._adjustLineAndColumn$1(character);
  81064. t2 = character !== 10;
  81065. } else
  81066. t2 = false;
  81067. if (!t2)
  81068. break;
  81069. }
  81070. }
  81071. return min == null ? -1 : min;
  81072. },
  81073. _writeWithIndent$2(text, minimumIndentation) {
  81074. var t1, t2, t3, character, lineStart, newlines, end,
  81075. scanner = A.LineScanner$(text);
  81076. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81077. character = scanner.super$StringScanner$readChar();
  81078. scanner._adjustLineAndColumn$1(character);
  81079. if (character === 10)
  81080. break;
  81081. t3.writeCharCode$1(character);
  81082. }
  81083. for (; true;) {
  81084. lineStart = scanner._string_scanner$_position;
  81085. for (newlines = 1; true;) {
  81086. if (scanner._string_scanner$_position === t2) {
  81087. t3.writeCharCode$1(32);
  81088. return;
  81089. }
  81090. $label0$2: {
  81091. character = scanner.super$StringScanner$readChar();
  81092. scanner._adjustLineAndColumn$1(character);
  81093. if (32 === character || 9 === character)
  81094. continue;
  81095. if (10 === character) {
  81096. lineStart = scanner._string_scanner$_position;
  81097. ++newlines;
  81098. break $label0$2;
  81099. }
  81100. break;
  81101. }
  81102. }
  81103. this._writeTimes$2(10, newlines);
  81104. this._writeIndentation$0();
  81105. end = scanner._string_scanner$_position;
  81106. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81107. for (; true;) {
  81108. if (scanner._string_scanner$_position === t2)
  81109. return;
  81110. character = scanner.super$StringScanner$readChar();
  81111. scanner._adjustLineAndColumn$1(character);
  81112. if (character === 10)
  81113. break;
  81114. t3.writeCharCode$1(character);
  81115. }
  81116. }
  81117. },
  81118. visitCalculation$1(value) {
  81119. var t2, _this = this,
  81120. t1 = _this._serialize$_buffer;
  81121. t1.write$1(0, value.name);
  81122. t1.writeCharCode$1(40);
  81123. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81124. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81125. t1.writeCharCode$1(41);
  81126. },
  81127. _writeCalculationValue$1(value) {
  81128. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81129. $label1$1: {
  81130. _2_4_isSet = value instanceof A.SassNumber;
  81131. if (_2_4_isSet) {
  81132. _2_4 = value.get$hasComplexUnits();
  81133. t1 = _2_4 && !_this._inspect;
  81134. } else {
  81135. _2_4 = _null;
  81136. t1 = false;
  81137. }
  81138. if (t1)
  81139. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  81140. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81141. $label0$0: {
  81142. _0_0 = value._number$_value;
  81143. if (1 / 0 === _0_0) {
  81144. _this._serialize$_buffer.write$1(0, "infinity");
  81145. break $label0$0;
  81146. }
  81147. if (-1 / 0 === _0_0) {
  81148. _this._serialize$_buffer.write$1(0, "-infinity");
  81149. break $label0$0;
  81150. }
  81151. if (isNaN(_0_0))
  81152. _this._serialize$_buffer.write$1(0, "NaN");
  81153. }
  81154. t1 = J.getInterceptor$x(value);
  81155. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  81156. break $label1$1;
  81157. }
  81158. if (_2_4_isSet)
  81159. t1 = _2_4;
  81160. else
  81161. t1 = false;
  81162. if (t1) {
  81163. _this._writeNumber$1(value._number$_value);
  81164. t1 = J.getInterceptor$x(value);
  81165. _1_0 = t1.get$numeratorUnits(value);
  81166. if (_1_0.length >= 1) {
  81167. first = _1_0[0];
  81168. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81169. _this._serialize$_buffer.write$1(0, first);
  81170. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  81171. } else
  81172. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  81173. break $label1$1;
  81174. }
  81175. if (value instanceof A.Value) {
  81176. value.accept$1(_this);
  81177. break $label1$1;
  81178. }
  81179. t1 = value instanceof A.CalculationOperation;
  81180. left = _null;
  81181. right = _null;
  81182. if (t1) {
  81183. operator = value._operator;
  81184. left = value._left;
  81185. right = value._right;
  81186. right = right;
  81187. } else
  81188. operator = _null;
  81189. if (t1) {
  81190. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81191. if (parenthesizeLeft)
  81192. _this._serialize$_buffer.writeCharCode$1(40);
  81193. _this._writeCalculationValue$1(left);
  81194. if (parenthesizeLeft)
  81195. _this._serialize$_buffer.writeCharCode$1(41);
  81196. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81197. if (operatorWhitespace)
  81198. _this._serialize$_buffer.writeCharCode$1(32);
  81199. t1 = _this._serialize$_buffer;
  81200. t1.write$1(0, operator.operator);
  81201. if (operatorWhitespace)
  81202. t1.writeCharCode$1(32);
  81203. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81204. parenthesizeRight = false;
  81205. if (operator === B.CalculationOperator_bo5) {
  81206. if (right instanceof A.SassNumber)
  81207. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81208. else
  81209. t2 = parenthesizeRight;
  81210. parenthesizeRight = t2;
  81211. }
  81212. } else
  81213. parenthesizeRight = true;
  81214. if (parenthesizeRight)
  81215. t1.writeCharCode$1(40);
  81216. _this._writeCalculationValue$1(right);
  81217. if (parenthesizeRight)
  81218. t1.writeCharCode$1(41);
  81219. }
  81220. }
  81221. },
  81222. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81223. var t1, t2, t3, t4;
  81224. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81225. t4 = t1.get$current(t1);
  81226. if (t3)
  81227. t2.writeCharCode$1(32);
  81228. t2.writeCharCode$1(42);
  81229. if (t3)
  81230. t2.writeCharCode$1(32);
  81231. t2.writeCharCode$1(49);
  81232. t2.write$1(0, t4);
  81233. }
  81234. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81235. t4 = t1.get$current(t1);
  81236. if (t3)
  81237. t2.writeCharCode$1(32);
  81238. t2.writeCharCode$1(47);
  81239. if (t3)
  81240. t2.writeCharCode$1(32);
  81241. t2.writeCharCode$1(49);
  81242. t2.write$1(0, t4);
  81243. }
  81244. },
  81245. _parenthesizeCalculationRhs$2(outer, right) {
  81246. var t1;
  81247. $label0$0: {
  81248. if (B.CalculationOperator_bo5 === outer) {
  81249. t1 = true;
  81250. break $label0$0;
  81251. }
  81252. if (B.CalculationOperator_F7i === outer) {
  81253. t1 = false;
  81254. break $label0$0;
  81255. }
  81256. t1 = right === B.CalculationOperator_F7i || right === B.CalculationOperator_oum;
  81257. break $label0$0;
  81258. }
  81259. return t1;
  81260. },
  81261. visitColor$1(value) {
  81262. 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;
  81263. $label0$0: {
  81264. _0_0 = value._space;
  81265. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81266. _0_6 = _null;
  81267. t1 = true;
  81268. if (!_0_2) {
  81269. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81270. _0_6_isSet = !_0_4;
  81271. if (_0_6_isSet) {
  81272. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81273. t1 = _0_6;
  81274. }
  81275. } else {
  81276. _0_4 = _null;
  81277. _0_6_isSet = false;
  81278. }
  81279. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81280. _this._writeLegacyColor$1(value);
  81281. break $label0$0;
  81282. }
  81283. if (_0_2) {
  81284. t1 = _this._serialize$_buffer;
  81285. t1.write$1(0, "rgb(");
  81286. _this._writeChannel$1(value.channel0OrNull);
  81287. t1.writeCharCode$1(32);
  81288. _this._writeChannel$1(value.channel1OrNull);
  81289. t1.writeCharCode$1(32);
  81290. _this._writeChannel$1(value.channel2OrNull);
  81291. _this._maybeWriteSlashAlpha$1(value);
  81292. t1.writeCharCode$1(41);
  81293. break $label0$0;
  81294. }
  81295. if (!_0_4)
  81296. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81297. else
  81298. t1 = true;
  81299. if (t1) {
  81300. t1 = _this._serialize$_buffer;
  81301. t1.write$1(0, _0_0);
  81302. t1.writeCharCode$1(40);
  81303. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81304. _this._writeChannel$2(value.channel0OrNull, t2);
  81305. t1.writeCharCode$1(32);
  81306. _this._writeChannel$2(value.channel1OrNull, "%");
  81307. t1.writeCharCode$1(32);
  81308. _this._writeChannel$2(value.channel2OrNull, "%");
  81309. _this._maybeWriteSlashAlpha$1(value);
  81310. t1.writeCharCode$1(41);
  81311. break $label0$0;
  81312. }
  81313. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81314. if (_0_10_isSet) {
  81315. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81316. t1 = _0_10;
  81317. } else {
  81318. _0_10 = _null;
  81319. t1 = true;
  81320. }
  81321. t2 = false;
  81322. if (t1)
  81323. if (!_this._inspect) {
  81324. t1 = value.channel0OrNull;
  81325. if (t1 == null)
  81326. t1 = 0;
  81327. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81328. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81329. else
  81330. t1 = false;
  81331. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81332. } else
  81333. t1 = t2;
  81334. else
  81335. t1 = t2;
  81336. _0_12_isSet = !t1;
  81337. _0_14 = _null;
  81338. if (_0_12_isSet) {
  81339. _0_12 = B.OklabColorSpace_540 === _0_0;
  81340. t1 = false;
  81341. _0_14_isSet = !_0_12;
  81342. if (_0_14_isSet) {
  81343. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81344. t2 = _0_14;
  81345. } else
  81346. t2 = true;
  81347. t3 = false;
  81348. if (t2)
  81349. if (!_this._inspect) {
  81350. t2 = value.channel0OrNull;
  81351. if (t2 == null)
  81352. t2 = 0;
  81353. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81354. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81355. else
  81356. t2 = false;
  81357. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81358. } else
  81359. t2 = t3;
  81360. else
  81361. t2 = t3;
  81362. if (!t2) {
  81363. if (_0_10_isSet) {
  81364. t2 = _0_10;
  81365. _0_10_isSet0 = _0_10_isSet;
  81366. } else {
  81367. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81368. t2 = _0_10;
  81369. _0_10_isSet0 = true;
  81370. }
  81371. if (!t2)
  81372. if (_0_14_isSet)
  81373. t2 = _0_14;
  81374. else {
  81375. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81376. t2 = _0_14;
  81377. _0_14_isSet = true;
  81378. }
  81379. else
  81380. t2 = true;
  81381. if (t2)
  81382. if (!_this._inspect) {
  81383. t1 = value.channel1OrNull;
  81384. t2 = t1 == null;
  81385. if (t2)
  81386. t1 = 0;
  81387. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  81388. }
  81389. } else {
  81390. _0_10_isSet0 = _0_10_isSet;
  81391. t1 = true;
  81392. }
  81393. } else {
  81394. _0_12 = _null;
  81395. _0_10_isSet0 = _0_10_isSet;
  81396. _0_14_isSet = false;
  81397. t1 = true;
  81398. }
  81399. if (t1) {
  81400. t1 = _this._serialize$_buffer;
  81401. t1.write$1(0, "color-mix(in ");
  81402. t1.write$1(0, _0_0);
  81403. t2 = _this._style === B.OutputStyle_1;
  81404. t1.write$1(0, t2 ? "," : ", ");
  81405. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  81406. if (!t2)
  81407. t1.writeCharCode$1(32);
  81408. t1.write$1(0, "100%");
  81409. t1.write$1(0, t2 ? "," : ", ");
  81410. t1.write$1(0, t2 ? "red" : "black");
  81411. t1.writeCharCode$1(41);
  81412. break $label0$0;
  81413. }
  81414. t1 = true;
  81415. if (_0_10_isSet)
  81416. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  81417. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  81418. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  81419. if (t1) {
  81420. t1 = _this._serialize$_buffer;
  81421. t1.write$1(0, _0_0);
  81422. t1.writeCharCode$1(40);
  81423. t2 = _0_0._channels;
  81424. polar = t2[2].isPolarAngle;
  81425. t3 = false;
  81426. if (!_this._inspect) {
  81427. t4 = value.channel0OrNull;
  81428. if (t4 == null)
  81429. t4 = 0;
  81430. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  81431. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  81432. else
  81433. t4 = false;
  81434. if (t4) {
  81435. if (polar) {
  81436. t3 = value.channel1OrNull;
  81437. if (t3 == null)
  81438. t3 = 0;
  81439. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  81440. }
  81441. } else
  81442. t3 = true;
  81443. }
  81444. if (t3) {
  81445. t1.write$1(0, "from ");
  81446. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  81447. t1.writeCharCode$1(32);
  81448. }
  81449. t3 = _this._style !== B.OutputStyle_1;
  81450. t4 = t3 && value.channel0OrNull != null;
  81451. t5 = value.channel0OrNull;
  81452. if (t4) {
  81453. t2 = type$.LinearChannel._as(t2[0]);
  81454. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  81455. t1.writeCharCode$1(37);
  81456. } else
  81457. _this._writeChannel$1(t5);
  81458. t1.writeCharCode$1(32);
  81459. _this._writeChannel$1(value.channel1OrNull);
  81460. t1.writeCharCode$1(32);
  81461. t2 = polar && t3 ? "deg" : _null;
  81462. _this._writeChannel$2(value.channel2OrNull, t2);
  81463. _this._maybeWriteSlashAlpha$1(value);
  81464. t1.writeCharCode$1(41);
  81465. break $label0$0;
  81466. }
  81467. _this._writeColorFunction$1(value);
  81468. }
  81469. },
  81470. _writeChannel$2(channel, unit) {
  81471. var _this = this;
  81472. if (channel == null)
  81473. _this._serialize$_buffer.write$1(0, "none");
  81474. else if (isFinite(channel)) {
  81475. _this._writeNumber$1(channel);
  81476. if (unit != null)
  81477. _this._serialize$_buffer.write$1(0, unit);
  81478. } else
  81479. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  81480. },
  81481. _writeChannel$1(channel) {
  81482. return this._writeChannel$2(channel, null);
  81483. },
  81484. _writeLegacyColor$1(color) {
  81485. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  81486. t1 = color.alphaOrNull,
  81487. t2 = t1 == null,
  81488. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  81489. if (!color.get$isInGamut() && !_this._inspect) {
  81490. _this._writeHsl$1(color);
  81491. return;
  81492. }
  81493. if (_this._style === B.OutputStyle_1) {
  81494. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81495. if (opaque && _this._tryIntegerRgb$1(rgb))
  81496. return;
  81497. t3 = rgb.channel0OrNull;
  81498. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81499. t3 = rgb.channel1OrNull;
  81500. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81501. t3 = rgb.channel2OrNull;
  81502. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81503. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  81504. t3 = hsl.channel0OrNull;
  81505. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81506. t3 = hsl.channel1OrNull;
  81507. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81508. t3 = hsl.channel2OrNull;
  81509. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81510. t3 = _this._serialize$_buffer;
  81511. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  81512. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81513. t3.write$1(0, red);
  81514. t3.writeCharCode$1(44);
  81515. t3.write$1(0, green);
  81516. t3.writeCharCode$1(44);
  81517. t3.write$1(0, blue);
  81518. } else {
  81519. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81520. t3.write$1(0, hue);
  81521. t3.writeCharCode$1(44);
  81522. t3.write$1(0, saturation);
  81523. t3.write$1(0, "%,");
  81524. t3.write$1(0, lightness);
  81525. t3.writeCharCode$1(37);
  81526. }
  81527. if (!opaque) {
  81528. t3.writeCharCode$1(44);
  81529. _this._writeNumber$1(t2 ? 0 : t1);
  81530. }
  81531. t3.writeCharCode$1(41);
  81532. return;
  81533. }
  81534. t3 = color._space;
  81535. if (t3 === B.HslColorSpace_JQ2) {
  81536. _this._writeHsl$1(color);
  81537. return;
  81538. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  81539. t3 = _this._serialize$_buffer;
  81540. t3.write$1(0, "hwb(");
  81541. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  81542. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  81543. t3.writeCharCode$1(32);
  81544. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  81545. t3.writeCharCode$1(37);
  81546. t3.writeCharCode$1(32);
  81547. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  81548. t3.writeCharCode$1(37);
  81549. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  81550. t3.write$1(0, " / ");
  81551. _this._writeNumber$1(t2 ? 0 : t1);
  81552. }
  81553. t3.writeCharCode$1(41);
  81554. return;
  81555. }
  81556. _0_0 = color.format;
  81557. if (B.C__ColorFormatEnum === _0_0) {
  81558. _this._writeRgb$1(color);
  81559. return;
  81560. }
  81561. t1 = _0_0 instanceof A.SpanColorFormat;
  81562. format = t1 ? _0_0 : null;
  81563. if (t1) {
  81564. t1 = format._color$_span;
  81565. _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));
  81566. return;
  81567. }
  81568. if (opaque) {
  81569. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81570. _1_0 = $.$get$namesByColor().$index(0, rgb);
  81571. if (_1_0 != null) {
  81572. _this._serialize$_buffer.write$1(0, _1_0);
  81573. return;
  81574. }
  81575. if (_this._canUseHex$1(rgb)) {
  81576. _this._serialize$_buffer.writeCharCode$1(35);
  81577. t1 = rgb.channel0OrNull;
  81578. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81579. t1 = rgb.channel1OrNull;
  81580. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81581. t1 = rgb.channel2OrNull;
  81582. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81583. return;
  81584. }
  81585. }
  81586. if (t3 === B.HwbColorSpace_guQ)
  81587. _this._writeHsl$1(color);
  81588. else
  81589. _this._writeRgb$1(color);
  81590. },
  81591. _tryIntegerRgb$1(rgb) {
  81592. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  81593. if (!_this._canUseHex$1(rgb))
  81594. return false;
  81595. t1 = rgb.channel0OrNull;
  81596. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81597. t1 = rgb.channel1OrNull;
  81598. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81599. t1 = rgb.channel2OrNull;
  81600. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81601. t1 = redInt & 15;
  81602. 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);
  81603. _0_0 = $.$get$namesByColor().$index(0, rgb);
  81604. t2 = false;
  81605. if (_0_0 != null) {
  81606. t3 = _0_0.length;
  81607. t2 = t3 <= (shortHex ? 4 : 7);
  81608. $name = _0_0;
  81609. } else
  81610. $name = null;
  81611. if (t2)
  81612. _this._serialize$_buffer.write$1(0, $name);
  81613. else {
  81614. t2 = _this._serialize$_buffer;
  81615. if (shortHex) {
  81616. t2.writeCharCode$1(35);
  81617. t2.writeCharCode$1(A.hexCharFor(t1));
  81618. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  81619. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  81620. } else {
  81621. t2.writeCharCode$1(35);
  81622. _this._writeHexComponent$1(redInt);
  81623. _this._writeHexComponent$1(greenInt);
  81624. _this._writeHexComponent$1(blueInt);
  81625. }
  81626. }
  81627. return true;
  81628. },
  81629. _canUseHex$1(rgb) {
  81630. var t2,
  81631. t1 = rgb.channel0OrNull;
  81632. if (t1 == null)
  81633. t1 = 0;
  81634. if (A.fuzzyIsInt(t1))
  81635. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81636. else
  81637. t1 = false;
  81638. t2 = false;
  81639. if (t1) {
  81640. t1 = rgb.channel1OrNull;
  81641. if (t1 == null)
  81642. t1 = 0;
  81643. if (A.fuzzyIsInt(t1))
  81644. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81645. else
  81646. t1 = false;
  81647. if (t1) {
  81648. t1 = rgb.channel2OrNull;
  81649. if (t1 == null)
  81650. t1 = 0;
  81651. if (A.fuzzyIsInt(t1))
  81652. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81653. else
  81654. t1 = t2;
  81655. } else
  81656. t1 = t2;
  81657. } else
  81658. t1 = t2;
  81659. return t1;
  81660. },
  81661. _writeRgb$1(color) {
  81662. var t4, _this = this,
  81663. t1 = color.alphaOrNull,
  81664. t2 = t1 == null,
  81665. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81666. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  81667. t3 = _this._serialize$_buffer;
  81668. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81669. _this._writeNumber$1(rgb.channel$1(0, "red"));
  81670. t4 = _this._style === B.OutputStyle_1;
  81671. t3.write$1(0, t4 ? "," : ", ");
  81672. _this._writeNumber$1(rgb.channel$1(0, "green"));
  81673. t3.write$1(0, t4 ? "," : ", ");
  81674. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  81675. if (!opaque) {
  81676. t3.write$1(0, t4 ? "," : ", ");
  81677. _this._writeNumber$1(t2 ? 0 : t1);
  81678. }
  81679. t3.writeCharCode$1(41);
  81680. },
  81681. _writeHsl$1(color) {
  81682. var t4, _this = this,
  81683. t1 = color.alphaOrNull,
  81684. t2 = t1 == null,
  81685. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81686. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  81687. t3 = _this._serialize$_buffer;
  81688. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81689. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  81690. t4 = _this._style === B.OutputStyle_1;
  81691. t3.write$1(0, t4 ? "," : ", ");
  81692. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  81693. t3.write$1(0, t4 ? "," : ", ");
  81694. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  81695. if (!opaque) {
  81696. t3.write$1(0, t4 ? "," : ", ");
  81697. _this._writeNumber$1(t2 ? 0 : t1);
  81698. }
  81699. t3.writeCharCode$1(41);
  81700. },
  81701. _writeColorFunction$1(color) {
  81702. var _this = this,
  81703. t1 = _this._serialize$_buffer;
  81704. t1.write$1(0, "color(");
  81705. t1.write$1(0, color._space);
  81706. t1.writeCharCode$1(32);
  81707. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  81708. _this._maybeWriteSlashAlpha$1(color);
  81709. t1.writeCharCode$1(41);
  81710. },
  81711. _writeHexComponent$1(color) {
  81712. var t1 = this._serialize$_buffer;
  81713. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  81714. t1.writeCharCode$1(A.hexCharFor(color & 15));
  81715. },
  81716. _maybeWriteSlashAlpha$1(color) {
  81717. var t2, t3, _this = this,
  81718. t1 = color.alphaOrNull;
  81719. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  81720. return;
  81721. t2 = _this._style !== B.OutputStyle_1;
  81722. if (t2)
  81723. _this._serialize$_buffer.writeCharCode$1(32);
  81724. t3 = _this._serialize$_buffer;
  81725. t3.writeCharCode$1(47);
  81726. if (t2)
  81727. t3.writeCharCode$1(32);
  81728. _this._writeChannel$1(t1);
  81729. },
  81730. visitList$1(value) {
  81731. var t2, singleton, t3, t4, t5, _this = this,
  81732. t1 = value._hasBrackets;
  81733. if (t1)
  81734. _this._serialize$_buffer.writeCharCode$1(91);
  81735. else if (value._list$_contents.length === 0) {
  81736. if (!_this._inspect)
  81737. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  81738. _this._serialize$_buffer.write$1(0, "()");
  81739. return;
  81740. }
  81741. t2 = _this._inspect;
  81742. singleton = false;
  81743. if (t2)
  81744. if (value._list$_contents.length === 1) {
  81745. t3 = value._separator;
  81746. t3 = t3 === B.ListSeparator_qVN || t3 === B.ListSeparator_bRz;
  81747. singleton = t3;
  81748. }
  81749. if (singleton && !t1)
  81750. _this._serialize$_buffer.writeCharCode$1(40);
  81751. t3 = value._list$_contents;
  81752. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  81753. t4 = value._separator;
  81754. t5 = _this._separatorString$1(t4);
  81755. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  81756. if (singleton) {
  81757. t2 = _this._serialize$_buffer;
  81758. t2.write$1(0, t4.separator);
  81759. if (!t1)
  81760. t2.writeCharCode$1(41);
  81761. }
  81762. if (t1)
  81763. _this._serialize$_buffer.writeCharCode$1(93);
  81764. },
  81765. _separatorString$1(separator) {
  81766. var t1;
  81767. $label0$0: {
  81768. if (B.ListSeparator_qVN === separator) {
  81769. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  81770. break $label0$0;
  81771. }
  81772. if (B.ListSeparator_bRz === separator) {
  81773. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  81774. break $label0$0;
  81775. }
  81776. if (B.ListSeparator_qSL === separator) {
  81777. t1 = " ";
  81778. break $label0$0;
  81779. }
  81780. t1 = "";
  81781. break $label0$0;
  81782. }
  81783. return t1;
  81784. },
  81785. _elementNeedsParens$2(separator, value) {
  81786. var t1;
  81787. $label1$1: {
  81788. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  81789. $label0$0: {
  81790. if (B.ListSeparator_qVN === separator) {
  81791. t1 = value._separator === B.ListSeparator_qVN;
  81792. break $label0$0;
  81793. }
  81794. if (B.ListSeparator_bRz === separator) {
  81795. t1 = value._separator;
  81796. t1 = t1 === B.ListSeparator_qVN || t1 === B.ListSeparator_bRz;
  81797. break $label0$0;
  81798. }
  81799. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  81800. break $label0$0;
  81801. }
  81802. break $label1$1;
  81803. }
  81804. t1 = false;
  81805. break $label1$1;
  81806. }
  81807. return t1;
  81808. },
  81809. visitMap$1(map) {
  81810. var t1, t2, _this = this;
  81811. if (!_this._inspect)
  81812. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  81813. t1 = _this._serialize$_buffer;
  81814. t1.writeCharCode$1(40);
  81815. t2 = map._map$_contents;
  81816. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  81817. t1.writeCharCode$1(41);
  81818. },
  81819. _writeMapElement$1(value) {
  81820. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_qVN && !value._hasBrackets;
  81821. if (needsParens)
  81822. this._serialize$_buffer.writeCharCode$1(40);
  81823. value.accept$1(this);
  81824. if (needsParens)
  81825. this._serialize$_buffer.writeCharCode$1(41);
  81826. },
  81827. visitNumber$1(value) {
  81828. var before, after, t1, _1_0, _this = this,
  81829. _0_0 = value.asSlash;
  81830. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  81831. before = _0_0._0;
  81832. after = _0_0._1;
  81833. _this.visitNumber$1(before);
  81834. _this._serialize$_buffer.writeCharCode$1(47);
  81835. _this.visitNumber$1(after);
  81836. return;
  81837. }
  81838. t1 = value._number$_value;
  81839. if (!isFinite(t1)) {
  81840. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81841. return;
  81842. }
  81843. if (value.get$hasComplexUnits()) {
  81844. if (!_this._inspect)
  81845. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  81846. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81847. } else {
  81848. _this._writeNumber$1(t1);
  81849. _1_0 = value.get$numeratorUnits(value);
  81850. if (_1_0.length === 1)
  81851. _this._serialize$_buffer.write$1(0, _1_0[0]);
  81852. }
  81853. },
  81854. _writeNumberToString$1(number) {
  81855. var t1 = new A.StringBuffer("");
  81856. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  81857. t1 = t1._contents;
  81858. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81859. },
  81860. _writeNumber$2(number, buffer) {
  81861. var _0_0, text, _this = this;
  81862. if (buffer == null)
  81863. buffer = _this._serialize$_buffer;
  81864. _0_0 = A.fuzzyAsInt(number);
  81865. if (_0_0 != null) {
  81866. buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  81867. return;
  81868. }
  81869. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  81870. if (text.length < 12) {
  81871. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  81872. return;
  81873. }
  81874. _this._writeRounded$2(text, buffer);
  81875. },
  81876. _writeNumber$1(number) {
  81877. return this._writeNumber$2(number, null);
  81878. },
  81879. _removeExponent$1(text) {
  81880. var buffer, t2, t3, additionalZeroes,
  81881. negative = text.charCodeAt(0) === 45,
  81882. exponent = A._Cell$(),
  81883. t1 = text.length,
  81884. i = 0;
  81885. while (true) {
  81886. if (!(i < t1)) {
  81887. buffer = null;
  81888. break;
  81889. }
  81890. c$0: {
  81891. if (text.charCodeAt(i) !== 101)
  81892. break c$0;
  81893. buffer = new A.StringBuffer("");
  81894. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  81895. if (negative) {
  81896. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  81897. buffer._contents = t2;
  81898. if (i > 3)
  81899. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  81900. } else if (i > 2)
  81901. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  81902. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  81903. break;
  81904. }
  81905. ++i;
  81906. }
  81907. if (buffer == null)
  81908. return text;
  81909. if (exponent._readLocal$0() > 0) {
  81910. t1 = exponent._readLocal$0();
  81911. t2 = buffer._contents;
  81912. t3 = negative ? 1 : 0;
  81913. additionalZeroes = t1 - (t2.length - 1 - t3);
  81914. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  81915. t1 = A.Primitives_stringFromCharCode(48);
  81916. t1 = buffer._contents += t1;
  81917. }
  81918. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81919. } else {
  81920. negative = text.charCodeAt(0) === 45;
  81921. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  81922. i = -1;
  81923. while (true) {
  81924. t2 = exponent.__late_helper$_value;
  81925. if (t2 === exponent)
  81926. A.throwExpression(A.LateError$localNI(""));
  81927. if (!(i > t2))
  81928. break;
  81929. t1 += A.Primitives_stringFromCharCode(48);
  81930. --i;
  81931. }
  81932. if (negative) {
  81933. t2 = buffer._contents;
  81934. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  81935. } else
  81936. t2 = buffer;
  81937. t2 = t1 + A.S(t2);
  81938. return t2.charCodeAt(0) == 0 ? t2 : t2;
  81939. }
  81940. },
  81941. _writeRounded$2(text, buffer) {
  81942. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  81943. if (B.JSString_methods.endsWith$1(text, ".0")) {
  81944. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  81945. return;
  81946. }
  81947. t1 = text.length;
  81948. digits = new Uint8Array(t1 + 1);
  81949. negative = text.charCodeAt(0) === 45;
  81950. textIndex = negative ? 1 : 0;
  81951. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  81952. if (textIndex === t1) {
  81953. buffer.write$1(0, text);
  81954. return;
  81955. }
  81956. textIndex0 = textIndex + 1;
  81957. codeUnit = text.charCodeAt(textIndex);
  81958. if (codeUnit === 46) {
  81959. textIndex = textIndex0;
  81960. break;
  81961. }
  81962. digitsIndex0 = digitsIndex + 1;
  81963. digits[digitsIndex] = codeUnit - 48;
  81964. }
  81965. indexAfterPrecision = textIndex + 10;
  81966. if (indexAfterPrecision >= t1) {
  81967. buffer.write$1(0, text);
  81968. return;
  81969. }
  81970. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  81971. digitsIndex1 = digitsIndex0 + 1;
  81972. textIndex0 = textIndex + 1;
  81973. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  81974. }
  81975. if (text.charCodeAt(textIndex) - 48 >= 5)
  81976. for (; true; digitsIndex0 = digitsIndex1) {
  81977. digitsIndex1 = digitsIndex0 - 1;
  81978. newDigit = digits[digitsIndex1] + 1;
  81979. digits[digitsIndex1] = newDigit;
  81980. if (newDigit !== 10)
  81981. break;
  81982. }
  81983. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  81984. digits[digitsIndex0] = 0;
  81985. while (true) {
  81986. t1 = digitsIndex0 > digitsIndex;
  81987. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  81988. break;
  81989. --digitsIndex0;
  81990. }
  81991. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  81992. buffer.writeCharCode$1(48);
  81993. return;
  81994. }
  81995. if (negative)
  81996. buffer.writeCharCode$1(45);
  81997. if (digits[0] === 0)
  81998. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  81999. else
  82000. writtenIndex = 0;
  82001. for (; writtenIndex < digitsIndex; ++writtenIndex)
  82002. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82003. if (t1) {
  82004. buffer.writeCharCode$1(46);
  82005. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82006. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82007. }
  82008. },
  82009. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82010. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82011. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82012. if (forceDoubleQuote)
  82013. buffer.writeCharCode$1(34);
  82014. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82015. char = string.charCodeAt(i);
  82016. _1_2 = 39 === char;
  82017. if (_1_2 && forceDoubleQuote) {
  82018. buffer.writeCharCode$1(39);
  82019. continue;
  82020. }
  82021. if (_1_2 && includesDoubleQuote) {
  82022. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82023. return;
  82024. }
  82025. if (_1_2) {
  82026. buffer.writeCharCode$1(39);
  82027. includesSingleQuote = true;
  82028. continue;
  82029. }
  82030. _1_4 = 34 === char;
  82031. if (_1_4 && forceDoubleQuote) {
  82032. buffer.writeCharCode$1(92);
  82033. buffer.writeCharCode$1(34);
  82034. continue;
  82035. }
  82036. if (_1_4 && includesSingleQuote) {
  82037. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82038. return;
  82039. }
  82040. if (_1_4) {
  82041. buffer.writeCharCode$1(34);
  82042. includesDoubleQuote = true;
  82043. continue;
  82044. }
  82045. 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) {
  82046. _this._writeEscape$4(buffer, char, string, i);
  82047. continue;
  82048. }
  82049. if (92 === char) {
  82050. buffer.writeCharCode$1(92);
  82051. buffer.writeCharCode$1(92);
  82052. continue;
  82053. }
  82054. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82055. if (_0_0 != null)
  82056. i = _0_0;
  82057. else
  82058. buffer.writeCharCode$1(char);
  82059. }
  82060. if (forceDoubleQuote)
  82061. buffer.writeCharCode$1(34);
  82062. else {
  82063. quote = includesDoubleQuote ? 39 : 34;
  82064. t1 = _this._serialize$_buffer;
  82065. t1.writeCharCode$1(quote);
  82066. t1.write$1(0, buffer);
  82067. t1.writeCharCode$1(quote);
  82068. }
  82069. },
  82070. _visitQuotedString$1(string) {
  82071. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82072. },
  82073. _visitUnquotedString$1(string) {
  82074. var t1, t2, afterNewline, i, _1_0, _0_0;
  82075. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82076. _1_0 = string.charCodeAt(i);
  82077. if (10 === _1_0) {
  82078. t2.writeCharCode$1(32);
  82079. afterNewline = true;
  82080. continue;
  82081. }
  82082. if (32 === _1_0) {
  82083. if (!afterNewline)
  82084. t2.writeCharCode$1(32);
  82085. continue;
  82086. }
  82087. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82088. if (_0_0 != null)
  82089. i = _0_0;
  82090. else
  82091. t2.writeCharCode$1(_1_0);
  82092. afterNewline = false;
  82093. }
  82094. },
  82095. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82096. var t1;
  82097. if (this._style === B.OutputStyle_1)
  82098. return null;
  82099. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82100. this._writeEscape$4(buffer, codeUnit, string, i);
  82101. return i;
  82102. }
  82103. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82104. t1 = i + 1;
  82105. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82106. return t1;
  82107. }
  82108. return null;
  82109. },
  82110. _writeEscape$4(buffer, character, string, i) {
  82111. var t1, next;
  82112. buffer.writeCharCode$1(92);
  82113. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82114. t1 = i + 1;
  82115. if (string.length === t1)
  82116. return;
  82117. next = string.charCodeAt(t1);
  82118. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82119. buffer.writeCharCode$1(32);
  82120. },
  82121. visitAttributeSelector$1(attribute) {
  82122. var _0_0, t2,
  82123. t1 = this._serialize$_buffer;
  82124. t1.writeCharCode$1(91);
  82125. t1.write$1(0, attribute.name);
  82126. _0_0 = attribute.value;
  82127. if (_0_0 != null) {
  82128. t1.write$1(0, attribute.op);
  82129. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82130. t1.write$1(0, _0_0);
  82131. t2 = attribute.modifier;
  82132. if (t2 != null)
  82133. t1.writeCharCode$1(32);
  82134. } else {
  82135. this._visitQuotedString$1(_0_0);
  82136. t2 = attribute.modifier;
  82137. if (t2 != null)
  82138. if (this._style !== B.OutputStyle_1)
  82139. t1.writeCharCode$1(32);
  82140. }
  82141. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82142. }
  82143. t1.writeCharCode$1(93);
  82144. },
  82145. visitClassSelector$1(klass) {
  82146. var t1 = this._serialize$_buffer;
  82147. t1.writeCharCode$1(46);
  82148. t1.write$1(0, klass.name);
  82149. },
  82150. visitComplexSelector$1(complex) {
  82151. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82152. t1 = complex.leadingCombinators;
  82153. _this._writeCombinators$1(t1);
  82154. if (t1.length >= 1 && complex.components.length >= 1)
  82155. if (_this._style !== B.OutputStyle_1)
  82156. _this._serialize$_buffer.writeCharCode$1(32);
  82157. 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) {
  82158. component = t1[i];
  82159. _this.visitCompoundSelector$1(component.selector);
  82160. t7 = component.combinators;
  82161. t8 = t7.length === 0;
  82162. if (!t8)
  82163. if (t6)
  82164. t4.writeCharCode$1(32);
  82165. t9 = t5 ? "" : " ";
  82166. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82167. if (i !== t3)
  82168. t7 = !t5 || t8;
  82169. else
  82170. t7 = false;
  82171. if (t7)
  82172. t4.writeCharCode$1(32);
  82173. }
  82174. },
  82175. _writeCombinators$1(combinators) {
  82176. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82177. t2 = this._serialize$_buffer;
  82178. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82179. },
  82180. visitCompoundSelector$1(compound) {
  82181. var t2, t3, _i,
  82182. t1 = this._serialize$_buffer,
  82183. start = t1.get$length(t1);
  82184. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82185. t2[_i].accept$1(this);
  82186. if (t1.get$length(t1) === start)
  82187. t1.writeCharCode$1(42);
  82188. },
  82189. visitIDSelector$1(id) {
  82190. var t1 = this._serialize$_buffer;
  82191. t1.writeCharCode$1(35);
  82192. t1.write$1(0, id.name);
  82193. },
  82194. visitSelectorList$1(list) {
  82195. var t1, t2, t3, first, t4, _this = this,
  82196. complexes = list.components;
  82197. 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();) {
  82198. t4 = t1.get$current(t1);
  82199. if (first)
  82200. first = false;
  82201. else {
  82202. t3.writeCharCode$1(44);
  82203. if (t4.lineBreak) {
  82204. if (t2)
  82205. t3.write$1(0, "\n");
  82206. _this._writeIndentation$0();
  82207. } else if (t2)
  82208. t3.writeCharCode$1(32);
  82209. }
  82210. _this.visitComplexSelector$1(t4);
  82211. }
  82212. },
  82213. visitParentSelector$1($parent) {
  82214. var t1 = this._serialize$_buffer;
  82215. t1.writeCharCode$1(38);
  82216. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82217. },
  82218. visitPlaceholderSelector$1(placeholder) {
  82219. var t1 = this._serialize$_buffer;
  82220. t1.writeCharCode$1(37);
  82221. t1.write$1(0, placeholder.name);
  82222. },
  82223. visitPseudoSelector$1(pseudo) {
  82224. var _0_4, t3,
  82225. t1 = pseudo.name,
  82226. t2 = false;
  82227. if ("not" === t1) {
  82228. _0_4 = pseudo.selector;
  82229. if (_0_4 instanceof A.SelectorList)
  82230. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82231. }
  82232. if (t2)
  82233. return;
  82234. t2 = this._serialize$_buffer;
  82235. t2.writeCharCode$1(58);
  82236. if (!pseudo.isSyntacticClass)
  82237. t2.writeCharCode$1(58);
  82238. t2.write$1(0, t1);
  82239. t1 = pseudo.argument;
  82240. t3 = t1 == null;
  82241. if (t3 && pseudo.selector == null)
  82242. return;
  82243. t2.writeCharCode$1(40);
  82244. if (!t3) {
  82245. t2.write$1(0, t1);
  82246. if (pseudo.selector != null)
  82247. t2.writeCharCode$1(32);
  82248. }
  82249. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82250. t2.writeCharCode$1(41);
  82251. },
  82252. visitTypeSelector$1(type) {
  82253. this._serialize$_buffer.write$1(0, type.name);
  82254. },
  82255. visitUniversalSelector$1(universal) {
  82256. var t2,
  82257. t1 = universal.namespace;
  82258. if (t1 != null) {
  82259. t2 = this._serialize$_buffer;
  82260. t2.write$1(0, t1);
  82261. t2.writeCharCode$1(124);
  82262. }
  82263. this._serialize$_buffer.writeCharCode$1(42);
  82264. },
  82265. _serialize$_write$1(value) {
  82266. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82267. },
  82268. _serialize$_visitChildren$1($parent) {
  82269. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82270. t1 = _this._serialize$_buffer;
  82271. t1.writeCharCode$1(123);
  82272. 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();) {
  82273. t8 = t2.__internal$_current;
  82274. previous0 = t8 == null ? t3._as(t8) : t8;
  82275. if (t7)
  82276. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82277. else
  82278. t8 = false;
  82279. if (t8)
  82280. continue;
  82281. t8 = previous == null;
  82282. t9 = t8 ? null : t6.call$1(previous);
  82283. if (t9 == null ? false : t9)
  82284. t1.writeCharCode$1(59);
  82285. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82286. if (t5)
  82287. t1.writeCharCode$1(32);
  82288. savedIndentation = _this._indentation;
  82289. _this._indentation = 0;
  82290. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82291. _this._indentation = savedIndentation;
  82292. } else {
  82293. if (t5)
  82294. t1.write$1(0, "\n");
  82295. ++_this._indentation;
  82296. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82297. --_this._indentation;
  82298. }
  82299. prePrevious = previous;
  82300. previous = previous0;
  82301. }
  82302. if (previous != null) {
  82303. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82304. t1.writeCharCode$1(59);
  82305. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82306. if (t5)
  82307. t1.writeCharCode$1(32);
  82308. } else {
  82309. _this._writeLineFeed$0();
  82310. _this._writeIndentation$0();
  82311. }
  82312. }
  82313. t1.writeCharCode$1(125);
  82314. },
  82315. _requiresSemicolon$1(node) {
  82316. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82317. },
  82318. _isTrailingComment$2(node, previous) {
  82319. var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
  82320. if (this._style === B.OutputStyle_1)
  82321. return false;
  82322. if (!(node instanceof A.ModifiableCssComment))
  82323. return false;
  82324. t1 = node.span;
  82325. t2 = t1.file;
  82326. t3 = t2.url;
  82327. t4 = previous.get$span(previous);
  82328. if (!J.$eq$(t3, t4.get$sourceUrl(t4)))
  82329. return false;
  82330. t4 = previous.get$span(previous);
  82331. 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)) {
  82332. t1 = A.FileLocation$_(t2, t1._file$_start);
  82333. t1 = t1.file.getLine$1(t1.offset);
  82334. t2 = previous.get$span(previous);
  82335. t2 = t2.get$end(t2);
  82336. return t1 === t2.file.getLine$1(t2.offset);
  82337. }
  82338. t1 = t1._file$_start;
  82339. t3 = A.FileLocation$_(t2, t1);
  82340. t4 = previous.get$span(previous);
  82341. searchFrom = t3.offset - t4.get$start(t4).offset - 1;
  82342. if (searchFrom < 0)
  82343. return false;
  82344. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82345. t3 = previous.get$span(previous);
  82346. t3 = t3.get$file(t3);
  82347. t4 = previous.get$span(previous);
  82348. t4 = t4.get$start(t4);
  82349. t5 = previous.get$span(previous);
  82350. span = t3.span$2(0, t4.offset, t5.get$start(t5).offset + endOffset);
  82351. t1 = A.FileLocation$_(t2, t1);
  82352. t1 = t1.file.getLine$1(t1.offset);
  82353. t2 = A.FileLocation$_(span.file, span._end);
  82354. return t1 === t2.file.getLine$1(t2.offset);
  82355. },
  82356. _writeLineFeed$0() {
  82357. if (this._style !== B.OutputStyle_1)
  82358. this._serialize$_buffer.write$1(0, "\n");
  82359. },
  82360. _writeIndentation$0() {
  82361. var _this = this;
  82362. if (_this._style === B.OutputStyle_1)
  82363. return;
  82364. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82365. },
  82366. _writeTimes$2(char, times) {
  82367. var t1, i;
  82368. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82369. t1.writeCharCode$1(char);
  82370. },
  82371. _writeBetween$1$3(iterable, text, callback) {
  82372. var t1, t2, first, value;
  82373. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82374. value = t1.get$current(t1);
  82375. if (first)
  82376. first = false;
  82377. else
  82378. t2.write$1(0, text);
  82379. callback.call$1(value);
  82380. }
  82381. },
  82382. _writeBetween$3(iterable, text, callback) {
  82383. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  82384. }
  82385. };
  82386. A._SerializeVisitor_visitCssComment_closure.prototype = {
  82387. call$0() {
  82388. var t2, t3, _0_0, minimumIndentation,
  82389. t1 = this.$this;
  82390. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  82391. return;
  82392. t2 = this.node;
  82393. t3 = t2.text;
  82394. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  82395. return;
  82396. _0_0 = t1._minimumIndentation$1(t3);
  82397. if (_0_0 != null) {
  82398. t2 = t2.span;
  82399. t2 = A.FileLocation$_(t2.file, t2._file$_start);
  82400. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  82401. t1._writeIndentation$0();
  82402. t1._writeWithIndent$2(t3, minimumIndentation);
  82403. } else {
  82404. t1._writeIndentation$0();
  82405. t1._serialize$_buffer.write$1(0, t3);
  82406. }
  82407. },
  82408. $signature: 1
  82409. };
  82410. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  82411. call$0() {
  82412. var t3, _0_0,
  82413. t1 = this.$this,
  82414. t2 = t1._serialize$_buffer;
  82415. t2.writeCharCode$1(64);
  82416. t3 = this.node;
  82417. t1._serialize$_write$1(t3.name);
  82418. _0_0 = t3.value;
  82419. if (_0_0 != null) {
  82420. t2.writeCharCode$1(32);
  82421. t1._serialize$_write$1(_0_0);
  82422. }
  82423. },
  82424. $signature: 1
  82425. };
  82426. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  82427. call$0() {
  82428. var t3, firstQuery, t4, t5,
  82429. t1 = this.$this,
  82430. t2 = t1._serialize$_buffer;
  82431. t2.write$1(0, "@media");
  82432. t3 = this.node.queries;
  82433. firstQuery = B.JSArray_methods.get$first(t3);
  82434. t4 = t1._style === B.OutputStyle_1;
  82435. t5 = true;
  82436. if (t4)
  82437. if (firstQuery.modifier == null)
  82438. if (firstQuery.type == null) {
  82439. t5 = firstQuery.conditions;
  82440. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  82441. }
  82442. if (t5)
  82443. t2.writeCharCode$1(32);
  82444. t2 = t4 ? "," : ", ";
  82445. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  82446. },
  82447. $signature: 1
  82448. };
  82449. A._SerializeVisitor_visitCssImport_closure.prototype = {
  82450. call$0() {
  82451. var t3, t4, _0_0,
  82452. t1 = this.$this,
  82453. t2 = t1._serialize$_buffer;
  82454. t2.write$1(0, "@import");
  82455. t3 = t1._style !== B.OutputStyle_1;
  82456. if (t3)
  82457. t2.writeCharCode$1(32);
  82458. t4 = this.node;
  82459. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  82460. _0_0 = t4.modifiers;
  82461. if (_0_0 != null) {
  82462. if (t3)
  82463. t2.writeCharCode$1(32);
  82464. t2.write$1(0, _0_0);
  82465. }
  82466. },
  82467. $signature: 1
  82468. };
  82469. A._SerializeVisitor_visitCssImport__closure.prototype = {
  82470. call$0() {
  82471. return this.$this._writeImportUrl$1(this.node.url.value);
  82472. },
  82473. $signature: 0
  82474. };
  82475. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  82476. call$0() {
  82477. var t1 = this.$this,
  82478. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  82479. t3 = t1._serialize$_buffer;
  82480. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  82481. },
  82482. $signature: 0
  82483. };
  82484. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  82485. call$0() {
  82486. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  82487. },
  82488. $signature: 0
  82489. };
  82490. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  82491. call$0() {
  82492. var t1 = this.$this,
  82493. t2 = t1._serialize$_buffer;
  82494. t2.write$1(0, "@supports");
  82495. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  82496. t2.writeCharCode$1(32);
  82497. t1._serialize$_write$1(this.node.condition);
  82498. },
  82499. $signature: 1
  82500. };
  82501. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  82502. call$0() {
  82503. var t1 = this.$this,
  82504. t2 = this.node;
  82505. if (t1._style === B.OutputStyle_1)
  82506. t1._writeFoldedValue$1(t2);
  82507. else
  82508. t1._writeReindentedValue$1(t2);
  82509. },
  82510. $signature: 1
  82511. };
  82512. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  82513. call$0() {
  82514. return this.node.value.value.accept$1(this.$this);
  82515. },
  82516. $signature: 0
  82517. };
  82518. A._SerializeVisitor_visitList_closure.prototype = {
  82519. call$1(element) {
  82520. return !element.get$isBlank();
  82521. },
  82522. $signature: 70
  82523. };
  82524. A._SerializeVisitor_visitList_closure0.prototype = {
  82525. call$1(element) {
  82526. var t1 = this.$this,
  82527. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  82528. if (needsParens)
  82529. t1._serialize$_buffer.writeCharCode$1(40);
  82530. element.accept$1(t1);
  82531. if (needsParens)
  82532. t1._serialize$_buffer.writeCharCode$1(41);
  82533. },
  82534. $signature: 61
  82535. };
  82536. A._SerializeVisitor_visitList_closure1.prototype = {
  82537. call$1(element) {
  82538. element.accept$1(this.$this);
  82539. },
  82540. $signature: 61
  82541. };
  82542. A._SerializeVisitor_visitMap_closure.prototype = {
  82543. call$1(entry) {
  82544. var t1 = this.$this;
  82545. t1._writeMapElement$1(entry.key);
  82546. t1._serialize$_buffer.write$1(0, ": ");
  82547. t1._writeMapElement$1(entry.value);
  82548. },
  82549. $signature: 279
  82550. };
  82551. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  82552. call$1(complex) {
  82553. return !complex.accept$1(B._IsInvisibleVisitor_true);
  82554. },
  82555. $signature: 20
  82556. };
  82557. A._SerializeVisitor__write_closure.prototype = {
  82558. call$0() {
  82559. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  82560. },
  82561. $signature: 0
  82562. };
  82563. A._SerializeVisitor__visitChildren_closure.prototype = {
  82564. call$0() {
  82565. return this.child.accept$1(this.$this);
  82566. },
  82567. $signature: 0
  82568. };
  82569. A._SerializeVisitor__visitChildren_closure0.prototype = {
  82570. call$0() {
  82571. this.child.accept$1(this.$this);
  82572. },
  82573. $signature: 0
  82574. };
  82575. A.OutputStyle.prototype = {
  82576. _enumToString$0() {
  82577. return "OutputStyle." + this._name;
  82578. }
  82579. };
  82580. A.LineFeed.prototype = {
  82581. _enumToString$0() {
  82582. return "LineFeed." + this._name;
  82583. },
  82584. toString$0(_) {
  82585. return "lf";
  82586. }
  82587. };
  82588. A.StatementSearchVisitor.prototype = {
  82589. visitAtRootRule$1(_, node) {
  82590. return this.visitChildren$1(node.children);
  82591. },
  82592. visitAtRule$1(_, node) {
  82593. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82594. },
  82595. visitContentBlock$1(_, node) {
  82596. return this.visitChildren$1(node.children);
  82597. },
  82598. visitContentRule$1(_, node) {
  82599. return null;
  82600. },
  82601. visitDebugRule$1(_, node) {
  82602. return null;
  82603. },
  82604. visitDeclaration$1(_, node) {
  82605. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82606. },
  82607. visitEachRule$1(_, node) {
  82608. return this.visitChildren$1(node.children);
  82609. },
  82610. visitErrorRule$1(_, node) {
  82611. return null;
  82612. },
  82613. visitExtendRule$1(_, node) {
  82614. return null;
  82615. },
  82616. visitForRule$1(_, node) {
  82617. return this.visitChildren$1(node.children);
  82618. },
  82619. visitForwardRule$1(_, node) {
  82620. return null;
  82621. },
  82622. visitFunctionRule$1(_, node) {
  82623. return this.visitChildren$1(node.children);
  82624. },
  82625. visitIfRule$1(_, node) {
  82626. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  82627. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  82628. },
  82629. visitImportRule$1(_, node) {
  82630. return null;
  82631. },
  82632. visitIncludeRule$1(_, node) {
  82633. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  82634. },
  82635. visitLoudComment$1(_, node) {
  82636. return null;
  82637. },
  82638. visitMediaRule$1(_, node) {
  82639. return this.visitChildren$1(node.children);
  82640. },
  82641. visitMixinRule$1(_, node) {
  82642. return this.visitChildren$1(node.children);
  82643. },
  82644. visitReturnRule$1(_, node) {
  82645. return null;
  82646. },
  82647. visitSilentComment$1(_, node) {
  82648. return null;
  82649. },
  82650. visitStyleRule$1(_, node) {
  82651. return this.visitChildren$1(node.children);
  82652. },
  82653. visitStylesheet$1(_, node) {
  82654. return this.visitChildren$1(node.children);
  82655. },
  82656. visitSupportsRule$1(_, node) {
  82657. return this.visitChildren$1(node.children);
  82658. },
  82659. visitUseRule$1(_, node) {
  82660. return null;
  82661. },
  82662. visitVariableDeclaration$1(_, node) {
  82663. return null;
  82664. },
  82665. visitWarnRule$1(_, node) {
  82666. return null;
  82667. },
  82668. visitWhileRule$1(_, node) {
  82669. return this.visitChildren$1(node.children);
  82670. },
  82671. visitChildren$1(children) {
  82672. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  82673. }
  82674. };
  82675. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  82676. call$1(clause) {
  82677. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  82678. },
  82679. $signature() {
  82680. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  82681. }
  82682. };
  82683. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  82684. call$1(child) {
  82685. return child.accept$1(this.$this);
  82686. },
  82687. $signature() {
  82688. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82689. }
  82690. };
  82691. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  82692. call$1(lastClause) {
  82693. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  82694. },
  82695. $signature() {
  82696. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  82697. }
  82698. };
  82699. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  82700. call$1(child) {
  82701. return child.accept$1(this.$this);
  82702. },
  82703. $signature() {
  82704. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82705. }
  82706. };
  82707. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  82708. call$1(child) {
  82709. return child.accept$1(this.$this);
  82710. },
  82711. $signature() {
  82712. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82713. }
  82714. };
  82715. A.Entry.prototype = {
  82716. compareTo$1(_, other) {
  82717. var t1, t2,
  82718. res = this.target.compareTo$1(0, other.target);
  82719. if (res !== 0)
  82720. return res;
  82721. t1 = this.source;
  82722. t2 = other.source;
  82723. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  82724. if (res !== 0)
  82725. return res;
  82726. return t1.compareTo$1(0, t2);
  82727. },
  82728. $isComparable: 1
  82729. };
  82730. A.Mapping.prototype = {};
  82731. A.SingleMapping.prototype = {
  82732. toJson$1$includeSourceContents(includeSourceContents) {
  82733. 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,
  82734. buff = new A.StringBuffer("");
  82735. 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) {
  82736. entry = t1[_i];
  82737. nextLine = entry.line;
  82738. if (nextLine > line) {
  82739. for (i = line; i < nextLine; ++i)
  82740. buff._contents += ";";
  82741. line = nextLine;
  82742. column = 0;
  82743. first = true;
  82744. }
  82745. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  82746. t4 = t3.get$current(t3);
  82747. if (!first)
  82748. buff._contents += ",";
  82749. column0 = t4.column;
  82750. t5 = A.encodeVlq(column0 - column);
  82751. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  82752. buff._contents = t5;
  82753. newUrlId = t4.sourceUrlId;
  82754. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  82755. buff._contents = t5;
  82756. srcLine0 = t4.sourceLine;
  82757. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  82758. buff._contents = t5;
  82759. srcColumn0 = t4.sourceColumn;
  82760. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  82761. buff._contents = t5;
  82762. srcNameId0 = t4.sourceNameId;
  82763. if (srcNameId0 == null) {
  82764. srcUrlId = newUrlId;
  82765. srcColumn = srcColumn0;
  82766. srcLine = srcLine0;
  82767. continue;
  82768. }
  82769. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  82770. srcNameId = srcNameId0;
  82771. srcUrlId = newUrlId;
  82772. srcColumn = srcColumn0;
  82773. srcLine = srcLine0;
  82774. }
  82775. }
  82776. t1 = _this.sourceRoot;
  82777. if (t1 == null)
  82778. t1 = "";
  82779. t2 = buff._contents;
  82780. 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);
  82781. t1 = _this.targetUrl;
  82782. if (t1 != null)
  82783. result.$indexSet(0, "file", t1);
  82784. if (includeSourceContents) {
  82785. t1 = _this.files;
  82786. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  82787. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  82788. }
  82789. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  82790. return result;
  82791. },
  82792. toJson$0() {
  82793. return this.toJson$1$includeSourceContents(false);
  82794. },
  82795. toString$0(_) {
  82796. var _this = this,
  82797. 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) + "]";
  82798. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82799. }
  82800. };
  82801. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  82802. call$0() {
  82803. return this.urls.__js_helper$_length;
  82804. },
  82805. $signature: 10
  82806. };
  82807. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  82808. call$0() {
  82809. return this.sourceEntry.source.file;
  82810. },
  82811. $signature: 280
  82812. };
  82813. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  82814. call$1(i) {
  82815. return this.files.$index(0, i);
  82816. },
  82817. $signature: 281
  82818. };
  82819. A.SingleMapping_toJson_closure.prototype = {
  82820. call$1(file) {
  82821. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  82822. },
  82823. $signature: 282
  82824. };
  82825. A.SingleMapping_toJson_closure0.prototype = {
  82826. call$2($name, value) {
  82827. this.result.$indexSet(0, $name, value);
  82828. return value;
  82829. },
  82830. $signature: 130
  82831. };
  82832. A.TargetLineEntry.prototype = {
  82833. toString$0(_) {
  82834. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  82835. }
  82836. };
  82837. A.TargetEntry.prototype = {
  82838. toString$0(_) {
  82839. var _this = this;
  82840. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  82841. }
  82842. };
  82843. A.SourceFile.prototype = {
  82844. get$length(_) {
  82845. return this._decodedChars.length;
  82846. },
  82847. get$lines() {
  82848. return this._lineStarts.length;
  82849. },
  82850. SourceFile$decoded$2$url(decodedChars, url) {
  82851. var t1, t2, t3, i, c, j;
  82852. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  82853. c = t1[i];
  82854. if (c === 13) {
  82855. j = i + 1;
  82856. if (j >= t2 || t1[j] !== 10)
  82857. c = 10;
  82858. }
  82859. if (c === 10)
  82860. t3.push(i + 1);
  82861. }
  82862. },
  82863. span$2(_, start, end) {
  82864. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  82865. },
  82866. span$1(_, start) {
  82867. return this.span$2(0, start, null);
  82868. },
  82869. getLine$1(offset) {
  82870. var t1, _this = this;
  82871. if (offset < 0)
  82872. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  82873. else if (offset > _this._decodedChars.length)
  82874. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  82875. t1 = _this._lineStarts;
  82876. if (offset < B.JSArray_methods.get$first(t1))
  82877. return -1;
  82878. if (offset >= B.JSArray_methods.get$last(t1))
  82879. return t1.length - 1;
  82880. if (_this._isNearCachedLine$1(offset)) {
  82881. t1 = _this._cachedLine;
  82882. t1.toString;
  82883. return t1;
  82884. }
  82885. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  82886. },
  82887. _isNearCachedLine$1(offset) {
  82888. var t2, t3,
  82889. t1 = this._cachedLine;
  82890. if (t1 == null)
  82891. return false;
  82892. t2 = this._lineStarts;
  82893. if (offset < t2[t1])
  82894. return false;
  82895. t3 = t2.length;
  82896. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  82897. return true;
  82898. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  82899. this._cachedLine = t1 + 1;
  82900. return true;
  82901. }
  82902. return false;
  82903. },
  82904. _binarySearch$1(offset) {
  82905. var min, half,
  82906. t1 = this._lineStarts,
  82907. max = t1.length - 1;
  82908. for (min = 0; min < max;) {
  82909. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  82910. if (t1[half] > offset)
  82911. max = half;
  82912. else
  82913. min = half + 1;
  82914. }
  82915. return max;
  82916. },
  82917. getColumn$1(offset) {
  82918. var line, lineStart, _this = this;
  82919. if (offset < 0)
  82920. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  82921. else if (offset > _this._decodedChars.length)
  82922. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  82923. line = _this.getLine$1(offset);
  82924. lineStart = _this._lineStarts[line];
  82925. if (lineStart > offset)
  82926. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  82927. return offset - lineStart;
  82928. },
  82929. getOffset$1(line) {
  82930. var t1, t2, result, t3;
  82931. if (line < 0)
  82932. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  82933. else {
  82934. t1 = this._lineStarts;
  82935. t2 = t1.length;
  82936. if (line >= t2)
  82937. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  82938. }
  82939. result = t1[line];
  82940. if (result <= this._decodedChars.length) {
  82941. t3 = line + 1;
  82942. t1 = t3 < t2 && result >= t1[t3];
  82943. } else
  82944. t1 = true;
  82945. if (t1)
  82946. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  82947. return result;
  82948. }
  82949. };
  82950. A.FileLocation.prototype = {
  82951. get$sourceUrl(_) {
  82952. return this.file.url;
  82953. },
  82954. get$line() {
  82955. return this.file.getLine$1(this.offset);
  82956. },
  82957. get$column() {
  82958. return this.file.getColumn$1(this.offset);
  82959. },
  82960. FileLocation$_$2(file, offset) {
  82961. var t2,
  82962. t1 = this.offset;
  82963. if (t1 < 0)
  82964. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  82965. else {
  82966. t2 = this.file;
  82967. if (t1 > t2._decodedChars.length)
  82968. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  82969. }
  82970. },
  82971. pointSpan$0() {
  82972. var t1 = this.offset;
  82973. return A._FileSpan$(this.file, t1, t1);
  82974. },
  82975. get$offset() {
  82976. return this.offset;
  82977. }
  82978. };
  82979. A._FileSpan.prototype = {
  82980. get$sourceUrl(_) {
  82981. return this.file.url;
  82982. },
  82983. get$length(_) {
  82984. return this._end - this._file$_start;
  82985. },
  82986. get$start(_) {
  82987. return A.FileLocation$_(this.file, this._file$_start);
  82988. },
  82989. get$end(_) {
  82990. return A.FileLocation$_(this.file, this._end);
  82991. },
  82992. get$text() {
  82993. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  82994. },
  82995. get$context(_) {
  82996. var _this = this,
  82997. t1 = _this.file,
  82998. endOffset = _this._end,
  82999. endLine = t1.getLine$1(endOffset);
  83000. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  83001. if (endOffset - _this._file$_start === 0)
  83002. 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);
  83003. } else
  83004. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83005. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83006. },
  83007. _FileSpan$3(file, _start, _end) {
  83008. var t3,
  83009. t1 = this._end,
  83010. t2 = this._file$_start;
  83011. if (t1 < t2)
  83012. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83013. else {
  83014. t3 = this.file;
  83015. if (t1 > t3._decodedChars.length)
  83016. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83017. else if (t2 < 0)
  83018. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83019. }
  83020. },
  83021. compareTo$1(_, other) {
  83022. var result;
  83023. if (!(other instanceof A._FileSpan))
  83024. return this.super$SourceSpanMixin$compareTo(0, other);
  83025. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83026. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83027. },
  83028. $eq(_, other) {
  83029. var _this = this;
  83030. if (other == null)
  83031. return false;
  83032. if (!type$.FileSpan._is(other))
  83033. return _this.super$SourceSpanMixin$$eq(0, other);
  83034. if (!(other instanceof A._FileSpan))
  83035. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83036. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83037. },
  83038. get$hashCode(_) {
  83039. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83040. },
  83041. expand$1(_, other) {
  83042. var t2, t3, _this = this,
  83043. t1 = _this.file;
  83044. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83045. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83046. t2 = _this._file$_start;
  83047. t3 = _this._end;
  83048. if (other instanceof A._FileSpan)
  83049. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83050. else
  83051. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83052. },
  83053. $isFileSpan: 1,
  83054. $isSourceSpanWithContext: 1,
  83055. get$file(receiver) {
  83056. return this.file;
  83057. }
  83058. };
  83059. A.Highlighter.prototype = {
  83060. highlight$0() {
  83061. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83062. t1 = _this._lines;
  83063. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83064. t2 = _this._maxMultilineSpans;
  83065. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83066. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83067. line = t1[i];
  83068. if (i > 0) {
  83069. lastLine = t1[i - 1];
  83070. t5 = line.url;
  83071. if (!J.$eq$(lastLine.url, t5)) {
  83072. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83073. t3._contents += "\n";
  83074. _this._writeFileStart$1(t5);
  83075. } else if (lastLine.number + 1 !== line.number) {
  83076. _this._writeSidebar$1$text("...");
  83077. t3._contents += "\n";
  83078. }
  83079. }
  83080. 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();) {
  83081. t10 = t7.__internal$_current;
  83082. if (t10 == null)
  83083. t10 = t6._as(t10);
  83084. t11 = t10.span;
  83085. 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()))) {
  83086. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83087. if (index < 0)
  83088. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83089. highlightsByColumn[index] = t10;
  83090. }
  83091. }
  83092. _this._writeSidebar$1$line(t8);
  83093. t3._contents += " ";
  83094. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83095. if (t2)
  83096. t3._contents += " ";
  83097. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83098. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83099. t6 = primary != null;
  83100. if (t6) {
  83101. t7 = primary.span;
  83102. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83103. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83104. } else
  83105. _this._writeText$1(t9);
  83106. t3._contents += "\n";
  83107. if (t6)
  83108. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83109. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83110. highlight = t5[_i];
  83111. if (highlight.isPrimary)
  83112. continue;
  83113. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83114. }
  83115. }
  83116. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83117. t1 = t3._contents;
  83118. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83119. },
  83120. _writeFileStart$1(url) {
  83121. var _this = this,
  83122. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83123. t2 = $._glyphs;
  83124. if (t1)
  83125. _this._writeSidebar$1$end(t2.get$downEnd());
  83126. else {
  83127. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83128. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83129. t1 = _this._highlighter$_buffer;
  83130. t2 = " " + $.$get$context().prettyUri$1(url);
  83131. t1._contents += t2;
  83132. }
  83133. _this._highlighter$_buffer._contents += "\n";
  83134. },
  83135. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83136. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83137. _box_0.openedOnThisLine = false;
  83138. _box_0.openedOnThisLineColor = null;
  83139. t1 = current == null;
  83140. if (t1)
  83141. currentColor = null;
  83142. else
  83143. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83144. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83145. highlight = highlightsByColumn[_i];
  83146. t6 = highlight == null;
  83147. if (t6)
  83148. startLine = null;
  83149. else {
  83150. t7 = highlight.span;
  83151. startLine = t7.get$start(t7).get$line();
  83152. }
  83153. if (t6)
  83154. endLine = null;
  83155. else {
  83156. t7 = highlight.span;
  83157. endLine = t7.get$end(t7).get$line();
  83158. }
  83159. if (t1 && highlight === current) {
  83160. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83161. foundCurrent = true;
  83162. } else if (foundCurrent)
  83163. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83164. else if (t6)
  83165. if (_box_0.openedOnThisLine)
  83166. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83167. else
  83168. t5._contents += " ";
  83169. else {
  83170. t6 = highlight.isPrimary ? t4 : t3;
  83171. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83172. }
  83173. }
  83174. },
  83175. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83176. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83177. },
  83178. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83179. var _this = this;
  83180. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83181. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83182. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83183. },
  83184. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83185. var t2, coversWholeLine, _this = this,
  83186. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83187. t1 = highlight.span;
  83188. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83189. _this._writeSidebar$0();
  83190. t1 = _this._highlighter$_buffer;
  83191. t1._contents += " ";
  83192. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83193. if (highlightsByColumn.length !== 0)
  83194. t1._contents += " ";
  83195. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83196. } else {
  83197. t2 = line.number;
  83198. if (t1.get$start(t1).get$line() === t2) {
  83199. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83200. return;
  83201. A.replaceFirstNull(highlightsByColumn, highlight);
  83202. _this._writeSidebar$0();
  83203. t1 = _this._highlighter$_buffer;
  83204. t1._contents += " ";
  83205. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83206. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83207. t1._contents += "\n";
  83208. } else if (t1.get$end(t1).get$line() === t2) {
  83209. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83210. if (coversWholeLine && highlight.label == null) {
  83211. A.replaceWithNull(highlightsByColumn, highlight);
  83212. return;
  83213. }
  83214. _this._writeSidebar$0();
  83215. _this._highlighter$_buffer._contents += " ";
  83216. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83217. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83218. A.replaceWithNull(highlightsByColumn, highlight);
  83219. }
  83220. }
  83221. },
  83222. _writeArrow$3$beginning(line, column, beginning) {
  83223. var t2,
  83224. t1 = beginning ? 0 : 1,
  83225. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83226. t1 = this._highlighter$_buffer;
  83227. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83228. t2 = t1._contents += t2;
  83229. t1._contents = t2 + "^";
  83230. },
  83231. _writeArrow$2(line, column) {
  83232. return this._writeArrow$3$beginning(line, column, true);
  83233. },
  83234. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83235. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83236. label = highlight.label;
  83237. if (label == null) {
  83238. _this._highlighter$_buffer._contents += "\n";
  83239. return;
  83240. }
  83241. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83242. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83243. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83244. t1 = _this._highlighter$_buffer;
  83245. t1._contents += "\n";
  83246. 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();) {
  83247. t5 = t2.__internal$_current;
  83248. if (t5 == null)
  83249. t5 = t3._as(t5);
  83250. _this._writeSidebar$0();
  83251. t6 = t1._contents += " ";
  83252. for (_i = 0; _i < t4; ++_i) {
  83253. columnHighlight = highlightsByColumn[_i];
  83254. if (columnHighlight == null || columnHighlight === highlight) {
  83255. t6 += " ";
  83256. t1._contents = t6;
  83257. } else {
  83258. t6 = $._glyphs.get$verticalLine();
  83259. t6 = t1._contents += t6;
  83260. }
  83261. }
  83262. t6 = B.JSString_methods.$mul(" ", underlineLength);
  83263. t1._contents += t6;
  83264. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83265. t1._contents += "\n";
  83266. }
  83267. },
  83268. _writeText$1(text) {
  83269. var t1, t2, t3, t4;
  83270. 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();) {
  83271. t4 = t1.__internal$_current;
  83272. if (t4 == null)
  83273. t4 = t2._as(t4);
  83274. if (t4 === 9) {
  83275. t4 = B.JSString_methods.$mul(" ", 4);
  83276. t3._contents += t4;
  83277. } else {
  83278. t4 = A.Primitives_stringFromCharCode(t4);
  83279. t3._contents += t4;
  83280. }
  83281. }
  83282. },
  83283. _writeSidebar$3$end$line$text(end, line, text) {
  83284. var t1 = {};
  83285. t1.text = text;
  83286. if (line != null)
  83287. t1.text = B.JSInt_methods.toString$0(line + 1);
  83288. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83289. },
  83290. _writeSidebar$1$end(end) {
  83291. return this._writeSidebar$3$end$line$text(end, null, null);
  83292. },
  83293. _writeSidebar$1$text(text) {
  83294. return this._writeSidebar$3$end$line$text(null, null, text);
  83295. },
  83296. _writeSidebar$1$line(line) {
  83297. return this._writeSidebar$3$end$line$text(null, line, null);
  83298. },
  83299. _writeSidebar$0() {
  83300. return this._writeSidebar$3$end$line$text(null, null, null);
  83301. },
  83302. _countTabs$1(text) {
  83303. var t1, t2, count, t3;
  83304. 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();) {
  83305. t3 = t1.__internal$_current;
  83306. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83307. ++count;
  83308. }
  83309. return count;
  83310. },
  83311. _isOnlyWhitespace$1(text) {
  83312. var t1, t2, t3;
  83313. 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();) {
  83314. t3 = t1.__internal$_current;
  83315. if (t3 == null)
  83316. t3 = t2._as(t3);
  83317. if (t3 !== 32 && t3 !== 9)
  83318. return false;
  83319. }
  83320. return true;
  83321. },
  83322. _colorize$1$2$color(callback, color) {
  83323. var result,
  83324. t1 = this._primaryColor != null;
  83325. if (t1 && color != null)
  83326. this._highlighter$_buffer._contents += color;
  83327. result = callback.call$0();
  83328. if (t1 && color != null)
  83329. this._highlighter$_buffer._contents += "\x1b[0m";
  83330. return result;
  83331. },
  83332. _colorize$2$color(callback, color) {
  83333. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83334. }
  83335. };
  83336. A.Highlighter_closure.prototype = {
  83337. call$0() {
  83338. var t1 = this.color,
  83339. t2 = J.getInterceptor$(t1);
  83340. if (t2.$eq(t1, true))
  83341. return "\x1b[31m";
  83342. if (t2.$eq(t1, false))
  83343. return null;
  83344. return A._asStringQ(t1);
  83345. },
  83346. $signature: 49
  83347. };
  83348. A.Highlighter$__closure.prototype = {
  83349. call$1(line) {
  83350. var t1 = line.highlights;
  83351. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83352. },
  83353. $signature: 283
  83354. };
  83355. A.Highlighter$___closure.prototype = {
  83356. call$1(highlight) {
  83357. var t1 = highlight.span;
  83358. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83359. },
  83360. $signature: 132
  83361. };
  83362. A.Highlighter$__closure0.prototype = {
  83363. call$1(line) {
  83364. return line.url;
  83365. },
  83366. $signature: 285
  83367. };
  83368. A.Highlighter__collateLines_closure.prototype = {
  83369. call$1(highlight) {
  83370. var t1 = highlight.span;
  83371. t1 = t1.get$sourceUrl(t1);
  83372. return t1 == null ? new A.Object() : t1;
  83373. },
  83374. $signature: 286
  83375. };
  83376. A.Highlighter__collateLines_closure0.prototype = {
  83377. call$2(highlight1, highlight2) {
  83378. return highlight1.span.compareTo$1(0, highlight2.span);
  83379. },
  83380. $signature: 287
  83381. };
  83382. A.Highlighter__collateLines_closure1.prototype = {
  83383. call$1(entry) {
  83384. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  83385. url = entry.key,
  83386. highlightsForFile = entry.value,
  83387. lines = A._setArrayType([], type$.JSArray__Line);
  83388. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  83389. t4 = t2.get$current(t2).span;
  83390. context = t4.get$context(t4);
  83391. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  83392. t5.toString;
  83393. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  83394. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  83395. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  83396. line = t4[_i];
  83397. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  83398. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  83399. ++lineNumber;
  83400. }
  83401. }
  83402. activeHighlights = A._setArrayType([], t3);
  83403. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  83404. line = lines[_i];
  83405. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  83406. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  83407. oldHighlightLength = activeHighlights.length;
  83408. 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();) {
  83409. t6 = t3.__internal$_current;
  83410. if (t6 == null)
  83411. t6 = t4._as(t6);
  83412. t7 = t6.span;
  83413. if (t7.get$start(t7).get$line() > t5)
  83414. break;
  83415. activeHighlights.push(t6);
  83416. }
  83417. highlightIndex += activeHighlights.length - oldHighlightLength;
  83418. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  83419. }
  83420. return lines;
  83421. },
  83422. $signature: 288
  83423. };
  83424. A.Highlighter__collateLines__closure.prototype = {
  83425. call$1(highlight) {
  83426. var t1 = highlight.span;
  83427. return t1.get$end(t1).get$line() < this.line.number;
  83428. },
  83429. $signature: 132
  83430. };
  83431. A.Highlighter_highlight_closure.prototype = {
  83432. call$1(highlight) {
  83433. return highlight.isPrimary;
  83434. },
  83435. $signature: 132
  83436. };
  83437. A.Highlighter__writeFileStart_closure.prototype = {
  83438. call$0() {
  83439. var t1 = this.$this._highlighter$_buffer,
  83440. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  83441. t1._contents += t2;
  83442. return null;
  83443. },
  83444. $signature: 0
  83445. };
  83446. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  83447. call$0() {
  83448. var t1 = this.$this._highlighter$_buffer,
  83449. t2 = $._glyphs;
  83450. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  83451. t1._contents += t2;
  83452. },
  83453. $signature: 1
  83454. };
  83455. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  83456. call$0() {
  83457. var t1 = this.$this._highlighter$_buffer,
  83458. t2 = $._glyphs;
  83459. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  83460. t1._contents += t2;
  83461. },
  83462. $signature: 1
  83463. };
  83464. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  83465. call$0() {
  83466. var t1 = this.$this._highlighter$_buffer,
  83467. t2 = $._glyphs.get$horizontalLine();
  83468. t1._contents += t2;
  83469. return null;
  83470. },
  83471. $signature: 0
  83472. };
  83473. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  83474. call$0() {
  83475. var _this = this,
  83476. t1 = _this._box_0,
  83477. t2 = t1.openedOnThisLine,
  83478. t3 = $._glyphs,
  83479. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  83480. if (_this.current != null)
  83481. _this.$this._highlighter$_buffer._contents += vertical;
  83482. else {
  83483. t2 = _this.line;
  83484. t3 = t2.number;
  83485. if (_this.startLine === t3) {
  83486. t2 = _this.$this;
  83487. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  83488. t1.openedOnThisLine = true;
  83489. if (t1.openedOnThisLineColor == null)
  83490. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  83491. } else {
  83492. if (_this.endLine === t3) {
  83493. t3 = _this.highlight.span;
  83494. t2 = t3.get$end(t3).get$column() === t2.text.length;
  83495. } else
  83496. t2 = false;
  83497. t3 = _this.$this;
  83498. if (t2) {
  83499. t1 = t3._highlighter$_buffer;
  83500. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  83501. t1._contents += t2;
  83502. } else
  83503. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  83504. }
  83505. }
  83506. },
  83507. $signature: 1
  83508. };
  83509. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  83510. call$0() {
  83511. var t1 = this.$this._highlighter$_buffer,
  83512. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  83513. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  83514. t1._contents += t2;
  83515. },
  83516. $signature: 1
  83517. };
  83518. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  83519. call$0() {
  83520. this.$this._highlighter$_buffer._contents += this.vertical;
  83521. },
  83522. $signature: 1
  83523. };
  83524. A.Highlighter__writeHighlightedText_closure.prototype = {
  83525. call$0() {
  83526. var _this = this;
  83527. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  83528. },
  83529. $signature: 0
  83530. };
  83531. A.Highlighter__writeIndicator_closure.prototype = {
  83532. call$0() {
  83533. var startColumn, endColumn, tabsBefore, tabsInside,
  83534. t1 = this.$this,
  83535. t2 = t1._highlighter$_buffer,
  83536. t3 = t2._contents,
  83537. t4 = this.highlight,
  83538. t5 = t4.span;
  83539. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  83540. startColumn = t5.get$start(t5).get$column();
  83541. endColumn = t5.get$end(t5).get$column();
  83542. t5 = this.line.text;
  83543. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  83544. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  83545. startColumn += tabsBefore * 3;
  83546. t5 = B.JSString_methods.$mul(" ", startColumn);
  83547. t2._contents += t5;
  83548. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  83549. t4 = t2._contents += t4;
  83550. return t4.length - t3.length;
  83551. },
  83552. $signature: 10
  83553. };
  83554. A.Highlighter__writeIndicator_closure0.prototype = {
  83555. call$0() {
  83556. var t1 = this.highlight.span;
  83557. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  83558. },
  83559. $signature: 0
  83560. };
  83561. A.Highlighter__writeIndicator_closure1.prototype = {
  83562. call$0() {
  83563. var t4, _this = this,
  83564. t1 = _this.$this,
  83565. t2 = t1._highlighter$_buffer,
  83566. t3 = t2._contents;
  83567. if (_this.coversWholeLine) {
  83568. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  83569. t2._contents += t1;
  83570. } else {
  83571. t4 = _this.highlight.span;
  83572. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  83573. }
  83574. return t2._contents.length - t3.length;
  83575. },
  83576. $signature: 10
  83577. };
  83578. A.Highlighter__writeLabel_closure.prototype = {
  83579. call$0() {
  83580. var t1 = this.$this._highlighter$_buffer,
  83581. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  83582. t1._contents += t2;
  83583. return null;
  83584. },
  83585. $signature: 0
  83586. };
  83587. A.Highlighter__writeLabel_closure0.prototype = {
  83588. call$0() {
  83589. this.$this._highlighter$_buffer._contents += " " + this.text;
  83590. return null;
  83591. },
  83592. $signature: 0
  83593. };
  83594. A.Highlighter__writeSidebar_closure.prototype = {
  83595. call$0() {
  83596. var t1 = this.$this,
  83597. t2 = t1._highlighter$_buffer,
  83598. t3 = this._box_0.text;
  83599. if (t3 == null)
  83600. t3 = "";
  83601. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  83602. t2._contents += t1;
  83603. t1 = this.end;
  83604. if (t1 == null)
  83605. t1 = $._glyphs.get$verticalLine();
  83606. t2._contents += t1;
  83607. },
  83608. $signature: 1
  83609. };
  83610. A._Highlight.prototype = {
  83611. toString$0(_) {
  83612. var t1 = this.isPrimary ? "" + "primary " : "",
  83613. t2 = this.span;
  83614. 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());
  83615. t1 = this.label;
  83616. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  83617. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83618. }
  83619. };
  83620. A._Highlight_closure.prototype = {
  83621. call$0() {
  83622. var t2, t3, t4, t5,
  83623. t1 = this.span;
  83624. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  83625. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  83626. t3 = t1.get$end(t1).get$offset();
  83627. t4 = t1.get$sourceUrl(t1);
  83628. t5 = A.countCodeUnits(t1.get$text(), 10);
  83629. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  83630. }
  83631. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  83632. },
  83633. $signature: 289
  83634. };
  83635. A._Line.prototype = {
  83636. toString$0(_) {
  83637. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  83638. }
  83639. };
  83640. A.SourceLocation.prototype = {
  83641. distance$1(other) {
  83642. var t1 = this.sourceUrl;
  83643. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83644. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83645. return Math.abs(this.offset - other.get$offset());
  83646. },
  83647. compareTo$1(_, other) {
  83648. var t1 = this.sourceUrl;
  83649. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83650. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83651. return this.offset - other.get$offset();
  83652. },
  83653. $eq(_, other) {
  83654. if (other == null)
  83655. return false;
  83656. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83657. },
  83658. get$hashCode(_) {
  83659. var t1 = this.sourceUrl;
  83660. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83661. if (t1 == null)
  83662. t1 = 0;
  83663. return t1 + this.offset;
  83664. },
  83665. toString$0(_) {
  83666. var _this = this,
  83667. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  83668. source = _this.sourceUrl;
  83669. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  83670. },
  83671. $isComparable: 1,
  83672. get$sourceUrl(receiver) {
  83673. return this.sourceUrl;
  83674. },
  83675. get$offset() {
  83676. return this.offset;
  83677. },
  83678. get$line() {
  83679. return this.line;
  83680. },
  83681. get$column() {
  83682. return this.column;
  83683. }
  83684. };
  83685. A.SourceLocationMixin.prototype = {
  83686. distance$1(other) {
  83687. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83688. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83689. return Math.abs(this.offset - other.get$offset());
  83690. },
  83691. compareTo$1(_, other) {
  83692. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83693. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83694. return this.offset - other.get$offset();
  83695. },
  83696. $eq(_, other) {
  83697. if (other == null)
  83698. return false;
  83699. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83700. },
  83701. get$hashCode(_) {
  83702. var t1 = this.file.url;
  83703. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83704. if (t1 == null)
  83705. t1 = 0;
  83706. return t1 + this.offset;
  83707. },
  83708. toString$0(_) {
  83709. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  83710. t2 = this.offset,
  83711. t3 = this.file,
  83712. source = t3.url;
  83713. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  83714. },
  83715. $isComparable: 1,
  83716. $isSourceLocation: 1
  83717. };
  83718. A.SourceSpanBase.prototype = {
  83719. SourceSpanBase$3(start, end, text) {
  83720. var t3,
  83721. t1 = this.end,
  83722. t2 = this.start;
  83723. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  83724. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  83725. else if (t1.get$offset() < t2.get$offset())
  83726. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  83727. else {
  83728. t3 = this.text;
  83729. if (t3.length !== t2.distance$1(t1))
  83730. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  83731. }
  83732. },
  83733. get$start(receiver) {
  83734. return this.start;
  83735. },
  83736. get$end(receiver) {
  83737. return this.end;
  83738. },
  83739. get$text() {
  83740. return this.text;
  83741. }
  83742. };
  83743. A.SourceSpanException.prototype = {
  83744. get$message(_) {
  83745. return this._span_exception$_message;
  83746. },
  83747. get$span(_) {
  83748. return this._span;
  83749. },
  83750. toString$1$color(_, color) {
  83751. var _this = this;
  83752. _this.get$span(_this);
  83753. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  83754. },
  83755. toString$0(_) {
  83756. return this.toString$1$color(0, null);
  83757. },
  83758. $isException: 1
  83759. };
  83760. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  83761. get$source() {
  83762. return this.source;
  83763. }
  83764. };
  83765. A.MultiSourceSpanException.prototype = {
  83766. toString$0(_) {
  83767. var _this = this;
  83768. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  83769. },
  83770. get$primaryLabel() {
  83771. return this.primaryLabel;
  83772. },
  83773. get$secondarySpans() {
  83774. return this.secondarySpans;
  83775. }
  83776. };
  83777. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  83778. A.SourceSpanMixin.prototype = {
  83779. get$sourceUrl(_) {
  83780. var t1 = this.get$start(this);
  83781. return t1.get$sourceUrl(t1);
  83782. },
  83783. get$length(_) {
  83784. var _this = this;
  83785. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  83786. },
  83787. compareTo$1(_, other) {
  83788. var _this = this,
  83789. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  83790. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  83791. },
  83792. message$2$color(_, message, color) {
  83793. var t2, t3, highlight, _this = this,
  83794. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  83795. if (_this.get$sourceUrl(_this) != null) {
  83796. t2 = _this.get$sourceUrl(_this);
  83797. t3 = $.$get$context();
  83798. t2.toString;
  83799. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  83800. t1 = t2;
  83801. }
  83802. t1 += ": " + message;
  83803. highlight = _this.highlight$1$color(color);
  83804. if (highlight.length !== 0)
  83805. t1 = t1 + "\n" + highlight;
  83806. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83807. },
  83808. message$1(_, message) {
  83809. return this.message$2$color(0, message, null);
  83810. },
  83811. highlight$1$color(color) {
  83812. var _this = this;
  83813. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  83814. return "";
  83815. return A.Highlighter$(_this, color).highlight$0();
  83816. },
  83817. $eq(_, other) {
  83818. var _this = this;
  83819. if (other == null)
  83820. return false;
  83821. 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));
  83822. },
  83823. get$hashCode(_) {
  83824. var _this = this;
  83825. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  83826. },
  83827. toString$0(_) {
  83828. var _this = this;
  83829. 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() + '">';
  83830. },
  83831. $isComparable: 1,
  83832. $isSourceSpan: 1
  83833. };
  83834. A.SourceSpanWithContext.prototype = {
  83835. get$context(_) {
  83836. return this._context;
  83837. }
  83838. };
  83839. A.Chain.prototype = {
  83840. toTrace$0() {
  83841. var t1 = this.traces;
  83842. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  83843. },
  83844. toString$0(_) {
  83845. var t1 = this.traces,
  83846. t2 = A._arrayInstanceType(t1);
  83847. 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_____);
  83848. },
  83849. $isStackTrace: 1
  83850. };
  83851. A.Chain_Chain$parse_closure.prototype = {
  83852. call$1(line) {
  83853. return line.length !== 0;
  83854. },
  83855. $signature: 5
  83856. };
  83857. A.Chain_toTrace_closure.prototype = {
  83858. call$1(trace) {
  83859. return trace.get$frames();
  83860. },
  83861. $signature: 290
  83862. };
  83863. A.Chain_toString_closure0.prototype = {
  83864. call$1(trace) {
  83865. var t1 = trace.get$frames();
  83866. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  83867. },
  83868. $signature: 291
  83869. };
  83870. A.Chain_toString__closure0.prototype = {
  83871. call$1(frame) {
  83872. return frame.get$location().length;
  83873. },
  83874. $signature: 265
  83875. };
  83876. A.Chain_toString_closure.prototype = {
  83877. call$1(trace) {
  83878. var t1 = trace.get$frames();
  83879. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  83880. },
  83881. $signature: 293
  83882. };
  83883. A.Chain_toString__closure.prototype = {
  83884. call$1(frame) {
  83885. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  83886. },
  83887. $signature: 263
  83888. };
  83889. A.Frame.prototype = {
  83890. get$isCore() {
  83891. return this.uri.get$scheme() === "dart";
  83892. },
  83893. get$library() {
  83894. var t1 = this.uri;
  83895. if (t1.get$scheme() === "data")
  83896. return "data:...";
  83897. return $.$get$context().prettyUri$1(t1);
  83898. },
  83899. get$$package() {
  83900. var t1 = this.uri;
  83901. if (t1.get$scheme() !== "package")
  83902. return null;
  83903. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  83904. },
  83905. get$location() {
  83906. var t2, _this = this,
  83907. t1 = _this.line;
  83908. if (t1 == null)
  83909. return _this.get$library();
  83910. t2 = _this.column;
  83911. if (t2 == null)
  83912. return _this.get$library() + " " + A.S(t1);
  83913. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  83914. },
  83915. toString$0(_) {
  83916. return this.get$location() + " in " + A.S(this.member);
  83917. },
  83918. get$uri() {
  83919. return this.uri;
  83920. },
  83921. get$line() {
  83922. return this.line;
  83923. },
  83924. get$column() {
  83925. return this.column;
  83926. },
  83927. get$member() {
  83928. return this.member;
  83929. }
  83930. };
  83931. A.Frame_Frame$parseVM_closure.prototype = {
  83932. call$0() {
  83933. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  83934. t1 = this.frame;
  83935. if (t1 === "...")
  83936. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  83937. match = $.$get$_vmFrame().firstMatch$1(t1);
  83938. if (match == null)
  83939. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  83940. t1 = match._match;
  83941. t2 = t1[1];
  83942. t2.toString;
  83943. t3 = $.$get$_asyncBody();
  83944. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  83945. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  83946. t2 = t1[2];
  83947. t3 = t2;
  83948. t3.toString;
  83949. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  83950. uri = A.Uri_Uri$dataFromString("", _null, _null);
  83951. else {
  83952. t2 = t2;
  83953. t2.toString;
  83954. uri = A.Uri_parse(t2);
  83955. }
  83956. lineAndColumn = t1[3].split(":");
  83957. t1 = lineAndColumn.length;
  83958. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  83959. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  83960. },
  83961. $signature: 67
  83962. };
  83963. A.Frame_Frame$parseV8_closure.prototype = {
  83964. call$0() {
  83965. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  83966. t1 = this.frame,
  83967. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  83968. if (match != null) {
  83969. member = match.namedGroup$1("member");
  83970. t1 = match.namedGroup$1("uri");
  83971. t1.toString;
  83972. uri = A.Frame__uriOrPathToUri(t1);
  83973. t1 = match.namedGroup$1("index");
  83974. t1.toString;
  83975. t2 = match.namedGroup$1("offset");
  83976. t2.toString;
  83977. functionOffset = A.int_parse(t2, 16);
  83978. if (!(member == null))
  83979. t1 = member;
  83980. return new A.Frame(uri, 1, functionOffset + 1, t1);
  83981. }
  83982. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  83983. if (match != null) {
  83984. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  83985. t2 = match._match;
  83986. t3 = t2[2];
  83987. if (t3 != null) {
  83988. t3 = t3;
  83989. t3.toString;
  83990. t2 = t2[1];
  83991. t2.toString;
  83992. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  83993. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  83994. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  83995. } else {
  83996. t2 = t2[3];
  83997. t2.toString;
  83998. return t1.call$2(t2, _s4_);
  83999. }
  84000. }
  84001. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  84002. },
  84003. $signature: 67
  84004. };
  84005. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84006. call$2($location, member) {
  84007. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84008. t1 = $.$get$_v8EvalLocation(),
  84009. evalMatch = t1.firstMatch$1($location);
  84010. for (; evalMatch != null; $location = t2) {
  84011. t2 = evalMatch._match[1];
  84012. t2.toString;
  84013. evalMatch = t1.firstMatch$1(t2);
  84014. }
  84015. if ($location === "native")
  84016. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84017. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84018. if (urlMatch == null)
  84019. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84020. t1 = urlMatch._match;
  84021. t2 = t1[1];
  84022. t2.toString;
  84023. uri = A.Frame__uriOrPathToUri(t2);
  84024. t2 = t1[2];
  84025. t2.toString;
  84026. line = A.int_parse(t2, _null);
  84027. columnMatch = t1[3];
  84028. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84029. },
  84030. $signature: 296
  84031. };
  84032. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84033. call$0() {
  84034. var t2, member, uri, line, _null = null,
  84035. t1 = this.frame,
  84036. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84037. if (match == null)
  84038. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84039. t1 = match._match;
  84040. t2 = t1[1];
  84041. t2.toString;
  84042. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84043. t2 = t1[2];
  84044. t2.toString;
  84045. uri = A.Frame__uriOrPathToUri(t2);
  84046. t1 = t1[3];
  84047. t1.toString;
  84048. line = A.int_parse(t1, _null);
  84049. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84050. },
  84051. $signature: 67
  84052. };
  84053. A.Frame_Frame$parseFirefox_closure.prototype = {
  84054. call$0() {
  84055. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84056. t1 = this.frame,
  84057. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84058. if (match != null) {
  84059. t2 = match._match;
  84060. t3 = t2[3];
  84061. t4 = t3;
  84062. t4.toString;
  84063. if (B.JSString_methods.contains$1(t4, " line "))
  84064. return A.Frame_Frame$_parseFirefoxEval(t1);
  84065. t1 = t3;
  84066. t1.toString;
  84067. uri = A.Frame__uriOrPathToUri(t1);
  84068. member = t2[1];
  84069. if (member != null) {
  84070. t1 = t2[2];
  84071. t1.toString;
  84072. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84073. if (member === "")
  84074. member = "<fn>";
  84075. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84076. } else
  84077. member = "<fn>";
  84078. t1 = t2[4];
  84079. if (t1 === "")
  84080. line = _null;
  84081. else {
  84082. t1 = t1;
  84083. t1.toString;
  84084. line = A.int_parse(t1, _null);
  84085. }
  84086. t1 = t2[5];
  84087. if (t1 == null || t1 === "")
  84088. column = _null;
  84089. else {
  84090. t1 = t1;
  84091. t1.toString;
  84092. column = A.int_parse(t1, _null);
  84093. }
  84094. return new A.Frame(uri, line, column, member);
  84095. }
  84096. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84097. if (match != null) {
  84098. t1 = match.namedGroup$1("member");
  84099. t1.toString;
  84100. t2 = match.namedGroup$1("uri");
  84101. t2.toString;
  84102. uri = A.Frame__uriOrPathToUri(t2);
  84103. t2 = match.namedGroup$1("index");
  84104. t2.toString;
  84105. t3 = match.namedGroup$1("offset");
  84106. t3.toString;
  84107. functionOffset = A.int_parse(t3, 16);
  84108. if (!(t1.length !== 0))
  84109. t1 = t2;
  84110. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84111. }
  84112. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84113. if (match != null) {
  84114. t1 = match.namedGroup$1("member");
  84115. t1.toString;
  84116. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84117. }
  84118. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84119. },
  84120. $signature: 67
  84121. };
  84122. A.Frame_Frame$parseFriendly_closure.prototype = {
  84123. call$0() {
  84124. var t2, uri, line, column, _null = null,
  84125. t1 = this.frame,
  84126. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84127. if (match == null)
  84128. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84129. t1 = match._match;
  84130. t2 = t1[1];
  84131. if (t2 === "data:...")
  84132. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84133. else {
  84134. t2 = t2;
  84135. t2.toString;
  84136. uri = A.Uri_parse(t2);
  84137. }
  84138. if (uri.get$scheme() === "") {
  84139. t2 = $.$get$context();
  84140. 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));
  84141. }
  84142. t2 = t1[2];
  84143. if (t2 == null)
  84144. line = _null;
  84145. else {
  84146. t2 = t2;
  84147. t2.toString;
  84148. line = A.int_parse(t2, _null);
  84149. }
  84150. t2 = t1[3];
  84151. if (t2 == null)
  84152. column = _null;
  84153. else {
  84154. t2 = t2;
  84155. t2.toString;
  84156. column = A.int_parse(t2, _null);
  84157. }
  84158. return new A.Frame(uri, line, column, t1[4]);
  84159. },
  84160. $signature: 67
  84161. };
  84162. A.LazyTrace.prototype = {
  84163. get$_lazy_trace$_trace() {
  84164. var result, _this = this,
  84165. value = _this.__LazyTrace__trace_FI;
  84166. if (value === $) {
  84167. result = _this._thunk.call$0();
  84168. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84169. _this.__LazyTrace__trace_FI = result;
  84170. value = result;
  84171. }
  84172. return value;
  84173. },
  84174. get$frames() {
  84175. return this.get$_lazy_trace$_trace().get$frames();
  84176. },
  84177. get$terse() {
  84178. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84179. },
  84180. toString$0(_) {
  84181. return this.get$_lazy_trace$_trace().toString$0(0);
  84182. },
  84183. $isStackTrace: 1,
  84184. $isTrace: 1
  84185. };
  84186. A.LazyTrace_terse_closure.prototype = {
  84187. call$0() {
  84188. return this.$this.get$_lazy_trace$_trace().get$terse();
  84189. },
  84190. $signature: 261
  84191. };
  84192. A.Trace.prototype = {
  84193. get$terse() {
  84194. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84195. },
  84196. foldFrames$2$terse(predicate, terse) {
  84197. var newFrames, t1, t2, t3, _box_0 = {};
  84198. _box_0.predicate = predicate;
  84199. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84200. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84201. 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();) {
  84202. t3 = t1.__internal$_current;
  84203. if (t3 == null)
  84204. t3 = t2._as(t3);
  84205. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84206. newFrames.push(t3);
  84207. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84208. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84209. }
  84210. t1 = type$.MappedListIterable_Frame_Frame;
  84211. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  84212. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84213. B.JSArray_methods.removeAt$1(newFrames, 0);
  84214. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84215. },
  84216. toString$0(_) {
  84217. var t1 = this.frames,
  84218. t2 = A._arrayInstanceType(t1);
  84219. 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);
  84220. },
  84221. $isStackTrace: 1,
  84222. get$frames() {
  84223. return this.frames;
  84224. }
  84225. };
  84226. A.Trace_Trace$from_closure.prototype = {
  84227. call$0() {
  84228. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84229. },
  84230. $signature: 261
  84231. };
  84232. A.Trace__parseVM_closure.prototype = {
  84233. call$1(line) {
  84234. return line.length !== 0;
  84235. },
  84236. $signature: 5
  84237. };
  84238. A.Trace$parseV8_closure.prototype = {
  84239. call$1(line) {
  84240. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84241. },
  84242. $signature: 5
  84243. };
  84244. A.Trace$parseJSCore_closure.prototype = {
  84245. call$1(line) {
  84246. return line !== "\tat ";
  84247. },
  84248. $signature: 5
  84249. };
  84250. A.Trace$parseFirefox_closure.prototype = {
  84251. call$1(line) {
  84252. return line.length !== 0 && line !== "[native code]";
  84253. },
  84254. $signature: 5
  84255. };
  84256. A.Trace$parseFriendly_closure.prototype = {
  84257. call$1(line) {
  84258. return !B.JSString_methods.startsWith$1(line, "=====");
  84259. },
  84260. $signature: 5
  84261. };
  84262. A.Trace_terse_closure.prototype = {
  84263. call$1(_) {
  84264. return false;
  84265. },
  84266. $signature: 260
  84267. };
  84268. A.Trace_foldFrames_closure.prototype = {
  84269. call$1(frame) {
  84270. var t1;
  84271. if (this.oldPredicate.call$1(frame))
  84272. return true;
  84273. if (frame.get$isCore())
  84274. return true;
  84275. if (frame.get$$package() === "stack_trace")
  84276. return true;
  84277. t1 = frame.get$member();
  84278. t1.toString;
  84279. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84280. return false;
  84281. return frame.get$line() == null;
  84282. },
  84283. $signature: 260
  84284. };
  84285. A.Trace_foldFrames_closure0.prototype = {
  84286. call$1(frame) {
  84287. var t1, t2;
  84288. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84289. return frame;
  84290. t1 = frame.get$library();
  84291. t2 = $.$get$_terseRegExp();
  84292. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84293. },
  84294. $signature: 299
  84295. };
  84296. A.Trace_toString_closure0.prototype = {
  84297. call$1(frame) {
  84298. return frame.get$location().length;
  84299. },
  84300. $signature: 265
  84301. };
  84302. A.Trace_toString_closure.prototype = {
  84303. call$1(frame) {
  84304. if (frame instanceof A.UnparsedFrame)
  84305. return frame.toString$0(0) + "\n";
  84306. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84307. },
  84308. $signature: 263
  84309. };
  84310. A.UnparsedFrame.prototype = {
  84311. toString$0(_) {
  84312. return this.member;
  84313. },
  84314. $isFrame: 1,
  84315. get$uri() {
  84316. return this.uri;
  84317. },
  84318. get$line() {
  84319. return null;
  84320. },
  84321. get$column() {
  84322. return null;
  84323. },
  84324. get$isCore() {
  84325. return false;
  84326. },
  84327. get$library() {
  84328. return "unparsed";
  84329. },
  84330. get$$package() {
  84331. return null;
  84332. },
  84333. get$location() {
  84334. return "unparsed";
  84335. },
  84336. get$member() {
  84337. return this.member;
  84338. }
  84339. };
  84340. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84341. call$0() {
  84342. var t2, subscription, t3, t4, _this = this, t1 = {};
  84343. t1.valuesDone = false;
  84344. t2 = _this.controller;
  84345. 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));
  84346. t3 = _this._box_1;
  84347. t3.subscription = subscription;
  84348. t2.set$onPause(subscription.get$pause(subscription));
  84349. t4 = t3.subscription;
  84350. t2.set$onResume(t4.get$resume(t4));
  84351. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84352. },
  84353. $signature: 0
  84354. };
  84355. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84356. call$1(value) {
  84357. return this.onData.call$2(value, this.controller);
  84358. },
  84359. $signature() {
  84360. return this.S._eval$1("~(0)");
  84361. }
  84362. };
  84363. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84364. call$2(error, stackTrace) {
  84365. this.handleError.call$3(error, stackTrace, this.controller);
  84366. },
  84367. $signature: 48
  84368. };
  84369. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84370. call$0() {
  84371. this._box_0.valuesDone = true;
  84372. this.handleDone.call$1(this.controller);
  84373. },
  84374. $signature: 0
  84375. };
  84376. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84377. call$0() {
  84378. var t1 = this._box_1,
  84379. toCancel = t1.subscription;
  84380. t1.subscription = null;
  84381. if (!this._box_0.valuesDone)
  84382. return toCancel.cancel$0();
  84383. return null;
  84384. },
  84385. $signature: 158
  84386. };
  84387. A.RateLimit__debounceAggregate_closure.prototype = {
  84388. call$2(value, sink) {
  84389. var _this = this,
  84390. t1 = _this._box_0,
  84391. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  84392. t3 = t1.timer;
  84393. if (t3 != null)
  84394. t3.cancel$0();
  84395. t1.soFar = _this.collect.call$2(value, t1.soFar);
  84396. t1.hasPending = true;
  84397. if (t1.timer == null && _this.leading) {
  84398. t1.emittedLatestAsLeading = true;
  84399. t2.call$0();
  84400. } else
  84401. t1.emittedLatestAsLeading = false;
  84402. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  84403. },
  84404. $signature() {
  84405. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  84406. }
  84407. };
  84408. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  84409. call$0() {
  84410. var t1 = this._box_0,
  84411. t2 = t1.soFar;
  84412. if (t2 == null)
  84413. t2 = this.S._as(t2);
  84414. this.sink.add$1(0, t2);
  84415. t1.soFar = null;
  84416. t1.hasPending = false;
  84417. },
  84418. $signature: 0
  84419. };
  84420. A.RateLimit__debounceAggregate__closure.prototype = {
  84421. call$0() {
  84422. var t1 = this._box_0,
  84423. t2 = t1.emittedLatestAsLeading;
  84424. if (!t2)
  84425. this.emit.call$0();
  84426. if (t1.shouldClose)
  84427. this.sink.close$0(0);
  84428. t1.timer = null;
  84429. },
  84430. $signature: 0
  84431. };
  84432. A.RateLimit__debounceAggregate_closure0.prototype = {
  84433. call$1(sink) {
  84434. var t1 = this._box_0;
  84435. if (t1.hasPending && this.trailing)
  84436. t1.shouldClose = true;
  84437. else {
  84438. t1 = t1.timer;
  84439. if (t1 != null)
  84440. t1.cancel$0();
  84441. sink.close$0(0);
  84442. }
  84443. },
  84444. $signature() {
  84445. return this.S._eval$1("~(EventSink<0>)");
  84446. }
  84447. };
  84448. A.StringScannerException.prototype = {
  84449. get$source() {
  84450. return A._asString(this.source);
  84451. }
  84452. };
  84453. A.LineScanner.prototype = {
  84454. scanChar$1(character) {
  84455. if (!this.super$StringScanner$scanChar(character))
  84456. return false;
  84457. this._adjustLineAndColumn$1(character);
  84458. return true;
  84459. },
  84460. readChar$0() {
  84461. var character = this.super$StringScanner$readChar();
  84462. this._adjustLineAndColumn$1(character);
  84463. return character;
  84464. },
  84465. _adjustLineAndColumn$1(character) {
  84466. var t1, _this = this;
  84467. if (character !== 10)
  84468. t1 = character === 13 && _this.peekChar$0() !== 10;
  84469. else
  84470. t1 = true;
  84471. if (t1) {
  84472. ++_this._line_scanner$_line;
  84473. _this._line_scanner$_column = 0;
  84474. } else {
  84475. t1 = _this._line_scanner$_column;
  84476. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  84477. }
  84478. },
  84479. scan$1(pattern) {
  84480. var t1, newlines, t2, _this = this;
  84481. if (!_this.super$StringScanner$scan(pattern))
  84482. return false;
  84483. t1 = _this.get$lastMatch();
  84484. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  84485. t1 = _this._line_scanner$_line;
  84486. t2 = newlines.length;
  84487. _this._line_scanner$_line = t1 + t2;
  84488. if (t2 === 0) {
  84489. t1 = _this._line_scanner$_column;
  84490. t2 = _this.get$lastMatch();
  84491. _this._line_scanner$_column = t1 + t2.pattern.length;
  84492. } else {
  84493. t1 = _this.get$lastMatch();
  84494. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  84495. }
  84496. return true;
  84497. },
  84498. _newlinesIn$2$endPosition(text, endPosition) {
  84499. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  84500. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  84501. t1 = this.string;
  84502. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  84503. B.JSArray_methods.removeLast$0(newlines);
  84504. return newlines;
  84505. }
  84506. };
  84507. A.SpanScanner.prototype = {
  84508. set$state(state) {
  84509. if (state._scanner !== this)
  84510. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  84511. this.set$position(state.position);
  84512. },
  84513. spanFrom$2(startState, endState) {
  84514. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  84515. return this._sourceFile.span$2(0, startState.position, endPosition);
  84516. },
  84517. spanFrom$1(startState) {
  84518. return this.spanFrom$2(startState, null);
  84519. },
  84520. matches$1(pattern) {
  84521. var t1, t2, _this = this;
  84522. if (!_this.super$StringScanner$matches(pattern))
  84523. return false;
  84524. t1 = _this._string_scanner$_position;
  84525. t2 = _this.get$lastMatch();
  84526. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  84527. return true;
  84528. },
  84529. error$3$length$position(_, message, $length, position) {
  84530. var match, t2, _this = this,
  84531. t1 = _this.string;
  84532. A.validateErrorArgs(t1, null, position, $length);
  84533. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84534. if (position == null)
  84535. position = match == null ? _this._string_scanner$_position : match.start;
  84536. if ($length == null)
  84537. if (match == null)
  84538. $length = 0;
  84539. else {
  84540. t2 = match.start;
  84541. $length = t2 + match.pattern.length - t2;
  84542. }
  84543. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  84544. },
  84545. error$1(_, message) {
  84546. return this.error$3$length$position(0, message, null, null);
  84547. },
  84548. error$2$position(_, message, position) {
  84549. return this.error$3$length$position(0, message, null, position);
  84550. },
  84551. error$2$length(_, message, $length) {
  84552. return this.error$3$length$position(0, message, $length, null);
  84553. }
  84554. };
  84555. A._SpanScannerState.prototype = {};
  84556. A.StringScanner.prototype = {
  84557. set$position(position) {
  84558. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  84559. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  84560. this._string_scanner$_position = position;
  84561. this._lastMatch = null;
  84562. },
  84563. get$lastMatch() {
  84564. var _this = this;
  84565. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  84566. _this._lastMatch = null;
  84567. return _this._lastMatch;
  84568. },
  84569. readChar$0() {
  84570. var _this = this,
  84571. t1 = _this.string;
  84572. if (_this._string_scanner$_position === t1.length)
  84573. _this._fail$1("more input");
  84574. return t1.charCodeAt(_this._string_scanner$_position++);
  84575. },
  84576. peekChar$1(offset) {
  84577. var index;
  84578. if (offset == null)
  84579. offset = 0;
  84580. index = this._string_scanner$_position + offset;
  84581. if (index < 0 || index >= this.string.length)
  84582. return null;
  84583. return this.string.charCodeAt(index);
  84584. },
  84585. peekChar$0() {
  84586. return this.peekChar$1(null);
  84587. },
  84588. scanChar$1(character) {
  84589. var t1, t2, t3, t4, _this = this;
  84590. if (character >= 65536 && character <= 1114111) {
  84591. t1 = _this._string_scanner$_position;
  84592. t2 = t1 + 1;
  84593. t3 = _this.string;
  84594. if (t2 < t3.length) {
  84595. t4 = character - 65536;
  84596. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  84597. } else
  84598. t2 = true;
  84599. if (t2)
  84600. return false;
  84601. else {
  84602. _this._string_scanner$_position = t1 + 2;
  84603. return true;
  84604. }
  84605. } else {
  84606. t1 = _this._string_scanner$_position;
  84607. t2 = _this.string;
  84608. if (t1 === t2.length)
  84609. return false;
  84610. if (t2.charCodeAt(t1) !== character)
  84611. return false;
  84612. _this._string_scanner$_position = t1 + 1;
  84613. return true;
  84614. }
  84615. },
  84616. expectChar$2$name(character, $name) {
  84617. if (this.scanChar$1(character))
  84618. return;
  84619. if ($name == null)
  84620. if (character === 92)
  84621. $name = '"\\"';
  84622. else
  84623. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  84624. this._fail$1($name);
  84625. },
  84626. expectChar$1(character) {
  84627. return this.expectChar$2$name(character, null);
  84628. },
  84629. scan$1(pattern) {
  84630. var t1, _this = this,
  84631. success = _this.matches$1(pattern);
  84632. if (success) {
  84633. t1 = _this._lastMatch;
  84634. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  84635. }
  84636. return success;
  84637. },
  84638. expect$1(pattern) {
  84639. var t1, $name;
  84640. if (this.scan$1(pattern))
  84641. return;
  84642. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  84643. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  84644. this._fail$1($name);
  84645. },
  84646. expectDone$0() {
  84647. if (this._string_scanner$_position === this.string.length)
  84648. return;
  84649. this._fail$1("no more input");
  84650. },
  84651. matches$1(pattern) {
  84652. var _this = this,
  84653. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  84654. _this._lastMatch = t1;
  84655. _this._lastMatchPosition = _this._string_scanner$_position;
  84656. return t1 != null;
  84657. },
  84658. substring$1(_, start) {
  84659. var end = this._string_scanner$_position;
  84660. return B.JSString_methods.substring$2(this.string, start, end);
  84661. },
  84662. error$3$length$position(_, message, $length, position) {
  84663. var match, t2, _this = this,
  84664. t1 = _this.string;
  84665. A.validateErrorArgs(t1, null, position, $length);
  84666. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84667. if (position == null)
  84668. position = match == null ? _this._string_scanner$_position : match.start;
  84669. if ($length == null)
  84670. if (match == null)
  84671. $length = 0;
  84672. else {
  84673. t2 = match.start;
  84674. $length = t2 + match.pattern.length - t2;
  84675. }
  84676. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  84677. },
  84678. error$1(_, message) {
  84679. return this.error$3$length$position(0, message, null, null);
  84680. },
  84681. _fail$1($name) {
  84682. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  84683. }
  84684. };
  84685. A.AsciiGlyphSet.prototype = {
  84686. glyphOrAscii$2(glyph, alternative) {
  84687. return alternative;
  84688. },
  84689. get$horizontalLine() {
  84690. return "-";
  84691. },
  84692. get$verticalLine() {
  84693. return "|";
  84694. },
  84695. get$topLeftCorner() {
  84696. return ",";
  84697. },
  84698. get$bottomLeftCorner() {
  84699. return "'";
  84700. },
  84701. get$cross() {
  84702. return "+";
  84703. },
  84704. get$upEnd() {
  84705. return "'";
  84706. },
  84707. get$downEnd() {
  84708. return ",";
  84709. },
  84710. get$horizontalLineBold() {
  84711. return "=";
  84712. }
  84713. };
  84714. A.UnicodeGlyphSet.prototype = {
  84715. glyphOrAscii$2(glyph, alternative) {
  84716. return glyph;
  84717. },
  84718. get$horizontalLine() {
  84719. return "\u2500";
  84720. },
  84721. get$verticalLine() {
  84722. return "\u2502";
  84723. },
  84724. get$topLeftCorner() {
  84725. return "\u250c";
  84726. },
  84727. get$bottomLeftCorner() {
  84728. return "\u2514";
  84729. },
  84730. get$cross() {
  84731. return "\u253c";
  84732. },
  84733. get$upEnd() {
  84734. return "\u2575";
  84735. },
  84736. get$downEnd() {
  84737. return "\u2577";
  84738. },
  84739. get$horizontalLineBold() {
  84740. return "\u2501";
  84741. }
  84742. };
  84743. A.WatchEvent.prototype = {
  84744. toString$0(_) {
  84745. return this.type.toString$0(0) + " " + this.path;
  84746. }
  84747. };
  84748. A.ChangeType.prototype = {
  84749. toString$0(_) {
  84750. return this._watch_event$_name;
  84751. }
  84752. };
  84753. A.A98RgbColorSpace0.prototype = {
  84754. get$isBoundedInternal() {
  84755. return true;
  84756. },
  84757. toLinear$1(channel) {
  84758. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  84759. },
  84760. fromLinear$1(channel) {
  84761. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  84762. },
  84763. transformationMatrix$1(dest) {
  84764. var t1;
  84765. $label0$0: {
  84766. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  84767. t1 = $.$get$linearA98RgbToLinearSrgb0();
  84768. break $label0$0;
  84769. }
  84770. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  84771. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  84772. break $label0$0;
  84773. }
  84774. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  84775. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  84776. break $label0$0;
  84777. }
  84778. if (B.Rec2020ColorSpace_6oo0 === dest) {
  84779. t1 = $.$get$linearA98RgbToLinearRec20200();
  84780. break $label0$0;
  84781. }
  84782. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  84783. t1 = $.$get$linearA98RgbToXyzD650();
  84784. break $label0$0;
  84785. }
  84786. if (B.XyzD50ColorSpace_2OB0 === dest) {
  84787. t1 = $.$get$linearA98RgbToXyzD500();
  84788. break $label0$0;
  84789. }
  84790. if (B.LmsColorSpace_Os30 === dest) {
  84791. t1 = $.$get$linearA98RgbToLms0();
  84792. break $label0$0;
  84793. }
  84794. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  84795. break $label0$0;
  84796. }
  84797. return t1;
  84798. }
  84799. };
  84800. A.AnySelectorVisitor0.prototype = {
  84801. visitComplexSelector$1(complex) {
  84802. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  84803. },
  84804. visitCompoundSelector$1(compound) {
  84805. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  84806. },
  84807. visitPseudoSelector$1(pseudo) {
  84808. var selector = pseudo.selector;
  84809. return selector == null ? false : this.visitSelectorList$1(selector);
  84810. },
  84811. visitSelectorList$1(list) {
  84812. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  84813. },
  84814. visitAttributeSelector$1(attribute) {
  84815. return false;
  84816. },
  84817. visitClassSelector$1(klass) {
  84818. return false;
  84819. },
  84820. visitIDSelector$1(id) {
  84821. return false;
  84822. },
  84823. visitParentSelector$1($parent) {
  84824. return false;
  84825. },
  84826. visitPlaceholderSelector$1(placeholder) {
  84827. return false;
  84828. },
  84829. visitTypeSelector$1(type) {
  84830. return false;
  84831. },
  84832. visitUniversalSelector$1(universal) {
  84833. return false;
  84834. }
  84835. };
  84836. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  84837. call$1(component) {
  84838. return this.$this.visitCompoundSelector$1(component.selector);
  84839. },
  84840. $signature: 55
  84841. };
  84842. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  84843. call$1(simple) {
  84844. return simple.accept$1(this.$this);
  84845. },
  84846. $signature: 13
  84847. };
  84848. A.SupportsAnything0.prototype = {
  84849. toInterpolation$0() {
  84850. var t1 = new A.StringBuffer(""),
  84851. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  84852. t3 = this.span,
  84853. t4 = this.contents,
  84854. t5 = t4.span,
  84855. t6 = A.SpanExtensions_before(t3, t5);
  84856. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  84857. t1._contents += t6;
  84858. t2.addInterpolation$1(t4);
  84859. t5 = A.SpanExtensions_after(t3, t5);
  84860. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  84861. t1._contents += t5;
  84862. return t2.interpolation$1(t3);
  84863. },
  84864. withSpan$1(span) {
  84865. return new A.SupportsAnything0(this.contents, span);
  84866. },
  84867. toString$0(_) {
  84868. return "(" + this.contents.toString$0(0) + ")";
  84869. },
  84870. $isAstNode0: 1,
  84871. $isSassNode: 1,
  84872. $isSupportsCondition: 1,
  84873. get$span(receiver) {
  84874. return this.span;
  84875. }
  84876. };
  84877. A.ArgumentList0.prototype = {
  84878. get$isEmpty(_) {
  84879. var t1;
  84880. if (this.positional.length === 0) {
  84881. t1 = this.named;
  84882. t1 = t1.get$isEmpty(t1) && this.rest == null;
  84883. } else
  84884. t1 = false;
  84885. return t1;
  84886. },
  84887. toString$0(_) {
  84888. var t2, t3, _i, _1_0, _2_0, _this = this,
  84889. t1 = A._setArrayType([], type$.JSArray_String);
  84890. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  84891. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  84892. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  84893. t3 = t2.get$current(t2);
  84894. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  84895. }
  84896. _1_0 = _this.rest;
  84897. if (_1_0 != null)
  84898. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  84899. _2_0 = _this.keywordRest;
  84900. if (_2_0 != null)
  84901. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  84902. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  84903. },
  84904. _argument_list0$_parenthesizeArgument$1(argument) {
  84905. var t1;
  84906. $label0$0: {
  84907. if (argument instanceof A.ListExpression0 && B.ListSeparator_qVN0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  84908. t1 = "(" + argument.toString$0(0) + ")";
  84909. break $label0$0;
  84910. }
  84911. t1 = argument.toString$0(0);
  84912. break $label0$0;
  84913. }
  84914. return t1;
  84915. },
  84916. $isAstNode0: 1,
  84917. $isSassNode: 1,
  84918. get$span(receiver) {
  84919. return this.span;
  84920. }
  84921. };
  84922. A.argumentListClass_closure.prototype = {
  84923. call$0() {
  84924. var t1 = type$.JSClass,
  84925. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  84926. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  84927. 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);
  84928. return jsClass;
  84929. },
  84930. $signature: 15
  84931. };
  84932. A.argumentListClass__closure.prototype = {
  84933. call$4($self, contents, keywords, separator) {
  84934. var t3,
  84935. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  84936. t2 = type$.Value_2;
  84937. t1 = J.cast$1$0$ax(t1, t2);
  84938. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  84939. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  84940. },
  84941. call$3($self, contents, keywords) {
  84942. return this.call$4($self, contents, keywords, ",");
  84943. },
  84944. "call*": "call$4",
  84945. $requiredArgCount: 3,
  84946. $defaultValues() {
  84947. return [","];
  84948. },
  84949. $signature: 304
  84950. };
  84951. A.argumentListClass__closure0.prototype = {
  84952. call$1($self) {
  84953. $self._argument_list$_wereKeywordsAccessed = true;
  84954. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  84955. },
  84956. $signature: 305
  84957. };
  84958. A.SassArgumentList0.prototype = {};
  84959. A.JSArray1.prototype = {};
  84960. A.AsyncImporter0.prototype = {
  84961. isNonCanonicalScheme$1(scheme) {
  84962. return false;
  84963. }
  84964. };
  84965. A.JSToDartAsyncImporter.prototype = {
  84966. canonicalize$1(_, url) {
  84967. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  84968. },
  84969. canonicalize$body$JSToDartAsyncImporter(_, url) {
  84970. var $async$goto = 0,
  84971. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  84972. $async$returnValue, $async$self = this, t1, result;
  84973. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84974. if ($async$errorCode === 1)
  84975. return A._asyncRethrow($async$result, $async$completer);
  84976. while (true)
  84977. switch ($async$goto) {
  84978. case 0:
  84979. // Function start
  84980. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  84981. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  84982. break;
  84983. case 3:
  84984. // then
  84985. $async$goto = 5;
  84986. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  84987. case 5:
  84988. // returning from await.
  84989. result = $async$result;
  84990. case 4:
  84991. // join
  84992. if (result == null) {
  84993. $async$returnValue = null;
  84994. // goto return
  84995. $async$goto = 1;
  84996. break;
  84997. }
  84998. t1 = self.URL;
  84999. if (result instanceof t1) {
  85000. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85001. // goto return
  85002. $async$goto = 1;
  85003. break;
  85004. }
  85005. A.jsThrow(new self.Error(string$.The_ca));
  85006. case 1:
  85007. // return
  85008. return A._asyncReturn($async$returnValue, $async$completer);
  85009. }
  85010. });
  85011. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85012. },
  85013. load$1(_, url) {
  85014. return this.load$body$JSToDartAsyncImporter(0, url);
  85015. },
  85016. load$body$JSToDartAsyncImporter(_, url) {
  85017. var $async$goto = 0,
  85018. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85019. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85020. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85021. if ($async$errorCode === 1)
  85022. return A._asyncRethrow($async$result, $async$completer);
  85023. while (true)
  85024. switch ($async$goto) {
  85025. case 0:
  85026. // Function start
  85027. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85028. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85029. break;
  85030. case 3:
  85031. // then
  85032. $async$goto = 5;
  85033. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85034. case 5:
  85035. // returning from await.
  85036. result = $async$result;
  85037. case 4:
  85038. // join
  85039. if (result == null) {
  85040. $async$returnValue = null;
  85041. // goto return
  85042. $async$goto = 1;
  85043. break;
  85044. }
  85045. type$.JSImporterResult._as(result);
  85046. t1 = J.getInterceptor$x(result);
  85047. contents = t1.get$contents(result);
  85048. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85049. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85050. syntax = t1.get$syntax(result);
  85051. if (contents == null || syntax == null)
  85052. A.jsThrow(new self.Error(string$.The_lo));
  85053. t2 = A.parseSyntax(syntax);
  85054. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85055. // goto return
  85056. $async$goto = 1;
  85057. break;
  85058. case 1:
  85059. // return
  85060. return A._asyncReturn($async$returnValue, $async$completer);
  85061. }
  85062. });
  85063. return A._asyncStartSync($async$load$1, $async$completer);
  85064. },
  85065. isNonCanonicalScheme$1(scheme) {
  85066. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85067. }
  85068. };
  85069. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85070. call$0() {
  85071. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85072. },
  85073. $signature: 33
  85074. };
  85075. A.JSToDartAsyncImporter_load_closure.prototype = {
  85076. call$0() {
  85077. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85078. },
  85079. $signature: 33
  85080. };
  85081. A.AsyncBuiltInCallable0.prototype = {
  85082. callbackFor$2(positional, names) {
  85083. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85084. },
  85085. withDeprecationWarning$1(module) {
  85086. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85087. },
  85088. $isAsyncCallable0: 1,
  85089. get$name(receiver) {
  85090. return this.name;
  85091. },
  85092. get$acceptsContent() {
  85093. return this.acceptsContent;
  85094. }
  85095. };
  85096. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85097. call$1($arguments) {
  85098. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85099. },
  85100. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85101. var $async$goto = 0,
  85102. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85103. $async$returnValue, $async$self = this, t1;
  85104. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85105. if ($async$errorCode === 1)
  85106. return A._asyncRethrow($async$result, $async$completer);
  85107. while (true)
  85108. switch ($async$goto) {
  85109. case 0:
  85110. // Function start
  85111. t1 = $async$self.callback.call$1($arguments);
  85112. $async$goto = 3;
  85113. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85114. case 3:
  85115. // returning from await.
  85116. $async$returnValue = B.C__SassNull0;
  85117. // goto return
  85118. $async$goto = 1;
  85119. break;
  85120. case 1:
  85121. // return
  85122. return A._asyncReturn($async$returnValue, $async$completer);
  85123. }
  85124. });
  85125. return A._asyncStartSync($async$call$1, $async$completer);
  85126. },
  85127. $signature: 99
  85128. };
  85129. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85130. call$1(args) {
  85131. var t1 = this.$this;
  85132. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_ZDV);
  85133. return t1._async_built_in0$_callback.call$1(args);
  85134. },
  85135. $signature: 308
  85136. };
  85137. A._compileStylesheet_closure2.prototype = {
  85138. call$1(url) {
  85139. 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);
  85140. },
  85141. $signature: 6
  85142. };
  85143. A.AsyncEnvironment0.prototype = {
  85144. closure$0() {
  85145. var t4, t5, t6, _this = this,
  85146. t1 = _this._async_environment0$_forwardedModules,
  85147. t2 = _this._async_environment0$_nestedForwardedModules,
  85148. t3 = _this._async_environment0$_variables;
  85149. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85150. t4 = _this._async_environment0$_variableNodes;
  85151. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85152. t5 = _this._async_environment0$_functions;
  85153. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85154. t6 = _this._async_environment0$_mixins;
  85155. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85156. 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);
  85157. },
  85158. forwardModule$2(module, rule) {
  85159. var view, t1, t2, _this = this,
  85160. forwardedModules = _this._async_environment0$_forwardedModules;
  85161. if (forwardedModules == null)
  85162. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85163. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85164. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  85165. t2 = t1.__js_helper$_current;
  85166. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85167. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85168. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85169. }
  85170. _this._async_environment0$_allModules.push(module);
  85171. forwardedModules.$indexSet(0, view, rule);
  85172. },
  85173. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85174. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85175. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85176. larger = oldMembers;
  85177. smaller = newMembers;
  85178. } else {
  85179. larger = newMembers;
  85180. smaller = oldMembers;
  85181. }
  85182. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85183. t4 = t2.get$current(t2);
  85184. $name = t4._0;
  85185. small = t4._1;
  85186. large = larger.$index(0, $name);
  85187. if (large == null)
  85188. continue;
  85189. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85190. continue;
  85191. if (t3)
  85192. $name = "$" + $name;
  85193. t2 = this._async_environment0$_forwardedModules;
  85194. if (t2 == null)
  85195. span = null;
  85196. else {
  85197. t2 = t2.$index(0, oldModule);
  85198. span = t2 == null ? null : t2.get$span(t2);
  85199. }
  85200. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85201. if (span != null)
  85202. t2.$indexSet(0, span, "original @forward");
  85203. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85204. }
  85205. },
  85206. importForwards$1(module) {
  85207. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85208. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85209. if (forwarded == null)
  85210. return;
  85211. forwardedModules = _this._async_environment0$_forwardedModules;
  85212. if (forwardedModules != null) {
  85213. t1 = type$.Module_AsyncCallable_2;
  85214. t2 = type$.AstNode_2;
  85215. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85216. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85217. t4 = t1.get$current(t1);
  85218. module = t4._0;
  85219. node = t4._1;
  85220. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85221. t3.$indexSet(0, module, node);
  85222. }
  85223. forwarded = t3;
  85224. } else
  85225. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85226. t1 = type$.String;
  85227. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85228. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  85229. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  85230. t2.add$1(0, t4.get$current(t4));
  85231. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85232. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  85233. t5 = t4.__js_helper$_current;
  85234. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85235. t3.add$1(0, t5.get$current(t5));
  85236. }
  85237. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85238. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  85239. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85240. t1.add$1(0, t5.get$current(t5));
  85241. t4 = _this._async_environment0$_variables;
  85242. t5 = t4.length;
  85243. if (t5 === 1) {
  85244. 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) {
  85245. t11 = t8[_i];
  85246. module = t11._0;
  85247. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85248. if (shadowed != null) {
  85249. t5.remove$1(0, module);
  85250. t12 = shadowed.variables;
  85251. t13 = false;
  85252. if (t12.get$isEmpty(t12)) {
  85253. t12 = shadowed.functions;
  85254. if (t12.get$isEmpty(t12)) {
  85255. t12 = shadowed.mixins;
  85256. if (t12.get$isEmpty(t12)) {
  85257. t12 = shadowed._shadowed_view0$_inner;
  85258. t12 = t12.get$css(t12);
  85259. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85260. } else
  85261. t12 = t13;
  85262. } else
  85263. t12 = t13;
  85264. } else
  85265. t12 = t13;
  85266. if (!t12)
  85267. t5.$indexSet(0, shadowed, t11._1);
  85268. }
  85269. }
  85270. 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) {
  85271. t8 = t6[_i];
  85272. module = t8._0;
  85273. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85274. if (shadowed != null) {
  85275. forwardedModules.remove$1(0, module);
  85276. t9 = shadowed.variables;
  85277. t11 = false;
  85278. if (t9.get$isEmpty(t9)) {
  85279. t9 = shadowed.functions;
  85280. if (t9.get$isEmpty(t9)) {
  85281. t9 = shadowed.mixins;
  85282. if (t9.get$isEmpty(t9)) {
  85283. t9 = shadowed._shadowed_view0$_inner;
  85284. t9 = t9.get$css(t9);
  85285. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85286. } else
  85287. t9 = t11;
  85288. } else
  85289. t9 = t11;
  85290. } else
  85291. t9 = t11;
  85292. if (!t9)
  85293. forwardedModules.$indexSet(0, shadowed, t8._1);
  85294. }
  85295. }
  85296. t5.addAll$1(0, forwarded);
  85297. forwardedModules.addAll$1(0, forwarded);
  85298. } else {
  85299. t6 = _this._async_environment0$_nestedForwardedModules;
  85300. if (t6 == null) {
  85301. _length = t5 - 1;
  85302. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85303. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85304. _list[_i] = A._setArrayType([], t5);
  85305. _this._async_environment0$_nestedForwardedModules = _list;
  85306. t5 = _list;
  85307. } else
  85308. t5 = t6;
  85309. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85310. }
  85311. 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();) {
  85312. t8 = t2._collection$_current;
  85313. if (t8 == null)
  85314. t8 = t7._as(t8);
  85315. t5.remove$1(0, t8);
  85316. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  85317. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  85318. }
  85319. 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();) {
  85320. t6 = t2._collection$_current;
  85321. if (t6 == null)
  85322. t6 = t5._as(t6);
  85323. t3.remove$1(0, t6);
  85324. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  85325. }
  85326. 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();) {
  85327. t5 = t1._collection$_current;
  85328. if (t5 == null)
  85329. t5 = t4._as(t5);
  85330. t2.remove$1(0, t5);
  85331. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  85332. }
  85333. },
  85334. getVariable$2$namespace($name, namespace) {
  85335. var t1, _0_0, _1_0, _this = this;
  85336. if (namespace != null)
  85337. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85338. if (_this._async_environment0$_lastVariableName === $name) {
  85339. t1 = _this._async_environment0$_lastVariableIndex;
  85340. t1.toString;
  85341. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85342. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85343. }
  85344. t1 = _this._async_environment0$_variableIndices;
  85345. _0_0 = t1.$index(0, $name);
  85346. if (_0_0 != null) {
  85347. _this._async_environment0$_lastVariableName = $name;
  85348. _this._async_environment0$_lastVariableIndex = _0_0;
  85349. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85350. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85351. } else {
  85352. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85353. if (_1_0 != null) {
  85354. _this._async_environment0$_lastVariableName = $name;
  85355. _this._async_environment0$_lastVariableIndex = _1_0;
  85356. t1.$indexSet(0, $name, _1_0);
  85357. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85358. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85359. } else
  85360. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85361. }
  85362. },
  85363. getVariable$1($name) {
  85364. return this.getVariable$2$namespace($name, null);
  85365. },
  85366. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85367. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85368. },
  85369. getVariableNode$2$namespace($name, namespace) {
  85370. var t1, _0_0, _1_0, _this = this;
  85371. if (namespace != null)
  85372. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  85373. if (_this._async_environment0$_lastVariableName === $name) {
  85374. t1 = _this._async_environment0$_lastVariableIndex;
  85375. t1.toString;
  85376. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  85377. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85378. }
  85379. t1 = _this._async_environment0$_variableIndices;
  85380. _0_0 = t1.$index(0, $name);
  85381. if (_0_0 != null) {
  85382. _this._async_environment0$_lastVariableName = $name;
  85383. _this._async_environment0$_lastVariableIndex = _0_0;
  85384. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  85385. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85386. } else {
  85387. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85388. if (_1_0 != null) {
  85389. _this._async_environment0$_lastVariableName = $name;
  85390. _this._async_environment0$_lastVariableIndex = _1_0;
  85391. t1.$indexSet(0, $name, _1_0);
  85392. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  85393. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85394. } else
  85395. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  85396. }
  85397. },
  85398. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  85399. var t1, t2, _0_0;
  85400. 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();) {
  85401. t1 = t2._currentIterator;
  85402. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  85403. if (_0_0 != null)
  85404. return _0_0;
  85405. }
  85406. return null;
  85407. },
  85408. globalVariableExists$2$namespace($name, namespace) {
  85409. if (namespace != null)
  85410. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  85411. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  85412. return true;
  85413. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  85414. },
  85415. globalVariableExists$1($name) {
  85416. return this.globalVariableExists$2$namespace($name, null);
  85417. },
  85418. _async_environment0$_variableIndex$1($name) {
  85419. var t1, i;
  85420. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  85421. if (t1[i].containsKey$1($name))
  85422. return i;
  85423. return null;
  85424. },
  85425. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  85426. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  85427. if (namespace != null) {
  85428. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  85429. return;
  85430. }
  85431. if (global || _this._async_environment0$_variables.length === 1) {
  85432. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  85433. t1 = _this._async_environment0$_variables;
  85434. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  85435. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  85436. if (moduleWithName != null) {
  85437. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  85438. return;
  85439. }
  85440. }
  85441. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  85442. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  85443. return;
  85444. }
  85445. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  85446. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  85447. 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();) {
  85448. t3 = t2.__internal$_current;
  85449. 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();) {
  85450. t5 = t3.__internal$_current;
  85451. if (t5 == null)
  85452. t5 = t4._as(t5);
  85453. if (t5.get$variables().containsKey$1($name)) {
  85454. t5.setVariable$3($name, value, nodeWithSpan);
  85455. return;
  85456. }
  85457. }
  85458. }
  85459. if (_this._async_environment0$_lastVariableName === $name) {
  85460. t1 = _this._async_environment0$_lastVariableIndex;
  85461. t1.toString;
  85462. index = t1;
  85463. } else
  85464. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  85465. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  85466. index = _this._async_environment0$_variables.length - 1;
  85467. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85468. }
  85469. _this._async_environment0$_lastVariableName = $name;
  85470. _this._async_environment0$_lastVariableIndex = index;
  85471. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  85472. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85473. },
  85474. setVariable$4$global($name, value, nodeWithSpan, global) {
  85475. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  85476. },
  85477. setLocalVariable$3($name, value, nodeWithSpan) {
  85478. var index, _this = this,
  85479. t1 = _this._async_environment0$_variables,
  85480. t2 = t1.length;
  85481. _this._async_environment0$_lastVariableName = $name;
  85482. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  85483. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85484. t1[index].$indexSet(0, $name, value);
  85485. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85486. },
  85487. getFunction$2$namespace($name, namespace) {
  85488. var t1, _0_0, _1_0, _this = this;
  85489. if (namespace != null) {
  85490. t1 = _this._async_environment0$_getModule$1(namespace);
  85491. return t1.get$functions(t1).$index(0, $name);
  85492. }
  85493. t1 = _this._async_environment0$_functionIndices;
  85494. _0_0 = t1.$index(0, $name);
  85495. if (_0_0 != null) {
  85496. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  85497. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85498. } else {
  85499. _1_0 = _this._async_environment0$_functionIndex$1($name);
  85500. if (_1_0 != null) {
  85501. t1.$indexSet(0, $name, _1_0);
  85502. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  85503. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85504. } else
  85505. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  85506. }
  85507. },
  85508. getFunction$1($name) {
  85509. return this.getFunction$2$namespace($name, null);
  85510. },
  85511. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  85512. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  85513. },
  85514. _async_environment0$_functionIndex$1($name) {
  85515. var t1, i;
  85516. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  85517. if (t1[i].containsKey$1($name))
  85518. return i;
  85519. return null;
  85520. },
  85521. getMixin$2$namespace($name, namespace) {
  85522. var t1, _0_0, _1_0, _this = this;
  85523. if (namespace != null)
  85524. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  85525. t1 = _this._async_environment0$_mixinIndices;
  85526. _0_0 = t1.$index(0, $name);
  85527. if (_0_0 != null) {
  85528. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  85529. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85530. } else {
  85531. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  85532. if (_1_0 != null) {
  85533. t1.$indexSet(0, $name, _1_0);
  85534. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  85535. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85536. } else
  85537. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  85538. }
  85539. },
  85540. _async_environment0$_getMixinFromGlobalModule$1($name) {
  85541. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  85542. },
  85543. _async_environment0$_mixinIndex$1($name) {
  85544. var t1, i;
  85545. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  85546. if (t1[i].containsKey$1($name))
  85547. return i;
  85548. return null;
  85549. },
  85550. withContent$2($content, callback) {
  85551. return this.withContent$body$AsyncEnvironment0($content, callback);
  85552. },
  85553. withContent$body$AsyncEnvironment0($content, callback) {
  85554. var $async$goto = 0,
  85555. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85556. $async$self = this, oldContent;
  85557. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85558. if ($async$errorCode === 1)
  85559. return A._asyncRethrow($async$result, $async$completer);
  85560. while (true)
  85561. switch ($async$goto) {
  85562. case 0:
  85563. // Function start
  85564. oldContent = $async$self._async_environment0$_content;
  85565. $async$self._async_environment0$_content = $content;
  85566. $async$goto = 2;
  85567. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  85568. case 2:
  85569. // returning from await.
  85570. $async$self._async_environment0$_content = oldContent;
  85571. // implicit return
  85572. return A._asyncReturn(null, $async$completer);
  85573. }
  85574. });
  85575. return A._asyncStartSync($async$withContent$2, $async$completer);
  85576. },
  85577. asMixin$1(callback) {
  85578. var $async$goto = 0,
  85579. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85580. $async$self = this, oldInMixin;
  85581. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85582. if ($async$errorCode === 1)
  85583. return A._asyncRethrow($async$result, $async$completer);
  85584. while (true)
  85585. switch ($async$goto) {
  85586. case 0:
  85587. // Function start
  85588. oldInMixin = $async$self._async_environment0$_inMixin;
  85589. $async$self._async_environment0$_inMixin = true;
  85590. $async$goto = 2;
  85591. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  85592. case 2:
  85593. // returning from await.
  85594. $async$self._async_environment0$_inMixin = oldInMixin;
  85595. // implicit return
  85596. return A._asyncReturn(null, $async$completer);
  85597. }
  85598. });
  85599. return A._asyncStartSync($async$asMixin$1, $async$completer);
  85600. },
  85601. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  85602. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  85603. },
  85604. scope$1$1(callback, $T) {
  85605. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  85606. },
  85607. scope$1$2$when(callback, when, $T) {
  85608. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  85609. },
  85610. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  85611. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  85612. },
  85613. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  85614. var $async$goto = 0,
  85615. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85616. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  85617. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85618. if ($async$errorCode === 1) {
  85619. $async$errorStack.push($async$result);
  85620. $async$goto = $async$handler;
  85621. }
  85622. while (true)
  85623. switch ($async$goto) {
  85624. case 0:
  85625. // Function start
  85626. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  85627. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  85628. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  85629. $async$goto = !when ? 3 : 4;
  85630. break;
  85631. case 3:
  85632. // then
  85633. $async$handler = 5;
  85634. $async$goto = 8;
  85635. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85636. case 8:
  85637. // returning from await.
  85638. t1 = $async$result;
  85639. $async$returnValue = t1;
  85640. $async$next = [1];
  85641. // goto finally
  85642. $async$goto = 6;
  85643. break;
  85644. $async$next.push(7);
  85645. // goto finally
  85646. $async$goto = 6;
  85647. break;
  85648. case 5:
  85649. // uncaught
  85650. $async$next = [2];
  85651. case 6:
  85652. // finally
  85653. $async$handler = 2;
  85654. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85655. // goto the next finally handler
  85656. $async$goto = $async$next.pop();
  85657. break;
  85658. case 7:
  85659. // after finally
  85660. case 4:
  85661. // join
  85662. t1 = $async$self._async_environment0$_variables;
  85663. t2 = type$.String;
  85664. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  85665. t3 = $async$self._async_environment0$_variableNodes;
  85666. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  85667. t4 = $async$self._async_environment0$_functions;
  85668. t5 = type$.AsyncCallable_2;
  85669. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85670. t6 = $async$self._async_environment0$_mixins;
  85671. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85672. t5 = $async$self._async_environment0$_nestedForwardedModules;
  85673. if (t5 != null)
  85674. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  85675. $async$handler = 9;
  85676. $async$goto = 12;
  85677. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85678. case 12:
  85679. // returning from await.
  85680. t2 = $async$result;
  85681. $async$returnValue = t2;
  85682. $async$next = [1];
  85683. // goto finally
  85684. $async$goto = 10;
  85685. break;
  85686. $async$next.push(11);
  85687. // goto finally
  85688. $async$goto = 10;
  85689. break;
  85690. case 9:
  85691. // uncaught
  85692. $async$next = [2];
  85693. case 10:
  85694. // finally
  85695. $async$handler = 2;
  85696. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85697. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  85698. 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();) {
  85699. $name = t1.get$current(t1);
  85700. t2.remove$1(0, $name);
  85701. }
  85702. B.JSArray_methods.removeLast$0(t3);
  85703. 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();) {
  85704. name0 = t1.get$current(t1);
  85705. t2.remove$1(0, name0);
  85706. }
  85707. 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();) {
  85708. name1 = t1.get$current(t1);
  85709. t2.remove$1(0, name1);
  85710. }
  85711. t1 = $async$self._async_environment0$_nestedForwardedModules;
  85712. if (t1 != null)
  85713. t1.pop();
  85714. // goto the next finally handler
  85715. $async$goto = $async$next.pop();
  85716. break;
  85717. case 11:
  85718. // after finally
  85719. case 1:
  85720. // return
  85721. return A._asyncReturn($async$returnValue, $async$completer);
  85722. case 2:
  85723. // rethrow
  85724. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  85725. }
  85726. });
  85727. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  85728. },
  85729. toImplicitConfiguration$0() {
  85730. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  85731. t1 = type$.String,
  85732. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  85733. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  85734. values = t2[i];
  85735. nodes = t4[i];
  85736. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  85737. t6 = t5.get$current(t5);
  85738. $name = t6._0;
  85739. value = t6._1;
  85740. t6 = nodes.$index(0, $name);
  85741. t6.toString;
  85742. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  85743. }
  85744. }
  85745. return new A.Configuration0(configuration, null);
  85746. },
  85747. toModule$3(css, preModuleComments, extensionStore) {
  85748. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  85749. },
  85750. toDummyModule$0() {
  85751. 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()));
  85752. },
  85753. _async_environment0$_getModule$1(namespace) {
  85754. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  85755. if (_0_0 != null)
  85756. return _0_0;
  85757. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  85758. },
  85759. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  85760. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  85761. _0_0 = this._async_environment0$_nestedForwardedModules;
  85762. if (_0_0 != null)
  85763. 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();) {
  85764. t3 = t2.__internal$_current;
  85765. 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();) {
  85766. t5 = t3.__internal$_current;
  85767. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  85768. if (_1_0 != null)
  85769. return _1_0;
  85770. }
  85771. }
  85772. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  85773. _2_0 = callback.call$1(t1.__js_helper$_current);
  85774. if (_2_0 != null)
  85775. return _2_0;
  85776. }
  85777. 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();) {
  85778. t4 = t2.__js_helper$_current;
  85779. valueInModule = callback.call$1(t4);
  85780. if (valueInModule == null)
  85781. continue;
  85782. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  85783. if (identityFromModule.$eq(0, identity))
  85784. continue;
  85785. if (value != null) {
  85786. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  85787. 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();) {
  85788. t1 = t3.get$current(t3);
  85789. module = t1._0;
  85790. node = t1._1;
  85791. if (callback.call$1(module) != null)
  85792. t2.$indexSet(0, node.get$span(node), t4);
  85793. }
  85794. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  85795. }
  85796. identity = identityFromModule;
  85797. value = valueInModule;
  85798. }
  85799. return value;
  85800. },
  85801. _async_environment0$_fromOneModule$3($name, type, callback) {
  85802. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  85803. }
  85804. };
  85805. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  85806. call$1(module) {
  85807. return module.get$variables().$index(0, this.name);
  85808. },
  85809. $signature: 309
  85810. };
  85811. A.AsyncEnvironment_setVariable_closure2.prototype = {
  85812. call$0() {
  85813. var t1 = this.$this;
  85814. t1._async_environment0$_lastVariableName = this.name;
  85815. return t1._async_environment0$_lastVariableIndex = 0;
  85816. },
  85817. $signature: 10
  85818. };
  85819. A.AsyncEnvironment_setVariable_closure3.prototype = {
  85820. call$1(module) {
  85821. return module.get$variables().containsKey$1(this.name) ? module : null;
  85822. },
  85823. $signature: 310
  85824. };
  85825. A.AsyncEnvironment_setVariable_closure4.prototype = {
  85826. call$0() {
  85827. var t1 = this.$this,
  85828. t2 = t1._async_environment0$_variableIndex$1(this.name);
  85829. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  85830. },
  85831. $signature: 10
  85832. };
  85833. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  85834. call$1(module) {
  85835. return module.get$functions(module).$index(0, this.name);
  85836. },
  85837. $signature: 245
  85838. };
  85839. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  85840. call$1(module) {
  85841. return module.get$mixins().$index(0, this.name);
  85842. },
  85843. $signature: 245
  85844. };
  85845. A.AsyncEnvironment_toModule_closure0.prototype = {
  85846. call$1(modules) {
  85847. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85848. },
  85849. $signature: 242
  85850. };
  85851. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  85852. call$1(modules) {
  85853. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85854. },
  85855. $signature: 242
  85856. };
  85857. A._EnvironmentModule2.prototype = {
  85858. get$url(_) {
  85859. var t1 = this.css;
  85860. return t1.get$span(t1).file.url;
  85861. },
  85862. setVariable$3($name, value, nodeWithSpan) {
  85863. var t1, t2,
  85864. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  85865. if (_0_0 != null) {
  85866. _0_0.setVariable$3($name, value, nodeWithSpan);
  85867. return;
  85868. }
  85869. t1 = this._async_environment0$_environment;
  85870. t2 = t1._async_environment0$_variables;
  85871. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  85872. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  85873. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  85874. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  85875. return;
  85876. },
  85877. variableIdentity$1($name) {
  85878. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  85879. return module == null ? this : module.variableIdentity$1($name);
  85880. },
  85881. cloneCss$0() {
  85882. var _0_0, _this = this;
  85883. if (!_this.transitivelyContainsCss)
  85884. return _this;
  85885. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  85886. 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);
  85887. },
  85888. toString$0(_) {
  85889. var t2,
  85890. t1 = this.css;
  85891. if (t1.get$span(t1).file.url == null)
  85892. t1 = "<unknown url>";
  85893. else {
  85894. t1 = t1.get$span(t1).file.url;
  85895. t2 = $.$get$context();
  85896. t1.toString;
  85897. t1 = t2.prettyUri$1(t1);
  85898. }
  85899. return t1;
  85900. },
  85901. $isModule1: 1,
  85902. get$upstream() {
  85903. return this.upstream;
  85904. },
  85905. get$variables() {
  85906. return this.variables;
  85907. },
  85908. get$variableNodes() {
  85909. return this.variableNodes;
  85910. },
  85911. get$functions(receiver) {
  85912. return this.functions;
  85913. },
  85914. get$mixins() {
  85915. return this.mixins;
  85916. },
  85917. get$extensionStore() {
  85918. return this.extensionStore;
  85919. },
  85920. get$css(receiver) {
  85921. return this.css;
  85922. },
  85923. get$preModuleComments() {
  85924. return this.preModuleComments;
  85925. },
  85926. get$transitivelyContainsCss() {
  85927. return this.transitivelyContainsCss;
  85928. },
  85929. get$transitivelyContainsExtensions() {
  85930. return this.transitivelyContainsExtensions;
  85931. }
  85932. };
  85933. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  85934. call$1(module) {
  85935. return module.get$variables();
  85936. },
  85937. $signature: 313
  85938. };
  85939. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  85940. call$1(module) {
  85941. return module.get$variableNodes();
  85942. },
  85943. $signature: 314
  85944. };
  85945. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  85946. call$1(module) {
  85947. return module.get$functions(module);
  85948. },
  85949. $signature: 239
  85950. };
  85951. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  85952. call$1(module) {
  85953. return module.get$mixins();
  85954. },
  85955. $signature: 239
  85956. };
  85957. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  85958. call$1(module) {
  85959. return module.get$transitivelyContainsCss();
  85960. },
  85961. $signature: 134
  85962. };
  85963. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  85964. call$1(module) {
  85965. return module.get$transitivelyContainsExtensions();
  85966. },
  85967. $signature: 134
  85968. };
  85969. A._EvaluateVisitor2.prototype = {
  85970. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  85971. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  85972. _s20_ = "$name, $module: null",
  85973. _s9_ = "sass:meta",
  85974. _s7_ = "$module",
  85975. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  85976. 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),
  85977. 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);
  85978. t1 = type$.AsyncBuiltInCallable_2;
  85979. t2 = A.List_List$of($.$get$moduleFunctions0(), true, t1);
  85980. B.JSArray_methods.addAll$1(t2, metaFunctions);
  85981. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  85982. 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) {
  85983. module = t1[_i];
  85984. t3.$indexSet(0, module.url, module);
  85985. }
  85986. t1 = type$.JSArray_AsyncCallable_2;
  85987. t2 = A._setArrayType([], t1);
  85988. B.JSArray_methods.addAll$1(t2, functions);
  85989. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  85990. t1 = A._setArrayType([], t1);
  85991. for (_i = 0; _i < 11; ++_i)
  85992. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  85993. B.JSArray_methods.addAll$1(t2, t1);
  85994. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  85995. $function = t2[_i];
  85996. t4 = $function.get$name($function);
  85997. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  85998. }
  85999. },
  86000. run$2(_, importer, node) {
  86001. return this.run$body$_EvaluateVisitor0(0, importer, node);
  86002. },
  86003. run$body$_EvaluateVisitor0(_, importer, node) {
  86004. var $async$goto = 0,
  86005. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86006. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86007. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86008. if ($async$errorCode === 1) {
  86009. $async$errorStack.push($async$result);
  86010. $async$goto = $async$handler;
  86011. }
  86012. while (true)
  86013. switch ($async$goto) {
  86014. case 0:
  86015. // Function start
  86016. $async$handler = 4;
  86017. t1 = type$.nullable_Object;
  86018. 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);
  86019. $async$goto = 7;
  86020. 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);
  86021. case 7:
  86022. // returning from await.
  86023. t1 = $async$result;
  86024. $async$returnValue = t1;
  86025. // goto return
  86026. $async$goto = 1;
  86027. break;
  86028. $async$handler = 2;
  86029. // goto after finally
  86030. $async$goto = 6;
  86031. break;
  86032. case 4:
  86033. // catch
  86034. $async$handler = 3;
  86035. $async$exception = $async$errorStack.pop();
  86036. t1 = A.unwrapException($async$exception);
  86037. if (t1 instanceof A.SassException0) {
  86038. error = t1;
  86039. stackTrace = A.getTraceFromException($async$exception);
  86040. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86041. } else
  86042. throw $async$exception;
  86043. // goto after finally
  86044. $async$goto = 6;
  86045. break;
  86046. case 3:
  86047. // uncaught
  86048. // goto rethrow
  86049. $async$goto = 2;
  86050. break;
  86051. case 6:
  86052. // after finally
  86053. case 1:
  86054. // return
  86055. return A._asyncReturn($async$returnValue, $async$completer);
  86056. case 2:
  86057. // rethrow
  86058. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86059. }
  86060. });
  86061. return A._asyncStartSync($async$run$2, $async$completer);
  86062. },
  86063. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86064. if (value != null)
  86065. return value;
  86066. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86067. },
  86068. _async_evaluate0$_assertInModule$2(value, $name) {
  86069. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86070. },
  86071. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86072. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86073. },
  86074. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86075. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86076. },
  86077. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86078. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86079. },
  86080. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86081. var $async$goto = 0,
  86082. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86083. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86084. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86085. if ($async$errorCode === 1)
  86086. return A._asyncRethrow($async$result, $async$completer);
  86087. while (true)
  86088. switch ($async$goto) {
  86089. case 0:
  86090. // Function start
  86091. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86092. t1 = {};
  86093. t1.builtInModule = null;
  86094. $async$goto = _0_0 != null ? 3 : 4;
  86095. break;
  86096. case 3:
  86097. // then
  86098. t1.builtInModule = _0_0;
  86099. if (configuration instanceof A.ExplicitConfiguration0) {
  86100. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86101. t2 = configuration.nodeWithSpan;
  86102. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86103. }
  86104. $async$goto = 5;
  86105. 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);
  86106. case 5:
  86107. // returning from await.
  86108. // goto return
  86109. $async$goto = 1;
  86110. break;
  86111. case 4:
  86112. // join
  86113. $async$goto = 6;
  86114. 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);
  86115. case 6:
  86116. // returning from await.
  86117. case 1:
  86118. // return
  86119. return A._asyncReturn($async$returnValue, $async$completer);
  86120. }
  86121. });
  86122. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86123. },
  86124. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86125. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86126. },
  86127. _async_evaluate0$_execute$2(importer, stylesheet) {
  86128. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86129. },
  86130. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86131. var $async$goto = 0,
  86132. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86133. $async$returnValue, $async$self = this, currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  86134. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86135. if ($async$errorCode === 1)
  86136. return A._asyncRethrow($async$result, $async$completer);
  86137. while (true)
  86138. switch ($async$goto) {
  86139. case 0:
  86140. // Function start
  86141. url = stylesheet.span.file.url;
  86142. t1 = $async$self._async_evaluate0$_modules;
  86143. _0_0 = t1.$index(0, url);
  86144. if (_0_0 != null) {
  86145. t1 = configuration == null;
  86146. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86147. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86148. t3 = t2._configuration0$__originalConfiguration;
  86149. t2 = t3 == null ? t2 : t3;
  86150. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86151. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  86152. if (namesInErrors) {
  86153. t2 = $.$get$context();
  86154. url.toString;
  86155. message = t2.prettyUri$1(url) + string$.x20was_a;
  86156. } else
  86157. message = string$.This_mw;
  86158. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86159. existingSpan = t2 == null ? null : t2.get$span(t2);
  86160. if (t1) {
  86161. t1 = currentConfiguration.nodeWithSpan;
  86162. configurationSpan = t1.get$span(t1);
  86163. } else
  86164. configurationSpan = null;
  86165. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86166. if (existingSpan != null)
  86167. t1.$indexSet(0, existingSpan, "original load");
  86168. if (configurationSpan != null)
  86169. t1.$indexSet(0, configurationSpan, "configuration");
  86170. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86171. }
  86172. $async$returnValue = _0_0;
  86173. // goto return
  86174. $async$goto = 1;
  86175. break;
  86176. }
  86177. environment = A.AsyncEnvironment$0();
  86178. css = A._Cell$();
  86179. preModuleComments = A._Cell$();
  86180. extensionStore = A.ExtensionStore$0();
  86181. $async$goto = 3;
  86182. 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);
  86183. case 3:
  86184. // returning from await.
  86185. t2 = css._readLocal$0();
  86186. t3 = preModuleComments._readLocal$0();
  86187. module = environment.toModule$3(t2, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86188. if (url != null) {
  86189. t1.$indexSet(0, url, module);
  86190. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  86191. if (nodeWithSpan != null)
  86192. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86193. }
  86194. $async$returnValue = module;
  86195. // goto return
  86196. $async$goto = 1;
  86197. break;
  86198. case 1:
  86199. // return
  86200. return A._asyncReturn($async$returnValue, $async$completer);
  86201. }
  86202. });
  86203. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86204. },
  86205. _async_evaluate0$_addOutOfOrderImports$0() {
  86206. var t1, t2, _this = this, _s5_ = "_root",
  86207. _s13_ = "_endOfImports",
  86208. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86209. $label0$0: {
  86210. if (_0_0 == null) {
  86211. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86212. break $label0$0;
  86213. }
  86214. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86215. 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);
  86216. B.JSArray_methods.addAll$1(t1, _0_0);
  86217. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86218. 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")));
  86219. break $label0$0;
  86220. }
  86221. return t1;
  86222. },
  86223. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86224. var selectors, _0_0, t1, imports, css, sorted, t2;
  86225. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86226. selectors = root.get$extensionStore().get$simpleSelectors();
  86227. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86228. if (_0_0 != null)
  86229. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86230. return root.get$css(root);
  86231. }
  86232. t1 = type$.JSArray_CssNode_2;
  86233. imports = A._setArrayType([], t1);
  86234. css = A._setArrayType([], t1);
  86235. t1 = type$.Module_AsyncCallable_2;
  86236. sorted = A.ListQueue$(t1);
  86237. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86238. if (root.get$transitivelyContainsExtensions())
  86239. this._async_evaluate0$_extendModules$1(sorted);
  86240. t1 = B.JSArray_methods.$add(imports, css);
  86241. t2 = root.get$css(root);
  86242. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86243. },
  86244. _async_evaluate0$_combineCss$1(root) {
  86245. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86246. },
  86247. _async_evaluate0$_extendModules$1(sortedModules) {
  86248. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86249. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86250. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86251. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86252. t3 = t1._collection$_current;
  86253. if (t3 == null)
  86254. t3 = t2._as(t3);
  86255. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86256. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86257. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86258. t4 = t3.get$extensionStore().get$addExtensions();
  86259. if ($self != null)
  86260. t4.call$1($self);
  86261. t4 = t3.get$extensionStore();
  86262. if (t4.get$isEmpty(t4))
  86263. continue;
  86264. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86265. upstream = t4[_i];
  86266. _0_0 = upstream.get$url(upstream);
  86267. if (_0_0 != null)
  86268. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86269. }
  86270. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86271. }
  86272. if (unsatisfiedExtensions._collection$_length !== 0)
  86273. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86274. },
  86275. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86276. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86277. },
  86278. _async_evaluate0$_indexAfterImports$1(statements) {
  86279. var t1, lastImport, i, _0_0;
  86280. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86281. $label0$0: {
  86282. _0_0 = t1.$index(statements, i);
  86283. if (_0_0 instanceof A.ModifiableCssImport0)
  86284. break $label0$0;
  86285. if (_0_0 instanceof A.ModifiableCssComment0)
  86286. continue;
  86287. break;
  86288. }
  86289. lastImport = i;
  86290. }
  86291. return lastImport + 1;
  86292. },
  86293. visitStylesheet$1(_, node) {
  86294. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86295. },
  86296. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86297. var $async$goto = 0,
  86298. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86299. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86300. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86301. if ($async$errorCode === 1)
  86302. return A._asyncRethrow($async$result, $async$completer);
  86303. while (true)
  86304. switch ($async$goto) {
  86305. case 0:
  86306. // Function start
  86307. 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();) {
  86308. warning = t1.__internal$_current;
  86309. if (warning == null)
  86310. warning = t2._as(warning);
  86311. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86312. }
  86313. t1 = node.children, t2 = t1.length, _i = 0;
  86314. case 3:
  86315. // for condition
  86316. if (!(_i < t2)) {
  86317. // goto after for
  86318. $async$goto = 5;
  86319. break;
  86320. }
  86321. $async$goto = 6;
  86322. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  86323. case 6:
  86324. // returning from await.
  86325. case 4:
  86326. // for update
  86327. ++_i;
  86328. // goto for condition
  86329. $async$goto = 3;
  86330. break;
  86331. case 5:
  86332. // after for
  86333. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86334. t2 = t1.get$current(t1);
  86335. $name = t2._0;
  86336. span = t2._1;
  86337. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  86338. }
  86339. $async$returnValue = null;
  86340. // goto return
  86341. $async$goto = 1;
  86342. break;
  86343. case 1:
  86344. // return
  86345. return A._asyncReturn($async$returnValue, $async$completer);
  86346. }
  86347. });
  86348. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  86349. },
  86350. visitAtRootRule$1(_, node) {
  86351. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  86352. },
  86353. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  86354. var $async$goto = 0,
  86355. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86356. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  86357. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86358. if ($async$errorCode === 1)
  86359. return A._asyncRethrow($async$result, $async$completer);
  86360. while (true)
  86361. switch ($async$goto) {
  86362. case 0:
  86363. // Function start
  86364. _0_0 = node.query;
  86365. $async$goto = _0_0 != null ? 3 : 5;
  86366. break;
  86367. case 3:
  86368. // then
  86369. $async$goto = 6;
  86370. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  86371. case 6:
  86372. // returning from await.
  86373. _1_0 = $async$result;
  86374. resolved = _1_0._0;
  86375. _1_0._1;
  86376. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  86377. // goto join
  86378. $async$goto = 4;
  86379. break;
  86380. case 5:
  86381. // else
  86382. query = B.AtRootQuery_bfj0;
  86383. case 4:
  86384. // join
  86385. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86386. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  86387. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  86388. if (!query.excludes$1($parent))
  86389. included.push($parent);
  86390. _2_0 = $parent._node$_parent;
  86391. if (_2_0 == null)
  86392. throw A.wrapException(A.StateError$(string$.CssNod));
  86393. }
  86394. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  86395. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  86396. break;
  86397. case 7:
  86398. // then
  86399. $async$goto = 9;
  86400. 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);
  86401. case 9:
  86402. // returning from await.
  86403. $async$returnValue = null;
  86404. // goto return
  86405. $async$goto = 1;
  86406. break;
  86407. case 8:
  86408. // join
  86409. if (included.length >= 1) {
  86410. first = included[0];
  86411. rest = B.JSArray_methods.sublist$1(included, 1);
  86412. innerCopy = first.copyWithoutChildren$0();
  86413. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  86414. copy = rest[_i].copyWithoutChildren$0();
  86415. copy.addChild$1(outerCopy);
  86416. }
  86417. root.addChild$1(outerCopy);
  86418. } else
  86419. innerCopy = root;
  86420. $async$goto = 10;
  86421. 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);
  86422. case 10:
  86423. // returning from await.
  86424. $async$returnValue = null;
  86425. // goto return
  86426. $async$goto = 1;
  86427. break;
  86428. case 1:
  86429. // return
  86430. return A._asyncReturn($async$returnValue, $async$completer);
  86431. }
  86432. });
  86433. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  86434. },
  86435. _async_evaluate0$_trimIncluded$1(nodes) {
  86436. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  86437. _s22_ = " to be an ancestor of ";
  86438. if (nodes.length === 0)
  86439. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86440. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  86441. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  86442. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  86443. _0_0 = $parent._node$_parent;
  86444. if (_0_0 == null)
  86445. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86446. }
  86447. if (innermostContiguous == null)
  86448. innermostContiguous = i;
  86449. _1_0 = $parent._node$_parent;
  86450. if (_1_0 == null)
  86451. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86452. }
  86453. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  86454. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86455. innermostContiguous.toString;
  86456. root = nodes[innermostContiguous];
  86457. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  86458. return root;
  86459. },
  86460. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  86461. var _this = this,
  86462. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  86463. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  86464. if (t1 !== query.include)
  86465. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  86466. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  86467. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  86468. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  86469. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  86470. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  86471. },
  86472. visitContentBlock$1(_, node) {
  86473. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  86474. },
  86475. visitContentRule$1(_, node) {
  86476. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  86477. },
  86478. visitContentRule$body$_EvaluateVisitor0(_, node) {
  86479. var $async$goto = 0,
  86480. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86481. $async$returnValue, $async$self = this, $content;
  86482. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86483. if ($async$errorCode === 1)
  86484. return A._asyncRethrow($async$result, $async$completer);
  86485. while (true)
  86486. switch ($async$goto) {
  86487. case 0:
  86488. // Function start
  86489. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  86490. if ($content == null) {
  86491. $async$returnValue = null;
  86492. // goto return
  86493. $async$goto = 1;
  86494. break;
  86495. }
  86496. $async$goto = 3;
  86497. 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);
  86498. case 3:
  86499. // returning from await.
  86500. $async$returnValue = null;
  86501. // goto return
  86502. $async$goto = 1;
  86503. break;
  86504. case 1:
  86505. // return
  86506. return A._asyncReturn($async$returnValue, $async$completer);
  86507. }
  86508. });
  86509. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  86510. },
  86511. visitDebugRule$1(_, node) {
  86512. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  86513. },
  86514. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  86515. var $async$goto = 0,
  86516. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86517. $async$returnValue, $async$self = this, value, t1;
  86518. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86519. if ($async$errorCode === 1)
  86520. return A._asyncRethrow($async$result, $async$completer);
  86521. while (true)
  86522. switch ($async$goto) {
  86523. case 0:
  86524. // Function start
  86525. $async$goto = 3;
  86526. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  86527. case 3:
  86528. // returning from await.
  86529. value = $async$result;
  86530. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  86531. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  86532. $async$returnValue = null;
  86533. // goto return
  86534. $async$goto = 1;
  86535. break;
  86536. case 1:
  86537. // return
  86538. return A._asyncReturn($async$returnValue, $async$completer);
  86539. }
  86540. });
  86541. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  86542. },
  86543. visitDeclaration$1(_, node) {
  86544. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  86545. },
  86546. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  86547. var $async$goto = 0,
  86548. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86549. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  86550. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86551. if ($async$errorCode === 1)
  86552. return A._asyncRethrow($async$result, $async$completer);
  86553. while (true)
  86554. switch ($async$goto) {
  86555. case 0:
  86556. // Function start
  86557. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  86558. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  86559. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  86560. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  86561. siblings = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  86562. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  86563. if (siblings.get$last(siblings) !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent"))
  86564. t1 = !($async$self._async_evaluate0$_quietDeps && $async$self._async_evaluate0$_inDependency);
  86565. else
  86566. t1 = false;
  86567. if (t1)
  86568. 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();) {
  86569. t6 = t1.__internal$_current;
  86570. rule = t6 == null ? t2._as(t6) : t6;
  86571. $label0$1: {
  86572. if (rule instanceof A.ModifiableCssComment0)
  86573. continue;
  86574. t6 = rule instanceof A.ModifiableCssStyleRule0;
  86575. rule0 = t6 ? rule : null;
  86576. if (t6) {
  86577. interleavedRules.push(rule0);
  86578. break $label0$1;
  86579. }
  86580. $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);
  86581. B.JSArray_methods.clear$0(interleavedRules);
  86582. break $label0$1;
  86583. }
  86584. }
  86585. t1 = node.name;
  86586. $async$goto = 3;
  86587. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  86588. case 3:
  86589. // returning from await.
  86590. $name = $async$result;
  86591. _1_0 = $async$self._async_evaluate0$_declarationName;
  86592. if (_1_0 != null)
  86593. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  86594. _2_0 = node.value;
  86595. $async$goto = _2_0 != null ? 4 : 5;
  86596. break;
  86597. case 4:
  86598. // then
  86599. $async$goto = 6;
  86600. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  86601. case 6:
  86602. // returning from await.
  86603. value = $async$result;
  86604. if (!value.get$isBlank() || value.get$asList().length === 0) {
  86605. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86606. t3 = _2_0.get$span(_2_0);
  86607. t4 = node.span;
  86608. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  86609. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate0$_stackTrace$1(t4);
  86610. if ($async$self._async_evaluate0$_sourceMap) {
  86611. t6 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  86612. t6 = t6 == null ? null : J.get$span$z(t6);
  86613. } else
  86614. t6 = null;
  86615. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  86616. } else if (J.startsWith$1$s($name.value, "--"))
  86617. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  86618. case 5:
  86619. // join
  86620. _3_0 = node.children;
  86621. t1 = {};
  86622. t1.children = null;
  86623. $async$goto = _3_0 != null ? 7 : 8;
  86624. break;
  86625. case 7:
  86626. // then
  86627. t1.children = _3_0;
  86628. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  86629. $async$self._async_evaluate0$_declarationName = $name.value;
  86630. $async$goto = 9;
  86631. 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);
  86632. case 9:
  86633. // returning from await.
  86634. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  86635. case 8:
  86636. // join
  86637. $async$returnValue = null;
  86638. // goto return
  86639. $async$goto = 1;
  86640. break;
  86641. case 1:
  86642. // return
  86643. return A._asyncReturn($async$returnValue, $async$completer);
  86644. }
  86645. });
  86646. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  86647. },
  86648. visitEachRule$1(_, node) {
  86649. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  86650. },
  86651. visitEachRule$body$_EvaluateVisitor0(_, node) {
  86652. var $async$goto = 0,
  86653. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86654. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  86655. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86656. if ($async$errorCode === 1)
  86657. return A._asyncRethrow($async$result, $async$completer);
  86658. while (true)
  86659. switch ($async$goto) {
  86660. case 0:
  86661. // Function start
  86662. t1 = node.list;
  86663. $async$goto = 3;
  86664. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  86665. case 3:
  86666. // returning from await.
  86667. list = $async$result;
  86668. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  86669. _0_0 = node.variables;
  86670. $label0$0: {
  86671. t1 = {};
  86672. t1.variable = null;
  86673. if (_0_0.length === 1) {
  86674. t1.variable = _0_0[0];
  86675. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  86676. break $label0$0;
  86677. }
  86678. t1 = {};
  86679. t1.variables = null;
  86680. t1.variables = _0_0;
  86681. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  86682. break $label0$0;
  86683. }
  86684. $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);
  86685. // goto return
  86686. $async$goto = 1;
  86687. break;
  86688. case 1:
  86689. // return
  86690. return A._asyncReturn($async$returnValue, $async$completer);
  86691. }
  86692. });
  86693. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  86694. },
  86695. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  86696. var i,
  86697. list = value.get$asList(),
  86698. t1 = variables.length,
  86699. minLength = Math.min(t1, list.length);
  86700. for (i = 0; i < minLength; ++i)
  86701. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  86702. for (i = minLength; i < t1; ++i)
  86703. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  86704. },
  86705. visitErrorRule$1(_, node) {
  86706. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  86707. },
  86708. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  86709. var $async$goto = 0,
  86710. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86711. $async$self = this, $async$temp1, $async$temp2;
  86712. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86713. if ($async$errorCode === 1)
  86714. return A._asyncRethrow($async$result, $async$completer);
  86715. while (true)
  86716. switch ($async$goto) {
  86717. case 0:
  86718. // Function start
  86719. $async$temp1 = A;
  86720. $async$temp2 = J;
  86721. $async$goto = 2;
  86722. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  86723. case 2:
  86724. // returning from await.
  86725. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  86726. // implicit return
  86727. return A._asyncReturn(null, $async$completer);
  86728. }
  86729. });
  86730. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  86731. },
  86732. visitExtendRule$1(_, node) {
  86733. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  86734. },
  86735. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  86736. var $async$goto = 0,
  86737. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86738. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  86739. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86740. if ($async$errorCode === 1)
  86741. return A._asyncRethrow($async$result, $async$completer);
  86742. while (true)
  86743. switch ($async$goto) {
  86744. case 0:
  86745. // Function start
  86746. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86747. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  86748. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  86749. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  86750. complex = t1[_i];
  86751. if (!complex.accept$1(B._IsBogusVisitor_true0))
  86752. continue;
  86753. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  86754. complex.accept$1(visitor);
  86755. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  86756. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  86757. $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);
  86758. }
  86759. $async$goto = 3;
  86760. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  86761. case 3:
  86762. // returning from await.
  86763. _0_0 = $async$result;
  86764. targetText = _0_0._0;
  86765. targetMap = _0_0._1;
  86766. 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) {
  86767. complex = t1[_i];
  86768. compound = complex.get$singleCompound();
  86769. if (compound == null)
  86770. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  86771. t4 = compound.components;
  86772. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  86773. if (t5 == null)
  86774. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  86775. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  86776. }
  86777. $async$returnValue = null;
  86778. // goto return
  86779. $async$goto = 1;
  86780. break;
  86781. case 1:
  86782. // return
  86783. return A._asyncReturn($async$returnValue, $async$completer);
  86784. }
  86785. });
  86786. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  86787. },
  86788. visitAtRule$1(_, node) {
  86789. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  86790. },
  86791. visitAtRule$body$_EvaluateVisitor0(_, node) {
  86792. var $async$goto = 0,
  86793. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86794. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  86795. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86796. if ($async$errorCode === 1)
  86797. return A._asyncRethrow($async$result, $async$completer);
  86798. while (true)
  86799. switch ($async$goto) {
  86800. case 0:
  86801. // Function start
  86802. if ($async$self._async_evaluate0$_declarationName != null)
  86803. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  86804. $async$goto = 3;
  86805. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  86806. case 3:
  86807. // returning from await.
  86808. $name = $async$result;
  86809. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  86810. $async$goto = 4;
  86811. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  86812. case 4:
  86813. // returning from await.
  86814. value = $async$result;
  86815. children = node.children;
  86816. if (children == null) {
  86817. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  86818. $async$returnValue = null;
  86819. // goto return
  86820. $async$goto = 1;
  86821. break;
  86822. }
  86823. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  86824. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  86825. if (A.unvendor0($name.value) === "keyframes")
  86826. $async$self._async_evaluate0$_inKeyframes = true;
  86827. else
  86828. $async$self._async_evaluate0$_inUnknownAtRule = true;
  86829. $async$goto = 5;
  86830. 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);
  86831. case 5:
  86832. // returning from await.
  86833. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  86834. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  86835. $async$returnValue = null;
  86836. // goto return
  86837. $async$goto = 1;
  86838. break;
  86839. case 1:
  86840. // return
  86841. return A._asyncReturn($async$returnValue, $async$completer);
  86842. }
  86843. });
  86844. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  86845. },
  86846. visitForRule$1(_, node) {
  86847. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  86848. },
  86849. visitForRule$body$_EvaluateVisitor0(_, node) {
  86850. var $async$goto = 0,
  86851. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86852. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  86853. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86854. if ($async$errorCode === 1)
  86855. return A._asyncRethrow($async$result, $async$completer);
  86856. while (true)
  86857. switch ($async$goto) {
  86858. case 0:
  86859. // Function start
  86860. t1 = {};
  86861. t2 = node.from;
  86862. t3 = type$.SassNumber_2;
  86863. $async$goto = 3;
  86864. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  86865. case 3:
  86866. // returning from await.
  86867. fromNumber = $async$result;
  86868. t4 = node.to;
  86869. $async$goto = 4;
  86870. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  86871. case 4:
  86872. // returning from await.
  86873. toNumber = $async$result;
  86874. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  86875. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  86876. direction = from > to ? -1 : 1;
  86877. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  86878. $async$returnValue = null;
  86879. // goto return
  86880. $async$goto = 1;
  86881. break;
  86882. }
  86883. $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);
  86884. // goto return
  86885. $async$goto = 1;
  86886. break;
  86887. case 1:
  86888. // return
  86889. return A._asyncReturn($async$returnValue, $async$completer);
  86890. }
  86891. });
  86892. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  86893. },
  86894. visitForwardRule$1(_, node) {
  86895. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  86896. },
  86897. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  86898. var $async$goto = 0,
  86899. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86900. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  86901. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86902. if ($async$errorCode === 1)
  86903. return A._asyncRethrow($async$result, $async$completer);
  86904. while (true)
  86905. switch ($async$goto) {
  86906. case 0:
  86907. // Function start
  86908. oldConfiguration = $async$self._async_evaluate0$_configuration;
  86909. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  86910. t1 = node.configuration;
  86911. t2 = t1.length;
  86912. t3 = node.url;
  86913. $async$goto = t2 !== 0 ? 3 : 5;
  86914. break;
  86915. case 3:
  86916. // then
  86917. $async$goto = 6;
  86918. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  86919. case 6:
  86920. // returning from await.
  86921. newConfiguration = $async$result;
  86922. $async$goto = 7;
  86923. 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);
  86924. case 7:
  86925. // returning from await.
  86926. t3 = type$.String;
  86927. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  86928. for (_i = 0; _i < t2; ++_i) {
  86929. variable = t1[_i];
  86930. if (!variable.isGuarded)
  86931. t4.add$1(0, variable.name);
  86932. }
  86933. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  86934. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  86935. for (_i = 0; _i < t2; ++_i)
  86936. t3.add$1(0, t1[_i].name);
  86937. 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) {
  86938. $name = t2[_i];
  86939. if (!t3.contains$1(0, $name))
  86940. if (!t1.get$isEmpty(t1))
  86941. t1.remove$1(0, $name);
  86942. }
  86943. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  86944. // goto join
  86945. $async$goto = 4;
  86946. break;
  86947. case 5:
  86948. // else
  86949. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  86950. $async$goto = 8;
  86951. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  86952. case 8:
  86953. // returning from await.
  86954. $async$self._async_evaluate0$_configuration = oldConfiguration;
  86955. case 4:
  86956. // join
  86957. $async$returnValue = null;
  86958. // goto return
  86959. $async$goto = 1;
  86960. break;
  86961. case 1:
  86962. // return
  86963. return A._asyncReturn($async$returnValue, $async$completer);
  86964. }
  86965. });
  86966. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  86967. },
  86968. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  86969. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  86970. },
  86971. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  86972. var $async$goto = 0,
  86973. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  86974. $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;
  86975. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86976. if ($async$errorCode === 1)
  86977. return A._asyncRethrow($async$result, $async$completer);
  86978. while (true)
  86979. switch ($async$goto) {
  86980. case 0:
  86981. // Function start
  86982. t1 = configuration._configuration0$_values;
  86983. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  86984. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  86985. case 3:
  86986. // for condition
  86987. if (!(_i < t3)) {
  86988. // goto after for
  86989. $async$goto = 5;
  86990. break;
  86991. }
  86992. variable = t2[_i];
  86993. if (variable.isGuarded) {
  86994. t6 = variable.name;
  86995. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  86996. if (_0_0 != null) {
  86997. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  86998. oldValue = _0_0;
  86999. } else {
  87000. oldValue = null;
  87001. t7 = false;
  87002. }
  87003. if (t7) {
  87004. newValues.$indexSet(0, t6, oldValue);
  87005. // goto for update
  87006. $async$goto = 4;
  87007. break;
  87008. }
  87009. }
  87010. t6 = variable.expression;
  87011. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87012. t6 = t6.accept$1($async$self);
  87013. if (!t5._is(t6)) {
  87014. t7 = new A._Future($.Zone__current, t4);
  87015. t7._state = 8;
  87016. t7._resultOrListeners = t6;
  87017. t6 = t7;
  87018. }
  87019. $async$temp1 = newValues;
  87020. $async$temp2 = variable.name;
  87021. $async$temp3 = A;
  87022. $async$goto = 6;
  87023. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87024. case 6:
  87025. // returning from await.
  87026. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87027. case 4:
  87028. // for update
  87029. ++_i;
  87030. // goto for condition
  87031. $async$goto = 3;
  87032. break;
  87033. case 5:
  87034. // after for
  87035. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87036. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87037. // goto return
  87038. $async$goto = 1;
  87039. break;
  87040. } else {
  87041. $async$returnValue = new A.Configuration0(newValues, null);
  87042. // goto return
  87043. $async$goto = 1;
  87044. break;
  87045. }
  87046. case 1:
  87047. // return
  87048. return A._asyncReturn($async$returnValue, $async$completer);
  87049. }
  87050. });
  87051. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87052. },
  87053. _async_evaluate0$_registerCommentsForModule$1(module) {
  87054. var _this = this, _s5_ = "_root",
  87055. t1 = _this._async_evaluate0$__root;
  87056. if (t1 == null)
  87057. return;
  87058. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87059. return;
  87060. t1 = _this._async_evaluate0$_preModuleComments;
  87061. if (t1 == null)
  87062. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87063. 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));
  87064. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87065. _this._async_evaluate0$__endOfImports = 0;
  87066. },
  87067. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87068. var t1, t2, t3, t4, _i, $name;
  87069. 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) {
  87070. $name = t2[_i];
  87071. if (except.contains$1(0, $name))
  87072. continue;
  87073. if (!t4.containsKey$1($name))
  87074. if (!t1.get$isEmpty(t1))
  87075. t1.remove$1(0, $name);
  87076. }
  87077. },
  87078. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87079. var t1, _0_0, $name, value;
  87080. if (!(configuration instanceof A.ExplicitConfiguration0))
  87081. return;
  87082. t1 = configuration._configuration0$_values;
  87083. if (t1.get$isEmpty(t1))
  87084. return;
  87085. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87086. _0_0 = t1.get$first(t1);
  87087. $name = _0_0._0;
  87088. value = _0_0._1;
  87089. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  87090. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  87091. },
  87092. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87093. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87094. },
  87095. visitFunctionRule$1(_, node) {
  87096. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87097. },
  87098. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87099. var $async$goto = 0,
  87100. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87101. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87102. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87103. if ($async$errorCode === 1)
  87104. return A._asyncRethrow($async$result, $async$completer);
  87105. while (true)
  87106. switch ($async$goto) {
  87107. case 0:
  87108. // Function start
  87109. t1 = $async$self._async_evaluate0$_environment;
  87110. t2 = t1.closure$0();
  87111. t3 = $async$self._async_evaluate0$_inDependency;
  87112. t4 = t1._async_environment0$_functions;
  87113. index = t4.length - 1;
  87114. t5 = node.name;
  87115. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87116. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87117. $async$returnValue = null;
  87118. // goto return
  87119. $async$goto = 1;
  87120. break;
  87121. case 1:
  87122. // return
  87123. return A._asyncReturn($async$returnValue, $async$completer);
  87124. }
  87125. });
  87126. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87127. },
  87128. visitIfRule$1(_, node) {
  87129. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87130. },
  87131. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87132. var $async$goto = 0,
  87133. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87134. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87135. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87136. if ($async$errorCode === 1)
  87137. return A._asyncRethrow($async$result, $async$completer);
  87138. while (true)
  87139. switch ($async$goto) {
  87140. case 0:
  87141. // Function start
  87142. clause = node.lastClause;
  87143. t1 = node.clauses, t2 = t1.length, _i = 0;
  87144. case 3:
  87145. // for condition
  87146. if (!(_i < t2)) {
  87147. // goto after for
  87148. $async$goto = 5;
  87149. break;
  87150. }
  87151. clauseToCheck = t1[_i];
  87152. $async$goto = 6;
  87153. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87154. case 6:
  87155. // returning from await.
  87156. if ($async$result.get$isTruthy()) {
  87157. clause = clauseToCheck;
  87158. // goto after for
  87159. $async$goto = 5;
  87160. break;
  87161. }
  87162. case 4:
  87163. // for update
  87164. ++_i;
  87165. // goto for condition
  87166. $async$goto = 3;
  87167. break;
  87168. case 5:
  87169. // after for
  87170. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87171. $async$goto = 7;
  87172. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87173. case 7:
  87174. // returning from await.
  87175. $async$returnValue = $async$result;
  87176. // goto return
  87177. $async$goto = 1;
  87178. break;
  87179. case 1:
  87180. // return
  87181. return A._asyncReturn($async$returnValue, $async$completer);
  87182. }
  87183. });
  87184. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87185. },
  87186. visitImportRule$1(_, node) {
  87187. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87188. },
  87189. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87190. var $async$goto = 0,
  87191. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87192. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87193. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87194. if ($async$errorCode === 1)
  87195. return A._asyncRethrow($async$result, $async$completer);
  87196. while (true)
  87197. switch ($async$goto) {
  87198. case 0:
  87199. // Function start
  87200. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87201. case 3:
  87202. // for condition
  87203. if (!(_i < t2)) {
  87204. // goto after for
  87205. $async$goto = 5;
  87206. break;
  87207. }
  87208. $import = t1[_i];
  87209. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87210. break;
  87211. case 6:
  87212. // then
  87213. $async$goto = 9;
  87214. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87215. case 9:
  87216. // returning from await.
  87217. // goto join
  87218. $async$goto = 7;
  87219. break;
  87220. case 8:
  87221. // else
  87222. $async$goto = 10;
  87223. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87224. case 10:
  87225. // returning from await.
  87226. case 7:
  87227. // join
  87228. case 4:
  87229. // for update
  87230. ++_i;
  87231. // goto for condition
  87232. $async$goto = 3;
  87233. break;
  87234. case 5:
  87235. // after for
  87236. $async$returnValue = null;
  87237. // goto return
  87238. $async$goto = 1;
  87239. break;
  87240. case 1:
  87241. // return
  87242. return A._asyncReturn($async$returnValue, $async$completer);
  87243. }
  87244. });
  87245. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87246. },
  87247. _async_evaluate0$_visitDynamicImport$1($import) {
  87248. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87249. },
  87250. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87251. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87252. },
  87253. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87254. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87255. },
  87256. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87257. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87258. },
  87259. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87260. var $async$goto = 0,
  87261. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87262. $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;
  87263. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87264. if ($async$errorCode === 1) {
  87265. $async$errorStack.push($async$result);
  87266. $async$goto = $async$handler;
  87267. }
  87268. while (true)
  87269. switch ($async$goto) {
  87270. case 0:
  87271. // Function start
  87272. baseUrl = baseUrl;
  87273. $async$handler = 4;
  87274. $async$self._async_evaluate0$_importSpan = span;
  87275. _0_0 = $async$self._async_evaluate0$_importCache;
  87276. importCache = null;
  87277. $async$goto = _0_0 != null ? 7 : 8;
  87278. break;
  87279. case 7:
  87280. // then
  87281. importCache = _0_0;
  87282. if (baseUrl == null)
  87283. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  87284. $async$goto = 9;
  87285. 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);
  87286. case 9:
  87287. // returning from await.
  87288. _1_0 = $async$result;
  87289. importer = null;
  87290. canonicalUrl = null;
  87291. originalUrl = null;
  87292. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87293. break;
  87294. case 10:
  87295. // then
  87296. importer = _1_0._0;
  87297. canonicalUrl = _1_0._1;
  87298. originalUrl = _1_0._2;
  87299. if (canonicalUrl.get$scheme() === "")
  87300. 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);
  87301. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87302. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87303. $async$goto = 12;
  87304. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87305. case 12:
  87306. // returning from await.
  87307. _2_0 = $async$result;
  87308. stylesheet = null;
  87309. if (_2_0 != null) {
  87310. stylesheet = _2_0;
  87311. t1 = stylesheet;
  87312. t2 = importer;
  87313. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87314. $async$next = [1];
  87315. // goto finally
  87316. $async$goto = 5;
  87317. break;
  87318. }
  87319. case 11:
  87320. // join
  87321. case 8:
  87322. // join
  87323. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87324. break;
  87325. case 13:
  87326. // then
  87327. t1 = baseUrl;
  87328. $async$goto = 15;
  87329. 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);
  87330. case 15:
  87331. // returning from await.
  87332. _3_0 = $async$result;
  87333. result = null;
  87334. if (_3_0 != null) {
  87335. result = _3_0;
  87336. t1 = $async$self._async_evaluate0$_loadedUrls;
  87337. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  87338. t1 = result;
  87339. $async$returnValue = t1;
  87340. $async$next = [1];
  87341. // goto finally
  87342. $async$goto = 5;
  87343. break;
  87344. }
  87345. case 14:
  87346. // join
  87347. t1 = B.JSString_methods.startsWith$1(url, "package:");
  87348. if (t1)
  87349. throw A.wrapException(string$.x22packa);
  87350. else
  87351. throw A.wrapException("Can't find stylesheet to import.");
  87352. $async$next.push(6);
  87353. // goto finally
  87354. $async$goto = 5;
  87355. break;
  87356. case 4:
  87357. // catch
  87358. $async$handler = 3;
  87359. $async$exception = $async$errorStack.pop();
  87360. t1 = A.unwrapException($async$exception);
  87361. if (t1 instanceof A.SassException0)
  87362. throw $async$exception;
  87363. else if (t1 instanceof A.ArgumentError) {
  87364. error = t1;
  87365. stackTrace = A.getTraceFromException($async$exception);
  87366. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  87367. } else {
  87368. error0 = t1;
  87369. stackTrace0 = A.getTraceFromException($async$exception);
  87370. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  87371. }
  87372. $async$next.push(6);
  87373. // goto finally
  87374. $async$goto = 5;
  87375. break;
  87376. case 3:
  87377. // uncaught
  87378. $async$next = [2];
  87379. case 5:
  87380. // finally
  87381. $async$handler = 2;
  87382. $async$self._async_evaluate0$_importSpan = null;
  87383. // goto the next finally handler
  87384. $async$goto = $async$next.pop();
  87385. break;
  87386. case 6:
  87387. // after finally
  87388. case 1:
  87389. // return
  87390. return A._asyncReturn($async$returnValue, $async$completer);
  87391. case 2:
  87392. // rethrow
  87393. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  87394. }
  87395. });
  87396. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  87397. },
  87398. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  87399. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  87400. },
  87401. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  87402. var $async$goto = 0,
  87403. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  87404. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  87405. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87406. if ($async$errorCode === 1)
  87407. return A._asyncRethrow($async$result, $async$completer);
  87408. while (true)
  87409. switch ($async$goto) {
  87410. case 0:
  87411. // Function start
  87412. t1 = $async$self._async_evaluate0$_nodeImporter;
  87413. result = t1.loadRelative$3(originalUrl, previous, forImport);
  87414. $async$goto = result != null ? 3 : 5;
  87415. break;
  87416. case 3:
  87417. // then
  87418. isDependency = $async$self._async_evaluate0$_inDependency;
  87419. // goto join
  87420. $async$goto = 4;
  87421. break;
  87422. case 5:
  87423. // else
  87424. $async$goto = 6;
  87425. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  87426. case 6:
  87427. // returning from await.
  87428. result = $async$result;
  87429. if (result == null) {
  87430. $async$returnValue = null;
  87431. // goto return
  87432. $async$goto = 1;
  87433. break;
  87434. }
  87435. isDependency = true;
  87436. case 4:
  87437. // join
  87438. url = result._1;
  87439. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  87440. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  87441. // goto return
  87442. $async$goto = 1;
  87443. break;
  87444. case 1:
  87445. // return
  87446. return A._asyncReturn($async$returnValue, $async$completer);
  87447. }
  87448. });
  87449. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  87450. },
  87451. _async_evaluate0$_visitStaticImport$1($import) {
  87452. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  87453. },
  87454. _visitStaticImport$body$_EvaluateVisitor0($import) {
  87455. var $async$goto = 0,
  87456. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87457. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  87458. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87459. if ($async$errorCode === 1)
  87460. return A._asyncRethrow($async$result, $async$completer);
  87461. while (true)
  87462. switch ($async$goto) {
  87463. case 0:
  87464. // Function start
  87465. $async$goto = 2;
  87466. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  87467. case 2:
  87468. // returning from await.
  87469. t1 = $async$result;
  87470. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  87471. $async$temp1 = A;
  87472. $async$temp2 = t1;
  87473. $async$goto = 3;
  87474. 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);
  87475. case 3:
  87476. // returning from await.
  87477. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  87478. 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"))
  87479. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  87480. 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)) {
  87481. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  87482. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87483. } else {
  87484. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  87485. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  87486. }
  87487. // implicit return
  87488. return A._asyncReturn(null, $async$completer);
  87489. }
  87490. });
  87491. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  87492. },
  87493. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87494. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  87495. },
  87496. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87497. var $async$goto = 0,
  87498. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87499. $async$self = this, t1, _0_0, t2, _1_8;
  87500. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87501. if ($async$errorCode === 1)
  87502. return A._asyncRethrow($async$result, $async$completer);
  87503. while (true)
  87504. switch ($async$goto) {
  87505. case 0:
  87506. // Function start
  87507. if (mixin == null)
  87508. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  87509. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  87510. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  87511. break;
  87512. case 3:
  87513. // then
  87514. $async$goto = 5;
  87515. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  87516. case 5:
  87517. // returning from await.
  87518. t1 = $async$result._values;
  87519. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  87520. 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));
  87521. case 4:
  87522. // join
  87523. $async$goto = t1 ? 6 : 7;
  87524. break;
  87525. case 6:
  87526. // then
  87527. $async$goto = 8;
  87528. 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);
  87529. case 8:
  87530. // returning from await.
  87531. // goto break $label0$0
  87532. $async$goto = 2;
  87533. break;
  87534. case 7:
  87535. // join
  87536. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  87537. t2 = false;
  87538. if (t1) {
  87539. _1_8 = mixin.declaration;
  87540. if (_1_8 instanceof A.MixinRule0)
  87541. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  87542. }
  87543. if (t2)
  87544. 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));
  87545. $async$goto = t1 ? 9 : 10;
  87546. break;
  87547. case 9:
  87548. // then
  87549. $async$goto = 11;
  87550. 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);
  87551. case 11:
  87552. // returning from await.
  87553. // goto break $label0$0
  87554. $async$goto = 2;
  87555. break;
  87556. case 10:
  87557. // join
  87558. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  87559. case 2:
  87560. // break $label0$0
  87561. // implicit return
  87562. return A._asyncReturn(null, $async$completer);
  87563. }
  87564. });
  87565. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  87566. },
  87567. visitIncludeRule$1(_, node) {
  87568. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  87569. },
  87570. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  87571. var $async$goto = 0,
  87572. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87573. $async$returnValue, $async$self = this, mixin;
  87574. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87575. if ($async$errorCode === 1)
  87576. return A._asyncRethrow($async$result, $async$completer);
  87577. while (true)
  87578. switch ($async$goto) {
  87579. case 0:
  87580. // Function start
  87581. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  87582. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  87583. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  87584. $async$goto = 3;
  87585. 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);
  87586. case 3:
  87587. // returning from await.
  87588. $async$returnValue = null;
  87589. // goto return
  87590. $async$goto = 1;
  87591. break;
  87592. case 1:
  87593. // return
  87594. return A._asyncReturn($async$returnValue, $async$completer);
  87595. }
  87596. });
  87597. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  87598. },
  87599. visitMixinRule$1(_, node) {
  87600. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  87601. },
  87602. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  87603. var $async$goto = 0,
  87604. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87605. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87606. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87607. if ($async$errorCode === 1)
  87608. return A._asyncRethrow($async$result, $async$completer);
  87609. while (true)
  87610. switch ($async$goto) {
  87611. case 0:
  87612. // Function start
  87613. t1 = $async$self._async_evaluate0$_environment;
  87614. t2 = t1.closure$0();
  87615. t3 = $async$self._async_evaluate0$_inDependency;
  87616. t4 = t1._async_environment0$_mixins;
  87617. index = t4.length - 1;
  87618. t5 = node.name;
  87619. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  87620. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87621. $async$returnValue = null;
  87622. // goto return
  87623. $async$goto = 1;
  87624. break;
  87625. case 1:
  87626. // return
  87627. return A._asyncReturn($async$returnValue, $async$completer);
  87628. }
  87629. });
  87630. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  87631. },
  87632. visitLoudComment$1(_, node) {
  87633. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  87634. },
  87635. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  87636. var $async$goto = 0,
  87637. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87638. $async$returnValue, $async$self = this, t1, text;
  87639. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87640. if ($async$errorCode === 1)
  87641. return A._asyncRethrow($async$result, $async$completer);
  87642. while (true)
  87643. switch ($async$goto) {
  87644. case 0:
  87645. // Function start
  87646. if ($async$self._async_evaluate0$_inFunction) {
  87647. $async$returnValue = null;
  87648. // goto return
  87649. $async$goto = 1;
  87650. break;
  87651. }
  87652. 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))
  87653. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87654. t1 = node.text;
  87655. $async$goto = 3;
  87656. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  87657. case 3:
  87658. // returning from await.
  87659. text = $async$result;
  87660. if (!B.JSString_methods.endsWith$1(text, "*/"))
  87661. text += " */";
  87662. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  87663. $async$returnValue = null;
  87664. // goto return
  87665. $async$goto = 1;
  87666. break;
  87667. case 1:
  87668. // return
  87669. return A._asyncReturn($async$returnValue, $async$completer);
  87670. }
  87671. });
  87672. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  87673. },
  87674. visitMediaRule$1(_, node) {
  87675. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  87676. },
  87677. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  87678. var $async$goto = 0,
  87679. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87680. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  87681. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87682. if ($async$errorCode === 1)
  87683. return A._asyncRethrow($async$result, $async$completer);
  87684. while (true)
  87685. switch ($async$goto) {
  87686. case 0:
  87687. // Function start
  87688. if ($async$self._async_evaluate0$_declarationName != null)
  87689. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  87690. $async$goto = 3;
  87691. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  87692. case 3:
  87693. // returning from await.
  87694. queries = $async$result;
  87695. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  87696. t1 = mergedQueries == null;
  87697. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  87698. $async$returnValue = null;
  87699. // goto return
  87700. $async$goto = 1;
  87701. break;
  87702. }
  87703. if (t1)
  87704. mergedSources = B.Set_empty5;
  87705. else {
  87706. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  87707. t2.toString;
  87708. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  87709. t3 = $async$self._async_evaluate0$_mediaQueries;
  87710. t3.toString;
  87711. t2.addAll$1(0, t3);
  87712. t2.addAll$1(0, queries);
  87713. mergedSources = t2;
  87714. }
  87715. t1 = t1 ? queries : mergedQueries;
  87716. $async$goto = 4;
  87717. 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);
  87718. case 4:
  87719. // returning from await.
  87720. $async$returnValue = null;
  87721. // goto return
  87722. $async$goto = 1;
  87723. break;
  87724. case 1:
  87725. // return
  87726. return A._asyncReturn($async$returnValue, $async$completer);
  87727. }
  87728. });
  87729. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  87730. },
  87731. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  87732. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  87733. },
  87734. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  87735. var $async$goto = 0,
  87736. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  87737. $async$returnValue, $async$self = this, _0_0, resolved, map;
  87738. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87739. if ($async$errorCode === 1)
  87740. return A._asyncRethrow($async$result, $async$completer);
  87741. while (true)
  87742. switch ($async$goto) {
  87743. case 0:
  87744. // Function start
  87745. $async$goto = 3;
  87746. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  87747. case 3:
  87748. // returning from await.
  87749. _0_0 = $async$result;
  87750. resolved = _0_0._0;
  87751. map = _0_0._1;
  87752. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  87753. // goto return
  87754. $async$goto = 1;
  87755. break;
  87756. case 1:
  87757. // return
  87758. return A._asyncReturn($async$returnValue, $async$completer);
  87759. }
  87760. });
  87761. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  87762. },
  87763. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  87764. var t1, t2, t3, t4, _0_0, t5, result,
  87765. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  87766. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  87767. t3 = t1.get$current(t1);
  87768. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  87769. _0_0 = t3.merge$1(t4.get$current(t4));
  87770. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  87771. continue;
  87772. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  87773. return null;
  87774. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  87775. result = t5 ? _0_0 : null;
  87776. if (t5)
  87777. queries.push(result.query);
  87778. }
  87779. }
  87780. return queries;
  87781. },
  87782. visitReturnRule$1(_, node) {
  87783. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  87784. },
  87785. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  87786. var $async$goto = 0,
  87787. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87788. $async$returnValue, $async$self = this, t1, t2;
  87789. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87790. if ($async$errorCode === 1)
  87791. return A._asyncRethrow($async$result, $async$completer);
  87792. while (true)
  87793. switch ($async$goto) {
  87794. case 0:
  87795. // Function start
  87796. t1 = node.expression;
  87797. t2 = t1.accept$1($async$self);
  87798. $async$goto = 3;
  87799. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  87800. case 3:
  87801. // returning from await.
  87802. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  87803. // goto return
  87804. $async$goto = 1;
  87805. break;
  87806. case 1:
  87807. // return
  87808. return A._asyncReturn($async$returnValue, $async$completer);
  87809. }
  87810. });
  87811. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  87812. },
  87813. visitSilentComment$1(_, node) {
  87814. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  87815. },
  87816. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  87817. var $async$goto = 0,
  87818. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87819. $async$returnValue;
  87820. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87821. if ($async$errorCode === 1)
  87822. return A._asyncRethrow($async$result, $async$completer);
  87823. while (true)
  87824. switch ($async$goto) {
  87825. case 0:
  87826. // Function start
  87827. $async$returnValue = null;
  87828. // goto return
  87829. $async$goto = 1;
  87830. break;
  87831. case 1:
  87832. // return
  87833. return A._asyncReturn($async$returnValue, $async$completer);
  87834. }
  87835. });
  87836. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  87837. },
  87838. visitStyleRule$1(_, node) {
  87839. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  87840. },
  87841. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  87842. var $async$goto = 0,
  87843. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87844. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule;
  87845. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87846. if ($async$errorCode === 1)
  87847. return A._asyncRethrow($async$result, $async$completer);
  87848. while (true)
  87849. switch ($async$goto) {
  87850. case 0:
  87851. // Function start
  87852. if ($async$self._async_evaluate0$_declarationName != null)
  87853. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  87854. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  87855. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  87856. t1 = node.selector;
  87857. $async$goto = 3;
  87858. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  87859. case 3:
  87860. // returning from await.
  87861. _0_0 = $async$result;
  87862. selectorText = _0_0._0;
  87863. selectorMap = _0_0._1;
  87864. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  87865. break;
  87866. case 4:
  87867. // then
  87868. $async$goto = 6;
  87869. 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);
  87870. case 6:
  87871. // returning from await.
  87872. $async$returnValue = null;
  87873. // goto return
  87874. $async$goto = 1;
  87875. break;
  87876. case 5:
  87877. // join
  87878. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  87879. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87880. t1 = t1 == null ? null : t1.fromPlainCss;
  87881. nest = t1 !== true;
  87882. if (nest) {
  87883. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  87884. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  87885. _1_0 = t1[_i].leadingCombinators;
  87886. if (_1_0.length >= 1) {
  87887. first = _1_0[0];
  87888. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  87889. } else {
  87890. first = null;
  87891. t3 = false;
  87892. }
  87893. if (t3)
  87894. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  87895. }
  87896. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87897. t1 = t1 == null ? null : t1.originalSelector;
  87898. 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);
  87899. }
  87900. 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);
  87901. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  87902. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  87903. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  87904. $async$goto = 7;
  87905. 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);
  87906. case 7:
  87907. // returning from await.
  87908. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  87909. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  87910. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  87911. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  87912. t1 = !t1.get$isEmpty(t1);
  87913. }
  87914. if (t1) {
  87915. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  87916. t1.get$last(t1).isGroupEnd = true;
  87917. }
  87918. $async$returnValue = null;
  87919. // goto return
  87920. $async$goto = 1;
  87921. break;
  87922. case 1:
  87923. // return
  87924. return A._asyncReturn($async$returnValue, $async$completer);
  87925. }
  87926. });
  87927. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  87928. },
  87929. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  87930. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  87931. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  87932. 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) {
  87933. complex = t1[_i];
  87934. if (!complex.accept$1(B._IsBogusVisitor_true0))
  87935. continue;
  87936. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  87937. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87938. complex.accept$1(visitor);
  87939. _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);
  87940. } else if (complex.leadingCombinators.length !== 0) {
  87941. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  87942. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87943. complex.accept$1(visitor);
  87944. _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);
  87945. }
  87946. } else {
  87947. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  87948. complex.accept$1(visitor);
  87949. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  87950. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  87951. t8 = A.SpanExtensions_trimRight0(complex.span);
  87952. if (t5.get$length(0) === 0)
  87953. A.throwExpression(A.IterableElementError_noElement());
  87954. t9 = J.get$span$z(t5.$index(0, 0));
  87955. _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);
  87956. }
  87957. }
  87958. },
  87959. visitSupportsRule$1(_, node) {
  87960. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  87961. },
  87962. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  87963. var $async$goto = 0,
  87964. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87965. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  87966. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87967. if ($async$errorCode === 1)
  87968. return A._asyncRethrow($async$result, $async$completer);
  87969. while (true)
  87970. switch ($async$goto) {
  87971. case 0:
  87972. // Function start
  87973. if ($async$self._async_evaluate0$_declarationName != null)
  87974. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  87975. t1 = node.condition;
  87976. $async$temp1 = A;
  87977. $async$temp2 = A;
  87978. $async$goto = 4;
  87979. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  87980. case 4:
  87981. // returning from await.
  87982. $async$goto = 3;
  87983. 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);
  87984. case 3:
  87985. // returning from await.
  87986. $async$returnValue = null;
  87987. // goto return
  87988. $async$goto = 1;
  87989. break;
  87990. case 1:
  87991. // return
  87992. return A._asyncReturn($async$returnValue, $async$completer);
  87993. }
  87994. });
  87995. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  87996. },
  87997. _async_evaluate0$_visitSupportsCondition$1(condition) {
  87998. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  87999. },
  88000. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  88001. var $async$goto = 0,
  88002. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88003. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88004. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88005. if ($async$errorCode === 1)
  88006. return A._asyncRethrow($async$result, $async$completer);
  88007. while (true)
  88008. switch ($async$goto) {
  88009. case 0:
  88010. // Function start
  88011. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88012. break;
  88013. case 4:
  88014. // then
  88015. t1 = condition.operator;
  88016. $async$temp1 = A;
  88017. $async$goto = 6;
  88018. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88019. case 6:
  88020. // returning from await.
  88021. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88022. $async$temp2 = A;
  88023. $async$goto = 7;
  88024. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88025. case 7:
  88026. // returning from await.
  88027. t1 = $async$temp1 + $async$temp2.S($async$result);
  88028. // goto break $label0$0
  88029. $async$goto = 3;
  88030. break;
  88031. case 5:
  88032. // join
  88033. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88034. break;
  88035. case 8:
  88036. // then
  88037. $async$temp1 = A;
  88038. $async$goto = 10;
  88039. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88040. case 10:
  88041. // returning from await.
  88042. t1 = "not " + $async$temp1.S($async$result);
  88043. // goto break $label0$0
  88044. $async$goto = 3;
  88045. break;
  88046. case 9:
  88047. // join
  88048. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88049. break;
  88050. case 11:
  88051. // then
  88052. $async$goto = 13;
  88053. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88054. case 13:
  88055. // returning from await.
  88056. t1 = $async$result;
  88057. // goto break $label0$0
  88058. $async$goto = 3;
  88059. break;
  88060. case 12:
  88061. // join
  88062. t1 = {};
  88063. t1.declaration = null;
  88064. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88065. break;
  88066. case 14:
  88067. // then
  88068. t1.declaration = condition;
  88069. $async$goto = 16;
  88070. 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);
  88071. case 16:
  88072. // returning from await.
  88073. t1 = $async$result;
  88074. // goto break $label0$0
  88075. $async$goto = 3;
  88076. break;
  88077. case 15:
  88078. // join
  88079. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88080. break;
  88081. case 17:
  88082. // then
  88083. $async$temp1 = A;
  88084. $async$goto = 19;
  88085. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88086. case 19:
  88087. // returning from await.
  88088. $async$temp1 = $async$temp1.S($async$result) + "(";
  88089. $async$temp2 = A;
  88090. $async$goto = 20;
  88091. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88092. case 20:
  88093. // returning from await.
  88094. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88095. // goto break $label0$0
  88096. $async$goto = 3;
  88097. break;
  88098. case 18:
  88099. // join
  88100. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88101. break;
  88102. case 21:
  88103. // then
  88104. $async$temp1 = A;
  88105. $async$goto = 23;
  88106. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88107. case 23:
  88108. // returning from await.
  88109. t1 = "(" + $async$temp1.S($async$result) + ")";
  88110. // goto break $label0$0
  88111. $async$goto = 3;
  88112. break;
  88113. case 22:
  88114. // join
  88115. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88116. case 3:
  88117. // break $label0$0
  88118. $async$returnValue = t1;
  88119. // goto return
  88120. $async$goto = 1;
  88121. break;
  88122. case 1:
  88123. // return
  88124. return A._asyncReturn($async$returnValue, $async$completer);
  88125. }
  88126. });
  88127. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88128. },
  88129. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88130. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88131. },
  88132. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88133. var $async$goto = 0,
  88134. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88135. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88136. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88137. if ($async$errorCode === 1) {
  88138. $async$errorStack.push($async$result);
  88139. $async$goto = $async$handler;
  88140. }
  88141. while (true)
  88142. switch ($async$goto) {
  88143. case 0:
  88144. // Function start
  88145. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88146. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88147. $async$handler = 3;
  88148. t1 = callback.call$0();
  88149. $async$goto = 6;
  88150. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88151. case 6:
  88152. // returning from await.
  88153. t1 = $async$result;
  88154. $async$returnValue = t1;
  88155. $async$next = [1];
  88156. // goto finally
  88157. $async$goto = 4;
  88158. break;
  88159. $async$next.push(5);
  88160. // goto finally
  88161. $async$goto = 4;
  88162. break;
  88163. case 3:
  88164. // uncaught
  88165. $async$next = [2];
  88166. case 4:
  88167. // finally
  88168. $async$handler = 2;
  88169. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88170. // goto the next finally handler
  88171. $async$goto = $async$next.pop();
  88172. break;
  88173. case 5:
  88174. // after finally
  88175. case 1:
  88176. // return
  88177. return A._asyncReturn($async$returnValue, $async$completer);
  88178. case 2:
  88179. // rethrow
  88180. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88181. }
  88182. });
  88183. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88184. },
  88185. _async_evaluate0$_parenthesize$2(condition, operator) {
  88186. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88187. },
  88188. _async_evaluate0$_parenthesize$1(condition) {
  88189. return this._async_evaluate0$_parenthesize$2(condition, null);
  88190. },
  88191. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88192. var $async$goto = 0,
  88193. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88194. $async$returnValue, $async$self = this, t1, $async$temp1;
  88195. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88196. if ($async$errorCode === 1)
  88197. return A._asyncRethrow($async$result, $async$completer);
  88198. while (true)
  88199. switch ($async$goto) {
  88200. case 0:
  88201. // Function start
  88202. if (!(condition instanceof A.SupportsNegation0))
  88203. if (condition instanceof A.SupportsOperation0)
  88204. t1 = operator == null || operator !== condition.operator;
  88205. else
  88206. t1 = false;
  88207. else
  88208. t1 = true;
  88209. $async$goto = t1 ? 3 : 4;
  88210. break;
  88211. case 3:
  88212. // then
  88213. $async$temp1 = A;
  88214. $async$goto = 5;
  88215. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88216. case 5:
  88217. // returning from await.
  88218. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88219. // goto return
  88220. $async$goto = 1;
  88221. break;
  88222. case 4:
  88223. // join
  88224. $async$goto = 6;
  88225. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88226. case 6:
  88227. // returning from await.
  88228. $async$returnValue = $async$result;
  88229. // goto return
  88230. $async$goto = 1;
  88231. break;
  88232. case 1:
  88233. // return
  88234. return A._asyncReturn($async$returnValue, $async$completer);
  88235. }
  88236. });
  88237. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88238. },
  88239. visitVariableDeclaration$1(_, node) {
  88240. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88241. },
  88242. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88243. var $async$goto = 0,
  88244. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88245. $async$returnValue, $async$self = this, t1, _0_0, t2, value, $async$temp1, $async$temp2, $async$temp3;
  88246. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88247. if ($async$errorCode === 1)
  88248. return A._asyncRethrow($async$result, $async$completer);
  88249. while (true)
  88250. switch ($async$goto) {
  88251. case 0:
  88252. // Function start
  88253. if (node.isGuarded) {
  88254. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88255. t1 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88256. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, node.name);
  88257. t1 = {};
  88258. t1.override = null;
  88259. if (_0_0 != null) {
  88260. t1.override = _0_0;
  88261. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88262. } else
  88263. t2 = false;
  88264. if (t2) {
  88265. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88266. $async$returnValue = null;
  88267. // goto return
  88268. $async$goto = 1;
  88269. break;
  88270. }
  88271. }
  88272. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88273. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88274. $async$returnValue = null;
  88275. // goto return
  88276. $async$goto = 1;
  88277. break;
  88278. }
  88279. }
  88280. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88281. 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.";
  88282. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  88283. }
  88284. t1 = node.expression;
  88285. t2 = t1.accept$1($async$self);
  88286. $async$temp1 = node;
  88287. $async$temp2 = A;
  88288. $async$temp3 = node;
  88289. $async$goto = 3;
  88290. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88291. case 3:
  88292. // returning from await.
  88293. $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)));
  88294. $async$returnValue = null;
  88295. // goto return
  88296. $async$goto = 1;
  88297. break;
  88298. case 1:
  88299. // return
  88300. return A._asyncReturn($async$returnValue, $async$completer);
  88301. }
  88302. });
  88303. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88304. },
  88305. visitUseRule$1(_, node) {
  88306. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88307. },
  88308. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88309. var $async$goto = 0,
  88310. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88311. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88312. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88313. if ($async$errorCode === 1)
  88314. return A._asyncRethrow($async$result, $async$completer);
  88315. while (true)
  88316. switch ($async$goto) {
  88317. case 0:
  88318. // Function start
  88319. t1 = node.configuration;
  88320. t2 = t1.length;
  88321. $async$goto = t2 !== 0 ? 3 : 5;
  88322. break;
  88323. case 3:
  88324. // then
  88325. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  88326. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  88327. case 6:
  88328. // for condition
  88329. if (!(_i < t2)) {
  88330. // goto after for
  88331. $async$goto = 8;
  88332. break;
  88333. }
  88334. variable = t1[_i];
  88335. t5 = variable.expression;
  88336. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  88337. t5 = t5.accept$1($async$self);
  88338. if (!t4._is(t5)) {
  88339. t6 = new A._Future($.Zone__current, t3);
  88340. t6._state = 8;
  88341. t6._resultOrListeners = t5;
  88342. t5 = t6;
  88343. }
  88344. $async$temp1 = values;
  88345. $async$temp2 = variable.name;
  88346. $async$temp3 = A;
  88347. $async$goto = 9;
  88348. return A._asyncAwait(t5, $async$visitUseRule$1);
  88349. case 9:
  88350. // returning from await.
  88351. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  88352. case 7:
  88353. // for update
  88354. ++_i;
  88355. // goto for condition
  88356. $async$goto = 6;
  88357. break;
  88358. case 8:
  88359. // after for
  88360. configuration = new A.ExplicitConfiguration0(node, values, null);
  88361. // goto join
  88362. $async$goto = 4;
  88363. break;
  88364. case 5:
  88365. // else
  88366. configuration = B.Configuration_Map_empty_null0;
  88367. case 4:
  88368. // join
  88369. $async$goto = 10;
  88370. 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);
  88371. case 10:
  88372. // returning from await.
  88373. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  88374. $async$returnValue = null;
  88375. // goto return
  88376. $async$goto = 1;
  88377. break;
  88378. case 1:
  88379. // return
  88380. return A._asyncReturn($async$returnValue, $async$completer);
  88381. }
  88382. });
  88383. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  88384. },
  88385. visitWarnRule$1(_, node) {
  88386. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  88387. },
  88388. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  88389. var $async$goto = 0,
  88390. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88391. $async$returnValue, $async$self = this, value, t1, t2;
  88392. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88393. if ($async$errorCode === 1)
  88394. return A._asyncRethrow($async$result, $async$completer);
  88395. while (true)
  88396. switch ($async$goto) {
  88397. case 0:
  88398. // Function start
  88399. $async$goto = 3;
  88400. 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);
  88401. case 3:
  88402. // returning from await.
  88403. value = $async$result;
  88404. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  88405. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  88406. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  88407. $async$returnValue = null;
  88408. // goto return
  88409. $async$goto = 1;
  88410. break;
  88411. case 1:
  88412. // return
  88413. return A._asyncReturn($async$returnValue, $async$completer);
  88414. }
  88415. });
  88416. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  88417. },
  88418. visitWhileRule$1(_, node) {
  88419. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  88420. },
  88421. visitBinaryOperationExpression$1(_, node) {
  88422. var t1, _this = this;
  88423. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88424. t1 = node.operator;
  88425. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  88426. } else
  88427. t1 = false;
  88428. if (t1)
  88429. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  88430. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  88431. },
  88432. _async_evaluate0$_slash$3(left, right, node) {
  88433. var t2, _1_1,
  88434. result = left.dividedBy$1(right),
  88435. _1_2_isSet = left instanceof A.SassNumber0,
  88436. _1_2 = null, right0 = null,
  88437. t1 = false;
  88438. if (_1_2_isSet) {
  88439. t2 = type$.SassNumber_2;
  88440. t2._as(left);
  88441. if (right instanceof A.SassNumber0) {
  88442. t2._as(right);
  88443. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  88444. right0 = right;
  88445. _1_2 = right0;
  88446. } else
  88447. _1_2 = right;
  88448. _1_1 = left;
  88449. } else {
  88450. _1_1 = left;
  88451. left = null;
  88452. }
  88453. if (t1)
  88454. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  88455. if (_1_1 instanceof A.SassNumber0)
  88456. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  88457. else
  88458. t1 = false;
  88459. if (t1) {
  88460. 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);
  88461. return result;
  88462. }
  88463. return result;
  88464. },
  88465. _async_evaluate0$_operandAllowsSlash$1(node) {
  88466. var t1;
  88467. if (node instanceof A.FunctionExpression0)
  88468. if (node.namespace == null) {
  88469. t1 = node.name;
  88470. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  88471. } else
  88472. t1 = false;
  88473. else
  88474. t1 = true;
  88475. return t1;
  88476. },
  88477. visitValueExpression$1(_, node) {
  88478. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  88479. },
  88480. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  88481. var $async$goto = 0,
  88482. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88483. $async$returnValue;
  88484. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88485. if ($async$errorCode === 1)
  88486. return A._asyncRethrow($async$result, $async$completer);
  88487. while (true)
  88488. switch ($async$goto) {
  88489. case 0:
  88490. // Function start
  88491. $async$returnValue = node.value;
  88492. // goto return
  88493. $async$goto = 1;
  88494. break;
  88495. case 1:
  88496. // return
  88497. return A._asyncReturn($async$returnValue, $async$completer);
  88498. }
  88499. });
  88500. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  88501. },
  88502. visitVariableExpression$1(_, node) {
  88503. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  88504. },
  88505. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  88506. var $async$goto = 0,
  88507. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88508. $async$returnValue, $async$self = this, result;
  88509. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88510. if ($async$errorCode === 1)
  88511. return A._asyncRethrow($async$result, $async$completer);
  88512. while (true)
  88513. switch ($async$goto) {
  88514. case 0:
  88515. // Function start
  88516. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  88517. if (result != null) {
  88518. $async$returnValue = result;
  88519. // goto return
  88520. $async$goto = 1;
  88521. break;
  88522. }
  88523. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  88524. case 1:
  88525. // return
  88526. return A._asyncReturn($async$returnValue, $async$completer);
  88527. }
  88528. });
  88529. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  88530. },
  88531. visitUnaryOperationExpression$1(_, node) {
  88532. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  88533. },
  88534. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  88535. var $async$goto = 0,
  88536. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88537. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  88538. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88539. if ($async$errorCode === 1)
  88540. return A._asyncRethrow($async$result, $async$completer);
  88541. while (true)
  88542. switch ($async$goto) {
  88543. case 0:
  88544. // Function start
  88545. $async$temp1 = node;
  88546. $async$temp2 = A;
  88547. $async$temp3 = node;
  88548. $async$goto = 3;
  88549. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  88550. case 3:
  88551. // returning from await.
  88552. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  88553. // goto return
  88554. $async$goto = 1;
  88555. break;
  88556. case 1:
  88557. // return
  88558. return A._asyncReturn($async$returnValue, $async$completer);
  88559. }
  88560. });
  88561. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  88562. },
  88563. visitBooleanExpression$1(_, node) {
  88564. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  88565. },
  88566. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  88567. var $async$goto = 0,
  88568. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  88569. $async$returnValue;
  88570. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88571. if ($async$errorCode === 1)
  88572. return A._asyncRethrow($async$result, $async$completer);
  88573. while (true)
  88574. switch ($async$goto) {
  88575. case 0:
  88576. // Function start
  88577. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88578. // goto return
  88579. $async$goto = 1;
  88580. break;
  88581. case 1:
  88582. // return
  88583. return A._asyncReturn($async$returnValue, $async$completer);
  88584. }
  88585. });
  88586. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  88587. },
  88588. visitIfExpression$1(_, node) {
  88589. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  88590. },
  88591. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  88592. var $async$goto = 0,
  88593. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88594. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  88595. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88596. if ($async$errorCode === 1)
  88597. return A._asyncRethrow($async$result, $async$completer);
  88598. while (true)
  88599. switch ($async$goto) {
  88600. case 0:
  88601. // Function start
  88602. $async$goto = 3;
  88603. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  88604. case 3:
  88605. // returning from await.
  88606. _0_0 = $async$result;
  88607. positional = _0_0._0;
  88608. named = _0_0._1;
  88609. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  88610. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  88611. if (condition == null) {
  88612. t1 = named.$index(0, "condition");
  88613. t1.toString;
  88614. condition = t1;
  88615. }
  88616. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  88617. if (ifTrue == null) {
  88618. t1 = named.$index(0, "if-true");
  88619. t1.toString;
  88620. ifTrue = t1;
  88621. }
  88622. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  88623. if (ifFalse == null) {
  88624. t1 = named.$index(0, "if-false");
  88625. t1.toString;
  88626. ifFalse = t1;
  88627. }
  88628. $async$goto = 4;
  88629. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  88630. case 4:
  88631. // returning from await.
  88632. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  88633. t1 = result.accept$1($async$self);
  88634. $async$goto = 5;
  88635. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  88636. case 5:
  88637. // returning from await.
  88638. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  88639. // goto return
  88640. $async$goto = 1;
  88641. break;
  88642. case 1:
  88643. // return
  88644. return A._asyncReturn($async$returnValue, $async$completer);
  88645. }
  88646. });
  88647. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  88648. },
  88649. visitNullExpression$1(_, node) {
  88650. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  88651. },
  88652. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  88653. var $async$goto = 0,
  88654. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88655. $async$returnValue;
  88656. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88657. if ($async$errorCode === 1)
  88658. return A._asyncRethrow($async$result, $async$completer);
  88659. while (true)
  88660. switch ($async$goto) {
  88661. case 0:
  88662. // Function start
  88663. $async$returnValue = B.C__SassNull0;
  88664. // goto return
  88665. $async$goto = 1;
  88666. break;
  88667. case 1:
  88668. // return
  88669. return A._asyncReturn($async$returnValue, $async$completer);
  88670. }
  88671. });
  88672. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  88673. },
  88674. visitNumberExpression$1(_, node) {
  88675. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  88676. },
  88677. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  88678. var $async$goto = 0,
  88679. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  88680. $async$returnValue;
  88681. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88682. if ($async$errorCode === 1)
  88683. return A._asyncRethrow($async$result, $async$completer);
  88684. while (true)
  88685. switch ($async$goto) {
  88686. case 0:
  88687. // Function start
  88688. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  88689. // goto return
  88690. $async$goto = 1;
  88691. break;
  88692. case 1:
  88693. // return
  88694. return A._asyncReturn($async$returnValue, $async$completer);
  88695. }
  88696. });
  88697. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  88698. },
  88699. visitParenthesizedExpression$1(_, node) {
  88700. var _this = this;
  88701. 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);
  88702. },
  88703. visitColorExpression$1(_, node) {
  88704. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  88705. },
  88706. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  88707. var $async$goto = 0,
  88708. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  88709. $async$returnValue;
  88710. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88711. if ($async$errorCode === 1)
  88712. return A._asyncRethrow($async$result, $async$completer);
  88713. while (true)
  88714. switch ($async$goto) {
  88715. case 0:
  88716. // Function start
  88717. $async$returnValue = node.value;
  88718. // goto return
  88719. $async$goto = 1;
  88720. break;
  88721. case 1:
  88722. // return
  88723. return A._asyncReturn($async$returnValue, $async$completer);
  88724. }
  88725. });
  88726. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  88727. },
  88728. visitListExpression$1(_, node) {
  88729. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  88730. },
  88731. visitListExpression$body$_EvaluateVisitor0(_, node) {
  88732. var $async$goto = 0,
  88733. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  88734. $async$returnValue, $async$self = this, $async$temp1;
  88735. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88736. if ($async$errorCode === 1)
  88737. return A._asyncRethrow($async$result, $async$completer);
  88738. while (true)
  88739. switch ($async$goto) {
  88740. case 0:
  88741. // Function start
  88742. $async$temp1 = A;
  88743. $async$goto = 3;
  88744. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  88745. case 3:
  88746. // returning from await.
  88747. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  88748. // goto return
  88749. $async$goto = 1;
  88750. break;
  88751. case 1:
  88752. // return
  88753. return A._asyncReturn($async$returnValue, $async$completer);
  88754. }
  88755. });
  88756. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  88757. },
  88758. visitMapExpression$1(_, node) {
  88759. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  88760. },
  88761. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  88762. var $async$goto = 0,
  88763. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  88764. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  88765. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88766. if ($async$errorCode === 1)
  88767. return A._asyncRethrow($async$result, $async$completer);
  88768. while (true)
  88769. switch ($async$goto) {
  88770. case 0:
  88771. // Function start
  88772. t1 = type$.Value_2;
  88773. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88774. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  88775. t2 = node.pairs, t3 = t2.length, _i = 0;
  88776. case 3:
  88777. // for condition
  88778. if (!(_i < t3)) {
  88779. // goto after for
  88780. $async$goto = 5;
  88781. break;
  88782. }
  88783. t4 = t2[_i];
  88784. key = t4._0;
  88785. $async$goto = 6;
  88786. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  88787. case 6:
  88788. // returning from await.
  88789. keyValue = $async$result;
  88790. $async$goto = 7;
  88791. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  88792. case 7:
  88793. // returning from await.
  88794. valueValue = $async$result;
  88795. if (map.containsKey$1(keyValue)) {
  88796. t1 = keyNodes.$index(0, keyValue);
  88797. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  88798. t1 = key.get$span(key);
  88799. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88800. if (oldValueSpan != null)
  88801. t2.$indexSet(0, oldValueSpan, "first key");
  88802. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  88803. }
  88804. map.$indexSet(0, keyValue, valueValue);
  88805. keyNodes.$indexSet(0, keyValue, key);
  88806. case 4:
  88807. // for update
  88808. ++_i;
  88809. // goto for condition
  88810. $async$goto = 3;
  88811. break;
  88812. case 5:
  88813. // after for
  88814. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  88815. // goto return
  88816. $async$goto = 1;
  88817. break;
  88818. case 1:
  88819. // return
  88820. return A._asyncReturn($async$returnValue, $async$completer);
  88821. }
  88822. });
  88823. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  88824. },
  88825. visitFunctionExpression$1(_, node) {
  88826. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  88827. },
  88828. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  88829. var $async$goto = 0,
  88830. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88831. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  88832. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88833. if ($async$errorCode === 1)
  88834. return A._asyncRethrow($async$result, $async$completer);
  88835. while (true)
  88836. switch ($async$goto) {
  88837. case 0:
  88838. // Function start
  88839. t1 = {};
  88840. $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));
  88841. t1.$function = $function;
  88842. $async$goto = $function == null ? 3 : 5;
  88843. break;
  88844. case 3:
  88845. // then
  88846. if (node.namespace != null)
  88847. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  88848. t2 = node.name;
  88849. _0_0 = t2.toLowerCase();
  88850. t3 = false;
  88851. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  88852. t3 = node.$arguments;
  88853. t4 = t3.named;
  88854. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  88855. $name = _0_0;
  88856. } else
  88857. $name = null;
  88858. $async$goto = t3 ? 6 : 7;
  88859. break;
  88860. case 6:
  88861. // then
  88862. $async$goto = 8;
  88863. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  88864. case 8:
  88865. // returning from await.
  88866. $async$returnValue = $async$result;
  88867. // goto return
  88868. $async$goto = 1;
  88869. break;
  88870. case 7:
  88871. // join
  88872. $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;
  88873. break;
  88874. case 9:
  88875. // then
  88876. $async$goto = 11;
  88877. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  88878. case 11:
  88879. // returning from await.
  88880. $async$returnValue = $async$result;
  88881. // goto return
  88882. $async$goto = 1;
  88883. break;
  88884. case 10:
  88885. // join
  88886. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  88887. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  88888. // goto join
  88889. $async$goto = 4;
  88890. break;
  88891. case 5:
  88892. // else
  88893. t2 = $function;
  88894. case 4:
  88895. // join
  88896. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  88897. $async$self._async_evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_d4j);
  88898. oldInFunction = $async$self._async_evaluate0$_inFunction;
  88899. $async$self._async_evaluate0$_inFunction = true;
  88900. $async$goto = 12;
  88901. 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);
  88902. case 12:
  88903. // returning from await.
  88904. result = $async$result;
  88905. $async$self._async_evaluate0$_inFunction = oldInFunction;
  88906. $async$returnValue = result;
  88907. // goto return
  88908. $async$goto = 1;
  88909. break;
  88910. case 1:
  88911. // return
  88912. return A._asyncReturn($async$returnValue, $async$completer);
  88913. }
  88914. });
  88915. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  88916. },
  88917. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  88918. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  88919. },
  88920. _async_evaluate0$_visitCalculation$1(node) {
  88921. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  88922. },
  88923. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  88924. var $async$goto = 0,
  88925. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88926. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  88927. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88928. if ($async$errorCode === 1)
  88929. return A._asyncRethrow($async$result, $async$completer);
  88930. while (true)
  88931. switch ($async$goto) {
  88932. case 0:
  88933. // Function start
  88934. t2 = node.$arguments;
  88935. t3 = t2.named;
  88936. if (t3.get$isNotEmpty(t3))
  88937. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  88938. else if (t2.rest != null)
  88939. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  88940. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  88941. t3 = A._setArrayType([], type$.JSArray_Object);
  88942. t2 = t2.positional, t4 = t2.length, _i = 0;
  88943. case 3:
  88944. // for condition
  88945. if (!(_i < t4)) {
  88946. // goto after for
  88947. $async$goto = 5;
  88948. break;
  88949. }
  88950. $async$temp1 = t3;
  88951. $async$goto = 6;
  88952. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  88953. case 6:
  88954. // returning from await.
  88955. $async$temp1.push($async$result);
  88956. case 4:
  88957. // for update
  88958. ++_i;
  88959. // goto for condition
  88960. $async$goto = 3;
  88961. break;
  88962. case 5:
  88963. // after for
  88964. $arguments = t3;
  88965. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  88966. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  88967. // goto return
  88968. $async$goto = 1;
  88969. break;
  88970. }
  88971. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  88972. $async$self._async_evaluate0$_callableNode = node;
  88973. try {
  88974. t1 = null;
  88975. t3 = node.name;
  88976. _0_0 = t3.toLowerCase();
  88977. $label0$0: {
  88978. if ("calc" === _0_0) {
  88979. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  88980. break $label0$0;
  88981. }
  88982. if ("sqrt" === _0_0) {
  88983. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  88984. break $label0$0;
  88985. }
  88986. if ("sin" === _0_0) {
  88987. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  88988. break $label0$0;
  88989. }
  88990. if ("cos" === _0_0) {
  88991. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  88992. break $label0$0;
  88993. }
  88994. if ("tan" === _0_0) {
  88995. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  88996. break $label0$0;
  88997. }
  88998. if ("asin" === _0_0) {
  88999. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  89000. break $label0$0;
  89001. }
  89002. if ("acos" === _0_0) {
  89003. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89004. break $label0$0;
  89005. }
  89006. if ("atan" === _0_0) {
  89007. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89008. break $label0$0;
  89009. }
  89010. if ("abs" === _0_0) {
  89011. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89012. break $label0$0;
  89013. }
  89014. if ("exp" === _0_0) {
  89015. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89016. break $label0$0;
  89017. }
  89018. if ("sign" === _0_0) {
  89019. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89020. break $label0$0;
  89021. }
  89022. if ("min" === _0_0) {
  89023. t1 = A.SassCalculation_min0($arguments);
  89024. break $label0$0;
  89025. }
  89026. if ("max" === _0_0) {
  89027. t1 = A.SassCalculation_max0($arguments);
  89028. break $label0$0;
  89029. }
  89030. if ("hypot" === _0_0) {
  89031. t1 = A.SassCalculation_hypot0($arguments);
  89032. break $label0$0;
  89033. }
  89034. if ("pow" === _0_0) {
  89035. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89036. break $label0$0;
  89037. }
  89038. if ("atan2" === _0_0) {
  89039. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89040. break $label0$0;
  89041. }
  89042. if ("log" === _0_0) {
  89043. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89044. break $label0$0;
  89045. }
  89046. if ("mod" === _0_0) {
  89047. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89048. break $label0$0;
  89049. }
  89050. if ("rem" === _0_0) {
  89051. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89052. break $label0$0;
  89053. }
  89054. if ("round" === _0_0) {
  89055. 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));
  89056. break $label0$0;
  89057. }
  89058. if ("clamp" === _0_0) {
  89059. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89060. break $label0$0;
  89061. }
  89062. if ("calc-size" === _0_0) {
  89063. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89064. break $label0$0;
  89065. }
  89066. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89067. t1 = A.throwExpression(t3);
  89068. }
  89069. t1 = t1;
  89070. $async$returnValue = t1;
  89071. // goto return
  89072. $async$goto = 1;
  89073. break;
  89074. } catch (exception) {
  89075. t1 = A.unwrapException(exception);
  89076. if (t1 instanceof A.SassScriptException0) {
  89077. error = t1;
  89078. stackTrace = A.getTraceFromException(exception);
  89079. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89080. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89081. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89082. } else
  89083. throw exception;
  89084. } finally {
  89085. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89086. }
  89087. case 1:
  89088. // return
  89089. return A._asyncReturn($async$returnValue, $async$completer);
  89090. }
  89091. });
  89092. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89093. },
  89094. _async_evaluate0$_checkCalculationArguments$1(node) {
  89095. var t1, _0_0,
  89096. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89097. $label0$0: {
  89098. t1 = node.name;
  89099. _0_0 = t1.toLowerCase();
  89100. 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) {
  89101. check.call$1(1);
  89102. break $label0$0;
  89103. }
  89104. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89105. check.call$0();
  89106. break $label0$0;
  89107. }
  89108. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89109. check.call$1(2);
  89110. break $label0$0;
  89111. }
  89112. if ("round" === _0_0 || "clamp" === _0_0) {
  89113. check.call$1(3);
  89114. break $label0$0;
  89115. }
  89116. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89117. }
  89118. },
  89119. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89120. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89121. for (i = 0; t1 = args.length, i < t1; ++i) {
  89122. _0_0 = args[i];
  89123. if (_0_0 instanceof A.SassNumber0) {
  89124. t1 = _0_0.get$hasComplexUnits();
  89125. arg = _0_0;
  89126. } else {
  89127. arg = null;
  89128. t1 = false;
  89129. }
  89130. if (t1) {
  89131. t1 = A.S(arg);
  89132. t2 = nodesWithSpans[i];
  89133. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89134. }
  89135. }
  89136. for (i = 0; i < t1 - 1; ++i) {
  89137. number1 = args[i];
  89138. if (!(number1 instanceof A.SassNumber0))
  89139. continue;
  89140. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89141. number2 = args[j];
  89142. if (!(number2 instanceof A.SassNumber0))
  89143. continue;
  89144. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89145. continue;
  89146. t1 = number1.toString$0(0);
  89147. t2 = number2.toString$0(0);
  89148. t3 = nodesWithSpans[i];
  89149. t3 = t3.get$span(t3);
  89150. t4 = number1.toString$0(0);
  89151. t5 = nodesWithSpans[j];
  89152. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89153. t6 = nodesWithSpans[i];
  89154. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89155. }
  89156. }
  89157. },
  89158. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89159. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89160. },
  89161. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89162. var $async$goto = 0,
  89163. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89164. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89165. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89166. if ($async$errorCode === 1)
  89167. return A._asyncRethrow($async$result, $async$completer);
  89168. while (true)
  89169. switch ($async$goto) {
  89170. case 0:
  89171. // Function start
  89172. t1 = node instanceof A.ParenthesizedExpression0;
  89173. inner = t1 ? node.expression : null;
  89174. $async$goto = t1 ? 3 : 4;
  89175. break;
  89176. case 3:
  89177. // then
  89178. $async$goto = 5;
  89179. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89180. case 5:
  89181. // returning from await.
  89182. result = $async$result;
  89183. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89184. // goto return
  89185. $async$goto = 1;
  89186. break;
  89187. case 4:
  89188. // join
  89189. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89190. break;
  89191. case 6:
  89192. // then
  89193. t1 = node.text;
  89194. t2 = t1.get$asPlain();
  89195. _0_0 = t2 == null ? null : t2.toLowerCase();
  89196. if ("pi" === _0_0) {
  89197. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89198. // goto break $label0$0
  89199. $async$goto = 8;
  89200. break;
  89201. }
  89202. if ("e" === _0_0) {
  89203. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89204. // goto break $label0$0
  89205. $async$goto = 8;
  89206. break;
  89207. }
  89208. if ("infinity" === _0_0) {
  89209. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89210. // goto break $label0$0
  89211. $async$goto = 8;
  89212. break;
  89213. }
  89214. if ("-infinity" === _0_0) {
  89215. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89216. // goto break $label0$0
  89217. $async$goto = 8;
  89218. break;
  89219. }
  89220. if ("nan" === _0_0) {
  89221. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89222. // goto break $label0$0
  89223. $async$goto = 8;
  89224. break;
  89225. }
  89226. $async$temp1 = A;
  89227. $async$goto = 9;
  89228. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89229. case 9:
  89230. // returning from await.
  89231. t1 = new $async$temp1.SassString0($async$result, false);
  89232. // goto break $label0$0
  89233. $async$goto = 8;
  89234. break;
  89235. case 8:
  89236. // break $label0$0
  89237. $async$returnValue = t1;
  89238. // goto return
  89239. $async$goto = 1;
  89240. break;
  89241. case 7:
  89242. // join
  89243. _box_0 = {};
  89244. _box_0.right = _box_0.left = _box_0.operator = null;
  89245. t1 = node instanceof A.BinaryOperationExpression0;
  89246. if (t1) {
  89247. _box_0.operator = node.operator;
  89248. _box_0.left = node.left;
  89249. _box_0.right = node.right;
  89250. }
  89251. $async$goto = t1 ? 10 : 11;
  89252. break;
  89253. case 10:
  89254. // then
  89255. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89256. $async$goto = 12;
  89257. 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);
  89258. case 12:
  89259. // returning from await.
  89260. $async$returnValue = $async$result;
  89261. // goto return
  89262. $async$goto = 1;
  89263. break;
  89264. case 11:
  89265. // join
  89266. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89267. break;
  89268. case 13:
  89269. // then
  89270. $async$goto = 15;
  89271. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89272. case 15:
  89273. // returning from await.
  89274. _1_0 = $async$result;
  89275. $label1$1: {
  89276. if (_1_0 instanceof A.SassNumber0) {
  89277. t1 = _1_0;
  89278. break $label1$1;
  89279. }
  89280. if (_1_0 instanceof A.SassCalculation0) {
  89281. t1 = _1_0;
  89282. break $label1$1;
  89283. }
  89284. if (_1_0 instanceof A.SassString0) {
  89285. t1 = !_1_0._string0$_hasQuotes;
  89286. result = _1_0;
  89287. } else {
  89288. result = null;
  89289. t1 = false;
  89290. }
  89291. if (t1) {
  89292. t1 = result;
  89293. break $label1$1;
  89294. }
  89295. 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)));
  89296. }
  89297. $async$returnValue = t1;
  89298. // goto return
  89299. $async$goto = 1;
  89300. break;
  89301. case 14:
  89302. // join
  89303. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89304. break;
  89305. case 16:
  89306. // then
  89307. t1 = A._setArrayType([], type$.JSArray_Object);
  89308. t2 = node.contents, t3 = t2.length, _i = 0;
  89309. case 18:
  89310. // for condition
  89311. if (!(_i < t3)) {
  89312. // goto after for
  89313. $async$goto = 20;
  89314. break;
  89315. }
  89316. $async$temp1 = t1;
  89317. $async$goto = 21;
  89318. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89319. case 21:
  89320. // returning from await.
  89321. $async$temp1.push($async$result);
  89322. case 19:
  89323. // for update
  89324. ++_i;
  89325. // goto for condition
  89326. $async$goto = 18;
  89327. break;
  89328. case 20:
  89329. // after for
  89330. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  89331. for (i = 0; i < t1.length; ++i) {
  89332. t3 = t1[i];
  89333. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  89334. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  89335. }
  89336. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  89337. // goto return
  89338. $async$goto = 1;
  89339. break;
  89340. case 17:
  89341. // join
  89342. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  89343. case 1:
  89344. // return
  89345. return A._asyncReturn($async$returnValue, $async$completer);
  89346. }
  89347. });
  89348. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  89349. },
  89350. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  89351. var t2, t3, t4, textBetweenOperands, first, last,
  89352. t1 = node.operator;
  89353. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  89354. return;
  89355. t1 = node.left;
  89356. t2 = t1.get$span(t1);
  89357. t2 = t2.get$file(t2);
  89358. t3 = node.right;
  89359. t4 = t3.get$span(t3);
  89360. if (t2 !== t4.get$file(t4))
  89361. return;
  89362. t2 = t1.get$span(t1);
  89363. t2 = t2.get$end(t2);
  89364. t4 = t3.get$span(t3);
  89365. if (t2.offset >= t4.get$start(t4).offset)
  89366. return;
  89367. t2 = t1.get$span(t1);
  89368. t2 = t2.get$file(t2);
  89369. t1 = t1.get$span(t1);
  89370. t1 = t1.get$end(t1);
  89371. t3 = t3.get$span(t3);
  89372. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  89373. first = textBetweenOperands.charCodeAt(0);
  89374. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  89375. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  89376. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  89377. else
  89378. t1 = true;
  89379. if (t1)
  89380. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  89381. },
  89382. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  89383. var t1;
  89384. $label0$0: {
  89385. if (B.BinaryOperator_Swh0 === operator) {
  89386. t1 = B.CalculationOperator_F7i0;
  89387. break $label0$0;
  89388. }
  89389. if (B.BinaryOperator_QG10 === operator) {
  89390. t1 = B.CalculationOperator_oum0;
  89391. break $label0$0;
  89392. }
  89393. if (B.BinaryOperator_tht0 === operator) {
  89394. t1 = B.CalculationOperator_kkN0;
  89395. break $label0$0;
  89396. }
  89397. if (B.BinaryOperator_Mh50 === operator) {
  89398. t1 = B.CalculationOperator_bo50;
  89399. break $label0$0;
  89400. }
  89401. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  89402. }
  89403. return t1;
  89404. },
  89405. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  89406. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  89407. for (t1 = elements.length, i = 1; i < t1; ++i) {
  89408. t2 = i - 1;
  89409. previous = elements[t2];
  89410. current = elements[i];
  89411. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  89412. continue;
  89413. t1 = node.contents;
  89414. previousNode = t1[t2];
  89415. currentNode = t1[i];
  89416. if (currentNode instanceof A.UnaryOperationExpression0) {
  89417. _0_2 = currentNode.operator;
  89418. if (B.UnaryOperator_UCP0 !== _0_2)
  89419. t1 = B.UnaryOperator_Rbl0 === _0_2;
  89420. else
  89421. t1 = true;
  89422. } else
  89423. t1 = false;
  89424. if (!t1)
  89425. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  89426. else
  89427. t1 = true;
  89428. if (t1)
  89429. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  89430. else
  89431. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  89432. }
  89433. },
  89434. visitInterpolatedFunctionExpression$1(_, node) {
  89435. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  89436. },
  89437. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89438. var $async$goto = 0,
  89439. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89440. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  89441. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89442. if ($async$errorCode === 1)
  89443. return A._asyncRethrow($async$result, $async$completer);
  89444. while (true)
  89445. switch ($async$goto) {
  89446. case 0:
  89447. // Function start
  89448. $async$goto = 3;
  89449. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  89450. case 3:
  89451. // returning from await.
  89452. t1 = $async$result;
  89453. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89454. $async$self._async_evaluate0$_inFunction = true;
  89455. $async$goto = 4;
  89456. 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);
  89457. case 4:
  89458. // returning from await.
  89459. result = $async$result;
  89460. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89461. $async$returnValue = result;
  89462. // goto return
  89463. $async$goto = 1;
  89464. break;
  89465. case 1:
  89466. // return
  89467. return A._asyncReturn($async$returnValue, $async$completer);
  89468. }
  89469. });
  89470. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  89471. },
  89472. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  89473. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  89474. },
  89475. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  89476. var $async$goto = 0,
  89477. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89478. $async$returnValue, $async$self = this, oldCallable, oldInDependency, result, evaluated, $name;
  89479. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89480. if ($async$errorCode === 1)
  89481. return A._asyncRethrow($async$result, $async$completer);
  89482. while (true)
  89483. switch ($async$goto) {
  89484. case 0:
  89485. // Function start
  89486. $async$goto = 3;
  89487. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  89488. case 3:
  89489. // returning from await.
  89490. evaluated = $async$result;
  89491. $name = callable.declaration.name;
  89492. if ($name !== "@content")
  89493. $name += "()";
  89494. oldCallable = $async$self._async_evaluate0$_currentCallable;
  89495. oldInDependency = $async$self._async_evaluate0$_inDependency;
  89496. $async$self._async_evaluate0$_currentCallable = callable;
  89497. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  89498. $async$goto = 4;
  89499. 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);
  89500. case 4:
  89501. // returning from await.
  89502. result = $async$result;
  89503. $async$self._async_evaluate0$_currentCallable = oldCallable;
  89504. $async$self._async_evaluate0$_inDependency = oldInDependency;
  89505. $async$returnValue = result;
  89506. // goto return
  89507. $async$goto = 1;
  89508. break;
  89509. case 1:
  89510. // return
  89511. return A._asyncReturn($async$returnValue, $async$completer);
  89512. }
  89513. });
  89514. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  89515. },
  89516. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  89517. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89518. },
  89519. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89520. var $async$goto = 0,
  89521. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89522. $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;
  89523. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89524. if ($async$errorCode === 1) {
  89525. $async$errorStack.push($async$result);
  89526. $async$goto = $async$handler;
  89527. }
  89528. while (true)
  89529. switch ($async$goto) {
  89530. case 0:
  89531. // Function start
  89532. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  89533. break;
  89534. case 3:
  89535. // then
  89536. $async$goto = 6;
  89537. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  89538. case 6:
  89539. // returning from await.
  89540. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  89541. // goto return
  89542. $async$goto = 1;
  89543. break;
  89544. // goto join
  89545. $async$goto = 4;
  89546. break;
  89547. case 5:
  89548. // else
  89549. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  89550. break;
  89551. case 7:
  89552. // then
  89553. $async$goto = 10;
  89554. 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);
  89555. case 10:
  89556. // returning from await.
  89557. $async$returnValue = $async$result;
  89558. // goto return
  89559. $async$goto = 1;
  89560. break;
  89561. // goto join
  89562. $async$goto = 8;
  89563. break;
  89564. case 9:
  89565. // else
  89566. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  89567. break;
  89568. case 11:
  89569. // then
  89570. t1 = $arguments.named;
  89571. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  89572. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  89573. buffer = new A.StringBuffer(callable.name + "(");
  89574. $async$handler = 15;
  89575. first = true;
  89576. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  89577. case 18:
  89578. // for condition
  89579. if (!(_i < t2)) {
  89580. // goto after for
  89581. $async$goto = 20;
  89582. break;
  89583. }
  89584. argument = t1[_i];
  89585. if (first)
  89586. first = false;
  89587. else
  89588. buffer._contents += ", ";
  89589. t3 = buffer;
  89590. $async$temp1 = A;
  89591. $async$goto = 21;
  89592. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  89593. case 21:
  89594. // returning from await.
  89595. t4 = $async$temp1.S($async$result);
  89596. t3._contents += t4;
  89597. case 19:
  89598. // for update
  89599. ++_i;
  89600. // goto for condition
  89601. $async$goto = 18;
  89602. break;
  89603. case 20:
  89604. // after for
  89605. restArg = $arguments.rest;
  89606. $async$goto = restArg != null ? 22 : 23;
  89607. break;
  89608. case 22:
  89609. // then
  89610. $async$goto = 24;
  89611. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  89612. case 24:
  89613. // returning from await.
  89614. rest = $async$result;
  89615. if (!first)
  89616. buffer._contents += ", ";
  89617. t1 = buffer;
  89618. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  89619. t1._contents += t2;
  89620. case 23:
  89621. // join
  89622. $async$handler = 2;
  89623. // goto after finally
  89624. $async$goto = 17;
  89625. break;
  89626. case 15:
  89627. // catch
  89628. $async$handler = 14;
  89629. $async$exception = $async$errorStack.pop();
  89630. t1 = A.unwrapException($async$exception);
  89631. if (type$.SassRuntimeException_2._is(t1)) {
  89632. error = t1;
  89633. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  89634. throw $async$exception;
  89635. 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));
  89636. } else
  89637. throw $async$exception;
  89638. // goto after finally
  89639. $async$goto = 17;
  89640. break;
  89641. case 14:
  89642. // uncaught
  89643. // goto rethrow
  89644. $async$goto = 2;
  89645. break;
  89646. case 17:
  89647. // after finally
  89648. t1 = buffer;
  89649. t2 = A.Primitives_stringFromCharCode(41);
  89650. t1._contents += t2;
  89651. t2 = buffer._contents;
  89652. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  89653. // goto return
  89654. $async$goto = 1;
  89655. break;
  89656. // goto join
  89657. $async$goto = 12;
  89658. break;
  89659. case 13:
  89660. // else
  89661. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  89662. case 12:
  89663. // join
  89664. case 8:
  89665. // join
  89666. case 4:
  89667. // join
  89668. case 1:
  89669. // return
  89670. return A._asyncReturn($async$returnValue, $async$completer);
  89671. case 2:
  89672. // rethrow
  89673. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89674. }
  89675. });
  89676. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  89677. },
  89678. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  89679. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89680. },
  89681. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89682. var $async$goto = 0,
  89683. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89684. $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;
  89685. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89686. if ($async$errorCode === 1) {
  89687. $async$errorStack.push($async$result);
  89688. $async$goto = $async$handler;
  89689. }
  89690. while (true)
  89691. switch ($async$goto) {
  89692. case 0:
  89693. // Function start
  89694. _box_0 = {};
  89695. $async$goto = 3;
  89696. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  89697. case 3:
  89698. // returning from await.
  89699. evaluated = $async$result;
  89700. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89701. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  89702. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  89703. _box_0.callback = _box_0.overload = null;
  89704. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  89705. _box_0.overload = _0_0._0;
  89706. _box_0.callback = _0_0._1;
  89707. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  89708. parameters = _box_0.overload.parameters;
  89709. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  89710. case 4:
  89711. // for condition
  89712. if (!(i < t1)) {
  89713. // goto after for
  89714. $async$goto = 6;
  89715. break;
  89716. }
  89717. parameter = parameters[i];
  89718. t4 = evaluated._values[2];
  89719. t5 = evaluated._values[0].remove$1(0, parameter.name);
  89720. $async$goto = t5 == null ? 7 : 8;
  89721. break;
  89722. case 7:
  89723. // then
  89724. t5 = parameter.defaultValue;
  89725. t6 = t5.accept$1($async$self);
  89726. if (!t3._is(t6)) {
  89727. t7 = new A._Future($.Zone__current, t2);
  89728. t7._state = 8;
  89729. t7._resultOrListeners = t6;
  89730. t6 = t7;
  89731. }
  89732. $async$goto = 9;
  89733. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  89734. case 9:
  89735. // returning from await.
  89736. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  89737. case 8:
  89738. // join
  89739. J.add$1$ax(t4, t5);
  89740. case 5:
  89741. // for update
  89742. ++i;
  89743. // goto for condition
  89744. $async$goto = 4;
  89745. break;
  89746. case 6:
  89747. // after for
  89748. if (_box_0.overload.restParameter != null) {
  89749. if (J.get$length$asx(evaluated._values[2]) > t1) {
  89750. rest = J.sublist$1$ax(evaluated._values[2], t1);
  89751. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  89752. } else
  89753. rest = B.List_empty20;
  89754. t1 = evaluated._values[0];
  89755. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  89756. J.add$1$ax(evaluated._values[2], argumentList);
  89757. } else
  89758. argumentList = null;
  89759. result = null;
  89760. $async$handler = 11;
  89761. $async$goto = 14;
  89762. 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);
  89763. case 14:
  89764. // returning from await.
  89765. result = $async$result;
  89766. $async$handler = 2;
  89767. // goto after finally
  89768. $async$goto = 13;
  89769. break;
  89770. case 11:
  89771. // catch
  89772. $async$handler = 10;
  89773. $async$exception = $async$errorStack.pop();
  89774. t1 = A.unwrapException($async$exception);
  89775. if (t1 instanceof A.SassException0)
  89776. throw $async$exception;
  89777. else {
  89778. error = t1;
  89779. stackTrace = A.getTraceFromException($async$exception);
  89780. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  89781. }
  89782. // goto after finally
  89783. $async$goto = 13;
  89784. break;
  89785. case 10:
  89786. // uncaught
  89787. // goto rethrow
  89788. $async$goto = 2;
  89789. break;
  89790. case 13:
  89791. // after finally
  89792. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89793. if (argumentList == null) {
  89794. $async$returnValue = result;
  89795. // goto return
  89796. $async$goto = 1;
  89797. break;
  89798. }
  89799. t1 = evaluated._values[0];
  89800. if (t1.get$isEmpty(t1)) {
  89801. $async$returnValue = result;
  89802. // goto return
  89803. $async$goto = 1;
  89804. break;
  89805. }
  89806. if (argumentList._argument_list$_wereKeywordsAccessed) {
  89807. $async$returnValue = result;
  89808. // goto return
  89809. $async$goto = 1;
  89810. break;
  89811. }
  89812. t1 = evaluated._values[0];
  89813. t1 = A.pluralize0("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  89814. t2 = evaluated._values[0];
  89815. 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));
  89816. case 1:
  89817. // return
  89818. return A._asyncReturn($async$returnValue, $async$completer);
  89819. case 2:
  89820. // rethrow
  89821. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89822. }
  89823. });
  89824. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  89825. },
  89826. _async_evaluate0$_evaluateArguments$1($arguments) {
  89827. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  89828. },
  89829. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  89830. var $async$goto = 0,
  89831. $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),
  89832. $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;
  89833. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89834. if ($async$errorCode === 1)
  89835. return A._asyncRethrow($async$result, $async$completer);
  89836. while (true)
  89837. switch ($async$goto) {
  89838. case 0:
  89839. // Function start
  89840. positional = A._setArrayType([], type$.JSArray_Value_2);
  89841. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  89842. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  89843. case 3:
  89844. // for condition
  89845. if (!(_i < t2)) {
  89846. // goto after for
  89847. $async$goto = 5;
  89848. break;
  89849. }
  89850. expression = t1[_i];
  89851. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  89852. t5 = expression.accept$1($async$self);
  89853. if (!t4._is(t5)) {
  89854. t6 = new A._Future($.Zone__current, t3);
  89855. t6._state = 8;
  89856. t6._resultOrListeners = t5;
  89857. t5 = t6;
  89858. }
  89859. $async$temp1 = positional;
  89860. $async$goto = 6;
  89861. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  89862. case 6:
  89863. // returning from await.
  89864. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  89865. positionalNodes.push(nodeForSpan);
  89866. case 4:
  89867. // for update
  89868. ++_i;
  89869. // goto for condition
  89870. $async$goto = 3;
  89871. break;
  89872. case 5:
  89873. // after for
  89874. t1 = type$.String;
  89875. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  89876. t2 = type$.AstNode_2;
  89877. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89878. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  89879. case 7:
  89880. // for condition
  89881. if (!t5.moveNext$0()) {
  89882. // goto after for
  89883. $async$goto = 8;
  89884. break;
  89885. }
  89886. t6 = t5.get$current(t5);
  89887. $name = t6._0;
  89888. value = t6._1;
  89889. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  89890. t6 = value.accept$1($async$self);
  89891. if (!t4._is(t6)) {
  89892. t7 = new A._Future($.Zone__current, t3);
  89893. t7._state = 8;
  89894. t7._resultOrListeners = t6;
  89895. t6 = t7;
  89896. }
  89897. $async$temp1 = named;
  89898. $async$temp2 = $name;
  89899. $async$goto = 9;
  89900. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  89901. case 9:
  89902. // returning from await.
  89903. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  89904. namedNodes.$indexSet(0, $name, nodeForSpan);
  89905. // goto for condition
  89906. $async$goto = 7;
  89907. break;
  89908. case 8:
  89909. // after for
  89910. restArgs = $arguments.rest;
  89911. if (restArgs == null) {
  89912. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  89913. // goto return
  89914. $async$goto = 1;
  89915. break;
  89916. }
  89917. $async$goto = 10;
  89918. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  89919. case 10:
  89920. // returning from await.
  89921. rest = $async$result;
  89922. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  89923. if (rest instanceof A.SassMap0) {
  89924. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  89925. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89926. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  89927. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  89928. namedNodes.addAll$1(0, t3);
  89929. separator = B.ListSeparator_undecided_null_undecided0;
  89930. } else if (rest instanceof A.SassList0) {
  89931. t3 = rest._list1$_contents;
  89932. 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>")));
  89933. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  89934. separator = rest._list1$_separator;
  89935. if (rest instanceof A.SassArgumentList0) {
  89936. rest._argument_list$_wereKeywordsAccessed = true;
  89937. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  89938. }
  89939. } else {
  89940. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  89941. positionalNodes.push(restNodeForSpan);
  89942. separator = B.ListSeparator_undecided_null_undecided0;
  89943. }
  89944. keywordRestArgs = $arguments.keywordRest;
  89945. if (keywordRestArgs == null) {
  89946. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  89947. // goto return
  89948. $async$goto = 1;
  89949. break;
  89950. }
  89951. $async$goto = 11;
  89952. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  89953. case 11:
  89954. // returning from await.
  89955. keywordRest = $async$result;
  89956. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  89957. if (keywordRest instanceof A.SassMap0) {
  89958. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  89959. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  89960. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  89961. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  89962. namedNodes.addAll$1(0, t1);
  89963. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  89964. // goto return
  89965. $async$goto = 1;
  89966. break;
  89967. } else
  89968. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  89969. case 1:
  89970. // return
  89971. return A._asyncReturn($async$returnValue, $async$completer);
  89972. }
  89973. });
  89974. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  89975. },
  89976. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  89977. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  89978. },
  89979. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  89980. var $async$goto = 0,
  89981. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  89982. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  89983. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89984. if ($async$errorCode === 1)
  89985. return A._asyncRethrow($async$result, $async$completer);
  89986. while (true)
  89987. switch ($async$goto) {
  89988. case 0:
  89989. // Function start
  89990. t1 = invocation.$arguments;
  89991. restArgs_ = t1.rest;
  89992. if (restArgs_ == null) {
  89993. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  89994. // goto return
  89995. $async$goto = 1;
  89996. break;
  89997. }
  89998. t2 = t1.positional;
  89999. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  90000. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  90001. $async$goto = 3;
  90002. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90003. case 3:
  90004. // returning from await.
  90005. rest = $async$result;
  90006. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90007. if (rest instanceof A.SassMap0)
  90008. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90009. else if (rest instanceof A.SassList0) {
  90010. t2 = rest._list1$_contents;
  90011. 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>")));
  90012. if (rest instanceof A.SassArgumentList0) {
  90013. rest._argument_list$_wereKeywordsAccessed = true;
  90014. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90015. }
  90016. } else
  90017. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90018. keywordRestArgs_ = t1.keywordRest;
  90019. if (keywordRestArgs_ == null) {
  90020. $async$returnValue = new A._Record_2(positional, named);
  90021. // goto return
  90022. $async$goto = 1;
  90023. break;
  90024. }
  90025. $async$goto = 4;
  90026. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90027. case 4:
  90028. // returning from await.
  90029. keywordRest = $async$result;
  90030. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90031. if (keywordRest instanceof A.SassMap0) {
  90032. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90033. $async$returnValue = new A._Record_2(positional, named);
  90034. // goto return
  90035. $async$goto = 1;
  90036. break;
  90037. } else
  90038. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90039. case 1:
  90040. // return
  90041. return A._asyncReturn($async$returnValue, $async$completer);
  90042. }
  90043. });
  90044. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90045. },
  90046. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90047. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90048. },
  90049. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90050. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90051. },
  90052. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90053. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90054. },
  90055. visitSelectorExpression$1(_, node) {
  90056. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90057. },
  90058. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90059. var $async$goto = 0,
  90060. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90061. $async$returnValue, $async$self = this, t1;
  90062. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90063. if ($async$errorCode === 1)
  90064. return A._asyncRethrow($async$result, $async$completer);
  90065. while (true)
  90066. switch ($async$goto) {
  90067. case 0:
  90068. // Function start
  90069. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90070. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90071. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90072. // goto return
  90073. $async$goto = 1;
  90074. break;
  90075. case 1:
  90076. // return
  90077. return A._asyncReturn($async$returnValue, $async$completer);
  90078. }
  90079. });
  90080. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90081. },
  90082. visitStringExpression$1(_, node) {
  90083. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90084. },
  90085. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90086. var $async$goto = 0,
  90087. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90088. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90089. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90090. if ($async$errorCode === 1)
  90091. return A._asyncRethrow($async$result, $async$completer);
  90092. while (true)
  90093. switch ($async$goto) {
  90094. case 0:
  90095. // Function start
  90096. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90097. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90098. t1 = A._setArrayType([], type$.JSArray_String);
  90099. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90100. case 3:
  90101. // for condition
  90102. if (!(_i < t3)) {
  90103. // goto after for
  90104. $async$goto = 5;
  90105. break;
  90106. }
  90107. value = t2[_i];
  90108. if (typeof value == "string") {
  90109. t4 = value;
  90110. // goto break $label0$0
  90111. $async$goto = 6;
  90112. break;
  90113. }
  90114. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90115. break;
  90116. case 7:
  90117. // then
  90118. $async$goto = 9;
  90119. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90120. case 9:
  90121. // returning from await.
  90122. _0_0 = $async$result;
  90123. $label1$1: {
  90124. if (_0_0 instanceof A.SassString0) {
  90125. text = _0_0._string0$_text;
  90126. t4 = text;
  90127. break $label1$1;
  90128. }
  90129. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90130. break $label1$1;
  90131. }
  90132. // goto break $label0$0
  90133. $async$goto = 6;
  90134. break;
  90135. case 8:
  90136. // join
  90137. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90138. case 6:
  90139. // break $label0$0
  90140. t1.push(t4);
  90141. case 4:
  90142. // for update
  90143. ++_i;
  90144. // goto for condition
  90145. $async$goto = 3;
  90146. break;
  90147. case 5:
  90148. // after for
  90149. t1 = B.JSArray_methods.join$0(t1);
  90150. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90151. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90152. // goto return
  90153. $async$goto = 1;
  90154. break;
  90155. case 1:
  90156. // return
  90157. return A._asyncReturn($async$returnValue, $async$completer);
  90158. }
  90159. });
  90160. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90161. },
  90162. visitSupportsExpression$1(_, expression) {
  90163. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90164. },
  90165. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90166. var $async$goto = 0,
  90167. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90168. $async$returnValue, $async$self = this, $async$temp1;
  90169. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90170. if ($async$errorCode === 1)
  90171. return A._asyncRethrow($async$result, $async$completer);
  90172. while (true)
  90173. switch ($async$goto) {
  90174. case 0:
  90175. // Function start
  90176. $async$temp1 = A;
  90177. $async$goto = 3;
  90178. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90179. case 3:
  90180. // returning from await.
  90181. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90182. // goto return
  90183. $async$goto = 1;
  90184. break;
  90185. case 1:
  90186. // return
  90187. return A._asyncReturn($async$returnValue, $async$completer);
  90188. }
  90189. });
  90190. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90191. },
  90192. visitCssAtRule$1(node) {
  90193. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90194. },
  90195. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90196. var $async$goto = 0,
  90197. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90198. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90199. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90200. if ($async$errorCode === 1)
  90201. return A._asyncRethrow($async$result, $async$completer);
  90202. while (true)
  90203. switch ($async$goto) {
  90204. case 0:
  90205. // Function start
  90206. if ($async$self._async_evaluate0$_declarationName != null)
  90207. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90208. if (node.isChildless) {
  90209. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90210. // goto return
  90211. $async$goto = 1;
  90212. break;
  90213. }
  90214. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90215. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90216. t1 = node.name;
  90217. if (A.unvendor0(t1.value) === "keyframes")
  90218. $async$self._async_evaluate0$_inKeyframes = true;
  90219. else
  90220. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90221. $async$goto = 3;
  90222. 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);
  90223. case 3:
  90224. // returning from await.
  90225. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90226. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90227. case 1:
  90228. // return
  90229. return A._asyncReturn($async$returnValue, $async$completer);
  90230. }
  90231. });
  90232. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90233. },
  90234. visitCssComment$1(node) {
  90235. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90236. },
  90237. visitCssComment$body$_EvaluateVisitor0(node) {
  90238. var $async$goto = 0,
  90239. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90240. $async$self = this;
  90241. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90242. if ($async$errorCode === 1)
  90243. return A._asyncRethrow($async$result, $async$completer);
  90244. while (true)
  90245. switch ($async$goto) {
  90246. case 0:
  90247. // Function start
  90248. 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))
  90249. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90250. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90251. // implicit return
  90252. return A._asyncReturn(null, $async$completer);
  90253. }
  90254. });
  90255. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90256. },
  90257. visitCssDeclaration$1(node) {
  90258. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90259. },
  90260. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90261. var $async$goto = 0,
  90262. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90263. $async$self = this;
  90264. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90265. if ($async$errorCode === 1)
  90266. return A._asyncRethrow($async$result, $async$completer);
  90267. while (true)
  90268. switch ($async$goto) {
  90269. case 0:
  90270. // Function start
  90271. $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));
  90272. // implicit return
  90273. return A._asyncReturn(null, $async$completer);
  90274. }
  90275. });
  90276. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90277. },
  90278. visitCssImport$1(node) {
  90279. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90280. },
  90281. visitCssImport$body$_EvaluateVisitor0(node) {
  90282. var $async$goto = 0,
  90283. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90284. $async$self = this, t1, modifiableNode;
  90285. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90286. if ($async$errorCode === 1)
  90287. return A._asyncRethrow($async$result, $async$completer);
  90288. while (true)
  90289. switch ($async$goto) {
  90290. case 0:
  90291. // Function start
  90292. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90293. 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"))
  90294. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90295. 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)) {
  90296. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90297. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90298. } else {
  90299. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90300. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90301. }
  90302. // implicit return
  90303. return A._asyncReturn(null, $async$completer);
  90304. }
  90305. });
  90306. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90307. },
  90308. visitCssKeyframeBlock$1(node) {
  90309. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90310. },
  90311. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90312. var $async$goto = 0,
  90313. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90314. $async$self = this;
  90315. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90316. if ($async$errorCode === 1)
  90317. return A._asyncRethrow($async$result, $async$completer);
  90318. while (true)
  90319. switch ($async$goto) {
  90320. case 0:
  90321. // Function start
  90322. $async$goto = 2;
  90323. 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);
  90324. case 2:
  90325. // returning from await.
  90326. // implicit return
  90327. return A._asyncReturn(null, $async$completer);
  90328. }
  90329. });
  90330. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  90331. },
  90332. visitCssMediaRule$1(node) {
  90333. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  90334. },
  90335. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  90336. var $async$goto = 0,
  90337. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90338. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  90339. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90340. if ($async$errorCode === 1)
  90341. return A._asyncRethrow($async$result, $async$completer);
  90342. while (true)
  90343. switch ($async$goto) {
  90344. case 0:
  90345. // Function start
  90346. if ($async$self._async_evaluate0$_declarationName != null)
  90347. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  90348. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  90349. t1 = mergedQueries == null;
  90350. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  90351. // goto return
  90352. $async$goto = 1;
  90353. break;
  90354. }
  90355. if (t1)
  90356. mergedSources = B.Set_empty5;
  90357. else {
  90358. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  90359. t2.toString;
  90360. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  90361. t3 = $async$self._async_evaluate0$_mediaQueries;
  90362. t3.toString;
  90363. t2.addAll$1(0, t3);
  90364. t2.addAll$1(0, node.queries);
  90365. mergedSources = t2;
  90366. }
  90367. t1 = t1 ? node.queries : mergedQueries;
  90368. $async$goto = 3;
  90369. 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);
  90370. case 3:
  90371. // returning from await.
  90372. case 1:
  90373. // return
  90374. return A._asyncReturn($async$returnValue, $async$completer);
  90375. }
  90376. });
  90377. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  90378. },
  90379. visitCssStyleRule$1(node) {
  90380. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  90381. },
  90382. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  90383. var $async$goto = 0,
  90384. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90385. $async$self = this, t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild;
  90386. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90387. if ($async$errorCode === 1)
  90388. return A._asyncRethrow($async$result, $async$completer);
  90389. while (true)
  90390. switch ($async$goto) {
  90391. case 0:
  90392. // Function start
  90393. if ($async$self._async_evaluate0$_declarationName != null)
  90394. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  90395. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  90396. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  90397. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90398. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90399. t2 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90400. t2 = t2 == null ? null : t2.fromPlainCss;
  90401. nest = t2 !== true;
  90402. t2 = node._style_rule0$_selector._box0$_inner;
  90403. if (nest) {
  90404. t2 = t2.value;
  90405. t3 = styleRule == null ? null : styleRule.originalSelector;
  90406. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  90407. } else
  90408. originalSelector = t2.value;
  90409. 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);
  90410. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90411. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  90412. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  90413. $async$goto = 2;
  90414. 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);
  90415. case 2:
  90416. // returning from await.
  90417. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  90418. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  90419. t2 = J.getInterceptor$asx(t1);
  90420. _0_1 = t2.get$length(t1);
  90421. if (_0_1 >= 1) {
  90422. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  90423. t1 = styleRule == null;
  90424. } else {
  90425. lastChild = null;
  90426. t1 = false;
  90427. }
  90428. if (t1)
  90429. lastChild.isGroupEnd = true;
  90430. // implicit return
  90431. return A._asyncReturn(null, $async$completer);
  90432. }
  90433. });
  90434. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  90435. },
  90436. visitCssStylesheet$1(node) {
  90437. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  90438. },
  90439. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  90440. var $async$goto = 0,
  90441. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90442. $async$self = this, t1;
  90443. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90444. if ($async$errorCode === 1)
  90445. return A._asyncRethrow($async$result, $async$completer);
  90446. while (true)
  90447. switch ($async$goto) {
  90448. case 0:
  90449. // Function start
  90450. t1 = J.get$iterator$ax(node.get$children(node));
  90451. case 2:
  90452. // for condition
  90453. if (!t1.moveNext$0()) {
  90454. // goto after for
  90455. $async$goto = 3;
  90456. break;
  90457. }
  90458. $async$goto = 4;
  90459. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  90460. case 4:
  90461. // returning from await.
  90462. // goto for condition
  90463. $async$goto = 2;
  90464. break;
  90465. case 3:
  90466. // after for
  90467. // implicit return
  90468. return A._asyncReturn(null, $async$completer);
  90469. }
  90470. });
  90471. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  90472. },
  90473. visitCssSupportsRule$1(node) {
  90474. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  90475. },
  90476. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  90477. var $async$goto = 0,
  90478. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90479. $async$self = this;
  90480. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90481. if ($async$errorCode === 1)
  90482. return A._asyncRethrow($async$result, $async$completer);
  90483. while (true)
  90484. switch ($async$goto) {
  90485. case 0:
  90486. // Function start
  90487. if ($async$self._async_evaluate0$_declarationName != null)
  90488. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  90489. $async$goto = 2;
  90490. 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);
  90491. case 2:
  90492. // returning from await.
  90493. // implicit return
  90494. return A._asyncReturn(null, $async$completer);
  90495. }
  90496. });
  90497. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  90498. },
  90499. _async_evaluate0$_handleReturn$1$2(list, callback) {
  90500. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  90501. },
  90502. _async_evaluate0$_handleReturn$2(list, callback) {
  90503. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  90504. },
  90505. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  90506. var $async$goto = 0,
  90507. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  90508. $async$returnValue, t1, _i, _0_0;
  90509. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90510. if ($async$errorCode === 1)
  90511. return A._asyncRethrow($async$result, $async$completer);
  90512. while (true)
  90513. switch ($async$goto) {
  90514. case 0:
  90515. // Function start
  90516. t1 = list.length, _i = 0;
  90517. case 3:
  90518. // for condition
  90519. if (!(_i < list.length)) {
  90520. // goto after for
  90521. $async$goto = 5;
  90522. break;
  90523. }
  90524. $async$goto = 6;
  90525. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  90526. case 6:
  90527. // returning from await.
  90528. _0_0 = $async$result;
  90529. if (_0_0 != null) {
  90530. $async$returnValue = _0_0;
  90531. // goto return
  90532. $async$goto = 1;
  90533. break;
  90534. }
  90535. case 4:
  90536. // for update
  90537. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  90538. // goto for condition
  90539. $async$goto = 3;
  90540. break;
  90541. case 5:
  90542. // after for
  90543. $async$returnValue = null;
  90544. // goto return
  90545. $async$goto = 1;
  90546. break;
  90547. case 1:
  90548. // return
  90549. return A._asyncReturn($async$returnValue, $async$completer);
  90550. }
  90551. });
  90552. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  90553. },
  90554. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  90555. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  90556. },
  90557. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  90558. var $async$goto = 0,
  90559. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90560. $async$returnValue, $async$self = this, result, oldEnvironment;
  90561. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90562. if ($async$errorCode === 1)
  90563. return A._asyncRethrow($async$result, $async$completer);
  90564. while (true)
  90565. switch ($async$goto) {
  90566. case 0:
  90567. // Function start
  90568. oldEnvironment = $async$self._async_evaluate0$_environment;
  90569. $async$self._async_evaluate0$_environment = environment;
  90570. $async$goto = 3;
  90571. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  90572. case 3:
  90573. // returning from await.
  90574. result = $async$result;
  90575. $async$self._async_evaluate0$_environment = oldEnvironment;
  90576. $async$returnValue = result;
  90577. // goto return
  90578. $async$goto = 1;
  90579. break;
  90580. case 1:
  90581. // return
  90582. return A._asyncReturn($async$returnValue, $async$completer);
  90583. }
  90584. });
  90585. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  90586. },
  90587. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  90588. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  90589. },
  90590. _async_evaluate0$_interpolationToValue$1(interpolation) {
  90591. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  90592. },
  90593. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  90594. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  90595. },
  90596. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  90597. var $async$goto = 0,
  90598. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  90599. $async$returnValue, $async$self = this, result, t1;
  90600. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90601. if ($async$errorCode === 1)
  90602. return A._asyncRethrow($async$result, $async$completer);
  90603. while (true)
  90604. switch ($async$goto) {
  90605. case 0:
  90606. // Function start
  90607. $async$goto = 3;
  90608. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  90609. case 3:
  90610. // returning from await.
  90611. result = $async$result;
  90612. t1 = trim ? A.trimAscii0(result, true) : result;
  90613. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  90614. // goto return
  90615. $async$goto = 1;
  90616. break;
  90617. case 1:
  90618. // return
  90619. return A._asyncReturn($async$returnValue, $async$completer);
  90620. }
  90621. });
  90622. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  90623. },
  90624. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  90625. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  90626. },
  90627. _async_evaluate0$_performInterpolation$1(interpolation) {
  90628. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  90629. },
  90630. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90631. var $async$goto = 0,
  90632. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90633. $async$returnValue, $async$self = this;
  90634. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90635. if ($async$errorCode === 1)
  90636. return A._asyncRethrow($async$result, $async$completer);
  90637. while (true)
  90638. switch ($async$goto) {
  90639. case 0:
  90640. // Function start
  90641. $async$goto = 3;
  90642. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  90643. case 3:
  90644. // returning from await.
  90645. $async$returnValue = $async$result._0;
  90646. // goto return
  90647. $async$goto = 1;
  90648. break;
  90649. case 1:
  90650. // return
  90651. return A._asyncReturn($async$returnValue, $async$completer);
  90652. }
  90653. });
  90654. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  90655. },
  90656. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  90657. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  90658. },
  90659. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90660. var $async$goto = 0,
  90661. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  90662. $async$returnValue, $async$self = this, _0_0, result, map;
  90663. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90664. if ($async$errorCode === 1)
  90665. return A._asyncRethrow($async$result, $async$completer);
  90666. while (true)
  90667. switch ($async$goto) {
  90668. case 0:
  90669. // Function start
  90670. $async$goto = 3;
  90671. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  90672. case 3:
  90673. // returning from await.
  90674. _0_0 = $async$result;
  90675. result = _0_0._0;
  90676. map = _0_0._1;
  90677. map.toString;
  90678. $async$returnValue = new A._Record_2(result, map);
  90679. // goto return
  90680. $async$goto = 1;
  90681. break;
  90682. case 1:
  90683. // return
  90684. return A._asyncReturn($async$returnValue, $async$completer);
  90685. }
  90686. });
  90687. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  90688. },
  90689. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  90690. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  90691. },
  90692. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  90693. var $async$goto = 0,
  90694. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  90695. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  90696. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90697. if ($async$errorCode === 1)
  90698. return A._asyncRethrow($async$result, $async$completer);
  90699. while (true)
  90700. switch ($async$goto) {
  90701. case 0:
  90702. // Function start
  90703. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  90704. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90705. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90706. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  90707. case 3:
  90708. // for condition
  90709. if (!(_i < t2)) {
  90710. // goto after for
  90711. $async$goto = 5;
  90712. break;
  90713. }
  90714. value = t1[_i];
  90715. if (!first)
  90716. if (!t4)
  90717. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  90718. if (typeof value == "string") {
  90719. t7 += value;
  90720. // goto for update
  90721. $async$goto = 4;
  90722. break;
  90723. }
  90724. t3._as(value);
  90725. $async$goto = 6;
  90726. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  90727. case 6:
  90728. // returning from await.
  90729. result = $async$result;
  90730. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  90731. result0 = A.List_List$from([""], false, t6);
  90732. result0.$flags = 3;
  90733. t8 = $.$get$namesByColor0();
  90734. $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));
  90735. }
  90736. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  90737. case 4:
  90738. // for update
  90739. ++_i, first = false;
  90740. // goto for condition
  90741. $async$goto = 3;
  90742. break;
  90743. case 5:
  90744. // after for
  90745. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90746. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  90747. // goto return
  90748. $async$goto = 1;
  90749. break;
  90750. case 1:
  90751. // return
  90752. return A._asyncReturn($async$returnValue, $async$completer);
  90753. }
  90754. });
  90755. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  90756. },
  90757. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  90758. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  90759. },
  90760. _async_evaluate0$_evaluateToCss$1(expression) {
  90761. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  90762. },
  90763. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  90764. var $async$goto = 0,
  90765. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90766. $async$returnValue, $async$self = this, t1;
  90767. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90768. if ($async$errorCode === 1)
  90769. return A._asyncRethrow($async$result, $async$completer);
  90770. while (true)
  90771. switch ($async$goto) {
  90772. case 0:
  90773. // Function start
  90774. t1 = expression.accept$1($async$self);
  90775. $async$goto = 3;
  90776. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  90777. case 3:
  90778. // returning from await.
  90779. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  90780. // goto return
  90781. $async$goto = 1;
  90782. break;
  90783. case 1:
  90784. // return
  90785. return A._asyncReturn($async$returnValue, $async$completer);
  90786. }
  90787. });
  90788. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  90789. },
  90790. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  90791. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  90792. },
  90793. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  90794. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  90795. },
  90796. _async_evaluate0$_expressionNode$1(expression) {
  90797. var t1;
  90798. if (expression instanceof A.VariableExpression0) {
  90799. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  90800. return t1 == null ? expression : t1;
  90801. } else
  90802. return expression;
  90803. },
  90804. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  90805. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  90806. },
  90807. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  90808. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  90809. },
  90810. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  90811. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  90812. },
  90813. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  90814. var $async$goto = 0,
  90815. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90816. $async$returnValue, $async$self = this, oldParent, result;
  90817. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90818. if ($async$errorCode === 1)
  90819. return A._asyncRethrow($async$result, $async$completer);
  90820. while (true)
  90821. switch ($async$goto) {
  90822. case 0:
  90823. // Function start
  90824. $async$self._async_evaluate0$_addChild$2$through(node, through);
  90825. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  90826. $async$self._async_evaluate0$__parent = node;
  90827. $async$goto = 3;
  90828. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  90829. case 3:
  90830. // returning from await.
  90831. result = $async$result;
  90832. $async$self._async_evaluate0$__parent = oldParent;
  90833. $async$returnValue = result;
  90834. // goto return
  90835. $async$goto = 1;
  90836. break;
  90837. case 1:
  90838. // return
  90839. return A._asyncReturn($async$returnValue, $async$completer);
  90840. }
  90841. });
  90842. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  90843. },
  90844. _async_evaluate0$_addChild$2$through(node, through) {
  90845. var _0_0, grandparent, t1,
  90846. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  90847. if (through != null) {
  90848. for (; through.call$1($parent); $parent = _0_0) {
  90849. _0_0 = $parent._node$_parent;
  90850. if (_0_0 == null)
  90851. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  90852. }
  90853. if ($parent.get$hasFollowingSibling()) {
  90854. grandparent = $parent._node$_parent;
  90855. t1 = grandparent.children;
  90856. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  90857. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  90858. else {
  90859. $parent = $parent.copyWithoutChildren$0();
  90860. grandparent.addChild$1($parent);
  90861. }
  90862. }
  90863. }
  90864. $parent.addChild$1(node);
  90865. },
  90866. _async_evaluate0$_addChild$1(node) {
  90867. return this._async_evaluate0$_addChild$2$through(node, null);
  90868. },
  90869. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  90870. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  90871. },
  90872. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  90873. var $async$goto = 0,
  90874. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90875. $async$returnValue, $async$self = this, result, oldRule;
  90876. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90877. if ($async$errorCode === 1)
  90878. return A._asyncRethrow($async$result, $async$completer);
  90879. while (true)
  90880. switch ($async$goto) {
  90881. case 0:
  90882. // Function start
  90883. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90884. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  90885. $async$goto = 3;
  90886. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  90887. case 3:
  90888. // returning from await.
  90889. result = $async$result;
  90890. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  90891. $async$returnValue = result;
  90892. // goto return
  90893. $async$goto = 1;
  90894. break;
  90895. case 1:
  90896. // return
  90897. return A._asyncReturn($async$returnValue, $async$completer);
  90898. }
  90899. });
  90900. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  90901. },
  90902. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  90903. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  90904. },
  90905. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  90906. var $async$goto = 0,
  90907. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90908. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  90909. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90910. if ($async$errorCode === 1)
  90911. return A._asyncRethrow($async$result, $async$completer);
  90912. while (true)
  90913. switch ($async$goto) {
  90914. case 0:
  90915. // Function start
  90916. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  90917. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  90918. $async$self._async_evaluate0$_mediaQueries = queries;
  90919. $async$self._async_evaluate0$_mediaQuerySources = sources;
  90920. $async$goto = 3;
  90921. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  90922. case 3:
  90923. // returning from await.
  90924. result = $async$result;
  90925. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  90926. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  90927. $async$returnValue = result;
  90928. // goto return
  90929. $async$goto = 1;
  90930. break;
  90931. case 1:
  90932. // return
  90933. return A._asyncReturn($async$returnValue, $async$completer);
  90934. }
  90935. });
  90936. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  90937. },
  90938. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  90939. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  90940. },
  90941. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  90942. var $async$goto = 0,
  90943. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90944. $async$returnValue, $async$self = this, oldMember, result, t1;
  90945. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90946. if ($async$errorCode === 1)
  90947. return A._asyncRethrow($async$result, $async$completer);
  90948. while (true)
  90949. switch ($async$goto) {
  90950. case 0:
  90951. // Function start
  90952. t1 = $async$self._async_evaluate0$_stack;
  90953. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  90954. oldMember = $async$self._async_evaluate0$_member;
  90955. $async$self._async_evaluate0$_member = member;
  90956. $async$goto = 3;
  90957. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  90958. case 3:
  90959. // returning from await.
  90960. result = $async$result;
  90961. $async$self._async_evaluate0$_member = oldMember;
  90962. t1.pop();
  90963. $async$returnValue = result;
  90964. // goto return
  90965. $async$goto = 1;
  90966. break;
  90967. case 1:
  90968. // return
  90969. return A._asyncReturn($async$returnValue, $async$completer);
  90970. }
  90971. });
  90972. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  90973. },
  90974. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  90975. var t1;
  90976. if (value instanceof A.SassNumber0)
  90977. t1 = value.asSlash != null;
  90978. else
  90979. t1 = false;
  90980. if (t1)
  90981. 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);
  90982. return value.withoutSlash$0();
  90983. },
  90984. _async_evaluate0$_stackFrame$2(member, span) {
  90985. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  90986. },
  90987. _async_evaluate0$_stackTrace$1(span) {
  90988. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  90989. t1 = A._setArrayType([], type$.JSArray_Frame);
  90990. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  90991. t4 = t2[_i];
  90992. nodeWithSpan = t4._1;
  90993. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  90994. }
  90995. if (span != null)
  90996. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  90997. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  90998. },
  90999. _async_evaluate0$_stackTrace$0() {
  91000. return this._async_evaluate0$_stackTrace$1(null);
  91001. },
  91002. _async_evaluate0$_warn$3(message, span, deprecation) {
  91003. var trace, t1, _this = this;
  91004. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91005. return;
  91006. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91007. return;
  91008. trace = _this._async_evaluate0$_stackTrace$1(span);
  91009. t1 = _this._async_evaluate0$_logger;
  91010. if (deprecation == null)
  91011. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91012. else
  91013. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91014. },
  91015. _async_evaluate0$_warn$2(message, span) {
  91016. return this._async_evaluate0$_warn$3(message, span, null);
  91017. },
  91018. _async_evaluate0$_exception$2(message, span) {
  91019. var t1, t2;
  91020. if (span == null) {
  91021. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91022. t1 = t1.get$span(t1);
  91023. } else
  91024. t1 = span;
  91025. t2 = this._async_evaluate0$_stackTrace$1(span);
  91026. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91027. },
  91028. _async_evaluate0$_exception$1(message) {
  91029. return this._async_evaluate0$_exception$2(message, null);
  91030. },
  91031. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91032. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91033. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91034. },
  91035. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91036. var error, stackTrace, t1, exception,
  91037. addStackFrame = true;
  91038. try {
  91039. t1 = callback.call$0();
  91040. return t1;
  91041. } catch (exception) {
  91042. t1 = A.unwrapException(exception);
  91043. if (t1 instanceof A.SassScriptException0) {
  91044. error = t1;
  91045. stackTrace = A.getTraceFromException(exception);
  91046. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91047. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91048. } else
  91049. throw exception;
  91050. }
  91051. },
  91052. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91053. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91054. },
  91055. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91056. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91057. },
  91058. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91059. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91060. },
  91061. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91062. var $async$goto = 0,
  91063. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91064. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91065. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91066. if ($async$errorCode === 1) {
  91067. $async$errorStack.push($async$result);
  91068. $async$goto = $async$handler;
  91069. }
  91070. while (true)
  91071. switch ($async$goto) {
  91072. case 0:
  91073. // Function start
  91074. $async$handler = 4;
  91075. t1 = callback.call$0();
  91076. $async$goto = 7;
  91077. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91078. case 7:
  91079. // returning from await.
  91080. t1 = $async$result;
  91081. $async$returnValue = t1;
  91082. // goto return
  91083. $async$goto = 1;
  91084. break;
  91085. $async$handler = 2;
  91086. // goto after finally
  91087. $async$goto = 6;
  91088. break;
  91089. case 4:
  91090. // catch
  91091. $async$handler = 3;
  91092. $async$exception = $async$errorStack.pop();
  91093. t1 = A.unwrapException($async$exception);
  91094. if (t1 instanceof A.SassScriptException0) {
  91095. error = t1;
  91096. stackTrace = A.getTraceFromException($async$exception);
  91097. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91098. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91099. } else
  91100. throw $async$exception;
  91101. // goto after finally
  91102. $async$goto = 6;
  91103. break;
  91104. case 3:
  91105. // uncaught
  91106. // goto rethrow
  91107. $async$goto = 2;
  91108. break;
  91109. case 6:
  91110. // after finally
  91111. case 1:
  91112. // return
  91113. return A._asyncReturn($async$returnValue, $async$completer);
  91114. case 2:
  91115. // rethrow
  91116. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91117. }
  91118. });
  91119. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91120. },
  91121. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91122. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91123. },
  91124. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91125. var $async$goto = 0,
  91126. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91127. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91128. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91129. if ($async$errorCode === 1) {
  91130. $async$errorStack.push($async$result);
  91131. $async$goto = $async$handler;
  91132. }
  91133. while (true)
  91134. switch ($async$goto) {
  91135. case 0:
  91136. // Function start
  91137. $async$handler = 4;
  91138. t1 = callback.call$0();
  91139. $async$goto = 7;
  91140. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91141. case 7:
  91142. // returning from await.
  91143. t1 = $async$result;
  91144. $async$returnValue = t1;
  91145. // goto return
  91146. $async$goto = 1;
  91147. break;
  91148. $async$handler = 2;
  91149. // goto after finally
  91150. $async$goto = 6;
  91151. break;
  91152. case 4:
  91153. // catch
  91154. $async$handler = 3;
  91155. $async$exception = $async$errorStack.pop();
  91156. t1 = A.unwrapException($async$exception);
  91157. if (type$.SassRuntimeException_2._is(t1))
  91158. throw $async$exception;
  91159. else if (t1 instanceof A.SassException0) {
  91160. error = t1;
  91161. stackTrace = A.getTraceFromException($async$exception);
  91162. t1 = error;
  91163. t2 = J.getInterceptor$z(t1);
  91164. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91165. } else
  91166. throw $async$exception;
  91167. // goto after finally
  91168. $async$goto = 6;
  91169. break;
  91170. case 3:
  91171. // uncaught
  91172. // goto rethrow
  91173. $async$goto = 2;
  91174. break;
  91175. case 6:
  91176. // after finally
  91177. case 1:
  91178. // return
  91179. return A._asyncReturn($async$returnValue, $async$completer);
  91180. case 2:
  91181. // rethrow
  91182. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91183. }
  91184. });
  91185. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91186. },
  91187. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91188. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91189. },
  91190. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91191. var $async$goto = 0,
  91192. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91193. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91194. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91195. if ($async$errorCode === 1) {
  91196. $async$errorStack.push($async$result);
  91197. $async$goto = $async$handler;
  91198. }
  91199. while (true)
  91200. switch ($async$goto) {
  91201. case 0:
  91202. // Function start
  91203. $async$handler = 4;
  91204. $async$goto = 7;
  91205. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91206. case 7:
  91207. // returning from await.
  91208. t1 = $async$result;
  91209. $async$returnValue = t1;
  91210. // goto return
  91211. $async$goto = 1;
  91212. break;
  91213. $async$handler = 2;
  91214. // goto after finally
  91215. $async$goto = 6;
  91216. break;
  91217. case 4:
  91218. // catch
  91219. $async$handler = 3;
  91220. $async$exception = $async$errorStack.pop();
  91221. t1 = A.unwrapException($async$exception);
  91222. if (type$.SassRuntimeException_2._is(t1)) {
  91223. error = t1;
  91224. stackTrace = A.getTraceFromException($async$exception);
  91225. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91226. throw $async$exception;
  91227. t1 = error._span_exception$_message;
  91228. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91229. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91230. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91231. } else
  91232. throw $async$exception;
  91233. // goto after finally
  91234. $async$goto = 6;
  91235. break;
  91236. case 3:
  91237. // uncaught
  91238. // goto rethrow
  91239. $async$goto = 2;
  91240. break;
  91241. case 6:
  91242. // after finally
  91243. case 1:
  91244. // return
  91245. return A._asyncReturn($async$returnValue, $async$completer);
  91246. case 2:
  91247. // rethrow
  91248. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91249. }
  91250. });
  91251. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91252. },
  91253. _async_evaluate0$_getErrorMessage$1(error) {
  91254. var t1, exception;
  91255. if (type$.Error._is(error))
  91256. return error.toString$0(0);
  91257. try {
  91258. t1 = A._asString(J.get$message$x(error));
  91259. return t1;
  91260. } catch (exception) {
  91261. t1 = J.toString$0$(error);
  91262. return t1;
  91263. }
  91264. },
  91265. $isExpressionVisitor: 1,
  91266. $isStatementVisitor: 1
  91267. };
  91268. A._EvaluateVisitor_closure38.prototype = {
  91269. call$1($arguments) {
  91270. var module, t2,
  91271. t1 = J.getInterceptor$asx($arguments),
  91272. variable = t1.$index($arguments, 0).assertString$1("name");
  91273. t1 = t1.$index($arguments, 1).get$realNull();
  91274. module = t1 == null ? null : t1.assertString$1("module");
  91275. t1 = this.$this._async_evaluate0$_environment;
  91276. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91277. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91278. },
  91279. $signature: 12
  91280. };
  91281. A._EvaluateVisitor_closure39.prototype = {
  91282. call$1($arguments) {
  91283. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91284. t1 = this.$this._async_evaluate0$_environment;
  91285. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91286. },
  91287. $signature: 12
  91288. };
  91289. A._EvaluateVisitor_closure40.prototype = {
  91290. call$1($arguments) {
  91291. var module, t2, t3, t4,
  91292. t1 = J.getInterceptor$asx($arguments),
  91293. variable = t1.$index($arguments, 0).assertString$1("name");
  91294. t1 = t1.$index($arguments, 1).get$realNull();
  91295. module = t1 == null ? null : t1.assertString$1("module");
  91296. t1 = this.$this;
  91297. t2 = t1._async_evaluate0$_environment;
  91298. t3 = variable._string0$_text;
  91299. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  91300. 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;
  91301. },
  91302. $signature: 12
  91303. };
  91304. A._EvaluateVisitor_closure41.prototype = {
  91305. call$1($arguments) {
  91306. var module, t2,
  91307. t1 = J.getInterceptor$asx($arguments),
  91308. variable = t1.$index($arguments, 0).assertString$1("name");
  91309. t1 = t1.$index($arguments, 1).get$realNull();
  91310. module = t1 == null ? null : t1.assertString$1("module");
  91311. t1 = this.$this._async_evaluate0$_environment;
  91312. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91313. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91314. },
  91315. $signature: 12
  91316. };
  91317. A._EvaluateVisitor_closure42.prototype = {
  91318. call$1($arguments) {
  91319. var t1 = this.$this._async_evaluate0$_environment;
  91320. if (!t1._async_environment0$_inMixin)
  91321. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  91322. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91323. },
  91324. $signature: 12
  91325. };
  91326. A._EvaluateVisitor_closure43.prototype = {
  91327. call$1($arguments) {
  91328. var t2, t3, t4,
  91329. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91330. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91331. if (module == null)
  91332. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91333. t1 = type$.Value_2;
  91334. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91335. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91336. t4 = t3.get$current(t3);
  91337. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  91338. }
  91339. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91340. },
  91341. $signature: 37
  91342. };
  91343. A._EvaluateVisitor_closure44.prototype = {
  91344. call$1($arguments) {
  91345. var t2, t3, t4,
  91346. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91347. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91348. if (module == null)
  91349. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91350. t1 = type$.Value_2;
  91351. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91352. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91353. t4 = t3.get$current(t3);
  91354. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  91355. }
  91356. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91357. },
  91358. $signature: 37
  91359. };
  91360. A._EvaluateVisitor_closure45.prototype = {
  91361. call$1($arguments) {
  91362. var t2, t3, t4,
  91363. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91364. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91365. if (module == null)
  91366. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91367. t1 = type$.Value_2;
  91368. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91369. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91370. t4 = t3.get$current(t3);
  91371. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  91372. }
  91373. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91374. },
  91375. $signature: 37
  91376. };
  91377. A._EvaluateVisitor_closure46.prototype = {
  91378. call$1($arguments) {
  91379. var module, t2, callable,
  91380. t1 = J.getInterceptor$asx($arguments),
  91381. $name = t1.$index($arguments, 0).assertString$1("name"),
  91382. css = t1.$index($arguments, 1).get$isTruthy();
  91383. t1 = t1.$index($arguments, 2).get$realNull();
  91384. module = t1 == null ? null : t1.assertString$1("module");
  91385. if (css) {
  91386. if (module != null)
  91387. throw A.wrapException(string$.x24css_a);
  91388. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  91389. }
  91390. t1 = this.$this;
  91391. t2 = t1._async_evaluate0$_callableNode;
  91392. t2.toString;
  91393. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  91394. if (callable == null)
  91395. throw A.wrapException("Function not found: " + $name.toString$0(0));
  91396. return new A.SassFunction0(callable);
  91397. },
  91398. $signature: 231
  91399. };
  91400. A._EvaluateVisitor__closure14.prototype = {
  91401. call$0() {
  91402. var local,
  91403. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91404. t1 = this.module,
  91405. namespace = t1 == null ? null : t1._string0$_text;
  91406. t1 = this.$this;
  91407. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  91408. if (local != null || namespace != null)
  91409. return local;
  91410. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  91411. },
  91412. $signature: 112
  91413. };
  91414. A._EvaluateVisitor_closure47.prototype = {
  91415. call$1($arguments) {
  91416. var module, t2, callable,
  91417. t1 = J.getInterceptor$asx($arguments),
  91418. $name = t1.$index($arguments, 0).assertString$1("name");
  91419. t1 = t1.$index($arguments, 1).get$realNull();
  91420. module = t1 == null ? null : t1.assertString$1("module");
  91421. t1 = this.$this;
  91422. t2 = t1._async_evaluate0$_callableNode;
  91423. t2.toString;
  91424. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  91425. if (callable == null)
  91426. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  91427. return new A.SassMixin0(callable);
  91428. },
  91429. $signature: 228
  91430. };
  91431. A._EvaluateVisitor__closure13.prototype = {
  91432. call$0() {
  91433. var t1 = this.$this._async_evaluate0$_environment,
  91434. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91435. t3 = this.module;
  91436. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  91437. },
  91438. $signature: 112
  91439. };
  91440. A._EvaluateVisitor_closure48.prototype = {
  91441. call$1($arguments) {
  91442. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  91443. },
  91444. $call$body$_EvaluateVisitor_closure4($arguments) {
  91445. var $async$goto = 0,
  91446. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91447. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  91448. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91449. if ($async$errorCode === 1)
  91450. return A._asyncRethrow($async$result, $async$completer);
  91451. while (true)
  91452. switch ($async$goto) {
  91453. case 0:
  91454. // Function start
  91455. t1 = J.getInterceptor$asx($arguments);
  91456. $function = t1.$index($arguments, 0);
  91457. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91458. t1 = $async$self.$this;
  91459. t2 = t1._async_evaluate0$_callableNode;
  91460. t2.toString;
  91461. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  91462. t4 = type$.String;
  91463. t5 = type$.Expression_2;
  91464. t6 = t2.get$span(t2);
  91465. t7 = t2.get$span(t2);
  91466. args._argument_list$_wereKeywordsAccessed = true;
  91467. t8 = args._argument_list$_keywords;
  91468. if (t8.get$isEmpty(t8))
  91469. t2 = null;
  91470. else {
  91471. t9 = type$.Value_2;
  91472. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  91473. args._argument_list$_wereKeywordsAccessed = true;
  91474. t8 = A.MapExtensions_get_pairs0(t8, t4, t9);
  91475. t8 = t8.get$iterator(t8);
  91476. for (; t8.moveNext$0();) {
  91477. t11 = t8.get$current(t8);
  91478. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  91479. }
  91480. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  91481. }
  91482. 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);
  91483. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  91484. break;
  91485. case 3:
  91486. // then
  91487. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  91488. callableNode = t1._async_evaluate0$_callableNode;
  91489. t2 = $function._string0$_text;
  91490. t3 = callableNode.get$span(callableNode);
  91491. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  91492. $async$goto = 5;
  91493. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  91494. case 5:
  91495. // returning from await.
  91496. $async$returnValue = $async$result;
  91497. // goto return
  91498. $async$goto = 1;
  91499. break;
  91500. case 4:
  91501. // join
  91502. t2 = $function.assertFunction$1("function");
  91503. t3 = t1._async_evaluate0$_callableNode;
  91504. t3.toString;
  91505. $async$goto = 6;
  91506. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  91507. case 6:
  91508. // returning from await.
  91509. t3 = $async$result;
  91510. $async$returnValue = t3;
  91511. // goto return
  91512. $async$goto = 1;
  91513. break;
  91514. case 1:
  91515. // return
  91516. return A._asyncReturn($async$returnValue, $async$completer);
  91517. }
  91518. });
  91519. return A._asyncStartSync($async$call$1, $async$completer);
  91520. },
  91521. $signature: 99
  91522. };
  91523. A._EvaluateVisitor_closure49.prototype = {
  91524. call$1($arguments) {
  91525. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  91526. },
  91527. $call$body$_EvaluateVisitor_closure3($arguments) {
  91528. var $async$goto = 0,
  91529. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91530. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  91531. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91532. if ($async$errorCode === 1)
  91533. return A._asyncRethrow($async$result, $async$completer);
  91534. while (true)
  91535. switch ($async$goto) {
  91536. case 0:
  91537. // Function start
  91538. t1 = J.getInterceptor$asx($arguments);
  91539. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  91540. t1 = t1.$index($arguments, 1).get$realNull();
  91541. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  91542. t1 = $async$self.$this;
  91543. t2 = t1._async_evaluate0$_callableNode;
  91544. t2.toString;
  91545. if (withMap != null) {
  91546. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  91547. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  91548. configuration = new A.ExplicitConfiguration0(t2, values, null);
  91549. } else
  91550. configuration = B.Configuration_Map_empty_null0;
  91551. t3 = t2.get$span(t2);
  91552. $async$goto = 2;
  91553. 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);
  91554. case 2:
  91555. // returning from await.
  91556. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  91557. // implicit return
  91558. return A._asyncReturn(null, $async$completer);
  91559. }
  91560. });
  91561. return A._asyncStartSync($async$call$1, $async$completer);
  91562. },
  91563. $signature: 227
  91564. };
  91565. A._EvaluateVisitor__closure11.prototype = {
  91566. call$2(variable, value) {
  91567. var t1 = variable.assertString$1("with key"),
  91568. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  91569. t1 = this.values;
  91570. if (t1.containsKey$1($name))
  91571. throw A.wrapException("The variable $" + $name + " was configured twice.");
  91572. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  91573. },
  91574. $signature: 111
  91575. };
  91576. A._EvaluateVisitor__closure12.prototype = {
  91577. call$2(module, _) {
  91578. var t1 = this.$this;
  91579. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  91580. },
  91581. $signature: 326
  91582. };
  91583. A._EvaluateVisitor_closure50.prototype = {
  91584. call$1($arguments) {
  91585. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  91586. },
  91587. $call$body$_EvaluateVisitor_closure2($arguments) {
  91588. var $async$goto = 0,
  91589. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91590. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  91591. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91592. if ($async$errorCode === 1)
  91593. return A._asyncRethrow($async$result, $async$completer);
  91594. while (true)
  91595. switch ($async$goto) {
  91596. case 0:
  91597. // Function start
  91598. t1 = J.getInterceptor$asx($arguments);
  91599. mixin = t1.$index($arguments, 0);
  91600. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91601. t1 = $async$self.$this;
  91602. callableNode = t1._async_evaluate0$_callableNode;
  91603. t2 = callableNode.get$span(callableNode);
  91604. t3 = callableNode.get$span(callableNode);
  91605. t4 = type$.Expression_2;
  91606. t5 = A.List_List$unmodifiable(B.List_empty21, t4);
  91607. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  91608. $async$goto = 2;
  91609. 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);
  91610. case 2:
  91611. // returning from await.
  91612. // implicit return
  91613. return A._asyncReturn(null, $async$completer);
  91614. }
  91615. });
  91616. return A._asyncStartSync($async$call$1, $async$completer);
  91617. },
  91618. $signature: 227
  91619. };
  91620. A._EvaluateVisitor_run_closure2.prototype = {
  91621. call$0() {
  91622. var $async$goto = 0,
  91623. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  91624. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  91625. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91626. if ($async$errorCode === 1)
  91627. return A._asyncRethrow($async$result, $async$completer);
  91628. while (true)
  91629. switch ($async$goto) {
  91630. case 0:
  91631. // Function start
  91632. t1 = $async$self.node;
  91633. _0_0 = t1.span.file.url;
  91634. url = null;
  91635. if (_0_0 != null) {
  91636. url = _0_0;
  91637. t2 = $async$self.$this;
  91638. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  91639. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  91640. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  91641. }
  91642. t2 = $async$self.$this;
  91643. $async$goto = 3;
  91644. 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);
  91645. case 3:
  91646. // returning from await.
  91647. module = $async$result;
  91648. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  91649. // goto return
  91650. $async$goto = 1;
  91651. break;
  91652. case 1:
  91653. // return
  91654. return A._asyncReturn($async$returnValue, $async$completer);
  91655. }
  91656. });
  91657. return A._asyncStartSync($async$call$0, $async$completer);
  91658. },
  91659. $signature: 327
  91660. };
  91661. A._EvaluateVisitor_run__closure2.prototype = {
  91662. call$0() {
  91663. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  91664. },
  91665. $signature: 328
  91666. };
  91667. A._EvaluateVisitor__loadModule_closure5.prototype = {
  91668. call$0() {
  91669. return this.callback.call$2(this._box_0.builtInModule, false);
  91670. },
  91671. $signature: 0
  91672. };
  91673. A._EvaluateVisitor__loadModule_closure6.prototype = {
  91674. call$0() {
  91675. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  91676. },
  91677. $call$body$_EvaluateVisitor__loadModule_closure0() {
  91678. var $async$goto = 0,
  91679. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91680. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  91681. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91682. if ($async$errorCode === 1) {
  91683. $async$errorStack.push($async$result);
  91684. $async$goto = $async$handler;
  91685. }
  91686. while (true)
  91687. switch ($async$goto) {
  91688. case 0:
  91689. // Function start
  91690. t1 = {};
  91691. stylesheet = null;
  91692. importer = null;
  91693. t2 = $async$self.$this;
  91694. t3 = $async$self.nodeWithSpan;
  91695. $async$goto = 2;
  91696. 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);
  91697. case 2:
  91698. // returning from await.
  91699. _1_0 = $async$result;
  91700. stylesheet = _1_0._0;
  91701. importer = _1_0._1;
  91702. isDependency = _1_0._2;
  91703. canonicalUrl = stylesheet.span.file.url;
  91704. if (canonicalUrl != null) {
  91705. t4 = t2._async_evaluate0$_activeModules;
  91706. if (t4.containsKey$1(canonicalUrl)) {
  91707. if ($async$self.namesInErrors) {
  91708. t1 = canonicalUrl;
  91709. t3 = $.$get$context();
  91710. t1.toString;
  91711. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  91712. } else
  91713. message = string$.Modulel;
  91714. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  91715. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  91716. } else
  91717. t4.$indexSet(0, canonicalUrl, t3);
  91718. }
  91719. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  91720. oldInDependency = t2._async_evaluate0$_inDependency;
  91721. t2._async_evaluate0$_inDependency = isDependency;
  91722. t1.module = null;
  91723. $async$handler = 3;
  91724. $async$temp1 = t1;
  91725. $async$goto = 6;
  91726. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  91727. case 6:
  91728. // returning from await.
  91729. $async$temp1.module = $async$result;
  91730. $async$next.push(5);
  91731. // goto finally
  91732. $async$goto = 4;
  91733. break;
  91734. case 3:
  91735. // uncaught
  91736. $async$next = [1];
  91737. case 4:
  91738. // finally
  91739. $async$handler = 1;
  91740. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  91741. t2._async_evaluate0$_inDependency = oldInDependency;
  91742. // goto the next finally handler
  91743. $async$goto = $async$next.pop();
  91744. break;
  91745. case 5:
  91746. // after finally
  91747. $async$goto = 7;
  91748. 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);
  91749. case 7:
  91750. // returning from await.
  91751. // implicit return
  91752. return A._asyncReturn(null, $async$completer);
  91753. case 1:
  91754. // rethrow
  91755. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91756. }
  91757. });
  91758. return A._asyncStartSync($async$call$0, $async$completer);
  91759. },
  91760. $signature: 2
  91761. };
  91762. A._EvaluateVisitor__loadModule__closure5.prototype = {
  91763. call$1(previousLoad) {
  91764. 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));
  91765. },
  91766. $signature: 110
  91767. };
  91768. A._EvaluateVisitor__loadModule__closure6.prototype = {
  91769. call$0() {
  91770. return this.callback.call$2(this._box_1.module, this.firstLoad);
  91771. },
  91772. $signature: 0
  91773. };
  91774. A._EvaluateVisitor__execute_closure2.prototype = {
  91775. call$0() {
  91776. var $async$goto = 0,
  91777. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91778. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  91779. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91780. if ($async$errorCode === 1)
  91781. return A._asyncRethrow($async$result, $async$completer);
  91782. while (true)
  91783. switch ($async$goto) {
  91784. case 0:
  91785. // Function start
  91786. t1 = $async$self.$this;
  91787. oldImporter = t1._async_evaluate0$_importer;
  91788. oldStylesheet = t1._async_evaluate0$__stylesheet;
  91789. oldRoot = t1._async_evaluate0$__root;
  91790. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  91791. oldParent = t1._async_evaluate0$__parent;
  91792. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  91793. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  91794. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  91795. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  91796. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  91797. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  91798. oldDeclarationName = t1._async_evaluate0$_declarationName;
  91799. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  91800. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  91801. oldConfiguration = t1._async_evaluate0$_configuration;
  91802. t1._async_evaluate0$_importer = $async$self.importer;
  91803. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  91804. t4 = t3.span;
  91805. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  91806. t1._async_evaluate0$__endOfImports = 0;
  91807. t1._async_evaluate0$_outOfOrderImports = null;
  91808. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  91809. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  91810. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  91811. t6 = $async$self.configuration;
  91812. if (t6 != null)
  91813. t1._async_evaluate0$_configuration = t6;
  91814. $async$goto = 2;
  91815. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  91816. case 2:
  91817. // returning from await.
  91818. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  91819. $async$self.css.__late_helper$_value = t3;
  91820. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  91821. t1._async_evaluate0$_importer = oldImporter;
  91822. t1._async_evaluate0$__stylesheet = oldStylesheet;
  91823. t1._async_evaluate0$__root = oldRoot;
  91824. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  91825. t1._async_evaluate0$__parent = oldParent;
  91826. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  91827. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  91828. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  91829. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  91830. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  91831. t1._async_evaluate0$_declarationName = oldDeclarationName;
  91832. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  91833. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  91834. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  91835. t1._async_evaluate0$_configuration = oldConfiguration;
  91836. // implicit return
  91837. return A._asyncReturn(null, $async$completer);
  91838. }
  91839. });
  91840. return A._asyncStartSync($async$call$0, $async$completer);
  91841. },
  91842. $signature: 2
  91843. };
  91844. A._EvaluateVisitor__combineCss_closure5.prototype = {
  91845. call$1(module) {
  91846. return module.get$transitivelyContainsCss();
  91847. },
  91848. $signature: 134
  91849. };
  91850. A._EvaluateVisitor__combineCss_closure6.prototype = {
  91851. call$1(target) {
  91852. return !this.selectors.contains$1(0, target);
  91853. },
  91854. $signature: 13
  91855. };
  91856. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  91857. call$1(module) {
  91858. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  91859. if (!_this.seen.add$1(0, module))
  91860. return;
  91861. if (_this.clone)
  91862. module = module.cloneCss$0();
  91863. 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) {
  91864. upstream = t1[_i];
  91865. if (upstream.get$transitivelyContainsCss()) {
  91866. _1_0 = module.get$preModuleComments().$index(0, upstream);
  91867. if (_1_0 != null)
  91868. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  91869. _this.call$1(upstream);
  91870. }
  91871. }
  91872. _this.sorted.addFirst$1(module);
  91873. t1 = module.get$css(module);
  91874. statements = t1.get$children(t1);
  91875. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  91876. t1 = J.getInterceptor$ax(statements);
  91877. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  91878. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  91879. },
  91880. $signature: 330
  91881. };
  91882. A._EvaluateVisitor__extendModules_closure5.prototype = {
  91883. call$1(target) {
  91884. return !this.originalSelectors.contains$1(0, target);
  91885. },
  91886. $signature: 13
  91887. };
  91888. A._EvaluateVisitor__extendModules_closure6.prototype = {
  91889. call$0() {
  91890. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  91891. },
  91892. $signature: 221
  91893. };
  91894. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  91895. call$0() {
  91896. var $async$goto = 0,
  91897. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91898. $async$self = this, t1, t2, t3, _i;
  91899. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91900. if ($async$errorCode === 1)
  91901. return A._asyncRethrow($async$result, $async$completer);
  91902. while (true)
  91903. switch ($async$goto) {
  91904. case 0:
  91905. // Function start
  91906. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  91907. case 2:
  91908. // for condition
  91909. if (!(_i < t2)) {
  91910. // goto after for
  91911. $async$goto = 4;
  91912. break;
  91913. }
  91914. $async$goto = 5;
  91915. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  91916. case 5:
  91917. // returning from await.
  91918. case 3:
  91919. // for update
  91920. ++_i;
  91921. // goto for condition
  91922. $async$goto = 2;
  91923. break;
  91924. case 4:
  91925. // after for
  91926. // implicit return
  91927. return A._asyncReturn(null, $async$completer);
  91928. }
  91929. });
  91930. return A._asyncStartSync($async$call$0, $async$completer);
  91931. },
  91932. $signature: 2
  91933. };
  91934. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  91935. call$0() {
  91936. var $async$goto = 0,
  91937. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91938. $async$self = this, t1, t2, t3, _i;
  91939. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91940. if ($async$errorCode === 1)
  91941. return A._asyncRethrow($async$result, $async$completer);
  91942. while (true)
  91943. switch ($async$goto) {
  91944. case 0:
  91945. // Function start
  91946. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  91947. case 2:
  91948. // for condition
  91949. if (!(_i < t2)) {
  91950. // goto after for
  91951. $async$goto = 4;
  91952. break;
  91953. }
  91954. $async$goto = 5;
  91955. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  91956. case 5:
  91957. // returning from await.
  91958. case 3:
  91959. // for update
  91960. ++_i;
  91961. // goto for condition
  91962. $async$goto = 2;
  91963. break;
  91964. case 4:
  91965. // after for
  91966. // implicit return
  91967. return A._asyncReturn(null, $async$completer);
  91968. }
  91969. });
  91970. return A._asyncStartSync($async$call$0, $async$completer);
  91971. },
  91972. $signature: 29
  91973. };
  91974. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  91975. call$1(callback) {
  91976. var $async$goto = 0,
  91977. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91978. $async$self = this, t1, oldParent;
  91979. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91980. if ($async$errorCode === 1)
  91981. return A._asyncRethrow($async$result, $async$completer);
  91982. while (true)
  91983. switch ($async$goto) {
  91984. case 0:
  91985. // Function start
  91986. t1 = $async$self.$this;
  91987. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  91988. t1._async_evaluate0$__parent = $async$self.newParent;
  91989. $async$goto = 2;
  91990. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  91991. case 2:
  91992. // returning from await.
  91993. t1._async_evaluate0$__parent = oldParent;
  91994. // implicit return
  91995. return A._asyncReturn(null, $async$completer);
  91996. }
  91997. });
  91998. return A._asyncStartSync($async$call$1, $async$completer);
  91999. },
  92000. $signature: 39
  92001. };
  92002. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  92003. call$1(callback) {
  92004. var $async$goto = 0,
  92005. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92006. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92007. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92008. if ($async$errorCode === 1)
  92009. return A._asyncRethrow($async$result, $async$completer);
  92010. while (true)
  92011. switch ($async$goto) {
  92012. case 0:
  92013. // Function start
  92014. t1 = $async$self.$this;
  92015. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92016. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92017. $async$goto = 2;
  92018. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92019. case 2:
  92020. // returning from await.
  92021. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92022. // implicit return
  92023. return A._asyncReturn(null, $async$completer);
  92024. }
  92025. });
  92026. return A._asyncStartSync($async$call$1, $async$completer);
  92027. },
  92028. $signature: 39
  92029. };
  92030. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92031. call$1(callback) {
  92032. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92033. },
  92034. $signature: 39
  92035. };
  92036. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92037. call$0() {
  92038. return this.innerScope.call$1(this.callback);
  92039. },
  92040. $signature: 2
  92041. };
  92042. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92043. call$1(callback) {
  92044. var $async$goto = 0,
  92045. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92046. $async$self = this, t1, wasInKeyframes;
  92047. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92048. if ($async$errorCode === 1)
  92049. return A._asyncRethrow($async$result, $async$completer);
  92050. while (true)
  92051. switch ($async$goto) {
  92052. case 0:
  92053. // Function start
  92054. t1 = $async$self.$this;
  92055. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92056. t1._async_evaluate0$_inKeyframes = false;
  92057. $async$goto = 2;
  92058. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92059. case 2:
  92060. // returning from await.
  92061. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92062. // implicit return
  92063. return A._asyncReturn(null, $async$completer);
  92064. }
  92065. });
  92066. return A._asyncStartSync($async$call$1, $async$completer);
  92067. },
  92068. $signature: 39
  92069. };
  92070. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92071. call$1($parent) {
  92072. return $parent instanceof A.ModifiableCssAtRule0;
  92073. },
  92074. $signature: 220
  92075. };
  92076. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92077. call$1(callback) {
  92078. var $async$goto = 0,
  92079. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92080. $async$self = this, t1, wasInUnknownAtRule;
  92081. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92082. if ($async$errorCode === 1)
  92083. return A._asyncRethrow($async$result, $async$completer);
  92084. while (true)
  92085. switch ($async$goto) {
  92086. case 0:
  92087. // Function start
  92088. t1 = $async$self.$this;
  92089. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92090. t1._async_evaluate0$_inUnknownAtRule = false;
  92091. $async$goto = 2;
  92092. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92093. case 2:
  92094. // returning from await.
  92095. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92096. // implicit return
  92097. return A._asyncReturn(null, $async$completer);
  92098. }
  92099. });
  92100. return A._asyncStartSync($async$call$1, $async$completer);
  92101. },
  92102. $signature: 39
  92103. };
  92104. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92105. call$0() {
  92106. var $async$goto = 0,
  92107. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92108. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92109. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92110. if ($async$errorCode === 1)
  92111. return A._asyncRethrow($async$result, $async$completer);
  92112. while (true)
  92113. switch ($async$goto) {
  92114. case 0:
  92115. // Function start
  92116. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92117. case 3:
  92118. // for condition
  92119. if (!(_i < t2)) {
  92120. // goto after for
  92121. $async$goto = 5;
  92122. break;
  92123. }
  92124. $async$goto = 6;
  92125. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92126. case 6:
  92127. // returning from await.
  92128. case 4:
  92129. // for update
  92130. ++_i;
  92131. // goto for condition
  92132. $async$goto = 3;
  92133. break;
  92134. case 5:
  92135. // after for
  92136. $async$returnValue = null;
  92137. // goto return
  92138. $async$goto = 1;
  92139. break;
  92140. case 1:
  92141. // return
  92142. return A._asyncReturn($async$returnValue, $async$completer);
  92143. }
  92144. });
  92145. return A._asyncStartSync($async$call$0, $async$completer);
  92146. },
  92147. $signature: 2
  92148. };
  92149. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92150. call$0() {
  92151. var $async$goto = 0,
  92152. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92153. $async$self = this, t1, t2, t3, _i;
  92154. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92155. if ($async$errorCode === 1)
  92156. return A._asyncRethrow($async$result, $async$completer);
  92157. while (true)
  92158. switch ($async$goto) {
  92159. case 0:
  92160. // Function start
  92161. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92162. case 2:
  92163. // for condition
  92164. if (!(_i < t2)) {
  92165. // goto after for
  92166. $async$goto = 4;
  92167. break;
  92168. }
  92169. $async$goto = 5;
  92170. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92171. case 5:
  92172. // returning from await.
  92173. case 3:
  92174. // for update
  92175. ++_i;
  92176. // goto for condition
  92177. $async$goto = 2;
  92178. break;
  92179. case 4:
  92180. // after for
  92181. // implicit return
  92182. return A._asyncReturn(null, $async$completer);
  92183. }
  92184. });
  92185. return A._asyncStartSync($async$call$0, $async$completer);
  92186. },
  92187. $signature: 2
  92188. };
  92189. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92190. call$1(value) {
  92191. var t1 = this.$this,
  92192. t2 = this.nodeWithSpan;
  92193. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92194. },
  92195. $signature: 58
  92196. };
  92197. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92198. call$1(value) {
  92199. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92200. },
  92201. $signature: 58
  92202. };
  92203. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92204. call$0() {
  92205. var _this = this,
  92206. t1 = _this.$this;
  92207. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92208. },
  92209. $signature: 68
  92210. };
  92211. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92212. call$1(element) {
  92213. var t1;
  92214. this.setVariables.call$1(element);
  92215. t1 = this.$this;
  92216. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92217. },
  92218. $signature: 335
  92219. };
  92220. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92221. call$1(child) {
  92222. return child.accept$1(this.$this);
  92223. },
  92224. $signature: 109
  92225. };
  92226. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92227. call$1(value) {
  92228. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92229. },
  92230. $signature: 674
  92231. };
  92232. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92233. call$0() {
  92234. var $async$goto = 0,
  92235. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92236. $async$self = this, t2, t3, _i, t1, styleRule;
  92237. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92238. if ($async$errorCode === 1)
  92239. return A._asyncRethrow($async$result, $async$completer);
  92240. while (true)
  92241. switch ($async$goto) {
  92242. case 0:
  92243. // Function start
  92244. t1 = $async$self.$this;
  92245. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92246. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  92247. break;
  92248. case 2:
  92249. // then
  92250. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92251. case 5:
  92252. // for condition
  92253. if (!(_i < t3)) {
  92254. // goto after for
  92255. $async$goto = 7;
  92256. break;
  92257. }
  92258. $async$goto = 8;
  92259. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92260. case 8:
  92261. // returning from await.
  92262. case 6:
  92263. // for update
  92264. ++_i;
  92265. // goto for condition
  92266. $async$goto = 5;
  92267. break;
  92268. case 7:
  92269. // after for
  92270. // goto join
  92271. $async$goto = 3;
  92272. break;
  92273. case 4:
  92274. // else
  92275. $async$goto = 9;
  92276. 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);
  92277. case 9:
  92278. // returning from await.
  92279. case 3:
  92280. // join
  92281. // implicit return
  92282. return A._asyncReturn(null, $async$completer);
  92283. }
  92284. });
  92285. return A._asyncStartSync($async$call$0, $async$completer);
  92286. },
  92287. $signature: 2
  92288. };
  92289. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92290. call$0() {
  92291. var $async$goto = 0,
  92292. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92293. $async$self = this, t1, t2, t3, _i;
  92294. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92295. if ($async$errorCode === 1)
  92296. return A._asyncRethrow($async$result, $async$completer);
  92297. while (true)
  92298. switch ($async$goto) {
  92299. case 0:
  92300. // Function start
  92301. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92302. case 2:
  92303. // for condition
  92304. if (!(_i < t2)) {
  92305. // goto after for
  92306. $async$goto = 4;
  92307. break;
  92308. }
  92309. $async$goto = 5;
  92310. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92311. case 5:
  92312. // returning from await.
  92313. case 3:
  92314. // for update
  92315. ++_i;
  92316. // goto for condition
  92317. $async$goto = 2;
  92318. break;
  92319. case 4:
  92320. // after for
  92321. // implicit return
  92322. return A._asyncReturn(null, $async$completer);
  92323. }
  92324. });
  92325. return A._asyncStartSync($async$call$0, $async$completer);
  92326. },
  92327. $signature: 2
  92328. };
  92329. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  92330. call$1(node) {
  92331. return node instanceof A.ModifiableCssStyleRule0;
  92332. },
  92333. $signature: 7
  92334. };
  92335. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  92336. call$0() {
  92337. var $async$goto = 0,
  92338. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92339. $async$returnValue, $async$self = this;
  92340. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92341. if ($async$errorCode === 1)
  92342. return A._asyncRethrow($async$result, $async$completer);
  92343. while (true)
  92344. switch ($async$goto) {
  92345. case 0:
  92346. // Function start
  92347. $async$goto = 3;
  92348. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  92349. case 3:
  92350. // returning from await.
  92351. $async$returnValue = $async$result.assertNumber$0();
  92352. // goto return
  92353. $async$goto = 1;
  92354. break;
  92355. case 1:
  92356. // return
  92357. return A._asyncReturn($async$returnValue, $async$completer);
  92358. }
  92359. });
  92360. return A._asyncStartSync($async$call$0, $async$completer);
  92361. },
  92362. $signature: 210
  92363. };
  92364. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  92365. call$0() {
  92366. var $async$goto = 0,
  92367. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92368. $async$returnValue, $async$self = this;
  92369. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92370. if ($async$errorCode === 1)
  92371. return A._asyncRethrow($async$result, $async$completer);
  92372. while (true)
  92373. switch ($async$goto) {
  92374. case 0:
  92375. // Function start
  92376. $async$goto = 3;
  92377. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  92378. case 3:
  92379. // returning from await.
  92380. $async$returnValue = $async$result.assertNumber$0();
  92381. // goto return
  92382. $async$goto = 1;
  92383. break;
  92384. case 1:
  92385. // return
  92386. return A._asyncReturn($async$returnValue, $async$completer);
  92387. }
  92388. });
  92389. return A._asyncStartSync($async$call$0, $async$completer);
  92390. },
  92391. $signature: 210
  92392. };
  92393. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  92394. call$0() {
  92395. return this.fromNumber.assertInt$0();
  92396. },
  92397. $signature: 10
  92398. };
  92399. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  92400. call$0() {
  92401. var t1 = this.fromNumber;
  92402. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  92403. },
  92404. $signature: 10
  92405. };
  92406. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  92407. call$0() {
  92408. var $async$goto = 0,
  92409. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  92410. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  92411. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92412. if ($async$errorCode === 1)
  92413. return A._asyncRethrow($async$result, $async$completer);
  92414. while (true)
  92415. switch ($async$goto) {
  92416. case 0:
  92417. // Function start
  92418. t1 = $async$self.$this;
  92419. t2 = $async$self.node;
  92420. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  92421. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  92422. case 3:
  92423. // for condition
  92424. if (!(i !== t3.to)) {
  92425. // goto after for
  92426. $async$goto = 5;
  92427. break;
  92428. }
  92429. t7 = t1._async_evaluate0$_environment;
  92430. t8 = t6.get$numeratorUnits(t6);
  92431. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  92432. $async$goto = 6;
  92433. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  92434. case 6:
  92435. // returning from await.
  92436. _0_0 = $async$result;
  92437. if (_0_0 != null) {
  92438. $async$returnValue = _0_0;
  92439. // goto return
  92440. $async$goto = 1;
  92441. break;
  92442. }
  92443. case 4:
  92444. // for update
  92445. i += t4;
  92446. // goto for condition
  92447. $async$goto = 3;
  92448. break;
  92449. case 5:
  92450. // after for
  92451. $async$returnValue = null;
  92452. // goto return
  92453. $async$goto = 1;
  92454. break;
  92455. case 1:
  92456. // return
  92457. return A._asyncReturn($async$returnValue, $async$completer);
  92458. }
  92459. });
  92460. return A._asyncStartSync($async$call$0, $async$completer);
  92461. },
  92462. $signature: 68
  92463. };
  92464. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  92465. call$1(child) {
  92466. return child.accept$1(this.$this);
  92467. },
  92468. $signature: 109
  92469. };
  92470. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  92471. call$2(module, firstLoad) {
  92472. if (firstLoad)
  92473. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92474. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92475. },
  92476. $signature: 127
  92477. };
  92478. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  92479. call$2(module, firstLoad) {
  92480. if (firstLoad)
  92481. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92482. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92483. },
  92484. $signature: 127
  92485. };
  92486. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  92487. call$0() {
  92488. return A._setArrayType([], type$.JSArray_CssComment_2);
  92489. },
  92490. $signature: 203
  92491. };
  92492. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  92493. call$1(clause) {
  92494. var t1 = this.$this;
  92495. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  92496. },
  92497. $signature: 342
  92498. };
  92499. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  92500. call$0() {
  92501. var t1 = this.$this;
  92502. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  92503. },
  92504. $signature: 68
  92505. };
  92506. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  92507. call$1(child) {
  92508. return child.accept$1(this.$this);
  92509. },
  92510. $signature: 109
  92511. };
  92512. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  92513. call$0() {
  92514. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  92515. },
  92516. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  92517. var $async$goto = 0,
  92518. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92519. $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;
  92520. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92521. if ($async$errorCode === 1)
  92522. return A._asyncRethrow($async$result, $async$completer);
  92523. while (true)
  92524. switch ($async$goto) {
  92525. case 0:
  92526. // Function start
  92527. _box_0 = {};
  92528. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  92529. t1 = $async$self.$this;
  92530. t2 = $async$self.$import;
  92531. $async$goto = 3;
  92532. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  92533. case 3:
  92534. // returning from await.
  92535. _0_0 = $async$result;
  92536. stylesheet = _box_0.stylesheet = _0_0._0;
  92537. importer = _0_0._1;
  92538. _box_0.importer = importer;
  92539. isDependency = _0_0._2;
  92540. _box_0.isDependency = isDependency;
  92541. url = stylesheet.span.file.url;
  92542. if (url != null) {
  92543. t3 = t1._async_evaluate0$_activeModules;
  92544. if (t3.containsKey$1(url)) {
  92545. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  92546. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  92547. }
  92548. t3.$indexSet(0, url, t2);
  92549. }
  92550. t2 = stylesheet._stylesheet1$_uses;
  92551. t3 = type$.UnmodifiableListView_UseRule_2;
  92552. $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;
  92553. break;
  92554. case 4:
  92555. // then
  92556. oldImporter = t1._async_evaluate0$_importer;
  92557. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92558. oldInDependency = t1._async_evaluate0$_inDependency;
  92559. t1._async_evaluate0$_importer = importer;
  92560. t1._async_evaluate0$__stylesheet = stylesheet;
  92561. t1._async_evaluate0$_inDependency = isDependency;
  92562. $async$goto = 6;
  92563. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  92564. case 6:
  92565. // returning from await.
  92566. t1._async_evaluate0$_importer = oldImporter;
  92567. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92568. t1._async_evaluate0$_inDependency = oldInDependency;
  92569. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92570. // goto return
  92571. $async$goto = 1;
  92572. break;
  92573. case 5:
  92574. // join
  92575. t2 = new A.UnmodifiableListView(t2, t3);
  92576. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  92577. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92578. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  92579. } else
  92580. loadsUserDefinedModules = true;
  92581. children = A._Cell$();
  92582. t2 = t1._async_evaluate0$_environment;
  92583. t3 = type$.String;
  92584. t4 = type$.Module_AsyncCallable_2;
  92585. t5 = type$.AstNode_2;
  92586. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  92587. t7 = t2._async_environment0$_variables;
  92588. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  92589. t8 = t2._async_environment0$_variableNodes;
  92590. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  92591. t9 = t2._async_environment0$_functions;
  92592. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  92593. t10 = t2._async_environment0$_mixins;
  92594. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  92595. 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);
  92596. $async$goto = 7;
  92597. 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);
  92598. case 7:
  92599. // returning from await.
  92600. module = environment.toDummyModule$0();
  92601. t1._async_evaluate0$_environment.importForwards$1(module);
  92602. $async$goto = loadsUserDefinedModules ? 8 : 9;
  92603. break;
  92604. case 8:
  92605. // then
  92606. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  92607. break;
  92608. case 10:
  92609. // then
  92610. $async$goto = 12;
  92611. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  92612. case 12:
  92613. // returning from await.
  92614. case 11:
  92615. // join
  92616. visitor = new A._ImportedCssVisitor2(t1);
  92617. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  92618. t2.get$current(t2).accept$1(visitor);
  92619. case 9:
  92620. // join
  92621. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92622. case 1:
  92623. // return
  92624. return A._asyncReturn($async$returnValue, $async$completer);
  92625. }
  92626. });
  92627. return A._asyncStartSync($async$call$0, $async$completer);
  92628. },
  92629. $signature: 29
  92630. };
  92631. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  92632. call$1(previousLoad) {
  92633. 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));
  92634. },
  92635. $signature: 110
  92636. };
  92637. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  92638. call$1(rule) {
  92639. return rule.url.get$scheme() !== "sass";
  92640. },
  92641. $signature: 202
  92642. };
  92643. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  92644. call$1(rule) {
  92645. return rule.url.get$scheme() !== "sass";
  92646. },
  92647. $signature: 201
  92648. };
  92649. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  92650. call$0() {
  92651. var $async$goto = 0,
  92652. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92653. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  92654. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92655. if ($async$errorCode === 1)
  92656. return A._asyncRethrow($async$result, $async$completer);
  92657. while (true)
  92658. switch ($async$goto) {
  92659. case 0:
  92660. // Function start
  92661. t1 = $async$self.$this;
  92662. oldImporter = t1._async_evaluate0$_importer;
  92663. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92664. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  92665. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92666. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  92667. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92668. oldConfiguration = t1._async_evaluate0$_configuration;
  92669. oldInDependency = t1._async_evaluate0$_inDependency;
  92670. t2 = $async$self._box_0;
  92671. t1._async_evaluate0$_importer = t2.importer;
  92672. t3 = t2.stylesheet;
  92673. t1._async_evaluate0$__stylesheet = t3;
  92674. t4 = $async$self.loadsUserDefinedModules;
  92675. if (t4) {
  92676. t3 = A.ModifiableCssStylesheet$0(t3.span);
  92677. t1._async_evaluate0$__root = t3;
  92678. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  92679. t1._async_evaluate0$__endOfImports = 0;
  92680. t1._async_evaluate0$_outOfOrderImports = null;
  92681. }
  92682. t1._async_evaluate0$_inDependency = t2.isDependency;
  92683. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92684. if (!t3.get$isEmpty(t3))
  92685. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  92686. $async$goto = 2;
  92687. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  92688. case 2:
  92689. // returning from await.
  92690. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  92691. $async$self.children.__late_helper$_value = t2;
  92692. t1._async_evaluate0$_importer = oldImporter;
  92693. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92694. if (t4) {
  92695. t1._async_evaluate0$__root = oldRoot;
  92696. t1._async_evaluate0$__parent = oldParent;
  92697. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92698. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92699. }
  92700. t1._async_evaluate0$_configuration = oldConfiguration;
  92701. t1._async_evaluate0$_inDependency = oldInDependency;
  92702. // implicit return
  92703. return A._asyncReturn(null, $async$completer);
  92704. }
  92705. });
  92706. return A._asyncStartSync($async$call$0, $async$completer);
  92707. },
  92708. $signature: 2
  92709. };
  92710. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  92711. call$0() {
  92712. var $async$goto = 0,
  92713. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92714. $async$self = this, t1;
  92715. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92716. if ($async$errorCode === 1)
  92717. return A._asyncRethrow($async$result, $async$completer);
  92718. while (true)
  92719. switch ($async$goto) {
  92720. case 0:
  92721. // Function start
  92722. t1 = $async$self.$this;
  92723. $async$goto = 2;
  92724. 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);
  92725. case 2:
  92726. // returning from await.
  92727. // implicit return
  92728. return A._asyncReturn(null, $async$completer);
  92729. }
  92730. });
  92731. return A._asyncStartSync($async$call$0, $async$completer);
  92732. },
  92733. $signature: 29
  92734. };
  92735. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  92736. call$0() {
  92737. var $async$goto = 0,
  92738. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92739. $async$self = this;
  92740. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92741. if ($async$errorCode === 1)
  92742. return A._asyncRethrow($async$result, $async$completer);
  92743. while (true)
  92744. switch ($async$goto) {
  92745. case 0:
  92746. // Function start
  92747. $async$goto = 2;
  92748. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  92749. case 2:
  92750. // returning from await.
  92751. // implicit return
  92752. return A._asyncReturn(null, $async$completer);
  92753. }
  92754. });
  92755. return A._asyncStartSync($async$call$0, $async$completer);
  92756. },
  92757. $signature: 29
  92758. };
  92759. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  92760. call$0() {
  92761. var $async$goto = 0,
  92762. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92763. $async$self = this, t1;
  92764. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92765. if ($async$errorCode === 1)
  92766. return A._asyncRethrow($async$result, $async$completer);
  92767. while (true)
  92768. switch ($async$goto) {
  92769. case 0:
  92770. // Function start
  92771. t1 = $async$self.$this;
  92772. $async$goto = 2;
  92773. 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);
  92774. case 2:
  92775. // returning from await.
  92776. // implicit return
  92777. return A._asyncReturn(null, $async$completer);
  92778. }
  92779. });
  92780. return A._asyncStartSync($async$call$0, $async$completer);
  92781. },
  92782. $signature: 2
  92783. };
  92784. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  92785. call$0() {
  92786. var $async$goto = 0,
  92787. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92788. $async$self = this, t1;
  92789. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92790. if ($async$errorCode === 1)
  92791. return A._asyncRethrow($async$result, $async$completer);
  92792. while (true)
  92793. switch ($async$goto) {
  92794. case 0:
  92795. // Function start
  92796. t1 = $async$self.$this;
  92797. $async$goto = 2;
  92798. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92799. case 2:
  92800. // returning from await.
  92801. // implicit return
  92802. return A._asyncReturn(null, $async$completer);
  92803. }
  92804. });
  92805. return A._asyncStartSync($async$call$0, $async$completer);
  92806. },
  92807. $signature: 29
  92808. };
  92809. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  92810. call$0() {
  92811. var $async$goto = 0,
  92812. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92813. $async$self = this, t1, t2, t3, t4, t5, _i;
  92814. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92815. if ($async$errorCode === 1)
  92816. return A._asyncRethrow($async$result, $async$completer);
  92817. while (true)
  92818. switch ($async$goto) {
  92819. case 0:
  92820. // Function start
  92821. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  92822. case 2:
  92823. // for condition
  92824. if (!(_i < t2)) {
  92825. // goto after for
  92826. $async$goto = 4;
  92827. break;
  92828. }
  92829. $async$goto = 5;
  92830. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  92831. case 5:
  92832. // returning from await.
  92833. case 3:
  92834. // for update
  92835. ++_i;
  92836. // goto for condition
  92837. $async$goto = 2;
  92838. break;
  92839. case 4:
  92840. // after for
  92841. // implicit return
  92842. return A._asyncReturn(null, $async$completer);
  92843. }
  92844. });
  92845. return A._asyncStartSync($async$call$0, $async$completer);
  92846. },
  92847. $signature: 29
  92848. };
  92849. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  92850. call$0() {
  92851. return this.statement.accept$1(this.$this);
  92852. },
  92853. $signature: 68
  92854. };
  92855. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  92856. call$0() {
  92857. var t1 = this.node;
  92858. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  92859. },
  92860. $signature: 112
  92861. };
  92862. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  92863. call$1($content) {
  92864. var t1 = this.$this;
  92865. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  92866. },
  92867. $signature: 345
  92868. };
  92869. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  92870. call$0() {
  92871. return this.node.get$spanWithoutContent();
  92872. },
  92873. $signature: 28
  92874. };
  92875. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  92876. call$1(mediaQueries) {
  92877. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  92878. },
  92879. $signature: 108
  92880. };
  92881. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  92882. call$0() {
  92883. var $async$goto = 0,
  92884. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92885. $async$self = this, t1, t2;
  92886. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92887. if ($async$errorCode === 1)
  92888. return A._asyncRethrow($async$result, $async$completer);
  92889. while (true)
  92890. switch ($async$goto) {
  92891. case 0:
  92892. // Function start
  92893. t1 = $async$self.$this;
  92894. t2 = $async$self.mergedQueries;
  92895. if (t2 == null)
  92896. t2 = $async$self.queries;
  92897. $async$goto = 2;
  92898. 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);
  92899. case 2:
  92900. // returning from await.
  92901. // implicit return
  92902. return A._asyncReturn(null, $async$completer);
  92903. }
  92904. });
  92905. return A._asyncStartSync($async$call$0, $async$completer);
  92906. },
  92907. $signature: 2
  92908. };
  92909. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  92910. call$0() {
  92911. var $async$goto = 0,
  92912. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92913. $async$self = this, t2, t3, _i, t1, _0_0;
  92914. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92915. if ($async$errorCode === 1)
  92916. return A._asyncRethrow($async$result, $async$completer);
  92917. while (true)
  92918. switch ($async$goto) {
  92919. case 0:
  92920. // Function start
  92921. t1 = $async$self.$this;
  92922. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92923. $async$goto = _0_0 != null ? 2 : 4;
  92924. break;
  92925. case 2:
  92926. // then
  92927. $async$goto = 5;
  92928. 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);
  92929. case 5:
  92930. // returning from await.
  92931. // goto join
  92932. $async$goto = 3;
  92933. break;
  92934. case 4:
  92935. // else
  92936. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  92937. case 6:
  92938. // for condition
  92939. if (!(_i < t3)) {
  92940. // goto after for
  92941. $async$goto = 8;
  92942. break;
  92943. }
  92944. $async$goto = 9;
  92945. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92946. case 9:
  92947. // returning from await.
  92948. case 7:
  92949. // for update
  92950. ++_i;
  92951. // goto for condition
  92952. $async$goto = 6;
  92953. break;
  92954. case 8:
  92955. // after for
  92956. case 3:
  92957. // join
  92958. // implicit return
  92959. return A._asyncReturn(null, $async$completer);
  92960. }
  92961. });
  92962. return A._asyncStartSync($async$call$0, $async$completer);
  92963. },
  92964. $signature: 2
  92965. };
  92966. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  92967. call$0() {
  92968. var $async$goto = 0,
  92969. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92970. $async$self = this, t1, t2, t3, _i;
  92971. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92972. if ($async$errorCode === 1)
  92973. return A._asyncRethrow($async$result, $async$completer);
  92974. while (true)
  92975. switch ($async$goto) {
  92976. case 0:
  92977. // Function start
  92978. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92979. case 2:
  92980. // for condition
  92981. if (!(_i < t2)) {
  92982. // goto after for
  92983. $async$goto = 4;
  92984. break;
  92985. }
  92986. $async$goto = 5;
  92987. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92988. case 5:
  92989. // returning from await.
  92990. case 3:
  92991. // for update
  92992. ++_i;
  92993. // goto for condition
  92994. $async$goto = 2;
  92995. break;
  92996. case 4:
  92997. // after for
  92998. // implicit return
  92999. return A._asyncReturn(null, $async$completer);
  93000. }
  93001. });
  93002. return A._asyncStartSync($async$call$0, $async$completer);
  93003. },
  93004. $signature: 2
  93005. };
  93006. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93007. call$1(node) {
  93008. var t1;
  93009. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93010. t1 = this.mergedSources;
  93011. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93012. } else
  93013. t1 = true;
  93014. return t1;
  93015. },
  93016. $signature: 7
  93017. };
  93018. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93019. call$0() {
  93020. var $async$goto = 0,
  93021. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93022. $async$self = this, t1, t2, t3, _i;
  93023. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93024. if ($async$errorCode === 1)
  93025. return A._asyncRethrow($async$result, $async$completer);
  93026. while (true)
  93027. switch ($async$goto) {
  93028. case 0:
  93029. // Function start
  93030. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93031. case 2:
  93032. // for condition
  93033. if (!(_i < t2)) {
  93034. // goto after for
  93035. $async$goto = 4;
  93036. break;
  93037. }
  93038. $async$goto = 5;
  93039. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93040. case 5:
  93041. // returning from await.
  93042. case 3:
  93043. // for update
  93044. ++_i;
  93045. // goto for condition
  93046. $async$goto = 2;
  93047. break;
  93048. case 4:
  93049. // after for
  93050. // implicit return
  93051. return A._asyncReturn(null, $async$completer);
  93052. }
  93053. });
  93054. return A._asyncStartSync($async$call$0, $async$completer);
  93055. },
  93056. $signature: 2
  93057. };
  93058. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93059. call$1(node) {
  93060. return node instanceof A.ModifiableCssStyleRule0;
  93061. },
  93062. $signature: 7
  93063. };
  93064. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93065. call$0() {
  93066. var $async$goto = 0,
  93067. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93068. $async$self = this, t1;
  93069. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93070. if ($async$errorCode === 1)
  93071. return A._asyncRethrow($async$result, $async$completer);
  93072. while (true)
  93073. switch ($async$goto) {
  93074. case 0:
  93075. // Function start
  93076. t1 = $async$self.$this;
  93077. $async$goto = 2;
  93078. 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);
  93079. case 2:
  93080. // returning from await.
  93081. // implicit return
  93082. return A._asyncReturn(null, $async$completer);
  93083. }
  93084. });
  93085. return A._asyncStartSync($async$call$0, $async$completer);
  93086. },
  93087. $signature: 2
  93088. };
  93089. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93090. call$0() {
  93091. var $async$goto = 0,
  93092. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93093. $async$self = this, t1, t2, t3, _i;
  93094. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93095. if ($async$errorCode === 1)
  93096. return A._asyncRethrow($async$result, $async$completer);
  93097. while (true)
  93098. switch ($async$goto) {
  93099. case 0:
  93100. // Function start
  93101. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93102. case 2:
  93103. // for condition
  93104. if (!(_i < t2)) {
  93105. // goto after for
  93106. $async$goto = 4;
  93107. break;
  93108. }
  93109. $async$goto = 5;
  93110. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93111. case 5:
  93112. // returning from await.
  93113. case 3:
  93114. // for update
  93115. ++_i;
  93116. // goto for condition
  93117. $async$goto = 2;
  93118. break;
  93119. case 4:
  93120. // after for
  93121. // implicit return
  93122. return A._asyncReturn(null, $async$completer);
  93123. }
  93124. });
  93125. return A._asyncStartSync($async$call$0, $async$completer);
  93126. },
  93127. $signature: 2
  93128. };
  93129. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93130. call$1(node) {
  93131. return node instanceof A.ModifiableCssStyleRule0;
  93132. },
  93133. $signature: 7
  93134. };
  93135. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93136. call$1(child) {
  93137. return child instanceof A.ModifiableCssComment0;
  93138. },
  93139. $signature: 7
  93140. };
  93141. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93142. call$0() {
  93143. var $async$goto = 0,
  93144. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93145. $async$self = this, t2, t3, _i, t1, _0_0;
  93146. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93147. if ($async$errorCode === 1)
  93148. return A._asyncRethrow($async$result, $async$completer);
  93149. while (true)
  93150. switch ($async$goto) {
  93151. case 0:
  93152. // Function start
  93153. t1 = $async$self.$this;
  93154. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93155. $async$goto = _0_0 != null ? 2 : 4;
  93156. break;
  93157. case 2:
  93158. // then
  93159. $async$goto = 5;
  93160. 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);
  93161. case 5:
  93162. // returning from await.
  93163. // goto join
  93164. $async$goto = 3;
  93165. break;
  93166. case 4:
  93167. // else
  93168. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93169. case 6:
  93170. // for condition
  93171. if (!(_i < t3)) {
  93172. // goto after for
  93173. $async$goto = 8;
  93174. break;
  93175. }
  93176. $async$goto = 9;
  93177. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93178. case 9:
  93179. // returning from await.
  93180. case 7:
  93181. // for update
  93182. ++_i;
  93183. // goto for condition
  93184. $async$goto = 6;
  93185. break;
  93186. case 8:
  93187. // after for
  93188. case 3:
  93189. // join
  93190. // implicit return
  93191. return A._asyncReturn(null, $async$completer);
  93192. }
  93193. });
  93194. return A._asyncStartSync($async$call$0, $async$completer);
  93195. },
  93196. $signature: 2
  93197. };
  93198. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93199. call$0() {
  93200. var $async$goto = 0,
  93201. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93202. $async$self = this, t1, t2, t3, _i;
  93203. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93204. if ($async$errorCode === 1)
  93205. return A._asyncRethrow($async$result, $async$completer);
  93206. while (true)
  93207. switch ($async$goto) {
  93208. case 0:
  93209. // Function start
  93210. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93211. case 2:
  93212. // for condition
  93213. if (!(_i < t2)) {
  93214. // goto after for
  93215. $async$goto = 4;
  93216. break;
  93217. }
  93218. $async$goto = 5;
  93219. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93220. case 5:
  93221. // returning from await.
  93222. case 3:
  93223. // for update
  93224. ++_i;
  93225. // goto for condition
  93226. $async$goto = 2;
  93227. break;
  93228. case 4:
  93229. // after for
  93230. // implicit return
  93231. return A._asyncReturn(null, $async$completer);
  93232. }
  93233. });
  93234. return A._asyncStartSync($async$call$0, $async$completer);
  93235. },
  93236. $signature: 2
  93237. };
  93238. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93239. call$1(node) {
  93240. return node instanceof A.ModifiableCssStyleRule0;
  93241. },
  93242. $signature: 7
  93243. };
  93244. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93245. call$0() {
  93246. var $async$goto = 0,
  93247. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93248. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93249. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93250. if ($async$errorCode === 1)
  93251. return A._asyncRethrow($async$result, $async$completer);
  93252. while (true)
  93253. switch ($async$goto) {
  93254. case 0:
  93255. // Function start
  93256. t1 = $async$self.$this;
  93257. t2 = $async$self._box_0;
  93258. $async$temp1 = A;
  93259. $async$goto = 3;
  93260. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93261. case 3:
  93262. // returning from await.
  93263. t3 = $async$temp1.S($async$result);
  93264. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93265. $async$temp1 = "(" + t3 + ":" + t4;
  93266. $async$temp2 = A;
  93267. $async$goto = 4;
  93268. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93269. case 4:
  93270. // returning from await.
  93271. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93272. // goto return
  93273. $async$goto = 1;
  93274. break;
  93275. case 1:
  93276. // return
  93277. return A._asyncReturn($async$returnValue, $async$completer);
  93278. }
  93279. });
  93280. return A._asyncStartSync($async$call$0, $async$completer);
  93281. },
  93282. $signature: 241
  93283. };
  93284. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93285. call$0() {
  93286. var t1 = this.$this._async_evaluate0$_environment,
  93287. t2 = this._box_0.override;
  93288. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93289. },
  93290. $signature: 1
  93291. };
  93292. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93293. call$0() {
  93294. var t1 = this.node;
  93295. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93296. },
  93297. $signature: 41
  93298. };
  93299. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  93300. call$0() {
  93301. var t1 = this.$this,
  93302. t2 = this.node;
  93303. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  93304. },
  93305. $signature: 1
  93306. };
  93307. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  93308. call$2(module, firstLoad) {
  93309. var t1, t2, t3, _0_0, t4, t5, span;
  93310. if (firstLoad)
  93311. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93312. t1 = this.$this._async_evaluate0$_environment;
  93313. t2 = this.node;
  93314. t3 = t2.namespace;
  93315. if (t3 == null) {
  93316. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  93317. t1._async_environment0$_allModules.push(module);
  93318. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  93319. if (_0_0 != null)
  93320. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  93321. } else {
  93322. t4 = t1._async_environment0$_modules;
  93323. if (t4.containsKey$1(t3)) {
  93324. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  93325. span = t5 == null ? null : t5.span;
  93326. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93327. if (span != null)
  93328. t5.$indexSet(0, span, "original @use");
  93329. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  93330. }
  93331. t4.$indexSet(0, t3, module);
  93332. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  93333. t1._async_environment0$_allModules.push(module);
  93334. }
  93335. },
  93336. $signature: 127
  93337. };
  93338. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  93339. call$0() {
  93340. return this.node.expression.accept$1(this.$this);
  93341. },
  93342. $signature: 71
  93343. };
  93344. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  93345. call$0() {
  93346. var $async$goto = 0,
  93347. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93348. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  93349. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93350. if ($async$errorCode === 1)
  93351. return A._asyncRethrow($async$result, $async$completer);
  93352. while (true)
  93353. switch ($async$goto) {
  93354. case 0:
  93355. // Function start
  93356. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  93357. case 3:
  93358. // for condition
  93359. $async$goto = 5;
  93360. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  93361. case 5:
  93362. // returning from await.
  93363. if (!$async$result.get$isTruthy()) {
  93364. // goto after for
  93365. $async$goto = 4;
  93366. break;
  93367. }
  93368. $async$goto = 6;
  93369. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  93370. case 6:
  93371. // returning from await.
  93372. _0_0 = $async$result;
  93373. if (_0_0 != null) {
  93374. $async$returnValue = _0_0;
  93375. // goto return
  93376. $async$goto = 1;
  93377. break;
  93378. }
  93379. // goto for condition
  93380. $async$goto = 3;
  93381. break;
  93382. case 4:
  93383. // after for
  93384. $async$returnValue = null;
  93385. // goto return
  93386. $async$goto = 1;
  93387. break;
  93388. case 1:
  93389. // return
  93390. return A._asyncReturn($async$returnValue, $async$completer);
  93391. }
  93392. });
  93393. return A._asyncStartSync($async$call$0, $async$completer);
  93394. },
  93395. $signature: 68
  93396. };
  93397. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  93398. call$1(child) {
  93399. return child.accept$1(this.$this);
  93400. },
  93401. $signature: 109
  93402. };
  93403. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  93404. call$0() {
  93405. var $async$goto = 0,
  93406. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93407. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  93408. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93409. if ($async$errorCode === 1)
  93410. return A._asyncRethrow($async$result, $async$completer);
  93411. while (true)
  93412. switch ($async$goto) {
  93413. case 0:
  93414. // Function start
  93415. t1 = $async$self.node;
  93416. t2 = $async$self.$this;
  93417. $async$goto = 3;
  93418. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  93419. case 3:
  93420. // returning from await.
  93421. left = $async$result;
  93422. case 4:
  93423. // switch
  93424. switch (t1.operator) {
  93425. case B.BinaryOperator_Kyq0:
  93426. // goto case
  93427. $async$goto = 6;
  93428. break;
  93429. case B.BinaryOperator_tKu0:
  93430. // goto case
  93431. $async$goto = 7;
  93432. break;
  93433. case B.BinaryOperator_uke0:
  93434. // goto case
  93435. $async$goto = 8;
  93436. break;
  93437. case B.BinaryOperator_r840:
  93438. // goto case
  93439. $async$goto = 9;
  93440. break;
  93441. case B.BinaryOperator_qGq0:
  93442. // goto case
  93443. $async$goto = 10;
  93444. break;
  93445. case B.BinaryOperator_o8O0:
  93446. // goto case
  93447. $async$goto = 11;
  93448. break;
  93449. case B.BinaryOperator_JiR0:
  93450. // goto case
  93451. $async$goto = 12;
  93452. break;
  93453. case B.BinaryOperator_qHy0:
  93454. // goto case
  93455. $async$goto = 13;
  93456. break;
  93457. case B.BinaryOperator_FPG0:
  93458. // goto case
  93459. $async$goto = 14;
  93460. break;
  93461. case B.BinaryOperator_Swh0:
  93462. // goto case
  93463. $async$goto = 15;
  93464. break;
  93465. case B.BinaryOperator_QG10:
  93466. // goto case
  93467. $async$goto = 16;
  93468. break;
  93469. case B.BinaryOperator_tht0:
  93470. // goto case
  93471. $async$goto = 17;
  93472. break;
  93473. case B.BinaryOperator_Mh50:
  93474. // goto case
  93475. $async$goto = 18;
  93476. break;
  93477. case B.BinaryOperator_s7T0:
  93478. // goto case
  93479. $async$goto = 19;
  93480. break;
  93481. default:
  93482. // goto default
  93483. $async$goto = 20;
  93484. break;
  93485. }
  93486. break;
  93487. case 6:
  93488. // case
  93489. t1 = t1.right.accept$1(t2);
  93490. $async$goto = 21;
  93491. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93492. case 21:
  93493. // returning from await.
  93494. t1 = $async$result;
  93495. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  93496. // goto after switch
  93497. $async$goto = 5;
  93498. break;
  93499. case 7:
  93500. // case
  93501. $async$goto = left.get$isTruthy() ? 22 : 24;
  93502. break;
  93503. case 22:
  93504. // then
  93505. t1 = left;
  93506. // goto join
  93507. $async$goto = 23;
  93508. break;
  93509. case 24:
  93510. // else
  93511. t1 = t1.right.accept$1(t2);
  93512. $async$goto = 25;
  93513. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93514. case 25:
  93515. // returning from await.
  93516. t1 = $async$result;
  93517. case 23:
  93518. // join
  93519. // goto after switch
  93520. $async$goto = 5;
  93521. break;
  93522. case 8:
  93523. // case
  93524. $async$goto = left.get$isTruthy() ? 26 : 28;
  93525. break;
  93526. case 26:
  93527. // then
  93528. t1 = t1.right.accept$1(t2);
  93529. $async$goto = 29;
  93530. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93531. case 29:
  93532. // returning from await.
  93533. t1 = $async$result;
  93534. // goto join
  93535. $async$goto = 27;
  93536. break;
  93537. case 28:
  93538. // else
  93539. t1 = left;
  93540. case 27:
  93541. // join
  93542. // goto after switch
  93543. $async$goto = 5;
  93544. break;
  93545. case 9:
  93546. // case
  93547. $async$temp1 = left;
  93548. $async$goto = 30;
  93549. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93550. case 30:
  93551. // returning from await.
  93552. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93553. // goto after switch
  93554. $async$goto = 5;
  93555. break;
  93556. case 10:
  93557. // case
  93558. $async$temp1 = left;
  93559. $async$goto = 31;
  93560. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93561. case 31:
  93562. // returning from await.
  93563. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93564. // goto after switch
  93565. $async$goto = 5;
  93566. break;
  93567. case 11:
  93568. // case
  93569. t1 = t1.right.accept$1(t2);
  93570. $async$temp1 = left;
  93571. $async$goto = 32;
  93572. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93573. case 32:
  93574. // returning from await.
  93575. t1 = $async$temp1.greaterThan$1($async$result);
  93576. // goto after switch
  93577. $async$goto = 5;
  93578. break;
  93579. case 12:
  93580. // case
  93581. t1 = t1.right.accept$1(t2);
  93582. $async$temp1 = left;
  93583. $async$goto = 33;
  93584. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93585. case 33:
  93586. // returning from await.
  93587. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  93588. // goto after switch
  93589. $async$goto = 5;
  93590. break;
  93591. case 13:
  93592. // case
  93593. t1 = t1.right.accept$1(t2);
  93594. $async$temp1 = left;
  93595. $async$goto = 34;
  93596. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93597. case 34:
  93598. // returning from await.
  93599. t1 = $async$temp1.lessThan$1($async$result);
  93600. // goto after switch
  93601. $async$goto = 5;
  93602. break;
  93603. case 14:
  93604. // case
  93605. t1 = t1.right.accept$1(t2);
  93606. $async$temp1 = left;
  93607. $async$goto = 35;
  93608. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93609. case 35:
  93610. // returning from await.
  93611. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  93612. // goto after switch
  93613. $async$goto = 5;
  93614. break;
  93615. case 15:
  93616. // case
  93617. t1 = t1.right.accept$1(t2);
  93618. $async$temp1 = left;
  93619. $async$goto = 36;
  93620. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93621. case 36:
  93622. // returning from await.
  93623. t1 = $async$temp1.plus$1($async$result);
  93624. // goto after switch
  93625. $async$goto = 5;
  93626. break;
  93627. case 16:
  93628. // case
  93629. t1 = t1.right.accept$1(t2);
  93630. $async$temp1 = left;
  93631. $async$goto = 37;
  93632. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93633. case 37:
  93634. // returning from await.
  93635. t1 = $async$temp1.minus$1($async$result);
  93636. // goto after switch
  93637. $async$goto = 5;
  93638. break;
  93639. case 17:
  93640. // case
  93641. t1 = t1.right.accept$1(t2);
  93642. $async$temp1 = left;
  93643. $async$goto = 38;
  93644. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93645. case 38:
  93646. // returning from await.
  93647. t1 = $async$temp1.times$1($async$result);
  93648. // goto after switch
  93649. $async$goto = 5;
  93650. break;
  93651. case 18:
  93652. // case
  93653. t3 = t1.right.accept$1(t2);
  93654. $async$temp1 = t2;
  93655. $async$temp2 = left;
  93656. $async$goto = 39;
  93657. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  93658. case 39:
  93659. // returning from await.
  93660. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  93661. // goto after switch
  93662. $async$goto = 5;
  93663. break;
  93664. case 19:
  93665. // case
  93666. t1 = t1.right.accept$1(t2);
  93667. $async$temp1 = left;
  93668. $async$goto = 40;
  93669. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93670. case 40:
  93671. // returning from await.
  93672. t1 = $async$temp1.modulo$1($async$result);
  93673. // goto after switch
  93674. $async$goto = 5;
  93675. break;
  93676. case 20:
  93677. // default
  93678. t1 = null;
  93679. case 5:
  93680. // after switch
  93681. $async$returnValue = t1;
  93682. // goto return
  93683. $async$goto = 1;
  93684. break;
  93685. case 1:
  93686. // return
  93687. return A._asyncReturn($async$returnValue, $async$completer);
  93688. }
  93689. });
  93690. return A._asyncStartSync($async$call$0, $async$completer);
  93691. },
  93692. $signature: 71
  93693. };
  93694. A._EvaluateVisitor__slash_recommendation2.prototype = {
  93695. call$1(expression) {
  93696. var t1;
  93697. $label0$0: {
  93698. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  93699. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  93700. break $label0$0;
  93701. }
  93702. if (expression instanceof A.ParenthesizedExpression0) {
  93703. t1 = expression.expression.toString$0(0);
  93704. break $label0$0;
  93705. }
  93706. t1 = expression.toString$0(0);
  93707. break $label0$0;
  93708. }
  93709. return t1;
  93710. },
  93711. $signature: 124
  93712. };
  93713. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  93714. call$0() {
  93715. var t1 = this.node;
  93716. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93717. },
  93718. $signature: 41
  93719. };
  93720. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  93721. call$0() {
  93722. var t1, _this = this;
  93723. switch (_this.node.operator) {
  93724. case B.UnaryOperator_Rbl0:
  93725. t1 = _this.operand.unaryPlus$0();
  93726. break;
  93727. case B.UnaryOperator_UCP0:
  93728. t1 = _this.operand.unaryMinus$0();
  93729. break;
  93730. case B.UnaryOperator_lZV0:
  93731. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  93732. break;
  93733. case B.UnaryOperator_not_not_not0:
  93734. t1 = _this.operand.unaryNot$0();
  93735. break;
  93736. default:
  93737. t1 = null;
  93738. }
  93739. return t1;
  93740. },
  93741. $signature: 47
  93742. };
  93743. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  93744. call$1(expression) {
  93745. return expression.accept$1(this.$this);
  93746. },
  93747. $signature: 351
  93748. };
  93749. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  93750. call$0() {
  93751. var t1 = this.node;
  93752. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  93753. },
  93754. $signature: 112
  93755. };
  93756. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  93757. call$1(argument) {
  93758. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  93759. },
  93760. $signature: 123
  93761. };
  93762. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  93763. call$0() {
  93764. var t1 = this.node;
  93765. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  93766. },
  93767. $signature: 71
  93768. };
  93769. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  93770. call$2(message, deprecation) {
  93771. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  93772. },
  93773. call$1(message) {
  93774. return this.call$2(message, null);
  93775. },
  93776. $signature: 107
  93777. };
  93778. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  93779. call$1(maxArgs) {
  93780. var t1 = this.node,
  93781. t2 = t1.$arguments.positional.length;
  93782. if (t2 === 0)
  93783. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  93784. else if (maxArgs != null && t2 > maxArgs)
  93785. 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));
  93786. },
  93787. call$0() {
  93788. return this.call$1(null);
  93789. },
  93790. $signature: 93
  93791. };
  93792. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  93793. call$0() {
  93794. var $async$goto = 0,
  93795. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  93796. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  93797. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93798. if ($async$errorCode === 1)
  93799. return A._asyncRethrow($async$result, $async$completer);
  93800. while (true)
  93801. switch ($async$goto) {
  93802. case 0:
  93803. // Function start
  93804. t1 = $async$self.$this;
  93805. t2 = $async$self._box_0;
  93806. t3 = $async$self.node;
  93807. t4 = $async$self.inLegacySassFunction;
  93808. $async$temp1 = A;
  93809. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  93810. $async$goto = 3;
  93811. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  93812. case 3:
  93813. // returning from await.
  93814. $async$temp3 = $async$result;
  93815. $async$goto = 4;
  93816. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  93817. case 4:
  93818. // returning from await.
  93819. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  93820. // goto return
  93821. $async$goto = 1;
  93822. break;
  93823. case 1:
  93824. // return
  93825. return A._asyncReturn($async$returnValue, $async$completer);
  93826. }
  93827. });
  93828. return A._asyncStartSync($async$call$0, $async$completer);
  93829. },
  93830. $signature: 249
  93831. };
  93832. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  93833. call$2(message, deprecation) {
  93834. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  93835. },
  93836. call$1(message) {
  93837. return this.call$2(message, null);
  93838. },
  93839. $signature: 107
  93840. };
  93841. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  93842. call$0() {
  93843. var t1 = this.node;
  93844. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  93845. },
  93846. $signature: 71
  93847. };
  93848. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  93849. call$0() {
  93850. var _this = this,
  93851. t1 = _this.$this,
  93852. t2 = _this.callable,
  93853. t3 = _this.V;
  93854. 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);
  93855. },
  93856. $signature() {
  93857. return this.V._eval$1("Future<0>()");
  93858. }
  93859. };
  93860. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  93861. call$0() {
  93862. var _this = this,
  93863. t1 = _this.$this,
  93864. t2 = _this.V;
  93865. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  93866. },
  93867. $signature() {
  93868. return this.V._eval$1("Future<0>()");
  93869. }
  93870. };
  93871. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  93872. call$0() {
  93873. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  93874. },
  93875. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  93876. var $async$goto = 0,
  93877. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  93878. $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;
  93879. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93880. if ($async$errorCode === 1)
  93881. return A._asyncRethrow($async$result, $async$completer);
  93882. while (true)
  93883. switch ($async$goto) {
  93884. case 0:
  93885. // Function start
  93886. t1 = $async$self.$this;
  93887. t2 = $async$self.evaluated._values;
  93888. t3 = $async$self.callable.declaration.parameters;
  93889. t4 = $async$self.nodeWithSpan;
  93890. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  93891. parameters = t3.parameters;
  93892. t5 = parameters.length;
  93893. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  93894. for (i = 0; i < minLength; ++i)
  93895. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  93896. i = J.get$length$asx(t2[2]);
  93897. case 3:
  93898. // for condition
  93899. if (!(i < t5)) {
  93900. // goto after for
  93901. $async$goto = 5;
  93902. break;
  93903. }
  93904. parameter = parameters[i];
  93905. t6 = parameter.name;
  93906. value = t2[0].remove$1(0, t6);
  93907. $async$goto = value == null ? 6 : 7;
  93908. break;
  93909. case 6:
  93910. // then
  93911. t7 = parameter.defaultValue;
  93912. $async$temp1 = t1;
  93913. $async$goto = 8;
  93914. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  93915. case 8:
  93916. // returning from await.
  93917. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  93918. case 7:
  93919. // join
  93920. t7 = t1._async_evaluate0$_environment;
  93921. t8 = t2[1].$index(0, t6);
  93922. if (t8 == null) {
  93923. t8 = parameter.defaultValue;
  93924. t8.toString;
  93925. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  93926. }
  93927. t7.setLocalVariable$3(t6, value, t8);
  93928. case 4:
  93929. // for update
  93930. ++i;
  93931. // goto for condition
  93932. $async$goto = 3;
  93933. break;
  93934. case 5:
  93935. // after for
  93936. restParameter = t3.restParameter;
  93937. if (restParameter != null) {
  93938. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty20;
  93939. t5 = t2[0];
  93940. t6 = t2[4];
  93941. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  93942. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  93943. } else
  93944. argumentList = null;
  93945. $async$goto = 9;
  93946. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  93947. case 9:
  93948. // returning from await.
  93949. result = $async$result;
  93950. if (argumentList == null) {
  93951. $async$returnValue = result;
  93952. // goto return
  93953. $async$goto = 1;
  93954. break;
  93955. }
  93956. t5 = t2[0];
  93957. if (t5.get$isEmpty(t5)) {
  93958. $async$returnValue = result;
  93959. // goto return
  93960. $async$goto = 1;
  93961. break;
  93962. }
  93963. if (argumentList._argument_list$_wereKeywordsAccessed) {
  93964. $async$returnValue = result;
  93965. // goto return
  93966. $async$goto = 1;
  93967. break;
  93968. }
  93969. t5 = t2[0];
  93970. parameterWord = A.pluralize0("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  93971. t2 = t2[0];
  93972. 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));
  93973. case 1:
  93974. // return
  93975. return A._asyncReturn($async$returnValue, $async$completer);
  93976. }
  93977. });
  93978. return A._asyncStartSync($async$call$0, $async$completer);
  93979. },
  93980. $signature() {
  93981. return this.V._eval$1("Future<0>()");
  93982. }
  93983. };
  93984. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  93985. call$1($name) {
  93986. return "$" + $name;
  93987. },
  93988. $signature: 6
  93989. };
  93990. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  93991. call$0() {
  93992. var $async$goto = 0,
  93993. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93994. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  93995. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93996. if ($async$errorCode === 1)
  93997. return A._asyncRethrow($async$result, $async$completer);
  93998. while (true)
  93999. switch ($async$goto) {
  94000. case 0:
  94001. // Function start
  94002. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  94003. case 3:
  94004. // for condition
  94005. if (!(_i < t3)) {
  94006. // goto after for
  94007. $async$goto = 5;
  94008. break;
  94009. }
  94010. $async$goto = 6;
  94011. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94012. case 6:
  94013. // returning from await.
  94014. $returnValue = $async$result;
  94015. if ($returnValue instanceof A.Value0) {
  94016. $async$returnValue = $returnValue;
  94017. // goto return
  94018. $async$goto = 1;
  94019. break;
  94020. }
  94021. case 4:
  94022. // for update
  94023. ++_i;
  94024. // goto for condition
  94025. $async$goto = 3;
  94026. break;
  94027. case 5:
  94028. // after for
  94029. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94030. case 1:
  94031. // return
  94032. return A._asyncReturn($async$returnValue, $async$completer);
  94033. }
  94034. });
  94035. return A._asyncStartSync($async$call$0, $async$completer);
  94036. },
  94037. $signature: 71
  94038. };
  94039. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94040. call$0() {
  94041. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94042. },
  94043. $signature: 0
  94044. };
  94045. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94046. call$0() {
  94047. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94048. },
  94049. $signature: 354
  94050. };
  94051. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94052. call$1($name) {
  94053. return "$" + $name;
  94054. },
  94055. $signature: 6
  94056. };
  94057. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94058. call$1(value) {
  94059. return value;
  94060. },
  94061. $signature: 44
  94062. };
  94063. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94064. call$1(value) {
  94065. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94066. },
  94067. $signature: 44
  94068. };
  94069. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94070. call$2(key, value) {
  94071. var _this = this,
  94072. t1 = _this.restNodeForSpan;
  94073. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94074. _this.namedNodes.$indexSet(0, key, t1);
  94075. },
  94076. $signature: 106
  94077. };
  94078. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94079. call$1(value) {
  94080. return value;
  94081. },
  94082. $signature: 44
  94083. };
  94084. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94085. call$1(value) {
  94086. var t1 = this.restArgs;
  94087. return new A.ValueExpression0(value, t1.get$span(t1));
  94088. },
  94089. $signature: 60
  94090. };
  94091. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94092. call$1(value) {
  94093. var t1 = this.restArgs;
  94094. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94095. },
  94096. $signature: 60
  94097. };
  94098. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94099. call$2(key, value) {
  94100. var _this = this,
  94101. t1 = _this.restArgs;
  94102. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94103. },
  94104. $signature: 106
  94105. };
  94106. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94107. call$1(value) {
  94108. var t1 = this.keywordRestArgs;
  94109. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94110. },
  94111. $signature: 60
  94112. };
  94113. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94114. call$2(key, value) {
  94115. var t2, _this = this,
  94116. t1 = _this.$this;
  94117. if (key instanceof A.SassString0)
  94118. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94119. else {
  94120. t2 = _this.nodeWithSpan;
  94121. 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)));
  94122. }
  94123. },
  94124. $signature: 111
  94125. };
  94126. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94127. call$0() {
  94128. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94129. },
  94130. $signature: 0
  94131. };
  94132. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94133. call$0() {
  94134. var $async$goto = 0,
  94135. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94136. $async$self = this, t1, t2, t3, t4;
  94137. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94138. if ($async$errorCode === 1)
  94139. return A._asyncRethrow($async$result, $async$completer);
  94140. while (true)
  94141. switch ($async$goto) {
  94142. case 0:
  94143. // Function start
  94144. t1 = $async$self.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");
  94145. case 2:
  94146. // for condition
  94147. if (!t1.moveNext$0()) {
  94148. // goto after for
  94149. $async$goto = 3;
  94150. break;
  94151. }
  94152. t4 = t1.__internal$_current;
  94153. $async$goto = 4;
  94154. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94155. case 4:
  94156. // returning from await.
  94157. // goto for condition
  94158. $async$goto = 2;
  94159. break;
  94160. case 3:
  94161. // after for
  94162. // implicit return
  94163. return A._asyncReturn(null, $async$completer);
  94164. }
  94165. });
  94166. return A._asyncStartSync($async$call$0, $async$completer);
  94167. },
  94168. $signature: 2
  94169. };
  94170. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94171. call$1(node) {
  94172. return node instanceof A.ModifiableCssStyleRule0;
  94173. },
  94174. $signature: 7
  94175. };
  94176. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94177. call$0() {
  94178. var $async$goto = 0,
  94179. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94180. $async$self = this, t1, t2, t3, t4;
  94181. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94182. if ($async$errorCode === 1)
  94183. return A._asyncRethrow($async$result, $async$completer);
  94184. while (true)
  94185. switch ($async$goto) {
  94186. case 0:
  94187. // Function start
  94188. 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");
  94189. case 2:
  94190. // for condition
  94191. if (!t1.moveNext$0()) {
  94192. // goto after for
  94193. $async$goto = 3;
  94194. break;
  94195. }
  94196. t4 = t1.__internal$_current;
  94197. $async$goto = 4;
  94198. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94199. case 4:
  94200. // returning from await.
  94201. // goto for condition
  94202. $async$goto = 2;
  94203. break;
  94204. case 3:
  94205. // after for
  94206. // implicit return
  94207. return A._asyncReturn(null, $async$completer);
  94208. }
  94209. });
  94210. return A._asyncStartSync($async$call$0, $async$completer);
  94211. },
  94212. $signature: 2
  94213. };
  94214. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94215. call$1(node) {
  94216. return node instanceof A.ModifiableCssStyleRule0;
  94217. },
  94218. $signature: 7
  94219. };
  94220. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94221. call$1(mediaQueries) {
  94222. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94223. },
  94224. $signature: 108
  94225. };
  94226. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94227. call$0() {
  94228. var $async$goto = 0,
  94229. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94230. $async$self = this, t1, t2;
  94231. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94232. if ($async$errorCode === 1)
  94233. return A._asyncRethrow($async$result, $async$completer);
  94234. while (true)
  94235. switch ($async$goto) {
  94236. case 0:
  94237. // Function start
  94238. t1 = $async$self.$this;
  94239. t2 = $async$self.mergedQueries;
  94240. if (t2 == null)
  94241. t2 = $async$self.node.queries;
  94242. $async$goto = 2;
  94243. 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);
  94244. case 2:
  94245. // returning from await.
  94246. // implicit return
  94247. return A._asyncReturn(null, $async$completer);
  94248. }
  94249. });
  94250. return A._asyncStartSync($async$call$0, $async$completer);
  94251. },
  94252. $signature: 2
  94253. };
  94254. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94255. call$0() {
  94256. var $async$goto = 0,
  94257. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94258. $async$self = this, t2, t3, t4, t1, _0_0;
  94259. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94260. if ($async$errorCode === 1)
  94261. return A._asyncRethrow($async$result, $async$completer);
  94262. while (true)
  94263. switch ($async$goto) {
  94264. case 0:
  94265. // Function start
  94266. t1 = $async$self.$this;
  94267. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94268. $async$goto = _0_0 != null ? 2 : 4;
  94269. break;
  94270. case 2:
  94271. // then
  94272. $async$goto = 5;
  94273. 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);
  94274. case 5:
  94275. // returning from await.
  94276. // goto join
  94277. $async$goto = 3;
  94278. break;
  94279. case 4:
  94280. // else
  94281. 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");
  94282. case 6:
  94283. // for condition
  94284. if (!t2.moveNext$0()) {
  94285. // goto after for
  94286. $async$goto = 7;
  94287. break;
  94288. }
  94289. t4 = t2.__internal$_current;
  94290. $async$goto = 8;
  94291. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94292. case 8:
  94293. // returning from await.
  94294. // goto for condition
  94295. $async$goto = 6;
  94296. break;
  94297. case 7:
  94298. // after for
  94299. case 3:
  94300. // join
  94301. // implicit return
  94302. return A._asyncReturn(null, $async$completer);
  94303. }
  94304. });
  94305. return A._asyncStartSync($async$call$0, $async$completer);
  94306. },
  94307. $signature: 2
  94308. };
  94309. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  94310. call$0() {
  94311. var $async$goto = 0,
  94312. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94313. $async$self = this, t1, t2, t3, t4;
  94314. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94315. if ($async$errorCode === 1)
  94316. return A._asyncRethrow($async$result, $async$completer);
  94317. while (true)
  94318. switch ($async$goto) {
  94319. case 0:
  94320. // Function start
  94321. 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");
  94322. case 2:
  94323. // for condition
  94324. if (!t1.moveNext$0()) {
  94325. // goto after for
  94326. $async$goto = 3;
  94327. break;
  94328. }
  94329. t4 = t1.__internal$_current;
  94330. $async$goto = 4;
  94331. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94332. case 4:
  94333. // returning from await.
  94334. // goto for condition
  94335. $async$goto = 2;
  94336. break;
  94337. case 3:
  94338. // after for
  94339. // implicit return
  94340. return A._asyncReturn(null, $async$completer);
  94341. }
  94342. });
  94343. return A._asyncStartSync($async$call$0, $async$completer);
  94344. },
  94345. $signature: 2
  94346. };
  94347. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  94348. call$1(node) {
  94349. var t1;
  94350. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  94351. t1 = this.mergedSources;
  94352. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  94353. } else
  94354. t1 = true;
  94355. return t1;
  94356. },
  94357. $signature: 7
  94358. };
  94359. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  94360. call$0() {
  94361. var $async$goto = 0,
  94362. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94363. $async$self = this, t1;
  94364. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94365. if ($async$errorCode === 1)
  94366. return A._asyncRethrow($async$result, $async$completer);
  94367. while (true)
  94368. switch ($async$goto) {
  94369. case 0:
  94370. // Function start
  94371. t1 = $async$self.$this;
  94372. $async$goto = 2;
  94373. 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);
  94374. case 2:
  94375. // returning from await.
  94376. // implicit return
  94377. return A._asyncReturn(null, $async$completer);
  94378. }
  94379. });
  94380. return A._asyncStartSync($async$call$0, $async$completer);
  94381. },
  94382. $signature: 2
  94383. };
  94384. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  94385. call$0() {
  94386. var $async$goto = 0,
  94387. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94388. $async$self = this, t1, t2, t3, t4;
  94389. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94390. if ($async$errorCode === 1)
  94391. return A._asyncRethrow($async$result, $async$completer);
  94392. while (true)
  94393. switch ($async$goto) {
  94394. case 0:
  94395. // Function start
  94396. 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");
  94397. case 2:
  94398. // for condition
  94399. if (!t1.moveNext$0()) {
  94400. // goto after for
  94401. $async$goto = 3;
  94402. break;
  94403. }
  94404. t4 = t1.__internal$_current;
  94405. $async$goto = 4;
  94406. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94407. case 4:
  94408. // returning from await.
  94409. // goto for condition
  94410. $async$goto = 2;
  94411. break;
  94412. case 3:
  94413. // after for
  94414. // implicit return
  94415. return A._asyncReturn(null, $async$completer);
  94416. }
  94417. });
  94418. return A._asyncStartSync($async$call$0, $async$completer);
  94419. },
  94420. $signature: 2
  94421. };
  94422. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  94423. call$1(node) {
  94424. return node instanceof A.ModifiableCssStyleRule0;
  94425. },
  94426. $signature: 7
  94427. };
  94428. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  94429. call$0() {
  94430. var $async$goto = 0,
  94431. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94432. $async$self = this, t2, t3, t4, t1, _0_0;
  94433. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94434. if ($async$errorCode === 1)
  94435. return A._asyncRethrow($async$result, $async$completer);
  94436. while (true)
  94437. switch ($async$goto) {
  94438. case 0:
  94439. // Function start
  94440. t1 = $async$self.$this;
  94441. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94442. $async$goto = _0_0 != null ? 2 : 4;
  94443. break;
  94444. case 2:
  94445. // then
  94446. $async$goto = 5;
  94447. 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);
  94448. case 5:
  94449. // returning from await.
  94450. // goto join
  94451. $async$goto = 3;
  94452. break;
  94453. case 4:
  94454. // else
  94455. 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");
  94456. case 6:
  94457. // for condition
  94458. if (!t2.moveNext$0()) {
  94459. // goto after for
  94460. $async$goto = 7;
  94461. break;
  94462. }
  94463. t4 = t2.__internal$_current;
  94464. $async$goto = 8;
  94465. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94466. case 8:
  94467. // returning from await.
  94468. // goto for condition
  94469. $async$goto = 6;
  94470. break;
  94471. case 7:
  94472. // after for
  94473. case 3:
  94474. // join
  94475. // implicit return
  94476. return A._asyncReturn(null, $async$completer);
  94477. }
  94478. });
  94479. return A._asyncStartSync($async$call$0, $async$completer);
  94480. },
  94481. $signature: 2
  94482. };
  94483. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  94484. call$0() {
  94485. var $async$goto = 0,
  94486. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94487. $async$self = this, t1, t2, t3, t4;
  94488. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94489. if ($async$errorCode === 1)
  94490. return A._asyncRethrow($async$result, $async$completer);
  94491. while (true)
  94492. switch ($async$goto) {
  94493. case 0:
  94494. // Function start
  94495. 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");
  94496. case 2:
  94497. // for condition
  94498. if (!t1.moveNext$0()) {
  94499. // goto after for
  94500. $async$goto = 3;
  94501. break;
  94502. }
  94503. t4 = t1.__internal$_current;
  94504. $async$goto = 4;
  94505. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94506. case 4:
  94507. // returning from await.
  94508. // goto for condition
  94509. $async$goto = 2;
  94510. break;
  94511. case 3:
  94512. // after for
  94513. // implicit return
  94514. return A._asyncReturn(null, $async$completer);
  94515. }
  94516. });
  94517. return A._asyncStartSync($async$call$0, $async$completer);
  94518. },
  94519. $signature: 2
  94520. };
  94521. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  94522. call$1(node) {
  94523. return node instanceof A.ModifiableCssStyleRule0;
  94524. },
  94525. $signature: 7
  94526. };
  94527. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  94528. call$1(targetLocations) {
  94529. return A.InterpolationMap$0(this.interpolation, targetLocations);
  94530. },
  94531. $signature: 192
  94532. };
  94533. A._EvaluateVisitor__serialize_closure2.prototype = {
  94534. call$0() {
  94535. return A.serializeValue0(this.value, false, this.quote);
  94536. },
  94537. $signature: 32
  94538. };
  94539. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  94540. call$0() {
  94541. var t1 = this.expression;
  94542. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  94543. },
  94544. $signature: 191
  94545. };
  94546. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  94547. call$1(number) {
  94548. var before, after, t1,
  94549. _1_0 = number.asSlash;
  94550. $label0$0: {
  94551. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  94552. before = _1_0._0;
  94553. after = _1_0._1;
  94554. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  94555. break $label0$0;
  94556. }
  94557. t1 = A.serializeValue0(number, true, true);
  94558. break $label0$0;
  94559. }
  94560. return t1;
  94561. },
  94562. $signature: 189
  94563. };
  94564. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  94565. call$1(url) {
  94566. var t1 = this.$this._async_evaluate0$_importCache;
  94567. t1 = t1 == null ? null : t1.humanize$1(url);
  94568. return t1 == null ? url : t1;
  94569. },
  94570. $signature: 51
  94571. };
  94572. A._ImportedCssVisitor2.prototype = {
  94573. visitCssAtRule$1(node) {
  94574. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  94575. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  94576. },
  94577. visitCssComment$1(node) {
  94578. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  94579. },
  94580. visitCssDeclaration$1(node) {
  94581. },
  94582. visitCssImport$1(node) {
  94583. var t2,
  94584. _s13_ = "_endOfImports",
  94585. t1 = this._async_evaluate0$_visitor;
  94586. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  94587. t1._async_evaluate0$_addChild$1(node);
  94588. 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)) {
  94589. t1._async_evaluate0$_addChild$1(node);
  94590. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  94591. } else {
  94592. t2 = t1._async_evaluate0$_outOfOrderImports;
  94593. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  94594. }
  94595. },
  94596. visitCssKeyframeBlock$1(node) {
  94597. },
  94598. visitCssMediaRule$1(node) {
  94599. var t1 = this._async_evaluate0$_visitor,
  94600. mediaQueries = t1._async_evaluate0$_mediaQueries;
  94601. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  94602. },
  94603. visitCssStyleRule$1(node) {
  94604. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  94605. },
  94606. visitCssStylesheet$1(node) {
  94607. var t1, t2, t3;
  94608. 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();) {
  94609. t3 = t1.__internal$_current;
  94610. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  94611. }
  94612. },
  94613. visitCssSupportsRule$1(node) {
  94614. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  94615. }
  94616. };
  94617. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  94618. call$1(node) {
  94619. return node instanceof A.ModifiableCssStyleRule0;
  94620. },
  94621. $signature: 7
  94622. };
  94623. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  94624. call$1(node) {
  94625. var t1;
  94626. if (!(node instanceof A.ModifiableCssStyleRule0))
  94627. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  94628. else
  94629. t1 = true;
  94630. return t1;
  94631. },
  94632. $signature: 7
  94633. };
  94634. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  94635. call$1(node) {
  94636. return node instanceof A.ModifiableCssStyleRule0;
  94637. },
  94638. $signature: 7
  94639. };
  94640. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  94641. call$1(node) {
  94642. return node instanceof A.ModifiableCssStyleRule0;
  94643. },
  94644. $signature: 7
  94645. };
  94646. A._EvaluationContext2.prototype = {
  94647. get$currentCallableSpan() {
  94648. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  94649. if (_0_0 != null)
  94650. return _0_0.get$span(_0_0);
  94651. throw A.wrapException(A.StateError$(string$.No_Sasc));
  94652. },
  94653. warn$2(_, message, deprecation) {
  94654. var t1 = this._async_evaluate0$_visitor,
  94655. t2 = t1._async_evaluate0$_importSpan;
  94656. if (t2 == null) {
  94657. t2 = t1._async_evaluate0$_callableNode;
  94658. t2 = t2 == null ? null : t2.get$span(t2);
  94659. }
  94660. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  94661. },
  94662. $isEvaluationContext0: 1
  94663. };
  94664. A.JSToDartAsyncFileImporter.prototype = {
  94665. canonicalize$1(_, url) {
  94666. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  94667. },
  94668. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  94669. var $async$goto = 0,
  94670. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  94671. $async$returnValue, $async$self = this, result, t1, resultUrl;
  94672. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94673. if ($async$errorCode === 1)
  94674. return A._asyncRethrow($async$result, $async$completer);
  94675. while (true)
  94676. switch ($async$goto) {
  94677. case 0:
  94678. // Function start
  94679. if (url.get$scheme() === "file") {
  94680. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  94681. // goto return
  94682. $async$goto = 1;
  94683. break;
  94684. }
  94685. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  94686. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  94687. break;
  94688. case 3:
  94689. // then
  94690. $async$goto = 5;
  94691. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  94692. case 5:
  94693. // returning from await.
  94694. result = $async$result;
  94695. case 4:
  94696. // join
  94697. if (result == null) {
  94698. $async$returnValue = null;
  94699. // goto return
  94700. $async$goto = 1;
  94701. break;
  94702. }
  94703. t1 = self.URL;
  94704. if (!(result instanceof t1))
  94705. A.jsThrow(new self.Error(string$.The_fie));
  94706. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  94707. if (resultUrl.get$scheme() !== "file")
  94708. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  94709. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  94710. // goto return
  94711. $async$goto = 1;
  94712. break;
  94713. case 1:
  94714. // return
  94715. return A._asyncReturn($async$returnValue, $async$completer);
  94716. }
  94717. });
  94718. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  94719. },
  94720. load$1(_, url) {
  94721. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  94722. },
  94723. isNonCanonicalScheme$1(scheme) {
  94724. return scheme !== "file";
  94725. }
  94726. };
  94727. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  94728. call$0() {
  94729. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  94730. },
  94731. $signature: 33
  94732. };
  94733. A.AsyncImportCache0.prototype = {
  94734. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  94735. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  94736. },
  94737. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  94738. var $async$goto = 0,
  94739. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  94740. $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;
  94741. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94742. if ($async$errorCode === 1)
  94743. return A._asyncRethrow($async$result, $async$completer);
  94744. while (true)
  94745. switch ($async$goto) {
  94746. case 0:
  94747. // Function start
  94748. if (A.isBrowser())
  94749. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  94750. else
  94751. t1 = false;
  94752. if (t1)
  94753. throw A.wrapException(string$.Custom);
  94754. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  94755. break;
  94756. case 3:
  94757. // then
  94758. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  94759. if (resolvedUrl == null)
  94760. resolvedUrl = url;
  94761. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  94762. $async$goto = 5;
  94763. 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);
  94764. case 5:
  94765. // returning from await.
  94766. relativeResult = $async$result;
  94767. if (relativeResult != null) {
  94768. $async$returnValue = relativeResult;
  94769. // goto return
  94770. $async$goto = 1;
  94771. break;
  94772. }
  94773. case 4:
  94774. // join
  94775. key = new A._Record_2_forImport(url, forImport);
  94776. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  94777. if (t1.containsKey$1(key)) {
  94778. $async$returnValue = t1.$index(0, key);
  94779. // goto return
  94780. $async$goto = 1;
  94781. break;
  94782. }
  94783. 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;
  94784. case 6:
  94785. // for condition
  94786. if (!(i < t2.length)) {
  94787. // goto after for
  94788. $async$goto = 8;
  94789. break;
  94790. }
  94791. importer = t2[i];
  94792. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  94793. if (t4.containsKey$1(perImporterKey)) {
  94794. t7 = t4.$index(0, perImporterKey);
  94795. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  94796. } else
  94797. _1_0 = null;
  94798. _1_2_isSet = t3._is(_1_0);
  94799. result = null;
  94800. if (_1_2_isSet) {
  94801. _1_2 = _1_0._0;
  94802. t7 = _1_2 != null;
  94803. if (t7) {
  94804. t6._as(_1_2);
  94805. result = _1_2;
  94806. }
  94807. } else {
  94808. _1_2 = null;
  94809. t7 = false;
  94810. }
  94811. if (t7) {
  94812. $async$returnValue = result;
  94813. // goto return
  94814. $async$goto = 1;
  94815. break;
  94816. }
  94817. if (_1_2_isSet)
  94818. t7 = _1_2 == null;
  94819. else
  94820. t7 = false;
  94821. if (t7) {
  94822. // goto for update
  94823. $async$goto = 7;
  94824. break;
  94825. }
  94826. $async$goto = 10;
  94827. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  94828. case 10:
  94829. // returning from await.
  94830. _2_0 = $async$result;
  94831. _2_1 = _2_0._0;
  94832. _2_5_isSet = _2_1 != null;
  94833. _2_5 = null;
  94834. _2_3 = null;
  94835. t7 = false;
  94836. if (_2_5_isSet) {
  94837. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  94838. _2_3 = _2_0._1;
  94839. t7 = _2_3;
  94840. _2_5 = t7;
  94841. t7 = t7 && cacheable;
  94842. } else
  94843. result = null;
  94844. if (t7) {
  94845. t1.$indexSet(0, key, result);
  94846. $async$returnValue = result;
  94847. // goto return
  94848. $async$goto = 1;
  94849. break;
  94850. }
  94851. if (_2_5_isSet) {
  94852. t7 = _2_5;
  94853. _2_3_isSet = _2_5_isSet;
  94854. } else {
  94855. _2_3 = _2_0._1;
  94856. t7 = _2_3;
  94857. _2_3_isSet = true;
  94858. }
  94859. t7 = t7 && !cacheable;
  94860. if (t7) {
  94861. t4.$indexSet(0, perImporterKey, _2_1);
  94862. if (_2_1 != null) {
  94863. $async$returnValue = _2_1;
  94864. // goto return
  94865. $async$goto = 1;
  94866. break;
  94867. }
  94868. // goto break $label0$1
  94869. $async$goto = 9;
  94870. break;
  94871. }
  94872. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  94873. if (t7) {
  94874. if (cacheable) {
  94875. for (j = 0; j < i; ++j)
  94876. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  94877. cacheable = false;
  94878. }
  94879. if (_2_1 != null) {
  94880. $async$returnValue = _2_1;
  94881. // goto return
  94882. $async$goto = 1;
  94883. break;
  94884. }
  94885. }
  94886. case 9:
  94887. // break $label0$1
  94888. case 7:
  94889. // for update
  94890. ++i;
  94891. // goto for condition
  94892. $async$goto = 6;
  94893. break;
  94894. case 8:
  94895. // after for
  94896. if (cacheable)
  94897. t1.$indexSet(0, key, null);
  94898. $async$returnValue = null;
  94899. // goto return
  94900. $async$goto = 1;
  94901. break;
  94902. case 1:
  94903. // return
  94904. return A._asyncReturn($async$returnValue, $async$completer);
  94905. }
  94906. });
  94907. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  94908. },
  94909. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  94910. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  94911. },
  94912. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  94913. var $async$goto = 0,
  94914. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  94915. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  94916. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94917. if ($async$errorCode === 1)
  94918. return A._asyncRethrow($async$result, $async$completer);
  94919. while (true)
  94920. switch ($async$goto) {
  94921. case 0:
  94922. // Function start
  94923. $async$goto = baseUrl != null ? 3 : 5;
  94924. break;
  94925. case 3:
  94926. // then
  94927. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  94928. break;
  94929. case 6:
  94930. // then
  94931. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  94932. $async$goto = 9;
  94933. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  94934. case 9:
  94935. // returning from await.
  94936. t1 = $async$result;
  94937. passContainingUrl = t1;
  94938. // goto join
  94939. $async$goto = 7;
  94940. break;
  94941. case 8:
  94942. // else
  94943. passContainingUrl = true;
  94944. case 7:
  94945. // join
  94946. // goto join
  94947. $async$goto = 4;
  94948. break;
  94949. case 5:
  94950. // else
  94951. passContainingUrl = false;
  94952. case 4:
  94953. // join
  94954. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  94955. t1 = type$.nullable_Object;
  94956. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  94957. $async$goto = 10;
  94958. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  94959. case 10:
  94960. // returning from await.
  94961. result = $async$result;
  94962. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  94963. if (result == null) {
  94964. $async$returnValue = new A._Record_2(null, cacheable);
  94965. // goto return
  94966. $async$goto = 1;
  94967. break;
  94968. }
  94969. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  94970. break;
  94971. case 11:
  94972. // then
  94973. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  94974. $async$goto = 14;
  94975. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  94976. case 14:
  94977. // returning from await.
  94978. t1 = $async$result;
  94979. // goto join
  94980. $async$goto = 12;
  94981. break;
  94982. case 13:
  94983. // else
  94984. t1 = false;
  94985. case 12:
  94986. // join
  94987. if (t1)
  94988. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  94989. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  94990. // goto return
  94991. $async$goto = 1;
  94992. break;
  94993. case 1:
  94994. // return
  94995. return A._asyncReturn($async$returnValue, $async$completer);
  94996. }
  94997. });
  94998. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  94999. },
  95000. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  95001. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  95002. },
  95003. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95004. var $async$goto = 0,
  95005. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95006. $async$returnValue, $async$self = this;
  95007. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95008. if ($async$errorCode === 1)
  95009. return A._asyncRethrow($async$result, $async$completer);
  95010. while (true)
  95011. switch ($async$goto) {
  95012. case 0:
  95013. // Function start
  95014. $async$goto = 3;
  95015. 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);
  95016. case 3:
  95017. // returning from await.
  95018. $async$returnValue = $async$result;
  95019. // goto return
  95020. $async$goto = 1;
  95021. break;
  95022. case 1:
  95023. // return
  95024. return A._asyncReturn($async$returnValue, $async$completer);
  95025. }
  95026. });
  95027. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95028. },
  95029. humanize$1(canonicalUrl) {
  95030. var t1 = this._async_import_cache0$_canonicalizeCache,
  95031. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95032. 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));
  95033. return t2 == null ? canonicalUrl : t2;
  95034. },
  95035. sourceMapUrl$1(_, canonicalUrl) {
  95036. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95037. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95038. return t1 == null ? canonicalUrl : t1;
  95039. }
  95040. };
  95041. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95042. call$0() {
  95043. var $async$goto = 0,
  95044. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95045. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95046. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95047. if ($async$errorCode === 1)
  95048. return A._asyncRethrow($async$result, $async$completer);
  95049. while (true)
  95050. switch ($async$goto) {
  95051. case 0:
  95052. // Function start
  95053. t1 = $async$self.$this;
  95054. t2 = $async$self.baseUrl;
  95055. $async$goto = 3;
  95056. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95057. case 3:
  95058. // returning from await.
  95059. _0_0 = $async$result;
  95060. result = _0_0._0;
  95061. _0_0._1;
  95062. if (t2 != null)
  95063. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95064. $async$returnValue = result;
  95065. // goto return
  95066. $async$goto = 1;
  95067. break;
  95068. case 1:
  95069. // return
  95070. return A._asyncReturn($async$returnValue, $async$completer);
  95071. }
  95072. });
  95073. return A._asyncStartSync($async$call$0, $async$completer);
  95074. },
  95075. $signature: 361
  95076. };
  95077. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95078. call$0() {
  95079. return this.importer.canonicalize$1(0, this.url);
  95080. },
  95081. $signature: 223
  95082. };
  95083. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95084. call$0() {
  95085. var $async$goto = 0,
  95086. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95087. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95088. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95089. if ($async$errorCode === 1)
  95090. return A._asyncRethrow($async$result, $async$completer);
  95091. while (true)
  95092. switch ($async$goto) {
  95093. case 0:
  95094. // Function start
  95095. t1 = Date.now();
  95096. t2 = $async$self.canonicalUrl;
  95097. t3 = $async$self.importer.load$1(0, t2);
  95098. $async$goto = 3;
  95099. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95100. case 3:
  95101. // returning from await.
  95102. result = $async$result;
  95103. if (result == null) {
  95104. $async$returnValue = null;
  95105. // goto return
  95106. $async$goto = 1;
  95107. break;
  95108. }
  95109. t3 = $async$self.$this;
  95110. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95111. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95112. t3 = result.contents;
  95113. t1 = result.syntax;
  95114. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95115. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  95116. // goto return
  95117. $async$goto = 1;
  95118. break;
  95119. case 1:
  95120. // return
  95121. return A._asyncReturn($async$returnValue, $async$completer);
  95122. }
  95123. });
  95124. return A._asyncStartSync($async$call$0, $async$completer);
  95125. },
  95126. $signature: 362
  95127. };
  95128. A.AsyncImportCache_humanize_closure3.prototype = {
  95129. call$1(result) {
  95130. return result._1.$eq(0, this.canonicalUrl);
  95131. },
  95132. $signature: 363
  95133. };
  95134. A.AsyncImportCache_humanize_closure4.prototype = {
  95135. call$1(result) {
  95136. return result._2;
  95137. },
  95138. $signature: 364
  95139. };
  95140. A.AsyncImportCache_humanize_closure5.prototype = {
  95141. call$1(url) {
  95142. return url.get$path(url).length;
  95143. },
  95144. $signature: 102
  95145. };
  95146. A.AsyncImportCache_humanize_closure6.prototype = {
  95147. call$1(url) {
  95148. var t1 = $.$get$url(),
  95149. t2 = this.canonicalUrl;
  95150. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95151. },
  95152. $signature: 51
  95153. };
  95154. A.AtRootQueryParser0.prototype = {
  95155. parse$0(_) {
  95156. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95157. }
  95158. };
  95159. A.AtRootQueryParser_parse_closure0.prototype = {
  95160. call$0() {
  95161. var include, atRules,
  95162. t1 = this.$this,
  95163. t2 = t1.scanner;
  95164. t2.expectChar$1(40);
  95165. t1.whitespace$1$consumeNewlines(true);
  95166. include = t1.scanIdentifier$1("with");
  95167. if (!include)
  95168. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95169. t1.whitespace$1$consumeNewlines(true);
  95170. t2.expectChar$1(58);
  95171. t1.whitespace$1$consumeNewlines(true);
  95172. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95173. do {
  95174. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95175. t1.whitespace$1$consumeNewlines(true);
  95176. } while (t1.lookingAtIdentifier$0());
  95177. t2.expectChar$1(41);
  95178. t2.expectDone$0();
  95179. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95180. },
  95181. $signature: 365
  95182. };
  95183. A.AtRootQuery0.prototype = {
  95184. excludes$1(node) {
  95185. var t1, _this = this;
  95186. if (_this._at_root_query0$_all)
  95187. return !_this.include;
  95188. $label0$0: {
  95189. if (node instanceof A.ModifiableCssStyleRule0) {
  95190. t1 = _this._at_root_query0$_rule !== _this.include;
  95191. break $label0$0;
  95192. }
  95193. if (node instanceof A.ModifiableCssMediaRule0) {
  95194. t1 = _this.excludesName$1("media");
  95195. break $label0$0;
  95196. }
  95197. if (node instanceof A.ModifiableCssSupportsRule0) {
  95198. t1 = _this.excludesName$1("supports");
  95199. break $label0$0;
  95200. }
  95201. if (node instanceof A.ModifiableCssAtRule0) {
  95202. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95203. break $label0$0;
  95204. }
  95205. t1 = false;
  95206. break $label0$0;
  95207. }
  95208. return t1;
  95209. },
  95210. excludesName$1($name) {
  95211. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95212. return t1 !== this.include;
  95213. }
  95214. };
  95215. A.AtRootRule0.prototype = {
  95216. accept$1$1(visitor) {
  95217. return visitor.visitAtRootRule$1(0, this);
  95218. },
  95219. accept$1(visitor) {
  95220. return this.accept$1$1(visitor, type$.dynamic);
  95221. },
  95222. toString$0(_) {
  95223. var buffer = new A.StringBuffer("@at-root "),
  95224. t1 = this.query;
  95225. if (t1 != null)
  95226. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95227. t1 = this.children;
  95228. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  95229. },
  95230. get$span(receiver) {
  95231. return this.span;
  95232. }
  95233. };
  95234. A.ModifiableCssAtRule0.prototype = {
  95235. accept$1$1(visitor) {
  95236. return visitor.visitCssAtRule$1(this);
  95237. },
  95238. accept$1(visitor) {
  95239. return this.accept$1$1(visitor, type$.dynamic);
  95240. },
  95241. equalsIgnoringChildren$1(other) {
  95242. var t1, t2;
  95243. if (other instanceof A.ModifiableCssAtRule0) {
  95244. t1 = this.name;
  95245. t2 = other.name;
  95246. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95247. } else
  95248. t1 = false;
  95249. return t1;
  95250. },
  95251. copyWithoutChildren$0() {
  95252. var _this = this;
  95253. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95254. },
  95255. addChild$1(child) {
  95256. this.super$ModifiableCssParentNode$addChild0(child);
  95257. },
  95258. get$isChildless() {
  95259. return this.isChildless;
  95260. },
  95261. get$span(receiver) {
  95262. return this.span;
  95263. }
  95264. };
  95265. A.AtRule0.prototype = {
  95266. accept$1$1(visitor) {
  95267. return visitor.visitAtRule$1(0, this);
  95268. },
  95269. accept$1(visitor) {
  95270. return this.accept$1$1(visitor, type$.dynamic);
  95271. },
  95272. toString$0(_) {
  95273. var children,
  95274. t1 = "@" + this.name.toString$0(0),
  95275. buffer = new A.StringBuffer(t1),
  95276. t2 = this.value;
  95277. if (t2 != null)
  95278. buffer._contents = t1 + (" " + t2.toString$0(0));
  95279. children = this.children;
  95280. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95281. },
  95282. get$span(receiver) {
  95283. return this.span;
  95284. }
  95285. };
  95286. A.AttributeSelector0.prototype = {
  95287. accept$1$1(visitor) {
  95288. return visitor.visitAttributeSelector$1(this);
  95289. },
  95290. accept$1(visitor) {
  95291. return this.accept$1$1(visitor, type$.dynamic);
  95292. },
  95293. $eq(_, other) {
  95294. var _this = this;
  95295. if (other == null)
  95296. return false;
  95297. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  95298. },
  95299. get$hashCode(_) {
  95300. var _this = this,
  95301. t1 = _this.name;
  95302. 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;
  95303. }
  95304. };
  95305. A.AttributeOperator0.prototype = {
  95306. _enumToString$0() {
  95307. return "AttributeOperator." + this._name;
  95308. },
  95309. toString$0(_) {
  95310. return this._attribute0$_text;
  95311. }
  95312. };
  95313. A.BinaryOperationExpression0.prototype = {
  95314. get$span(_) {
  95315. var right,
  95316. left = this.left;
  95317. for (; left instanceof A.BinaryOperationExpression0;)
  95318. left = left.left;
  95319. right = this.right;
  95320. for (; right instanceof A.BinaryOperationExpression0;)
  95321. right = right.right;
  95322. return left.get$span(left).expand$1(0, right.get$span(right));
  95323. },
  95324. get$operatorSpan() {
  95325. var t3, t4,
  95326. t1 = this.left,
  95327. t2 = t1.get$span(t1);
  95328. t2 = t2.get$file(t2);
  95329. t3 = this.right;
  95330. t4 = t3.get$span(t3);
  95331. if (t2 === t4.get$file(t4)) {
  95332. t2 = t1.get$span(t1);
  95333. t2 = t2.get$end(t2);
  95334. t4 = t3.get$span(t3);
  95335. t4 = t2.offset < t4.get$start(t4).offset;
  95336. t2 = t4;
  95337. } else
  95338. t2 = false;
  95339. if (t2) {
  95340. t2 = t1.get$span(t1);
  95341. t2 = t2.get$file(t2);
  95342. t1 = t1.get$span(t1);
  95343. t1 = t1.get$end(t1);
  95344. t3 = t3.get$span(t3);
  95345. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  95346. t1 = t3;
  95347. } else
  95348. t1 = this.get$span(0);
  95349. return t1;
  95350. },
  95351. accept$1$1(visitor) {
  95352. return visitor.visitBinaryOperationExpression$1(0, this);
  95353. },
  95354. accept$1(visitor) {
  95355. return this.accept$1$1(visitor, type$.dynamic);
  95356. },
  95357. toString$0(_) {
  95358. var t1, t2, right, t3, operator, _this = this,
  95359. _0_0 = _this.left;
  95360. $label0$0: {
  95361. if (_0_0 instanceof A.BinaryOperationExpression0) {
  95362. t1 = _0_0.operator.precedence < _this.operator.precedence;
  95363. break $label0$0;
  95364. }
  95365. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  95366. t1 = true;
  95367. break $label0$0;
  95368. }
  95369. t1 = false;
  95370. break $label0$0;
  95371. }
  95372. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  95373. t2 += _0_0.toString$0(0);
  95374. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95375. t2 = _this.operator;
  95376. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  95377. right = _this.right;
  95378. $label1$1: {
  95379. t3 = false;
  95380. if (right instanceof A.BinaryOperationExpression0) {
  95381. operator = right.operator;
  95382. if (operator.precedence <= t2.precedence) {
  95383. t3 = !(operator === t2 && operator.isAssociative);
  95384. t2 = t3;
  95385. } else
  95386. t2 = t3;
  95387. break $label1$1;
  95388. }
  95389. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  95390. t2 = true;
  95391. break $label1$1;
  95392. }
  95393. t2 = t3;
  95394. break $label1$1;
  95395. }
  95396. if (t2)
  95397. t1 += A.Primitives_stringFromCharCode(40);
  95398. t1 += right.toString$0(0);
  95399. if (t2)
  95400. t1 += A.Primitives_stringFromCharCode(41);
  95401. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95402. }
  95403. };
  95404. A.BinaryOperator0.prototype = {
  95405. _enumToString$0() {
  95406. return "BinaryOperator." + this._name;
  95407. },
  95408. toString$0(_) {
  95409. return this.name;
  95410. }
  95411. };
  95412. A.BooleanExpression0.prototype = {
  95413. accept$1$1(visitor) {
  95414. return visitor.visitBooleanExpression$1(0, this);
  95415. },
  95416. accept$1(visitor) {
  95417. return this.accept$1$1(visitor, type$.dynamic);
  95418. },
  95419. toString$0(_) {
  95420. return String(this.value);
  95421. },
  95422. get$span(receiver) {
  95423. return this.span;
  95424. }
  95425. };
  95426. A.booleanClass_closure.prototype = {
  95427. call$0() {
  95428. var t1 = type$.JSClass,
  95429. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  95430. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95431. return jsClass;
  95432. },
  95433. $signature: 15
  95434. };
  95435. A.booleanClass__closure.prototype = {
  95436. call$2($self, _) {
  95437. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  95438. },
  95439. call$1($self) {
  95440. return this.call$2($self, null);
  95441. },
  95442. "call*": "call$2",
  95443. $requiredArgCount: 1,
  95444. $defaultValues() {
  95445. return [null];
  95446. },
  95447. $signature: 188
  95448. };
  95449. A.legacyBooleanClass_closure.prototype = {
  95450. call$0() {
  95451. var t1 = type$.JSClass,
  95452. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  95453. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  95454. jsClass.TRUE = B.SassBoolean_true0;
  95455. jsClass.FALSE = B.SassBoolean_false0;
  95456. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95457. return jsClass;
  95458. },
  95459. $signature: 15
  95460. };
  95461. A.legacyBooleanClass__closure.prototype = {
  95462. call$2(_, __) {
  95463. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  95464. },
  95465. call$1(_) {
  95466. return this.call$2(_, null);
  95467. },
  95468. "call*": "call$2",
  95469. $requiredArgCount: 1,
  95470. $defaultValues() {
  95471. return [null];
  95472. },
  95473. $signature: 187
  95474. };
  95475. A.legacyBooleanClass__closure0.prototype = {
  95476. call$1($self) {
  95477. return $self === B.SassBoolean_true0;
  95478. },
  95479. $signature: 79
  95480. };
  95481. A.SassBoolean0.prototype = {
  95482. get$isTruthy() {
  95483. return this.value;
  95484. },
  95485. accept$1$1(visitor) {
  95486. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  95487. },
  95488. accept$1(visitor) {
  95489. return this.accept$1$1(visitor, type$.dynamic);
  95490. },
  95491. assertBoolean$1($name) {
  95492. return this;
  95493. },
  95494. unaryNot$0() {
  95495. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  95496. }
  95497. };
  95498. A.Box0.prototype = {
  95499. $eq(_, other) {
  95500. if (other == null)
  95501. return false;
  95502. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  95503. },
  95504. get$hashCode(_) {
  95505. return A.Primitives_objectHashCode(this._box0$_inner);
  95506. }
  95507. };
  95508. A.ModifiableBox0.prototype = {};
  95509. A.BuiltInCallable0.prototype = {
  95510. callbackFor$2(positional, names) {
  95511. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  95512. 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) {
  95513. overload = t1[_i];
  95514. t3 = overload._0;
  95515. if (t3.matches$2(positional, names))
  95516. return overload;
  95517. mismatchDistance = t3.parameters.length - positional;
  95518. if (minMismatchDistance != null) {
  95519. t3 = Math.abs(mismatchDistance);
  95520. t4 = Math.abs(minMismatchDistance);
  95521. if (t3 > t4)
  95522. continue;
  95523. if (t3 === t4 && mismatchDistance < 0)
  95524. continue;
  95525. }
  95526. minMismatchDistance = mismatchDistance;
  95527. fuzzyMatch = overload;
  95528. }
  95529. if (fuzzyMatch != null)
  95530. return fuzzyMatch;
  95531. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  95532. },
  95533. withName$1($name) {
  95534. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  95535. },
  95536. withDeprecationWarning$2(module, newName) {
  95537. var t2, t3, _i, t4, t5, _this = this,
  95538. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  95539. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95540. t4 = {};
  95541. t5 = t2[_i];
  95542. t4.$function = null;
  95543. t4.$function = t5._1;
  95544. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  95545. }
  95546. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  95547. },
  95548. withDeprecationWarning$1(module) {
  95549. return this.withDeprecationWarning$2(module, null);
  95550. },
  95551. $isAsyncCallable0: 1,
  95552. $isAsyncBuiltInCallable0: 1,
  95553. $isCallable: 1,
  95554. get$name(receiver) {
  95555. return this.name;
  95556. },
  95557. get$acceptsContent() {
  95558. return this.acceptsContent;
  95559. }
  95560. };
  95561. A.BuiltInCallable$mixin_closure0.prototype = {
  95562. call$1($arguments) {
  95563. this.callback.call$1($arguments);
  95564. return B.C__SassNull0;
  95565. },
  95566. $signature: 3
  95567. };
  95568. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  95569. call$1(args) {
  95570. var _this = this,
  95571. t1 = _this.newName;
  95572. if (t1 == null)
  95573. t1 = _this.$this.name;
  95574. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_ZDV);
  95575. return _this._box_0.$function.call$1(args);
  95576. },
  95577. $signature: 3
  95578. };
  95579. A.BuiltInModule0.prototype = {
  95580. get$upstream() {
  95581. return B.List_empty19;
  95582. },
  95583. get$variableNodes() {
  95584. return B.Map_empty13;
  95585. },
  95586. get$extensionStore() {
  95587. return B.C_EmptyExtensionStore0;
  95588. },
  95589. get$css(_) {
  95590. return new A.CssStylesheet0(B.List_empty17, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  95591. },
  95592. get$preModuleComments() {
  95593. return B.Map_empty12;
  95594. },
  95595. get$transitivelyContainsCss() {
  95596. return false;
  95597. },
  95598. get$transitivelyContainsExtensions() {
  95599. return false;
  95600. },
  95601. setVariable$3($name, value, nodeWithSpan) {
  95602. if (!this.variables.containsKey$1($name))
  95603. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95604. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  95605. },
  95606. variableIdentity$1($name) {
  95607. return this;
  95608. },
  95609. cloneCss$0() {
  95610. return this;
  95611. },
  95612. $isModule1: 1,
  95613. get$url(receiver) {
  95614. return this.url;
  95615. },
  95616. get$functions(receiver) {
  95617. return this.functions;
  95618. },
  95619. get$mixins() {
  95620. return this.mixins;
  95621. },
  95622. get$variables() {
  95623. return this.variables;
  95624. }
  95625. };
  95626. A.calculationClass_closure.prototype = {
  95627. call$0() {
  95628. var t1 = type$.JSClass,
  95629. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  95630. t2 = type$.String,
  95631. t3 = type$.Function;
  95632. 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));
  95633. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95634. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95635. 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);
  95636. return jsClass;
  95637. },
  95638. $signature: 15
  95639. };
  95640. A.calculationClass__closure.prototype = {
  95641. call$2($self, _) {
  95642. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  95643. },
  95644. call$1($self) {
  95645. return this.call$2($self, null);
  95646. },
  95647. "call*": "call$2",
  95648. $requiredArgCount: 1,
  95649. $defaultValues() {
  95650. return [null];
  95651. },
  95652. $signature: 188
  95653. };
  95654. A.calculationClass__closure0.prototype = {
  95655. call$1(argument) {
  95656. A._assertCalculationValue(argument);
  95657. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  95658. },
  95659. $signature: 120
  95660. };
  95661. A.calculationClass__closure1.prototype = {
  95662. call$1($arguments) {
  95663. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95664. t2 = type$.Object,
  95665. argList = J.cast$1$0$ax(t1, t2);
  95666. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95667. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  95668. },
  95669. $signature: 120
  95670. };
  95671. A.calculationClass__closure2.prototype = {
  95672. call$1($arguments) {
  95673. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95674. t2 = type$.Object,
  95675. argList = J.cast$1$0$ax(t1, t2);
  95676. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95677. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  95678. },
  95679. $signature: 120
  95680. };
  95681. A.calculationClass__closure3.prototype = {
  95682. call$3(min, value, max) {
  95683. var t1;
  95684. if (!(value == null && !A._isValidClampArg(min)))
  95685. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  95686. else
  95687. t1 = true;
  95688. if (t1)
  95689. 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) + "`"));
  95690. t1 = type$.NonNullsIterable_Object;
  95691. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  95692. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  95693. },
  95694. call$1(min) {
  95695. return this.call$3(min, null, null);
  95696. },
  95697. call$2(min, value) {
  95698. return this.call$3(min, value, null);
  95699. },
  95700. "call*": "call$3",
  95701. $requiredArgCount: 1,
  95702. $defaultValues() {
  95703. return [null, null];
  95704. },
  95705. $signature: 370
  95706. };
  95707. A.calculationClass__closure4.prototype = {
  95708. call$2($self, $name) {
  95709. return $self;
  95710. },
  95711. call$1($self) {
  95712. return this.call$2($self, null);
  95713. },
  95714. "call*": "call$2",
  95715. $requiredArgCount: 1,
  95716. $defaultValues() {
  95717. return [null];
  95718. },
  95719. $signature: 371
  95720. };
  95721. A.calculationClass__closure5.prototype = {
  95722. call$1($self) {
  95723. return new self.immutable.List($self.$arguments);
  95724. },
  95725. $signature: 372
  95726. };
  95727. A.calculationOperationClass_closure.prototype = {
  95728. call$0() {
  95729. var _null = null,
  95730. t1 = type$.JSClass,
  95731. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  95732. t2 = type$.String,
  95733. t3 = type$.Function;
  95734. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95735. 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));
  95736. 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);
  95737. return jsClass;
  95738. },
  95739. $signature: 15
  95740. };
  95741. A.calculationOperationClass__closure.prototype = {
  95742. call$4($self, strOperator, left, right) {
  95743. var operator = A.IterableExtension_firstWhereOrNull(B.List_g9w, new A.calculationOperationClass___closure(strOperator));
  95744. if (operator == null)
  95745. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  95746. A._assertCalculationValue(left);
  95747. A._assertCalculationValue(right);
  95748. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  95749. },
  95750. "call*": "call$4",
  95751. $requiredArgCount: 4,
  95752. $signature: 373
  95753. };
  95754. A.calculationOperationClass___closure.prototype = {
  95755. call$1(value) {
  95756. return value.operator === this.strOperator;
  95757. },
  95758. $signature: 374
  95759. };
  95760. A.calculationOperationClass__closure0.prototype = {
  95761. call$2($self, other) {
  95762. return $self.$eq(0, other);
  95763. },
  95764. $signature: 375
  95765. };
  95766. A.calculationOperationClass__closure1.prototype = {
  95767. call$1($self) {
  95768. return $self.get$hashCode(0);
  95769. },
  95770. $signature: 376
  95771. };
  95772. A.calculationOperationClass__closure2.prototype = {
  95773. call$1($self) {
  95774. return $self._calculation0$_operator.operator;
  95775. },
  95776. $signature: 377
  95777. };
  95778. A.calculationOperationClass__closure3.prototype = {
  95779. call$1($self) {
  95780. return $self._calculation0$_left;
  95781. },
  95782. $signature: 185
  95783. };
  95784. A.calculationOperationClass__closure4.prototype = {
  95785. call$1($self) {
  95786. return $self._calculation0$_right;
  95787. },
  95788. $signature: 185
  95789. };
  95790. A.calculationInterpolationClass_closure.prototype = {
  95791. call$0() {
  95792. var t1 = type$.JSClass,
  95793. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  95794. t2 = type$.String,
  95795. t3 = type$.Function;
  95796. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95797. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95798. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  95799. return jsClass;
  95800. },
  95801. $signature: 15
  95802. };
  95803. A.calculationInterpolationClass__closure.prototype = {
  95804. call$2($self, value) {
  95805. return new A.CalculationInterpolation(value);
  95806. },
  95807. $signature: 379
  95808. };
  95809. A.calculationInterpolationClass__closure0.prototype = {
  95810. call$2($self, other) {
  95811. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  95812. },
  95813. $signature: 380
  95814. };
  95815. A.calculationInterpolationClass__closure1.prototype = {
  95816. call$1($self) {
  95817. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  95818. },
  95819. $signature: 381
  95820. };
  95821. A.calculationInterpolationClass__closure2.prototype = {
  95822. call$1($self) {
  95823. return $self._calculation0$_value;
  95824. },
  95825. $signature: 382
  95826. };
  95827. A.SassCalculation0.prototype = {
  95828. get$isSpecialNumber() {
  95829. return true;
  95830. },
  95831. accept$1$1(visitor) {
  95832. return visitor.visitCalculation$1(this);
  95833. },
  95834. accept$1(visitor) {
  95835. return this.accept$1$1(visitor, type$.dynamic);
  95836. },
  95837. assertCalculation$1($name) {
  95838. return this;
  95839. },
  95840. plus$1(other) {
  95841. if (other instanceof A.SassString0)
  95842. return this.super$Value$plus0(other);
  95843. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  95844. },
  95845. minus$1(other) {
  95846. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  95847. },
  95848. unaryPlus$0() {
  95849. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  95850. },
  95851. unaryMinus$0() {
  95852. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  95853. },
  95854. $eq(_, other) {
  95855. if (other == null)
  95856. return false;
  95857. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  95858. },
  95859. get$hashCode(_) {
  95860. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  95861. }
  95862. };
  95863. A.SassCalculation__verifyLength_closure0.prototype = {
  95864. call$1(arg) {
  95865. return arg instanceof A.SassString0;
  95866. },
  95867. $signature: 79
  95868. };
  95869. A.CalculationOperation0.prototype = {
  95870. $eq(_, other) {
  95871. if (other == null)
  95872. return false;
  95873. 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);
  95874. },
  95875. get$hashCode(_) {
  95876. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  95877. },
  95878. toString$0(_) {
  95879. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  95880. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  95881. }
  95882. };
  95883. A.CalculationOperator0.prototype = {
  95884. _enumToString$0() {
  95885. return "CalculationOperator." + this._name;
  95886. },
  95887. toString$0(_) {
  95888. return this.name;
  95889. }
  95890. };
  95891. A.CalculationInterpolation.prototype = {
  95892. $eq(_, other) {
  95893. if (other == null)
  95894. return false;
  95895. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  95896. },
  95897. get$hashCode(_) {
  95898. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  95899. },
  95900. toString$0(_) {
  95901. return this._calculation0$_value;
  95902. }
  95903. };
  95904. A.CallableDeclaration0.prototype = {
  95905. get$span(receiver) {
  95906. return this.span;
  95907. }
  95908. };
  95909. A.updateCanonicalizeContextPrototype_closure.prototype = {
  95910. call$1($self) {
  95911. return $self._canonicalize_context$_fromImport;
  95912. },
  95913. $signature: 383
  95914. };
  95915. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  95916. call$1($self) {
  95917. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  95918. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  95919. },
  95920. $signature: 384
  95921. };
  95922. A.CanonicalizeContext0.prototype = {
  95923. withFromImport$1$2(fromImport, callback) {
  95924. var t1,
  95925. oldFromImport = this._canonicalize_context$_fromImport;
  95926. this._canonicalize_context$_fromImport = true;
  95927. try {
  95928. t1 = callback.call$0();
  95929. return t1;
  95930. } finally {
  95931. this._canonicalize_context$_fromImport = oldFromImport;
  95932. }
  95933. },
  95934. withFromImport$2(fromImport, callback) {
  95935. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  95936. }
  95937. };
  95938. A.ColorChannel0.prototype = {
  95939. isAnalogous$1(other) {
  95940. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  95941. _0_1 = this.name,
  95942. _0_6 = other.name;
  95943. $label0$0: {
  95944. if ("red" !== _0_1)
  95945. _0_6_isSet = "x" === _0_1;
  95946. else
  95947. _0_6_isSet = true;
  95948. if (_0_6_isSet) {
  95949. if ("red" !== _0_6)
  95950. t1 = "x" === _0_6;
  95951. else
  95952. t1 = true;
  95953. _0_60 = _0_6;
  95954. } else {
  95955. _0_60 = null;
  95956. t1 = false;
  95957. }
  95958. t2 = true;
  95959. if (!t1) {
  95960. if ("green" !== _0_1)
  95961. t1 = "y" === _0_1;
  95962. else
  95963. t1 = true;
  95964. if (t1) {
  95965. _0_6_isSet0 = true;
  95966. if (_0_6_isSet)
  95967. t1 = _0_60;
  95968. else {
  95969. t1 = _0_6;
  95970. _0_6_isSet = _0_6_isSet0;
  95971. _0_60 = t1;
  95972. }
  95973. if ("green" !== t1) {
  95974. if (_0_6_isSet)
  95975. t1 = _0_60;
  95976. else {
  95977. t1 = _0_6;
  95978. _0_6_isSet = _0_6_isSet0;
  95979. _0_60 = t1;
  95980. }
  95981. t1 = "y" === t1;
  95982. } else
  95983. t1 = true;
  95984. } else
  95985. t1 = false;
  95986. if (!t1) {
  95987. if ("blue" !== _0_1)
  95988. t1 = "z" === _0_1;
  95989. else
  95990. t1 = true;
  95991. if (t1) {
  95992. _0_6_isSet0 = true;
  95993. if (_0_6_isSet)
  95994. t1 = _0_60;
  95995. else {
  95996. t1 = _0_6;
  95997. _0_6_isSet = _0_6_isSet0;
  95998. _0_60 = t1;
  95999. }
  96000. if ("blue" !== t1) {
  96001. if (_0_6_isSet)
  96002. t1 = _0_60;
  96003. else {
  96004. t1 = _0_6;
  96005. _0_6_isSet = _0_6_isSet0;
  96006. _0_60 = t1;
  96007. }
  96008. t1 = "z" === t1;
  96009. } else
  96010. t1 = true;
  96011. } else
  96012. t1 = false;
  96013. if (!t1) {
  96014. if ("chroma" !== _0_1)
  96015. t1 = "saturation" === _0_1;
  96016. else
  96017. t1 = true;
  96018. if (t1) {
  96019. _0_6_isSet0 = true;
  96020. if (_0_6_isSet)
  96021. t1 = _0_60;
  96022. else {
  96023. t1 = _0_6;
  96024. _0_6_isSet = _0_6_isSet0;
  96025. _0_60 = t1;
  96026. }
  96027. if ("chroma" !== t1) {
  96028. if (_0_6_isSet)
  96029. t1 = _0_60;
  96030. else {
  96031. t1 = _0_6;
  96032. _0_6_isSet = _0_6_isSet0;
  96033. _0_60 = t1;
  96034. }
  96035. t1 = "saturation" === t1;
  96036. } else
  96037. t1 = true;
  96038. } else
  96039. t1 = false;
  96040. if (!t1) {
  96041. if ("lightness" === _0_1) {
  96042. if (_0_6_isSet)
  96043. t1 = _0_60;
  96044. else {
  96045. t1 = _0_6;
  96046. _0_60 = t1;
  96047. _0_6_isSet = true;
  96048. }
  96049. t1 = "lightness" === t1;
  96050. } else
  96051. t1 = false;
  96052. if (!t1)
  96053. if ("hue" === _0_1)
  96054. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96055. else
  96056. t1 = false;
  96057. else
  96058. t1 = t2;
  96059. } else
  96060. t1 = t2;
  96061. } else
  96062. t1 = t2;
  96063. } else
  96064. t1 = t2;
  96065. } else
  96066. t1 = t2;
  96067. if (t1)
  96068. break $label0$0;
  96069. break $label0$0;
  96070. }
  96071. return t1;
  96072. }
  96073. };
  96074. A.LinearChannel0.prototype = {};
  96075. A.Chokidar0.prototype = {};
  96076. A.ChokidarOptions0.prototype = {};
  96077. A.ChokidarWatcher0.prototype = {};
  96078. A.ClassSelector0.prototype = {
  96079. $eq(_, other) {
  96080. if (other == null)
  96081. return false;
  96082. return other instanceof A.ClassSelector0 && other.name === this.name;
  96083. },
  96084. accept$1$1(visitor) {
  96085. return visitor.visitClassSelector$1(this);
  96086. },
  96087. accept$1(visitor) {
  96088. return this.accept$1$1(visitor, type$.dynamic);
  96089. },
  96090. addSuffix$1(suffix) {
  96091. return new A.ClassSelector0(this.name + suffix, this.span);
  96092. },
  96093. get$hashCode(_) {
  96094. return B.JSString_methods.get$hashCode(this.name);
  96095. }
  96096. };
  96097. A.ClipGamutMap0.prototype = {
  96098. map$1(_, color) {
  96099. var t1 = color._color0$_space,
  96100. t2 = t1._space$_channels;
  96101. 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);
  96102. },
  96103. _clip$_clampChannel$2(value, channel) {
  96104. var t1, min;
  96105. if (value == null)
  96106. t1 = null;
  96107. else
  96108. $label0$0: {
  96109. if (channel instanceof A.LinearChannel0) {
  96110. min = channel.min;
  96111. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96112. break $label0$0;
  96113. }
  96114. t1 = value;
  96115. break $label0$0;
  96116. }
  96117. return t1;
  96118. }
  96119. };
  96120. A._CloneCssVisitor0.prototype = {
  96121. visitCssAtRule$1(node) {
  96122. var t1 = node.isChildless,
  96123. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96124. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96125. },
  96126. visitCssComment$1(node) {
  96127. return new A.ModifiableCssComment0(node.text, node.span);
  96128. },
  96129. visitCssDeclaration$1(node) {
  96130. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  96131. },
  96132. visitCssImport$1(node) {
  96133. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96134. },
  96135. visitCssKeyframeBlock$1(node) {
  96136. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96137. },
  96138. visitCssMediaRule$1(node) {
  96139. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96140. },
  96141. visitCssStyleRule$1(node) {
  96142. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96143. if (_0_0 != null)
  96144. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96145. else
  96146. throw A.wrapException(A.StateError$(string$.The_Ex));
  96147. },
  96148. visitCssStylesheet$1(node) {
  96149. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96150. },
  96151. visitCssSupportsRule$1(node) {
  96152. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96153. },
  96154. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96155. var t1, t2, newChild;
  96156. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96157. t2 = t1.get$current(t1);
  96158. newChild = t2.accept$1(this);
  96159. newChild.isGroupEnd = t2.get$isGroupEnd();
  96160. newParent.addChild$1(newChild);
  96161. }
  96162. return newParent;
  96163. },
  96164. _clone_css$_visitChildren$2(newParent, oldParent) {
  96165. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96166. }
  96167. };
  96168. A.ColorExpression0.prototype = {
  96169. accept$1$1(visitor) {
  96170. return visitor.visitColorExpression$1(0, this);
  96171. },
  96172. accept$1(visitor) {
  96173. return this.accept$1$1(visitor, type$.dynamic);
  96174. },
  96175. toString$0(_) {
  96176. return A.serializeValue0(this.value, true, true);
  96177. },
  96178. get$span(receiver) {
  96179. return this.span;
  96180. }
  96181. };
  96182. A.global_closure44.prototype = {
  96183. call$1(color) {
  96184. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96185. },
  96186. $signature: 40
  96187. };
  96188. A.global_closure45.prototype = {
  96189. call$1(color) {
  96190. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96191. },
  96192. $signature: 40
  96193. };
  96194. A.global_closure46.prototype = {
  96195. call$1(color) {
  96196. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96197. },
  96198. $signature: 40
  96199. };
  96200. A.global_closure47.prototype = {
  96201. call$1($arguments) {
  96202. return A._rgb0("rgb", $arguments);
  96203. },
  96204. $signature: 3
  96205. };
  96206. A.global_closure48.prototype = {
  96207. call$1($arguments) {
  96208. return A._rgb0("rgb", $arguments);
  96209. },
  96210. $signature: 3
  96211. };
  96212. A.global_closure49.prototype = {
  96213. call$1($arguments) {
  96214. return A._rgbTwoArg0("rgb", $arguments);
  96215. },
  96216. $signature: 3
  96217. };
  96218. A.global_closure50.prototype = {
  96219. call$1($arguments) {
  96220. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96221. },
  96222. $signature: 3
  96223. };
  96224. A.global_closure51.prototype = {
  96225. call$1($arguments) {
  96226. return A._rgb0("rgba", $arguments);
  96227. },
  96228. $signature: 3
  96229. };
  96230. A.global_closure52.prototype = {
  96231. call$1($arguments) {
  96232. return A._rgb0("rgba", $arguments);
  96233. },
  96234. $signature: 3
  96235. };
  96236. A.global_closure53.prototype = {
  96237. call$1($arguments) {
  96238. return A._rgbTwoArg0("rgba", $arguments);
  96239. },
  96240. $signature: 3
  96241. };
  96242. A.global_closure54.prototype = {
  96243. call$1($arguments) {
  96244. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96245. },
  96246. $signature: 3
  96247. };
  96248. A.global_closure55.prototype = {
  96249. call$1($arguments) {
  96250. var t1 = J.getInterceptor$asx($arguments);
  96251. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  96252. A.warnForDeprecation0(string$.Globalci, B.Deprecation_ZDV);
  96253. return A._invert0($arguments, true);
  96254. },
  96255. $signature: 3
  96256. };
  96257. A.global_closure56.prototype = {
  96258. call$1(color) {
  96259. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96260. },
  96261. $signature: 31
  96262. };
  96263. A.global_closure57.prototype = {
  96264. call$1(color) {
  96265. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96266. },
  96267. $signature: 31
  96268. };
  96269. A.global_closure58.prototype = {
  96270. call$1(color) {
  96271. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96272. },
  96273. $signature: 31
  96274. };
  96275. A.global_closure59.prototype = {
  96276. call$1($arguments) {
  96277. return A._hsl0("hsl", $arguments);
  96278. },
  96279. $signature: 3
  96280. };
  96281. A.global_closure60.prototype = {
  96282. call$1($arguments) {
  96283. return A._hsl0("hsl", $arguments);
  96284. },
  96285. $signature: 3
  96286. };
  96287. A.global_closure61.prototype = {
  96288. call$1($arguments) {
  96289. var t1 = J.getInterceptor$asx($arguments);
  96290. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96291. return A._functionString0("hsl", $arguments);
  96292. else
  96293. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96294. },
  96295. $signature: 17
  96296. };
  96297. A.global_closure62.prototype = {
  96298. call$1($arguments) {
  96299. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96300. },
  96301. $signature: 3
  96302. };
  96303. A.global_closure63.prototype = {
  96304. call$1($arguments) {
  96305. return A._hsl0("hsla", $arguments);
  96306. },
  96307. $signature: 3
  96308. };
  96309. A.global_closure64.prototype = {
  96310. call$1($arguments) {
  96311. return A._hsl0("hsla", $arguments);
  96312. },
  96313. $signature: 3
  96314. };
  96315. A.global_closure65.prototype = {
  96316. call$1($arguments) {
  96317. var t1 = J.getInterceptor$asx($arguments);
  96318. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96319. return A._functionString0("hsla", $arguments);
  96320. else
  96321. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96322. },
  96323. $signature: 17
  96324. };
  96325. A.global_closure66.prototype = {
  96326. call$1($arguments) {
  96327. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96328. },
  96329. $signature: 3
  96330. };
  96331. A.global_closure67.prototype = {
  96332. call$1($arguments) {
  96333. var t1 = J.getInterceptor$asx($arguments);
  96334. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96335. return A._functionString0("grayscale", $arguments);
  96336. else {
  96337. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_ZDV);
  96338. return A._grayscale0(t1.$index($arguments, 0));
  96339. }
  96340. },
  96341. $signature: 3
  96342. };
  96343. A.global_closure68.prototype = {
  96344. call$1($arguments) {
  96345. var t1 = J.getInterceptor$asx($arguments),
  96346. color = t1.$index($arguments, 0).assertColor$1("color"),
  96347. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  96348. if (!color._color0$_space.get$isLegacyInternal())
  96349. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  96350. A.warnForDeprecation0(string$.adjustd + A.SassNumber_SassNumber0(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  96351. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  96352. },
  96353. $signature: 25
  96354. };
  96355. A.global_closure69.prototype = {
  96356. call$1($arguments) {
  96357. var result,
  96358. _s9_ = "lightness",
  96359. t1 = J.getInterceptor$asx($arguments),
  96360. color = t1.$index($arguments, 0).assertColor$1("color"),
  96361. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96362. if (!color._color0$_space.get$isLegacyInternal())
  96363. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  96364. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  96365. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96366. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96367. return result;
  96368. },
  96369. $signature: 25
  96370. };
  96371. A.global_closure70.prototype = {
  96372. call$1($arguments) {
  96373. var result,
  96374. _s9_ = "lightness",
  96375. t1 = J.getInterceptor$asx($arguments),
  96376. color = t1.$index($arguments, 0).assertColor$1("color"),
  96377. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96378. if (!color._color0$_space.get$isLegacyInternal())
  96379. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  96380. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  96381. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96382. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96383. return result;
  96384. },
  96385. $signature: 25
  96386. };
  96387. A.global_closure71.prototype = {
  96388. call$1($arguments) {
  96389. var t1 = J.getInterceptor$asx($arguments);
  96390. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96391. return A._functionString0("saturate", $arguments);
  96392. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  96393. },
  96394. $signature: 17
  96395. };
  96396. A.global_closure72.prototype = {
  96397. call$1($arguments) {
  96398. var t1, color, amount, result,
  96399. _s10_ = "saturation";
  96400. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_ZDV);
  96401. t1 = J.getInterceptor$asx($arguments);
  96402. color = t1.$index($arguments, 0).assertColor$1("color");
  96403. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96404. if (!color._color0$_space.get$isLegacyInternal())
  96405. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  96406. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  96407. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96408. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96409. return result;
  96410. },
  96411. $signature: 25
  96412. };
  96413. A.global_closure73.prototype = {
  96414. call$1($arguments) {
  96415. var result,
  96416. _s10_ = "saturation",
  96417. t1 = J.getInterceptor$asx($arguments),
  96418. color = t1.$index($arguments, 0).assertColor$1("color"),
  96419. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96420. if (!color._color0$_space.get$isLegacyInternal())
  96421. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  96422. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  96423. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96424. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96425. return result;
  96426. },
  96427. $signature: 25
  96428. };
  96429. A.global_closure74.prototype = {
  96430. call$1($arguments) {
  96431. return A._opacify0("opacify", $arguments);
  96432. },
  96433. $signature: 25
  96434. };
  96435. A.global_closure75.prototype = {
  96436. call$1($arguments) {
  96437. return A._opacify0("fade-in", $arguments);
  96438. },
  96439. $signature: 25
  96440. };
  96441. A.global_closure76.prototype = {
  96442. call$1($arguments) {
  96443. return A._transparentize0("transparentize", $arguments);
  96444. },
  96445. $signature: 25
  96446. };
  96447. A.global_closure77.prototype = {
  96448. call$1($arguments) {
  96449. return A._transparentize0("fade-out", $arguments);
  96450. },
  96451. $signature: 25
  96452. };
  96453. A.global_closure78.prototype = {
  96454. call$1($arguments) {
  96455. var _0_0 = J.$index$asx($arguments, 0),
  96456. t1 = false;
  96457. if (_0_0 instanceof A.SassString0)
  96458. if (!_0_0._string0$_hasQuotes)
  96459. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96460. if (t1)
  96461. return A._functionString0("alpha", $arguments);
  96462. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96463. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  96464. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_ZDV);
  96465. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96466. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96467. },
  96468. $signature: 3
  96469. };
  96470. A.global_closure79.prototype = {
  96471. call$1($arguments) {
  96472. var t1,
  96473. argList = J.$index$asx($arguments, 0).get$asList();
  96474. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  96475. return A._functionString0("alpha", $arguments);
  96476. t1 = argList.length;
  96477. if (t1 === 0)
  96478. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  96479. else
  96480. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  96481. },
  96482. $signature: 17
  96483. };
  96484. A.global__closure0.prototype = {
  96485. call$1(argument) {
  96486. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96487. },
  96488. $signature: 52
  96489. };
  96490. A.global_closure80.prototype = {
  96491. call$1($arguments) {
  96492. var t1 = J.getInterceptor$asx($arguments);
  96493. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96494. return A._functionString0("opacity", $arguments);
  96495. A.warnForDeprecation0(string$.Globalco, B.Deprecation_ZDV);
  96496. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96497. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96498. },
  96499. $signature: 3
  96500. };
  96501. A.global_closure81.prototype = {
  96502. call$1($arguments) {
  96503. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  96504. },
  96505. $signature: 3
  96506. };
  96507. A.global_closure82.prototype = {
  96508. call$1($arguments) {
  96509. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96510. },
  96511. $signature: 3
  96512. };
  96513. A.global_closure83.prototype = {
  96514. call$1($arguments) {
  96515. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  96516. },
  96517. $signature: 3
  96518. };
  96519. A.global_closure84.prototype = {
  96520. call$1($arguments) {
  96521. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  96522. },
  96523. $signature: 3
  96524. };
  96525. A.global_closure85.prototype = {
  96526. call$1($arguments) {
  96527. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  96528. },
  96529. $signature: 3
  96530. };
  96531. A.global_closure86.prototype = {
  96532. call$1($arguments) {
  96533. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  96534. },
  96535. $signature: 3
  96536. };
  96537. A.module_closure27.prototype = {
  96538. call$1(color) {
  96539. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96540. },
  96541. $signature: 40
  96542. };
  96543. A.module_closure28.prototype = {
  96544. call$1(color) {
  96545. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96546. },
  96547. $signature: 40
  96548. };
  96549. A.module_closure29.prototype = {
  96550. call$1(color) {
  96551. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96552. },
  96553. $signature: 40
  96554. };
  96555. A.module_closure30.prototype = {
  96556. call$1($arguments) {
  96557. var result = A._invert0($arguments, false);
  96558. if (result instanceof A.SassString0)
  96559. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_ci + result.toString$0(0), B.Deprecation_Kry);
  96560. return result;
  96561. },
  96562. $signature: 3
  96563. };
  96564. A.module_closure31.prototype = {
  96565. call$1(color) {
  96566. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96567. },
  96568. $signature: 31
  96569. };
  96570. A.module_closure32.prototype = {
  96571. call$1(color) {
  96572. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96573. },
  96574. $signature: 31
  96575. };
  96576. A.module_closure33.prototype = {
  96577. call$1(color) {
  96578. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96579. },
  96580. $signature: 31
  96581. };
  96582. A.module_closure34.prototype = {
  96583. call$1($arguments) {
  96584. var result,
  96585. t1 = J.getInterceptor$asx($arguments);
  96586. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96587. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  96588. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_cg + result.toString$0(0), B.Deprecation_Kry);
  96589. return result;
  96590. }
  96591. return A._grayscale0(t1.$index($arguments, 0));
  96592. },
  96593. $signature: 3
  96594. };
  96595. A.module_closure35.prototype = {
  96596. call$1($arguments) {
  96597. var t1 = J.getInterceptor$asx($arguments),
  96598. t2 = type$.JSArray_Value_2;
  96599. 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);
  96600. },
  96601. $signature: 3
  96602. };
  96603. A.module_closure36.prototype = {
  96604. call$1($arguments) {
  96605. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96606. },
  96607. $signature: 3
  96608. };
  96609. A.module_closure37.prototype = {
  96610. call$1(color) {
  96611. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  96612. },
  96613. $signature: 31
  96614. };
  96615. A.module_closure38.prototype = {
  96616. call$1(color) {
  96617. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  96618. },
  96619. $signature: 31
  96620. };
  96621. A.module_closure39.prototype = {
  96622. call$1($arguments) {
  96623. var result,
  96624. _0_0 = J.$index$asx($arguments, 0),
  96625. t1 = false;
  96626. if (_0_0 instanceof A.SassString0)
  96627. if (!_0_0._string0$_hasQuotes)
  96628. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96629. if (t1) {
  96630. result = A._functionString0("alpha", $arguments);
  96631. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96632. return result;
  96633. }
  96634. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96635. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  96636. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96637. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96638. },
  96639. $signature: 3
  96640. };
  96641. A.module_closure40.prototype = {
  96642. call$1($arguments) {
  96643. var result,
  96644. t1 = J.getInterceptor$asx($arguments);
  96645. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  96646. result = A._functionString0("alpha", $arguments);
  96647. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96648. return result;
  96649. }
  96650. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  96651. },
  96652. $signature: 17
  96653. };
  96654. A.module__closure6.prototype = {
  96655. call$1(argument) {
  96656. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96657. },
  96658. $signature: 52
  96659. };
  96660. A.module_closure41.prototype = {
  96661. call$1($arguments) {
  96662. var result,
  96663. t1 = J.getInterceptor$asx($arguments);
  96664. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96665. result = A._functionString0("opacity", $arguments);
  96666. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_Kry);
  96667. return result;
  96668. }
  96669. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96670. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96671. },
  96672. $signature: 3
  96673. };
  96674. A.module_closure42.prototype = {
  96675. call$1($arguments) {
  96676. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  96677. },
  96678. $signature: 17
  96679. };
  96680. A.module_closure43.prototype = {
  96681. call$1($arguments) {
  96682. var t1 = J.getInterceptor$asx($arguments);
  96683. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  96684. },
  96685. $signature: 25
  96686. };
  96687. A.module_closure44.prototype = {
  96688. call$1($arguments) {
  96689. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96690. },
  96691. $signature: 12
  96692. };
  96693. A.module_closure45.prototype = {
  96694. call$1($arguments) {
  96695. var t1 = J.getInterceptor$asx($arguments);
  96696. 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;
  96697. },
  96698. $signature: 12
  96699. };
  96700. A.module_closure46.prototype = {
  96701. call$1($arguments) {
  96702. var t1 = J.getInterceptor$asx($arguments);
  96703. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96704. },
  96705. $signature: 12
  96706. };
  96707. A.module_closure47.prototype = {
  96708. call$1($arguments) {
  96709. var space, method, _s5_ = "space", _s6_ = "method",
  96710. t1 = J.getInterceptor$asx($arguments),
  96711. color = t1.$index($arguments, 0).assertColor$1("color"),
  96712. t2 = t1.$index($arguments, 1);
  96713. if (t2.$eq(0, B.C__SassNull0))
  96714. space = color._color0$_space;
  96715. else {
  96716. t2 = t2.assertString$1(_s5_);
  96717. t2.assertUnquoted$1(_s5_);
  96718. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  96719. }
  96720. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  96721. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  96722. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  96723. t1.assertUnquoted$1(_s6_);
  96724. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  96725. if (!space.get$isBoundedInternal())
  96726. return color;
  96727. t1 = color.toSpace$1(space);
  96728. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  96729. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  96730. },
  96731. $signature: 25
  96732. };
  96733. A.module_closure48.prototype = {
  96734. call$1($arguments) {
  96735. var channelIndex, channelInfo, channelValue, unit,
  96736. t1 = J.getInterceptor$asx($arguments),
  96737. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  96738. channelName = A._channelName0(t1.$index($arguments, 1));
  96739. if (channelName === "alpha") {
  96740. t1 = color.alphaOrNull;
  96741. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96742. }
  96743. t1 = color._color0$_space._space$_channels;
  96744. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  96745. if (channelIndex === -1)
  96746. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  96747. channelInfo = t1[channelIndex];
  96748. channelValue = color.get$channels()[channelIndex];
  96749. unit = channelInfo.associatedUnit;
  96750. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  96751. },
  96752. $signature: 23
  96753. };
  96754. A.module__closure5.prototype = {
  96755. call$1(channel) {
  96756. return channel.name === this.channelName;
  96757. },
  96758. $signature: 74
  96759. };
  96760. A.module_closure49.prototype = {
  96761. call$1($arguments) {
  96762. var t2, t3,
  96763. t1 = J.getInterceptor$asx($arguments),
  96764. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96765. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  96766. t1 = new A.module_closure_toXyzNoMissing0();
  96767. if (color1._color0$_space === color2._color0$_space) {
  96768. t1 = color1.channel0OrNull;
  96769. t2 = false;
  96770. if (t1 == null)
  96771. t1 = 0;
  96772. t3 = color2.channel0OrNull;
  96773. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96774. t1 = color1.channel1OrNull;
  96775. if (t1 == null)
  96776. t1 = 0;
  96777. t3 = color2.channel1OrNull;
  96778. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96779. t1 = color1.channel2OrNull;
  96780. if (t1 == null)
  96781. t1 = 0;
  96782. t3 = color2.channel2OrNull;
  96783. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96784. t1 = color1.alphaOrNull;
  96785. if (t1 == null)
  96786. t1 = 0;
  96787. t2 = color2.alphaOrNull;
  96788. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  96789. } else
  96790. t1 = t2;
  96791. } else
  96792. t1 = t2;
  96793. } else
  96794. t1 = t2;
  96795. } else
  96796. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  96797. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96798. },
  96799. $signature: 12
  96800. };
  96801. A.module_closure_toXyzNoMissing0.prototype = {
  96802. call$1(color) {
  96803. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha, _null = null;
  96804. $label0$0: {
  96805. _1_1 = color._color0$_space;
  96806. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  96807. t1 = _1_3;
  96808. if (t1)
  96809. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  96810. else
  96811. t1 = false;
  96812. if (t1) {
  96813. t1 = color;
  96814. break $label0$0;
  96815. }
  96816. if (_1_3) {
  96817. _1_7 = color.channel0OrNull;
  96818. if (_1_7 == null)
  96819. _1_7 = 0;
  96820. channel0 = _1_7;
  96821. _1_8 = color.channel1OrNull;
  96822. if (_1_8 == null)
  96823. _1_8 = 0;
  96824. channel1 = _1_8;
  96825. _1_9 = color.channel2OrNull;
  96826. if (_1_9 == null)
  96827. _1_9 = 0;
  96828. channel2 = _1_9;
  96829. _1_10 = color.alphaOrNull;
  96830. if (_1_10 == null)
  96831. _1_10 = 0;
  96832. alpha = _1_10;
  96833. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, _null);
  96834. break $label0$0;
  96835. }
  96836. _1_7 = color.channel0OrNull;
  96837. if (_1_7 == null)
  96838. _1_7 = 0;
  96839. channel0 = _1_7;
  96840. _1_8 = color.channel1OrNull;
  96841. if (_1_8 == null)
  96842. _1_8 = 0;
  96843. channel1 = _1_8;
  96844. _1_9 = color.channel2OrNull;
  96845. if (_1_9 == null)
  96846. _1_9 = 0;
  96847. channel2 = _1_9;
  96848. _1_10 = color.alphaOrNull;
  96849. if (_1_10 == null)
  96850. _1_10 = 0;
  96851. alpha = _1_10;
  96852. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  96853. break $label0$0;
  96854. }
  96855. return t1;
  96856. },
  96857. $signature: 392
  96858. };
  96859. A.module_closure50.prototype = {
  96860. call$1($arguments) {
  96861. var t1 = J.getInterceptor$asx($arguments);
  96862. 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;
  96863. },
  96864. $signature: 12
  96865. };
  96866. A._mix_closure0.prototype = {
  96867. call$1($arguments) {
  96868. var _s6_ = "weight",
  96869. _s41_ = string$.To_usem,
  96870. _s29_ = ", you must provide a $method.",
  96871. t1 = J.getInterceptor$asx($arguments),
  96872. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96873. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  96874. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  96875. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  96876. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  96877. A._checkPercent0(weight, _s6_);
  96878. if (!color1._color0$_space.get$isLegacyInternal())
  96879. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  96880. else if (!color2._color0$_space.get$isLegacyInternal())
  96881. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  96882. return A._mixLegacy0(color1, color2, weight);
  96883. },
  96884. $signature: 25
  96885. };
  96886. A._complement_closure0.prototype = {
  96887. call$1($arguments) {
  96888. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  96889. t1 = J.getInterceptor$asx($arguments),
  96890. color = t1.$index($arguments, 0).assertColor$1("color"),
  96891. t2 = color._color0$_space;
  96892. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  96893. space = B.HslColorSpace_JQ20;
  96894. else {
  96895. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  96896. t3.assertUnquoted$1(_s5_);
  96897. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  96898. }
  96899. if (!space.get$isPolarInternal())
  96900. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  96901. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  96902. t1 = space._space$_channels;
  96903. t3 = colorInSpace.channel0OrNull;
  96904. t4 = colorInSpace.channel1OrNull;
  96905. t5 = colorInSpace.channel2OrNull;
  96906. t6 = colorInSpace.alphaOrNull;
  96907. 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);
  96908. },
  96909. $signature: 25
  96910. };
  96911. A._adjust_closure0.prototype = {
  96912. call$1($arguments) {
  96913. return A._updateComponents0($arguments, true, false, false);
  96914. },
  96915. $signature: 25
  96916. };
  96917. A._scale_closure0.prototype = {
  96918. call$1($arguments) {
  96919. return A._updateComponents0($arguments, false, false, true);
  96920. },
  96921. $signature: 25
  96922. };
  96923. A._change_closure0.prototype = {
  96924. call$1($arguments) {
  96925. return A._updateComponents0($arguments, false, true, false);
  96926. },
  96927. $signature: 25
  96928. };
  96929. A._ieHexStr_closure0.prototype = {
  96930. call$1($arguments) {
  96931. var t1, t2, t3, t4, t5,
  96932. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  96933. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  96934. t1 = new A._ieHexStr_closure_hexString0();
  96935. t2 = color.alphaOrNull;
  96936. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  96937. t3 = color.channel0OrNull;
  96938. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  96939. t4 = color.channel1OrNull;
  96940. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  96941. t5 = color.channel2OrNull;
  96942. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  96943. },
  96944. $signature: 17
  96945. };
  96946. A._ieHexStr_closure_hexString0.prototype = {
  96947. call$1(component) {
  96948. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  96949. },
  96950. $signature: 200
  96951. };
  96952. A._updateComponents_closure1.prototype = {
  96953. call$1(space) {
  96954. return this.originalColor.toSpace$2$legacyMissing(space, false);
  96955. },
  96956. $signature: 393
  96957. };
  96958. A._updateComponents_closure2.prototype = {
  96959. call$1(info) {
  96960. return this._box_0.name === info.name;
  96961. },
  96962. $signature: 74
  96963. };
  96964. A._changeColor_closure0.prototype = {
  96965. call$0() {
  96966. var t1 = this.alphaArg;
  96967. A.warnForDeprecation0("$alpha: Passing a unit other than % (" + A.S(t1) + string$.x29x20is_d + t1.unitSuggestion$1("alpha") + string$.x0a_See_, B.Deprecation_vn5);
  96968. return t1.valueInRange$3(0, 1, "alpha");
  96969. },
  96970. $signature: 141
  96971. };
  96972. A._adjustColor_closure0.prototype = {
  96973. call$1(alpha) {
  96974. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  96975. },
  96976. $signature: 16
  96977. };
  96978. A._functionString_closure0.prototype = {
  96979. call$1(argument) {
  96980. return A.serializeValue0(argument, false, true);
  96981. },
  96982. $signature: 179
  96983. };
  96984. A._removedColorFunction_closure0.prototype = {
  96985. call$1($arguments) {
  96986. var t1 = this.name,
  96987. t2 = J.getInterceptor$asx($arguments),
  96988. t3 = t2.$index($arguments, 0).toString$0(0),
  96989. t4 = this.negative ? "-" : "";
  96990. 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));
  96991. },
  96992. $signature: 395
  96993. };
  96994. A._rgb_closure0.prototype = {
  96995. call$1(alpha) {
  96996. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  96997. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  96998. },
  96999. $signature: 178
  97000. };
  97001. A._hsl_closure0.prototype = {
  97002. call$1(alpha) {
  97003. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97004. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97005. },
  97006. $signature: 178
  97007. };
  97008. A._parseChannels_closure1.prototype = {
  97009. call$1($name) {
  97010. return $name + " channel";
  97011. },
  97012. $signature: 6
  97013. };
  97014. A._parseChannels_closure2.prototype = {
  97015. call$1(channel) {
  97016. return channel.get$isSpecialNumber();
  97017. },
  97018. $signature: 52
  97019. };
  97020. A._colorFromChannels_closure1.prototype = {
  97021. call$1(channel0) {
  97022. return A._angleValue0(channel0, "hue");
  97023. },
  97024. $signature: 105
  97025. };
  97026. A._colorFromChannels_closure2.prototype = {
  97027. call$1(channel0) {
  97028. return A._angleValue0(channel0, "hue");
  97029. },
  97030. $signature: 105
  97031. };
  97032. A._channelFromValue_closure0.prototype = {
  97033. call$1(value) {
  97034. var t1, _0_8, t2, _0_5, _0_8_isSet, upperClamped, t3,
  97035. _0_0 = this.channel;
  97036. $label0$0: {
  97037. t1 = _0_0 instanceof A.LinearChannel0;
  97038. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97039. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97040. _0_8 = null;
  97041. t2 = false;
  97042. if (t1) {
  97043. _0_5 = _0_0.lowerClamped;
  97044. _0_8_isSet = !_0_5;
  97045. if (_0_8_isSet) {
  97046. _0_8 = _0_0.upperClamped;
  97047. t2 = !_0_8;
  97048. }
  97049. } else {
  97050. _0_5 = null;
  97051. _0_8_isSet = false;
  97052. }
  97053. if (t2) {
  97054. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97055. break $label0$0;
  97056. }
  97057. if (t1 && !this.clamp) {
  97058. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97059. break $label0$0;
  97060. }
  97061. if (t1) {
  97062. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97063. t1 = _0_0.max;
  97064. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97065. t3 = _0_5 ? _0_0.min : -1 / 0;
  97066. t1 = upperClamped ? t1 : 1 / 0;
  97067. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97068. break $label0$0;
  97069. }
  97070. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97071. break $label0$0;
  97072. }
  97073. return t1;
  97074. },
  97075. $signature: 105
  97076. };
  97077. A._channelFunction_closure0.prototype = {
  97078. call$1($arguments) {
  97079. var _this = this,
  97080. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97081. t1 = _this.global ? "" : "color.",
  97082. t2 = _this.name;
  97083. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  97084. return result;
  97085. },
  97086. $signature: 23
  97087. };
  97088. A._suggestScaleAndAdjust_closure0.prototype = {
  97089. call$1(channel) {
  97090. return channel.name === this.channelName;
  97091. },
  97092. $signature: 74
  97093. };
  97094. A.colorClass_closure.prototype = {
  97095. call$0() {
  97096. var t1 = type$.JSClass,
  97097. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97098. t2 = type$.String,
  97099. t3 = type$.Function;
  97100. 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));
  97101. 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));
  97102. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97103. return jsClass;
  97104. },
  97105. $signature: 15
  97106. };
  97107. A.colorClass__closure.prototype = {
  97108. call$2($self, options) {
  97109. var t1, t2, t3, t4, _null = null;
  97110. switch (A._constructionSpace(options)) {
  97111. case B.RgbColorSpace_i0P0:
  97112. A._checkNullAlphaDeprecation(options);
  97113. t1 = J.getInterceptor$x(options);
  97114. t2 = t1.get$red(options);
  97115. t3 = t1.get$green(options);
  97116. t4 = t1.get$blue(options);
  97117. t1 = t1.get$alpha(options);
  97118. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97119. case B.HslColorSpace_JQ20:
  97120. A._checkNullAlphaDeprecation(options);
  97121. t1 = J.getInterceptor$x(options);
  97122. t2 = t1.get$hue(options);
  97123. t3 = t1.get$saturation(options);
  97124. t4 = t1.get$lightness(options);
  97125. t1 = t1.get$alpha(options);
  97126. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97127. case B.HwbColorSpace_guQ0:
  97128. A._checkNullAlphaDeprecation(options);
  97129. t1 = J.getInterceptor$x(options);
  97130. t2 = t1.get$hue(options);
  97131. t3 = t1.get$whiteness(options);
  97132. t4 = t1.get$blackness(options);
  97133. t1 = t1.get$alpha(options);
  97134. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97135. case B.LabColorSpace_2nT0:
  97136. t1 = J.getInterceptor$x(options);
  97137. t2 = t1.get$lightness(options);
  97138. t3 = t1.get$a(options);
  97139. t4 = t1.get$b(options);
  97140. t1 = t1.get$alpha(options);
  97141. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97142. case B.OklabColorSpace_5400:
  97143. t1 = J.getInterceptor$x(options);
  97144. t2 = t1.get$lightness(options);
  97145. t3 = t1.get$a(options);
  97146. t4 = t1.get$b(options);
  97147. t1 = t1.get$alpha(options);
  97148. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97149. case B.LchColorSpace_Bpv0:
  97150. t1 = J.getInterceptor$x(options);
  97151. t2 = t1.get$lightness(options);
  97152. t3 = t1.get$chroma(options);
  97153. t4 = t1.get$hue(options);
  97154. t1 = t1.get$alpha(options);
  97155. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97156. case B.OklchColorSpace_9Gj0:
  97157. t1 = J.getInterceptor$x(options);
  97158. t2 = t1.get$lightness(options);
  97159. t3 = t1.get$chroma(options);
  97160. t4 = t1.get$hue(options);
  97161. t1 = t1.get$alpha(options);
  97162. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97163. case B.SrgbColorSpace_thf0:
  97164. t1 = J.getInterceptor$x(options);
  97165. t2 = t1.get$red(options);
  97166. t3 = t1.get$green(options);
  97167. t4 = t1.get$blue(options);
  97168. t1 = t1.get$alpha(options);
  97169. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97170. case B.SrgbLinearColorSpace_kUj0:
  97171. t1 = J.getInterceptor$x(options);
  97172. t2 = t1.get$red(options);
  97173. t3 = t1.get$green(options);
  97174. t4 = t1.get$blue(options);
  97175. t1 = t1.get$alpha(options);
  97176. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97177. case B.DisplayP3ColorSpace_MmT0:
  97178. t1 = J.getInterceptor$x(options);
  97179. t2 = t1.get$red(options);
  97180. t3 = t1.get$green(options);
  97181. t4 = t1.get$blue(options);
  97182. t1 = t1.get$alpha(options);
  97183. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97184. case B.A98RgbColorSpace_lf20:
  97185. t1 = J.getInterceptor$x(options);
  97186. t2 = t1.get$red(options);
  97187. t3 = t1.get$green(options);
  97188. t4 = t1.get$blue(options);
  97189. t1 = t1.get$alpha(options);
  97190. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97191. case B.ProphotoRgbColorSpace_BDz0:
  97192. t1 = J.getInterceptor$x(options);
  97193. t2 = t1.get$red(options);
  97194. t3 = t1.get$green(options);
  97195. t4 = t1.get$blue(options);
  97196. t1 = t1.get$alpha(options);
  97197. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97198. case B.Rec2020ColorSpace_6oo0:
  97199. t1 = J.getInterceptor$x(options);
  97200. t2 = t1.get$red(options);
  97201. t3 = t1.get$green(options);
  97202. t4 = t1.get$blue(options);
  97203. t1 = t1.get$alpha(options);
  97204. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97205. case B.XyzD50ColorSpace_2OB0:
  97206. t1 = J.getInterceptor$x(options);
  97207. t2 = t1.get$x(options);
  97208. t3 = t1.get$y(options);
  97209. t4 = t1.get$z(options);
  97210. t1 = t1.get$alpha(options);
  97211. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97212. case B.XyzD65ColorSpace_WiJ0:
  97213. t1 = J.getInterceptor$x(options);
  97214. t2 = t1.get$x(options);
  97215. t3 = t1.get$y(options);
  97216. t4 = t1.get$z(options);
  97217. t1 = t1.get$alpha(options);
  97218. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97219. default:
  97220. throw A.wrapException("Unreachable");
  97221. }
  97222. },
  97223. $signature: 398
  97224. };
  97225. A.colorClass__closure0.prototype = {
  97226. call$2($self, other) {
  97227. return $self.$eq(0, other);
  97228. },
  97229. $signature: 399
  97230. };
  97231. A.colorClass__closure1.prototype = {
  97232. call$1($self) {
  97233. return $self.get$hashCode(0);
  97234. },
  97235. $signature: 40
  97236. };
  97237. A.colorClass__closure2.prototype = {
  97238. call$2($self, space) {
  97239. return A._toSpace($self, space);
  97240. },
  97241. $signature: 400
  97242. };
  97243. A.colorClass__closure3.prototype = {
  97244. call$2($self, space) {
  97245. return A._toSpace($self, space).get$isInGamut();
  97246. },
  97247. call$1($self) {
  97248. return this.call$2($self, null);
  97249. },
  97250. "call*": "call$2",
  97251. $requiredArgCount: 1,
  97252. $defaultValues() {
  97253. return [null];
  97254. },
  97255. $signature: 401
  97256. };
  97257. A.colorClass__closure4.prototype = {
  97258. call$2($self, options) {
  97259. var t1 = J.getInterceptor$x(options),
  97260. t2 = A._toSpace($self, t1.get$space(options));
  97261. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  97262. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  97263. return t1.toSpace$1($self._color0$_space);
  97264. },
  97265. $signature: 402
  97266. };
  97267. A.colorClass__closure5.prototype = {
  97268. call$3($self, channel, options) {
  97269. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  97270. },
  97271. call$2($self, channel) {
  97272. return this.call$3($self, channel, null);
  97273. },
  97274. "call*": "call$3",
  97275. $requiredArgCount: 2,
  97276. $defaultValues() {
  97277. return [null];
  97278. },
  97279. $signature: 403
  97280. };
  97281. A.colorClass__closure6.prototype = {
  97282. call$2($self, channel) {
  97283. return $self.isChannelMissing$1(channel);
  97284. },
  97285. $signature: 404
  97286. };
  97287. A.colorClass__closure7.prototype = {
  97288. call$3($self, channel, options) {
  97289. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  97290. },
  97291. call$2($self, channel) {
  97292. return this.call$3($self, channel, null);
  97293. },
  97294. "call*": "call$3",
  97295. $requiredArgCount: 2,
  97296. $defaultValues() {
  97297. return [null];
  97298. },
  97299. $signature: 405
  97300. };
  97301. A.colorClass__closure8.prototype = {
  97302. call$2($self, options) {
  97303. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  97304. _s9_ = "whiteness",
  97305. _s9_0 = "blackness",
  97306. _s3_ = "hue",
  97307. _s10_ = "saturation",
  97308. _s9_1 = "lightness",
  97309. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  97310. _s106_ = string$.Passin_,
  97311. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  97312. t1 = J.getInterceptor$x(options),
  97313. t2 = t1.get$space(options) == null,
  97314. spaceSetExplicitly = !t2;
  97315. if (spaceSetExplicitly) {
  97316. t3 = t1.get$space(options);
  97317. t3.toString;
  97318. space = A.ColorSpace_fromName0(t3, _null);
  97319. } else
  97320. space = $self._color0$_space;
  97321. t3 = $self._color0$_space;
  97322. if (t3.get$isLegacyInternal() && t2) {
  97323. if ("whiteness" in options || "blackness" in options)
  97324. space = B.HwbColorSpace_guQ0;
  97325. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  97326. space = B.HwbColorSpace_guQ0;
  97327. else if ("hue" in options || "saturation" in options || "lightness" in options)
  97328. space = B.HslColorSpace_JQ20;
  97329. else if ("red" in options || "green" in options || "blue" in options)
  97330. space = B.RgbColorSpace_i0P0;
  97331. if (space !== t3)
  97332. 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);
  97333. }
  97334. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  97335. t6 = t2.get$current(t2);
  97336. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  97337. continue;
  97338. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  97339. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  97340. }
  97341. color = $self.toSpace$1(space);
  97342. changedValue = new A.colorClass__closure_changedValue(color, options);
  97343. $label0$2: {
  97344. _0_2 = B.HslColorSpace_JQ20 === space;
  97345. if (_0_2 && spaceSetExplicitly) {
  97346. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  97347. break $label0$2;
  97348. }
  97349. if (_0_2) {
  97350. t2 = t1.get$hue(options);
  97351. t4 = $.$get$_isNull();
  97352. if (A._asBool(t4.call$1(t2)))
  97353. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97354. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  97355. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97356. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  97357. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97358. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97359. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97360. t2 = t1.get$hue(options);
  97361. if (t2 == null)
  97362. t2 = color.channel$1(0, _s3_);
  97363. t4 = t1.get$saturation(options);
  97364. if (t4 == null)
  97365. t4 = color.channel$1(0, _s10_);
  97366. t5 = t1.get$lightness(options);
  97367. if (t5 == null)
  97368. t5 = color.channel$1(0, _s9_1);
  97369. t1 = t1.get$alpha(options);
  97370. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97371. break $label0$2;
  97372. }
  97373. _0_4 = B.HwbColorSpace_guQ0 === space;
  97374. if (_0_4 && spaceSetExplicitly) {
  97375. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  97376. break $label0$2;
  97377. }
  97378. if (_0_4) {
  97379. t2 = t1.get$hue(options);
  97380. t4 = $.$get$_isNull();
  97381. if (A._asBool(t4.call$1(t2)))
  97382. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97383. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  97384. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97385. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  97386. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97387. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97388. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97389. t2 = t1.get$hue(options);
  97390. if (t2 == null)
  97391. t2 = color.channel$1(0, _s3_);
  97392. t4 = t1.get$whiteness(options);
  97393. if (t4 == null)
  97394. t4 = color.channel$1(0, _s9_);
  97395. t5 = t1.get$blackness(options);
  97396. if (t5 == null)
  97397. t5 = color.channel$1(0, _s9_0);
  97398. t1 = t1.get$alpha(options);
  97399. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97400. break $label0$2;
  97401. }
  97402. _0_6 = B.RgbColorSpace_i0P0 === space;
  97403. if (_0_6 && spaceSetExplicitly) {
  97404. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97405. break $label0$2;
  97406. }
  97407. if (_0_6) {
  97408. t2 = t1.get$red(options);
  97409. t4 = $.$get$_isNull();
  97410. if (A._asBool(t4.call$1(t2)))
  97411. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97412. else if (A._asBool(t4.call$1(t1.get$green(options))))
  97413. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97414. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  97415. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97416. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97417. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97418. t2 = t1.get$red(options);
  97419. if (t2 == null)
  97420. t2 = color.channel$1(0, _s3_0);
  97421. t4 = t1.get$green(options);
  97422. if (t4 == null)
  97423. t4 = color.channel$1(0, _s5_);
  97424. t5 = t1.get$blue(options);
  97425. if (t5 == null)
  97426. t5 = color.channel$1(0, _s4_);
  97427. t1 = t1.get$alpha(options);
  97428. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  97429. break $label0$2;
  97430. }
  97431. if (B.LabColorSpace_2nT0 === space) {
  97432. 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);
  97433. break $label0$2;
  97434. }
  97435. if (B.OklabColorSpace_5400 === space) {
  97436. 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);
  97437. break $label0$2;
  97438. }
  97439. if (B.LchColorSpace_Bpv0 === space) {
  97440. 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));
  97441. break $label0$2;
  97442. }
  97443. if (B.OklchColorSpace_9Gj0 === space) {
  97444. 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));
  97445. break $label0$2;
  97446. }
  97447. if (B.A98RgbColorSpace_lf20 === space) {
  97448. 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);
  97449. break $label0$2;
  97450. }
  97451. if (B.DisplayP3ColorSpace_MmT0 === space) {
  97452. 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);
  97453. break $label0$2;
  97454. }
  97455. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  97456. 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);
  97457. break $label0$2;
  97458. }
  97459. if (B.Rec2020ColorSpace_6oo0 === space) {
  97460. 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);
  97461. break $label0$2;
  97462. }
  97463. if (B.SrgbColorSpace_thf0 === space) {
  97464. 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);
  97465. break $label0$2;
  97466. }
  97467. if (B.SrgbLinearColorSpace_kUj0 === space) {
  97468. 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);
  97469. break $label0$2;
  97470. }
  97471. if (B.XyzD50ColorSpace_2OB0 === 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. if (B.XyzD65ColorSpace_WiJ0 === space) {
  97476. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97477. break $label0$2;
  97478. }
  97479. throw A.wrapException("No space set");
  97480. }
  97481. return changedColor.toSpace$1(t3);
  97482. },
  97483. $signature: 406
  97484. };
  97485. A.colorClass___closure.prototype = {
  97486. call$1(channel) {
  97487. return channel.name === this.key;
  97488. },
  97489. $signature: 74
  97490. };
  97491. A.colorClass__closure_changedValue.prototype = {
  97492. call$1(channel) {
  97493. var t2,
  97494. t1 = this.options;
  97495. if (channel in t1) {
  97496. t2 = t1[channel];
  97497. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  97498. } else
  97499. t2 = false;
  97500. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  97501. },
  97502. $signature: 407
  97503. };
  97504. A.colorClass__closure9.prototype = {
  97505. call$3($self, color2, options) {
  97506. var interpolationMethod, t2,
  97507. t1 = options == null,
  97508. _1_0 = t1 ? null : J.get$method$x(options);
  97509. if (_1_0 != null)
  97510. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_nm2, _1_0));
  97511. else {
  97512. t2 = $self._color0$_space;
  97513. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  97514. }
  97515. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  97516. },
  97517. call$2($self, color2) {
  97518. return this.call$3($self, color2, null);
  97519. },
  97520. "call*": "call$3",
  97521. $requiredArgCount: 2,
  97522. $defaultValues() {
  97523. return [null];
  97524. },
  97525. $signature: 408
  97526. };
  97527. A.colorClass__closure10.prototype = {
  97528. call$1($self) {
  97529. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97530. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97531. },
  97532. $signature: 40
  97533. };
  97534. A.colorClass__closure11.prototype = {
  97535. call$1($self) {
  97536. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97537. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97538. },
  97539. $signature: 40
  97540. };
  97541. A.colorClass__closure12.prototype = {
  97542. call$1($self) {
  97543. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97544. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97545. },
  97546. $signature: 40
  97547. };
  97548. A.colorClass__closure13.prototype = {
  97549. call$1($self) {
  97550. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97551. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97552. },
  97553. $signature: 31
  97554. };
  97555. A.colorClass__closure14.prototype = {
  97556. call$1($self) {
  97557. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97558. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97559. },
  97560. $signature: 31
  97561. };
  97562. A.colorClass__closure15.prototype = {
  97563. call$1($self) {
  97564. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97565. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97566. },
  97567. $signature: 31
  97568. };
  97569. A.colorClass__closure16.prototype = {
  97570. call$1($self) {
  97571. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97572. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97573. },
  97574. $signature: 31
  97575. };
  97576. A.colorClass__closure17.prototype = {
  97577. call$1($self) {
  97578. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97579. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97580. },
  97581. $signature: 31
  97582. };
  97583. A.colorClass__closure18.prototype = {
  97584. call$1($self) {
  97585. var t1 = $self.alphaOrNull;
  97586. return t1 == null ? 0 : t1;
  97587. },
  97588. $signature: 31
  97589. };
  97590. A.colorClass__closure19.prototype = {
  97591. call$1($self) {
  97592. return $self._color0$_space.name;
  97593. },
  97594. $signature: 409
  97595. };
  97596. A.colorClass__closure20.prototype = {
  97597. call$1($self) {
  97598. return $self._color0$_space.get$isLegacyInternal();
  97599. },
  97600. $signature: 410
  97601. };
  97602. A.colorClass__closure21.prototype = {
  97603. call$1($self) {
  97604. return new self.immutable.List($self.get$channelsOrNull());
  97605. },
  97606. $signature: 176
  97607. };
  97608. A.colorClass__closure22.prototype = {
  97609. call$1($self) {
  97610. return new self.immutable.List($self.get$channels());
  97611. },
  97612. $signature: 176
  97613. };
  97614. A._Channels.prototype = {};
  97615. A._ConstructionOptions.prototype = {};
  97616. A._ChannelOptions.prototype = {};
  97617. A._ToGamutOptions.prototype = {};
  97618. A._InterpolationOptions.prototype = {};
  97619. A._NodeSassColor.prototype = {};
  97620. A.legacyColorClass_closure.prototype = {
  97621. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  97622. var red, t1, t2, t3, t4;
  97623. if (dartValue != null) {
  97624. J.set$dartValue$x(thisArg, dartValue);
  97625. return;
  97626. }
  97627. if (green == null || blue == null) {
  97628. A._asInt(redOrArgb);
  97629. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  97630. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  97631. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  97632. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  97633. } else {
  97634. redOrArgb.toString;
  97635. red = redOrArgb;
  97636. }
  97637. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  97638. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  97639. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  97640. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  97641. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  97642. },
  97643. call$2(thisArg, redOrArgb) {
  97644. var _null = null;
  97645. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  97646. },
  97647. call$3(thisArg, redOrArgb, green) {
  97648. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  97649. },
  97650. call$4(thisArg, redOrArgb, green, blue) {
  97651. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  97652. },
  97653. call$5(thisArg, redOrArgb, green, blue, alpha) {
  97654. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  97655. },
  97656. "call*": "call$6",
  97657. $requiredArgCount: 2,
  97658. $defaultValues() {
  97659. return [null, null, null, null];
  97660. },
  97661. $signature: 412
  97662. };
  97663. A.legacyColorClass__closure.prototype = {
  97664. call$1(alpha) {
  97665. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97666. },
  97667. $signature: 413
  97668. };
  97669. A.legacyColorClass_closure0.prototype = {
  97670. call$1(thisArg) {
  97671. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97672. },
  97673. $signature: 116
  97674. };
  97675. A.legacyColorClass_closure1.prototype = {
  97676. call$1(thisArg) {
  97677. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97678. },
  97679. $signature: 116
  97680. };
  97681. A.legacyColorClass_closure2.prototype = {
  97682. call$1(thisArg) {
  97683. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97684. },
  97685. $signature: 116
  97686. };
  97687. A.legacyColorClass_closure3.prototype = {
  97688. call$1(thisArg) {
  97689. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  97690. return t1 == null ? 0 : t1;
  97691. },
  97692. $signature: 415
  97693. };
  97694. A.legacyColorClass_closure4.prototype = {
  97695. call$2(thisArg, value) {
  97696. var t1 = J.getInterceptor$x(thisArg),
  97697. t2 = t1.get$dartValue(thisArg);
  97698. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97699. },
  97700. $signature: 104
  97701. };
  97702. A.legacyColorClass_closure5.prototype = {
  97703. call$2(thisArg, value) {
  97704. var t1 = J.getInterceptor$x(thisArg),
  97705. t2 = t1.get$dartValue(thisArg);
  97706. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97707. },
  97708. $signature: 104
  97709. };
  97710. A.legacyColorClass_closure6.prototype = {
  97711. call$2(thisArg, value) {
  97712. var t1 = J.getInterceptor$x(thisArg),
  97713. t2 = t1.get$dartValue(thisArg);
  97714. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97715. },
  97716. $signature: 104
  97717. };
  97718. A.legacyColorClass_closure7.prototype = {
  97719. call$2(thisArg, value) {
  97720. var t1 = J.getInterceptor$x(thisArg),
  97721. t2 = t1.get$dartValue(thisArg);
  97722. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  97723. },
  97724. $signature: 104
  97725. };
  97726. A.SassColor0.prototype = {
  97727. get$channels() {
  97728. var t2, t3,
  97729. t1 = this.channel0OrNull;
  97730. if (t1 == null)
  97731. t1 = 0;
  97732. t2 = this.channel1OrNull;
  97733. if (t2 == null)
  97734. t2 = 0;
  97735. t3 = this.channel2OrNull;
  97736. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  97737. },
  97738. get$channelsOrNull() {
  97739. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  97740. },
  97741. get$isChannel0Powerless() {
  97742. var t1, t2, _this = this,
  97743. _0_0 = _this._color0$_space;
  97744. $label0$0: {
  97745. if (B.HslColorSpace_JQ20 === _0_0) {
  97746. t1 = _this.channel1OrNull;
  97747. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97748. break $label0$0;
  97749. }
  97750. if (B.HwbColorSpace_guQ0 === _0_0) {
  97751. t1 = _this.channel1OrNull;
  97752. if (t1 == null)
  97753. t1 = 0;
  97754. t2 = _this.channel2OrNull;
  97755. t1 += t2 == null ? 0 : t2;
  97756. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  97757. break $label0$0;
  97758. }
  97759. t1 = false;
  97760. break $label0$0;
  97761. }
  97762. return t1;
  97763. },
  97764. get$isChannel2Powerless() {
  97765. var t1,
  97766. _0_0 = this._color0$_space;
  97767. $label0$0: {
  97768. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  97769. t1 = this.channel1OrNull;
  97770. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97771. break $label0$0;
  97772. }
  97773. t1 = false;
  97774. break $label0$0;
  97775. }
  97776. return t1;
  97777. },
  97778. get$isInGamut() {
  97779. var t2, t3, _this = this,
  97780. t1 = _this._color0$_space;
  97781. if (!t1.get$isBoundedInternal())
  97782. return true;
  97783. t2 = _this.channel0OrNull;
  97784. if (t2 == null)
  97785. t2 = 0;
  97786. t1 = t1._space$_channels;
  97787. t3 = false;
  97788. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  97789. t2 = _this.channel1OrNull;
  97790. if (t2 == null)
  97791. t2 = 0;
  97792. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  97793. t2 = _this.channel2OrNull;
  97794. if (t2 == null)
  97795. t2 = 0;
  97796. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  97797. } else
  97798. t1 = t3;
  97799. } else
  97800. t1 = t3;
  97801. return t1;
  97802. },
  97803. _color0$_isChannelInGamut$2(value, channel) {
  97804. var min, max, t1;
  97805. $label0$0: {
  97806. if (channel instanceof A.LinearChannel0) {
  97807. min = channel.min;
  97808. max = channel.max;
  97809. if (value < max || A.fuzzyEquals0(value, max))
  97810. t1 = value > min || A.fuzzyEquals0(value, min);
  97811. else
  97812. t1 = false;
  97813. break $label0$0;
  97814. }
  97815. t1 = true;
  97816. break $label0$0;
  97817. }
  97818. return t1;
  97819. },
  97820. accept$1$1(visitor) {
  97821. return visitor.visitColor$1(this);
  97822. },
  97823. accept$1(visitor) {
  97824. return this.accept$1$1(visitor, type$.dynamic);
  97825. },
  97826. assertColor$1($name) {
  97827. return this;
  97828. },
  97829. assertLegacy$1($name) {
  97830. if (this._color0$_space.get$isLegacyInternal())
  97831. return;
  97832. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  97833. },
  97834. channel$1(_, channel) {
  97835. var t1, _this = this,
  97836. channels = _this._color0$_space._space$_channels;
  97837. if (channel === channels[0].name) {
  97838. t1 = _this.channel0OrNull;
  97839. return t1 == null ? 0 : t1;
  97840. }
  97841. if (channel === channels[1].name) {
  97842. t1 = _this.channel1OrNull;
  97843. return t1 == null ? 0 : t1;
  97844. }
  97845. if (channel === channels[2].name) {
  97846. t1 = _this.channel2OrNull;
  97847. return t1 == null ? 0 : t1;
  97848. }
  97849. if (channel === "alpha") {
  97850. t1 = _this.alphaOrNull;
  97851. return t1 == null ? 0 : t1;
  97852. }
  97853. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  97854. },
  97855. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  97856. var _this = this,
  97857. channels = _this._color0$_space._space$_channels;
  97858. if (channel === channels[0].name)
  97859. return _this.channel0OrNull == null;
  97860. if (channel === channels[1].name)
  97861. return _this.channel1OrNull == null;
  97862. if (channel === channels[2].name)
  97863. return _this.channel2OrNull == null;
  97864. if (channel === "alpha")
  97865. return _this.alphaOrNull == null;
  97866. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  97867. },
  97868. isChannelMissing$1(channel) {
  97869. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  97870. },
  97871. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  97872. var _this = this,
  97873. channels = _this._color0$_space._space$_channels;
  97874. if (channel === channels[0].name)
  97875. return _this.get$isChannel0Powerless();
  97876. if (channel === channels[1].name)
  97877. return false;
  97878. if (channel === channels[2].name)
  97879. return _this.get$isChannel2Powerless();
  97880. if (channel === "alpha")
  97881. return false;
  97882. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  97883. },
  97884. isChannelPowerless$1(channel) {
  97885. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  97886. },
  97887. _color0$_legacyChannel$2(space, channel) {
  97888. if (!this._color0$_space.get$isLegacyInternal())
  97889. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  97890. return this.toSpace$1(space).channel$1(0, channel);
  97891. },
  97892. toSpace$2$legacyMissing(space, legacyMissing) {
  97893. var t2, converted, t3, t4, _this = this,
  97894. t1 = _this._color0$_space;
  97895. if (t1 === space)
  97896. return _this;
  97897. t2 = _this.alphaOrNull;
  97898. if (t2 == null)
  97899. t2 = 0;
  97900. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  97901. t1 = false;
  97902. if (!legacyMissing)
  97903. if (converted._color0$_space.get$isLegacyInternal())
  97904. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  97905. if (t1) {
  97906. t1 = converted.channel0OrNull;
  97907. if (t1 == null)
  97908. t1 = 0;
  97909. t2 = converted.channel1OrNull;
  97910. if (t2 == null)
  97911. t2 = 0;
  97912. t3 = converted.channel2OrNull;
  97913. if (t3 == null)
  97914. t3 = 0;
  97915. t4 = converted.alphaOrNull;
  97916. if (t4 == null)
  97917. t4 = 0;
  97918. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  97919. t1 = t4;
  97920. } else
  97921. t1 = converted;
  97922. return t1;
  97923. },
  97924. toSpace$1(space) {
  97925. return this.toSpace$2$legacyMissing(space, true);
  97926. },
  97927. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  97928. var t1, t2, t3, t4, _this = this, _null = null;
  97929. if (!_this._color0$_space.get$isLegacyInternal())
  97930. 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));
  97931. t1 = red == null ? _null : red;
  97932. if (t1 == null)
  97933. t1 = _this.channel$1(0, "red");
  97934. t2 = green == null ? _null : green;
  97935. if (t2 == null)
  97936. t2 = _this.channel$1(0, "green");
  97937. t3 = blue == null ? _null : blue;
  97938. if (t3 == null)
  97939. t3 = _this.channel$1(0, "blue");
  97940. t4 = alpha == null ? _null : alpha;
  97941. if (t4 == null) {
  97942. t4 = _this.alphaOrNull;
  97943. if (t4 == null)
  97944. t4 = 0;
  97945. }
  97946. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  97947. },
  97948. changeRgb$1$alpha(alpha) {
  97949. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  97950. },
  97951. changeRgb$1$blue(blue) {
  97952. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  97953. },
  97954. changeRgb$1$green(green) {
  97955. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  97956. },
  97957. changeRgb$1$red(red) {
  97958. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  97959. },
  97960. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  97961. var t2, t3, t4, t5, _this = this, _null = null,
  97962. t1 = _this._color0$_space;
  97963. if (!t1.get$isLegacyInternal())
  97964. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  97965. t2 = hue == null ? _null : hue;
  97966. if (t2 == null)
  97967. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97968. t3 = saturation == null ? _null : saturation;
  97969. if (t3 == null)
  97970. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97971. t4 = lightness == null ? _null : lightness;
  97972. if (t4 == null)
  97973. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97974. t5 = _this.alphaOrNull;
  97975. if (t5 == null)
  97976. t5 = 0;
  97977. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  97978. },
  97979. changeHsl$1$saturation(saturation) {
  97980. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  97981. },
  97982. changeHsl$1$lightness(lightness) {
  97983. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  97984. },
  97985. changeHsl$1$hue(hue) {
  97986. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  97987. },
  97988. changeAlpha$1(alpha) {
  97989. var t2, t3, _this = this,
  97990. t1 = _this.channel0OrNull;
  97991. if (t1 == null)
  97992. t1 = 0;
  97993. t2 = _this.channel1OrNull;
  97994. if (t2 == null)
  97995. t2 = 0;
  97996. t3 = _this.channel2OrNull;
  97997. if (t3 == null)
  97998. t3 = 0;
  97999. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  98000. },
  98001. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  98002. 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;
  98003. if (weight == null)
  98004. weight = 0.5;
  98005. if (A.fuzzyEquals0(weight, 0))
  98006. return other;
  98007. if (A.fuzzyEquals0(weight, 1))
  98008. return _this;
  98009. t1 = method.space;
  98010. color1 = _this.toSpace$1(t1);
  98011. color2 = other.toSpace$1(t1);
  98012. if (weight < 0 || weight > 1)
  98013. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98014. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98015. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98016. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98017. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98018. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98019. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98020. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98021. if (channel1_0 == null)
  98022. channel1_0 = 0;
  98023. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98024. if (channel1_1 == null)
  98025. channel1_1 = 0;
  98026. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98027. if (channel1_2 == null)
  98028. channel1_2 = 0;
  98029. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98030. if (channel2_0 == null)
  98031. channel2_0 = 0;
  98032. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98033. if (channel2_1 == null)
  98034. channel2_1 = 0;
  98035. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98036. if (channel2_2 == null)
  98037. channel2_2 = 0;
  98038. alpha1 = _this.alphaOrNull;
  98039. t2 = alpha1 == null;
  98040. if (t2) {
  98041. t3 = other.alphaOrNull;
  98042. alpha10 = t3 == null ? 0 : t3;
  98043. } else
  98044. alpha10 = alpha1;
  98045. alpha2 = other.alphaOrNull;
  98046. t3 = alpha2 == null;
  98047. if (t3)
  98048. alpha20 = t2 ? 0 : alpha1;
  98049. else
  98050. alpha20 = alpha2;
  98051. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98052. t4 = t3 ? 1 : alpha2;
  98053. t5 = 1 - weight;
  98054. otherMultiplier = t4 * t5;
  98055. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98056. if (missing1_0 && missing2_0)
  98057. mixed0 = _null;
  98058. else {
  98059. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98060. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98061. }
  98062. if (missing1_1 && missing2_1)
  98063. mixed1 = _null;
  98064. else {
  98065. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98066. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98067. }
  98068. if (missing1_2 && missing2_2)
  98069. mixed2 = _null;
  98070. else {
  98071. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98072. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98073. }
  98074. $label0$0: {
  98075. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98076. if (missing1_0 && missing2_0)
  98077. t2 = _null;
  98078. else {
  98079. t2 = method.hue;
  98080. t2.toString;
  98081. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98082. }
  98083. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98084. t1 = t2;
  98085. break $label0$0;
  98086. }
  98087. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98088. if (missing1_2 && missing2_2)
  98089. t2 = _null;
  98090. else {
  98091. t2 = method.hue;
  98092. t2.toString;
  98093. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98094. }
  98095. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98096. t1 = t2;
  98097. break $label0$0;
  98098. }
  98099. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98100. break $label0$0;
  98101. }
  98102. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98103. },
  98104. interpolate$3$weight(other, method, weight) {
  98105. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98106. },
  98107. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98108. var originalChannel;
  98109. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98110. return true;
  98111. if (original === output)
  98112. return false;
  98113. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98114. if (originalChannel == null)
  98115. return false;
  98116. return original.isChannelMissing$1(originalChannel.name);
  98117. },
  98118. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98119. var _0_0, _1_0;
  98120. $label1$1: {
  98121. if (B.HueInterpolationMethod_00 === method) {
  98122. $label0$0: {
  98123. _0_0 = hue2 - hue1;
  98124. if (_0_0 > 180) {
  98125. hue1 += 360;
  98126. break $label0$0;
  98127. }
  98128. if (_0_0 < -180)
  98129. hue2 += 360;
  98130. }
  98131. break $label1$1;
  98132. }
  98133. if (B.HueInterpolationMethod_10 === method) {
  98134. $label2$2: {
  98135. _1_0 = hue2 - hue1;
  98136. if (_1_0 > 0 && _1_0 < 180) {
  98137. hue2 += 360;
  98138. break $label2$2;
  98139. }
  98140. if (_1_0 > -180 && _1_0 <= 0)
  98141. hue1 += 360;
  98142. }
  98143. break $label1$1;
  98144. }
  98145. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98146. hue2 += 360;
  98147. break $label1$1;
  98148. }
  98149. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98150. hue1 += 360;
  98151. break $label1$1;
  98152. }
  98153. }
  98154. return hue1 * weight + hue2 * (1 - weight);
  98155. },
  98156. plus$1(other) {
  98157. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98158. return this.super$Value$plus0(other);
  98159. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98160. },
  98161. minus$1(other) {
  98162. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98163. return this.super$Value$minus0(other);
  98164. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98165. },
  98166. dividedBy$1(other) {
  98167. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98168. return this.super$Value$dividedBy0(other);
  98169. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98170. },
  98171. $eq(_, other) {
  98172. var t1, t2, _this = this;
  98173. if (other == null)
  98174. return false;
  98175. if (!(other instanceof A.SassColor0))
  98176. return false;
  98177. t1 = _this._color0$_space;
  98178. if (t1.get$isLegacyInternal()) {
  98179. t2 = other._color0$_space;
  98180. if (!t2.get$isLegacyInternal())
  98181. return false;
  98182. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98183. return false;
  98184. if (t1 === t2)
  98185. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98186. else
  98187. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98188. }
  98189. 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);
  98190. },
  98191. get$hashCode(_) {
  98192. var rgb, t2, t3, t4, t5, _this = this,
  98193. t1 = _this._color0$_space;
  98194. if (t1.get$isLegacyInternal()) {
  98195. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98196. t1 = rgb.channel0OrNull;
  98197. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98198. t2 = rgb.channel1OrNull;
  98199. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98200. t3 = rgb.channel2OrNull;
  98201. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98202. t4 = _this.alphaOrNull;
  98203. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98204. } else {
  98205. t1 = A.Primitives_objectHashCode(t1);
  98206. t2 = _this.channel0OrNull;
  98207. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98208. t3 = _this.channel1OrNull;
  98209. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98210. t4 = _this.channel2OrNull;
  98211. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98212. t5 = _this.alphaOrNull;
  98213. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98214. }
  98215. }
  98216. };
  98217. A.SassColor$_forSpace_closure0.prototype = {
  98218. call$1(alpha) {
  98219. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98220. },
  98221. $signature: 16
  98222. };
  98223. A._ColorFormatEnum0.prototype = {
  98224. toString$0(_) {
  98225. return "rgbFunction";
  98226. }
  98227. };
  98228. A.SpanColorFormat0.prototype = {};
  98229. A.Combinator0.prototype = {
  98230. _enumToString$0() {
  98231. return "Combinator." + this._name;
  98232. },
  98233. toString$0(_) {
  98234. return this._combinator0$_text;
  98235. }
  98236. };
  98237. A.ModifiableCssComment0.prototype = {
  98238. accept$1$1(visitor) {
  98239. return visitor.visitCssComment$1(this);
  98240. },
  98241. accept$1(visitor) {
  98242. return this.accept$1$1(visitor, type$.dynamic);
  98243. },
  98244. $isCssComment0: 1,
  98245. get$span(receiver) {
  98246. return this.span;
  98247. }
  98248. };
  98249. A.compileAsync_closure.prototype = {
  98250. call$0() {
  98251. var $async$goto = 0,
  98252. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98253. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  98254. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98255. if ($async$errorCode === 1)
  98256. return A._asyncRethrow($async$result, $async$completer);
  98257. while (true)
  98258. switch ($async$goto) {
  98259. case 0:
  98260. // Function start
  98261. t1 = $async$self.options;
  98262. t2 = t1 == null;
  98263. t3 = t2 ? null : J.get$loadPaths$x(t1);
  98264. t4 = t2 ? null : J.get$quietDeps$x(t1);
  98265. if (t4 == null)
  98266. t4 = false;
  98267. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98268. t6 = t2 ? null : J.get$verbose$x(t1);
  98269. if (t6 == null)
  98270. t6 = false;
  98271. t7 = t2 ? null : J.get$charset$x(t1);
  98272. if (t7 == null)
  98273. t7 = true;
  98274. t8 = t2 ? null : J.get$sourceMap$x(t1);
  98275. if (t8 == null)
  98276. t8 = false;
  98277. t9 = $async$self.logger;
  98278. if (t2)
  98279. t10 = null;
  98280. else {
  98281. t10 = J.get$importers$x(t1);
  98282. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  98283. }
  98284. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98285. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98286. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98287. $async$goto = 3;
  98288. 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);
  98289. case 3:
  98290. // returning from await.
  98291. result = $async$result;
  98292. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98293. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98294. // goto return
  98295. $async$goto = 1;
  98296. break;
  98297. case 1:
  98298. // return
  98299. return A._asyncReturn($async$returnValue, $async$completer);
  98300. }
  98301. });
  98302. return A._asyncStartSync($async$call$0, $async$completer);
  98303. },
  98304. $signature: 172
  98305. };
  98306. A.compileAsync__closure.prototype = {
  98307. call$1(importer) {
  98308. return A._parseAsyncImporter(importer);
  98309. },
  98310. $signature: 171
  98311. };
  98312. A.compileStringAsync_closure.prototype = {
  98313. call$0() {
  98314. var $async$goto = 0,
  98315. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98316. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  98317. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98318. if ($async$errorCode === 1)
  98319. return A._asyncRethrow($async$result, $async$completer);
  98320. while (true)
  98321. switch ($async$goto) {
  98322. case 0:
  98323. // Function start
  98324. t1 = $async$self.options;
  98325. t2 = t1 == null;
  98326. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  98327. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  98328. t5 = t2 ? null : J.get$loadPaths$x(t1);
  98329. t6 = t2 ? null : J.get$quietDeps$x(t1);
  98330. if (t6 == null)
  98331. t6 = false;
  98332. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98333. t8 = t2 ? null : J.get$verbose$x(t1);
  98334. if (t8 == null)
  98335. t8 = false;
  98336. t9 = t2 ? null : J.get$charset$x(t1);
  98337. if (t9 == null)
  98338. t9 = true;
  98339. t10 = t2 ? null : J.get$sourceMap$x(t1);
  98340. if (t10 == null)
  98341. t10 = false;
  98342. t11 = $async$self.logger;
  98343. if (t2)
  98344. t12 = null;
  98345. else {
  98346. t12 = J.get$importers$x(t1);
  98347. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  98348. }
  98349. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  98350. if (t13 == null)
  98351. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  98352. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98353. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98354. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98355. $async$goto = 3;
  98356. 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);
  98357. case 3:
  98358. // returning from await.
  98359. result = $async$result;
  98360. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98361. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98362. // goto return
  98363. $async$goto = 1;
  98364. break;
  98365. case 1:
  98366. // return
  98367. return A._asyncReturn($async$returnValue, $async$completer);
  98368. }
  98369. });
  98370. return A._asyncStartSync($async$call$0, $async$completer);
  98371. },
  98372. $signature: 172
  98373. };
  98374. A.compileStringAsync__closure.prototype = {
  98375. call$1(importer) {
  98376. return A._parseAsyncImporter(importer);
  98377. },
  98378. $signature: 171
  98379. };
  98380. A.compileStringAsync__closure0.prototype = {
  98381. call$1(importer) {
  98382. return A._parseAsyncImporter(importer);
  98383. },
  98384. $signature: 419
  98385. };
  98386. A._wrapAsyncSassExceptions_closure.prototype = {
  98387. call$1(error) {
  98388. var t1;
  98389. if (error instanceof A.SassException0)
  98390. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  98391. else
  98392. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  98393. return t1;
  98394. },
  98395. $signature: 420
  98396. };
  98397. A._parseFunctions_closure0.prototype = {
  98398. call$2(signature, callback) {
  98399. var callable,
  98400. t1 = this.result;
  98401. if (!this.asynch) {
  98402. callable = A._Cell$();
  98403. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  98404. t1.push(callable._readLocal$0());
  98405. } else {
  98406. callable = A._Cell$();
  98407. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  98408. t1.push(callable._readLocal$0());
  98409. }
  98410. },
  98411. $signature: 114
  98412. };
  98413. A._parseFunctions__closure2.prototype = {
  98414. call$1($arguments) {
  98415. var t1, t2,
  98416. _s42_ = string$.Invali,
  98417. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  98418. if (result instanceof A.Value0)
  98419. return A._simplifyValue(result);
  98420. t1 = result != null && result instanceof self.Promise;
  98421. t2 = this.callable;
  98422. if (t1) {
  98423. t1 = t2.readLocal$0();
  98424. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  98425. } else {
  98426. t1 = t2.readLocal$0();
  98427. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98428. }
  98429. },
  98430. $signature: 3
  98431. };
  98432. A._parseFunctions___closure6.prototype = {
  98433. call$0() {
  98434. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98435. },
  98436. $signature: 66
  98437. };
  98438. A._parseFunctions__closure3.prototype = {
  98439. call$1($arguments) {
  98440. return this.$call$body$_parseFunctions__closure0($arguments);
  98441. },
  98442. $call$body$_parseFunctions__closure0($arguments) {
  98443. var $async$goto = 0,
  98444. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  98445. $async$returnValue, $async$self = this, t1, result;
  98446. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98447. if ($async$errorCode === 1)
  98448. return A._asyncRethrow($async$result, $async$completer);
  98449. while (true)
  98450. switch ($async$goto) {
  98451. case 0:
  98452. // Function start
  98453. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  98454. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  98455. break;
  98456. case 3:
  98457. // then
  98458. $async$goto = 5;
  98459. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  98460. case 5:
  98461. // returning from await.
  98462. result = $async$result;
  98463. case 4:
  98464. // join
  98465. if (result instanceof A.Value0) {
  98466. $async$returnValue = A._simplifyValue(result);
  98467. // goto return
  98468. $async$goto = 1;
  98469. break;
  98470. }
  98471. t1 = $async$self.callable.readLocal$0();
  98472. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98473. case 1:
  98474. // return
  98475. return A._asyncReturn($async$returnValue, $async$completer);
  98476. }
  98477. });
  98478. return A._asyncStartSync($async$call$1, $async$completer);
  98479. },
  98480. $signature: 99
  98481. };
  98482. A._parseFunctions___closure5.prototype = {
  98483. call$0() {
  98484. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98485. },
  98486. $signature: 66
  98487. };
  98488. A.nodePackageImporterClass_closure.prototype = {
  98489. call$0() {
  98490. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  98491. },
  98492. $signature: 15
  98493. };
  98494. A.nodePackageImporterClass__closure.prototype = {
  98495. call$2($self, entrypointDirectory) {
  98496. var directory, t1, filename, t2, _null = null,
  98497. _0_3 = A.entrypointFilename();
  98498. $label0$0: {
  98499. if (entrypointDirectory != null) {
  98500. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  98501. t1 = directory;
  98502. break $label0$0;
  98503. }
  98504. if (_0_3 != null) {
  98505. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  98506. t1 = $.$get$context().dirname$1(filename);
  98507. break $label0$0;
  98508. }
  98509. 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`.");
  98510. }
  98511. t2 = new A.NodePackageImporter0();
  98512. if (A.isBrowser())
  98513. A.throwExpression(string$.The_No);
  98514. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  98515. return t2;
  98516. },
  98517. call$1($self) {
  98518. return this.call$2($self, null);
  98519. },
  98520. "call*": "call$2",
  98521. $requiredArgCount: 1,
  98522. $defaultValues() {
  98523. return [null];
  98524. },
  98525. $signature: 422
  98526. };
  98527. A._compileStylesheet_closure1.prototype = {
  98528. call$1(url) {
  98529. 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);
  98530. },
  98531. $signature: 6
  98532. };
  98533. A.CompileOptions.prototype = {};
  98534. A.CompileStringOptions.prototype = {};
  98535. A.NodeCompileResult.prototype = {};
  98536. A.CompileResult0.prototype = {};
  98537. A.Compiler.prototype = {};
  98538. A.AsyncCompiler.prototype = {
  98539. addCompilation$1(compilation) {
  98540. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  98541. }
  98542. };
  98543. A.AsyncCompiler_addCompilation_closure.prototype = {
  98544. call$1(err) {
  98545. },
  98546. $signature: 56
  98547. };
  98548. A.compilerClass_closure.prototype = {
  98549. call$0() {
  98550. var t1 = type$.JSClass,
  98551. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  98552. 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));
  98553. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  98554. return jsClass;
  98555. },
  98556. $signature: 15
  98557. };
  98558. A.compilerClass__closure.prototype = {
  98559. call$1($self) {
  98560. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  98561. },
  98562. $signature: 165
  98563. };
  98564. A.compilerClass__closure0.prototype = {
  98565. call$3($self, path, options) {
  98566. if ($self._disposed)
  98567. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98568. return A.compile0(path, options);
  98569. },
  98570. call$2($self, path) {
  98571. return this.call$3($self, path, null);
  98572. },
  98573. "call*": "call$3",
  98574. $requiredArgCount: 2,
  98575. $defaultValues() {
  98576. return [null];
  98577. },
  98578. $signature: 424
  98579. };
  98580. A.compilerClass__closure1.prototype = {
  98581. call$3($self, source, options) {
  98582. if ($self._disposed)
  98583. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98584. return A.compileString0(source, options);
  98585. },
  98586. call$2($self, source) {
  98587. return this.call$3($self, source, null);
  98588. },
  98589. "call*": "call$3",
  98590. $requiredArgCount: 2,
  98591. $defaultValues() {
  98592. return [null];
  98593. },
  98594. $signature: 425
  98595. };
  98596. A.compilerClass__closure2.prototype = {
  98597. call$1($self) {
  98598. $self._disposed = true;
  98599. },
  98600. $signature: 426
  98601. };
  98602. A.asyncCompilerClass_closure.prototype = {
  98603. call$0() {
  98604. var t1 = type$.JSClass,
  98605. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  98606. 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));
  98607. 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);
  98608. return jsClass;
  98609. },
  98610. $signature: 15
  98611. };
  98612. A.asyncCompilerClass__closure.prototype = {
  98613. call$1($self) {
  98614. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  98615. },
  98616. $signature: 165
  98617. };
  98618. A.asyncCompilerClass__closure0.prototype = {
  98619. call$3($self, path, options) {
  98620. var compilation;
  98621. if ($self._disposed)
  98622. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98623. compilation = A.compileAsync1(path, options);
  98624. $self.addCompilation$1(compilation);
  98625. return compilation;
  98626. },
  98627. call$2($self, path) {
  98628. return this.call$3($self, path, null);
  98629. },
  98630. "call*": "call$3",
  98631. $requiredArgCount: 2,
  98632. $defaultValues() {
  98633. return [null];
  98634. },
  98635. $signature: 427
  98636. };
  98637. A.asyncCompilerClass__closure1.prototype = {
  98638. call$3($self, source, options) {
  98639. var compilation;
  98640. if ($self._disposed)
  98641. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98642. compilation = A.compileStringAsync1(source, options);
  98643. $self.addCompilation$1(compilation);
  98644. return compilation;
  98645. },
  98646. call$2($self, source) {
  98647. return this.call$3($self, source, null);
  98648. },
  98649. "call*": "call$3",
  98650. $requiredArgCount: 2,
  98651. $defaultValues() {
  98652. return [null];
  98653. },
  98654. $signature: 428
  98655. };
  98656. A.asyncCompilerClass__closure2.prototype = {
  98657. call$1($self) {
  98658. $self._disposed = true;
  98659. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  98660. },
  98661. $signature: 429
  98662. };
  98663. A.asyncCompilerClass___closure.prototype = {
  98664. call$0() {
  98665. var $async$goto = 0,
  98666. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  98667. $async$self = this, t1;
  98668. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98669. if ($async$errorCode === 1)
  98670. return A._asyncRethrow($async$result, $async$completer);
  98671. while (true)
  98672. switch ($async$goto) {
  98673. case 0:
  98674. // Function start
  98675. t1 = $async$self.self.compilations;
  98676. t1.close$0(0);
  98677. $async$goto = 2;
  98678. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  98679. case 2:
  98680. // returning from await.
  98681. // implicit return
  98682. return A._asyncReturn(null, $async$completer);
  98683. }
  98684. });
  98685. return A._asyncStartSync($async$call$0, $async$completer);
  98686. },
  98687. $signature: 2
  98688. };
  98689. A.initAsyncCompiler_closure.prototype = {
  98690. call$0() {
  98691. var $async$goto = 0,
  98692. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  98693. $async$returnValue;
  98694. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98695. if ($async$errorCode === 1)
  98696. return A._asyncRethrow($async$result, $async$completer);
  98697. while (true)
  98698. switch ($async$goto) {
  98699. case 0:
  98700. // Function start
  98701. $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));
  98702. // goto return
  98703. $async$goto = 1;
  98704. break;
  98705. case 1:
  98706. // return
  98707. return A._asyncReturn($async$returnValue, $async$completer);
  98708. }
  98709. });
  98710. return A._asyncStartSync($async$call$0, $async$completer);
  98711. },
  98712. $signature: 430
  98713. };
  98714. A.ComplexSassNumber0.prototype = {
  98715. get$numeratorUnits(_) {
  98716. return this._complex0$_numeratorUnits;
  98717. },
  98718. get$denominatorUnits(_) {
  98719. return this._complex0$_denominatorUnits;
  98720. },
  98721. get$hasUnits() {
  98722. return true;
  98723. },
  98724. get$hasComplexUnits() {
  98725. return true;
  98726. },
  98727. hasUnit$1(unit) {
  98728. return false;
  98729. },
  98730. compatibleWithUnit$1(unit) {
  98731. return false;
  98732. },
  98733. hasPossiblyCompatibleUnits$1(other) {
  98734. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  98735. },
  98736. withValue$1(value) {
  98737. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  98738. },
  98739. withSlash$2(numerator, denominator) {
  98740. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  98741. }
  98742. };
  98743. A.ComplexSelector0.prototype = {
  98744. get$specificity() {
  98745. var result, _this = this,
  98746. value = _this._complex$__ComplexSelector_specificity_FI;
  98747. if (value === $) {
  98748. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  98749. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98750. _this._complex$__ComplexSelector_specificity_FI = result;
  98751. value = result;
  98752. }
  98753. return value;
  98754. },
  98755. get$singleCompound() {
  98756. var _0_0, t1, _0_4, selector;
  98757. if (this.leadingCombinators.length !== 0)
  98758. return null;
  98759. _0_0 = this.components;
  98760. $label0$0: {
  98761. t1 = false;
  98762. if (_0_0.length === 1) {
  98763. _0_4 = _0_0[0];
  98764. selector = _0_4.selector;
  98765. t1 = _0_4.combinators.length <= 0;
  98766. } else
  98767. selector = null;
  98768. if (t1) {
  98769. t1 = selector;
  98770. break $label0$0;
  98771. }
  98772. t1 = null;
  98773. break $label0$0;
  98774. }
  98775. return t1;
  98776. },
  98777. accept$1$1(visitor) {
  98778. return visitor.visitComplexSelector$1(this);
  98779. },
  98780. accept$1(visitor) {
  98781. return this.accept$1$1(visitor, type$.dynamic);
  98782. },
  98783. isSuperselector$1(other) {
  98784. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  98785. },
  98786. withAdditionalCombinators$1(combinators) {
  98787. var _0_0, _0_1, t1, initial, last, _this = this;
  98788. if (combinators.length === 0)
  98789. return _this;
  98790. _0_0 = _this.components;
  98791. $label0$0: {
  98792. _0_1 = _0_0.length;
  98793. if (_0_1 >= 1) {
  98794. t1 = _0_1 - 1;
  98795. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  98796. last = _0_0[t1];
  98797. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  98798. t1.push(last.withAdditionalCombinators$1(combinators));
  98799. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  98800. break $label0$0;
  98801. }
  98802. if (_0_1 <= 0) {
  98803. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  98804. B.JSArray_methods.addAll$1(t1, combinators);
  98805. t1 = A.ComplexSelector$0(t1, B.List_empty16, _this.span, _this.lineBreak);
  98806. break $label0$0;
  98807. }
  98808. t1 = null;
  98809. }
  98810. return t1;
  98811. },
  98812. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  98813. var t2, _0_1, initial, last, _this = this,
  98814. t1 = child.leadingCombinators,
  98815. _0_0 = _this.components;
  98816. if (t1.length === 0) {
  98817. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  98818. B.JSArray_methods.addAll$1(t1, child.components);
  98819. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98820. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  98821. } else {
  98822. _0_1 = _0_0.length;
  98823. if (_0_1 >= 1) {
  98824. t2 = _0_1 - 1;
  98825. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  98826. last = _0_0[t2];
  98827. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  98828. t2.push(last.withAdditionalCombinators$1(t1));
  98829. B.JSArray_methods.addAll$1(t2, child.components);
  98830. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98831. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  98832. } else {
  98833. t2 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  98834. B.JSArray_methods.addAll$1(t2, t1);
  98835. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  98836. return A.ComplexSelector$0(t2, child.components, span, t1);
  98837. }
  98838. }
  98839. },
  98840. concatenate$2(child, span) {
  98841. return this.concatenate$3$forceLineBreak(child, span, false);
  98842. },
  98843. get$hashCode(_) {
  98844. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  98845. },
  98846. $eq(_, other) {
  98847. if (other == null)
  98848. return false;
  98849. 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);
  98850. }
  98851. };
  98852. A.ComplexSelector_specificity_closure0.prototype = {
  98853. call$2(sum, component) {
  98854. return sum + component.selector.get$specificity();
  98855. },
  98856. $signature: 431
  98857. };
  98858. A.ComplexSelectorComponent0.prototype = {
  98859. withAdditionalCombinators$1(combinators) {
  98860. var t1, t2, _this = this;
  98861. if (combinators.length === 0)
  98862. t1 = _this;
  98863. else {
  98864. t1 = type$.CssValue_Combinator_2;
  98865. t2 = A.List_List$of(_this.combinators, true, t1);
  98866. B.JSArray_methods.addAll$1(t2, combinators);
  98867. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  98868. }
  98869. return t1;
  98870. },
  98871. get$hashCode(_) {
  98872. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  98873. },
  98874. $eq(_, other) {
  98875. var t1;
  98876. if (other == null)
  98877. return false;
  98878. if (other instanceof A.ComplexSelectorComponent0) {
  98879. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  98880. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  98881. } else
  98882. t1 = false;
  98883. return t1;
  98884. },
  98885. toString$0(_) {
  98886. var t1 = this.combinators;
  98887. 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, "");
  98888. }
  98889. };
  98890. A.ComplexSelectorComponent_toString_closure0.prototype = {
  98891. call$1(combinator) {
  98892. return " " + combinator.toString$0(0);
  98893. },
  98894. $signature: 432
  98895. };
  98896. A.CompoundSelector0.prototype = {
  98897. get$specificity() {
  98898. var result, _this = this,
  98899. value = _this._compound$__CompoundSelector_specificity_FI;
  98900. if (value === $) {
  98901. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  98902. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98903. _this._compound$__CompoundSelector_specificity_FI = result;
  98904. value = result;
  98905. }
  98906. return value;
  98907. },
  98908. get$hasComplicatedSuperselectorSemantics() {
  98909. var result, _this = this,
  98910. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  98911. if (value === $) {
  98912. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  98913. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  98914. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  98915. value = result;
  98916. }
  98917. return value;
  98918. },
  98919. accept$1$1(visitor) {
  98920. return visitor.visitCompoundSelector$1(this);
  98921. },
  98922. accept$1(visitor) {
  98923. return this.accept$1$1(visitor, type$.dynamic);
  98924. },
  98925. get$hashCode(_) {
  98926. return B.C_ListEquality0.hash$1(this.components);
  98927. },
  98928. $eq(_, other) {
  98929. if (other == null)
  98930. return false;
  98931. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  98932. }
  98933. };
  98934. A.CompoundSelector_specificity_closure0.prototype = {
  98935. call$2(sum, component) {
  98936. return sum + component.get$specificity();
  98937. },
  98938. $signature: 433
  98939. };
  98940. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  98941. call$1(component) {
  98942. return component.get$hasComplicatedSuperselectorSemantics();
  98943. },
  98944. $signature: 13
  98945. };
  98946. A.Configuration0.prototype = {
  98947. throughForward$1($forward) {
  98948. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  98949. newValues = this._configuration0$_values;
  98950. if (newValues.get$isEmpty(newValues))
  98951. return B.Configuration_Map_empty_null0;
  98952. _0_0 = $forward.prefix;
  98953. if (_0_0 != null)
  98954. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  98955. _1_0 = $forward.shownVariables;
  98956. if (_1_0 != null)
  98957. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  98958. else {
  98959. _2_0 = $forward.hiddenVariables;
  98960. if (_2_0 != null) {
  98961. t1 = _2_0._base.get$isNotEmpty(0);
  98962. hiddenVariables = _2_0;
  98963. } else {
  98964. hiddenVariables = null;
  98965. t1 = false;
  98966. }
  98967. if (t1)
  98968. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  98969. }
  98970. return this._configuration0$_withValues$1(newValues);
  98971. },
  98972. _configuration0$_withValues$1(values) {
  98973. var t1 = this._configuration0$__originalConfiguration;
  98974. return new A.Configuration0(values, t1 == null ? this : t1);
  98975. },
  98976. toString$0(_) {
  98977. var t2, t3,
  98978. t1 = A._setArrayType([], type$.JSArray_String);
  98979. 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();) {
  98980. t3 = t2.get$current(t2);
  98981. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  98982. }
  98983. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  98984. }
  98985. };
  98986. A.ExplicitConfiguration0.prototype = {
  98987. _configuration0$_withValues$1(values) {
  98988. var t1 = this._configuration0$__originalConfiguration;
  98989. if (t1 == null)
  98990. t1 = this;
  98991. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  98992. }
  98993. };
  98994. A.ConfiguredValue0.prototype = {
  98995. toString$0(_) {
  98996. return this.value.toString$0(0);
  98997. }
  98998. };
  98999. A.ConfiguredVariable0.prototype = {
  99000. toString$0(_) {
  99001. var t1 = this.expression.toString$0(0),
  99002. t2 = this.isGuarded ? " !default" : "";
  99003. return "$" + this.name + ": " + t1 + t2;
  99004. },
  99005. $isAstNode0: 1,
  99006. $isSassNode: 1,
  99007. get$span(receiver) {
  99008. return this.span;
  99009. }
  99010. };
  99011. A.ContentBlock0.prototype = {
  99012. accept$1$1(visitor) {
  99013. return visitor.visitContentBlock$1(0, this);
  99014. },
  99015. accept$1(visitor) {
  99016. return this.accept$1$1(visitor, type$.dynamic);
  99017. },
  99018. toString$0(_) {
  99019. var t2,
  99020. t1 = this.parameters;
  99021. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99022. t2 = this.children;
  99023. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  99024. }
  99025. };
  99026. A.ContentRule0.prototype = {
  99027. accept$1$1(visitor) {
  99028. return visitor.visitContentRule$1(0, this);
  99029. },
  99030. accept$1(visitor) {
  99031. return this.accept$1$1(visitor, type$.dynamic);
  99032. },
  99033. toString$0(_) {
  99034. var t1 = this.$arguments;
  99035. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99036. },
  99037. get$span(receiver) {
  99038. return this.span;
  99039. }
  99040. };
  99041. A._disallowedFunctionNames_closure0.prototype = {
  99042. call$1($function) {
  99043. return $function.name;
  99044. },
  99045. $signature: 434
  99046. };
  99047. A.CssParser0.prototype = {
  99048. get$plainCss() {
  99049. return true;
  99050. },
  99051. silentComment$0() {
  99052. var t1, t2, _this = this;
  99053. if (_this._stylesheet0$_inExpression)
  99054. return false;
  99055. t1 = _this.scanner;
  99056. t2 = t1._string_scanner$_position;
  99057. _this.super$Parser$silentComment0();
  99058. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99059. },
  99060. atRule$2$root(child, root) {
  99061. var $name, _0_0, _this = this,
  99062. t1 = _this.scanner,
  99063. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99064. t1.expectChar$1(64);
  99065. $name = _this.interpolatedIdentifier$0();
  99066. _this.whitespace$1$consumeNewlines(true);
  99067. _0_0 = $name.get$asPlain();
  99068. $label0$0: {
  99069. 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)
  99070. _this._css$_forbiddenAtRule$1(start);
  99071. if ("import" === _0_0) {
  99072. t1 = _this._css$_cssImportRule$1(start);
  99073. break $label0$0;
  99074. }
  99075. if ("media" === _0_0) {
  99076. t1 = _this.mediaRule$1(start);
  99077. break $label0$0;
  99078. }
  99079. if ("-moz-document" === _0_0) {
  99080. t1 = _this.mozDocumentRule$2(start, $name);
  99081. break $label0$0;
  99082. }
  99083. if ("supports" === _0_0) {
  99084. t1 = _this.supportsRule$1(start);
  99085. break $label0$0;
  99086. }
  99087. t1 = _this.unknownAtRule$2(start, $name);
  99088. break $label0$0;
  99089. }
  99090. return t1;
  99091. },
  99092. _css$_forbiddenAtRule$1(start) {
  99093. this.almostAnyValue$0();
  99094. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  99095. },
  99096. _css$_cssImportRule$1(start) {
  99097. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this, _null = null,
  99098. t1 = _this.scanner,
  99099. t2 = t1._string_scanner$_position,
  99100. _1_0 = t1.peekChar$0();
  99101. $label1$1: {
  99102. if (117 === _1_0 || 85 === _1_0) {
  99103. _0_0 = _this.dynamicUrl$0();
  99104. $label0$0: {
  99105. if (_0_0 instanceof A.StringExpression0) {
  99106. t3 = _0_0.text;
  99107. break $label0$0;
  99108. }
  99109. string = _null;
  99110. t3 = false;
  99111. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99112. $name = _0_0.name;
  99113. _0_3 = _0_0.$arguments;
  99114. _0_4 = _0_3.positional;
  99115. t4 = _0_4;
  99116. if (t4.length === 1) {
  99117. _0_8 = _0_4[0];
  99118. t4 = _0_8;
  99119. if (t4 instanceof A.StringExpression0) {
  99120. type$.StringExpression_2._as(_0_8);
  99121. t4 = _0_3.named;
  99122. if (t4.get$isEmpty(t4))
  99123. if (_0_3.rest == null)
  99124. t3 = _0_3.keywordRest == null;
  99125. string = _0_8;
  99126. }
  99127. }
  99128. } else
  99129. $name = _null;
  99130. if (t3) {
  99131. t3 = new A.StringBuffer("");
  99132. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99133. t4.addInterpolation$1($name);
  99134. t5 = A.Primitives_stringFromCharCode(40);
  99135. t3._contents += t5;
  99136. t4.addInterpolation$1(string.asInterpolation$0());
  99137. t5 = A.Primitives_stringFromCharCode(41);
  99138. t3._contents += t5;
  99139. t4 = t4.interpolation$1(_0_0.span);
  99140. t3 = t4;
  99141. break $label0$0;
  99142. }
  99143. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99144. }
  99145. break $label1$1;
  99146. }
  99147. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99148. break $label1$1;
  99149. }
  99150. _this.whitespace$1$consumeNewlines(true);
  99151. modifiers = _this.tryImportModifiers$0();
  99152. _this.expectStatementSeparator$1("@import rule");
  99153. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99154. t1 = t1.spanFrom$1(start);
  99155. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99156. },
  99157. parentheses$0() {
  99158. var expression,
  99159. t1 = this.scanner,
  99160. t2 = t1._string_scanner$_position;
  99161. t1.expectChar$1(40);
  99162. this.whitespace$1$consumeNewlines(true);
  99163. expression = this.expressionUntilComma$0();
  99164. t1.expectChar$1(41);
  99165. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99166. },
  99167. identifierLike$0() {
  99168. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99169. t1 = _this.scanner,
  99170. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99171. identifier = _this.interpolatedIdentifier$0(),
  99172. plain = identifier.get$asPlain(),
  99173. lower = plain.toLowerCase(),
  99174. _0_0 = _this.trySpecialFunction$2(lower, start);
  99175. if (_0_0 != null)
  99176. return _0_0;
  99177. t2 = t1._string_scanner$_position;
  99178. if (t1.scanChar$1(46))
  99179. return _this.namespacedExpression$2(plain, start);
  99180. if (!t1.scanChar$1(40))
  99181. return new A.StringExpression0(identifier, false);
  99182. allowEmptySecondArg = lower === "var";
  99183. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  99184. if (!t1.scanChar$1(41)) {
  99185. do {
  99186. _this.whitespace$1$consumeNewlines(true);
  99187. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  99188. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  99189. t4 = t3.offset;
  99190. t4 = A._FileSpan$(t3.file, t4, t4);
  99191. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  99192. break;
  99193. }
  99194. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  99195. _this.whitespace$1$consumeNewlines(true);
  99196. } while (t1.scanChar$1(44));
  99197. t1.expectChar$1(41);
  99198. }
  99199. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  99200. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  99201. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99202. t3 = type$.Expression_2;
  99203. t4 = A.List_List$unmodifiable($arguments, t3);
  99204. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  99205. t1 = t1.spanFrom$1(start);
  99206. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t4, t3, null, null, t2), t1);
  99207. },
  99208. namespacedExpression$2(namespace, start) {
  99209. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  99210. this.error$2(0, string$.Modulen, expression.get$span(expression));
  99211. }
  99212. };
  99213. A.DebugRule0.prototype = {
  99214. accept$1$1(visitor) {
  99215. return visitor.visitDebugRule$1(0, this);
  99216. },
  99217. accept$1(visitor) {
  99218. return this.accept$1$1(visitor, type$.dynamic);
  99219. },
  99220. toString$0(_) {
  99221. return "@debug " + this.expression.toString$0(0) + ";";
  99222. },
  99223. get$span(receiver) {
  99224. return this.span;
  99225. }
  99226. };
  99227. A.ModifiableCssDeclaration0.prototype = {
  99228. accept$1$1(visitor) {
  99229. return visitor.visitCssDeclaration$1(this);
  99230. },
  99231. accept$1(visitor) {
  99232. return this.accept$1$1(visitor, type$.dynamic);
  99233. },
  99234. toString$0(_) {
  99235. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  99236. },
  99237. get$span(receiver) {
  99238. return this.span;
  99239. }
  99240. };
  99241. A.Declaration0.prototype = {
  99242. accept$1$1(visitor) {
  99243. return visitor.visitDeclaration$1(0, this);
  99244. },
  99245. accept$1(visitor) {
  99246. return this.accept$1$1(visitor, type$.dynamic);
  99247. },
  99248. toString$0(_) {
  99249. var t3, _0_0,
  99250. buffer = new A.StringBuffer(""),
  99251. t1 = this.name,
  99252. t2 = "" + t1.toString$0(0);
  99253. buffer._contents = t2;
  99254. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  99255. t3 = this.value;
  99256. if (t3 != null) {
  99257. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  99258. buffer._contents = t1 + t3.toString$0(0);
  99259. }
  99260. _0_0 = this.children;
  99261. if (_0_0 != null)
  99262. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  99263. else
  99264. return buffer.toString$0(0) + ";";
  99265. },
  99266. get$span(receiver) {
  99267. return this.span;
  99268. }
  99269. };
  99270. A.SupportsDeclaration0.prototype = {
  99271. get$isCustomProperty() {
  99272. var t1,
  99273. _0_0 = this.name;
  99274. $label0$0: {
  99275. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  99276. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  99277. break $label0$0;
  99278. }
  99279. t1 = false;
  99280. break $label0$0;
  99281. }
  99282. return t1;
  99283. },
  99284. toInterpolation$0() {
  99285. var visitor, _1_0, _null = null,
  99286. t1 = new A.StringBuffer(""),
  99287. t2 = type$.JSArray_Object,
  99288. t3 = type$.JSArray_nullable_FileSpan,
  99289. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  99290. t4 = this.span,
  99291. t5 = this.name,
  99292. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  99293. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  99294. t1._contents += t6;
  99295. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  99296. buffer.addInterpolation$1(t5.text);
  99297. else
  99298. buffer.add$2(0, t5, t5.get$span(t5));
  99299. t6 = this.value;
  99300. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  99301. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  99302. t1._contents += t5;
  99303. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  99304. t6.accept$1(visitor);
  99305. t3 = visitor.buffer;
  99306. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  99307. if (_1_0 != null)
  99308. buffer.addInterpolation$1(_1_0);
  99309. else
  99310. buffer.add$2(0, t6, t6.get$span(t6));
  99311. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  99312. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  99313. t1._contents += t2;
  99314. return buffer.interpolation$1(t4);
  99315. },
  99316. withSpan$1(span) {
  99317. return new A.SupportsDeclaration0(this.name, this.value, span);
  99318. },
  99319. toString$0(_) {
  99320. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  99321. },
  99322. $isAstNode0: 1,
  99323. $isSassNode: 1,
  99324. $isSupportsCondition: 1,
  99325. get$span(receiver) {
  99326. return this.span;
  99327. }
  99328. };
  99329. A.Deprecation0.prototype = {
  99330. _enumToString$0() {
  99331. return "Deprecation." + this._name;
  99332. },
  99333. get$deprecatedIn(_) {
  99334. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  99335. },
  99336. get$obsoleteIn(_) {
  99337. return null;
  99338. },
  99339. toString$0(_) {
  99340. return this.id;
  99341. }
  99342. };
  99343. A.Deprecation_fromId_closure0.prototype = {
  99344. call$1(deprecation) {
  99345. return deprecation.id === this.id;
  99346. },
  99347. $signature: 435
  99348. };
  99349. A.DeprecationProcessingLogger0.prototype = {
  99350. validate$0() {
  99351. var t1, t2, t3, t4, t5, _this = this, _null = null;
  99352. for (t1 = _this.fatalDeprecations, t1 = A._LinkedHashSetIterator$(t1, t1._modifications, A._instanceType(t1)._precomputed1), t2 = _this.silenceDeprecations, t3 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99353. t4 = t1._collection$_current;
  99354. if (t4 == null)
  99355. t4 = t3._as(t4);
  99356. t5 = t2.contains$1(0, t4);
  99357. if (t5) {
  99358. t4 = t4.toString$0(0);
  99359. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  99360. continue;
  99361. }
  99362. }
  99363. for (t1 = A._LinkedHashSetIterator$(t2, t2._modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  99364. t4 = t1._collection$_current;
  99365. if (B.Deprecation_ZVM === (t4 == null ? t2._as(t4) : t4)) {
  99366. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  99367. continue;
  99368. }
  99369. }
  99370. for (t1 = A._LinkedHashSetIterator$(t3, t3._modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99371. t3 = t1._collection$_current;
  99372. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  99373. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  99374. }
  99375. },
  99376. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  99377. if (deprecation != null)
  99378. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  99379. else
  99380. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  99381. },
  99382. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  99383. var _0_3_isSet, _0_3, t1, span0, t2, count, _this = this, _null = null;
  99384. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  99385. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  99386. $label0$0: {
  99387. _0_3_isSet = span != null;
  99388. _0_3 = _null;
  99389. t1 = false;
  99390. if (_0_3_isSet) {
  99391. span0 = span == null ? type$.FileSpan._as(span) : span;
  99392. t1 = trace != null;
  99393. _0_3 = trace;
  99394. } else
  99395. span0 = _null;
  99396. if (t1) {
  99397. if (_0_3_isSet)
  99398. trace = _0_3;
  99399. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  99400. break $label0$0;
  99401. }
  99402. t1 = false;
  99403. if (span != null)
  99404. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  99405. else
  99406. span = _null;
  99407. if (t1) {
  99408. t1 = A.SassException$0(message, span, _null);
  99409. break $label0$0;
  99410. }
  99411. t1 = A.SassScriptException$0(message, _null);
  99412. break $label0$0;
  99413. }
  99414. throw A.wrapException(t1);
  99415. }
  99416. if (_this.silenceDeprecations.contains$1(0, deprecation))
  99417. return;
  99418. if (_this.limitRepetition) {
  99419. t1 = _this._deprecation_processing$_warningCounts;
  99420. t2 = t1.$index(0, deprecation);
  99421. count = (t2 == null ? 0 : t2) + 1;
  99422. t1.$indexSet(0, deprecation, count);
  99423. if (count > 5)
  99424. return;
  99425. }
  99426. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  99427. },
  99428. debug$2(_, message, span) {
  99429. return this._deprecation_processing$_inner.debug$2(0, message, span);
  99430. },
  99431. summarize$1$js(js) {
  99432. var t1 = this._deprecation_processing$_warningCounts,
  99433. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  99434. 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>")));
  99435. if (total > 0) {
  99436. t1 = js ? "" : string$.x0aRun_i;
  99437. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  99438. }
  99439. }
  99440. };
  99441. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  99442. call$1(count) {
  99443. return count > 5;
  99444. },
  99445. $signature: 50
  99446. };
  99447. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  99448. call$1(count) {
  99449. return count - 5;
  99450. },
  99451. $signature: 170
  99452. };
  99453. A.Deprecation1.prototype = {};
  99454. A.deprecations_closure.prototype = {
  99455. call$0() {
  99456. var _0_8_isSet, _0_8, t1,
  99457. _0_0 = this.deprecation;
  99458. $label0$0: {
  99459. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  99460. if (_0_8_isSet) {
  99461. _0_8 = _0_0.get$obsoleteIn(0) == null;
  99462. t1 = _0_8;
  99463. } else {
  99464. _0_8 = null;
  99465. t1 = false;
  99466. }
  99467. if (t1) {
  99468. t1 = "user";
  99469. break $label0$0;
  99470. }
  99471. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  99472. t1 = "active";
  99473. break $label0$0;
  99474. }
  99475. t1 = "obsolete";
  99476. break $label0$0;
  99477. }
  99478. return t1;
  99479. },
  99480. $signature: 32
  99481. };
  99482. A.parseDeprecations_closure.prototype = {
  99483. call$0() {
  99484. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  99485. },
  99486. $call$body$parseDeprecations_closure() {
  99487. var $async$self = this;
  99488. return function() {
  99489. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  99490. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  99491. if ($async$errorCode === 1) {
  99492. $async$errorStack.push($async$result);
  99493. $async$goto = $async$handler;
  99494. }
  99495. while (true)
  99496. switch ($async$goto) {
  99497. case 0:
  99498. // Function start
  99499. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  99500. case 2:
  99501. // for condition
  99502. if (!t1.moveNext$0()) {
  99503. // goto after for
  99504. $async$goto = 3;
  99505. break;
  99506. }
  99507. item = t1.get$current(t1);
  99508. t5 = typeof item == "string";
  99509. id = t5 ? item : null;
  99510. $async$goto = t5 ? 4 : 5;
  99511. break;
  99512. case 4:
  99513. // then
  99514. deprecation = A.Deprecation_fromId0(id);
  99515. $async$goto = deprecation == null ? 6 : 8;
  99516. break;
  99517. case 6:
  99518. // then
  99519. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99520. // goto join
  99521. $async$goto = 7;
  99522. break;
  99523. case 8:
  99524. // else
  99525. $async$goto = 9;
  99526. return $async$iterator._async$_current = deprecation, 1;
  99527. case 9:
  99528. // after yield
  99529. case 7:
  99530. // join
  99531. // goto for condition
  99532. $async$goto = 2;
  99533. break;
  99534. case 5:
  99535. // join
  99536. t5 = t2._is(item);
  99537. id = t5 ? J.get$id$x(item) : null;
  99538. $async$goto = t5 ? 10 : 11;
  99539. break;
  99540. case 10:
  99541. // then
  99542. deprecation = A.Deprecation_fromId0(id);
  99543. $async$goto = deprecation == null ? 12 : 14;
  99544. break;
  99545. case 12:
  99546. // then
  99547. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99548. // goto join
  99549. $async$goto = 13;
  99550. break;
  99551. case 14:
  99552. // else
  99553. $async$goto = 15;
  99554. return $async$iterator._async$_current = deprecation, 1;
  99555. case 15:
  99556. // after yield
  99557. case 13:
  99558. // join
  99559. // goto for condition
  99560. $async$goto = 2;
  99561. break;
  99562. case 11:
  99563. // join
  99564. if (item instanceof A.Version) {
  99565. t5 = t3;
  99566. version = item;
  99567. } else {
  99568. version = null;
  99569. t5 = false;
  99570. }
  99571. $async$goto = t5 ? 16 : 17;
  99572. break;
  99573. case 16:
  99574. // then
  99575. $async$goto = 18;
  99576. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  99577. case 18:
  99578. // after yield
  99579. case 17:
  99580. // join
  99581. // goto for condition
  99582. $async$goto = 2;
  99583. break;
  99584. case 3:
  99585. // after for
  99586. // implicit return
  99587. return 0;
  99588. case 1:
  99589. // rethrow
  99590. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  99591. }
  99592. };
  99593. };
  99594. },
  99595. $signature: 436
  99596. };
  99597. A.versionClass_closure.prototype = {
  99598. call$0() {
  99599. var t1 = type$.JSClass,
  99600. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  99601. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  99602. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  99603. return jsClass;
  99604. },
  99605. $signature: 15
  99606. };
  99607. A.versionClass__closure.prototype = {
  99608. call$4($self, major, minor, patch) {
  99609. return A.Version_Version(major, minor, patch, null);
  99610. },
  99611. "call*": "call$4",
  99612. $requiredArgCount: 4,
  99613. $signature: 437
  99614. };
  99615. A.versionClass__closure0.prototype = {
  99616. call$1(version) {
  99617. var v = A.Version_Version$parse(version);
  99618. if (v.preRelease.length !== 0 || v.build.length !== 0)
  99619. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  99620. return v;
  99621. },
  99622. $signature: 151
  99623. };
  99624. A.DisplayP3ColorSpace0.prototype = {
  99625. get$isBoundedInternal() {
  99626. return true;
  99627. },
  99628. toLinear$1(channel) {
  99629. return A.srgbAndDisplayP3ToLinear0(channel);
  99630. },
  99631. fromLinear$1(channel) {
  99632. return A.srgbAndDisplayP3FromLinear0(channel);
  99633. },
  99634. transformationMatrix$1(dest) {
  99635. var t1;
  99636. $label0$0: {
  99637. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  99638. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  99639. break $label0$0;
  99640. }
  99641. if (B.A98RgbColorSpace_lf20 === dest) {
  99642. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  99643. break $label0$0;
  99644. }
  99645. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  99646. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  99647. break $label0$0;
  99648. }
  99649. if (B.Rec2020ColorSpace_6oo0 === dest) {
  99650. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  99651. break $label0$0;
  99652. }
  99653. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  99654. t1 = $.$get$linearDisplayP3ToXyzD650();
  99655. break $label0$0;
  99656. }
  99657. if (B.XyzD50ColorSpace_2OB0 === dest) {
  99658. t1 = $.$get$linearDisplayP3ToXyzD500();
  99659. break $label0$0;
  99660. }
  99661. if (B.LmsColorSpace_Os30 === dest) {
  99662. t1 = $.$get$linearDisplayP3ToLms0();
  99663. break $label0$0;
  99664. }
  99665. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  99666. break $label0$0;
  99667. }
  99668. return t1;
  99669. }
  99670. };
  99671. A.DynamicImport0.prototype = {
  99672. toString$0(_) {
  99673. return A.StringExpression_quoteText0(this.urlString);
  99674. },
  99675. $isImport0: 1,
  99676. $isAstNode0: 1,
  99677. $isSassNode: 1,
  99678. get$span(receiver) {
  99679. return this.span;
  99680. }
  99681. };
  99682. A.EachRule0.prototype = {
  99683. accept$1$1(visitor) {
  99684. return visitor.visitEachRule$1(0, this);
  99685. },
  99686. accept$1(visitor) {
  99687. return this.accept$1$1(visitor, type$.dynamic);
  99688. },
  99689. toString$0(_) {
  99690. var t1 = this.variables,
  99691. t2 = this.children;
  99692. 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, " ") + "}";
  99693. },
  99694. get$span(receiver) {
  99695. return this.span;
  99696. }
  99697. };
  99698. A.EachRule_toString_closure0.prototype = {
  99699. call$1(variable) {
  99700. return "$" + variable;
  99701. },
  99702. $signature: 6
  99703. };
  99704. A.EmptyExtensionStore0.prototype = {
  99705. get$_extension_store$_extensions() {
  99706. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  99707. },
  99708. get$_extension_store$_sourceSpecificity() {
  99709. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  99710. },
  99711. get$isEmpty(_) {
  99712. return true;
  99713. },
  99714. get$simpleSelectors() {
  99715. return B.C_EmptyUnmodifiableSet0;
  99716. },
  99717. extensionsWhereTarget$1(callback) {
  99718. return B.List_empty18;
  99719. },
  99720. addSelector$2(selector, mediaContext) {
  99721. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  99722. },
  99723. addExtension$4(extender, target, extend, mediaContext) {
  99724. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  99725. },
  99726. addExtensions$1(extenders) {
  99727. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  99728. },
  99729. clone$0() {
  99730. return B.Record2_EmptyExtensionStore_Map_empty0;
  99731. },
  99732. $isExtensionStore0: 1
  99733. };
  99734. A.Environment0.prototype = {
  99735. closure$0() {
  99736. var t4, t5, t6, _this = this,
  99737. t1 = _this._environment0$_forwardedModules,
  99738. t2 = _this._environment0$_nestedForwardedModules,
  99739. t3 = _this._environment0$_variables;
  99740. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  99741. t4 = _this._environment0$_variableNodes;
  99742. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99743. t5 = _this._environment0$_functions;
  99744. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  99745. t6 = _this._environment0$_mixins;
  99746. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  99747. 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);
  99748. },
  99749. forwardModule$2(module, rule) {
  99750. var view, t1, t2, _this = this,
  99751. forwardedModules = _this._environment0$_forwardedModules;
  99752. if (forwardedModules == null)
  99753. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99754. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  99755. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules.__js_helper$_modifications, forwardedModules.__js_helper$_first); t1.moveNext$0();) {
  99756. t2 = t1.__js_helper$_current;
  99757. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  99758. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  99759. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  99760. }
  99761. _this._environment0$_allModules.push(module);
  99762. forwardedModules.$indexSet(0, view, rule);
  99763. },
  99764. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  99765. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  99766. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  99767. larger = oldMembers;
  99768. smaller = newMembers;
  99769. } else {
  99770. larger = newMembers;
  99771. smaller = oldMembers;
  99772. }
  99773. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  99774. t4 = t2.get$current(t2);
  99775. $name = t4._0;
  99776. small = t4._1;
  99777. large = larger.$index(0, $name);
  99778. if (large == null)
  99779. continue;
  99780. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  99781. continue;
  99782. if (t3)
  99783. $name = "$" + $name;
  99784. t2 = this._environment0$_forwardedModules;
  99785. if (t2 == null)
  99786. span = null;
  99787. else {
  99788. t2 = t2.$index(0, oldModule);
  99789. span = t2 == null ? null : t2.get$span(t2);
  99790. }
  99791. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  99792. if (span != null)
  99793. t2.$indexSet(0, span, "original @forward");
  99794. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  99795. }
  99796. },
  99797. importForwards$1(module) {
  99798. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  99799. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  99800. if (forwarded == null)
  99801. return;
  99802. forwardedModules = _this._environment0$_forwardedModules;
  99803. if (forwardedModules != null) {
  99804. t1 = type$.Module_Callable_2;
  99805. t2 = type$.AstNode_2;
  99806. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  99807. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  99808. t4 = t1.get$current(t1);
  99809. module = t4._0;
  99810. node = t4._1;
  99811. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  99812. t3.$indexSet(0, module, node);
  99813. }
  99814. forwarded = t3;
  99815. } else
  99816. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99817. t1 = type$.String;
  99818. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99819. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t3.moveNext$0();)
  99820. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  99821. t2.add$1(0, t4.get$current(t4));
  99822. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99823. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();) {
  99824. t5 = t4.__js_helper$_current;
  99825. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99826. t3.add$1(0, t5.get$current(t5));
  99827. }
  99828. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99829. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded.__js_helper$_modifications, forwarded.__js_helper$_first); t4.moveNext$0();)
  99830. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  99831. t1.add$1(0, t5.get$current(t5));
  99832. t4 = _this._environment0$_variables;
  99833. t5 = t4.length;
  99834. if (t5 === 1) {
  99835. 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) {
  99836. t11 = t8[_i];
  99837. module = t11._0;
  99838. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  99839. if (shadowed != null) {
  99840. t5.remove$1(0, module);
  99841. t12 = shadowed.variables;
  99842. t13 = false;
  99843. if (t12.get$isEmpty(t12)) {
  99844. t12 = shadowed.functions;
  99845. if (t12.get$isEmpty(t12)) {
  99846. t12 = shadowed.mixins;
  99847. if (t12.get$isEmpty(t12)) {
  99848. t12 = shadowed._shadowed_view0$_inner;
  99849. t12 = t12.get$css(t12);
  99850. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  99851. } else
  99852. t12 = t13;
  99853. } else
  99854. t12 = t13;
  99855. } else
  99856. t12 = t13;
  99857. if (!t12)
  99858. t5.$indexSet(0, shadowed, t11._1);
  99859. }
  99860. }
  99861. 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) {
  99862. t8 = t6[_i];
  99863. module = t8._0;
  99864. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  99865. if (shadowed != null) {
  99866. forwardedModules.remove$1(0, module);
  99867. t9 = shadowed.variables;
  99868. t11 = false;
  99869. if (t9.get$isEmpty(t9)) {
  99870. t9 = shadowed.functions;
  99871. if (t9.get$isEmpty(t9)) {
  99872. t9 = shadowed.mixins;
  99873. if (t9.get$isEmpty(t9)) {
  99874. t9 = shadowed._shadowed_view0$_inner;
  99875. t9 = t9.get$css(t9);
  99876. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  99877. } else
  99878. t9 = t11;
  99879. } else
  99880. t9 = t11;
  99881. } else
  99882. t9 = t11;
  99883. if (!t9)
  99884. forwardedModules.$indexSet(0, shadowed, t8._1);
  99885. }
  99886. }
  99887. t5.addAll$1(0, forwarded);
  99888. forwardedModules.addAll$1(0, forwarded);
  99889. } else {
  99890. t6 = _this._environment0$_nestedForwardedModules;
  99891. if (t6 == null) {
  99892. _length = t5 - 1;
  99893. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  99894. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  99895. _list[_i] = A._setArrayType([], t5);
  99896. _this._environment0$_nestedForwardedModules = _list;
  99897. t5 = _list;
  99898. } else
  99899. t5 = t6;
  99900. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  99901. }
  99902. 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();) {
  99903. t8 = t2._collection$_current;
  99904. if (t8 == null)
  99905. t8 = t7._as(t8);
  99906. t5.remove$1(0, t8);
  99907. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  99908. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  99909. }
  99910. 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();) {
  99911. t6 = t2._collection$_current;
  99912. if (t6 == null)
  99913. t6 = t5._as(t6);
  99914. t3.remove$1(0, t6);
  99915. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  99916. }
  99917. 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();) {
  99918. t5 = t1._collection$_current;
  99919. if (t5 == null)
  99920. t5 = t4._as(t5);
  99921. t2.remove$1(0, t5);
  99922. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  99923. }
  99924. },
  99925. getVariable$2$namespace($name, namespace) {
  99926. var t1, _0_0, _1_0, _this = this;
  99927. if (namespace != null)
  99928. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  99929. if (_this._environment0$_lastVariableName === $name) {
  99930. t1 = _this._environment0$_lastVariableIndex;
  99931. t1.toString;
  99932. t1 = _this._environment0$_variables[t1].$index(0, $name);
  99933. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99934. }
  99935. t1 = _this._environment0$_variableIndices;
  99936. _0_0 = t1.$index(0, $name);
  99937. if (_0_0 != null) {
  99938. _this._environment0$_lastVariableName = $name;
  99939. _this._environment0$_lastVariableIndex = _0_0;
  99940. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  99941. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99942. } else {
  99943. _1_0 = _this._environment0$_variableIndex$1($name);
  99944. if (_1_0 != null) {
  99945. _this._environment0$_lastVariableName = $name;
  99946. _this._environment0$_lastVariableIndex = _1_0;
  99947. t1.$indexSet(0, $name, _1_0);
  99948. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  99949. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  99950. } else
  99951. return _this._environment0$_getVariableFromGlobalModule$1($name);
  99952. }
  99953. },
  99954. getVariable$1($name) {
  99955. return this.getVariable$2$namespace($name, null);
  99956. },
  99957. _environment0$_getVariableFromGlobalModule$1($name) {
  99958. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  99959. },
  99960. getVariableNode$2$namespace($name, namespace) {
  99961. var t1, _0_0, _1_0, _this = this;
  99962. if (namespace != null)
  99963. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  99964. if (_this._environment0$_lastVariableName === $name) {
  99965. t1 = _this._environment0$_lastVariableIndex;
  99966. t1.toString;
  99967. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  99968. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99969. }
  99970. t1 = _this._environment0$_variableIndices;
  99971. _0_0 = t1.$index(0, $name);
  99972. if (_0_0 != null) {
  99973. _this._environment0$_lastVariableName = $name;
  99974. _this._environment0$_lastVariableIndex = _0_0;
  99975. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  99976. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99977. } else {
  99978. _1_0 = _this._environment0$_variableIndex$1($name);
  99979. if (_1_0 != null) {
  99980. _this._environment0$_lastVariableName = $name;
  99981. _this._environment0$_lastVariableIndex = _1_0;
  99982. t1.$indexSet(0, $name, _1_0);
  99983. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  99984. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  99985. } else
  99986. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  99987. }
  99988. },
  99989. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  99990. var t1, t2, _0_0;
  99991. 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();) {
  99992. t1 = t2._currentIterator;
  99993. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  99994. if (_0_0 != null)
  99995. return _0_0;
  99996. }
  99997. return null;
  99998. },
  99999. globalVariableExists$2$namespace($name, namespace) {
  100000. if (namespace != null)
  100001. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  100002. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  100003. return true;
  100004. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100005. },
  100006. globalVariableExists$1($name) {
  100007. return this.globalVariableExists$2$namespace($name, null);
  100008. },
  100009. _environment0$_variableIndex$1($name) {
  100010. var t1, i;
  100011. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100012. if (t1[i].containsKey$1($name))
  100013. return i;
  100014. return null;
  100015. },
  100016. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100017. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100018. if (namespace != null) {
  100019. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100020. return;
  100021. }
  100022. if (global || _this._environment0$_variables.length === 1) {
  100023. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100024. t1 = _this._environment0$_variables;
  100025. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100026. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100027. if (moduleWithName != null) {
  100028. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100029. return;
  100030. }
  100031. }
  100032. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  100033. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  100034. return;
  100035. }
  100036. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100037. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100038. 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();) {
  100039. t3 = t2.__internal$_current;
  100040. 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();) {
  100041. t5 = t3.__internal$_current;
  100042. if (t5 == null)
  100043. t5 = t4._as(t5);
  100044. if (t5.get$variables().containsKey$1($name)) {
  100045. t5.setVariable$3($name, value, nodeWithSpan);
  100046. return;
  100047. }
  100048. }
  100049. }
  100050. if (_this._environment0$_lastVariableName === $name) {
  100051. t1 = _this._environment0$_lastVariableIndex;
  100052. t1.toString;
  100053. index = t1;
  100054. } else
  100055. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100056. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100057. index = _this._environment0$_variables.length - 1;
  100058. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100059. }
  100060. _this._environment0$_lastVariableName = $name;
  100061. _this._environment0$_lastVariableIndex = index;
  100062. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100063. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100064. },
  100065. setVariable$4$global($name, value, nodeWithSpan, global) {
  100066. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100067. },
  100068. setLocalVariable$3($name, value, nodeWithSpan) {
  100069. var index, _this = this,
  100070. t1 = _this._environment0$_variables,
  100071. t2 = t1.length;
  100072. _this._environment0$_lastVariableName = $name;
  100073. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100074. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100075. t1[index].$indexSet(0, $name, value);
  100076. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100077. },
  100078. getFunction$2$namespace($name, namespace) {
  100079. var t1, _0_0, _1_0, _this = this;
  100080. if (namespace != null) {
  100081. t1 = _this._environment0$_getModule$1(namespace);
  100082. return t1.get$functions(t1).$index(0, $name);
  100083. }
  100084. t1 = _this._environment0$_functionIndices;
  100085. _0_0 = t1.$index(0, $name);
  100086. if (_0_0 != null) {
  100087. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100088. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100089. } else {
  100090. _1_0 = _this._environment0$_functionIndex$1($name);
  100091. if (_1_0 != null) {
  100092. t1.$indexSet(0, $name, _1_0);
  100093. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100094. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100095. } else
  100096. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100097. }
  100098. },
  100099. getFunction$1($name) {
  100100. return this.getFunction$2$namespace($name, null);
  100101. },
  100102. _environment0$_getFunctionFromGlobalModule$1($name) {
  100103. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100104. },
  100105. _environment0$_functionIndex$1($name) {
  100106. var t1, i;
  100107. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100108. if (t1[i].containsKey$1($name))
  100109. return i;
  100110. return null;
  100111. },
  100112. getMixin$2$namespace($name, namespace) {
  100113. var t1, _0_0, _1_0, _this = this;
  100114. if (namespace != null)
  100115. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100116. t1 = _this._environment0$_mixinIndices;
  100117. _0_0 = t1.$index(0, $name);
  100118. if (_0_0 != null) {
  100119. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100120. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100121. } else {
  100122. _1_0 = _this._environment0$_mixinIndex$1($name);
  100123. if (_1_0 != null) {
  100124. t1.$indexSet(0, $name, _1_0);
  100125. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100126. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100127. } else
  100128. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100129. }
  100130. },
  100131. _environment0$_getMixinFromGlobalModule$1($name) {
  100132. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100133. },
  100134. _environment0$_mixinIndex$1($name) {
  100135. var t1, i;
  100136. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100137. if (t1[i].containsKey$1($name))
  100138. return i;
  100139. return null;
  100140. },
  100141. withContent$2($content, callback) {
  100142. var oldContent = this._environment0$_content;
  100143. this._environment0$_content = $content;
  100144. callback.call$0();
  100145. this._environment0$_content = oldContent;
  100146. },
  100147. asMixin$1(callback) {
  100148. var oldInMixin = this._environment0$_inMixin;
  100149. this._environment0$_inMixin = true;
  100150. callback.call$0();
  100151. this._environment0$_inMixin = oldInMixin;
  100152. },
  100153. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100154. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100155. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  100156. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  100157. _this._environment0$_inSemiGlobalScope = semiGlobal;
  100158. if (!when)
  100159. try {
  100160. t1 = callback.call$0();
  100161. return t1;
  100162. } finally {
  100163. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100164. }
  100165. t1 = _this._environment0$_variables;
  100166. t2 = type$.String;
  100167. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  100168. t3 = _this._environment0$_variableNodes;
  100169. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  100170. t4 = _this._environment0$_functions;
  100171. t5 = type$.Callable_2;
  100172. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100173. t6 = _this._environment0$_mixins;
  100174. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100175. t5 = _this._environment0$_nestedForwardedModules;
  100176. if (t5 != null)
  100177. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  100178. try {
  100179. t2 = callback.call$0();
  100180. return t2;
  100181. } finally {
  100182. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100183. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  100184. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  100185. $name = t1.get$current(t1);
  100186. t2.remove$1(0, $name);
  100187. }
  100188. B.JSArray_methods.removeLast$0(t3);
  100189. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  100190. name0 = t1.get$current(t1);
  100191. t2.remove$1(0, name0);
  100192. }
  100193. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  100194. name1 = t1.get$current(t1);
  100195. t2.remove$1(0, name1);
  100196. }
  100197. t1 = _this._environment0$_nestedForwardedModules;
  100198. if (t1 != null)
  100199. t1.pop();
  100200. }
  100201. },
  100202. scope$1$1(callback) {
  100203. return this.scope$1$3$semiGlobal$when(callback, false, true);
  100204. },
  100205. scope$1$2$when(callback, when) {
  100206. return this.scope$1$3$semiGlobal$when(callback, false, when);
  100207. },
  100208. scope$1$2$semiGlobal(callback, semiGlobal) {
  100209. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  100210. },
  100211. toImplicitConfiguration$0() {
  100212. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  100213. t1 = type$.String,
  100214. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  100215. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  100216. values = t2[i];
  100217. nodes = t4[i];
  100218. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  100219. t6 = t5.get$current(t5);
  100220. $name = t6._0;
  100221. value = t6._1;
  100222. t6 = nodes.$index(0, $name);
  100223. t6.toString;
  100224. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  100225. }
  100226. }
  100227. return new A.Configuration0(configuration, null);
  100228. },
  100229. toModule$3(css, preModuleComments, extensionStore) {
  100230. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  100231. },
  100232. toDummyModule$0() {
  100233. 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()));
  100234. },
  100235. _environment0$_getModule$1(namespace) {
  100236. var _0_0 = this._environment0$_modules.$index(0, namespace);
  100237. if (_0_0 != null)
  100238. return _0_0;
  100239. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  100240. },
  100241. _environment0$_fromOneModule$1$3($name, type, callback) {
  100242. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  100243. _0_0 = this._environment0$_nestedForwardedModules;
  100244. if (_0_0 != null)
  100245. 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();) {
  100246. t3 = t2.__internal$_current;
  100247. 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();) {
  100248. t5 = t3.__internal$_current;
  100249. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  100250. if (_1_0 != null)
  100251. return _1_0;
  100252. }
  100253. }
  100254. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1.__js_helper$_modifications, t1.__js_helper$_first); t1.moveNext$0();) {
  100255. _2_0 = callback.call$1(t1.__js_helper$_current);
  100256. if (_2_0 != null)
  100257. return _2_0;
  100258. }
  100259. 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();) {
  100260. t4 = t2.__js_helper$_current;
  100261. valueInModule = callback.call$1(t4);
  100262. if (valueInModule == null)
  100263. continue;
  100264. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  100265. if (identityFromModule.$eq(0, identity))
  100266. continue;
  100267. if (value != null) {
  100268. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100269. 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();) {
  100270. t1 = t3.get$current(t3);
  100271. module = t1._0;
  100272. node = t1._1;
  100273. if (callback.call$1(module) != null)
  100274. t2.$indexSet(0, node.get$span(node), t4);
  100275. }
  100276. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  100277. }
  100278. identity = identityFromModule;
  100279. value = valueInModule;
  100280. }
  100281. return value;
  100282. },
  100283. _environment0$_fromOneModule$3($name, type, callback) {
  100284. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  100285. }
  100286. };
  100287. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  100288. call$1(module) {
  100289. return module.get$variables().$index(0, this.name);
  100290. },
  100291. $signature: 440
  100292. };
  100293. A.Environment_setVariable_closure2.prototype = {
  100294. call$0() {
  100295. var t1 = this.$this;
  100296. t1._environment0$_lastVariableName = this.name;
  100297. return t1._environment0$_lastVariableIndex = 0;
  100298. },
  100299. $signature: 10
  100300. };
  100301. A.Environment_setVariable_closure3.prototype = {
  100302. call$1(module) {
  100303. return module.get$variables().containsKey$1(this.name) ? module : null;
  100304. },
  100305. $signature: 441
  100306. };
  100307. A.Environment_setVariable_closure4.prototype = {
  100308. call$0() {
  100309. var t1 = this.$this,
  100310. t2 = t1._environment0$_variableIndex$1(this.name);
  100311. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  100312. },
  100313. $signature: 10
  100314. };
  100315. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  100316. call$1(module) {
  100317. return module.get$functions(module).$index(0, this.name);
  100318. },
  100319. $signature: 146
  100320. };
  100321. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  100322. call$1(module) {
  100323. return module.get$mixins().$index(0, this.name);
  100324. },
  100325. $signature: 146
  100326. };
  100327. A.Environment_toModule_closure0.prototype = {
  100328. call$1(modules) {
  100329. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100330. },
  100331. $signature: 145
  100332. };
  100333. A.Environment_toDummyModule_closure0.prototype = {
  100334. call$1(modules) {
  100335. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100336. },
  100337. $signature: 145
  100338. };
  100339. A._EnvironmentModule1.prototype = {
  100340. get$url(_) {
  100341. var t1 = this.css;
  100342. return t1.get$span(t1).file.url;
  100343. },
  100344. setVariable$3($name, value, nodeWithSpan) {
  100345. var t1, t2,
  100346. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  100347. if (_0_0 != null) {
  100348. _0_0.setVariable$3($name, value, nodeWithSpan);
  100349. return;
  100350. }
  100351. t1 = this._environment0$_environment;
  100352. t2 = t1._environment0$_variables;
  100353. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  100354. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  100355. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  100356. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  100357. return;
  100358. },
  100359. variableIdentity$1($name) {
  100360. var module = this._environment0$_modulesByVariable.$index(0, $name);
  100361. return module == null ? this : module.variableIdentity$1($name);
  100362. },
  100363. cloneCss$0() {
  100364. var _0_0, _this = this;
  100365. if (!_this.transitivelyContainsCss)
  100366. return _this;
  100367. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  100368. 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);
  100369. },
  100370. toString$0(_) {
  100371. var t2,
  100372. t1 = this.css;
  100373. if (t1.get$span(t1).file.url == null)
  100374. t1 = "<unknown url>";
  100375. else {
  100376. t1 = t1.get$span(t1).file.url;
  100377. t2 = $.$get$context();
  100378. t1.toString;
  100379. t1 = t2.prettyUri$1(t1);
  100380. }
  100381. return t1;
  100382. },
  100383. $isModule1: 1,
  100384. get$upstream() {
  100385. return this.upstream;
  100386. },
  100387. get$variables() {
  100388. return this.variables;
  100389. },
  100390. get$variableNodes() {
  100391. return this.variableNodes;
  100392. },
  100393. get$functions(receiver) {
  100394. return this.functions;
  100395. },
  100396. get$mixins() {
  100397. return this.mixins;
  100398. },
  100399. get$extensionStore() {
  100400. return this.extensionStore;
  100401. },
  100402. get$css(receiver) {
  100403. return this.css;
  100404. },
  100405. get$preModuleComments() {
  100406. return this.preModuleComments;
  100407. },
  100408. get$transitivelyContainsCss() {
  100409. return this.transitivelyContainsCss;
  100410. },
  100411. get$transitivelyContainsExtensions() {
  100412. return this.transitivelyContainsExtensions;
  100413. }
  100414. };
  100415. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  100416. call$1(module) {
  100417. return module.get$variables();
  100418. },
  100419. $signature: 444
  100420. };
  100421. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  100422. call$1(module) {
  100423. return module.get$variableNodes();
  100424. },
  100425. $signature: 445
  100426. };
  100427. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  100428. call$1(module) {
  100429. return module.get$functions(module);
  100430. },
  100431. $signature: 144
  100432. };
  100433. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  100434. call$1(module) {
  100435. return module.get$mixins();
  100436. },
  100437. $signature: 144
  100438. };
  100439. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  100440. call$1(module) {
  100441. return module.get$transitivelyContainsCss();
  100442. },
  100443. $signature: 125
  100444. };
  100445. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  100446. call$1(module) {
  100447. return module.get$transitivelyContainsExtensions();
  100448. },
  100449. $signature: 125
  100450. };
  100451. A.ErrorRule0.prototype = {
  100452. accept$1$1(visitor) {
  100453. return visitor.visitErrorRule$1(0, this);
  100454. },
  100455. accept$1(visitor) {
  100456. return this.accept$1$1(visitor, type$.dynamic);
  100457. },
  100458. toString$0(_) {
  100459. return "@error " + this.expression.toString$0(0) + ";";
  100460. },
  100461. get$span(receiver) {
  100462. return this.span;
  100463. }
  100464. };
  100465. A._EvaluateVisitor1.prototype = {
  100466. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  100467. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  100468. _s20_ = "$name, $module: null",
  100469. _s9_ = "sass:meta",
  100470. _s7_ = "$module",
  100471. t1 = type$.JSArray_BuiltInCallable_2,
  100472. 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),
  100473. 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);
  100474. t1 = type$.BuiltInCallable_2;
  100475. t2 = A.List_List$of($.$get$moduleFunctions0(), true, t1);
  100476. B.JSArray_methods.addAll$1(t2, metaFunctions);
  100477. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  100478. 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) {
  100479. module = t1[_i];
  100480. t3.$indexSet(0, module.url, module);
  100481. }
  100482. t1 = type$.JSArray_Callable_2;
  100483. t2 = A._setArrayType([], t1);
  100484. B.JSArray_methods.addAll$1(t2, functions);
  100485. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  100486. t1 = A._setArrayType([], t1);
  100487. for (_i = 0; _i < 11; ++_i)
  100488. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  100489. B.JSArray_methods.addAll$1(t2, t1);
  100490. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100491. $function = t2[_i];
  100492. t4 = $function.get$name($function);
  100493. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  100494. }
  100495. },
  100496. run$2(_, importer, node) {
  100497. var error, stackTrace, t1, exception;
  100498. try {
  100499. t1 = type$.nullable_Object;
  100500. 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);
  100501. return t1;
  100502. } catch (exception) {
  100503. t1 = A.unwrapException(exception);
  100504. if (t1 instanceof A.SassException0) {
  100505. error = t1;
  100506. stackTrace = A.getTraceFromException(exception);
  100507. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  100508. } else
  100509. throw exception;
  100510. }
  100511. },
  100512. _evaluate0$_assertInModule$1$2(value, $name) {
  100513. if (value != null)
  100514. return value;
  100515. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  100516. },
  100517. _evaluate0$_assertInModule$2(value, $name) {
  100518. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  100519. },
  100520. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  100521. var t2, _this = this,
  100522. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  100523. t1 = {};
  100524. t1.builtInModule = null;
  100525. if (_0_0 != null) {
  100526. t1.builtInModule = _0_0;
  100527. if (configuration instanceof A.ExplicitConfiguration0) {
  100528. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  100529. t2 = configuration.nodeWithSpan;
  100530. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  100531. }
  100532. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  100533. return;
  100534. }
  100535. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  100536. },
  100537. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  100538. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  100539. },
  100540. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  100541. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  100542. },
  100543. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  100544. var currentConfiguration, t2, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  100545. url = stylesheet.span.file.url,
  100546. t1 = _this._evaluate0$_modules,
  100547. _0_0 = t1.$index(0, url);
  100548. if (_0_0 != null) {
  100549. t1 = configuration == null;
  100550. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  100551. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  100552. t3 = t2._configuration0$__originalConfiguration;
  100553. t2 = t3 == null ? t2 : t3;
  100554. t3 = currentConfiguration._configuration0$__originalConfiguration;
  100555. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  100556. if (namesInErrors) {
  100557. t2 = $.$get$context();
  100558. url.toString;
  100559. message = t2.prettyUri$1(url) + string$.x20was_a;
  100560. } else
  100561. message = string$.This_mw;
  100562. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  100563. existingSpan = t2 == null ? null : t2.get$span(t2);
  100564. if (t1) {
  100565. t1 = currentConfiguration.nodeWithSpan;
  100566. configurationSpan = t1.get$span(t1);
  100567. } else
  100568. configurationSpan = null;
  100569. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100570. if (existingSpan != null)
  100571. t1.$indexSet(0, existingSpan, "original load");
  100572. if (configurationSpan != null)
  100573. t1.$indexSet(0, configurationSpan, "configuration");
  100574. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  100575. }
  100576. return _0_0;
  100577. }
  100578. environment = A.Environment$0();
  100579. css = A._Cell$();
  100580. preModuleComments = A._Cell$();
  100581. extensionStore = A.ExtensionStore$0();
  100582. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  100583. t2 = css._readLocal$0();
  100584. t3 = preModuleComments._readLocal$0();
  100585. module = environment.toModule$3(t2, t3 == null ? B.Map_empty10 : t3, extensionStore);
  100586. if (url != null) {
  100587. t1.$indexSet(0, url, module);
  100588. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  100589. if (nodeWithSpan != null)
  100590. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  100591. }
  100592. return module;
  100593. },
  100594. _evaluate0$_execute$2(importer, stylesheet) {
  100595. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  100596. },
  100597. _evaluate0$_addOutOfOrderImports$0() {
  100598. var t1, t2, _this = this, _s5_ = "_root",
  100599. _s13_ = "_endOfImports",
  100600. _0_0 = _this._evaluate0$_outOfOrderImports;
  100601. $label0$0: {
  100602. if (_0_0 == null) {
  100603. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100604. break $label0$0;
  100605. }
  100606. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100607. 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);
  100608. B.JSArray_methods.addAll$1(t1, _0_0);
  100609. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100610. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  100611. break $label0$0;
  100612. }
  100613. return t1;
  100614. },
  100615. _evaluate0$_combineCss$2$clone(root, clone) {
  100616. var selectors, _0_0, t1, imports, css, sorted, t2;
  100617. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  100618. selectors = root.get$extensionStore().get$simpleSelectors();
  100619. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  100620. if (_0_0 != null)
  100621. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  100622. return root.get$css(root);
  100623. }
  100624. t1 = type$.JSArray_CssNode_2;
  100625. imports = A._setArrayType([], t1);
  100626. css = A._setArrayType([], t1);
  100627. t1 = type$.Module_Callable_2;
  100628. sorted = A.ListQueue$(t1);
  100629. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  100630. if (root.get$transitivelyContainsExtensions())
  100631. this._evaluate0$_extendModules$1(sorted);
  100632. t1 = B.JSArray_methods.$add(imports, css);
  100633. t2 = root.get$css(root);
  100634. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  100635. },
  100636. _evaluate0$_combineCss$1(root) {
  100637. return this._evaluate0$_combineCss$2$clone(root, false);
  100638. },
  100639. _evaluate0$_extendModules$1(sortedModules) {
  100640. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  100641. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  100642. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  100643. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100644. t3 = t1._collection$_current;
  100645. if (t3 == null)
  100646. t3 = t2._as(t3);
  100647. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  100648. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  100649. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  100650. t4 = t3.get$extensionStore().get$addExtensions();
  100651. if ($self != null)
  100652. t4.call$1($self);
  100653. t4 = t3.get$extensionStore();
  100654. if (t4.get$isEmpty(t4))
  100655. continue;
  100656. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  100657. upstream = t4[_i];
  100658. _0_0 = upstream.get$url(upstream);
  100659. if (_0_0 != null)
  100660. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  100661. }
  100662. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  100663. }
  100664. if (unsatisfiedExtensions._collection$_length !== 0)
  100665. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  100666. },
  100667. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  100668. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  100669. },
  100670. _evaluate0$_indexAfterImports$1(statements) {
  100671. var t1, lastImport, i, _0_0;
  100672. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  100673. $label0$0: {
  100674. _0_0 = t1.$index(statements, i);
  100675. if (_0_0 instanceof A.ModifiableCssImport0)
  100676. break $label0$0;
  100677. if (_0_0 instanceof A.ModifiableCssComment0)
  100678. continue;
  100679. break;
  100680. }
  100681. lastImport = i;
  100682. }
  100683. return lastImport + 1;
  100684. },
  100685. visitStylesheet$1(_, node) {
  100686. var t1, t2, warning, _i, $name, span;
  100687. 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();) {
  100688. warning = t1.__internal$_current;
  100689. if (warning == null)
  100690. warning = t2._as(warning);
  100691. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  100692. }
  100693. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  100694. t1[_i].accept$1(this);
  100695. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100696. t2 = t1.get$current(t1);
  100697. $name = t2._0;
  100698. span = t2._1;
  100699. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  100700. }
  100701. return null;
  100702. },
  100703. visitAtRootRule$1(_, node) {
  100704. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  100705. _s8_ = "__parent",
  100706. _0_0 = node.query,
  100707. 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,
  100708. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  100709. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  100710. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  100711. if (!query.excludes$1($parent))
  100712. included.push($parent);
  100713. _2_0 = $parent._node$_parent;
  100714. if (_2_0 == null)
  100715. throw A.wrapException(A.StateError$(string$.CssNod));
  100716. }
  100717. root = _this._evaluate0$_trimIncluded$1(included);
  100718. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  100719. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  100720. return _null;
  100721. }
  100722. if (included.length >= 1) {
  100723. first = included[0];
  100724. rest = B.JSArray_methods.sublist$1(included, 1);
  100725. innerCopy = first.copyWithoutChildren$0();
  100726. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  100727. copy = rest[_i].copyWithoutChildren$0();
  100728. copy.addChild$1(outerCopy);
  100729. }
  100730. root.addChild$1(outerCopy);
  100731. } else
  100732. innerCopy = root;
  100733. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  100734. return _null;
  100735. },
  100736. _evaluate0$_trimIncluded$1(nodes) {
  100737. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  100738. _s22_ = " to be an ancestor of ";
  100739. if (nodes.length === 0)
  100740. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100741. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  100742. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  100743. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  100744. _0_0 = $parent._node$_parent;
  100745. if (_0_0 == null)
  100746. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100747. }
  100748. if (innermostContiguous == null)
  100749. innermostContiguous = i;
  100750. _1_0 = $parent._node$_parent;
  100751. if (_1_0 == null)
  100752. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100753. }
  100754. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  100755. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100756. innermostContiguous.toString;
  100757. root = nodes[innermostContiguous];
  100758. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  100759. return root;
  100760. },
  100761. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  100762. var _this = this,
  100763. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  100764. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  100765. if (t1 !== query.include)
  100766. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  100767. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  100768. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  100769. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  100770. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  100771. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  100772. },
  100773. visitContentBlock$1(_, node) {
  100774. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  100775. },
  100776. visitContentRule$1(_, node) {
  100777. var $content = this._evaluate0$_environment._environment0$_content;
  100778. if ($content == null)
  100779. return null;
  100780. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  100781. return null;
  100782. },
  100783. visitDebugRule$1(_, node) {
  100784. var value = node.expression.accept$1(this),
  100785. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  100786. this._evaluate0$_logger.debug$2(0, t1, node.span);
  100787. return null;
  100788. },
  100789. visitDeclaration$1(_, node) {
  100790. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  100791. _s8_ = "__parent";
  100792. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  100793. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  100794. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  100795. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  100796. siblings = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  100797. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  100798. if (siblings.get$last(siblings) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_))
  100799. t1 = !(_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency);
  100800. else
  100801. t1 = false;
  100802. if (t1)
  100803. 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();) {
  100804. t6 = t1.__internal$_current;
  100805. rule = t6 == null ? t2._as(t6) : t6;
  100806. $label0$1: {
  100807. if (rule instanceof A.ModifiableCssComment0)
  100808. continue;
  100809. t6 = rule instanceof A.ModifiableCssStyleRule0;
  100810. rule0 = t6 ? rule : _null;
  100811. if (t6) {
  100812. interleavedRules.push(rule0);
  100813. break $label0$1;
  100814. }
  100815. _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);
  100816. B.JSArray_methods.clear$0(interleavedRules);
  100817. break $label0$1;
  100818. }
  100819. }
  100820. t1 = node.name;
  100821. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  100822. _1_0 = _this._evaluate0$_declarationName;
  100823. if (_1_0 != null)
  100824. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  100825. _2_0 = node.value;
  100826. if (_2_0 != null) {
  100827. value = _2_0.accept$1(_this);
  100828. if (!value.get$isBlank() || value.get$asList().length === 0) {
  100829. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  100830. t3 = _2_0.get$span(_2_0);
  100831. t4 = node.span;
  100832. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  100833. t5 = interleavedRules.length === 0 ? _null : _this._evaluate0$_stackTrace$1(t4);
  100834. if (_this._evaluate0$_sourceMap) {
  100835. t6 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  100836. t6 = t6 == null ? _null : J.get$span$z(t6);
  100837. } else
  100838. t6 = _null;
  100839. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  100840. } else if (J.startsWith$1$s($name.value, "--"))
  100841. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", _2_0.get$span(_2_0)));
  100842. }
  100843. _3_0 = node.children;
  100844. t1 = {};
  100845. t1.children = null;
  100846. if (_3_0 != null) {
  100847. t1.children = _3_0;
  100848. oldDeclarationName = _this._evaluate0$_declarationName;
  100849. _this._evaluate0$_declarationName = $name.value;
  100850. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  100851. _this._evaluate0$_declarationName = oldDeclarationName;
  100852. }
  100853. return _null;
  100854. },
  100855. visitEachRule$1(_, node) {
  100856. var _this = this,
  100857. t1 = node.list,
  100858. list = t1.accept$1(_this),
  100859. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  100860. _0_0 = node.variables;
  100861. $label0$0: {
  100862. t1 = {};
  100863. t1.variable = null;
  100864. if (_0_0.length === 1) {
  100865. t1.variable = _0_0[0];
  100866. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  100867. break $label0$0;
  100868. }
  100869. t1 = {};
  100870. t1.variables = null;
  100871. t1.variables = _0_0;
  100872. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  100873. break $label0$0;
  100874. }
  100875. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  100876. },
  100877. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  100878. var i,
  100879. list = value.get$asList(),
  100880. t1 = variables.length,
  100881. minLength = Math.min(t1, list.length);
  100882. for (i = 0; i < minLength; ++i)
  100883. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  100884. for (i = minLength; i < t1; ++i)
  100885. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  100886. },
  100887. visitErrorRule$1(_, node) {
  100888. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  100889. },
  100890. visitExtendRule$1(_, node) {
  100891. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  100892. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  100893. if (styleRule == null || _this._evaluate0$_declarationName != null)
  100894. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  100895. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  100896. complex = t1[_i];
  100897. if (!complex.accept$1(B._IsBogusVisitor_true0))
  100898. continue;
  100899. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  100900. complex.accept$1(visitor);
  100901. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  100902. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  100903. _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);
  100904. }
  100905. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  100906. 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) {
  100907. complex = t1[_i];
  100908. compound = complex.get$singleCompound();
  100909. if (compound == null)
  100910. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  100911. t4 = compound.components;
  100912. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  100913. if (t5 == null)
  100914. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  100915. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  100916. }
  100917. return _null;
  100918. },
  100919. visitAtRule$1(_, node) {
  100920. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  100921. if (_this._evaluate0$_declarationName != null)
  100922. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  100923. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  100924. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  100925. children = node.children;
  100926. if (children == null) {
  100927. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  100928. return null;
  100929. }
  100930. wasInKeyframes = _this._evaluate0$_inKeyframes;
  100931. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  100932. if (A.unvendor0($name.value) === "keyframes")
  100933. _this._evaluate0$_inKeyframes = true;
  100934. else
  100935. _this._evaluate0$_inUnknownAtRule = true;
  100936. _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);
  100937. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  100938. _this._evaluate0$_inKeyframes = wasInKeyframes;
  100939. return null;
  100940. },
  100941. visitForRule$1(_, node) {
  100942. var _this = this, t1 = {},
  100943. t2 = node.from,
  100944. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  100945. t3 = node.to,
  100946. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  100947. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  100948. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  100949. direction = from > to ? -1 : 1;
  100950. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  100951. return null;
  100952. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  100953. },
  100954. visitForwardRule$1(_, node) {
  100955. var newConfiguration, t4, _i, variable, $name, _this = this,
  100956. _s8_ = "@forward",
  100957. oldConfiguration = _this._evaluate0$_configuration,
  100958. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  100959. t1 = node.configuration,
  100960. t2 = t1.length,
  100961. t3 = node.url;
  100962. if (t2 !== 0) {
  100963. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  100964. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  100965. t3 = type$.String;
  100966. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  100967. for (_i = 0; _i < t2; ++_i) {
  100968. variable = t1[_i];
  100969. if (!variable.isGuarded)
  100970. t4.add$1(0, variable.name);
  100971. }
  100972. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  100973. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  100974. for (_i = 0; _i < t2; ++_i)
  100975. t3.add$1(0, t1[_i].name);
  100976. 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) {
  100977. $name = t2[_i];
  100978. if (!t3.contains$1(0, $name))
  100979. if (!t1.get$isEmpty(t1))
  100980. t1.remove$1(0, $name);
  100981. }
  100982. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  100983. } else {
  100984. _this._evaluate0$_configuration = adjustedConfiguration;
  100985. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  100986. _this._evaluate0$_configuration = oldConfiguration;
  100987. }
  100988. return null;
  100989. },
  100990. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  100991. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  100992. t1 = configuration._configuration0$_values,
  100993. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  100994. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  100995. variable = t2[_i];
  100996. if (variable.isGuarded) {
  100997. t4 = variable.name;
  100998. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  100999. if (_0_0 != null) {
  101000. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  101001. oldValue = _0_0;
  101002. } else {
  101003. oldValue = _null;
  101004. t5 = false;
  101005. }
  101006. if (t5) {
  101007. newValues.$indexSet(0, t4, oldValue);
  101008. continue;
  101009. }
  101010. }
  101011. t4 = variable.expression;
  101012. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101013. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101014. }
  101015. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101016. return new A.ExplicitConfiguration0(node, newValues, _null);
  101017. else
  101018. return new A.Configuration0(newValues, _null);
  101019. },
  101020. _evaluate0$_registerCommentsForModule$1(module) {
  101021. var _this = this, _s5_ = "_root",
  101022. t1 = _this._evaluate0$__root;
  101023. if (t1 == null)
  101024. return;
  101025. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101026. return;
  101027. t1 = _this._evaluate0$_preModuleComments;
  101028. if (t1 == null)
  101029. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101030. 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));
  101031. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101032. _this._evaluate0$__endOfImports = 0;
  101033. },
  101034. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101035. var t1, t2, t3, t4, _i, $name;
  101036. 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) {
  101037. $name = t2[_i];
  101038. if (except.contains$1(0, $name))
  101039. continue;
  101040. if (!t4.containsKey$1($name))
  101041. if (!t1.get$isEmpty(t1))
  101042. t1.remove$1(0, $name);
  101043. }
  101044. },
  101045. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101046. var t1, _0_0, $name, value;
  101047. if (!(configuration instanceof A.ExplicitConfiguration0))
  101048. return;
  101049. t1 = configuration._configuration0$_values;
  101050. if (t1.get$isEmpty(t1))
  101051. return;
  101052. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101053. _0_0 = t1.get$first(t1);
  101054. $name = _0_0._0;
  101055. value = _0_0._1;
  101056. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  101057. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  101058. },
  101059. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101060. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101061. },
  101062. visitFunctionRule$1(_, node) {
  101063. var t1 = this._evaluate0$_environment,
  101064. t2 = t1.closure$0(),
  101065. t3 = this._evaluate0$_inDependency,
  101066. t4 = t1._environment0$_functions,
  101067. index = t4.length - 1,
  101068. t5 = node.name;
  101069. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101070. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101071. return null;
  101072. },
  101073. visitIfRule$1(_, node) {
  101074. var t1, t2, _i, clauseToCheck,
  101075. clause = node.lastClause;
  101076. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101077. clauseToCheck = t1[_i];
  101078. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101079. clause = clauseToCheck;
  101080. break;
  101081. }
  101082. }
  101083. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101084. },
  101085. visitImportRule$1(_, node) {
  101086. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101087. _s8_ = "__parent",
  101088. _s5_ = "_root",
  101089. _s13_ = "_endOfImports";
  101090. 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) {
  101091. $import = t1[_i];
  101092. if ($import instanceof A.DynamicImport0)
  101093. _this._evaluate0$_visitDynamicImport$1($import);
  101094. else {
  101095. t5._as($import);
  101096. t7 = $import.url;
  101097. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101098. $self = $import.modifiers;
  101099. t8 = $self == null ? null : t4.call$1($self);
  101100. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101101. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101102. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101103. 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)) {
  101104. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101105. node._node$_parent = t7;
  101106. t7 = t7._node$_children;
  101107. node._node$_indexInParent = t7.length;
  101108. t7.push(node);
  101109. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101110. } else {
  101111. t7 = _this._evaluate0$_outOfOrderImports;
  101112. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101113. }
  101114. }
  101115. }
  101116. return null;
  101117. },
  101118. _evaluate0$_visitDynamicImport$1($import) {
  101119. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101120. },
  101121. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101122. 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,
  101123. _s11_ = "_stylesheet";
  101124. baseUrl = baseUrl;
  101125. try {
  101126. _this._evaluate0$_importSpan = span;
  101127. _0_0 = _this._evaluate0$_importCache;
  101128. importCache = null;
  101129. if (_0_0 != null) {
  101130. importCache = _0_0;
  101131. if (baseUrl == null)
  101132. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  101133. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  101134. importer = null;
  101135. canonicalUrl = null;
  101136. originalUrl = null;
  101137. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  101138. importer = _1_0._0;
  101139. canonicalUrl = _1_0._1;
  101140. originalUrl = _1_0._2;
  101141. if (canonicalUrl.get$scheme() === "")
  101142. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  101143. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  101144. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  101145. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  101146. stylesheet = null;
  101147. if (_2_0 != null) {
  101148. stylesheet = _2_0;
  101149. t1 = stylesheet;
  101150. t2 = importer;
  101151. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  101152. }
  101153. }
  101154. }
  101155. if (_this._nodeImporter != null) {
  101156. t1 = baseUrl;
  101157. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  101158. result = null;
  101159. if (_3_0 != null) {
  101160. result = _3_0;
  101161. t1 = _this._evaluate0$_loadedUrls;
  101162. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  101163. t1 = result;
  101164. return t1;
  101165. }
  101166. }
  101167. t1 = B.JSString_methods.startsWith$1(url, "package:");
  101168. if (t1)
  101169. throw A.wrapException(string$.x22packa);
  101170. else
  101171. throw A.wrapException("Can't find stylesheet to import.");
  101172. } catch (exception) {
  101173. t1 = A.unwrapException(exception);
  101174. if (t1 instanceof A.SassException0)
  101175. throw exception;
  101176. else if (t1 instanceof A.ArgumentError) {
  101177. error = t1;
  101178. stackTrace = A.getTraceFromException(exception);
  101179. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  101180. } else {
  101181. error0 = t1;
  101182. stackTrace0 = A.getTraceFromException(exception);
  101183. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  101184. }
  101185. } finally {
  101186. _this._evaluate0$_importSpan = null;
  101187. }
  101188. },
  101189. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  101190. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  101191. },
  101192. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  101193. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  101194. },
  101195. _importLikeNode$3(originalUrl, previous, forImport) {
  101196. var isDependency, url,
  101197. t1 = this._nodeImporter,
  101198. result = t1.loadRelative$3(originalUrl, previous, forImport);
  101199. if (result != null)
  101200. isDependency = this._evaluate0$_inDependency;
  101201. else {
  101202. result = t1.load$3(0, originalUrl, previous, forImport);
  101203. if (result == null)
  101204. return null;
  101205. isDependency = true;
  101206. }
  101207. url = result._1;
  101208. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  101209. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  101210. },
  101211. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  101212. var t1, _0_0, t2, _1_8, _this = this,
  101213. _s37_ = "Mixin doesn't accept a content block.",
  101214. _s10_ = "invocation";
  101215. $label0$0: {
  101216. if (mixin == null)
  101217. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  101218. t1 = mixin instanceof A.BuiltInCallable0;
  101219. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  101220. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  101221. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  101222. 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));
  101223. }
  101224. if (t1) {
  101225. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  101226. break $label0$0;
  101227. }
  101228. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  101229. t2 = false;
  101230. if (t1) {
  101231. _1_8 = mixin.declaration;
  101232. if (_1_8 instanceof A.MixinRule0)
  101233. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  101234. }
  101235. if (t2)
  101236. 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));
  101237. if (t1) {
  101238. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  101239. break $label0$0;
  101240. }
  101241. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  101242. }
  101243. },
  101244. visitIncludeRule$1(_, node) {
  101245. var _this = this,
  101246. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  101247. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  101248. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  101249. _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)));
  101250. return null;
  101251. },
  101252. visitMixinRule$1(_, node) {
  101253. var t1 = this._evaluate0$_environment,
  101254. t2 = t1.closure$0(),
  101255. t3 = this._evaluate0$_inDependency,
  101256. t4 = t1._environment0$_mixins,
  101257. index = t4.length - 1,
  101258. t5 = node.name;
  101259. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  101260. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101261. return null;
  101262. },
  101263. visitLoudComment$1(_, node) {
  101264. var t1, text, _this = this,
  101265. _s8_ = "__parent",
  101266. _s13_ = "_endOfImports";
  101267. if (_this._evaluate0$_inFunction)
  101268. return null;
  101269. 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))
  101270. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101271. t1 = node.text;
  101272. text = _this._evaluate0$_performInterpolation$1(t1);
  101273. if (!B.JSString_methods.endsWith$1(text, "*/"))
  101274. text += " */";
  101275. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  101276. return null;
  101277. },
  101278. visitMediaRule$1(_, node) {
  101279. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  101280. if (_this._evaluate0$_declarationName != null)
  101281. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  101282. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  101283. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  101284. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  101285. t1 = mergedQueries == null;
  101286. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  101287. return null;
  101288. if (t1)
  101289. mergedSources = B.Set_empty5;
  101290. else {
  101291. t2 = _this._evaluate0$_mediaQuerySources;
  101292. t2.toString;
  101293. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  101294. t3 = _this._evaluate0$_mediaQueries;
  101295. t3.toString;
  101296. t2.addAll$1(0, t3);
  101297. t2.addAll$1(0, queries);
  101298. mergedSources = t2;
  101299. }
  101300. t1 = t1 ? queries : mergedQueries;
  101301. _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);
  101302. return null;
  101303. },
  101304. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  101305. var t1, t2, t3, t4, _0_0, t5, result,
  101306. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  101307. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  101308. t3 = t1.get$current(t1);
  101309. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  101310. _0_0 = t3.merge$1(t4.get$current(t4));
  101311. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  101312. continue;
  101313. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  101314. return null;
  101315. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  101316. result = t5 ? _0_0 : null;
  101317. if (t5)
  101318. queries.push(result.query);
  101319. }
  101320. }
  101321. return queries;
  101322. },
  101323. visitReturnRule$1(_, node) {
  101324. var t1 = node.expression;
  101325. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  101326. },
  101327. visitSilentComment$1(_, node) {
  101328. return null;
  101329. },
  101330. visitStyleRule$1(_, node) {
  101331. var t1, _0_0, selectorText, selectorMap, parsedSelector, nest, t2, _i, _1_0, first, t3, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  101332. _s8_ = "__parent",
  101333. _s11_ = "_stylesheet";
  101334. if (_this._evaluate0$_declarationName != null)
  101335. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  101336. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  101337. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  101338. t1 = node.selector;
  101339. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  101340. selectorText = _0_0._0;
  101341. selectorMap = _0_0._1;
  101342. if (_this._evaluate0$_inKeyframes) {
  101343. _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);
  101344. return _null;
  101345. }
  101346. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101347. t1 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101348. t1 = t1 == null ? _null : t1.fromPlainCss;
  101349. nest = t1 !== true;
  101350. if (nest) {
  101351. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  101352. for (t1 = parsedSelector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101353. _1_0 = t1[_i].leadingCombinators;
  101354. if (_1_0.length >= 1) {
  101355. first = _1_0[0];
  101356. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  101357. } else {
  101358. first = _null;
  101359. t3 = false;
  101360. }
  101361. if (t3)
  101362. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  101363. }
  101364. t1 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  101365. t1 = t1 == null ? _null : t1.originalSelector;
  101366. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t1, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101367. }
  101368. 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);
  101369. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  101370. t1 = _this._evaluate0$_atRootExcludingStyleRule = false;
  101371. t2 = nest ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  101372. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t2, type$.ModifiableCssStyleRule_2, type$.Null);
  101373. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  101374. _this._evaluate0$_warnForBogusCombinators$1(rule);
  101375. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  101376. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101377. t1 = !t1.get$isEmpty(t1);
  101378. }
  101379. if (t1) {
  101380. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101381. t1.get$last(t1).isGroupEnd = true;
  101382. }
  101383. return _null;
  101384. },
  101385. _evaluate0$_warnForBogusCombinators$1(rule) {
  101386. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  101387. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  101388. 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) {
  101389. complex = t1[_i];
  101390. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101391. continue;
  101392. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  101393. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101394. complex.accept$1(visitor);
  101395. _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);
  101396. } else if (complex.leadingCombinators.length !== 0) {
  101397. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101398. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101399. complex.accept$1(visitor);
  101400. _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);
  101401. }
  101402. } else {
  101403. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101404. complex.accept$1(visitor);
  101405. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101406. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  101407. t8 = A.SpanExtensions_trimRight0(complex.span);
  101408. if (t5.get$length(0) === 0)
  101409. A.throwExpression(A.IterableElementError_noElement());
  101410. t9 = J.get$span$z(t5.$index(0, 0));
  101411. _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);
  101412. }
  101413. }
  101414. },
  101415. visitSupportsRule$1(_, node) {
  101416. var t1, _this = this;
  101417. if (_this._evaluate0$_declarationName != null)
  101418. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  101419. t1 = node.condition;
  101420. _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);
  101421. return null;
  101422. },
  101423. _evaluate0$_visitSupportsCondition$1(condition) {
  101424. var t1, _this = this;
  101425. $label0$0: {
  101426. if (condition instanceof A.SupportsOperation0) {
  101427. t1 = condition.operator;
  101428. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  101429. break $label0$0;
  101430. }
  101431. if (condition instanceof A.SupportsNegation0) {
  101432. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  101433. break $label0$0;
  101434. }
  101435. if (condition instanceof A.SupportsInterpolation0) {
  101436. t1 = condition.expression;
  101437. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  101438. break $label0$0;
  101439. }
  101440. t1 = {};
  101441. t1.declaration = null;
  101442. if (condition instanceof A.SupportsDeclaration0) {
  101443. t1.declaration = condition;
  101444. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  101445. break $label0$0;
  101446. }
  101447. if (condition instanceof A.SupportsFunction0) {
  101448. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  101449. break $label0$0;
  101450. }
  101451. if (condition instanceof A.SupportsAnything0) {
  101452. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  101453. break $label0$0;
  101454. }
  101455. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  101456. }
  101457. return t1;
  101458. },
  101459. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  101460. var t1,
  101461. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  101462. this._evaluate0$_inSupportsDeclaration = true;
  101463. try {
  101464. t1 = callback.call$0();
  101465. return t1;
  101466. } finally {
  101467. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  101468. }
  101469. },
  101470. _evaluate0$_withSupportsDeclaration$1(callback) {
  101471. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  101472. },
  101473. _evaluate0$_parenthesize$2(condition, operator) {
  101474. var t1;
  101475. if (!(condition instanceof A.SupportsNegation0))
  101476. if (condition instanceof A.SupportsOperation0)
  101477. t1 = operator == null || operator !== condition.operator;
  101478. else
  101479. t1 = false;
  101480. else
  101481. t1 = true;
  101482. if (t1)
  101483. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  101484. return this._evaluate0$_visitSupportsCondition$1(condition);
  101485. },
  101486. _evaluate0$_parenthesize$1(condition) {
  101487. return this._evaluate0$_parenthesize$2(condition, null);
  101488. },
  101489. visitVariableDeclaration$1(_, node) {
  101490. var t1, _0_0, t2, value, _this = this, _null = null;
  101491. if (node.isGuarded) {
  101492. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  101493. t1 = _this._evaluate0$_configuration._configuration0$_values;
  101494. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, node.name);
  101495. t1 = {};
  101496. t1.override = null;
  101497. if (_0_0 != null) {
  101498. t1.override = _0_0;
  101499. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  101500. } else
  101501. t2 = false;
  101502. if (t2) {
  101503. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  101504. return _null;
  101505. }
  101506. }
  101507. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  101508. if (value != null && !value.$eq(0, B.C__SassNull0))
  101509. return _null;
  101510. }
  101511. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  101512. 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.";
  101513. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  101514. }
  101515. t1 = node.expression;
  101516. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  101517. return _null;
  101518. },
  101519. visitUseRule$1(_, node) {
  101520. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  101521. t1 = node.configuration,
  101522. t2 = t1.length;
  101523. if (t2 !== 0) {
  101524. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  101525. for (_i = 0; _i < t2; ++_i) {
  101526. variable = t1[_i];
  101527. t3 = variable.expression;
  101528. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  101529. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101530. }
  101531. configuration = new A.ExplicitConfiguration0(node, values, null);
  101532. } else
  101533. configuration = B.Configuration_Map_empty_null0;
  101534. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  101535. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  101536. return null;
  101537. },
  101538. visitWarnRule$1(_, node) {
  101539. var _this = this,
  101540. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  101541. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  101542. t2 = _this._evaluate0$_stackTrace$1(node.span);
  101543. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  101544. return null;
  101545. },
  101546. visitWhileRule$1(_, node) {
  101547. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  101548. },
  101549. visitBinaryOperationExpression$1(_, node) {
  101550. var t1, _this = this;
  101551. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101552. t1 = node.operator;
  101553. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  101554. } else
  101555. t1 = false;
  101556. if (t1)
  101557. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  101558. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  101559. },
  101560. _evaluate0$_slash$3(left, right, node) {
  101561. var t2, _1_1,
  101562. result = left.dividedBy$1(right),
  101563. _1_2_isSet = left instanceof A.SassNumber0,
  101564. _1_2 = null, right0 = null,
  101565. t1 = false;
  101566. if (_1_2_isSet) {
  101567. t2 = type$.SassNumber_2;
  101568. t2._as(left);
  101569. if (right instanceof A.SassNumber0) {
  101570. t2._as(right);
  101571. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  101572. right0 = right;
  101573. _1_2 = right0;
  101574. } else
  101575. _1_2 = right;
  101576. _1_1 = left;
  101577. } else {
  101578. _1_1 = left;
  101579. left = null;
  101580. }
  101581. if (t1)
  101582. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  101583. if (_1_1 instanceof A.SassNumber0)
  101584. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  101585. else
  101586. t1 = false;
  101587. if (t1) {
  101588. 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);
  101589. return result;
  101590. }
  101591. return result;
  101592. },
  101593. _evaluate0$_operandAllowsSlash$1(node) {
  101594. var t1;
  101595. if (node instanceof A.FunctionExpression0)
  101596. if (node.namespace == null) {
  101597. t1 = node.name;
  101598. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  101599. } else
  101600. t1 = false;
  101601. else
  101602. t1 = true;
  101603. return t1;
  101604. },
  101605. visitValueExpression$1(_, node) {
  101606. return node.value;
  101607. },
  101608. visitVariableExpression$1(_, node) {
  101609. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  101610. if (result != null)
  101611. return result;
  101612. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  101613. },
  101614. visitUnaryOperationExpression$1(_, node) {
  101615. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  101616. },
  101617. visitBooleanExpression$1(_, node) {
  101618. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101619. },
  101620. visitIfExpression$1(_, node) {
  101621. var condition, t1, ifTrue, ifFalse, result, _this = this,
  101622. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  101623. positional = _0_0._0,
  101624. named = _0_0._1;
  101625. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  101626. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  101627. if (condition == null) {
  101628. t1 = named.$index(0, "condition");
  101629. t1.toString;
  101630. condition = t1;
  101631. }
  101632. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  101633. if (ifTrue == null) {
  101634. t1 = named.$index(0, "if-true");
  101635. t1.toString;
  101636. ifTrue = t1;
  101637. }
  101638. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  101639. if (ifFalse == null) {
  101640. t1 = named.$index(0, "if-false");
  101641. t1.toString;
  101642. ifFalse = t1;
  101643. }
  101644. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  101645. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  101646. },
  101647. visitNullExpression$1(_, node) {
  101648. return B.C__SassNull0;
  101649. },
  101650. visitNumberExpression$1(_, node) {
  101651. return A.SassNumber_SassNumber0(node.value, node.unit);
  101652. },
  101653. visitParenthesizedExpression$1(_, node) {
  101654. var _this = this;
  101655. 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);
  101656. },
  101657. visitColorExpression$1(_, node) {
  101658. return node.value;
  101659. },
  101660. visitListExpression$1(_, node) {
  101661. var t1 = node.contents;
  101662. 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);
  101663. },
  101664. visitMapExpression$1(_, node) {
  101665. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  101666. t1 = type$.Value_2,
  101667. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  101668. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  101669. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101670. t4 = t2[_i];
  101671. key = t4._0;
  101672. keyValue = key.accept$1(this);
  101673. valueValue = t4._1.accept$1(this);
  101674. if (map.containsKey$1(keyValue)) {
  101675. t1 = keyNodes.$index(0, keyValue);
  101676. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  101677. t1 = key.get$span(key);
  101678. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101679. if (oldValueSpan != null)
  101680. t2.$indexSet(0, oldValueSpan, "first key");
  101681. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  101682. }
  101683. map.$indexSet(0, keyValue, valueValue);
  101684. keyNodes.$indexSet(0, keyValue, key);
  101685. }
  101686. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  101687. },
  101688. visitFunctionExpression$1(_, node) {
  101689. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  101690. _s11_ = "_stylesheet",
  101691. t1 = {},
  101692. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  101693. t1.$function = $function;
  101694. if ($function == null) {
  101695. if (node.namespace != null)
  101696. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  101697. t2 = node.name;
  101698. _0_0 = t2.toLowerCase();
  101699. t3 = false;
  101700. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  101701. t3 = node.$arguments;
  101702. t4 = t3.named;
  101703. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  101704. $name = _0_0;
  101705. } else
  101706. $name = null;
  101707. if (t3)
  101708. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  101709. 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)
  101710. return _this._evaluate0$_visitCalculation$1(node);
  101711. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  101712. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  101713. } else
  101714. t2 = $function;
  101715. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  101716. _this._evaluate0$_warn$3(string$.Sassx20_ff, node.get$nameSpan(), B.Deprecation_d4j);
  101717. oldInFunction = _this._evaluate0$_inFunction;
  101718. _this._evaluate0$_inFunction = true;
  101719. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  101720. _this._evaluate0$_inFunction = oldInFunction;
  101721. return result;
  101722. },
  101723. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  101724. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  101725. t2 = node.$arguments,
  101726. t3 = t2.named;
  101727. if (t3.get$isNotEmpty(t3))
  101728. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  101729. else if (t2.rest != null)
  101730. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  101731. _this._evaluate0$_checkCalculationArguments$1(node);
  101732. t3 = A._setArrayType([], type$.JSArray_Object);
  101733. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  101734. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101735. $arguments = t3;
  101736. if (_this._evaluate0$_inSupportsDeclaration)
  101737. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  101738. oldCallableNode = _this._evaluate0$_callableNode;
  101739. _this._evaluate0$_callableNode = node;
  101740. try {
  101741. t1 = null;
  101742. t3 = node.name;
  101743. _0_0 = t3.toLowerCase();
  101744. $label0$0: {
  101745. if ("calc" === _0_0) {
  101746. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  101747. break $label0$0;
  101748. }
  101749. if ("sqrt" === _0_0) {
  101750. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  101751. break $label0$0;
  101752. }
  101753. if ("sin" === _0_0) {
  101754. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  101755. break $label0$0;
  101756. }
  101757. if ("cos" === _0_0) {
  101758. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  101759. break $label0$0;
  101760. }
  101761. if ("tan" === _0_0) {
  101762. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  101763. break $label0$0;
  101764. }
  101765. if ("asin" === _0_0) {
  101766. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  101767. break $label0$0;
  101768. }
  101769. if ("acos" === _0_0) {
  101770. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  101771. break $label0$0;
  101772. }
  101773. if ("atan" === _0_0) {
  101774. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  101775. break $label0$0;
  101776. }
  101777. if ("abs" === _0_0) {
  101778. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  101779. break $label0$0;
  101780. }
  101781. if ("exp" === _0_0) {
  101782. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  101783. break $label0$0;
  101784. }
  101785. if ("sign" === _0_0) {
  101786. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  101787. break $label0$0;
  101788. }
  101789. if ("min" === _0_0) {
  101790. t1 = A.SassCalculation_min0($arguments);
  101791. break $label0$0;
  101792. }
  101793. if ("max" === _0_0) {
  101794. t1 = A.SassCalculation_max0($arguments);
  101795. break $label0$0;
  101796. }
  101797. if ("hypot" === _0_0) {
  101798. t1 = A.SassCalculation_hypot0($arguments);
  101799. break $label0$0;
  101800. }
  101801. if ("pow" === _0_0) {
  101802. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101803. break $label0$0;
  101804. }
  101805. if ("atan2" === _0_0) {
  101806. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101807. break $label0$0;
  101808. }
  101809. if ("log" === _0_0) {
  101810. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101811. break $label0$0;
  101812. }
  101813. if ("mod" === _0_0) {
  101814. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101815. break $label0$0;
  101816. }
  101817. if ("rem" === _0_0) {
  101818. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101819. break $label0$0;
  101820. }
  101821. if ("round" === _0_0) {
  101822. 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));
  101823. break $label0$0;
  101824. }
  101825. if ("clamp" === _0_0) {
  101826. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  101827. break $label0$0;
  101828. }
  101829. if ("calc-size" === _0_0) {
  101830. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  101831. break $label0$0;
  101832. }
  101833. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  101834. t1 = A.throwExpression(t3);
  101835. }
  101836. t1 = t1;
  101837. return t1;
  101838. } catch (exception) {
  101839. t1 = A.unwrapException(exception);
  101840. if (t1 instanceof A.SassScriptException0) {
  101841. error = t1;
  101842. stackTrace = A.getTraceFromException(exception);
  101843. if (B.JSString_methods.contains$1(error.message, "compatible"))
  101844. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  101845. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  101846. } else
  101847. throw exception;
  101848. } finally {
  101849. _this._evaluate0$_callableNode = oldCallableNode;
  101850. }
  101851. },
  101852. _evaluate0$_visitCalculation$1(node) {
  101853. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  101854. },
  101855. _evaluate0$_checkCalculationArguments$1(node) {
  101856. var t1, _0_0,
  101857. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  101858. $label0$0: {
  101859. t1 = node.name;
  101860. _0_0 = t1.toLowerCase();
  101861. 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) {
  101862. check.call$1(1);
  101863. break $label0$0;
  101864. }
  101865. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  101866. check.call$0();
  101867. break $label0$0;
  101868. }
  101869. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  101870. check.call$1(2);
  101871. break $label0$0;
  101872. }
  101873. if ("round" === _0_0 || "clamp" === _0_0) {
  101874. check.call$1(3);
  101875. break $label0$0;
  101876. }
  101877. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  101878. }
  101879. },
  101880. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  101881. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  101882. for (i = 0; t1 = args.length, i < t1; ++i) {
  101883. _0_0 = args[i];
  101884. if (_0_0 instanceof A.SassNumber0) {
  101885. t1 = _0_0.get$hasComplexUnits();
  101886. arg = _0_0;
  101887. } else {
  101888. arg = null;
  101889. t1 = false;
  101890. }
  101891. if (t1) {
  101892. t1 = A.S(arg);
  101893. t2 = nodesWithSpans[i];
  101894. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  101895. }
  101896. }
  101897. for (i = 0; i < t1 - 1; ++i) {
  101898. number1 = args[i];
  101899. if (!(number1 instanceof A.SassNumber0))
  101900. continue;
  101901. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  101902. number2 = args[j];
  101903. if (!(number2 instanceof A.SassNumber0))
  101904. continue;
  101905. if (number1.hasPossiblyCompatibleUnits$1(number2))
  101906. continue;
  101907. t1 = number1.toString$0(0);
  101908. t2 = number2.toString$0(0);
  101909. t3 = nodesWithSpans[i];
  101910. t3 = t3.get$span(t3);
  101911. t4 = number1.toString$0(0);
  101912. t5 = nodesWithSpans[j];
  101913. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  101914. t6 = nodesWithSpans[i];
  101915. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  101916. }
  101917. }
  101918. },
  101919. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  101920. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  101921. t1 = node instanceof A.ParenthesizedExpression0,
  101922. inner = t1 ? node.expression : _null;
  101923. if (t1) {
  101924. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  101925. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  101926. }
  101927. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  101928. t1 = node.text;
  101929. t2 = t1.get$asPlain();
  101930. _0_0 = t2 == null ? _null : t2.toLowerCase();
  101931. $label0$0: {
  101932. if ("pi" === _0_0) {
  101933. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  101934. break $label0$0;
  101935. }
  101936. if ("e" === _0_0) {
  101937. t1 = A.SassNumber_SassNumber0(2.718281828459045, _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 ("-infinity" === _0_0) {
  101945. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  101946. break $label0$0;
  101947. }
  101948. if ("nan" === _0_0) {
  101949. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  101950. break $label0$0;
  101951. }
  101952. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  101953. break $label0$0;
  101954. }
  101955. return t1;
  101956. }
  101957. _box_0 = {};
  101958. _box_0.right = _box_0.left = _box_0.operator = null;
  101959. t1 = node instanceof A.BinaryOperationExpression0;
  101960. if (t1) {
  101961. _box_0.operator = node.operator;
  101962. _box_0.left = node.left;
  101963. _box_0.right = node.right;
  101964. }
  101965. if (t1) {
  101966. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  101967. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  101968. }
  101969. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  101970. _1_0 = node.accept$1(_this);
  101971. $label1$1: {
  101972. if (_1_0 instanceof A.SassNumber0) {
  101973. t1 = _1_0;
  101974. break $label1$1;
  101975. }
  101976. if (_1_0 instanceof A.SassCalculation0) {
  101977. t1 = _1_0;
  101978. break $label1$1;
  101979. }
  101980. if (_1_0 instanceof A.SassString0) {
  101981. t1 = !_1_0._string0$_hasQuotes;
  101982. result = _1_0;
  101983. } else {
  101984. result = _null;
  101985. t1 = false;
  101986. }
  101987. if (t1) {
  101988. t1 = result;
  101989. break $label1$1;
  101990. }
  101991. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  101992. }
  101993. return t1;
  101994. }
  101995. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2) {
  101996. t1 = A._setArrayType([], type$.JSArray_Object);
  101997. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  101998. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101999. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  102000. for (i = 0; i < t1.length; ++i) {
  102001. t3 = t1[i];
  102002. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  102003. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  102004. }
  102005. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102006. }
  102007. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102008. },
  102009. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102010. var t2, t3, t4, textBetweenOperands, first, last,
  102011. t1 = node.operator;
  102012. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  102013. return;
  102014. t1 = node.left;
  102015. t2 = t1.get$span(t1);
  102016. t2 = t2.get$file(t2);
  102017. t3 = node.right;
  102018. t4 = t3.get$span(t3);
  102019. if (t2 !== t4.get$file(t4))
  102020. return;
  102021. t2 = t1.get$span(t1);
  102022. t2 = t2.get$end(t2);
  102023. t4 = t3.get$span(t3);
  102024. if (t2.offset >= t4.get$start(t4).offset)
  102025. return;
  102026. t2 = t1.get$span(t1);
  102027. t2 = t2.get$file(t2);
  102028. t1 = t1.get$span(t1);
  102029. t1 = t1.get$end(t1);
  102030. t3 = t3.get$span(t3);
  102031. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102032. first = textBetweenOperands.charCodeAt(0);
  102033. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102034. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102035. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102036. else
  102037. t1 = true;
  102038. if (t1)
  102039. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102040. },
  102041. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102042. var t1;
  102043. $label0$0: {
  102044. if (B.BinaryOperator_Swh0 === operator) {
  102045. t1 = B.CalculationOperator_F7i0;
  102046. break $label0$0;
  102047. }
  102048. if (B.BinaryOperator_QG10 === operator) {
  102049. t1 = B.CalculationOperator_oum0;
  102050. break $label0$0;
  102051. }
  102052. if (B.BinaryOperator_tht0 === operator) {
  102053. t1 = B.CalculationOperator_kkN0;
  102054. break $label0$0;
  102055. }
  102056. if (B.BinaryOperator_Mh50 === operator) {
  102057. t1 = B.CalculationOperator_bo50;
  102058. break $label0$0;
  102059. }
  102060. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102061. }
  102062. return t1;
  102063. },
  102064. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102065. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102066. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102067. t2 = i - 1;
  102068. previous = elements[t2];
  102069. current = elements[i];
  102070. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102071. continue;
  102072. t1 = node.contents;
  102073. previousNode = t1[t2];
  102074. currentNode = t1[i];
  102075. if (currentNode instanceof A.UnaryOperationExpression0) {
  102076. _0_2 = currentNode.operator;
  102077. if (B.UnaryOperator_UCP0 !== _0_2)
  102078. t1 = B.UnaryOperator_Rbl0 === _0_2;
  102079. else
  102080. t1 = true;
  102081. } else
  102082. t1 = false;
  102083. if (!t1)
  102084. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102085. else
  102086. t1 = true;
  102087. if (t1)
  102088. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102089. else
  102090. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102091. }
  102092. },
  102093. visitInterpolatedFunctionExpression$1(_, node) {
  102094. var result, _this = this,
  102095. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102096. oldInFunction = _this._evaluate0$_inFunction;
  102097. _this._evaluate0$_inFunction = true;
  102098. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102099. _this._evaluate0$_inFunction = oldInFunction;
  102100. return result;
  102101. },
  102102. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102103. var oldCallable, oldInDependency, result, _this = this,
  102104. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102105. $name = callable.declaration.name;
  102106. if ($name !== "@content")
  102107. $name += "()";
  102108. oldCallable = _this._evaluate0$_currentCallable;
  102109. oldInDependency = _this._evaluate0$_inDependency;
  102110. _this._evaluate0$_currentCallable = callable;
  102111. _this._evaluate0$_inDependency = callable.inDependency;
  102112. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102113. _this._evaluate0$_currentCallable = oldCallable;
  102114. _this._evaluate0$_inDependency = oldInDependency;
  102115. return result;
  102116. },
  102117. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  102118. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  102119. if (callable instanceof A.BuiltInCallable0)
  102120. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  102121. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  102122. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  102123. else if (callable instanceof A.PlainCssCallable0) {
  102124. t1 = $arguments.named;
  102125. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  102126. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  102127. buffer = new A.StringBuffer(callable.name + "(");
  102128. try {
  102129. first = true;
  102130. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102131. argument = t1[_i];
  102132. if (first)
  102133. first = false;
  102134. else
  102135. buffer._contents += ", ";
  102136. t3 = buffer;
  102137. t4 = argument;
  102138. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  102139. t3._contents += t4;
  102140. }
  102141. restArg = $arguments.rest;
  102142. if (restArg != null) {
  102143. rest = restArg.accept$1(_this);
  102144. if (!first)
  102145. buffer._contents += ", ";
  102146. t1 = buffer;
  102147. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  102148. t1._contents += t2;
  102149. }
  102150. } catch (exception) {
  102151. t1 = A.unwrapException(exception);
  102152. if (type$.SassRuntimeException_2._is(t1)) {
  102153. error = t1;
  102154. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  102155. throw exception;
  102156. 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));
  102157. } else
  102158. throw exception;
  102159. }
  102160. t1 = buffer;
  102161. t2 = A.Primitives_stringFromCharCode(41);
  102162. t1._contents += t2;
  102163. t2 = buffer._contents;
  102164. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  102165. } else
  102166. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  102167. },
  102168. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  102169. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  102170. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102171. oldCallableNode = _this._evaluate0$_callableNode;
  102172. _this._evaluate0$_callableNode = nodeWithSpan;
  102173. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  102174. _box_0.callback = _box_0.overload = null;
  102175. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  102176. _box_0.overload = _0_0._0;
  102177. _box_0.callback = _0_0._1;
  102178. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  102179. parameters = _box_0.overload.parameters;
  102180. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  102181. parameter = parameters[i];
  102182. t2 = evaluated._values[2];
  102183. t3 = evaluated._values[0].remove$1(0, parameter.name);
  102184. if (t3 == null) {
  102185. t3 = parameter.defaultValue;
  102186. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  102187. }
  102188. t2.push(t3);
  102189. }
  102190. if (_box_0.overload.restParameter != null) {
  102191. if (evaluated._values[2].length > t1) {
  102192. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  102193. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  102194. } else
  102195. rest = B.List_empty20;
  102196. t1 = evaluated._values[0];
  102197. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  102198. evaluated._values[2].push(argumentList);
  102199. } else
  102200. argumentList = null;
  102201. result = null;
  102202. try {
  102203. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  102204. } catch (exception) {
  102205. t1 = A.unwrapException(exception);
  102206. if (t1 instanceof A.SassException0)
  102207. throw exception;
  102208. else {
  102209. error = t1;
  102210. stackTrace = A.getTraceFromException(exception);
  102211. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  102212. }
  102213. }
  102214. _this._evaluate0$_callableNode = oldCallableNode;
  102215. if (argumentList == null)
  102216. return result;
  102217. if (evaluated._values[0].__js_helper$_length === 0)
  102218. return result;
  102219. if (argumentList._argument_list$_wereKeywordsAccessed)
  102220. return result;
  102221. 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));
  102222. },
  102223. _evaluate0$_evaluateArguments$1($arguments) {
  102224. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  102225. positional = A._setArrayType([], type$.JSArray_Value_2),
  102226. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  102227. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102228. expression = t1[_i];
  102229. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  102230. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  102231. positionalNodes.push(nodeForSpan);
  102232. }
  102233. t1 = type$.String;
  102234. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  102235. t2 = type$.AstNode_2;
  102236. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102237. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102238. t4 = t3.get$current(t3);
  102239. $name = t4._0;
  102240. value = t4._1;
  102241. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  102242. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  102243. namedNodes.$indexSet(0, $name, nodeForSpan);
  102244. }
  102245. restArgs = $arguments.rest;
  102246. if (restArgs == null)
  102247. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  102248. rest = restArgs.accept$1(_this);
  102249. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  102250. if (rest instanceof A.SassMap0) {
  102251. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  102252. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102253. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  102254. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  102255. namedNodes.addAll$1(0, t3);
  102256. separator = B.ListSeparator_undecided_null_undecided0;
  102257. } else if (rest instanceof A.SassList0) {
  102258. t3 = rest._list1$_contents;
  102259. 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>")));
  102260. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  102261. separator = rest._list1$_separator;
  102262. if (rest instanceof A.SassArgumentList0) {
  102263. rest._argument_list$_wereKeywordsAccessed = true;
  102264. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  102265. }
  102266. } else {
  102267. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  102268. positionalNodes.push(restNodeForSpan);
  102269. separator = B.ListSeparator_undecided_null_undecided0;
  102270. }
  102271. keywordRestArgs = $arguments.keywordRest;
  102272. if (keywordRestArgs == null)
  102273. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102274. keywordRest = keywordRestArgs.accept$1(_this);
  102275. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  102276. if (keywordRest instanceof A.SassMap0) {
  102277. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  102278. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102279. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  102280. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  102281. namedNodes.addAll$1(0, t1);
  102282. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102283. } else
  102284. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  102285. },
  102286. _evaluate0$_evaluateMacroArguments$1(invocation) {
  102287. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  102288. t1 = invocation.$arguments,
  102289. restArgs_ = t1.rest;
  102290. if (restArgs_ == null)
  102291. return new A._Record_2(t1.positional, t1.named);
  102292. t2 = t1.positional;
  102293. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102294. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  102295. rest = restArgs_.accept$1(_this);
  102296. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  102297. if (rest instanceof A.SassMap0)
  102298. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  102299. else if (rest instanceof A.SassList0) {
  102300. t2 = rest._list1$_contents;
  102301. 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>")));
  102302. if (rest instanceof A.SassArgumentList0) {
  102303. rest._argument_list$_wereKeywordsAccessed = true;
  102304. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  102305. }
  102306. } else
  102307. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  102308. keywordRestArgs_ = t1.keywordRest;
  102309. if (keywordRestArgs_ == null)
  102310. return new A._Record_2(positional, named);
  102311. keywordRest = keywordRestArgs_.accept$1(_this);
  102312. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  102313. if (keywordRest instanceof A.SassMap0) {
  102314. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  102315. return new A._Record_2(positional, named);
  102316. } else
  102317. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  102318. },
  102319. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  102320. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  102321. },
  102322. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  102323. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  102324. },
  102325. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  102326. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  102327. },
  102328. visitSelectorExpression$1(_, node) {
  102329. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  102330. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  102331. return t1 == null ? B.C__SassNull0 : t1;
  102332. },
  102333. visitStringExpression$1(_, node) {
  102334. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  102335. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102336. _this._evaluate0$_inSupportsDeclaration = false;
  102337. t1 = A._setArrayType([], type$.JSArray_String);
  102338. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102339. value = t2[_i];
  102340. $label0$0: {
  102341. if (typeof value == "string") {
  102342. t4 = value;
  102343. break $label0$0;
  102344. }
  102345. if (value instanceof A.Expression0) {
  102346. _0_0 = value.accept$1(_this);
  102347. $label1$1: {
  102348. if (_0_0 instanceof A.SassString0) {
  102349. text = _0_0._string0$_text;
  102350. t4 = text;
  102351. break $label1$1;
  102352. }
  102353. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  102354. break $label1$1;
  102355. }
  102356. break $label0$0;
  102357. }
  102358. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  102359. }
  102360. t1.push(t4);
  102361. }
  102362. t1 = B.JSArray_methods.join$0(t1);
  102363. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102364. return new A.SassString0(t1, node.hasQuotes);
  102365. },
  102366. visitSupportsExpression$1(_, expression) {
  102367. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  102368. },
  102369. visitCssAtRule$1(node) {
  102370. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  102371. if (_this._evaluate0$_declarationName != null)
  102372. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  102373. if (node.isChildless) {
  102374. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  102375. return;
  102376. }
  102377. wasInKeyframes = _this._evaluate0$_inKeyframes;
  102378. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  102379. t1 = node.name;
  102380. if (A.unvendor0(t1.value) === "keyframes")
  102381. _this._evaluate0$_inKeyframes = true;
  102382. else
  102383. _this._evaluate0$_inUnknownAtRule = true;
  102384. _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);
  102385. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  102386. _this._evaluate0$_inKeyframes = wasInKeyframes;
  102387. },
  102388. visitCssComment$1(node) {
  102389. var _this = this,
  102390. _s8_ = "__parent",
  102391. _s13_ = "_endOfImports";
  102392. 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))
  102393. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102394. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  102395. },
  102396. visitCssDeclaration$1(node) {
  102397. 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));
  102398. },
  102399. visitCssImport$1(node) {
  102400. var t1, _this = this,
  102401. _s8_ = "__parent",
  102402. _s5_ = "_root",
  102403. _s13_ = "_endOfImports",
  102404. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  102405. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  102406. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  102407. 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)) {
  102408. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  102409. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102410. } else {
  102411. t1 = _this._evaluate0$_outOfOrderImports;
  102412. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  102413. }
  102414. },
  102415. visitCssKeyframeBlock$1(node) {
  102416. 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);
  102417. },
  102418. visitCssMediaRule$1(node) {
  102419. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102420. if (_this._evaluate0$_declarationName != null)
  102421. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102422. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  102423. t1 = mergedQueries == null;
  102424. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102425. return;
  102426. if (t1)
  102427. mergedSources = B.Set_empty5;
  102428. else {
  102429. t2 = _this._evaluate0$_mediaQuerySources;
  102430. t2.toString;
  102431. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102432. t3 = _this._evaluate0$_mediaQueries;
  102433. t3.toString;
  102434. t2.addAll$1(0, t3);
  102435. t2.addAll$1(0, node.queries);
  102436. mergedSources = t2;
  102437. }
  102438. t1 = t1 ? node.queries : mergedQueries;
  102439. _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);
  102440. },
  102441. visitCssStyleRule$1(node) {
  102442. var t1, styleRule, t2, nest, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _0_1, lastChild, _this = this, _null = null,
  102443. _s8_ = "__parent";
  102444. if (_this._evaluate0$_declarationName != null)
  102445. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102446. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102447. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102448. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  102449. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102450. t2 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102451. t2 = t2 == null ? _null : t2.fromPlainCss;
  102452. nest = t2 !== true;
  102453. t2 = node._style_rule0$_selector._box0$_inner;
  102454. if (nest) {
  102455. t2 = t2.value;
  102456. t3 = styleRule == null ? _null : styleRule.originalSelector;
  102457. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !t1, node.fromPlainCss);
  102458. } else
  102459. originalSelector = t2.value;
  102460. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  102461. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102462. _this._evaluate0$_atRootExcludingStyleRule = false;
  102463. t1 = nest ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  102464. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102465. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102466. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  102467. t2 = J.getInterceptor$asx(t1);
  102468. _0_1 = t2.get$length(t1);
  102469. if (_0_1 >= 1) {
  102470. lastChild = t2.elementAt$1(t1, _0_1 - 1);
  102471. t1 = styleRule == null;
  102472. } else {
  102473. lastChild = _null;
  102474. t1 = false;
  102475. }
  102476. if (t1)
  102477. lastChild.isGroupEnd = true;
  102478. },
  102479. visitCssStylesheet$1(node) {
  102480. var t1;
  102481. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  102482. t1.get$current(t1).accept$1(this);
  102483. },
  102484. visitCssSupportsRule$1(node) {
  102485. var _this = this;
  102486. if (_this._evaluate0$_declarationName != null)
  102487. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102488. _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);
  102489. },
  102490. _evaluate0$_handleReturn$1$2(list, callback) {
  102491. var t1, _i, _0_0;
  102492. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  102493. _0_0 = callback.call$1(list[_i]);
  102494. if (_0_0 != null)
  102495. return _0_0;
  102496. }
  102497. return null;
  102498. },
  102499. _evaluate0$_handleReturn$2(list, callback) {
  102500. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  102501. },
  102502. _evaluate0$_withEnvironment$1$2(environment, callback) {
  102503. var result,
  102504. oldEnvironment = this._evaluate0$_environment;
  102505. this._evaluate0$_environment = environment;
  102506. result = callback.call$0();
  102507. this._evaluate0$_environment = oldEnvironment;
  102508. return result;
  102509. },
  102510. _evaluate0$_withEnvironment$2(environment, callback) {
  102511. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  102512. },
  102513. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  102514. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  102515. t1 = trim ? A.trimAscii0(result, true) : result;
  102516. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  102517. },
  102518. _evaluate0$_interpolationToValue$1(interpolation) {
  102519. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  102520. },
  102521. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  102522. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  102523. },
  102524. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  102525. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  102526. },
  102527. _evaluate0$_performInterpolation$1(interpolation) {
  102528. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  102529. },
  102530. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  102531. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  102532. map = _0_0._1;
  102533. map.toString;
  102534. return new A._Record_2(_0_0._0, map);
  102535. },
  102536. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  102537. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  102538. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  102539. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102540. _this._evaluate0$_inSupportsDeclaration = false;
  102541. 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) {
  102542. value = t1[_i];
  102543. if (!first)
  102544. if (!t4)
  102545. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  102546. if (typeof value == "string") {
  102547. t7 += value;
  102548. continue;
  102549. }
  102550. t3._as(value);
  102551. result = value.accept$1(_this);
  102552. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  102553. result0 = A.List_List$from([""], false, t6);
  102554. result0.$flags = 3;
  102555. t8 = $.$get$namesByColor0();
  102556. _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));
  102557. }
  102558. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  102559. }
  102560. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102561. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  102562. },
  102563. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  102564. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  102565. },
  102566. _evaluate0$_serialize$2(value, nodeWithSpan) {
  102567. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  102568. },
  102569. _evaluate0$_expressionNode$1(expression) {
  102570. var t1;
  102571. if (expression instanceof A.VariableExpression0) {
  102572. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  102573. return t1 == null ? expression : t1;
  102574. } else
  102575. return expression;
  102576. },
  102577. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  102578. var oldParent, result, _this = this;
  102579. _this._evaluate0$_addChild$2$through(node, through);
  102580. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  102581. _this._evaluate0$__parent = node;
  102582. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  102583. _this._evaluate0$__parent = oldParent;
  102584. return result;
  102585. },
  102586. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  102587. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  102588. },
  102589. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  102590. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  102591. },
  102592. _evaluate0$_addChild$2$through(node, through) {
  102593. var _0_0, grandparent, t1,
  102594. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  102595. if (through != null) {
  102596. for (; through.call$1($parent); $parent = _0_0) {
  102597. _0_0 = $parent._node$_parent;
  102598. if (_0_0 == null)
  102599. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  102600. }
  102601. if ($parent.get$hasFollowingSibling()) {
  102602. grandparent = $parent._node$_parent;
  102603. t1 = grandparent.children;
  102604. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  102605. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  102606. else {
  102607. $parent = $parent.copyWithoutChildren$0();
  102608. grandparent.addChild$1($parent);
  102609. }
  102610. }
  102611. }
  102612. $parent.addChild$1(node);
  102613. },
  102614. _evaluate0$_addChild$1(node) {
  102615. return this._evaluate0$_addChild$2$through(node, null);
  102616. },
  102617. _evaluate0$_withStyleRule$1$2(rule, callback) {
  102618. var result,
  102619. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  102620. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  102621. result = callback.call$0();
  102622. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  102623. return result;
  102624. },
  102625. _evaluate0$_withStyleRule$2(rule, callback) {
  102626. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  102627. },
  102628. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  102629. var result, _this = this,
  102630. oldMediaQueries = _this._evaluate0$_mediaQueries,
  102631. oldSources = _this._evaluate0$_mediaQuerySources;
  102632. _this._evaluate0$_mediaQueries = queries;
  102633. _this._evaluate0$_mediaQuerySources = sources;
  102634. result = callback.call$0();
  102635. _this._evaluate0$_mediaQueries = oldMediaQueries;
  102636. _this._evaluate0$_mediaQuerySources = oldSources;
  102637. return result;
  102638. },
  102639. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  102640. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  102641. },
  102642. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  102643. var oldMember, result, _this = this,
  102644. t1 = _this._evaluate0$_stack;
  102645. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  102646. oldMember = _this._evaluate0$_member;
  102647. _this._evaluate0$_member = member;
  102648. result = callback.call$0();
  102649. _this._evaluate0$_member = oldMember;
  102650. t1.pop();
  102651. return result;
  102652. },
  102653. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  102654. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  102655. },
  102656. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  102657. var t1;
  102658. if (value instanceof A.SassNumber0)
  102659. t1 = value.asSlash != null;
  102660. else
  102661. t1 = false;
  102662. if (t1)
  102663. 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);
  102664. return value.withoutSlash$0();
  102665. },
  102666. _evaluate0$_stackFrame$2(member, span) {
  102667. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  102668. },
  102669. _evaluate0$_stackTrace$1(span) {
  102670. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  102671. t1 = A._setArrayType([], type$.JSArray_Frame);
  102672. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  102673. t4 = t2[_i];
  102674. nodeWithSpan = t4._1;
  102675. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  102676. }
  102677. if (span != null)
  102678. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  102679. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  102680. },
  102681. _evaluate0$_stackTrace$0() {
  102682. return this._evaluate0$_stackTrace$1(null);
  102683. },
  102684. _evaluate0$_warn$3(message, span, deprecation) {
  102685. var trace, t1, _this = this;
  102686. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  102687. return;
  102688. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  102689. return;
  102690. trace = _this._evaluate0$_stackTrace$1(span);
  102691. t1 = _this._evaluate0$_logger;
  102692. if (deprecation == null)
  102693. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  102694. else
  102695. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  102696. },
  102697. _evaluate0$_warn$2(message, span) {
  102698. return this._evaluate0$_warn$3(message, span, null);
  102699. },
  102700. _evaluate0$_exception$2(message, span) {
  102701. var t1, t2;
  102702. if (span == null) {
  102703. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102704. t1 = t1.get$span(t1);
  102705. } else
  102706. t1 = span;
  102707. t2 = this._evaluate0$_stackTrace$1(span);
  102708. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  102709. },
  102710. _evaluate0$_exception$1(message) {
  102711. return this._evaluate0$_exception$2(message, null);
  102712. },
  102713. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  102714. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102715. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  102716. },
  102717. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102718. var error, stackTrace, t1, exception;
  102719. try {
  102720. t1 = callback.call$0();
  102721. return t1;
  102722. } catch (exception) {
  102723. t1 = A.unwrapException(exception);
  102724. if (t1 instanceof A.SassScriptException0) {
  102725. error = t1;
  102726. stackTrace = A.getTraceFromException(exception);
  102727. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  102728. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  102729. } else
  102730. throw exception;
  102731. }
  102732. },
  102733. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  102734. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  102735. },
  102736. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102737. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  102738. },
  102739. _evaluate0$_addExceptionTrace$1$1(callback) {
  102740. var error, stackTrace, t1, exception, t2;
  102741. try {
  102742. t1 = callback.call$0();
  102743. return t1;
  102744. } catch (exception) {
  102745. t1 = A.unwrapException(exception);
  102746. if (type$.SassRuntimeException_2._is(t1))
  102747. throw exception;
  102748. else if (t1 instanceof A.SassException0) {
  102749. error = t1;
  102750. stackTrace = A.getTraceFromException(exception);
  102751. t1 = error;
  102752. t2 = J.getInterceptor$z(t1);
  102753. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  102754. } else
  102755. throw exception;
  102756. }
  102757. },
  102758. _evaluate0$_addExceptionTrace$1(callback) {
  102759. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  102760. },
  102761. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  102762. var error, stackTrace, t1, exception, t2, t3;
  102763. try {
  102764. t1 = callback.call$0();
  102765. return t1;
  102766. } catch (exception) {
  102767. t1 = A.unwrapException(exception);
  102768. if (type$.SassRuntimeException_2._is(t1)) {
  102769. error = t1;
  102770. stackTrace = A.getTraceFromException(exception);
  102771. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  102772. throw exception;
  102773. t1 = error._span_exception$_message;
  102774. t2 = nodeWithSpan.get$span(nodeWithSpan);
  102775. t3 = this._evaluate0$_stackTrace$0();
  102776. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  102777. } else
  102778. throw exception;
  102779. }
  102780. },
  102781. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  102782. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  102783. },
  102784. _evaluate0$_getErrorMessage$1(error) {
  102785. var t1, exception;
  102786. if (type$.Error._is(error))
  102787. return error.toString$0(0);
  102788. try {
  102789. t1 = A._asString(J.get$message$x(error));
  102790. return t1;
  102791. } catch (exception) {
  102792. t1 = J.toString$0$(error);
  102793. return t1;
  102794. }
  102795. },
  102796. $isExpressionVisitor: 1,
  102797. $isStatementVisitor: 1
  102798. };
  102799. A._EvaluateVisitor_closure25.prototype = {
  102800. call$1($arguments) {
  102801. var module, t2,
  102802. t1 = J.getInterceptor$asx($arguments),
  102803. variable = t1.$index($arguments, 0).assertString$1("name");
  102804. t1 = t1.$index($arguments, 1).get$realNull();
  102805. module = t1 == null ? null : t1.assertString$1("module");
  102806. t1 = this.$this._evaluate0$_environment;
  102807. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  102808. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102809. },
  102810. $signature: 12
  102811. };
  102812. A._EvaluateVisitor_closure26.prototype = {
  102813. call$1($arguments) {
  102814. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  102815. t1 = this.$this._evaluate0$_environment;
  102816. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102817. },
  102818. $signature: 12
  102819. };
  102820. A._EvaluateVisitor_closure27.prototype = {
  102821. call$1($arguments) {
  102822. var module, t2, t3, t4,
  102823. t1 = J.getInterceptor$asx($arguments),
  102824. variable = t1.$index($arguments, 0).assertString$1("name");
  102825. t1 = t1.$index($arguments, 1).get$realNull();
  102826. module = t1 == null ? null : t1.assertString$1("module");
  102827. t1 = this.$this;
  102828. t2 = t1._evaluate0$_environment;
  102829. t3 = variable._string0$_text;
  102830. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  102831. 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;
  102832. },
  102833. $signature: 12
  102834. };
  102835. A._EvaluateVisitor_closure28.prototype = {
  102836. call$1($arguments) {
  102837. var module, t2,
  102838. t1 = J.getInterceptor$asx($arguments),
  102839. variable = t1.$index($arguments, 0).assertString$1("name");
  102840. t1 = t1.$index($arguments, 1).get$realNull();
  102841. module = t1 == null ? null : t1.assertString$1("module");
  102842. t1 = this.$this._evaluate0$_environment;
  102843. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  102844. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102845. },
  102846. $signature: 12
  102847. };
  102848. A._EvaluateVisitor_closure29.prototype = {
  102849. call$1($arguments) {
  102850. var t1 = this.$this._evaluate0$_environment;
  102851. if (!t1._environment0$_inMixin)
  102852. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  102853. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102854. },
  102855. $signature: 12
  102856. };
  102857. A._EvaluateVisitor_closure30.prototype = {
  102858. call$1($arguments) {
  102859. var t2, t3, t4,
  102860. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102861. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102862. if (module == null)
  102863. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102864. t1 = type$.Value_2;
  102865. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102866. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102867. t4 = t3.get$current(t3);
  102868. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  102869. }
  102870. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102871. },
  102872. $signature: 37
  102873. };
  102874. A._EvaluateVisitor_closure31.prototype = {
  102875. call$1($arguments) {
  102876. var t2, t3, t4,
  102877. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102878. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102879. if (module == null)
  102880. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102881. t1 = type$.Value_2;
  102882. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102883. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102884. t4 = t3.get$current(t3);
  102885. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  102886. }
  102887. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102888. },
  102889. $signature: 37
  102890. };
  102891. A._EvaluateVisitor_closure32.prototype = {
  102892. call$1($arguments) {
  102893. var t2, t3, t4,
  102894. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  102895. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  102896. if (module == null)
  102897. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  102898. t1 = type$.Value_2;
  102899. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  102900. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102901. t4 = t3.get$current(t3);
  102902. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  102903. }
  102904. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102905. },
  102906. $signature: 37
  102907. };
  102908. A._EvaluateVisitor_closure33.prototype = {
  102909. call$1($arguments) {
  102910. var module, t2, callable,
  102911. t1 = J.getInterceptor$asx($arguments),
  102912. $name = t1.$index($arguments, 0).assertString$1("name"),
  102913. css = t1.$index($arguments, 1).get$isTruthy();
  102914. t1 = t1.$index($arguments, 2).get$realNull();
  102915. module = t1 == null ? null : t1.assertString$1("module");
  102916. if (css) {
  102917. if (module != null)
  102918. throw A.wrapException(string$.x24css_a);
  102919. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  102920. }
  102921. t1 = this.$this;
  102922. t2 = t1._evaluate0$_callableNode;
  102923. t2.toString;
  102924. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  102925. if (callable == null)
  102926. throw A.wrapException("Function not found: " + $name.toString$0(0));
  102927. return new A.SassFunction0(callable);
  102928. },
  102929. $signature: 231
  102930. };
  102931. A._EvaluateVisitor__closure10.prototype = {
  102932. call$0() {
  102933. var local,
  102934. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  102935. t1 = this.module,
  102936. namespace = t1 == null ? null : t1._string0$_text;
  102937. t1 = this.$this;
  102938. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  102939. if (local != null || namespace != null)
  102940. return local;
  102941. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  102942. },
  102943. $signature: 80
  102944. };
  102945. A._EvaluateVisitor_closure34.prototype = {
  102946. call$1($arguments) {
  102947. var module, t2, callable,
  102948. t1 = J.getInterceptor$asx($arguments),
  102949. $name = t1.$index($arguments, 0).assertString$1("name");
  102950. t1 = t1.$index($arguments, 1).get$realNull();
  102951. module = t1 == null ? null : t1.assertString$1("module");
  102952. t1 = this.$this;
  102953. t2 = t1._evaluate0$_callableNode;
  102954. t2.toString;
  102955. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  102956. if (callable == null)
  102957. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  102958. return new A.SassMixin0(callable);
  102959. },
  102960. $signature: 228
  102961. };
  102962. A._EvaluateVisitor__closure9.prototype = {
  102963. call$0() {
  102964. var t1 = this.$this._evaluate0$_environment,
  102965. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  102966. t3 = this.module;
  102967. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  102968. },
  102969. $signature: 80
  102970. };
  102971. A._EvaluateVisitor_closure35.prototype = {
  102972. call$1($arguments) {
  102973. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  102974. t1 = J.getInterceptor$asx($arguments),
  102975. $function = t1.$index($arguments, 0),
  102976. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  102977. t1 = this.$this;
  102978. t2 = t1._evaluate0$_callableNode;
  102979. t2.toString;
  102980. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  102981. t4 = type$.String;
  102982. t5 = type$.Expression_2;
  102983. t6 = t2.get$span(t2);
  102984. t7 = t2.get$span(t2);
  102985. args._argument_list$_wereKeywordsAccessed = true;
  102986. t8 = args._argument_list$_keywords;
  102987. if (t8.get$isEmpty(t8))
  102988. t2 = null;
  102989. else {
  102990. t9 = type$.Value_2;
  102991. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  102992. args._argument_list$_wereKeywordsAccessed = true;
  102993. t8 = A.MapExtensions_get_pairs0(t8, t4, t9);
  102994. t8 = t8.get$iterator(t8);
  102995. for (; t8.moveNext$0();) {
  102996. t11 = t8.get$current(t8);
  102997. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  102998. }
  102999. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  103000. }
  103001. 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);
  103002. if ($function instanceof A.SassString0) {
  103003. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  103004. callableNode = t1._evaluate0$_callableNode;
  103005. t2 = $function._string0$_text;
  103006. t3 = callableNode.get$span(callableNode);
  103007. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103008. }
  103009. callable = $function.assertFunction$1("function").callable;
  103010. if (type$.Callable_2._is(callable)) {
  103011. t2 = t1._evaluate0$_callableNode;
  103012. t2.toString;
  103013. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103014. } else
  103015. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103016. },
  103017. $signature: 3
  103018. };
  103019. A._EvaluateVisitor_closure36.prototype = {
  103020. call$1($arguments) {
  103021. var withMap, t2, values, configuration, t3,
  103022. t1 = J.getInterceptor$asx($arguments),
  103023. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103024. t1 = t1.$index($arguments, 1).get$realNull();
  103025. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103026. t1 = this.$this;
  103027. t2 = t1._evaluate0$_callableNode;
  103028. t2.toString;
  103029. if (withMap != null) {
  103030. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103031. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  103032. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103033. } else
  103034. configuration = B.Configuration_Map_empty_null0;
  103035. t3 = t2.get$span(t2);
  103036. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103037. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103038. },
  103039. $signature: 257
  103040. };
  103041. A._EvaluateVisitor__closure7.prototype = {
  103042. call$2(variable, value) {
  103043. var t1 = variable.assertString$1("with key"),
  103044. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103045. t1 = this.values;
  103046. if (t1.containsKey$1($name))
  103047. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103048. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  103049. },
  103050. $signature: 111
  103051. };
  103052. A._EvaluateVisitor__closure8.prototype = {
  103053. call$2(module, _) {
  103054. var t1 = this.$this;
  103055. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103056. },
  103057. $signature: 101
  103058. };
  103059. A._EvaluateVisitor_closure37.prototype = {
  103060. call$1($arguments) {
  103061. var callableNode, t2, t3, t4, t5, callable, $content,
  103062. t1 = J.getInterceptor$asx($arguments),
  103063. mixin = t1.$index($arguments, 0),
  103064. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103065. t1 = this.$this;
  103066. callableNode = t1._evaluate0$_callableNode;
  103067. t2 = callableNode.get$span(callableNode);
  103068. t3 = callableNode.get$span(callableNode);
  103069. t4 = type$.Expression_2;
  103070. t5 = A.List_List$unmodifiable(B.List_empty21, t4);
  103071. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103072. callable = mixin.assertMixin$1("mixin").callable;
  103073. $content = t1._evaluate0$_environment._environment0$_content;
  103074. if (type$.Callable_2._is(callable))
  103075. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  103076. else
  103077. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  103078. },
  103079. $signature: 257
  103080. };
  103081. A._EvaluateVisitor_run_closure1.prototype = {
  103082. call$0() {
  103083. var module, t2, _this = this,
  103084. t1 = _this.node,
  103085. _0_0 = t1.span.file.url,
  103086. url = null;
  103087. if (_0_0 != null) {
  103088. url = _0_0;
  103089. t2 = _this.$this;
  103090. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  103091. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  103092. t2._evaluate0$_loadedUrls.add$1(0, url);
  103093. }
  103094. t2 = _this.$this;
  103095. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  103096. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  103097. },
  103098. $signature: 452
  103099. };
  103100. A._EvaluateVisitor_run__closure1.prototype = {
  103101. call$0() {
  103102. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  103103. },
  103104. $signature: 453
  103105. };
  103106. A._EvaluateVisitor__loadModule_closure3.prototype = {
  103107. call$0() {
  103108. return this.callback.call$2(this._box_0.builtInModule, false);
  103109. },
  103110. $signature: 0
  103111. };
  103112. A._EvaluateVisitor__loadModule_closure4.prototype = {
  103113. call$0() {
  103114. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  103115. t2 = _this.$this,
  103116. t3 = _this.nodeWithSpan,
  103117. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  103118. stylesheet = _1_0._0;
  103119. importer = _1_0._1;
  103120. canonicalUrl = stylesheet.span.file.url;
  103121. if (canonicalUrl != null) {
  103122. t4 = t2._evaluate0$_activeModules;
  103123. if (t4.containsKey$1(canonicalUrl)) {
  103124. if (_this.namesInErrors) {
  103125. t1 = canonicalUrl;
  103126. t3 = $.$get$context();
  103127. t1.toString;
  103128. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  103129. } else
  103130. message = string$.Modulel;
  103131. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  103132. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  103133. } else
  103134. t4.$indexSet(0, canonicalUrl, t3);
  103135. }
  103136. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  103137. oldInDependency = t2._evaluate0$_inDependency;
  103138. t2._evaluate0$_inDependency = _1_0._2;
  103139. t1.module = null;
  103140. try {
  103141. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  103142. } finally {
  103143. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  103144. t2._evaluate0$_inDependency = oldInDependency;
  103145. }
  103146. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  103147. },
  103148. $signature: 1
  103149. };
  103150. A._EvaluateVisitor__loadModule__closure3.prototype = {
  103151. call$1(previousLoad) {
  103152. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  103153. },
  103154. $signature: 110
  103155. };
  103156. A._EvaluateVisitor__loadModule__closure4.prototype = {
  103157. call$0() {
  103158. return this.callback.call$2(this._box_1.module, this.firstLoad);
  103159. },
  103160. $signature: 0
  103161. };
  103162. A._EvaluateVisitor__execute_closure1.prototype = {
  103163. call$0() {
  103164. var t3, t4, t5, t6, _this = this,
  103165. t1 = _this.$this,
  103166. oldImporter = t1._evaluate0$_importer,
  103167. oldStylesheet = t1._evaluate0$__stylesheet,
  103168. oldRoot = t1._evaluate0$__root,
  103169. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  103170. oldParent = t1._evaluate0$__parent,
  103171. oldEndOfImports = t1._evaluate0$__endOfImports,
  103172. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103173. oldExtensionStore = t1._evaluate0$__extensionStore,
  103174. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  103175. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  103176. oldMediaQueries = t1._evaluate0$_mediaQueries,
  103177. oldDeclarationName = t1._evaluate0$_declarationName,
  103178. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  103179. oldInKeyframes = t1._evaluate0$_inKeyframes,
  103180. oldConfiguration = t1._evaluate0$_configuration;
  103181. t1._evaluate0$_importer = _this.importer;
  103182. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  103183. t4 = t3.span;
  103184. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  103185. t1._evaluate0$__endOfImports = 0;
  103186. t1._evaluate0$_outOfOrderImports = null;
  103187. t1._evaluate0$__extensionStore = _this.extensionStore;
  103188. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  103189. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  103190. t6 = _this.configuration;
  103191. if (t6 != null)
  103192. t1._evaluate0$_configuration = t6;
  103193. t1.visitStylesheet$1(0, t3);
  103194. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  103195. _this.css.__late_helper$_value = t3;
  103196. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  103197. t1._evaluate0$_importer = oldImporter;
  103198. t1._evaluate0$__stylesheet = oldStylesheet;
  103199. t1._evaluate0$__root = oldRoot;
  103200. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  103201. t1._evaluate0$__parent = oldParent;
  103202. t1._evaluate0$__endOfImports = oldEndOfImports;
  103203. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103204. t1._evaluate0$__extensionStore = oldExtensionStore;
  103205. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  103206. t1._evaluate0$_mediaQueries = oldMediaQueries;
  103207. t1._evaluate0$_declarationName = oldDeclarationName;
  103208. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  103209. t1._evaluate0$_atRootExcludingStyleRule = t2;
  103210. t1._evaluate0$_inKeyframes = oldInKeyframes;
  103211. t1._evaluate0$_configuration = oldConfiguration;
  103212. },
  103213. $signature: 1
  103214. };
  103215. A._EvaluateVisitor__combineCss_closure3.prototype = {
  103216. call$1(module) {
  103217. return module.get$transitivelyContainsCss();
  103218. },
  103219. $signature: 125
  103220. };
  103221. A._EvaluateVisitor__combineCss_closure4.prototype = {
  103222. call$1(target) {
  103223. return !this.selectors.contains$1(0, target);
  103224. },
  103225. $signature: 13
  103226. };
  103227. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  103228. call$1(module) {
  103229. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  103230. if (!_this.seen.add$1(0, module))
  103231. return;
  103232. if (_this.clone)
  103233. module = module.cloneCss$0();
  103234. 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) {
  103235. upstream = t1[_i];
  103236. if (upstream.get$transitivelyContainsCss()) {
  103237. _1_0 = module.get$preModuleComments().$index(0, upstream);
  103238. if (_1_0 != null)
  103239. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  103240. _this.call$1(upstream);
  103241. }
  103242. }
  103243. _this.sorted.addFirst$1(module);
  103244. t1 = module.get$css(module);
  103245. statements = t1.get$children(t1);
  103246. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  103247. t1 = J.getInterceptor$ax(statements);
  103248. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  103249. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  103250. },
  103251. $signature: 454
  103252. };
  103253. A._EvaluateVisitor__extendModules_closure3.prototype = {
  103254. call$1(target) {
  103255. return !this.originalSelectors.contains$1(0, target);
  103256. },
  103257. $signature: 13
  103258. };
  103259. A._EvaluateVisitor__extendModules_closure4.prototype = {
  103260. call$0() {
  103261. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  103262. },
  103263. $signature: 221
  103264. };
  103265. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  103266. call$0() {
  103267. var t1, t2, t3, _i;
  103268. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103269. t1[_i].accept$1(t3);
  103270. },
  103271. $signature: 1
  103272. };
  103273. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  103274. call$0() {
  103275. var t1, t2, t3, _i;
  103276. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103277. t1[_i].accept$1(t3);
  103278. },
  103279. $signature: 0
  103280. };
  103281. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  103282. call$1(callback) {
  103283. var t1 = this.$this,
  103284. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  103285. t1._evaluate0$__parent = this.newParent;
  103286. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  103287. t1._evaluate0$__parent = oldParent;
  103288. },
  103289. $signature: 35
  103290. };
  103291. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  103292. call$1(callback) {
  103293. var t1 = this.$this,
  103294. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  103295. t1._evaluate0$_atRootExcludingStyleRule = true;
  103296. this.innerScope.call$1(callback);
  103297. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103298. },
  103299. $signature: 35
  103300. };
  103301. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  103302. call$1(callback) {
  103303. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  103304. },
  103305. $signature: 35
  103306. };
  103307. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  103308. call$0() {
  103309. return this.innerScope.call$1(this.callback);
  103310. },
  103311. $signature: 1
  103312. };
  103313. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  103314. call$1(callback) {
  103315. var t1 = this.$this,
  103316. wasInKeyframes = t1._evaluate0$_inKeyframes;
  103317. t1._evaluate0$_inKeyframes = false;
  103318. this.innerScope.call$1(callback);
  103319. t1._evaluate0$_inKeyframes = wasInKeyframes;
  103320. },
  103321. $signature: 35
  103322. };
  103323. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  103324. call$1($parent) {
  103325. return $parent instanceof A.ModifiableCssAtRule0;
  103326. },
  103327. $signature: 220
  103328. };
  103329. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  103330. call$1(callback) {
  103331. var t1 = this.$this,
  103332. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  103333. t1._evaluate0$_inUnknownAtRule = false;
  103334. this.innerScope.call$1(callback);
  103335. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103336. },
  103337. $signature: 35
  103338. };
  103339. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  103340. call$0() {
  103341. var t1, t2, t3, _i;
  103342. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103343. t1[_i].accept$1(t3);
  103344. return null;
  103345. },
  103346. $signature: 1
  103347. };
  103348. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  103349. call$0() {
  103350. var t1, t2, t3, _i;
  103351. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103352. t1[_i].accept$1(t3);
  103353. },
  103354. $signature: 1
  103355. };
  103356. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  103357. call$1(value) {
  103358. var t1 = this.$this,
  103359. t2 = this.nodeWithSpan;
  103360. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  103361. },
  103362. $signature: 58
  103363. };
  103364. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  103365. call$1(value) {
  103366. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  103367. },
  103368. $signature: 58
  103369. };
  103370. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  103371. call$0() {
  103372. var _this = this,
  103373. t1 = _this.$this;
  103374. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  103375. },
  103376. $signature: 41
  103377. };
  103378. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  103379. call$1(element) {
  103380. var t1;
  103381. this.setVariables.call$1(element);
  103382. t1 = this.$this;
  103383. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  103384. },
  103385. $signature: 247
  103386. };
  103387. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  103388. call$1(child) {
  103389. return child.accept$1(this.$this);
  103390. },
  103391. $signature: 100
  103392. };
  103393. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  103394. call$1(value) {
  103395. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  103396. },
  103397. $signature: 457
  103398. };
  103399. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  103400. call$0() {
  103401. var t2, t3, _i, _this = this,
  103402. t1 = _this.$this,
  103403. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103404. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  103405. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103406. t2[_i].accept$1(t1);
  103407. else
  103408. 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);
  103409. },
  103410. $signature: 1
  103411. };
  103412. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  103413. call$0() {
  103414. var t1, t2, t3, _i;
  103415. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103416. t1[_i].accept$1(t3);
  103417. },
  103418. $signature: 1
  103419. };
  103420. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  103421. call$1(node) {
  103422. return node instanceof A.ModifiableCssStyleRule0;
  103423. },
  103424. $signature: 7
  103425. };
  103426. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  103427. call$0() {
  103428. return this.node.from.accept$1(this.$this).assertNumber$0();
  103429. },
  103430. $signature: 244
  103431. };
  103432. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  103433. call$0() {
  103434. return this.node.to.accept$1(this.$this).assertNumber$0();
  103435. },
  103436. $signature: 244
  103437. };
  103438. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  103439. call$0() {
  103440. return this.fromNumber.assertInt$0();
  103441. },
  103442. $signature: 10
  103443. };
  103444. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  103445. call$0() {
  103446. var t1 = this.fromNumber;
  103447. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  103448. },
  103449. $signature: 10
  103450. };
  103451. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  103452. call$0() {
  103453. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  103454. t1 = _this.$this,
  103455. t2 = _this.node,
  103456. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  103457. 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) {
  103458. t7 = t1._evaluate0$_environment;
  103459. t8 = t6.get$numeratorUnits(t6);
  103460. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  103461. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  103462. if (_0_0 != null)
  103463. return _0_0;
  103464. }
  103465. return null;
  103466. },
  103467. $signature: 41
  103468. };
  103469. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  103470. call$1(child) {
  103471. return child.accept$1(this.$this);
  103472. },
  103473. $signature: 100
  103474. };
  103475. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  103476. call$2(module, firstLoad) {
  103477. if (firstLoad)
  103478. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103479. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103480. },
  103481. $signature: 101
  103482. };
  103483. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  103484. call$2(module, firstLoad) {
  103485. if (firstLoad)
  103486. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103487. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103488. },
  103489. $signature: 101
  103490. };
  103491. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  103492. call$0() {
  103493. return A._setArrayType([], type$.JSArray_CssComment_2);
  103494. },
  103495. $signature: 203
  103496. };
  103497. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  103498. call$1(clause) {
  103499. var t1 = this.$this;
  103500. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  103501. },
  103502. $signature: 459
  103503. };
  103504. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  103505. call$0() {
  103506. var t1 = this.$this;
  103507. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  103508. },
  103509. $signature: 41
  103510. };
  103511. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  103512. call$1(child) {
  103513. return child.accept$1(this.$this);
  103514. },
  103515. $signature: 100
  103516. };
  103517. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  103518. call$0() {
  103519. 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 = {};
  103520. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  103521. t1 = this.$this;
  103522. t2 = this.$import;
  103523. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  103524. stylesheet = _box_0.stylesheet = _0_0._0;
  103525. importer = _0_0._1;
  103526. _box_0.importer = importer;
  103527. isDependency = _0_0._2;
  103528. _box_0.isDependency = isDependency;
  103529. url = stylesheet.span.file.url;
  103530. if (url != null) {
  103531. t3 = t1._evaluate0$_activeModules;
  103532. if (t3.containsKey$1(url)) {
  103533. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  103534. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  103535. }
  103536. t3.$indexSet(0, url, t2);
  103537. }
  103538. t2 = stylesheet._stylesheet1$_uses;
  103539. t3 = type$.UnmodifiableListView_UseRule_2;
  103540. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  103541. oldImporter = t1._evaluate0$_importer;
  103542. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  103543. oldInDependency = t1._evaluate0$_inDependency;
  103544. t1._evaluate0$_importer = importer;
  103545. t1._evaluate0$__stylesheet = stylesheet;
  103546. t1._evaluate0$_inDependency = isDependency;
  103547. t1.visitStylesheet$1(0, stylesheet);
  103548. t1._evaluate0$_importer = oldImporter;
  103549. t1._evaluate0$__stylesheet = oldStylesheet;
  103550. t1._evaluate0$_inDependency = oldInDependency;
  103551. t1._evaluate0$_activeModules.remove$1(0, url);
  103552. return;
  103553. }
  103554. t2 = new A.UnmodifiableListView(t2, t3);
  103555. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  103556. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103557. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  103558. } else
  103559. loadsUserDefinedModules = true;
  103560. children = A._Cell$();
  103561. t2 = t1._evaluate0$_environment;
  103562. t3 = type$.String;
  103563. t4 = type$.Module_Callable_2;
  103564. t5 = type$.AstNode_2;
  103565. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  103566. t7 = t2._environment0$_variables;
  103567. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  103568. t8 = t2._environment0$_variableNodes;
  103569. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  103570. t9 = t2._environment0$_functions;
  103571. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  103572. t10 = t2._environment0$_mixins;
  103573. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  103574. 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);
  103575. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  103576. module = environment.toDummyModule$0();
  103577. t1._evaluate0$_environment.importForwards$1(module);
  103578. if (loadsUserDefinedModules) {
  103579. if (module.transitivelyContainsCss)
  103580. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  103581. visitor = new A._ImportedCssVisitor1(t1);
  103582. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  103583. t2.get$current(t2).accept$1(visitor);
  103584. }
  103585. t1._evaluate0$_activeModules.remove$1(0, url);
  103586. },
  103587. $signature: 0
  103588. };
  103589. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  103590. call$1(previousLoad) {
  103591. 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));
  103592. },
  103593. $signature: 110
  103594. };
  103595. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  103596. call$1(rule) {
  103597. return rule.url.get$scheme() !== "sass";
  103598. },
  103599. $signature: 202
  103600. };
  103601. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  103602. call$1(rule) {
  103603. return rule.url.get$scheme() !== "sass";
  103604. },
  103605. $signature: 201
  103606. };
  103607. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  103608. call$0() {
  103609. var t3, t4, _this = this,
  103610. t1 = _this.$this,
  103611. oldImporter = t1._evaluate0$_importer,
  103612. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  103613. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  103614. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  103615. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  103616. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103617. oldConfiguration = t1._evaluate0$_configuration,
  103618. oldInDependency = t1._evaluate0$_inDependency,
  103619. t2 = _this._box_0;
  103620. t1._evaluate0$_importer = t2.importer;
  103621. t3 = t2.stylesheet;
  103622. t1._evaluate0$__stylesheet = t3;
  103623. t4 = _this.loadsUserDefinedModules;
  103624. if (t4) {
  103625. t3 = A.ModifiableCssStylesheet$0(t3.span);
  103626. t1._evaluate0$__root = t3;
  103627. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  103628. t1._evaluate0$__endOfImports = 0;
  103629. t1._evaluate0$_outOfOrderImports = null;
  103630. }
  103631. t1._evaluate0$_inDependency = t2.isDependency;
  103632. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103633. if (!t3.get$isEmpty(t3))
  103634. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  103635. t1.visitStylesheet$1(0, t2.stylesheet);
  103636. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  103637. _this.children.__late_helper$_value = t2;
  103638. t1._evaluate0$_importer = oldImporter;
  103639. t1._evaluate0$__stylesheet = oldStylesheet;
  103640. if (t4) {
  103641. t1._evaluate0$__root = oldRoot;
  103642. t1._evaluate0$__parent = oldParent;
  103643. t1._evaluate0$__endOfImports = oldEndOfImports;
  103644. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103645. }
  103646. t1._evaluate0$_configuration = oldConfiguration;
  103647. t1._evaluate0$_inDependency = oldInDependency;
  103648. },
  103649. $signature: 1
  103650. };
  103651. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  103652. call$0() {
  103653. var _this = this,
  103654. t1 = _this.$this;
  103655. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  103656. },
  103657. $signature: 0
  103658. };
  103659. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  103660. call$0() {
  103661. var _this = this;
  103662. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  103663. },
  103664. $signature: 0
  103665. };
  103666. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  103667. call$0() {
  103668. var _this = this,
  103669. t1 = _this.$this;
  103670. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  103671. },
  103672. $signature: 1
  103673. };
  103674. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  103675. call$0() {
  103676. var t1 = this.$this;
  103677. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  103678. },
  103679. $signature: 0
  103680. };
  103681. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  103682. call$0() {
  103683. var t1, t2, t3, t4, _i;
  103684. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  103685. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  103686. },
  103687. $signature: 0
  103688. };
  103689. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  103690. call$0() {
  103691. return this.statement.accept$1(this.$this);
  103692. },
  103693. $signature: 41
  103694. };
  103695. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  103696. call$0() {
  103697. var t1 = this.node;
  103698. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  103699. },
  103700. $signature: 80
  103701. };
  103702. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  103703. call$1($content) {
  103704. var t1 = this.$this;
  103705. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  103706. },
  103707. $signature: 460
  103708. };
  103709. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  103710. call$0() {
  103711. return this.node.get$spanWithoutContent();
  103712. },
  103713. $signature: 28
  103714. };
  103715. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  103716. call$1(mediaQueries) {
  103717. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  103718. },
  103719. $signature: 108
  103720. };
  103721. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  103722. call$0() {
  103723. var _this = this,
  103724. t1 = _this.$this,
  103725. t2 = _this.mergedQueries;
  103726. if (t2 == null)
  103727. t2 = _this.queries;
  103728. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  103729. },
  103730. $signature: 1
  103731. };
  103732. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  103733. call$0() {
  103734. var t2, t3, _i,
  103735. t1 = this.$this,
  103736. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103737. if (_0_0 != null)
  103738. 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);
  103739. else
  103740. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103741. t2[_i].accept$1(t1);
  103742. },
  103743. $signature: 1
  103744. };
  103745. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  103746. call$0() {
  103747. var t1, t2, t3, _i;
  103748. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103749. t1[_i].accept$1(t3);
  103750. },
  103751. $signature: 1
  103752. };
  103753. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  103754. call$1(node) {
  103755. var t1;
  103756. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  103757. t1 = this.mergedSources;
  103758. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  103759. } else
  103760. t1 = true;
  103761. return t1;
  103762. },
  103763. $signature: 7
  103764. };
  103765. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  103766. call$0() {
  103767. var t1, t2, t3, _i;
  103768. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103769. t1[_i].accept$1(t3);
  103770. },
  103771. $signature: 1
  103772. };
  103773. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  103774. call$1(node) {
  103775. return node instanceof A.ModifiableCssStyleRule0;
  103776. },
  103777. $signature: 7
  103778. };
  103779. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  103780. call$0() {
  103781. var t1 = this.$this;
  103782. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  103783. },
  103784. $signature: 1
  103785. };
  103786. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  103787. call$0() {
  103788. var t1, t2, t3, _i;
  103789. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103790. t1[_i].accept$1(t3);
  103791. },
  103792. $signature: 1
  103793. };
  103794. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  103795. call$1(node) {
  103796. return node instanceof A.ModifiableCssStyleRule0;
  103797. },
  103798. $signature: 7
  103799. };
  103800. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  103801. call$1(child) {
  103802. return child instanceof A.ModifiableCssComment0;
  103803. },
  103804. $signature: 7
  103805. };
  103806. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  103807. call$0() {
  103808. var t2, t3, _i,
  103809. t1 = this.$this,
  103810. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103811. if (_0_0 != null)
  103812. 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);
  103813. else
  103814. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103815. t2[_i].accept$1(t1);
  103816. },
  103817. $signature: 1
  103818. };
  103819. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  103820. call$0() {
  103821. var t1, t2, t3, _i;
  103822. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103823. t1[_i].accept$1(t3);
  103824. },
  103825. $signature: 1
  103826. };
  103827. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  103828. call$1(node) {
  103829. return node instanceof A.ModifiableCssStyleRule0;
  103830. },
  103831. $signature: 7
  103832. };
  103833. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  103834. call$0() {
  103835. var t4,
  103836. t1 = this.$this,
  103837. t2 = this._box_0,
  103838. t3 = t2.declaration.name;
  103839. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  103840. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  103841. t2 = t2.declaration.value;
  103842. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  103843. },
  103844. $signature: 32
  103845. };
  103846. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  103847. call$0() {
  103848. var t1 = this.$this._evaluate0$_environment,
  103849. t2 = this._box_0.override;
  103850. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  103851. },
  103852. $signature: 1
  103853. };
  103854. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  103855. call$0() {
  103856. var t1 = this.node;
  103857. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  103858. },
  103859. $signature: 41
  103860. };
  103861. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  103862. call$0() {
  103863. var t1 = this.$this,
  103864. t2 = this.node;
  103865. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  103866. },
  103867. $signature: 1
  103868. };
  103869. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  103870. call$2(module, firstLoad) {
  103871. var t1, t2, t3, _0_0, t4, t5, span;
  103872. if (firstLoad)
  103873. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103874. t1 = this.$this._evaluate0$_environment;
  103875. t2 = this.node;
  103876. t3 = t2.namespace;
  103877. if (t3 == null) {
  103878. t1._environment0$_globalModules.$indexSet(0, module, t2);
  103879. t1._environment0$_allModules.push(module);
  103880. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  103881. if (_0_0 != null)
  103882. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  103883. } else {
  103884. t4 = t1._environment0$_modules;
  103885. if (t4.containsKey$1(t3)) {
  103886. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  103887. span = t5 == null ? null : t5.span;
  103888. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  103889. if (span != null)
  103890. t5.$indexSet(0, span, "original @use");
  103891. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  103892. }
  103893. t4.$indexSet(0, t3, module);
  103894. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  103895. t1._environment0$_allModules.push(module);
  103896. }
  103897. },
  103898. $signature: 101
  103899. };
  103900. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  103901. call$0() {
  103902. return this.node.expression.accept$1(this.$this);
  103903. },
  103904. $signature: 47
  103905. };
  103906. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  103907. call$0() {
  103908. var t1, t2, t3, _0_0;
  103909. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  103910. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  103911. if (_0_0 != null)
  103912. return _0_0;
  103913. }
  103914. return null;
  103915. },
  103916. $signature: 41
  103917. };
  103918. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  103919. call$1(child) {
  103920. return child.accept$1(this.$this);
  103921. },
  103922. $signature: 100
  103923. };
  103924. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  103925. call$0() {
  103926. var t1 = this.node,
  103927. t2 = this.$this,
  103928. left = t1.left.accept$1(t2);
  103929. switch (t1.operator) {
  103930. case B.BinaryOperator_Kyq0:
  103931. t1 = t1.right.accept$1(t2);
  103932. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  103933. break;
  103934. case B.BinaryOperator_tKu0:
  103935. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  103936. break;
  103937. case B.BinaryOperator_uke0:
  103938. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  103939. break;
  103940. case B.BinaryOperator_r840:
  103941. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103942. break;
  103943. case B.BinaryOperator_qGq0:
  103944. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103945. break;
  103946. case B.BinaryOperator_o8O0:
  103947. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  103948. break;
  103949. case B.BinaryOperator_JiR0:
  103950. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  103951. break;
  103952. case B.BinaryOperator_qHy0:
  103953. t1 = left.lessThan$1(t1.right.accept$1(t2));
  103954. break;
  103955. case B.BinaryOperator_FPG0:
  103956. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  103957. break;
  103958. case B.BinaryOperator_Swh0:
  103959. t1 = left.plus$1(t1.right.accept$1(t2));
  103960. break;
  103961. case B.BinaryOperator_QG10:
  103962. t1 = left.minus$1(t1.right.accept$1(t2));
  103963. break;
  103964. case B.BinaryOperator_tht0:
  103965. t1 = left.times$1(t1.right.accept$1(t2));
  103966. break;
  103967. case B.BinaryOperator_Mh50:
  103968. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  103969. break;
  103970. case B.BinaryOperator_s7T0:
  103971. t1 = left.modulo$1(t1.right.accept$1(t2));
  103972. break;
  103973. default:
  103974. t1 = null;
  103975. }
  103976. return t1;
  103977. },
  103978. $signature: 47
  103979. };
  103980. A._EvaluateVisitor__slash_recommendation1.prototype = {
  103981. call$1(expression) {
  103982. var t1;
  103983. $label0$0: {
  103984. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  103985. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  103986. break $label0$0;
  103987. }
  103988. if (expression instanceof A.ParenthesizedExpression0) {
  103989. t1 = expression.expression.toString$0(0);
  103990. break $label0$0;
  103991. }
  103992. t1 = expression.toString$0(0);
  103993. break $label0$0;
  103994. }
  103995. return t1;
  103996. },
  103997. $signature: 124
  103998. };
  103999. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  104000. call$0() {
  104001. var t1 = this.node;
  104002. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104003. },
  104004. $signature: 41
  104005. };
  104006. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104007. call$0() {
  104008. var t1, _this = this;
  104009. switch (_this.node.operator) {
  104010. case B.UnaryOperator_Rbl0:
  104011. t1 = _this.operand.unaryPlus$0();
  104012. break;
  104013. case B.UnaryOperator_UCP0:
  104014. t1 = _this.operand.unaryMinus$0();
  104015. break;
  104016. case B.UnaryOperator_lZV0:
  104017. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104018. break;
  104019. case B.UnaryOperator_not_not_not0:
  104020. t1 = _this.operand.unaryNot$0();
  104021. break;
  104022. default:
  104023. t1 = null;
  104024. }
  104025. return t1;
  104026. },
  104027. $signature: 47
  104028. };
  104029. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104030. call$1(expression) {
  104031. return expression.accept$1(this.$this);
  104032. },
  104033. $signature: 461
  104034. };
  104035. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104036. call$0() {
  104037. var t1 = this.node;
  104038. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104039. },
  104040. $signature: 80
  104041. };
  104042. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104043. call$1(argument) {
  104044. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104045. },
  104046. $signature: 123
  104047. };
  104048. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104049. call$0() {
  104050. var t1 = this.node;
  104051. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104052. },
  104053. $signature: 47
  104054. };
  104055. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104056. call$2(message, deprecation) {
  104057. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104058. },
  104059. call$1(message) {
  104060. return this.call$2(message, null);
  104061. },
  104062. $signature: 107
  104063. };
  104064. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104065. call$1(maxArgs) {
  104066. var t1 = this.node,
  104067. t2 = t1.$arguments.positional.length;
  104068. if (t2 === 0)
  104069. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104070. else if (maxArgs != null && t2 > maxArgs)
  104071. 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));
  104072. },
  104073. call$0() {
  104074. return this.call$1(null);
  104075. },
  104076. $signature: 93
  104077. };
  104078. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  104079. call$0() {
  104080. var _this = this,
  104081. t1 = _this.$this,
  104082. t2 = _this._box_0,
  104083. t3 = _this.node,
  104084. t4 = _this.inLegacySassFunction;
  104085. 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));
  104086. },
  104087. $signature: 98
  104088. };
  104089. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  104090. call$2(message, deprecation) {
  104091. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  104092. },
  104093. call$1(message) {
  104094. return this.call$2(message, null);
  104095. },
  104096. $signature: 107
  104097. };
  104098. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  104099. call$0() {
  104100. var t1 = this.node;
  104101. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  104102. },
  104103. $signature: 47
  104104. };
  104105. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  104106. call$0() {
  104107. var _this = this,
  104108. t1 = _this.$this,
  104109. t2 = _this.callable;
  104110. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  104111. },
  104112. $signature() {
  104113. return this.V._eval$1("0()");
  104114. }
  104115. };
  104116. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  104117. call$0() {
  104118. var _this = this,
  104119. t1 = _this.$this,
  104120. t2 = _this.V;
  104121. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  104122. },
  104123. $signature() {
  104124. return this.V._eval$1("0()");
  104125. }
  104126. };
  104127. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  104128. call$0() {
  104129. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  104130. t1 = _this.$this,
  104131. t2 = _this.evaluated._values,
  104132. t3 = _this.callable.declaration.parameters,
  104133. t4 = _this.nodeWithSpan;
  104134. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  104135. parameters = t3.parameters;
  104136. t5 = parameters.length;
  104137. minLength = Math.min(t2[2].length, t5);
  104138. for (i = 0; i < minLength; ++i)
  104139. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  104140. for (i = t2[2].length; i < t5; ++i) {
  104141. parameter = parameters[i];
  104142. t6 = parameter.name;
  104143. value = t2[0].remove$1(0, t6);
  104144. if (value == null) {
  104145. t7 = parameter.defaultValue;
  104146. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  104147. }
  104148. t7 = t1._evaluate0$_environment;
  104149. t8 = t2[1].$index(0, t6);
  104150. if (t8 == null) {
  104151. t8 = parameter.defaultValue;
  104152. t8.toString;
  104153. t8 = t1._evaluate0$_expressionNode$1(t8);
  104154. }
  104155. t7.setLocalVariable$3(t6, value, t8);
  104156. }
  104157. restParameter = t3.restParameter;
  104158. if (restParameter != null) {
  104159. t6 = t2[2];
  104160. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty20;
  104161. t5 = t2[0];
  104162. t6 = t2[4];
  104163. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  104164. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  104165. } else
  104166. argumentList = null;
  104167. result = _this.run.call$0();
  104168. if (argumentList == null)
  104169. return result;
  104170. t5 = t2[0].__js_helper$_length;
  104171. if (t5 === 0)
  104172. return result;
  104173. if (argumentList._argument_list$_wereKeywordsAccessed)
  104174. return result;
  104175. parameterWord = A.pluralize0("parameter", t5, null);
  104176. t2 = t2[0];
  104177. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  104178. 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));
  104179. },
  104180. $signature() {
  104181. return this.V._eval$1("0()");
  104182. }
  104183. };
  104184. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  104185. call$1($name) {
  104186. return "$" + $name;
  104187. },
  104188. $signature: 6
  104189. };
  104190. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  104191. call$0() {
  104192. var t1, t2, t3, t4, _i, $returnValue;
  104193. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  104194. $returnValue = t2[_i].accept$1(t4);
  104195. if ($returnValue instanceof A.Value0)
  104196. return $returnValue;
  104197. }
  104198. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  104199. },
  104200. $signature: 47
  104201. };
  104202. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  104203. call$0() {
  104204. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  104205. },
  104206. $signature: 0
  104207. };
  104208. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  104209. call$0() {
  104210. return this._box_0.callback.call$1(this.evaluated._values[2]);
  104211. },
  104212. $signature: 47
  104213. };
  104214. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  104215. call$1($name) {
  104216. return "$" + $name;
  104217. },
  104218. $signature: 6
  104219. };
  104220. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  104221. call$1(value) {
  104222. return value;
  104223. },
  104224. $signature: 44
  104225. };
  104226. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  104227. call$1(value) {
  104228. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  104229. },
  104230. $signature: 44
  104231. };
  104232. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  104233. call$2(key, value) {
  104234. var _this = this,
  104235. t1 = _this.restNodeForSpan;
  104236. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  104237. _this.namedNodes.$indexSet(0, key, t1);
  104238. },
  104239. $signature: 106
  104240. };
  104241. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  104242. call$1(value) {
  104243. return value;
  104244. },
  104245. $signature: 44
  104246. };
  104247. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  104248. call$1(value) {
  104249. var t1 = this.restArgs;
  104250. return new A.ValueExpression0(value, t1.get$span(t1));
  104251. },
  104252. $signature: 60
  104253. };
  104254. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  104255. call$1(value) {
  104256. var t1 = this.restArgs;
  104257. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  104258. },
  104259. $signature: 60
  104260. };
  104261. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  104262. call$2(key, value) {
  104263. var _this = this,
  104264. t1 = _this.restArgs;
  104265. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  104266. },
  104267. $signature: 106
  104268. };
  104269. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  104270. call$1(value) {
  104271. var t1 = this.keywordRestArgs;
  104272. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  104273. },
  104274. $signature: 60
  104275. };
  104276. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  104277. call$2(key, value) {
  104278. var t2, _this = this,
  104279. t1 = _this.$this;
  104280. if (key instanceof A.SassString0)
  104281. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  104282. else {
  104283. t2 = _this.nodeWithSpan;
  104284. 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)));
  104285. }
  104286. },
  104287. $signature: 111
  104288. };
  104289. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  104290. call$0() {
  104291. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  104292. },
  104293. $signature: 0
  104294. };
  104295. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  104296. call$0() {
  104297. var t1, t2, t3, t4;
  104298. 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();) {
  104299. t4 = t1.__internal$_current;
  104300. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104301. }
  104302. },
  104303. $signature: 1
  104304. };
  104305. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  104306. call$1(node) {
  104307. return node instanceof A.ModifiableCssStyleRule0;
  104308. },
  104309. $signature: 7
  104310. };
  104311. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  104312. call$0() {
  104313. var t1, t2, t3, t4;
  104314. 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();) {
  104315. t4 = t1.__internal$_current;
  104316. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104317. }
  104318. },
  104319. $signature: 1
  104320. };
  104321. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  104322. call$1(node) {
  104323. return node instanceof A.ModifiableCssStyleRule0;
  104324. },
  104325. $signature: 7
  104326. };
  104327. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  104328. call$1(mediaQueries) {
  104329. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  104330. },
  104331. $signature: 108
  104332. };
  104333. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  104334. call$0() {
  104335. var _this = this,
  104336. t1 = _this.$this,
  104337. t2 = _this.mergedQueries;
  104338. if (t2 == null)
  104339. t2 = _this.node.queries;
  104340. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  104341. },
  104342. $signature: 1
  104343. };
  104344. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  104345. call$0() {
  104346. var t2, t3, t4,
  104347. t1 = this.$this,
  104348. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104349. if (_0_0 != null)
  104350. 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);
  104351. else
  104352. 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();) {
  104353. t4 = t2.__internal$_current;
  104354. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104355. }
  104356. },
  104357. $signature: 1
  104358. };
  104359. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  104360. call$0() {
  104361. var t1, t2, t3, t4;
  104362. 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();) {
  104363. t4 = t1.__internal$_current;
  104364. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104365. }
  104366. },
  104367. $signature: 1
  104368. };
  104369. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  104370. call$1(node) {
  104371. var t1;
  104372. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104373. t1 = this.mergedSources;
  104374. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104375. } else
  104376. t1 = true;
  104377. return t1;
  104378. },
  104379. $signature: 7
  104380. };
  104381. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  104382. call$0() {
  104383. var t1 = this.$this;
  104384. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  104385. },
  104386. $signature: 1
  104387. };
  104388. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  104389. call$0() {
  104390. var t1, t2, t3, t4;
  104391. 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();) {
  104392. t4 = t1.__internal$_current;
  104393. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104394. }
  104395. },
  104396. $signature: 1
  104397. };
  104398. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  104399. call$1(node) {
  104400. return node instanceof A.ModifiableCssStyleRule0;
  104401. },
  104402. $signature: 7
  104403. };
  104404. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  104405. call$0() {
  104406. var t2, t3, t4,
  104407. t1 = this.$this,
  104408. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104409. if (_0_0 != null)
  104410. 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);
  104411. else
  104412. 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();) {
  104413. t4 = t2.__internal$_current;
  104414. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104415. }
  104416. },
  104417. $signature: 1
  104418. };
  104419. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  104420. call$0() {
  104421. var t1, t2, t3, t4;
  104422. 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();) {
  104423. t4 = t1.__internal$_current;
  104424. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104425. }
  104426. },
  104427. $signature: 1
  104428. };
  104429. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  104430. call$1(node) {
  104431. return node instanceof A.ModifiableCssStyleRule0;
  104432. },
  104433. $signature: 7
  104434. };
  104435. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  104436. call$1(targetLocations) {
  104437. return A.InterpolationMap$0(this.interpolation, targetLocations);
  104438. },
  104439. $signature: 192
  104440. };
  104441. A._EvaluateVisitor__serialize_closure1.prototype = {
  104442. call$0() {
  104443. return A.serializeValue0(this.value, false, this.quote);
  104444. },
  104445. $signature: 32
  104446. };
  104447. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  104448. call$0() {
  104449. var t1 = this.expression;
  104450. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  104451. },
  104452. $signature: 191
  104453. };
  104454. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  104455. call$1(number) {
  104456. var before, after, t1,
  104457. _1_0 = number.asSlash;
  104458. $label0$0: {
  104459. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  104460. before = _1_0._0;
  104461. after = _1_0._1;
  104462. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  104463. break $label0$0;
  104464. }
  104465. t1 = A.serializeValue0(number, true, true);
  104466. break $label0$0;
  104467. }
  104468. return t1;
  104469. },
  104470. $signature: 189
  104471. };
  104472. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  104473. call$1(url) {
  104474. var t1 = this.$this._evaluate0$_importCache;
  104475. t1 = t1 == null ? null : t1.humanize$1(url);
  104476. return t1 == null ? url : t1;
  104477. },
  104478. $signature: 51
  104479. };
  104480. A._ImportedCssVisitor1.prototype = {
  104481. visitCssAtRule$1(node) {
  104482. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  104483. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  104484. },
  104485. visitCssComment$1(node) {
  104486. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  104487. },
  104488. visitCssDeclaration$1(node) {
  104489. },
  104490. visitCssImport$1(node) {
  104491. var t2,
  104492. _s13_ = "_endOfImports",
  104493. t1 = this._evaluate0$_visitor;
  104494. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  104495. t1._evaluate0$_addChild$1(node);
  104496. 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)) {
  104497. t1._evaluate0$_addChild$1(node);
  104498. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  104499. } else {
  104500. t2 = t1._evaluate0$_outOfOrderImports;
  104501. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  104502. }
  104503. },
  104504. visitCssKeyframeBlock$1(node) {
  104505. },
  104506. visitCssMediaRule$1(node) {
  104507. var t1 = this._evaluate0$_visitor,
  104508. mediaQueries = t1._evaluate0$_mediaQueries;
  104509. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  104510. },
  104511. visitCssStyleRule$1(node) {
  104512. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  104513. },
  104514. visitCssStylesheet$1(node) {
  104515. var t1, t2, t3;
  104516. 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();) {
  104517. t3 = t1.__internal$_current;
  104518. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  104519. }
  104520. },
  104521. visitCssSupportsRule$1(node) {
  104522. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  104523. }
  104524. };
  104525. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  104526. call$1(node) {
  104527. return node instanceof A.ModifiableCssStyleRule0;
  104528. },
  104529. $signature: 7
  104530. };
  104531. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  104532. call$1(node) {
  104533. var t1;
  104534. if (!(node instanceof A.ModifiableCssStyleRule0))
  104535. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  104536. else
  104537. t1 = true;
  104538. return t1;
  104539. },
  104540. $signature: 7
  104541. };
  104542. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  104543. call$1(node) {
  104544. return node instanceof A.ModifiableCssStyleRule0;
  104545. },
  104546. $signature: 7
  104547. };
  104548. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  104549. call$1(node) {
  104550. return node instanceof A.ModifiableCssStyleRule0;
  104551. },
  104552. $signature: 7
  104553. };
  104554. A._EvaluationContext1.prototype = {
  104555. get$currentCallableSpan() {
  104556. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  104557. if (_0_0 != null)
  104558. return _0_0.get$span(_0_0);
  104559. throw A.wrapException(A.StateError$(string$.No_Sasc));
  104560. },
  104561. warn$2(_, message, deprecation) {
  104562. var t1 = this._evaluate0$_visitor,
  104563. t2 = t1._evaluate0$_importSpan;
  104564. if (t2 == null) {
  104565. t2 = t1._evaluate0$_callableNode;
  104566. t2 = t2 == null ? null : t2.get$span(t2);
  104567. }
  104568. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  104569. },
  104570. $isEvaluationContext0: 1
  104571. };
  104572. A.EveryCssVisitor0.prototype = {
  104573. visitCssAtRule$1(node) {
  104574. var t1 = node.children;
  104575. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  104576. },
  104577. visitCssComment$1(node) {
  104578. return false;
  104579. },
  104580. visitCssDeclaration$1(node) {
  104581. return false;
  104582. },
  104583. visitCssImport$1(node) {
  104584. return false;
  104585. },
  104586. visitCssKeyframeBlock$1(node) {
  104587. var t1 = node.children;
  104588. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  104589. },
  104590. visitCssMediaRule$1(node) {
  104591. var t1 = node.children;
  104592. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  104593. },
  104594. visitCssStyleRule$1(node) {
  104595. var t1 = node.children;
  104596. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  104597. },
  104598. visitCssStylesheet$1(node) {
  104599. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  104600. },
  104601. visitCssSupportsRule$1(node) {
  104602. var t1 = node.children;
  104603. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  104604. }
  104605. };
  104606. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  104607. call$1(child) {
  104608. return child.accept$1(this.$this);
  104609. },
  104610. $signature: 7
  104611. };
  104612. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  104613. call$1(child) {
  104614. return child.accept$1(this.$this);
  104615. },
  104616. $signature: 7
  104617. };
  104618. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  104619. call$1(child) {
  104620. return child.accept$1(this.$this);
  104621. },
  104622. $signature: 7
  104623. };
  104624. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  104625. call$1(child) {
  104626. return child.accept$1(this.$this);
  104627. },
  104628. $signature: 7
  104629. };
  104630. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  104631. call$1(child) {
  104632. return child.accept$1(this.$this);
  104633. },
  104634. $signature: 7
  104635. };
  104636. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  104637. call$1(child) {
  104638. return child.accept$1(this.$this);
  104639. },
  104640. $signature: 7
  104641. };
  104642. A._NodeException.prototype = {};
  104643. A.exceptionClass_closure.prototype = {
  104644. call$0() {
  104645. 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());
  104646. A.defineGetter(jsClass, "name", null, "sass.Exception");
  104647. 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));
  104648. return jsClass;
  104649. },
  104650. $signature: 15
  104651. };
  104652. A.exceptionClass__closure.prototype = {
  104653. call$1(exception) {
  104654. return J.get$_dartException$x(exception)._span_exception$_message;
  104655. },
  104656. $signature: 243
  104657. };
  104658. A.exceptionClass__closure0.prototype = {
  104659. call$1(exception) {
  104660. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  104661. },
  104662. $signature: 243
  104663. };
  104664. A.exceptionClass__closure1.prototype = {
  104665. call$1(exception) {
  104666. var t1 = J.get$_dartException$x(exception),
  104667. t2 = J.getInterceptor$z(t1);
  104668. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  104669. },
  104670. $signature: 463
  104671. };
  104672. A.SassException0.prototype = {
  104673. get$trace(_) {
  104674. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  104675. },
  104676. get$span(_) {
  104677. return A.SourceSpanException.prototype.get$span.call(this, 0);
  104678. },
  104679. withAdditionalSpan$2(span, label) {
  104680. 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);
  104681. },
  104682. withTrace$1(trace) {
  104683. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104684. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  104685. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  104686. },
  104687. withLoadedUrls$1(loadedUrls) {
  104688. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104689. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104690. return new A.SassException0(t2, this._span_exception$_message, t1);
  104691. },
  104692. toString$1$color(_, color) {
  104693. var t2, _i, frame, t3, _this = this,
  104694. buffer = new A.StringBuffer(""),
  104695. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  104696. buffer._contents = t1;
  104697. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  104698. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104699. frame = t1[_i];
  104700. if (frame.length === 0)
  104701. continue;
  104702. t3 = buffer._contents += "\n";
  104703. buffer._contents = t3 + (" " + frame);
  104704. }
  104705. t1 = buffer._contents;
  104706. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104707. },
  104708. toString$0(_) {
  104709. return this.toString$1$color(0, null);
  104710. }
  104711. };
  104712. A.MultiSpanSassException0.prototype = {
  104713. withAdditionalSpan$2(span, label) {
  104714. var _this = this,
  104715. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104716. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104717. t2.$indexSet(0, span, label);
  104718. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104719. },
  104720. withTrace$1(trace) {
  104721. var _this = this;
  104722. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  104723. },
  104724. withLoadedUrls$1(loadedUrls) {
  104725. var _this = this;
  104726. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104727. },
  104728. toString$1$color(_, color) {
  104729. var t1, t2, _i, frame, t3, _this = this,
  104730. useColor = color === true,
  104731. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  104732. 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));
  104733. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104734. frame = t1[_i];
  104735. if (frame.length === 0)
  104736. continue;
  104737. t3 = buffer._contents += "\n";
  104738. buffer._contents = t3 + (" " + frame);
  104739. }
  104740. t1 = buffer._contents;
  104741. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104742. },
  104743. toString$0(_) {
  104744. return this.toString$1$color(0, null);
  104745. },
  104746. get$primaryLabel() {
  104747. return this.primaryLabel;
  104748. },
  104749. get$secondarySpans() {
  104750. return this.secondarySpans;
  104751. }
  104752. };
  104753. A.SassRuntimeException0.prototype = {
  104754. withAdditionalSpan$2(span, label) {
  104755. var _this = this;
  104756. 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);
  104757. },
  104758. withLoadedUrls$1(loadedUrls) {
  104759. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104760. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104761. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  104762. },
  104763. get$trace(receiver) {
  104764. return this.trace;
  104765. }
  104766. };
  104767. A.MultiSpanSassRuntimeException0.prototype = {
  104768. withAdditionalSpan$2(span, label) {
  104769. var _this = this,
  104770. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104771. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104772. t2.$indexSet(0, span, label);
  104773. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  104774. },
  104775. withLoadedUrls$1(loadedUrls) {
  104776. var _this = this;
  104777. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  104778. },
  104779. $isSassRuntimeException0: 1,
  104780. get$trace(receiver) {
  104781. return this.trace;
  104782. }
  104783. };
  104784. A.SassFormatException0.prototype = {
  104785. get$source() {
  104786. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104787. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104788. },
  104789. withAdditionalSpan$2(span, label) {
  104790. 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);
  104791. },
  104792. withLoadedUrls$1(loadedUrls) {
  104793. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104794. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104795. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  104796. },
  104797. $isFormatException: 1,
  104798. $isSourceSpanFormatException: 1
  104799. };
  104800. A.MultiSpanSassFormatException0.prototype = {
  104801. get$source() {
  104802. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  104803. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  104804. },
  104805. withAdditionalSpan$2(span, label) {
  104806. var _this = this,
  104807. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104808. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104809. t2.$indexSet(0, span, label);
  104810. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104811. },
  104812. withLoadedUrls$1(loadedUrls) {
  104813. var _this = this;
  104814. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104815. },
  104816. $isFormatException: 1,
  104817. $isSourceSpanFormatException: 1,
  104818. $isMultiSourceSpanFormatException: 1,
  104819. $isSassFormatException0: 1
  104820. };
  104821. A.SassScriptException0.prototype = {
  104822. withSpan$1(span) {
  104823. return new A.SassException0(B.Set_empty, this.message, span);
  104824. },
  104825. toString$0(_) {
  104826. return this.message + string$.x0a_BUG_;
  104827. },
  104828. get$message(receiver) {
  104829. return this.message;
  104830. }
  104831. };
  104832. A.MultiSpanSassScriptException0.prototype = {
  104833. withSpan$1(span) {
  104834. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  104835. }
  104836. };
  104837. A.Exports.prototype = {};
  104838. A.LoggerNamespace.prototype = {};
  104839. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  104840. A.JSExpressionVisitor.prototype = {
  104841. visitBinaryOperationExpression$1(_, node) {
  104842. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  104843. },
  104844. visitBooleanExpression$1(_, node) {
  104845. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  104846. },
  104847. visitColorExpression$1(_, node) {
  104848. return J.visitColorExpression$1$x(this._expression$_inner, node);
  104849. },
  104850. visitInterpolatedFunctionExpression$1(_, node) {
  104851. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  104852. },
  104853. visitFunctionExpression$1(_, node) {
  104854. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  104855. },
  104856. visitIfExpression$1(_, node) {
  104857. return J.visitIfExpression$1$x(this._expression$_inner, node);
  104858. },
  104859. visitListExpression$1(_, node) {
  104860. return J.visitListExpression$1$x(this._expression$_inner, node);
  104861. },
  104862. visitMapExpression$1(_, node) {
  104863. return J.visitMapExpression$1$x(this._expression$_inner, node);
  104864. },
  104865. visitNullExpression$1(_, node) {
  104866. return J.visitNullExpression$1$x(this._expression$_inner, node);
  104867. },
  104868. visitNumberExpression$1(_, node) {
  104869. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  104870. },
  104871. visitParenthesizedExpression$1(_, node) {
  104872. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  104873. },
  104874. visitSelectorExpression$1(_, node) {
  104875. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  104876. },
  104877. visitStringExpression$1(_, node) {
  104878. return J.visitStringExpression$1$x(this._expression$_inner, node);
  104879. },
  104880. visitSupportsExpression$1(_, node) {
  104881. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  104882. },
  104883. visitUnaryOperationExpression$1(_, node) {
  104884. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  104885. },
  104886. visitValueExpression$1(_, node) {
  104887. return J.visitValueExpression$1$x(this._expression$_inner, node);
  104888. },
  104889. visitVariableExpression$1(_, node) {
  104890. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  104891. },
  104892. $isExpressionVisitor: 1
  104893. };
  104894. A.JSExpressionVisitorObject.prototype = {};
  104895. A._MakeExpressionCalculationSafe0.prototype = {
  104896. visitBinaryOperationExpression$1(_, node) {
  104897. var t1, t2, t3, t4;
  104898. if (node.operator === B.BinaryOperator_s7T0) {
  104899. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  104900. t2 = node.get$span(0);
  104901. t3 = type$.Expression_2;
  104902. t1 = A.List_List$unmodifiable(t1, t3);
  104903. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  104904. t4 = node.get$span(0);
  104905. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  104906. } else
  104907. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  104908. return t1;
  104909. },
  104910. visitInterpolatedFunctionExpression$1(_, node) {
  104911. return node;
  104912. },
  104913. visitUnaryOperationExpression$1(_, node) {
  104914. var t1,
  104915. _0_0 = node.operator;
  104916. $label0$0: {
  104917. if (B.UnaryOperator_Rbl0 === _0_0) {
  104918. t1 = node.operand;
  104919. break $label0$0;
  104920. }
  104921. if (B.UnaryOperator_UCP0 === _0_0) {
  104922. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_tht0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  104923. break $label0$0;
  104924. }
  104925. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  104926. break $label0$0;
  104927. }
  104928. return t1;
  104929. },
  104930. $isExpressionVisitor: 1
  104931. };
  104932. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  104933. A.ExtendRule0.prototype = {
  104934. accept$1$1(visitor) {
  104935. return visitor.visitExtendRule$1(0, this);
  104936. },
  104937. accept$1(visitor) {
  104938. return this.accept$1$1(visitor, type$.dynamic);
  104939. },
  104940. toString$0(_) {
  104941. var t1 = this.selector.toString$0(0),
  104942. t2 = this.isOptional ? " !optional" : "";
  104943. return "@extend " + t1 + t2 + ";";
  104944. },
  104945. get$span(receiver) {
  104946. return this.span;
  104947. }
  104948. };
  104949. A.Extension0.prototype = {
  104950. toString$0(_) {
  104951. var t1 = this.extender.toString$0(0),
  104952. t2 = this.target.toString$0(0),
  104953. t3 = this.isOptional ? " !optional" : "";
  104954. return t1 + " {@extend " + t2 + t3 + "}";
  104955. }
  104956. };
  104957. A.Extender0.prototype = {
  104958. assertCompatibleMediaContext$1(mediaContext) {
  104959. var expectedMediaContext,
  104960. extension = this._extension$_extension;
  104961. if (extension == null)
  104962. return;
  104963. expectedMediaContext = extension.mediaContext;
  104964. if (expectedMediaContext == null)
  104965. return;
  104966. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  104967. return;
  104968. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  104969. },
  104970. toString$0(_) {
  104971. return A.serializeSelector0(this.selector, true);
  104972. }
  104973. };
  104974. A.ExtensionStore0.prototype = {
  104975. get$isEmpty(_) {
  104976. return this._extension_store$_extensions.__js_helper$_length === 0;
  104977. },
  104978. get$simpleSelectors() {
  104979. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  104980. },
  104981. extensionsWhereTarget$1(callback) {
  104982. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  104983. },
  104984. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  104985. var $async$self = this;
  104986. return function() {
  104987. var callback = $async$callback;
  104988. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  104989. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  104990. if ($async$errorCode === 1) {
  104991. $async$errorStack.push($async$result);
  104992. $async$goto = $async$handler;
  104993. }
  104994. while (true)
  104995. switch ($async$goto) {
  104996. case 0:
  104997. // Function start
  104998. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  104999. case 2:
  105000. // for condition
  105001. if (!t1.moveNext$0()) {
  105002. // goto after for
  105003. $async$goto = 3;
  105004. break;
  105005. }
  105006. t2 = t1.get$current(t1);
  105007. simple = t2._0;
  105008. sources = t2._1;
  105009. if (!callback.call$1(simple)) {
  105010. // goto for condition
  105011. $async$goto = 2;
  105012. break;
  105013. }
  105014. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105015. case 4:
  105016. // for condition
  105017. if (!t2.moveNext$0()) {
  105018. // goto after for
  105019. $async$goto = 5;
  105020. break;
  105021. }
  105022. t3 = t2.get$current(t2);
  105023. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105024. break;
  105025. case 6:
  105026. // then
  105027. t3 = t3.unmerge$0();
  105028. $async$goto = 9;
  105029. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105030. case 9:
  105031. // after yield
  105032. // goto join
  105033. $async$goto = 7;
  105034. break;
  105035. case 8:
  105036. // else
  105037. $async$goto = !t3.isOptional ? 10 : 11;
  105038. break;
  105039. case 10:
  105040. // then
  105041. $async$goto = 12;
  105042. return $async$iterator._async$_current = t3, 1;
  105043. case 12:
  105044. // after yield
  105045. case 11:
  105046. // join
  105047. case 7:
  105048. // join
  105049. // goto for condition
  105050. $async$goto = 4;
  105051. break;
  105052. case 5:
  105053. // after for
  105054. // goto for condition
  105055. $async$goto = 2;
  105056. break;
  105057. case 3:
  105058. // after for
  105059. // implicit return
  105060. return 0;
  105061. case 1:
  105062. // rethrow
  105063. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105064. }
  105065. };
  105066. };
  105067. },
  105068. addSelector$2(selector, mediaContext) {
  105069. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105070. selector = selector;
  105071. originalSelector = selector;
  105072. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105073. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105074. t1 = _this._extension_store$_extensions;
  105075. if (t1.__js_helper$_length !== 0)
  105076. try {
  105077. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105078. } catch (exception) {
  105079. t1 = A.unwrapException(exception);
  105080. if (t1 instanceof A.SassException0) {
  105081. error = t1;
  105082. stackTrace = A.getTraceFromException(exception);
  105083. t1 = error;
  105084. t2 = J.getInterceptor$z(t1);
  105085. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  105086. t2 = error._span_exception$_message;
  105087. t3 = error;
  105088. t4 = J.getInterceptor$z(t3);
  105089. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  105090. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  105091. } else
  105092. throw exception;
  105093. }
  105094. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  105095. if (mediaContext != null)
  105096. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  105097. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  105098. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  105099. },
  105100. _extension_store$_registerSelector$2(list, selector) {
  105101. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  105102. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  105103. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  105104. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  105105. simple = t7[_i1];
  105106. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  105107. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105108. if (_0_2_isSet) {
  105109. _0_2 = simple.selector;
  105110. t9 = _0_2 != null;
  105111. } else {
  105112. _0_2 = null;
  105113. t9 = false;
  105114. }
  105115. if (t9) {
  105116. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  105117. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  105118. }
  105119. }
  105120. },
  105121. addExtension$4(extender, target, extend, mediaContext) {
  105122. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  105123. selectors = _this._extension_store$_selectors.$index(0, target),
  105124. t1 = _this._extension_store$_extensionsByExtender,
  105125. existingExtensions = t1.$index(0, target),
  105126. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  105127. 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) {
  105128. complex = t2[_i];
  105129. if (complex.accept$1(B.C__IsUselessVisitor0))
  105130. continue;
  105131. complex.get$specificity();
  105132. t11 = new A.Extender0(complex, false);
  105133. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  105134. _0_0 = sources.$index(0, complex);
  105135. if (_0_0 != null) {
  105136. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  105137. continue;
  105138. }
  105139. sources.$indexSet(0, complex, extension);
  105140. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  105141. t12 = t11._async$_current;
  105142. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  105143. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  105144. }
  105145. if (!t4 || t8) {
  105146. if (newExtensions == null)
  105147. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  105148. newExtensions.$indexSet(0, complex, extension);
  105149. }
  105150. }
  105151. if (newExtensions == null)
  105152. return;
  105153. t1 = type$.SimpleSelector_2;
  105154. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  105155. if (t8) {
  105156. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  105157. if (additionalExtensions != null)
  105158. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  105159. }
  105160. if (!t4)
  105161. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  105162. },
  105163. _extension_store$_simpleSelectors$1(complex) {
  105164. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  105165. },
  105166. _simpleSelectors$body$ExtensionStore0($async$complex) {
  105167. var $async$self = this;
  105168. return function() {
  105169. var complex = $async$complex;
  105170. 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;
  105171. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  105172. if ($async$errorCode === 1) {
  105173. $async$errorStack.push($async$result);
  105174. $async$goto = $async$handler;
  105175. }
  105176. while (true)
  105177. switch ($async$goto) {
  105178. case 0:
  105179. // Function start
  105180. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  105181. case 2:
  105182. // for condition
  105183. if (!(_i < t2)) {
  105184. // goto after for
  105185. $async$goto = 4;
  105186. break;
  105187. }
  105188. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  105189. case 5:
  105190. // for condition
  105191. if (!(_i0 < t5)) {
  105192. // goto after for
  105193. $async$goto = 7;
  105194. break;
  105195. }
  105196. simple = t4[_i0];
  105197. $async$goto = 8;
  105198. return $async$iterator._async$_current = simple, 1;
  105199. case 8:
  105200. // after yield
  105201. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105202. if (_0_2_isSet) {
  105203. _0_2 = simple.selector;
  105204. t6 = _0_2 != null;
  105205. } else {
  105206. _0_2 = null;
  105207. t6 = false;
  105208. }
  105209. $async$goto = t6 ? 9 : 10;
  105210. break;
  105211. case 9:
  105212. // then
  105213. selector = _0_2_isSet ? _0_2 : simple.selector;
  105214. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  105215. case 11:
  105216. // for condition
  105217. if (!(_i1 < t7)) {
  105218. // goto after for
  105219. $async$goto = 13;
  105220. break;
  105221. }
  105222. $async$goto = 14;
  105223. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  105224. case 14:
  105225. // after yield
  105226. case 12:
  105227. // for update
  105228. ++_i1;
  105229. // goto for condition
  105230. $async$goto = 11;
  105231. break;
  105232. case 13:
  105233. // after for
  105234. case 10:
  105235. // join
  105236. case 6:
  105237. // for update
  105238. ++_i0;
  105239. // goto for condition
  105240. $async$goto = 5;
  105241. break;
  105242. case 7:
  105243. // after for
  105244. case 3:
  105245. // for update
  105246. ++_i;
  105247. // goto for condition
  105248. $async$goto = 2;
  105249. break;
  105250. case 4:
  105251. // after for
  105252. // implicit return
  105253. return 0;
  105254. case 1:
  105255. // rethrow
  105256. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105257. }
  105258. };
  105259. };
  105260. },
  105261. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  105262. 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;
  105263. 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) {
  105264. extension = t1[_i];
  105265. t7 = t6.$index(0, extension.target);
  105266. t7.toString;
  105267. selectors = null;
  105268. try {
  105269. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  105270. if (selectors == null)
  105271. continue;
  105272. } catch (exception) {
  105273. t8 = A.unwrapException(exception);
  105274. if (t8 instanceof A.SassException0) {
  105275. error = t8;
  105276. stackTrace = A.getTraceFromException(exception);
  105277. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  105278. } else
  105279. throw exception;
  105280. }
  105281. t8 = J.get$first$ax(selectors);
  105282. t9 = extension.extender.selector;
  105283. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  105284. t8 = selectors;
  105285. t9 = A._arrayInstanceType(t8);
  105286. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  105287. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  105288. selectors = selectors0;
  105289. }
  105290. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  105291. t9 = t8.get$current(t8);
  105292. t10 = extension;
  105293. t11 = t10.target;
  105294. t12 = t10.span;
  105295. t13 = t10.mediaContext;
  105296. t10 = t10.isOptional;
  105297. t9.get$specificity();
  105298. t14 = new A.Extender0(t9, false);
  105299. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  105300. _0_0 = t7.$index(0, t9);
  105301. if (_0_0 != null)
  105302. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  105303. else {
  105304. t7.$indexSet(0, t9, withExtender);
  105305. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  105306. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  105307. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  105308. if (newExtensions.containsKey$1(extension.target)) {
  105309. if (additionalExtensions == null)
  105310. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  105311. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  105312. }
  105313. }
  105314. }
  105315. }
  105316. return additionalExtensions;
  105317. },
  105318. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  105319. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  105320. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  105321. selector = t1.get$current(t1);
  105322. oldValue = selector.value;
  105323. try {
  105324. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  105325. } catch (exception) {
  105326. t3 = A.unwrapException(exception);
  105327. if (t3 instanceof A.SassException0) {
  105328. error = t3;
  105329. stackTrace = A.getTraceFromException(exception);
  105330. t3 = selector.value.span.message$1(0, "");
  105331. t4 = error._span_exception$_message;
  105332. t5 = error;
  105333. t6 = J.getInterceptor$z(t5);
  105334. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  105335. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  105336. } else
  105337. throw exception;
  105338. }
  105339. if (oldValue === selector.value)
  105340. continue;
  105341. this._extension_store$_registerSelector$2(selector.value, selector);
  105342. }
  105343. },
  105344. addExtensions$1(extensionStores) {
  105345. 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;
  105346. 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();) {
  105347. t12 = t1.get$current(t1);
  105348. if (t12.get$isEmpty(t12))
  105349. continue;
  105350. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  105351. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  105352. t13 = t12.get$current(t12);
  105353. target = t13._0;
  105354. newSources = t13._1;
  105355. if (target instanceof A.PlaceholderSelector0) {
  105356. first = target.name.charCodeAt(0);
  105357. t13 = first === 45 || first === 95;
  105358. } else
  105359. t13 = false;
  105360. if (t13)
  105361. continue;
  105362. extensionsForTarget = t8.$index(0, target);
  105363. t13 = extensionsForTarget == null;
  105364. if (!t13) {
  105365. if (extensionsToExtend == null) {
  105366. extensionsToExtend = A._setArrayType([], t9);
  105367. t14 = extensionsToExtend;
  105368. } else
  105369. t14 = extensionsToExtend;
  105370. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  105371. }
  105372. selectorsForTarget = t7.$index(0, target);
  105373. t14 = selectorsForTarget != null;
  105374. if (t14) {
  105375. if (selectorsToExtend == null) {
  105376. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  105377. t15 = selectorsToExtend;
  105378. } else
  105379. t15 = selectorsToExtend;
  105380. t15.addAll$1(0, selectorsForTarget);
  105381. }
  105382. _2_0 = t4.$index(0, target);
  105383. if (_2_0 != null)
  105384. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  105385. t16 = t15.get$current(t15);
  105386. extender = t16._0;
  105387. extension = t16._1;
  105388. if (_2_0.containsKey$1(extender)) {
  105389. t16 = _2_0.$index(0, extender);
  105390. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  105391. _2_0.$indexSet(0, extender, extension);
  105392. } else
  105393. _2_0.$indexSet(0, extender, extension);
  105394. if (!t13 || t14) {
  105395. if (newExtensions == null) {
  105396. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105397. t16 = newExtensions;
  105398. } else
  105399. t16 = newExtensions;
  105400. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  105401. }
  105402. }
  105403. else {
  105404. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105405. t15.addAll$1(0, newSources);
  105406. t4.$indexSet(0, target, t15);
  105407. if (!t13 || t14) {
  105408. if (newExtensions == null) {
  105409. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105410. t13 = newExtensions;
  105411. } else
  105412. t13 = newExtensions;
  105413. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105414. t14.addAll$1(0, newSources);
  105415. t13.$indexSet(0, target, t14);
  105416. }
  105417. }
  105418. }
  105419. }
  105420. if (newExtensions != null) {
  105421. if (extensionsToExtend != null)
  105422. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  105423. if (selectorsToExtend != null)
  105424. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  105425. }
  105426. },
  105427. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  105428. var t1, t2, t3, extended, i, complex, result, t4;
  105429. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  105430. complex = t1[i];
  105431. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  105432. if (result == null) {
  105433. if (extended != null)
  105434. extended.push(complex);
  105435. } else {
  105436. if (extended == null)
  105437. if (i === 0)
  105438. extended = A._setArrayType([], t3);
  105439. else {
  105440. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  105441. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  105442. }
  105443. B.JSArray_methods.addAll$1(extended, result);
  105444. }
  105445. }
  105446. if (extended == null)
  105447. return list;
  105448. t1 = this._extension_store$_originals;
  105449. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  105450. },
  105451. _extension_store$_extendList$2(list, extensions) {
  105452. return this._extension_store$_extendList$3(list, extensions, null);
  105453. },
  105454. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  105455. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  105456. t1 = complex.leadingCombinators,
  105457. t2 = t1.length;
  105458. if (t2 > 1)
  105459. return null;
  105460. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  105461. 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) {
  105462. component = t3[i];
  105463. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  105464. if (extended == null) {
  105465. if (extendedNotExpanded != null)
  105466. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  105467. } else if (extendedNotExpanded != null)
  105468. extendedNotExpanded.push(extended);
  105469. else if (i !== 0) {
  105470. t11 = A._arrayInstanceType(t3);
  105471. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  105472. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  105473. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  105474. } else if (t2)
  105475. extendedNotExpanded = A._setArrayType([extended], t5);
  105476. else {
  105477. t11 = A._setArrayType([], t9);
  105478. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  105479. t13 = t12.get$current(t12);
  105480. t14 = t13.leadingCombinators;
  105481. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  105482. t14 = t13.components;
  105483. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  105484. }
  105485. }
  105486. extendedNotExpanded = A._setArrayType([t11], t5);
  105487. }
  105488. }
  105489. if (extendedNotExpanded == null)
  105490. return null;
  105491. _box_0.first = true;
  105492. t1 = type$.ComplexSelector_2;
  105493. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  105494. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  105495. },
  105496. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  105497. 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,
  105498. t1 = _this._extension_store$_mode,
  105499. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  105500. t2 = component.selector,
  105501. simples = t2.components;
  105502. 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) {
  105503. simple = simples[i];
  105504. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  105505. if (extended == null) {
  105506. if (options != null)
  105507. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  105508. } else {
  105509. if (options == null) {
  105510. options = A._setArrayType([], t4);
  105511. if (i !== 0) {
  105512. t12 = new A.SubListIterable(simples, 0, i, t8);
  105513. t12.SubListIterable$3(simples, 0, i, t9);
  105514. result = A.List_List$from(t12, false, t11);
  105515. result.$flags = 3;
  105516. t12 = result;
  105517. compound = new A.CompoundSelector0(t12, t10);
  105518. if (t12.length === 0)
  105519. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  105520. result = A.List_List$from(B.List_empty14, false, t6);
  105521. result.$flags = 3;
  105522. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  105523. _this._extension_store$_sourceSpecificityFor$1(compound);
  105524. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  105525. }
  105526. }
  105527. B.JSArray_methods.addAll$1(options, extended);
  105528. }
  105529. }
  105530. if (options == null)
  105531. return _null;
  105532. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  105533. return _null;
  105534. if (options.length === 1) {
  105535. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  105536. t4 = t1.get$current(t1);
  105537. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  105538. complex = t4.selector.withAdditionalCombinators$1(t2);
  105539. if (complex.accept$1(B.C__IsUselessVisitor0))
  105540. continue;
  105541. if (result == null)
  105542. result = A._setArrayType([], t3);
  105543. result.push(complex);
  105544. }
  105545. return result;
  105546. }
  105547. extenderPaths = A.paths0(options, type$.Extender_2);
  105548. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105549. t1 = t1 === B.ExtendMode_replace_replace0;
  105550. t4 = !t1;
  105551. if (t4)
  105552. 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));
  105553. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  105554. t5 = t2.$ti;
  105555. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  105556. t6 = component.combinators;
  105557. t5 = t5._eval$1("ListIterable.E");
  105558. for (; t2.moveNext$0();) {
  105559. t1 = t2.__internal$_current;
  105560. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  105561. if (extended == null)
  105562. continue;
  105563. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  105564. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  105565. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  105566. t3.push(withCombinators);
  105567. }
  105568. }
  105569. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  105570. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  105571. },
  105572. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  105573. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  105574. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  105575. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  105576. t4 = t2.get$current(t2);
  105577. if (t4.isOriginal) {
  105578. if (originals == null)
  105579. originals = A._setArrayType([], t3);
  105580. t4 = t4.selector;
  105581. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  105582. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  105583. } else {
  105584. t4 = t4.selector;
  105585. if (t4.accept$1(B.C__IsUselessVisitor0))
  105586. return _null;
  105587. else
  105588. toUnify._queue_list$_add$1(t4);
  105589. }
  105590. }
  105591. if (originals != null)
  105592. 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));
  105593. complexes = A.unifyComplex0(toUnify, span);
  105594. if (complexes == null)
  105595. return _null;
  105596. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  105597. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  105598. return complexes;
  105599. },
  105600. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  105601. var t2, _1_0,
  105602. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  105603. if (simple instanceof A.PseudoSelector0)
  105604. t2 = simple.selector != null;
  105605. else
  105606. t2 = false;
  105607. if (t2) {
  105608. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  105609. if (_1_0 != null)
  105610. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  105611. }
  105612. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  105613. },
  105614. _extension_store$_extenderForSimple$1(simple) {
  105615. var t1 = simple.span;
  105616. 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);
  105617. this._extension_store$_sourceSpecificity.$index(0, simple);
  105618. return new A.Extender0(t1, true);
  105619. },
  105620. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  105621. var extended, complexes, t1, result,
  105622. selector = pseudo.selector;
  105623. if (selector == null)
  105624. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  105625. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  105626. if (extended === selector)
  105627. return null;
  105628. complexes = extended.components;
  105629. t1 = pseudo.normalizedName === "not";
  105630. 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()))
  105631. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  105632. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  105633. if (t1 && selector.components.length === 1) {
  105634. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  105635. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  105636. return result.length === 0 ? null : result;
  105637. } else
  105638. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  105639. },
  105640. _extension_store$_trim$2(selectors, isOriginal) {
  105641. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  105642. if (selectors.length > 100)
  105643. return selectors;
  105644. result = A.QueueList$(null, type$.ComplexSelector_2);
  105645. $label0$0:
  105646. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  105647. _box_0 = {};
  105648. complex1 = selectors[i];
  105649. if (isOriginal.call$1(complex1)) {
  105650. for (j = 0; j < numOriginals; ++j)
  105651. if (result.$index(0, j).$eq(0, complex1)) {
  105652. A.rotateSlice0(result, 0, j + 1);
  105653. continue $label0$0;
  105654. }
  105655. ++numOriginals;
  105656. result.addFirst$1(complex1);
  105657. continue $label0$0;
  105658. }
  105659. _box_0.maxSpecificity = 0;
  105660. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  105661. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  105662. _box_0.maxSpecificity = maxSpecificity;
  105663. }
  105664. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  105665. continue $label0$0;
  105666. t3 = new A.SubListIterable(selectors, 0, i, t1);
  105667. t3.SubListIterable$3(selectors, 0, i, t2);
  105668. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  105669. continue $label0$0;
  105670. result.addFirst$1(complex1);
  105671. }
  105672. return result;
  105673. },
  105674. _extension_store$_sourceSpecificityFor$1(compound) {
  105675. var t1, t2, t3, specificity, _i, t4;
  105676. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  105677. t4 = t3.$index(0, t1[_i]);
  105678. if (t4 == null)
  105679. t4 = 0;
  105680. specificity = Math.max(specificity, t4);
  105681. }
  105682. return specificity;
  105683. },
  105684. clone$0() {
  105685. var t2, t3, t4, _this = this,
  105686. t1 = type$.SimpleSelector_2,
  105687. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  105688. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  105689. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  105690. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  105691. t2 = type$.Extension_2;
  105692. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  105693. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  105694. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  105695. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  105696. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  105697. t4.addAll$1(0, _this._extension_store$_originals);
  105698. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  105699. },
  105700. get$_extension_store$_extensions() {
  105701. return this._extension_store$_extensions;
  105702. },
  105703. get$_extension_store$_sourceSpecificity() {
  105704. return this._extension_store$_sourceSpecificity;
  105705. }
  105706. };
  105707. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  105708. call$1(extension) {
  105709. return !extension.isOptional;
  105710. },
  105711. $signature: 464
  105712. };
  105713. A.ExtensionStore__registerSelector_closure0.prototype = {
  105714. call$0() {
  105715. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  105716. },
  105717. $signature: 465
  105718. };
  105719. A.ExtensionStore_addExtension_closure2.prototype = {
  105720. call$0() {
  105721. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105722. },
  105723. $signature: 117
  105724. };
  105725. A.ExtensionStore_addExtension_closure3.prototype = {
  105726. call$0() {
  105727. return A._setArrayType([], type$.JSArray_Extension_2);
  105728. },
  105729. $signature: 234
  105730. };
  105731. A.ExtensionStore_addExtension_closure4.prototype = {
  105732. call$0() {
  105733. return this.complex.get$specificity();
  105734. },
  105735. $signature: 10
  105736. };
  105737. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  105738. call$0() {
  105739. return A._setArrayType([], type$.JSArray_Extension_2);
  105740. },
  105741. $signature: 234
  105742. };
  105743. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  105744. call$0() {
  105745. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105746. },
  105747. $signature: 117
  105748. };
  105749. A.ExtensionStore_addExtensions_closure0.prototype = {
  105750. call$0() {
  105751. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105752. },
  105753. $signature: 117
  105754. };
  105755. A.ExtensionStore__extendComplex_closure0.prototype = {
  105756. call$1(path) {
  105757. var t1 = this.complex;
  105758. 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);
  105759. },
  105760. $signature: 468
  105761. };
  105762. A.ExtensionStore__extendComplex__closure0.prototype = {
  105763. call$1(outputComplex) {
  105764. var _this = this,
  105765. t1 = _this._box_0;
  105766. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  105767. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  105768. t1.first = false;
  105769. return outputComplex;
  105770. },
  105771. $signature: 64
  105772. };
  105773. A.ExtensionStore__extendCompound_closure2.prototype = {
  105774. call$1(extender) {
  105775. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  105776. },
  105777. $signature: 470
  105778. };
  105779. A.ExtensionStore__extendCompound_closure3.prototype = {
  105780. call$1(_) {
  105781. return false;
  105782. },
  105783. $signature: 19
  105784. };
  105785. A.ExtensionStore__extendCompound_closure4.prototype = {
  105786. call$1(complex) {
  105787. return complex.$eq(0, this.original);
  105788. },
  105789. $signature: 19
  105790. };
  105791. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  105792. call$1(simple) {
  105793. var t1, t2,
  105794. extensionsForSimple = this.extensions.$index(0, simple);
  105795. if (extensionsForSimple == null)
  105796. return null;
  105797. t1 = this.targetsUsed;
  105798. if (t1 != null)
  105799. t1.add$1(0, simple);
  105800. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  105801. t2 = this.$this;
  105802. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  105803. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  105804. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  105805. t1.push(t2.get$current(t2).extender);
  105806. return t1;
  105807. },
  105808. $signature: 471
  105809. };
  105810. A.ExtensionStore__extendSimple_closure1.prototype = {
  105811. call$1(pseudo) {
  105812. var t1 = this.withoutPseudo.call$1(pseudo);
  105813. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  105814. },
  105815. $signature: 472
  105816. };
  105817. A.ExtensionStore__extendSimple_closure2.prototype = {
  105818. call$1(result) {
  105819. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  105820. },
  105821. $signature: 473
  105822. };
  105823. A.ExtensionStore__extendPseudo_closure4.prototype = {
  105824. call$1(complex) {
  105825. return complex.components.length > 1;
  105826. },
  105827. $signature: 19
  105828. };
  105829. A.ExtensionStore__extendPseudo_closure5.prototype = {
  105830. call$1(complex) {
  105831. return complex.components.length === 1;
  105832. },
  105833. $signature: 19
  105834. };
  105835. A.ExtensionStore__extendPseudo_closure6.prototype = {
  105836. call$1(complex) {
  105837. return complex.components.length <= 1;
  105838. },
  105839. $signature: 19
  105840. };
  105841. A.ExtensionStore__extendPseudo_closure7.prototype = {
  105842. call$1(complex) {
  105843. var innerPseudo, innerSelector,
  105844. t1 = complex.get$singleCompound();
  105845. if (t1 == null)
  105846. innerPseudo = null;
  105847. else {
  105848. t1 = t1.components;
  105849. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  105850. }
  105851. if (!(innerPseudo instanceof A.PseudoSelector0))
  105852. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105853. innerSelector = innerPseudo.selector;
  105854. if (innerSelector == null)
  105855. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105856. t1 = this.pseudo;
  105857. switch (t1.normalizedName) {
  105858. case "not":
  105859. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  105860. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105861. return innerSelector.components;
  105862. case "is":
  105863. case "matches":
  105864. case "where":
  105865. case "any":
  105866. case "current":
  105867. case "nth-child":
  105868. case "nth-last-child":
  105869. if (innerPseudo.name !== t1.name)
  105870. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105871. if (innerPseudo.argument != t1.argument)
  105872. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105873. return innerSelector.components;
  105874. case "has":
  105875. case "host":
  105876. case "host-context":
  105877. case "slotted":
  105878. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  105879. default:
  105880. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105881. }
  105882. },
  105883. $signature: 474
  105884. };
  105885. A.ExtensionStore__extendPseudo_closure8.prototype = {
  105886. call$1(complex) {
  105887. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  105888. },
  105889. $signature: 475
  105890. };
  105891. A.ExtensionStore__trim_closure1.prototype = {
  105892. call$1(complex2) {
  105893. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  105894. },
  105895. $signature: 19
  105896. };
  105897. A.ExtensionStore__trim_closure2.prototype = {
  105898. call$1(complex2) {
  105899. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  105900. },
  105901. $signature: 19
  105902. };
  105903. A.ExtensionStore_clone_closure0.prototype = {
  105904. call$2(simple, selectors) {
  105905. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  105906. t1 = type$.ModifiableBox_SelectorList_2,
  105907. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  105908. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  105909. 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();) {
  105910. t7 = t2.get$current(t2);
  105911. newSelector = new A.ModifiableBox0(t7.value, t1);
  105912. newSelectorSet.add$1(0, newSelector);
  105913. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  105914. _0_0 = t5.$index(0, t7);
  105915. if (_0_0 != null)
  105916. t6.$indexSet(0, newSelector, _0_0);
  105917. }
  105918. },
  105919. $signature: 476
  105920. };
  105921. A.FiberClass.prototype = {};
  105922. A.Fiber.prototype = {};
  105923. A.JSToDartFileImporter.prototype = {
  105924. canonicalize$1(_, url) {
  105925. var result, t1, resultUrl;
  105926. if (url.get$scheme() === "file")
  105927. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  105928. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  105929. if (result == null)
  105930. return null;
  105931. t1 = self.Promise;
  105932. if (result instanceof t1)
  105933. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  105934. else {
  105935. t1 = self.URL;
  105936. if (!(result instanceof t1))
  105937. A.jsThrow(new self.Error(string$.The_fie));
  105938. }
  105939. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  105940. if (resultUrl.get$scheme() !== "file")
  105941. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  105942. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  105943. },
  105944. load$1(_, url) {
  105945. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  105946. },
  105947. isNonCanonicalScheme$1(scheme) {
  105948. return scheme !== "file";
  105949. }
  105950. };
  105951. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  105952. call$0() {
  105953. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  105954. },
  105955. $signature: 33
  105956. };
  105957. A.FilesystemImporter0.prototype = {
  105958. canonicalize$1(_, url) {
  105959. var resolved;
  105960. if (url.get$scheme() === "file")
  105961. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  105962. else if (url.get$scheme() !== "")
  105963. return null;
  105964. else {
  105965. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  105966. if (resolved != null && this._filesystem$_loadPathDeprecated)
  105967. A.warnForDeprecation0(string$.Using_t, B.Deprecation_Ds6);
  105968. }
  105969. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  105970. },
  105971. load$1(_, url) {
  105972. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  105973. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  105974. },
  105975. toString$0(_) {
  105976. return this._filesystem$_loadPath;
  105977. }
  105978. };
  105979. A.FilesystemImporter_canonicalize_closure0.prototype = {
  105980. call$1(resolved) {
  105981. var t2, t0, _null = null,
  105982. t1 = A.isNodeJs() ? self.process : _null;
  105983. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  105984. t1 = A.isNodeJs() ? self.process : _null;
  105985. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  105986. } else
  105987. t1 = true;
  105988. if (t1) {
  105989. t1 = $.$get$context();
  105990. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  105991. t0 = t2;
  105992. t2 = t1;
  105993. t1 = t0;
  105994. } else {
  105995. t1 = $.$get$context();
  105996. t2 = t1.canonicalize$1(0, resolved);
  105997. t0 = t2;
  105998. t2 = t1;
  105999. t1 = t0;
  106000. }
  106001. return t2.toUri$1(t1);
  106002. },
  106003. $signature: 131
  106004. };
  106005. A.ForRule0.prototype = {
  106006. accept$1$1(visitor) {
  106007. return visitor.visitForRule$1(0, this);
  106008. },
  106009. accept$1(visitor) {
  106010. return this.accept$1$1(visitor, type$.dynamic);
  106011. },
  106012. toString$0(_) {
  106013. var _this = this,
  106014. t1 = _this.from.toString$0(0),
  106015. t2 = _this.isExclusive ? "to" : "through",
  106016. t3 = _this.children;
  106017. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  106018. },
  106019. get$span(receiver) {
  106020. return this.span;
  106021. }
  106022. };
  106023. A.ForwardRule0.prototype = {
  106024. accept$1$1(visitor) {
  106025. return visitor.visitForwardRule$1(0, this);
  106026. },
  106027. accept$1(visitor) {
  106028. return this.accept$1$1(visitor, type$.dynamic);
  106029. },
  106030. toString$0(_) {
  106031. var t2, prefix, _this = this,
  106032. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106033. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106034. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106035. if (shownMixinsAndFunctions != null) {
  106036. t2 = _this.shownVariables;
  106037. t2.toString;
  106038. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106039. t1 = t2;
  106040. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106041. t2 = _this.hiddenVariables;
  106042. t2.toString;
  106043. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106044. t1 = t2;
  106045. }
  106046. prefix = _this.prefix;
  106047. if (prefix != null)
  106048. t1 += " as " + prefix + "*";
  106049. t2 = _this.configuration;
  106050. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106051. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106052. },
  106053. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106054. var t2,
  106055. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  106056. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106057. t1.push("$" + t2.get$current(0));
  106058. return B.JSArray_methods.join$1(t1, ", ");
  106059. },
  106060. get$span(receiver) {
  106061. return this.span;
  106062. }
  106063. };
  106064. A.ForwardedModuleView0.prototype = {
  106065. get$url(_) {
  106066. var t1 = this._forwarded_view0$_inner;
  106067. return t1.get$url(t1);
  106068. },
  106069. get$upstream() {
  106070. return this._forwarded_view0$_inner.get$upstream();
  106071. },
  106072. get$extensionStore() {
  106073. return this._forwarded_view0$_inner.get$extensionStore();
  106074. },
  106075. get$css(_) {
  106076. var t1 = this._forwarded_view0$_inner;
  106077. return t1.get$css(t1);
  106078. },
  106079. get$preModuleComments() {
  106080. return this._forwarded_view0$_inner.get$preModuleComments();
  106081. },
  106082. get$transitivelyContainsCss() {
  106083. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  106084. },
  106085. get$transitivelyContainsExtensions() {
  106086. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  106087. },
  106088. setVariable$3($name, value, nodeWithSpan) {
  106089. var t2, _1_0, _2_0,
  106090. _s19_ = "Undefined variable.",
  106091. t1 = this._forwarded_view0$_rule,
  106092. _0_0 = t1.shownVariables;
  106093. if (_0_0 != null)
  106094. t2 = !_0_0._base.contains$1(0, $name);
  106095. else
  106096. t2 = false;
  106097. if (t2)
  106098. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106099. else {
  106100. _1_0 = t1.hiddenVariables;
  106101. if (_1_0 != null)
  106102. t2 = _1_0._base.contains$1(0, $name);
  106103. else
  106104. t2 = false;
  106105. if (t2)
  106106. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106107. }
  106108. _2_0 = t1.prefix;
  106109. if (_2_0 != null) {
  106110. if (!B.JSString_methods.startsWith$1($name, _2_0))
  106111. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106112. $name = B.JSString_methods.substring$1($name, _2_0.length);
  106113. }
  106114. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  106115. },
  106116. variableIdentity$1($name) {
  106117. var _0_0 = this._forwarded_view0$_rule.prefix;
  106118. if (_0_0 != null)
  106119. $name = B.JSString_methods.substring$1($name, _0_0.length);
  106120. return this._forwarded_view0$_inner.variableIdentity$1($name);
  106121. },
  106122. $eq(_, other) {
  106123. if (other == null)
  106124. return false;
  106125. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  106126. },
  106127. get$hashCode(_) {
  106128. var t1 = this._forwarded_view0$_inner;
  106129. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  106130. },
  106131. cloneCss$0() {
  106132. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  106133. },
  106134. toString$0(_) {
  106135. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  106136. },
  106137. $isModule1: 1,
  106138. get$variables() {
  106139. return this.variables;
  106140. },
  106141. get$variableNodes() {
  106142. return this.variableNodes;
  106143. },
  106144. get$functions(receiver) {
  106145. return this.functions;
  106146. },
  106147. get$mixins() {
  106148. return this.mixins;
  106149. }
  106150. };
  106151. A.FunctionExpression0.prototype = {
  106152. get$nameSpan() {
  106153. if (this.namespace == null)
  106154. return A.SpanExtensions_initialIdentifier0(this.span);
  106155. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  106156. },
  106157. accept$1$1(visitor) {
  106158. return visitor.visitFunctionExpression$1(0, this);
  106159. },
  106160. accept$1(visitor) {
  106161. return this.accept$1$1(visitor, type$.dynamic);
  106162. },
  106163. toString$0(_) {
  106164. var t1 = this.namespace;
  106165. t1 = t1 != null ? "" + (t1 + ".") : "";
  106166. t1 += this.originalName + this.$arguments.toString$0(0);
  106167. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106168. },
  106169. get$span(receiver) {
  106170. return this.span;
  106171. }
  106172. };
  106173. A.JSFunction0.prototype = {};
  106174. A.SupportsFunction0.prototype = {
  106175. toInterpolation$0() {
  106176. var t4, t5,
  106177. t1 = new A.StringBuffer(""),
  106178. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  106179. t3 = this.name;
  106180. t2.addInterpolation$1(t3);
  106181. t4 = this.$arguments;
  106182. t5 = t4.span;
  106183. t3 = A.SpanExtensions_between(t3.span, t5);
  106184. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  106185. t1._contents += t3;
  106186. t2.addInterpolation$1(t4);
  106187. t4 = this.span;
  106188. t5 = A.SpanExtensions_after(t4, t5);
  106189. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  106190. t1._contents += t5;
  106191. return t2.interpolation$1(t4);
  106192. },
  106193. withSpan$1(span) {
  106194. return new A.SupportsFunction0(this.name, this.$arguments, span);
  106195. },
  106196. toString$0(_) {
  106197. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  106198. },
  106199. $isAstNode0: 1,
  106200. $isSassNode: 1,
  106201. $isSupportsCondition: 1,
  106202. get$span(receiver) {
  106203. return this.span;
  106204. }
  106205. };
  106206. A.functionClass_closure.prototype = {
  106207. call$0() {
  106208. var t1 = type$.JSClass,
  106209. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  106210. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  106211. return jsClass;
  106212. },
  106213. $signature: 15
  106214. };
  106215. A.functionClass__closure.prototype = {
  106216. call$3($self, signature, callback) {
  106217. var paren = B.JSString_methods.indexOf$1(signature, "(");
  106218. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  106219. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  106220. 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));
  106221. },
  106222. "call*": "call$3",
  106223. $requiredArgCount: 3,
  106224. $signature: 477
  106225. };
  106226. A.functionClass__closure0.prototype = {
  106227. call$1(_) {
  106228. return B.C__SassNull0;
  106229. },
  106230. $signature: 3
  106231. };
  106232. A.SassFunction0.prototype = {
  106233. accept$1$1(visitor) {
  106234. var t1, t2;
  106235. if (!visitor._serialize0$_inspect)
  106236. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  106237. t1 = visitor._serialize0$_buffer;
  106238. t1.write$1(0, "get-function(");
  106239. t2 = this.callable;
  106240. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  106241. t1.writeCharCode$1(41);
  106242. return null;
  106243. },
  106244. accept$1(visitor) {
  106245. return this.accept$1$1(visitor, type$.dynamic);
  106246. },
  106247. assertFunction$1($name) {
  106248. return this;
  106249. },
  106250. $eq(_, other) {
  106251. if (other == null)
  106252. return false;
  106253. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  106254. },
  106255. get$hashCode(_) {
  106256. var t1 = this.callable;
  106257. return t1.get$hashCode(t1);
  106258. }
  106259. };
  106260. A.FunctionRule0.prototype = {
  106261. accept$1$1(visitor) {
  106262. return visitor.visitFunctionRule$1(0, this);
  106263. },
  106264. accept$1(visitor) {
  106265. return this.accept$1$1(visitor, type$.dynamic);
  106266. },
  106267. toString$0(_) {
  106268. var t1 = this.children;
  106269. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  106270. }
  106271. };
  106272. A.unifyComplex_closure0.prototype = {
  106273. call$1(complex) {
  106274. return complex.lineBreak;
  106275. },
  106276. $signature: 19
  106277. };
  106278. A._weaveParents_closure3.prototype = {
  106279. call$2(group1, group2) {
  106280. var t1, unified;
  106281. if (B.C_ListEquality.equals$2(0, group1, group2))
  106282. return group1;
  106283. if (A._complexIsParentSuperselector0(group1, group2))
  106284. return group2;
  106285. if (A._complexIsParentSuperselector0(group2, group1))
  106286. return group1;
  106287. if (!A._mustUnify0(group1, group2))
  106288. return null;
  106289. t1 = this.span;
  106290. 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);
  106291. if (unified == null)
  106292. t1 = null;
  106293. else {
  106294. t1 = A.IterableExtension_get_singleOrNull(unified);
  106295. t1 = t1 == null ? null : t1.components;
  106296. }
  106297. return t1;
  106298. },
  106299. $signature: 478
  106300. };
  106301. A._weaveParents_closure4.prototype = {
  106302. call$1(sequence) {
  106303. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  106304. },
  106305. $signature: 222
  106306. };
  106307. A._weaveParents_closure5.prototype = {
  106308. call$1(sequence) {
  106309. return sequence.get$length(0) === 0;
  106310. },
  106311. $signature: 222
  106312. };
  106313. A._weaveParents_closure6.prototype = {
  106314. call$1(choice) {
  106315. return J.get$isNotEmpty$asx(choice);
  106316. },
  106317. $signature: 480
  106318. };
  106319. A._mustUnify_closure0.prototype = {
  106320. call$1(component) {
  106321. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  106322. },
  106323. $signature: 55
  106324. };
  106325. A._mustUnify__closure0.prototype = {
  106326. call$1(simple) {
  106327. var t1;
  106328. if (!(simple instanceof A.IDSelector0))
  106329. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  106330. else
  106331. t1 = true;
  106332. return t1 && this.uniqueSelectors.contains$1(0, simple);
  106333. },
  106334. $signature: 13
  106335. };
  106336. A.paths_closure0.prototype = {
  106337. call$2(paths, choice) {
  106338. var t1 = this.T;
  106339. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  106340. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  106341. },
  106342. $signature() {
  106343. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  106344. }
  106345. };
  106346. A.paths__closure0.prototype = {
  106347. call$1(option) {
  106348. var t1 = this.T;
  106349. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  106350. },
  106351. $signature() {
  106352. return this.T._eval$1("Iterable<List<0>>(0)");
  106353. }
  106354. };
  106355. A.paths___closure0.prototype = {
  106356. call$1(path) {
  106357. var t1 = A.List_List$of(path, true, this.T);
  106358. t1.push(this.option);
  106359. return t1;
  106360. },
  106361. $signature() {
  106362. return this.T._eval$1("List<0>(List<0>)");
  106363. }
  106364. };
  106365. A.listIsSuperselector_closure0.prototype = {
  106366. call$1(complex1) {
  106367. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  106368. },
  106369. $signature: 19
  106370. };
  106371. A.listIsSuperselector__closure0.prototype = {
  106372. call$1(complex2) {
  106373. return complex2.isSuperselector$1(this.complex1);
  106374. },
  106375. $signature: 19
  106376. };
  106377. A.complexIsSuperselector_closure1.prototype = {
  106378. call$1($parent) {
  106379. return $parent.combinators.length > 1;
  106380. },
  106381. $signature: 55
  106382. };
  106383. A.complexIsSuperselector_closure2.prototype = {
  106384. call$1(component) {
  106385. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  106386. },
  106387. $signature: 55
  106388. };
  106389. A._compatibleWithPreviousCombinator_closure0.prototype = {
  106390. call$1(component) {
  106391. var t1 = component.combinators,
  106392. t2 = A.IterableExtension_get_firstOrNull(t1);
  106393. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N0)) {
  106394. t1 = A.IterableExtension_get_firstOrNull(t1);
  106395. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP0);
  106396. } else
  106397. t1 = true;
  106398. return t1;
  106399. },
  106400. $signature: 55
  106401. };
  106402. A.compoundIsSuperselector_closure0.prototype = {
  106403. call$1(simple1) {
  106404. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  106405. },
  106406. $signature: 13
  106407. };
  106408. A._selectorPseudoIsSuperselector_closure6.prototype = {
  106409. call$1(selector2) {
  106410. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106411. },
  106412. $signature: 78
  106413. };
  106414. A._selectorPseudoIsSuperselector_closure7.prototype = {
  106415. call$1(complex1) {
  106416. var t1, t2;
  106417. if (complex1.leadingCombinators.length === 0) {
  106418. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  106419. t2 = this.parents;
  106420. if (t2 != null)
  106421. B.JSArray_methods.addAll$1(t1, t2);
  106422. t2 = this.compound2;
  106423. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t2.span));
  106424. t1 = A.complexIsSuperselector0(complex1.components, t1);
  106425. } else
  106426. t1 = false;
  106427. return t1;
  106428. },
  106429. $signature: 19
  106430. };
  106431. A._selectorPseudoIsSuperselector_closure8.prototype = {
  106432. call$1(selector2) {
  106433. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106434. },
  106435. $signature: 78
  106436. };
  106437. A._selectorPseudoIsSuperselector_closure9.prototype = {
  106438. call$1(selector2) {
  106439. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106440. },
  106441. $signature: 78
  106442. };
  106443. A._selectorPseudoIsSuperselector_closure10.prototype = {
  106444. call$1(complex) {
  106445. if (complex.accept$1(B._IsBogusVisitor_true0))
  106446. return false;
  106447. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  106448. },
  106449. $signature: 19
  106450. };
  106451. A._selectorPseudoIsSuperselector__closure0.prototype = {
  106452. call$1(simple2) {
  106453. var t1, selector2, _0_4, _this = this;
  106454. $label0$1: {
  106455. if (simple2 instanceof A.TypeSelector0) {
  106456. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  106457. break $label0$1;
  106458. }
  106459. if (simple2 instanceof A.IDSelector0) {
  106460. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  106461. break $label0$1;
  106462. }
  106463. selector2 = null;
  106464. t1 = false;
  106465. if (simple2 instanceof A.PseudoSelector0) {
  106466. _0_4 = simple2.selector;
  106467. if (_0_4 != null) {
  106468. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  106469. t1 = simple2.name === _this.pseudo1.name;
  106470. }
  106471. }
  106472. if (t1) {
  106473. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  106474. break $label0$1;
  106475. }
  106476. t1 = false;
  106477. break $label0$1;
  106478. }
  106479. return t1;
  106480. },
  106481. $signature: 13
  106482. };
  106483. A._selectorPseudoIsSuperselector___closure1.prototype = {
  106484. call$1(simple1) {
  106485. var t1;
  106486. if (simple1 instanceof A.TypeSelector0) {
  106487. t1 = this.simple2;
  106488. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  106489. } else
  106490. t1 = false;
  106491. return t1;
  106492. },
  106493. $signature: 13
  106494. };
  106495. A._selectorPseudoIsSuperselector___closure2.prototype = {
  106496. call$1(simple1) {
  106497. var t1;
  106498. if (simple1 instanceof A.IDSelector0) {
  106499. t1 = this.simple2;
  106500. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  106501. } else
  106502. t1 = false;
  106503. return t1;
  106504. },
  106505. $signature: 13
  106506. };
  106507. A._selectorPseudoIsSuperselector_closure11.prototype = {
  106508. call$1(selector2) {
  106509. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  106510. return t1;
  106511. },
  106512. $signature: 78
  106513. };
  106514. A._selectorPseudoIsSuperselector_closure12.prototype = {
  106515. call$1(pseudo2) {
  106516. var t1, selector2;
  106517. if (!(pseudo2 instanceof A.PseudoSelector0))
  106518. return false;
  106519. t1 = this.pseudo1;
  106520. if (pseudo2.name !== t1.name)
  106521. return false;
  106522. if (pseudo2.argument != t1.argument)
  106523. return false;
  106524. selector2 = pseudo2.selector;
  106525. if (selector2 == null)
  106526. return false;
  106527. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106528. },
  106529. $signature: 13
  106530. };
  106531. A._selectorPseudoArgs_closure1.prototype = {
  106532. call$1(pseudo) {
  106533. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  106534. },
  106535. $signature: 482
  106536. };
  106537. A._selectorPseudoArgs_closure2.prototype = {
  106538. call$1(pseudo) {
  106539. return pseudo.selector;
  106540. },
  106541. $signature: 483
  106542. };
  106543. A.globalFunctions_closure0.prototype = {
  106544. call$1($arguments) {
  106545. var t1 = J.getInterceptor$asx($arguments);
  106546. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  106547. },
  106548. $signature: 3
  106549. };
  106550. A.GamutMapMethod0.prototype = {
  106551. toString$0(_) {
  106552. return this.name;
  106553. }
  106554. };
  106555. A.HslColorSpace0.prototype = {
  106556. get$isBoundedInternal() {
  106557. return true;
  106558. },
  106559. get$isLegacyInternal() {
  106560. return true;
  106561. },
  106562. get$isPolarInternal() {
  106563. return true;
  106564. },
  106565. convert$5(dest, hue, saturation, lightness, alpha) {
  106566. var t1 = hue == null,
  106567. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  106568. t2 = saturation == null,
  106569. scaledSaturation = (t2 ? 0 : saturation) / 100,
  106570. t3 = lightness == null,
  106571. scaledLightness = (t3 ? 0 : lightness) / 100,
  106572. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  106573. m1 = scaledLightness * 2 - m2;
  106574. 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);
  106575. }
  106576. };
  106577. A.HwbColorSpace0.prototype = {
  106578. get$isBoundedInternal() {
  106579. return true;
  106580. },
  106581. get$isLegacyInternal() {
  106582. return true;
  106583. },
  106584. get$isPolarInternal() {
  106585. return true;
  106586. },
  106587. convert$5(dest, hue, whiteness, blackness, alpha) {
  106588. var t3, t1 = {},
  106589. t2 = hue == null,
  106590. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  106591. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  106592. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  106593. sum = scaledWhiteness + scaledBlackness;
  106594. if (sum > 1) {
  106595. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  106596. scaledBlackness /= sum;
  106597. } else
  106598. t3 = scaledWhiteness;
  106599. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  106600. 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);
  106601. }
  106602. };
  106603. A.HwbColorSpace_convert_toRgb0.prototype = {
  106604. call$1(hue) {
  106605. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  106606. },
  106607. $signature: 16
  106608. };
  106609. A.IDSelector0.prototype = {
  106610. get$specificity() {
  106611. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  106612. },
  106613. accept$1$1(visitor) {
  106614. return visitor.visitIDSelector$1(this);
  106615. },
  106616. accept$1(visitor) {
  106617. return this.accept$1$1(visitor, type$.dynamic);
  106618. },
  106619. addSuffix$1(suffix) {
  106620. return new A.IDSelector0(this.name + suffix, this.span);
  106621. },
  106622. unify$1(compound) {
  106623. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  106624. return null;
  106625. return this.super$SimpleSelector$unify0(compound);
  106626. },
  106627. $eq(_, other) {
  106628. if (other == null)
  106629. return false;
  106630. return other instanceof A.IDSelector0 && other.name === this.name;
  106631. },
  106632. get$hashCode(_) {
  106633. return B.JSString_methods.get$hashCode(this.name);
  106634. }
  106635. };
  106636. A.IDSelector_unify_closure0.prototype = {
  106637. call$1(simple) {
  106638. var t1;
  106639. if (simple instanceof A.IDSelector0)
  106640. t1 = this.$this.name !== simple.name;
  106641. else
  106642. t1 = false;
  106643. return t1;
  106644. },
  106645. $signature: 13
  106646. };
  106647. A.IfExpression0.prototype = {
  106648. accept$1$1(visitor) {
  106649. return visitor.visitIfExpression$1(0, this);
  106650. },
  106651. accept$1(visitor) {
  106652. return this.accept$1$1(visitor, type$.dynamic);
  106653. },
  106654. toString$0(_) {
  106655. return "if" + this.$arguments.toString$0(0);
  106656. },
  106657. get$span(receiver) {
  106658. return this.span;
  106659. }
  106660. };
  106661. A.IfRule0.prototype = {
  106662. accept$1$1(visitor) {
  106663. return visitor.visitIfRule$1(0, this);
  106664. },
  106665. accept$1(visitor) {
  106666. return this.accept$1$1(visitor, type$.dynamic);
  106667. },
  106668. toString$0(_) {
  106669. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  106670. lastClause = this.lastClause;
  106671. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  106672. },
  106673. get$span(receiver) {
  106674. return this.span;
  106675. }
  106676. };
  106677. A.IfRule_toString_closure0.prototype = {
  106678. call$2(index, clause) {
  106679. var t1 = index === 0 ? "if" : "else if";
  106680. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  106681. },
  106682. $signature: 484
  106683. };
  106684. A.IfRuleClause0.prototype = {};
  106685. A.IfRuleClause$__closure0.prototype = {
  106686. call$1(child) {
  106687. var t1;
  106688. $label0$0: {
  106689. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  106690. t1 = true;
  106691. break $label0$0;
  106692. }
  106693. if (child instanceof A.ImportRule0) {
  106694. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  106695. break $label0$0;
  106696. }
  106697. t1 = false;
  106698. break $label0$0;
  106699. }
  106700. return t1;
  106701. },
  106702. $signature: 218
  106703. };
  106704. A.IfRuleClause$___closure0.prototype = {
  106705. call$1($import) {
  106706. return $import instanceof A.DynamicImport0;
  106707. },
  106708. $signature: 204
  106709. };
  106710. A.IfClause0.prototype = {
  106711. toString$0(_) {
  106712. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106713. }
  106714. };
  106715. A.ElseClause0.prototype = {
  106716. toString$0(_) {
  106717. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106718. }
  106719. };
  106720. A.ImmutableList0.prototype = {};
  106721. A.ImmutableMap0.prototype = {};
  106722. A.immutableMapToDartMap_closure.prototype = {
  106723. call$3(value, key, _) {
  106724. this.dartMap.$indexSet(0, key, value);
  106725. },
  106726. "call*": "call$3",
  106727. $requiredArgCount: 3,
  106728. $signature: 487
  106729. };
  106730. A.NodeImporter.prototype = {
  106731. loadRelative$3(url, previous, forImport) {
  106732. var t1, t2, _null = null;
  106733. if ($.$get$url().style.rootLength$1(url) > 0) {
  106734. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  106735. return _null;
  106736. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  106737. }
  106738. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  106739. return _null;
  106740. t1 = $.$get$context();
  106741. previous.toString;
  106742. t2 = t1.style;
  106743. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  106744. },
  106745. load$3(_, url, previous, forImport) {
  106746. var t1, t2, _i, _0_0, _this = this,
  106747. previousString = _this._previousToString$1(previous);
  106748. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  106749. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  106750. if (_0_0 != null)
  106751. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  106752. }
  106753. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106754. },
  106755. loadAsync$3(url, previous, forImport) {
  106756. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  106757. },
  106758. loadAsync$body$NodeImporter(url, previous, forImport) {
  106759. var $async$goto = 0,
  106760. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  106761. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  106762. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  106763. if ($async$errorCode === 1)
  106764. return A._asyncRethrow($async$result, $async$completer);
  106765. while (true)
  106766. switch ($async$goto) {
  106767. case 0:
  106768. // Function start
  106769. previousString = $async$self._previousToString$1(previous);
  106770. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  106771. case 3:
  106772. // for condition
  106773. if (!(_i < t2)) {
  106774. // goto after for
  106775. $async$goto = 5;
  106776. break;
  106777. }
  106778. $async$goto = 6;
  106779. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  106780. case 6:
  106781. // returning from await.
  106782. _0_0 = $async$result;
  106783. if (_0_0 != null) {
  106784. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  106785. // goto return
  106786. $async$goto = 1;
  106787. break;
  106788. }
  106789. case 4:
  106790. // for update
  106791. ++_i;
  106792. // goto for condition
  106793. $async$goto = 3;
  106794. break;
  106795. case 5:
  106796. // after for
  106797. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  106798. // goto return
  106799. $async$goto = 1;
  106800. break;
  106801. case 1:
  106802. // return
  106803. return A._asyncReturn($async$returnValue, $async$completer);
  106804. }
  106805. });
  106806. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  106807. },
  106808. _previousToString$1(previous) {
  106809. var t1;
  106810. $label0$0: {
  106811. if (previous == null) {
  106812. t1 = "stdin";
  106813. break $label0$0;
  106814. }
  106815. if ("file" === previous.get$scheme()) {
  106816. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  106817. break $label0$0;
  106818. }
  106819. t1 = previous.toString$0(0);
  106820. break $label0$0;
  106821. }
  106822. return t1;
  106823. },
  106824. _resolveLoadPathFromUrl$2(url, forImport) {
  106825. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  106826. },
  106827. _resolveLoadPath$2(path, forImport) {
  106828. var t1, t2, _i, t3, _1_0, _null = null,
  106829. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  106830. if (_0_0 != null)
  106831. return _0_0;
  106832. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  106833. t3 = A.join(t1[_i], path, _null);
  106834. _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);
  106835. if (_1_0 != null)
  106836. return _1_0;
  106837. }
  106838. return _null;
  106839. },
  106840. _tryPath$2(path, forImport) {
  106841. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  106842. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  106843. },
  106844. _handleImportResult$4(url, previous, value, forImport) {
  106845. var t1, file, contents, t2, resolved;
  106846. if (value instanceof self.Error)
  106847. throw A.wrapException(value);
  106848. if (!type$.NodeImporterResult._is(value))
  106849. return null;
  106850. t1 = J.getInterceptor$x(value);
  106851. file = t1.get$file(value);
  106852. contents = t1.get$contents(value);
  106853. t1 = contents == null;
  106854. t2 = !t1;
  106855. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  106856. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  106857. if (file == null)
  106858. return new A._Record_2(t1 ? "" : contents, url);
  106859. else if (t2)
  106860. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  106861. else {
  106862. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  106863. if (resolved == null)
  106864. resolved = this._resolveLoadPath$2(file, forImport);
  106865. if (resolved != null)
  106866. return resolved;
  106867. throw A.wrapException("Can't find stylesheet to import.");
  106868. }
  106869. },
  106870. _callImporterAsync$4(importer, url, previousString, forImport) {
  106871. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  106872. },
  106873. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  106874. var $async$goto = 0,
  106875. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  106876. $async$returnValue, $async$self = this, t1, result;
  106877. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  106878. if ($async$errorCode === 1)
  106879. return A._asyncRethrow($async$result, $async$completer);
  106880. while (true)
  106881. switch ($async$goto) {
  106882. case 0:
  106883. // Function start
  106884. t1 = new A._Future($.Zone__current, type$._Future_Object);
  106885. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  106886. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  106887. break;
  106888. case 3:
  106889. // then
  106890. $async$goto = 5;
  106891. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  106892. case 5:
  106893. // returning from await.
  106894. $async$returnValue = $async$result;
  106895. // goto return
  106896. $async$goto = 1;
  106897. break;
  106898. case 4:
  106899. // join
  106900. $async$returnValue = result;
  106901. // goto return
  106902. $async$goto = 1;
  106903. break;
  106904. case 1:
  106905. // return
  106906. return A._asyncReturn($async$returnValue, $async$completer);
  106907. }
  106908. });
  106909. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  106910. },
  106911. _renderContext$1(fromImport) {
  106912. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  106913. J.set$context$x(J.get$options$x(context), context);
  106914. return context;
  106915. }
  106916. };
  106917. A.NodeImporter_load_closure.prototype = {
  106918. call$0() {
  106919. var _this = this;
  106920. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  106921. },
  106922. $signature: 33
  106923. };
  106924. A.NodeImporter__tryPath_closure.prototype = {
  106925. call$0() {
  106926. return A.resolveImportPath0(this.path);
  106927. },
  106928. $signature: 49
  106929. };
  106930. A.NodeImporter__tryPath_closure0.prototype = {
  106931. call$1(resolved) {
  106932. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  106933. },
  106934. $signature: 488
  106935. };
  106936. A.NodeImporter__callImporterAsync_closure.prototype = {
  106937. call$0() {
  106938. var _this = this;
  106939. 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));
  106940. },
  106941. $signature: 33
  106942. };
  106943. A.ModifiableCssImport0.prototype = {
  106944. accept$1$1(visitor) {
  106945. return visitor.visitCssImport$1(this);
  106946. },
  106947. accept$1(visitor) {
  106948. return this.accept$1$1(visitor, type$.dynamic);
  106949. },
  106950. get$span(receiver) {
  106951. return this.span;
  106952. }
  106953. };
  106954. A.ImportCache0.prototype = {
  106955. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  106956. 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;
  106957. if (A.isBrowser())
  106958. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  106959. else
  106960. t1 = false;
  106961. if (t1)
  106962. throw A.wrapException(string$.Custom);
  106963. if (baseImporter != null && url.get$scheme() === "") {
  106964. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  106965. if (resolvedUrl == null)
  106966. resolvedUrl = url;
  106967. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  106968. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  106969. if (relativeResult != null)
  106970. return relativeResult;
  106971. }
  106972. key = new A._Record_2_forImport(url, forImport);
  106973. t1 = _this._import_cache$_canonicalizeCache;
  106974. if (t1.containsKey$1(key))
  106975. return t1.$index(0, key);
  106976. 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) {
  106977. importer = t2[i];
  106978. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  106979. if (t4.containsKey$1(perImporterKey)) {
  106980. t7 = t4.$index(0, perImporterKey);
  106981. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  106982. } else
  106983. _1_0 = _null;
  106984. _1_2_isSet = t3._is(_1_0);
  106985. result = _null;
  106986. if (_1_2_isSet) {
  106987. _1_2 = _1_0._0;
  106988. t7 = _1_2 != null;
  106989. if (t7) {
  106990. t6._as(_1_2);
  106991. result = _1_2;
  106992. }
  106993. } else {
  106994. _1_2 = _null;
  106995. t7 = false;
  106996. }
  106997. if (t7)
  106998. return result;
  106999. if (_1_2_isSet)
  107000. t7 = _1_2 == null;
  107001. else
  107002. t7 = false;
  107003. if (t7)
  107004. continue;
  107005. $label0$1: {
  107006. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107007. _2_1 = _2_0._0;
  107008. _2_5_isSet = _2_1 != null;
  107009. _2_5 = _null;
  107010. _2_3 = _null;
  107011. t7 = false;
  107012. if (_2_5_isSet) {
  107013. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  107014. _2_3 = _2_0._1;
  107015. t7 = _2_3;
  107016. _2_5 = t7;
  107017. t7 = t7 && cacheable;
  107018. } else
  107019. result = _null;
  107020. if (t7) {
  107021. t1.$indexSet(0, key, result);
  107022. return result;
  107023. }
  107024. if (_2_5_isSet) {
  107025. t7 = _2_5;
  107026. _2_3_isSet = _2_5_isSet;
  107027. } else {
  107028. _2_3 = _2_0._1;
  107029. t7 = _2_3;
  107030. _2_3_isSet = true;
  107031. }
  107032. t7 = t7 && !cacheable;
  107033. if (t7) {
  107034. t4.$indexSet(0, perImporterKey, _2_1);
  107035. if (_2_1 != null)
  107036. return _2_1;
  107037. break $label0$1;
  107038. }
  107039. t7 = false === (_2_3_isSet ? _2_3 : _2_0._1);
  107040. if (t7) {
  107041. if (cacheable) {
  107042. for (j = 0; j < i; ++j)
  107043. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  107044. cacheable = false;
  107045. }
  107046. if (_2_1 != null)
  107047. return _2_1;
  107048. }
  107049. }
  107050. }
  107051. if (cacheable)
  107052. t1.$indexSet(0, key, _null);
  107053. return _null;
  107054. },
  107055. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  107056. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  107057. if (baseUrl != null)
  107058. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  107059. else
  107060. passContainingUrl = false;
  107061. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  107062. t1 = type$.nullable_Object;
  107063. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  107064. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  107065. if (result == null)
  107066. return new A._Record_2(null, cacheable);
  107067. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  107068. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  107069. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  107070. },
  107071. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  107072. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  107073. },
  107074. humanize$1(canonicalUrl) {
  107075. var t1 = this._import_cache$_canonicalizeCache,
  107076. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  107077. 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));
  107078. return t2 == null ? canonicalUrl : t2;
  107079. },
  107080. sourceMapUrl$1(_, canonicalUrl) {
  107081. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  107082. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  107083. return t1 == null ? canonicalUrl : t1;
  107084. }
  107085. };
  107086. A.ImportCache_canonicalize_closure0.prototype = {
  107087. call$0() {
  107088. var _this = this,
  107089. t1 = _this.$this,
  107090. t2 = _this.baseUrl,
  107091. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  107092. if (t2 != null)
  107093. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  107094. return _0_0._0;
  107095. },
  107096. $signature: 489
  107097. };
  107098. A.ImportCache__canonicalize_closure0.prototype = {
  107099. call$0() {
  107100. return this.importer.canonicalize$1(0, this.url);
  107101. },
  107102. $signature: 148
  107103. };
  107104. A.ImportCache_importCanonical_closure0.prototype = {
  107105. call$0() {
  107106. var t3, _this = this,
  107107. t1 = Date.now(),
  107108. t2 = _this.canonicalUrl,
  107109. result = _this.importer.load$1(0, t2);
  107110. if (result == null)
  107111. return null;
  107112. t3 = _this.$this;
  107113. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  107114. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  107115. t3 = result.contents;
  107116. t1 = result.syntax;
  107117. t2 = _this.originalUrl.resolveUri$1(t2);
  107118. return A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  107119. },
  107120. $signature: 490
  107121. };
  107122. A.ImportCache_humanize_closure3.prototype = {
  107123. call$1(result) {
  107124. return result._1.$eq(0, this.canonicalUrl);
  107125. },
  107126. $signature: 491
  107127. };
  107128. A.ImportCache_humanize_closure4.prototype = {
  107129. call$1(result) {
  107130. return result._2;
  107131. },
  107132. $signature: 492
  107133. };
  107134. A.ImportCache_humanize_closure5.prototype = {
  107135. call$1(url) {
  107136. return url.get$path(url).length;
  107137. },
  107138. $signature: 102
  107139. };
  107140. A.ImportCache_humanize_closure6.prototype = {
  107141. call$1(url) {
  107142. var t1 = $.$get$url(),
  107143. t2 = this.canonicalUrl;
  107144. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  107145. },
  107146. $signature: 51
  107147. };
  107148. A.ImportRule0.prototype = {
  107149. accept$1$1(visitor) {
  107150. return visitor.visitImportRule$1(0, this);
  107151. },
  107152. accept$1(visitor) {
  107153. return this.accept$1$1(visitor, type$.dynamic);
  107154. },
  107155. toString$0(_) {
  107156. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  107157. },
  107158. get$span(receiver) {
  107159. return this.span;
  107160. }
  107161. };
  107162. A.JSImporter.prototype = {};
  107163. A.JSImporterResult.prototype = {};
  107164. A.Importer0.prototype = {
  107165. isNonCanonicalScheme$1(scheme) {
  107166. return false;
  107167. }
  107168. };
  107169. A.NodeImporterResult0.prototype = {};
  107170. A.IncludeRule0.prototype = {
  107171. get$spanWithoutContent() {
  107172. var t2, t3,
  107173. t1 = this.span;
  107174. if (!(this.content == null)) {
  107175. t2 = t1.file;
  107176. t3 = this.$arguments.span;
  107177. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  107178. t1 = t3;
  107179. }
  107180. return t1;
  107181. },
  107182. get$nameSpan() {
  107183. var startSpan, scanner, _null = null,
  107184. t1 = this.span,
  107185. t2 = t1._file$_start,
  107186. t3 = t1._end,
  107187. t4 = t1.file._decodedChars;
  107188. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  107189. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  107190. else {
  107191. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  107192. scanner.expectChar$1(64);
  107193. A._scanIdentifier0(scanner);
  107194. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  107195. }
  107196. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  107197. },
  107198. accept$1$1(visitor) {
  107199. return visitor.visitIncludeRule$1(0, this);
  107200. },
  107201. accept$1(visitor) {
  107202. return this.accept$1$1(visitor, type$.dynamic);
  107203. },
  107204. toString$0(_) {
  107205. var t2, _this = this,
  107206. t1 = _this.namespace;
  107207. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  107208. t1 += _this.name;
  107209. t2 = _this.$arguments;
  107210. if (!t2.get$isEmpty(0))
  107211. t1 += "(" + t2.toString$0(0) + ")";
  107212. t2 = _this.content;
  107213. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  107214. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107215. },
  107216. get$span(receiver) {
  107217. return this.span;
  107218. }
  107219. };
  107220. A.InterpolatedFunctionExpression0.prototype = {
  107221. accept$1$1(visitor) {
  107222. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  107223. },
  107224. accept$1(visitor) {
  107225. return this.accept$1$1(visitor, type$.dynamic);
  107226. },
  107227. toString$0(_) {
  107228. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  107229. },
  107230. get$span(receiver) {
  107231. return this.span;
  107232. }
  107233. };
  107234. A.Interpolation0.prototype = {
  107235. get$asPlain() {
  107236. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  107237. _0_0 = this.contents;
  107238. $label0$0: {
  107239. _0_1 = _0_0.length;
  107240. if (_0_1 <= 0) {
  107241. t1 = "";
  107242. break $label0$0;
  107243. }
  107244. _0_6_isSet = _0_1 === 1;
  107245. if (_0_6_isSet) {
  107246. _0_6 = _0_0[0];
  107247. _0_60 = _0_6;
  107248. t1 = typeof _0_6 == "string";
  107249. _0_6 = _0_60;
  107250. } else {
  107251. _0_6 = null;
  107252. t1 = false;
  107253. }
  107254. if (t1) {
  107255. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  107256. t1 = first;
  107257. break $label0$0;
  107258. }
  107259. t1 = null;
  107260. break $label0$0;
  107261. }
  107262. return t1;
  107263. },
  107264. get$initialPlain() {
  107265. var _0_4_isSet, _0_4, _0_40, t1, first,
  107266. _0_0 = this.contents;
  107267. $label0$0: {
  107268. _0_4_isSet = _0_0.length >= 1;
  107269. if (_0_4_isSet) {
  107270. _0_4 = _0_0[0];
  107271. _0_40 = _0_4;
  107272. t1 = typeof _0_4 == "string";
  107273. _0_4 = _0_40;
  107274. } else {
  107275. _0_4 = null;
  107276. t1 = false;
  107277. }
  107278. if (t1) {
  107279. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  107280. t1 = first;
  107281. break $label0$0;
  107282. }
  107283. t1 = "";
  107284. break $label0$0;
  107285. }
  107286. return t1;
  107287. },
  107288. spanForElement$1(index) {
  107289. var t1, t2, t3, t4, _this = this;
  107290. $label0$0: {
  107291. if (typeof _this.contents[index] == "string") {
  107292. t1 = _this.span;
  107293. t2 = t1.get$file(t1);
  107294. if (index === 0)
  107295. t3 = t1.get$start(t1);
  107296. else {
  107297. t3 = _this.spans[index - 1];
  107298. t3 = t3.get$end(t3);
  107299. }
  107300. t4 = _this.spans;
  107301. if (index === t4.length)
  107302. t1 = t1.get$end(t1);
  107303. else {
  107304. t1 = t4[index + 1];
  107305. t1 = t1.get$start(t1);
  107306. }
  107307. t1 = t2.span$2(0, t3.offset, t1.offset);
  107308. break $label0$0;
  107309. }
  107310. t1 = _this.spans[index];
  107311. t1.toString;
  107312. break $label0$0;
  107313. }
  107314. return t1;
  107315. },
  107316. Interpolation$30(contents, spans, span) {
  107317. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  107318. _s8_ = "contents";
  107319. if (spans.length !== J.get$length$asx(contents))
  107320. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  107321. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  107322. t5 = t1[i];
  107323. isString = typeof t5 == "string";
  107324. if (!isString && !(t5 instanceof A.Expression0))
  107325. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  107326. else if (isString) {
  107327. if (i !== 0 && typeof t1[i - 1] == "string")
  107328. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  107329. else if (i < t3 && t4[i] != null)
  107330. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  107331. } else if (i >= t3 || t4[i] == null)
  107332. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  107333. }
  107334. },
  107335. toString$0(_) {
  107336. var t1 = this.contents;
  107337. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  107338. },
  107339. $isAstNode0: 1,
  107340. $isSassNode: 1,
  107341. get$span(receiver) {
  107342. return this.span;
  107343. }
  107344. };
  107345. A.Interpolation_toString_closure0.prototype = {
  107346. call$1(value) {
  107347. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  107348. },
  107349. $signature: 136
  107350. };
  107351. A.SupportsInterpolation0.prototype = {
  107352. toInterpolation$0() {
  107353. var t1 = this.span;
  107354. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  107355. },
  107356. withSpan$1(span) {
  107357. return new A.SupportsInterpolation0(this.expression, span);
  107358. },
  107359. toString$0(_) {
  107360. return "#{" + this.expression.toString$0(0) + "}";
  107361. },
  107362. $isAstNode0: 1,
  107363. $isSassNode: 1,
  107364. $isSupportsCondition: 1,
  107365. get$span(receiver) {
  107366. return this.span;
  107367. }
  107368. };
  107369. A.InterpolationBuffer0.prototype = {
  107370. writeCharCode$1(character) {
  107371. var t1 = this._interpolation_buffer0$_text,
  107372. t2 = A.Primitives_stringFromCharCode(character);
  107373. t1._contents += t2;
  107374. return null;
  107375. },
  107376. add$2(_, expression, span) {
  107377. this._interpolation_buffer0$_flushText$0();
  107378. this._interpolation_buffer0$_contents.push(expression);
  107379. this._interpolation_buffer0$_spans.push(span);
  107380. },
  107381. addInterpolation$1(interpolation) {
  107382. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  107383. toAdd = interpolation.contents,
  107384. t1 = toAdd.length;
  107385. if (t1 === 0)
  107386. return;
  107387. spansToAdd = interpolation.spans;
  107388. _0_4_isSet = t1 >= 1;
  107389. if (_0_4_isSet) {
  107390. _0_4 = toAdd[0];
  107391. _0_40 = _0_4;
  107392. t1 = typeof _0_4 == "string";
  107393. _0_4 = _0_40;
  107394. } else {
  107395. _0_4 = null;
  107396. t1 = false;
  107397. }
  107398. if (t1) {
  107399. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  107400. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  107401. t1 = _this._interpolation_buffer0$_text;
  107402. t1._contents += first;
  107403. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  107404. toAdd = rest;
  107405. }
  107406. _this._interpolation_buffer0$_flushText$0();
  107407. t1 = _this._interpolation_buffer0$_contents;
  107408. B.JSArray_methods.addAll$1(t1, toAdd);
  107409. t2 = _this._interpolation_buffer0$_spans;
  107410. B.JSArray_methods.addAll$1(t2, spansToAdd);
  107411. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  107412. t3 = _this._interpolation_buffer0$_text;
  107413. t1 = A.S(t1.pop());
  107414. t3._contents += t1;
  107415. t2.pop();
  107416. }
  107417. },
  107418. _interpolation_buffer0$_flushText$0() {
  107419. var t1 = this._interpolation_buffer0$_text,
  107420. t2 = t1._contents;
  107421. if (t2.length === 0)
  107422. return;
  107423. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107424. this._interpolation_buffer0$_spans.push(null);
  107425. t1._contents = "";
  107426. },
  107427. interpolation$1(span) {
  107428. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  107429. t2 = this._interpolation_buffer0$_text,
  107430. t3 = t2._contents;
  107431. if (t3.length !== 0)
  107432. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  107433. t3 = A.List_List$of(this._interpolation_buffer0$_spans, true, type$.nullable_FileSpan);
  107434. if (t2._contents.length !== 0)
  107435. t3.push(null);
  107436. return A.Interpolation$0(t1, t3, span);
  107437. },
  107438. toString$0(_) {
  107439. var t1, t2, _i, t3, element;
  107440. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  107441. element = t1[_i];
  107442. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  107443. }
  107444. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  107445. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107446. }
  107447. };
  107448. A.InterpolationMap0.prototype = {
  107449. mapException$1(error) {
  107450. var source, startIndex, endIndex, t3, t4, _this = this,
  107451. target = error.get$span(error),
  107452. t1 = _this._interpolation_map$_interpolation,
  107453. t2 = t1.contents;
  107454. if (t2.length === 0)
  107455. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  107456. source = _this.mapSpan$1(target);
  107457. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  107458. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  107459. t1 = error._span_exception$_message;
  107460. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  107461. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  107462. else {
  107463. t2 = type$.SourceSpan;
  107464. t3 = type$.String;
  107465. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  107466. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  107467. }
  107468. },
  107469. mapSpan$1(target) {
  107470. var _0_10, t1, _0_2_isSet, _0_20, t2, start, end, _this = this, _null = null,
  107471. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  107472. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  107473. $label0$0: {
  107474. _0_10 = _0_1;
  107475. t1 = type$.FileSpan;
  107476. _0_2_isSet = t1._is(_0_1);
  107477. _0_20 = _null;
  107478. t2 = false;
  107479. if (_0_2_isSet) {
  107480. t1._as(_0_10);
  107481. _0_20 = _0_2;
  107482. t2 = t1._is(_0_2);
  107483. start = _0_10;
  107484. _0_1 = start;
  107485. } else {
  107486. start = _null;
  107487. _0_1 = _0_10;
  107488. }
  107489. if (t2) {
  107490. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  107491. break $label0$0;
  107492. }
  107493. t2 = false;
  107494. if (t1._is(_0_1)) {
  107495. if (_0_2_isSet)
  107496. t2 = _0_20;
  107497. else {
  107498. t2 = _0_2;
  107499. _0_20 = t2;
  107500. _0_2_isSet = true;
  107501. }
  107502. t2 = t2 instanceof A.FileLocation;
  107503. start = _0_1;
  107504. } else
  107505. start = _null;
  107506. if (t2) {
  107507. t1 = _0_2_isSet ? _0_20 : _0_2;
  107508. type$.FileLocation._as(t1);
  107509. t2 = _this._interpolation_map$_interpolation.span;
  107510. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  107511. break $label0$0;
  107512. }
  107513. t2 = false;
  107514. if (_0_1 instanceof A.FileLocation) {
  107515. if (_0_2_isSet)
  107516. t2 = _0_20;
  107517. else {
  107518. t2 = _0_2;
  107519. _0_20 = t2;
  107520. _0_2_isSet = true;
  107521. }
  107522. t2 = t1._is(t2);
  107523. start = _0_1;
  107524. } else
  107525. start = _null;
  107526. if (t2) {
  107527. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  107528. t1 = _this._interpolation_map$_interpolation.span;
  107529. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  107530. break $label0$0;
  107531. }
  107532. t1 = false;
  107533. if (_0_1 instanceof A.FileLocation) {
  107534. if (_0_2_isSet)
  107535. t1 = _0_20;
  107536. else {
  107537. t1 = _0_2;
  107538. _0_20 = t1;
  107539. _0_2_isSet = true;
  107540. }
  107541. t1 = t1 instanceof A.FileLocation;
  107542. start = _0_1;
  107543. } else
  107544. start = _null;
  107545. if (t1) {
  107546. t1 = _0_2_isSet ? _0_20 : _0_2;
  107547. type$.FileLocation._as(t1);
  107548. t2 = _this._interpolation_map$_interpolation.span;
  107549. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  107550. break $label0$0;
  107551. }
  107552. t1 = A.throwExpression("[BUG] Unreachable");
  107553. }
  107554. return t1;
  107555. },
  107556. _interpolation_map$_mapLocation$1(target) {
  107557. var index, _0_0, t3, previousLocation, _this = this,
  107558. t1 = _this._interpolation_map$_interpolation,
  107559. t2 = t1.contents;
  107560. if (t2.length === 0)
  107561. return t1.span;
  107562. index = _this._interpolation_map$_indexInContents$1(target);
  107563. _0_0 = t2[index];
  107564. if (_0_0 instanceof A.Expression0)
  107565. return _0_0.get$span(_0_0);
  107566. t3 = index === 0;
  107567. t1 = t1.span;
  107568. if (t3)
  107569. previousLocation = t1.get$start(t1);
  107570. else {
  107571. t1 = t1.get$file(t1);
  107572. t2 = type$.Expression_2._as(t2[index - 1]);
  107573. t2 = t2.get$span(t2);
  107574. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  107575. }
  107576. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  107577. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  107578. },
  107579. _interpolation_map$_indexInContents$1(target) {
  107580. var t1, t2, t3, i;
  107581. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  107582. if (t3 < t1[i].get$offset())
  107583. return i;
  107584. return this._interpolation_map$_interpolation.contents.length - 1;
  107585. },
  107586. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  107587. var i0, prev, char,
  107588. source = start.file._decodedChars,
  107589. i = start.offset - 1;
  107590. for (; i >= 0;) {
  107591. i0 = i - 1;
  107592. prev = source[i];
  107593. if (prev === 123) {
  107594. if (source[i0] === 35) {
  107595. i = i0;
  107596. break;
  107597. }
  107598. i = i0;
  107599. } else if (prev === 47) {
  107600. i = i0 - 1;
  107601. if (source[i0] === 42)
  107602. for (; true;) {
  107603. i0 = i - 1;
  107604. if (source[i] !== 42) {
  107605. i = i0;
  107606. continue;
  107607. }
  107608. i = i0;
  107609. do {
  107610. i0 = i - 1;
  107611. char = source[i];
  107612. if (char === 42) {
  107613. i = i0;
  107614. continue;
  107615. } else
  107616. break;
  107617. } while (true);
  107618. if (char === 47) {
  107619. i = i0;
  107620. break;
  107621. }
  107622. i = i0;
  107623. }
  107624. } else
  107625. i = i0;
  107626. }
  107627. return i;
  107628. },
  107629. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  107630. var t1, i0, next, second, t2, char,
  107631. source = end.file._decodedChars,
  107632. i = end.offset;
  107633. for (t1 = source.length; i < t1;) {
  107634. i0 = i + 1;
  107635. next = source[i];
  107636. if (next === 125) {
  107637. i = i0;
  107638. break;
  107639. }
  107640. if (next === 47) {
  107641. i = i0 + 1;
  107642. second = source[i0];
  107643. if (second === 47) {
  107644. while (true) {
  107645. i0 = i + 1;
  107646. t2 = source[i];
  107647. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  107648. break;
  107649. i = i0;
  107650. }
  107651. i = i0;
  107652. } else if (second === 42)
  107653. for (; true;) {
  107654. i0 = i + 1;
  107655. if (source[i] !== 42) {
  107656. i = i0;
  107657. continue;
  107658. }
  107659. i = i0;
  107660. do {
  107661. i0 = i + 1;
  107662. char = source[i];
  107663. if (char === 42) {
  107664. i = i0;
  107665. continue;
  107666. } else
  107667. break;
  107668. } while (true);
  107669. if (char === 47) {
  107670. i = i0;
  107671. break;
  107672. }
  107673. i = i0;
  107674. }
  107675. } else
  107676. i = i0;
  107677. }
  107678. return i;
  107679. }
  107680. };
  107681. A.InterpolationMap_mapException_closure0.prototype = {
  107682. call$1($content) {
  107683. return $content instanceof A.Expression0;
  107684. },
  107685. $signature: 79
  107686. };
  107687. A.InterpolationMethod0.prototype = {
  107688. toString$0(_) {
  107689. var t1 = this.hue;
  107690. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  107691. return this.space.name + t1;
  107692. }
  107693. };
  107694. A.HueInterpolationMethod0.prototype = {
  107695. _enumToString$0() {
  107696. return "HueInterpolationMethod." + this._name;
  107697. }
  107698. };
  107699. A._realCasePath_helper0.prototype = {
  107700. call$1(path) {
  107701. var dirname = $.$get$context().dirname$1(path);
  107702. if (dirname === path)
  107703. return path;
  107704. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  107705. },
  107706. $signature: 6
  107707. };
  107708. A._realCasePath_helper_closure0.prototype = {
  107709. call$0() {
  107710. var matches, t1, _0_0, match, exception,
  107711. realDirname = this.helper.call$1(this.dirname),
  107712. t2 = this.path,
  107713. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  107714. try {
  107715. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  107716. t1 = null;
  107717. _0_0 = matches;
  107718. $label0$0: {
  107719. match = null;
  107720. if (J.get$length$asx(_0_0) === 1) {
  107721. match = J.$index$asx(_0_0, 0);
  107722. t1 = match;
  107723. break $label0$0;
  107724. }
  107725. t1 = A.join(realDirname, basename, null);
  107726. break $label0$0;
  107727. }
  107728. t1 = t1;
  107729. return t1;
  107730. } catch (exception) {
  107731. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  107732. return t2;
  107733. else
  107734. throw exception;
  107735. }
  107736. },
  107737. $signature: 32
  107738. };
  107739. A._realCasePath_helper__closure0.prototype = {
  107740. call$1(realPath) {
  107741. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  107742. },
  107743. $signature: 5
  107744. };
  107745. A.IsCalculationSafeVisitor0.prototype = {
  107746. visitBinaryOperationExpression$1(_, node) {
  107747. return B.Set_oQTdo0.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  107748. },
  107749. visitBooleanExpression$1(_, node) {
  107750. return false;
  107751. },
  107752. visitColorExpression$1(_, node) {
  107753. return false;
  107754. },
  107755. visitFunctionExpression$1(_, node) {
  107756. return true;
  107757. },
  107758. visitInterpolatedFunctionExpression$1(_, node) {
  107759. return true;
  107760. },
  107761. visitIfExpression$1(_, node) {
  107762. return true;
  107763. },
  107764. visitListExpression$1(_, node) {
  107765. var t1 = false;
  107766. if (node.separator === B.ListSeparator_qSL0)
  107767. if (!node.hasBrackets) {
  107768. t1 = node.contents;
  107769. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  107770. }
  107771. return t1;
  107772. },
  107773. visitMapExpression$1(_, node) {
  107774. return false;
  107775. },
  107776. visitNullExpression$1(_, node) {
  107777. return false;
  107778. },
  107779. visitNumberExpression$1(_, node) {
  107780. return true;
  107781. },
  107782. visitParenthesizedExpression$1(_, node) {
  107783. return node.expression.accept$1(this);
  107784. },
  107785. visitSelectorExpression$1(_, node) {
  107786. return false;
  107787. },
  107788. visitStringExpression$1(_, node) {
  107789. var text, t1, t2;
  107790. if (node.hasQuotes)
  107791. return false;
  107792. text = node.text.get$initialPlain();
  107793. t1 = false;
  107794. if (!B.JSString_methods.startsWith$1(text, "!"))
  107795. if (!B.JSString_methods.startsWith$1(text, "#")) {
  107796. t2 = text.length;
  107797. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  107798. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  107799. }
  107800. return t1;
  107801. },
  107802. visitSupportsExpression$1(_, node) {
  107803. return false;
  107804. },
  107805. visitUnaryOperationExpression$1(_, node) {
  107806. return false;
  107807. },
  107808. visitValueExpression$1(_, node) {
  107809. return false;
  107810. },
  107811. visitVariableExpression$1(_, node) {
  107812. return true;
  107813. },
  107814. $isExpressionVisitor: 1
  107815. };
  107816. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  107817. call$1(expression) {
  107818. return expression.accept$1(this.$this);
  107819. },
  107820. $signature: 123
  107821. };
  107822. A.FileSystemException0.prototype = {
  107823. toString$0(_) {
  107824. var t1 = $.$get$context();
  107825. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  107826. },
  107827. get$message(receiver) {
  107828. return this.message;
  107829. }
  107830. };
  107831. A._readFile_closure0.prototype = {
  107832. call$0() {
  107833. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  107834. },
  107835. $signature: 66
  107836. };
  107837. A.fileExists_closure0.prototype = {
  107838. call$0() {
  107839. var error, systemError, exception,
  107840. t1 = this.path;
  107841. if (!J.existsSync$1$x(A.fs(), t1))
  107842. return false;
  107843. try {
  107844. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  107845. return t1;
  107846. } catch (exception) {
  107847. error = A.unwrapException(exception);
  107848. systemError = type$.JsSystemError._as(error);
  107849. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  107850. return false;
  107851. throw exception;
  107852. }
  107853. },
  107854. $signature: 22
  107855. };
  107856. A.dirExists_closure0.prototype = {
  107857. call$0() {
  107858. var error, systemError, exception,
  107859. t1 = this.path;
  107860. if (!J.existsSync$1$x(A.fs(), t1))
  107861. return false;
  107862. try {
  107863. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  107864. return t1;
  107865. } catch (exception) {
  107866. error = A.unwrapException(exception);
  107867. systemError = type$.JsSystemError._as(error);
  107868. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  107869. return false;
  107870. throw exception;
  107871. }
  107872. },
  107873. $signature: 22
  107874. };
  107875. A.listDir_closure0.prototype = {
  107876. call$0() {
  107877. var t1 = this.path;
  107878. if (!this.recursive)
  107879. 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());
  107880. else
  107881. return new A.listDir_closure_list0().call$1(t1);
  107882. },
  107883. $signature: 161
  107884. };
  107885. A.listDir__closure1.prototype = {
  107886. call$1(child) {
  107887. return A.join(this.path, A._asString(child), null);
  107888. },
  107889. $signature: 113
  107890. };
  107891. A.listDir__closure2.prototype = {
  107892. call$1(child) {
  107893. return !A.dirExists0(child);
  107894. },
  107895. $signature: 5
  107896. };
  107897. A.listDir_closure_list0.prototype = {
  107898. call$1($parent) {
  107899. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  107900. },
  107901. $signature: 162
  107902. };
  107903. A.listDir__list_closure0.prototype = {
  107904. call$1(child) {
  107905. var path = A.join(this.parent, A._asString(child), null);
  107906. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  107907. },
  107908. $signature: 163
  107909. };
  107910. A.main_closure.prototype = {
  107911. call$2(_, __) {
  107912. },
  107913. $signature: 493
  107914. };
  107915. A.main_closure0.prototype = {
  107916. call$2(_, __) {
  107917. },
  107918. $signature: 494
  107919. };
  107920. A.JSToDartLogger.prototype = {
  107921. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  107922. var t2, t3, t4,
  107923. t1 = this._node,
  107924. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  107925. if (_0_0 != null) {
  107926. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  107927. t2 = J.toString$0$(trace);
  107928. t3 = deprecation == null;
  107929. t4 = $.$get$deprecations();
  107930. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  107931. } else
  107932. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  107933. },
  107934. debug$2(_, message, span) {
  107935. var t1 = this._node,
  107936. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  107937. if (_0_0 != null)
  107938. _0_0.call$2(message, {span: span});
  107939. else
  107940. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  107941. },
  107942. _withAscii$1$1(callback) {
  107943. var t1,
  107944. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  107945. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  107946. try {
  107947. t1 = callback.call$0();
  107948. return t1;
  107949. } finally {
  107950. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  107951. }
  107952. },
  107953. _withAscii$1(callback) {
  107954. return this._withAscii$1$1(callback, type$.dynamic);
  107955. }
  107956. };
  107957. A.JSToDartLogger_internalWarn_closure.prototype = {
  107958. call$0() {
  107959. var _this = this;
  107960. $label0$0: {
  107961. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  107962. break $label0$0;
  107963. }
  107964. },
  107965. $signature: 1
  107966. };
  107967. A.JSToDartLogger_debug_closure.prototype = {
  107968. call$0() {
  107969. return this.$this._fallback.debug$2(0, this.message, this.span);
  107970. },
  107971. $signature: 0
  107972. };
  107973. A.ModifiableCssKeyframeBlock0.prototype = {
  107974. accept$1$1(visitor) {
  107975. return visitor.visitCssKeyframeBlock$1(this);
  107976. },
  107977. accept$1(visitor) {
  107978. return this.accept$1$1(visitor, type$.dynamic);
  107979. },
  107980. equalsIgnoringChildren$1(other) {
  107981. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  107982. },
  107983. copyWithoutChildren$0() {
  107984. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  107985. },
  107986. get$span(receiver) {
  107987. return this.span;
  107988. }
  107989. };
  107990. A.KeyframeSelectorParser0.prototype = {
  107991. parse$0(_) {
  107992. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  107993. },
  107994. _keyframe_selector$_percentage$0() {
  107995. var $self, _0_0,
  107996. t1 = this.scanner,
  107997. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  107998. second = t1.peekChar$0();
  107999. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  108000. t1.error$1(0, "Expected number.");
  108001. while (true) {
  108002. $self = t1.peekChar$0();
  108003. if (!($self != null && $self >= 48 && $self <= 57))
  108004. break;
  108005. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108006. }
  108007. if (t1.peekChar$0() === 46) {
  108008. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108009. while (true) {
  108010. $self = t1.peekChar$0();
  108011. if (!($self != null && $self >= 48 && $self <= 57))
  108012. break;
  108013. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108014. }
  108015. }
  108016. if (this.scanIdentChar$1(101)) {
  108017. t2 += A.Primitives_stringFromCharCode(101);
  108018. _0_0 = t1.peekChar$0();
  108019. if (43 === _0_0 || 45 === _0_0)
  108020. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108021. $self = t1.peekChar$0();
  108022. if (!($self != null && $self >= 48 && $self <= 57))
  108023. t1.error$1(0, "Expected digit.");
  108024. do {
  108025. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108026. $self = t1.peekChar$0();
  108027. } while ($self != null && $self >= 48 && $self <= 57);
  108028. }
  108029. t1.expectChar$1(37);
  108030. t2 += A.Primitives_stringFromCharCode(37);
  108031. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108032. }
  108033. };
  108034. A.KeyframeSelectorParser_parse_closure0.prototype = {
  108035. call$0() {
  108036. var selectors = A._setArrayType([], type$.JSArray_String),
  108037. t1 = this.$this,
  108038. t2 = t1.scanner;
  108039. do {
  108040. t1.whitespace$1$consumeNewlines(true);
  108041. if (t1.lookingAtIdentifier$0())
  108042. if (t1.scanIdentifier$1("from"))
  108043. selectors.push("from");
  108044. else {
  108045. t1.expectIdentifier$2$name("to", '"to" or "from"');
  108046. selectors.push("to");
  108047. }
  108048. else
  108049. selectors.push(t1._keyframe_selector$_percentage$0());
  108050. t1.whitespace$1$consumeNewlines(true);
  108051. } while (t2.scanChar$1(44));
  108052. t2.expectDone$0();
  108053. return selectors;
  108054. },
  108055. $signature: 139
  108056. };
  108057. A.LabColorSpace0.prototype = {
  108058. get$isBoundedInternal() {
  108059. return false;
  108060. },
  108061. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  108062. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  108063. switch (dest) {
  108064. case B.LabColorSpace_2nT0:
  108065. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  108066. t1 = a == null || powerlessAB ? null : a;
  108067. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  108068. case B.LchColorSpace_Bpv0:
  108069. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  108070. default:
  108071. missingLightness = lightness == null;
  108072. if (missingLightness)
  108073. lightness = 0;
  108074. f1 = (lightness + 16) / 116;
  108075. t1 = a == null;
  108076. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  108077. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  108078. t4 = b == null;
  108079. 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);
  108080. }
  108081. },
  108082. convert$5(dest, lightness, a, b, alpha) {
  108083. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  108084. },
  108085. _lab$_convertFToXorZ$1(component) {
  108086. var cubed = Math.pow(component, 3) + 0;
  108087. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  108088. }
  108089. };
  108090. A.LazyFileSpan0.prototype = {
  108091. get$span(_) {
  108092. var t1 = this._lazy_file_span0$_span;
  108093. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  108094. },
  108095. compareTo$1(_, other) {
  108096. return this.get$span(0).compareTo$1(0, other);
  108097. },
  108098. get$context(_) {
  108099. var t1 = this.get$span(0);
  108100. return t1.get$context(t1);
  108101. },
  108102. get$end(_) {
  108103. var t1 = this.get$span(0);
  108104. return t1.get$end(t1);
  108105. },
  108106. expand$1(_, other) {
  108107. return this.get$span(0).expand$1(0, other);
  108108. },
  108109. get$file(_) {
  108110. var t1 = this.get$span(0);
  108111. return t1.get$file(t1);
  108112. },
  108113. highlight$1$color(color) {
  108114. return this.get$span(0).highlight$1$color(color);
  108115. },
  108116. get$length(_) {
  108117. var t1 = this.get$span(0);
  108118. return t1.get$length(t1);
  108119. },
  108120. message$2$color(_, message, color) {
  108121. return this.get$span(0).message$2$color(0, message, color);
  108122. },
  108123. message$1(_, message) {
  108124. return this.message$2$color(0, message, null);
  108125. },
  108126. get$sourceUrl(_) {
  108127. var t1 = this.get$span(0);
  108128. return t1.get$sourceUrl(t1);
  108129. },
  108130. get$start(_) {
  108131. var t1 = this.get$span(0);
  108132. return t1.get$start(t1);
  108133. },
  108134. get$text() {
  108135. return this.get$span(0).get$text();
  108136. },
  108137. $isComparable: 1,
  108138. $isFileSpan: 1,
  108139. $isSourceSpan: 1,
  108140. $isSourceSpanWithContext: 1
  108141. };
  108142. A.LchColorSpace0.prototype = {
  108143. get$isBoundedInternal() {
  108144. return false;
  108145. },
  108146. get$isPolarInternal() {
  108147. return true;
  108148. },
  108149. convert$5(dest, lightness, chroma, hue, alpha) {
  108150. var t1 = hue == null,
  108151. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  108152. t2 = chroma == null,
  108153. t3 = t2 ? 0 : chroma,
  108154. t4 = Math.cos(hueRadians),
  108155. t5 = t2 ? 0 : chroma;
  108156. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  108157. }
  108158. };
  108159. A.render_closure.prototype = {
  108160. call$0() {
  108161. var error, exception;
  108162. try {
  108163. this.callback.call$2(null, A.renderSync(this.options));
  108164. } catch (exception) {
  108165. error = A.unwrapException(exception);
  108166. this.callback.call$2(error, null);
  108167. }
  108168. return null;
  108169. },
  108170. $signature: 1
  108171. };
  108172. A.render_closure0.prototype = {
  108173. call$1(result) {
  108174. this.callback.call$2(null, result);
  108175. },
  108176. $signature: 495
  108177. };
  108178. A.render_closure1.prototype = {
  108179. call$2(error, stackTrace) {
  108180. var t2, t3, _null = null,
  108181. t1 = this.callback;
  108182. if (error instanceof A.SassException0)
  108183. t1.call$2(A._wrapException(error, stackTrace), _null);
  108184. else {
  108185. t2 = J.toString$0$(error);
  108186. t3 = A.getTrace0(error);
  108187. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  108188. }
  108189. },
  108190. $signature: 48
  108191. };
  108192. A._parseFunctions_closure.prototype = {
  108193. call$2(signature, callback) {
  108194. var _0_0, _this = this,
  108195. t1 = _this.options,
  108196. context = {options: A._contextOptions(t1, _this.start)};
  108197. J.set$context$x(J.get$options$x(context), context);
  108198. _0_0 = J.get$fiber$x(t1);
  108199. t1 = {};
  108200. t1.fiber = null;
  108201. if (_0_0 != null) {
  108202. t1.fiber = _0_0;
  108203. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  108204. } else {
  108205. t1 = _this.result;
  108206. if (!_this.asynch)
  108207. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  108208. else
  108209. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  108210. }
  108211. },
  108212. $signature: 114
  108213. };
  108214. A._parseFunctions__closure.prototype = {
  108215. call$1($arguments) {
  108216. var result,
  108217. t1 = this._box_0,
  108218. currentFiber = J.get$current$x(t1.fiber),
  108219. t2 = type$.Object;
  108220. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  108221. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  108222. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  108223. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  108224. },
  108225. $signature: 3
  108226. };
  108227. A._parseFunctions___closure2.prototype = {
  108228. call$1(result) {
  108229. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  108230. },
  108231. call$0() {
  108232. return this.call$1(null);
  108233. },
  108234. "call*": "call$1",
  108235. $requiredArgCount: 0,
  108236. $defaultValues() {
  108237. return [null];
  108238. },
  108239. $signature: 84
  108240. };
  108241. A._parseFunctions____closure.prototype = {
  108242. call$0() {
  108243. return J.run$1$x(this.currentFiber, this.result);
  108244. },
  108245. $signature: 0
  108246. };
  108247. A._parseFunctions___closure3.prototype = {
  108248. call$0() {
  108249. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108250. },
  108251. $signature: 33
  108252. };
  108253. A._parseFunctions___closure4.prototype = {
  108254. call$0() {
  108255. return J.yield$0$x(this._box_0.fiber);
  108256. },
  108257. $signature: 98
  108258. };
  108259. A._parseFunctions__closure0.prototype = {
  108260. call$1($arguments) {
  108261. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  108262. },
  108263. $signature: 3
  108264. };
  108265. A._parseFunctions___closure1.prototype = {
  108266. call$0() {
  108267. var t1 = type$.JSFunction._as(this.callback),
  108268. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  108269. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")));
  108270. },
  108271. $signature: 33
  108272. };
  108273. A._parseFunctions__closure1.prototype = {
  108274. call$1($arguments) {
  108275. return this.$call$body$_parseFunctions__closure($arguments);
  108276. },
  108277. $call$body$_parseFunctions__closure($arguments) {
  108278. var $async$goto = 0,
  108279. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  108280. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  108281. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  108282. if ($async$errorCode === 1)
  108283. return A._asyncRethrow($async$result, $async$completer);
  108284. while (true)
  108285. switch ($async$goto) {
  108286. case 0:
  108287. // Function start
  108288. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  108289. t2 = type$.Object;
  108290. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  108291. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  108292. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  108293. $async$temp1 = A;
  108294. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  108295. break;
  108296. case 3:
  108297. // then
  108298. $async$goto = 6;
  108299. return A._asyncAwait(t1, $async$call$1);
  108300. case 6:
  108301. // returning from await.
  108302. // goto join
  108303. $async$goto = 4;
  108304. break;
  108305. case 5:
  108306. // else
  108307. $async$result = result;
  108308. case 4:
  108309. // join
  108310. $async$returnValue = $async$temp1.unwrapValue($async$result);
  108311. // goto return
  108312. $async$goto = 1;
  108313. break;
  108314. case 1:
  108315. // return
  108316. return A._asyncReturn($async$returnValue, $async$completer);
  108317. }
  108318. });
  108319. return A._asyncStartSync($async$call$1, $async$completer);
  108320. },
  108321. $signature: 99
  108322. };
  108323. A._parseFunctions___closure.prototype = {
  108324. call$1(result) {
  108325. return this.completer.complete$1(result);
  108326. },
  108327. call$0() {
  108328. return this.call$1(null);
  108329. },
  108330. "call*": "call$1",
  108331. $requiredArgCount: 0,
  108332. $defaultValues() {
  108333. return [null];
  108334. },
  108335. $signature: 252
  108336. };
  108337. A._parseFunctions___closure0.prototype = {
  108338. call$0() {
  108339. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108340. },
  108341. $signature: 33
  108342. };
  108343. A._parseImporter_closure.prototype = {
  108344. call$1(importer) {
  108345. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  108346. },
  108347. $signature: 496
  108348. };
  108349. A._parseImporter__closure.prototype = {
  108350. call$4(thisArg, url, previous, _) {
  108351. var t1 = this._box_0,
  108352. 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));
  108353. if (A._asBool($.$get$_isUndefined().call$1(result)))
  108354. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  108355. return result;
  108356. },
  108357. call$3(thisArg, url, previous) {
  108358. return this.call$4(thisArg, url, previous, null);
  108359. },
  108360. "call*": "call$4",
  108361. $requiredArgCount: 3,
  108362. $defaultValues() {
  108363. return [null];
  108364. },
  108365. $signature: 497
  108366. };
  108367. A._parseImporter___closure.prototype = {
  108368. call$1(result) {
  108369. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  108370. },
  108371. $signature: 498
  108372. };
  108373. A._parseImporter____closure.prototype = {
  108374. call$0() {
  108375. return J.run$1$x(this.currentFiber, this.result);
  108376. },
  108377. $signature: 0
  108378. };
  108379. A._parseImporter___closure0.prototype = {
  108380. call$0() {
  108381. return J.yield$0$x(this._box_0.fiber);
  108382. },
  108383. $signature: 98
  108384. };
  108385. A.LimitedMapView0.prototype = {
  108386. get$keys(_) {
  108387. return this._limited_map_view0$_keys;
  108388. },
  108389. get$length(_) {
  108390. return this._limited_map_view0$_keys._collection$_length;
  108391. },
  108392. get$isEmpty(_) {
  108393. return this._limited_map_view0$_keys._collection$_length === 0;
  108394. },
  108395. get$isNotEmpty(_) {
  108396. return this._limited_map_view0$_keys._collection$_length !== 0;
  108397. },
  108398. $index(_, key) {
  108399. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  108400. },
  108401. containsKey$1(key) {
  108402. return this._limited_map_view0$_keys.contains$1(0, key);
  108403. },
  108404. remove$1(_, key) {
  108405. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  108406. }
  108407. };
  108408. A.ListExpression0.prototype = {
  108409. accept$1$1(visitor) {
  108410. return visitor.visitListExpression$1(0, this);
  108411. },
  108412. accept$1(visitor) {
  108413. return this.accept$1$1(visitor, type$.dynamic);
  108414. },
  108415. toString$0(_) {
  108416. var t2, t3, t4, t5, _this = this,
  108417. t1 = _this.hasBrackets;
  108418. if (t1)
  108419. t2 = "" + A.Primitives_stringFromCharCode(91);
  108420. else {
  108421. t2 = _this.contents.length;
  108422. if (t2 !== 0)
  108423. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN0;
  108424. else
  108425. t2 = true;
  108426. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  108427. }
  108428. t3 = _this.contents;
  108429. t4 = _this.separator === B.ListSeparator_qVN0;
  108430. t5 = t4 ? ", " : " ";
  108431. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  108432. if (t1)
  108433. t1 = t5 + A.Primitives_stringFromCharCode(93);
  108434. else {
  108435. t1 = t3.length;
  108436. if (t1 === 0)
  108437. t1 = t5 + A.Primitives_stringFromCharCode(41);
  108438. else
  108439. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  108440. }
  108441. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108442. },
  108443. _list3$_elementNeedsParens$1(expression) {
  108444. var childSeparator, t1, _0_13;
  108445. $label0$0: {
  108446. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  108447. childSeparator = expression.separator;
  108448. t1 = this.separator === B.ListSeparator_qVN0 ? childSeparator === B.ListSeparator_qVN0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  108449. break $label0$0;
  108450. }
  108451. if (expression instanceof A.UnaryOperationExpression0) {
  108452. _0_13 = expression.operator;
  108453. if (B.UnaryOperator_Rbl0 !== _0_13)
  108454. t1 = B.UnaryOperator_UCP0 === _0_13;
  108455. else
  108456. t1 = true;
  108457. } else
  108458. t1 = false;
  108459. if (t1) {
  108460. t1 = this.separator === B.ListSeparator_qSL0;
  108461. break $label0$0;
  108462. }
  108463. t1 = false;
  108464. break $label0$0;
  108465. }
  108466. return t1;
  108467. },
  108468. get$span(receiver) {
  108469. return this.span;
  108470. }
  108471. };
  108472. A.ListExpression_toString_closure0.prototype = {
  108473. call$1(element) {
  108474. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  108475. },
  108476. $signature: 124
  108477. };
  108478. A._length_closure2.prototype = {
  108479. call$1($arguments) {
  108480. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  108481. },
  108482. $signature: 23
  108483. };
  108484. A._nth_closure0.prototype = {
  108485. call$1($arguments) {
  108486. var t1 = J.getInterceptor$asx($arguments),
  108487. list = t1.$index($arguments, 0),
  108488. index = t1.$index($arguments, 1);
  108489. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  108490. },
  108491. $signature: 3
  108492. };
  108493. A._setNth_closure0.prototype = {
  108494. call$1($arguments) {
  108495. var newList,
  108496. t1 = J.getInterceptor$asx($arguments),
  108497. list = t1.$index($arguments, 0),
  108498. index = t1.$index($arguments, 1),
  108499. value = t1.$index($arguments, 2);
  108500. t1 = list.get$asList();
  108501. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  108502. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  108503. return list.withListContents$1(newList);
  108504. },
  108505. $signature: 27
  108506. };
  108507. A._join_closure0.prototype = {
  108508. call$1($arguments) {
  108509. var _0_1, _0_4, _0_3, t2, t3, _0_40, separator, bracketed, _null = null,
  108510. t1 = J.getInterceptor$asx($arguments),
  108511. list1 = t1.$index($arguments, 0),
  108512. list2 = t1.$index($arguments, 1),
  108513. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  108514. bracketedParam = t1.$index($arguments, 3),
  108515. _1_0 = separatorParam._string0$_text;
  108516. $label1$1: {
  108517. if ("auto" === _1_0) {
  108518. _0_1 = list1.get$separator(list1);
  108519. _0_4 = list2.get$separator(list2);
  108520. $label0$0: {
  108521. t1 = _null;
  108522. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  108523. t2 = _0_3;
  108524. if (t2) {
  108525. t3 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  108526. _0_40 = _0_4;
  108527. } else {
  108528. _0_40 = _null;
  108529. t3 = false;
  108530. }
  108531. if (t3) {
  108532. t1 = B.ListSeparator_qSL0;
  108533. break $label0$0;
  108534. }
  108535. if (_0_3)
  108536. separator = t2 ? _0_40 : _0_4;
  108537. else
  108538. separator = t1;
  108539. if (!_0_3)
  108540. separator = _0_1;
  108541. t1 = separator;
  108542. break $label0$0;
  108543. }
  108544. break $label1$1;
  108545. }
  108546. if ("space" === _1_0) {
  108547. t1 = B.ListSeparator_qSL0;
  108548. break $label1$1;
  108549. }
  108550. if ("comma" === _1_0) {
  108551. t1 = B.ListSeparator_qVN0;
  108552. break $label1$1;
  108553. }
  108554. if ("slash" === _1_0) {
  108555. t1 = B.ListSeparator_bRz0;
  108556. break $label1$1;
  108557. }
  108558. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, _null));
  108559. }
  108560. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  108561. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  108562. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  108563. return A.SassList$0(t2, t1, bracketed);
  108564. },
  108565. $signature: 27
  108566. };
  108567. A._append_closure2.prototype = {
  108568. call$1($arguments) {
  108569. var t2,
  108570. t1 = J.getInterceptor$asx($arguments),
  108571. list = t1.$index($arguments, 0),
  108572. value = t1.$index($arguments, 1),
  108573. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  108574. $label0$0: {
  108575. if ("auto" === _0_0) {
  108576. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qSL0 : list.get$separator(list);
  108577. break $label0$0;
  108578. }
  108579. if ("space" === _0_0) {
  108580. t1 = B.ListSeparator_qSL0;
  108581. break $label0$0;
  108582. }
  108583. if ("comma" === _0_0) {
  108584. t1 = B.ListSeparator_qVN0;
  108585. break $label0$0;
  108586. }
  108587. if ("slash" === _0_0) {
  108588. t1 = B.ListSeparator_bRz0;
  108589. break $label0$0;
  108590. }
  108591. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108592. }
  108593. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  108594. t2.push(value);
  108595. return list.withListContents$2$separator(t2, t1);
  108596. },
  108597. $signature: 27
  108598. };
  108599. A._zip_closure0.prototype = {
  108600. call$1($arguments) {
  108601. var results, result, _box_0 = {},
  108602. t1 = J.$index$asx($arguments, 0).get$asList(),
  108603. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  108604. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  108605. if (lists.length === 0)
  108606. return B.SassList_BlY0;
  108607. _box_0.i = 0;
  108608. results = A._setArrayType([], type$.JSArray_SassList_2);
  108609. 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));) {
  108610. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  108611. result.$flags = 3;
  108612. results.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  108613. ++_box_0.i;
  108614. }
  108615. return A.SassList$0(results, B.ListSeparator_qVN0, false);
  108616. },
  108617. $signature: 27
  108618. };
  108619. A._zip__closure2.prototype = {
  108620. call$1(list) {
  108621. return list.get$asList();
  108622. },
  108623. $signature: 500
  108624. };
  108625. A._zip__closure3.prototype = {
  108626. call$1(list) {
  108627. return this._box_0.i !== J.get$length$asx(list);
  108628. },
  108629. $signature: 501
  108630. };
  108631. A._zip__closure4.prototype = {
  108632. call$1(list) {
  108633. return J.$index$asx(list, this._box_0.i);
  108634. },
  108635. $signature: 3
  108636. };
  108637. A._index_closure2.prototype = {
  108638. call$1($arguments) {
  108639. var t1 = J.getInterceptor$asx($arguments),
  108640. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  108641. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  108642. },
  108643. $signature: 3
  108644. };
  108645. A._separator_closure0.prototype = {
  108646. call$1($arguments) {
  108647. var t1 = J.$index$asx($arguments, 0),
  108648. _0_0 = t1.get$separator(t1);
  108649. $label0$0: {
  108650. if (B.ListSeparator_qVN0 === _0_0) {
  108651. t1 = new A.SassString0("comma", false);
  108652. break $label0$0;
  108653. }
  108654. if (B.ListSeparator_bRz0 === _0_0) {
  108655. t1 = new A.SassString0("slash", false);
  108656. break $label0$0;
  108657. }
  108658. t1 = new A.SassString0("space", false);
  108659. break $label0$0;
  108660. }
  108661. return t1;
  108662. },
  108663. $signature: 17
  108664. };
  108665. A._isBracketed_closure0.prototype = {
  108666. call$1($arguments) {
  108667. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  108668. },
  108669. $signature: 12
  108670. };
  108671. A._slash_closure0.prototype = {
  108672. call$1($arguments) {
  108673. var list = J.$index$asx($arguments, 0).get$asList();
  108674. if (list.length < 2)
  108675. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  108676. return A.SassList$0(list, B.ListSeparator_bRz0, false);
  108677. },
  108678. $signature: 27
  108679. };
  108680. A.SelectorList0.prototype = {
  108681. get$asSassList() {
  108682. var t1 = this.components;
  108683. 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);
  108684. },
  108685. accept$1$1(visitor) {
  108686. return visitor.visitSelectorList$1(this);
  108687. },
  108688. accept$1(visitor) {
  108689. return this.accept$1$1(visitor, type$.dynamic);
  108690. },
  108691. unify$1(other) {
  108692. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  108693. t1 = type$.JSArray_ComplexSelector_2,
  108694. t2 = A._setArrayType([], t1);
  108695. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  108696. complex1 = t3[_i];
  108697. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  108698. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  108699. if (t8 != null)
  108700. B.JSArray_methods.addAll$1(t2, t8);
  108701. }
  108702. }
  108703. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  108704. },
  108705. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  108706. var parentSelector, t1, _this = this;
  108707. if ($parent == null) {
  108708. if (preserveParentSelectors)
  108709. return _this;
  108710. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  108711. if (parentSelector == null)
  108712. return _this;
  108713. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  108714. }
  108715. t1 = _this.components;
  108716. 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);
  108717. },
  108718. nestWithin$1($parent) {
  108719. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  108720. },
  108721. nestWithin$2$implicitParent($parent, implicitParent) {
  108722. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  108723. },
  108724. _list2$_nestWithinCompound$2(component, $parent) {
  108725. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  108726. t1 = component.selector,
  108727. simples = t1.components,
  108728. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  108729. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  108730. return null;
  108731. if (containsSelectorPseudo) {
  108732. t2 = simples;
  108733. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  108734. } else
  108735. resolvedSimples0 = simples;
  108736. resolvedSimples = resolvedSimples0;
  108737. parentSelector = J.get$first$ax(simples);
  108738. try {
  108739. if (!(parentSelector instanceof A.ParentSelector0)) {
  108740. t2 = component.span;
  108741. 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);
  108742. return t2;
  108743. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  108744. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  108745. return t1.components;
  108746. }
  108747. } catch (exception) {
  108748. t1 = A.unwrapException(exception);
  108749. if (t1 instanceof A.SassException0) {
  108750. error = t1;
  108751. stackTrace = A.getTraceFromException(exception);
  108752. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  108753. } else
  108754. throw exception;
  108755. }
  108756. t1 = $parent.components;
  108757. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  108758. },
  108759. isSuperselector$1(other) {
  108760. return A.listIsSuperselector0(this.components, other.components);
  108761. },
  108762. withAdditionalCombinators$1(combinators) {
  108763. var t1;
  108764. if (combinators.length === 0)
  108765. t1 = this;
  108766. else {
  108767. t1 = this.components;
  108768. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  108769. }
  108770. return t1;
  108771. },
  108772. get$hashCode(_) {
  108773. return B.C_ListEquality0.hash$1(this.components);
  108774. },
  108775. $eq(_, other) {
  108776. if (other == null)
  108777. return false;
  108778. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  108779. }
  108780. };
  108781. A.SelectorList_asSassList_closure0.prototype = {
  108782. call$1(complex) {
  108783. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  108784. t1 = type$.JSArray_Value_2,
  108785. t2 = A._setArrayType([], t1);
  108786. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  108787. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  108788. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  108789. component = t3[_i];
  108790. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  108791. component.selector.accept$1(visitor);
  108792. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  108793. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  108794. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  108795. B.JSArray_methods.addAll$1(t2, t5);
  108796. }
  108797. return A.SassList$0(t2, B.ListSeparator_qSL0, false);
  108798. },
  108799. $signature: 502
  108800. };
  108801. A.SelectorList_nestWithin_closure0.prototype = {
  108802. call$1(complex) {
  108803. 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;
  108804. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  108805. if (!_this.implicitParent)
  108806. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  108807. t1 = _this.parent.components;
  108808. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  108809. }
  108810. t1 = type$.JSArray_ComplexSelector_2;
  108811. newComplexes = A._setArrayType([], t1);
  108812. 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) {
  108813. component = t2[_i];
  108814. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  108815. if (resolved == null)
  108816. if (newComplexes.length === 0)
  108817. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  108818. else
  108819. for (i = 0; i < newComplexes.length; ++i) {
  108820. t12 = newComplexes[i];
  108821. t13 = A.List_List$of(t12.components, true, t10);
  108822. t13.push(component);
  108823. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  108824. }
  108825. else if (newComplexes.length === 0)
  108826. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  108827. else {
  108828. t12 = A._setArrayType([], t1);
  108829. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  108830. newComplex = newComplexes[_i0];
  108831. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  108832. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  108833. }
  108834. newComplexes = t12;
  108835. }
  108836. }
  108837. return newComplexes;
  108838. },
  108839. $signature: 503
  108840. };
  108841. A.SelectorList_nestWithin__closure1.prototype = {
  108842. call$1(parentComplex) {
  108843. var t1 = this.complex;
  108844. return parentComplex.concatenate$2(t1, t1.span);
  108845. },
  108846. $signature: 64
  108847. };
  108848. A.SelectorList_nestWithin__closure2.prototype = {
  108849. call$1(resolvedComplex) {
  108850. var t1 = resolvedComplex.leadingCombinators,
  108851. t2 = this.complex,
  108852. t3 = t2.leadingCombinators;
  108853. if (t1.length === 0)
  108854. t1 = t3;
  108855. else {
  108856. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  108857. B.JSArray_methods.addAll$1(t3, t1);
  108858. t1 = t3;
  108859. }
  108860. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  108861. },
  108862. $signature: 64
  108863. };
  108864. A.SelectorList__nestWithinCompound_closure2.prototype = {
  108865. call$1(simple) {
  108866. var selector;
  108867. if (!(simple instanceof A.PseudoSelector0))
  108868. return false;
  108869. selector = simple.selector;
  108870. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  108871. },
  108872. $signature: 13
  108873. };
  108874. A.SelectorList__nestWithinCompound_closure3.prototype = {
  108875. call$1(simple) {
  108876. var selector, t1, _0_2;
  108877. $label0$0: {
  108878. selector = null;
  108879. t1 = false;
  108880. if (simple instanceof A.PseudoSelector0) {
  108881. _0_2 = simple.selector;
  108882. if (_0_2 != null) {
  108883. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  108884. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  108885. }
  108886. }
  108887. if (t1) {
  108888. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  108889. break $label0$0;
  108890. }
  108891. t1 = simple;
  108892. break $label0$0;
  108893. }
  108894. return t1;
  108895. },
  108896. $signature: 504
  108897. };
  108898. A.SelectorList__nestWithinCompound_closure4.prototype = {
  108899. call$1(complex) {
  108900. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  108901. try {
  108902. t4 = complex.components;
  108903. lastComponent = B.JSArray_methods.get$last(t4);
  108904. if (lastComponent.combinators.length !== 0) {
  108905. 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);
  108906. throw A.wrapException(t1);
  108907. }
  108908. suffix = _this.parentSelector.suffix;
  108909. lastSimples = lastComponent.selector.components;
  108910. t5 = type$.SimpleSelector_2;
  108911. t6 = _this.resolvedSimples;
  108912. t7 = J.getInterceptor$ax(t6);
  108913. if (suffix == null) {
  108914. t1 = A.List_List$of(lastSimples, true, t5);
  108915. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  108916. t1 = t1;
  108917. } else {
  108918. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  108919. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  108920. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  108921. t1 = t2;
  108922. }
  108923. t2 = _this.component;
  108924. last = A.CompoundSelector$0(t1, t2.selector.span);
  108925. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  108926. t4 = t2.span;
  108927. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  108928. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  108929. return t4;
  108930. } catch (exception) {
  108931. t1 = A.unwrapException(exception);
  108932. if (t1 instanceof A.SassException0) {
  108933. error = t1;
  108934. stackTrace = A.getTraceFromException(exception);
  108935. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  108936. } else
  108937. throw exception;
  108938. }
  108939. },
  108940. $signature: 64
  108941. };
  108942. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  108943. call$1(complex) {
  108944. return complex.withAdditionalCombinators$1(this.combinators);
  108945. },
  108946. $signature: 64
  108947. };
  108948. A._ParentSelectorVisitor0.prototype = {
  108949. visitParentSelector$1(selector) {
  108950. return selector;
  108951. }
  108952. };
  108953. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  108954. A.listClass_closure.prototype = {
  108955. call$0() {
  108956. var t1 = type$.JSClass,
  108957. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  108958. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  108959. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_apG.constructor), jsClass);
  108960. return jsClass;
  108961. },
  108962. $signature: 15
  108963. };
  108964. A.listClass__closure.prototype = {
  108965. call$3($self, contentsOrOptions, options) {
  108966. var contents, t1, t2;
  108967. if (self.immutable.isList(contentsOrOptions))
  108968. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  108969. else if (type$.List_dynamic._is(contentsOrOptions))
  108970. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  108971. else {
  108972. contents = A._setArrayType([], type$.JSArray_Value_2);
  108973. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  108974. options = contentsOrOptions;
  108975. }
  108976. t1 = options == null;
  108977. if (!t1) {
  108978. t2 = J.get$separator$x(options);
  108979. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  108980. } else
  108981. t2 = true;
  108982. t2 = t2 ? B.ListSeparator_qVN0 : A.jsToDartSeparator(J.get$separator$x(options));
  108983. t1 = t1 ? null : J.get$brackets$x(options);
  108984. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  108985. },
  108986. call$1($self) {
  108987. return this.call$3($self, null, null);
  108988. },
  108989. call$2($self, contentsOrOptions) {
  108990. return this.call$3($self, contentsOrOptions, null);
  108991. },
  108992. "call*": "call$3",
  108993. $requiredArgCount: 1,
  108994. $defaultValues() {
  108995. return [null, null];
  108996. },
  108997. $signature: 505
  108998. };
  108999. A.listClass__closure0.prototype = {
  109000. call$2($self, indexFloat) {
  109001. var index = B.JSNumber_methods.floor$0(indexFloat);
  109002. if (index < 0)
  109003. index = $self.get$asList().length + index;
  109004. if (index < 0 || index >= $self.get$asList().length)
  109005. return self.undefined;
  109006. return $self.get$asList()[index];
  109007. },
  109008. $signature: 198
  109009. };
  109010. A._ConstructorOptions.prototype = {};
  109011. A._NodeSassList.prototype = {};
  109012. A.legacyListClass_closure.prototype = {
  109013. call$4(thisArg, $length, commaSeparator, dartValue) {
  109014. var t1;
  109015. if (dartValue == null) {
  109016. $length.toString;
  109017. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  109018. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0, false);
  109019. } else
  109020. t1 = dartValue;
  109021. J.set$dartValue$x(thisArg, t1);
  109022. },
  109023. call$2(thisArg, $length) {
  109024. return this.call$4(thisArg, $length, null, null);
  109025. },
  109026. call$3(thisArg, $length, commaSeparator) {
  109027. return this.call$4(thisArg, $length, commaSeparator, null);
  109028. },
  109029. "call*": "call$4",
  109030. $requiredArgCount: 2,
  109031. $defaultValues() {
  109032. return [null, null];
  109033. },
  109034. $signature: 507
  109035. };
  109036. A.legacyListClass__closure.prototype = {
  109037. call$1(_) {
  109038. return B.C__SassNull0;
  109039. },
  109040. $signature: 195
  109041. };
  109042. A.legacyListClass_closure0.prototype = {
  109043. call$2(thisArg, index) {
  109044. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  109045. },
  109046. $signature: 509
  109047. };
  109048. A.legacyListClass_closure1.prototype = {
  109049. call$3(thisArg, index, value) {
  109050. var t1 = J.getInterceptor$x(thisArg),
  109051. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109052. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  109053. mutable[index] = A.unwrapValue(value);
  109054. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  109055. },
  109056. "call*": "call$3",
  109057. $requiredArgCount: 3,
  109058. $signature: 510
  109059. };
  109060. A.legacyListClass_closure2.prototype = {
  109061. call$1(thisArg) {
  109062. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_qVN0;
  109063. },
  109064. $signature: 511
  109065. };
  109066. A.legacyListClass_closure3.prototype = {
  109067. call$2(thisArg, isComma) {
  109068. var t1 = J.getInterceptor$x(thisArg),
  109069. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109070. t3 = isComma ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0;
  109071. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  109072. },
  109073. $signature: 512
  109074. };
  109075. A.legacyListClass_closure4.prototype = {
  109076. call$1(thisArg) {
  109077. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  109078. },
  109079. $signature: 513
  109080. };
  109081. A.SassList0.prototype = {
  109082. get$separator(_) {
  109083. return this._list1$_separator;
  109084. },
  109085. get$hasBrackets() {
  109086. return this._list1$_hasBrackets;
  109087. },
  109088. get$isBlank() {
  109089. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  109090. },
  109091. get$asList() {
  109092. return this._list1$_contents;
  109093. },
  109094. get$lengthAsList() {
  109095. return this._list1$_contents.length;
  109096. },
  109097. SassList$3$brackets0(contents, _separator, brackets) {
  109098. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  109099. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  109100. },
  109101. toString$0(_) {
  109102. var t2, _this = this,
  109103. t1 = true;
  109104. if (!_this._list1$_hasBrackets) {
  109105. t2 = _this._list1$_contents.length;
  109106. if (t2 !== 0)
  109107. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_qVN0;
  109108. }
  109109. if (t1)
  109110. return _this.super$Value$toString0(0);
  109111. return "(" + _this.super$Value$toString0(0) + ")";
  109112. },
  109113. accept$1$1(visitor) {
  109114. return visitor.visitList$1(this);
  109115. },
  109116. accept$1(visitor) {
  109117. return this.accept$1$1(visitor, type$.dynamic);
  109118. },
  109119. assertMap$1($name) {
  109120. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  109121. },
  109122. tryMap$0() {
  109123. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  109124. },
  109125. $eq(_, other) {
  109126. var t1, _this = this;
  109127. if (other == null)
  109128. return false;
  109129. 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)))
  109130. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  109131. else
  109132. t1 = true;
  109133. return t1;
  109134. },
  109135. get$hashCode(_) {
  109136. return B.C_ListEquality0.hash$1(this._list1$_contents);
  109137. }
  109138. };
  109139. A.SassList_isBlank_closure0.prototype = {
  109140. call$1(element) {
  109141. return element.get$isBlank();
  109142. },
  109143. $signature: 52
  109144. };
  109145. A.ListSeparator0.prototype = {
  109146. _enumToString$0() {
  109147. return "ListSeparator." + this._name;
  109148. },
  109149. toString$0(_) {
  109150. return this._list1$_name;
  109151. }
  109152. };
  109153. A.LmsColorSpace0.prototype = {
  109154. get$isBoundedInternal() {
  109155. return false;
  109156. },
  109157. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  109158. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  109159. switch (dest) {
  109160. case B.OklabColorSpace_5400:
  109161. t1 = long == null ? 0 : long;
  109162. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109163. t1 = medium == null ? 0 : medium;
  109164. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109165. t1 = short == null ? 0 : short;
  109166. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109167. t1 = $.$get$lmsToOklab0();
  109168. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109169. t2 = missingLightness ? _null : lightness;
  109170. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  109171. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  109172. case B.OklchColorSpace_9Gj0:
  109173. t1 = long == null ? 0 : long;
  109174. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109175. t1 = medium == null ? 0 : medium;
  109176. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109177. t1 = short == null ? 0 : short;
  109178. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109179. if (missingLightness)
  109180. t1 = _null;
  109181. else {
  109182. t1 = $.$get$lmsToOklab0();
  109183. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109184. }
  109185. t2 = $.$get$lmsToOklab0();
  109186. 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);
  109187. default:
  109188. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  109189. }
  109190. },
  109191. convert$5(dest, long, medium, short, alpha) {
  109192. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  109193. },
  109194. toLinear$1(channel) {
  109195. return channel;
  109196. },
  109197. fromLinear$1(channel) {
  109198. return channel;
  109199. },
  109200. transformationMatrix$1(dest) {
  109201. var t1;
  109202. $label0$0: {
  109203. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  109204. t1 = $.$get$lmsToLinearSrgb0();
  109205. break $label0$0;
  109206. }
  109207. if (B.A98RgbColorSpace_lf20 === dest) {
  109208. t1 = $.$get$lmsToLinearA98Rgb0();
  109209. break $label0$0;
  109210. }
  109211. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  109212. t1 = $.$get$lmsToLinearProphotoRgb0();
  109213. break $label0$0;
  109214. }
  109215. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  109216. t1 = $.$get$lmsToLinearDisplayP30();
  109217. break $label0$0;
  109218. }
  109219. if (B.Rec2020ColorSpace_6oo0 === dest) {
  109220. t1 = $.$get$lmsToLinearRec20200();
  109221. break $label0$0;
  109222. }
  109223. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  109224. t1 = $.$get$lmsToXyzD650();
  109225. break $label0$0;
  109226. }
  109227. if (B.XyzD50ColorSpace_2OB0 === dest) {
  109228. t1 = $.$get$lmsToXyzD500();
  109229. break $label0$0;
  109230. }
  109231. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  109232. break $label0$0;
  109233. }
  109234. return t1;
  109235. }
  109236. };
  109237. A.LocalMindeGamutMap0.prototype = {
  109238. map$1(_, color) {
  109239. var clipped, max, min, minInGamut, chroma, current, e,
  109240. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  109241. lightness = originOklch.channel0OrNull,
  109242. hue = originOklch.channel2OrNull,
  109243. alpha = originOklch.alphaOrNull,
  109244. t1 = lightness == null,
  109245. t2 = t1 ? 0 : lightness;
  109246. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  109247. t1 = color._color0$_space;
  109248. t2 = color.alphaOrNull;
  109249. 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);
  109250. } else {
  109251. t1 = t1 ? 0 : lightness;
  109252. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  109253. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  109254. }
  109255. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  109256. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  109257. return clipped;
  109258. max = originOklch.channel1OrNull;
  109259. if (max == null)
  109260. max = 0;
  109261. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  109262. chroma = (min + max) / 2;
  109263. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  109264. if (minInGamut && current.get$isInGamut()) {
  109265. min = chroma;
  109266. continue;
  109267. }
  109268. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  109269. e = this._local_minde$_deltaEOK$2(clipped, current);
  109270. if (e < 0.02) {
  109271. if (0.02 - e < 0.0001)
  109272. return clipped;
  109273. min = chroma;
  109274. minInGamut = false;
  109275. } else
  109276. max = chroma;
  109277. }
  109278. return clipped;
  109279. },
  109280. _local_minde$_deltaEOK$2(color1, color2) {
  109281. var t2, t3, t4,
  109282. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  109283. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  109284. t1 = lab1.channel0OrNull;
  109285. if (t1 == null)
  109286. t1 = 0;
  109287. t2 = lab2.channel0OrNull;
  109288. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  109289. t2 = lab1.channel1OrNull;
  109290. if (t2 == null)
  109291. t2 = 0;
  109292. t3 = lab2.channel1OrNull;
  109293. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  109294. t3 = lab1.channel2OrNull;
  109295. if (t3 == null)
  109296. t3 = 0;
  109297. t4 = lab2.channel2OrNull;
  109298. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  109299. }
  109300. };
  109301. A.JSLogger.prototype = {};
  109302. A.WarnOptions.prototype = {};
  109303. A.DebugOptions.prototype = {};
  109304. A.LoggerWithDeprecationType0.prototype = {};
  109305. A.LoudComment0.prototype = {
  109306. get$span(_) {
  109307. return this.text.span;
  109308. },
  109309. accept$1$1(visitor) {
  109310. return visitor.visitLoudComment$1(0, this);
  109311. },
  109312. accept$1(visitor) {
  109313. return this.accept$1$1(visitor, type$.dynamic);
  109314. },
  109315. toString$0(_) {
  109316. return this.text.toString$0(0);
  109317. }
  109318. };
  109319. A.MapExpression0.prototype = {
  109320. accept$1$1(visitor) {
  109321. return visitor.visitMapExpression$1(0, this);
  109322. },
  109323. accept$1(visitor) {
  109324. return this.accept$1$1(visitor, type$.dynamic);
  109325. },
  109326. toString$0(_) {
  109327. var t2, t3, _i, t4,
  109328. t1 = A._setArrayType([], type$.JSArray_String);
  109329. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  109330. t4 = t2[_i];
  109331. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  109332. }
  109333. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  109334. },
  109335. get$span(receiver) {
  109336. return this.span;
  109337. }
  109338. };
  109339. A._get_closure0.prototype = {
  109340. call$1($arguments) {
  109341. var value,
  109342. t1 = J.getInterceptor$asx($arguments),
  109343. map = t1.$index($arguments, 0).assertMap$1("map"),
  109344. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109345. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109346. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109347. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109348. if (!(value instanceof A.SassMap0))
  109349. return B.C__SassNull0;
  109350. }
  109351. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  109352. return t1 == null ? B.C__SassNull0 : t1;
  109353. },
  109354. $signature: 3
  109355. };
  109356. A._set_closure1.prototype = {
  109357. call$1($arguments) {
  109358. var t1 = J.getInterceptor$asx($arguments);
  109359. 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);
  109360. },
  109361. $signature: 3
  109362. };
  109363. A._set__closure2.prototype = {
  109364. call$1(_) {
  109365. return J.$index$asx(this.$arguments, 2);
  109366. },
  109367. $signature: 44
  109368. };
  109369. A._set_closure2.prototype = {
  109370. call$1($arguments) {
  109371. var keys, t2, t3,
  109372. t1 = J.getInterceptor$asx($arguments),
  109373. map = t1.$index($arguments, 0).assertMap$1("map"),
  109374. _0_0 = t1.$index($arguments, 1).get$asList(),
  109375. _0_1 = _0_0.length;
  109376. if (_0_1 <= 0)
  109377. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  109378. if (_0_1 === 1)
  109379. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  109380. t1 = {};
  109381. keys = t1.value = null;
  109382. t2 = _0_1 >= 1;
  109383. if (t2) {
  109384. t3 = _0_1 - 1;
  109385. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  109386. t1.value = _0_0[t3];
  109387. }
  109388. if (t2)
  109389. return A._modify0(map, keys, new A._set__closure1(t1), true);
  109390. throw A.wrapException("[BUG] Unreachable code");
  109391. },
  109392. $signature: 3
  109393. };
  109394. A._set__closure1.prototype = {
  109395. call$1(_) {
  109396. return this._box_0.value;
  109397. },
  109398. $signature: 44
  109399. };
  109400. A._merge_closure1.prototype = {
  109401. call$1($arguments) {
  109402. var t2,
  109403. t1 = J.getInterceptor$asx($arguments),
  109404. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109405. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  109406. t1 = type$.Value_2;
  109407. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  109408. t2.addAll$1(0, map2._map0$_contents);
  109409. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109410. },
  109411. $signature: 37
  109412. };
  109413. A._merge_closure2.prototype = {
  109414. call$1($arguments) {
  109415. var last, t2, keys, _null = null,
  109416. t1 = J.getInterceptor$asx($arguments),
  109417. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109418. _0_0 = t1.$index($arguments, 1).get$asList(),
  109419. _0_1 = _0_0.length;
  109420. if (_0_1 <= 0)
  109421. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  109422. if (_0_1 === 1)
  109423. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  109424. t1 = _0_1 >= 1;
  109425. last = _null;
  109426. if (t1) {
  109427. t2 = _0_1 - 1;
  109428. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  109429. last = _0_0[t2];
  109430. } else
  109431. keys = _null;
  109432. if (t1)
  109433. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  109434. throw A.wrapException("[BUG] Unreachable code");
  109435. },
  109436. $signature: 3
  109437. };
  109438. A._merge__closure0.prototype = {
  109439. call$1(oldValue) {
  109440. var t1, t2,
  109441. nestedMap = oldValue.tryMap$0();
  109442. if (nestedMap == null)
  109443. return this.map2;
  109444. t1 = type$.Value_2;
  109445. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109446. t2.addAll$1(0, this.map2._map0$_contents);
  109447. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109448. },
  109449. $signature: 514
  109450. };
  109451. A._deepMerge_closure0.prototype = {
  109452. call$1($arguments) {
  109453. var t1 = J.getInterceptor$asx($arguments);
  109454. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  109455. },
  109456. $signature: 37
  109457. };
  109458. A._deepRemove_closure0.prototype = {
  109459. call$1($arguments) {
  109460. var t1 = J.getInterceptor$asx($arguments),
  109461. map = t1.$index($arguments, 0).assertMap$1("map"),
  109462. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109463. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109464. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  109465. },
  109466. $signature: 3
  109467. };
  109468. A._deepRemove__closure0.prototype = {
  109469. call$1(value) {
  109470. var t1, nestedMap, t2,
  109471. _0_0 = value.tryMap$0();
  109472. if (_0_0 != null) {
  109473. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  109474. nestedMap = _0_0;
  109475. } else {
  109476. nestedMap = null;
  109477. t1 = false;
  109478. }
  109479. if (t1) {
  109480. t1 = type$.Value_2;
  109481. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109482. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  109483. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109484. }
  109485. return value;
  109486. },
  109487. $signature: 44
  109488. };
  109489. A._remove_closure1.prototype = {
  109490. call$1($arguments) {
  109491. return J.$index$asx($arguments, 0).assertMap$1("map");
  109492. },
  109493. $signature: 37
  109494. };
  109495. A._remove_closure2.prototype = {
  109496. call$1($arguments) {
  109497. var mutableMap, t3, _i,
  109498. t1 = J.getInterceptor$asx($arguments),
  109499. map = t1.$index($arguments, 0).assertMap$1("map"),
  109500. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109501. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109502. t1 = type$.Value_2;
  109503. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  109504. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  109505. mutableMap.remove$1(0, t2[_i]);
  109506. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109507. },
  109508. $signature: 37
  109509. };
  109510. A._keys_closure0.prototype = {
  109511. call$1($arguments) {
  109512. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109513. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_qVN0, false);
  109514. },
  109515. $signature: 27
  109516. };
  109517. A._values_closure0.prototype = {
  109518. call$1($arguments) {
  109519. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109520. return A.SassList$0(t1.get$values(t1), B.ListSeparator_qVN0, false);
  109521. },
  109522. $signature: 27
  109523. };
  109524. A._hasKey_closure0.prototype = {
  109525. call$1($arguments) {
  109526. var value,
  109527. t1 = J.getInterceptor$asx($arguments),
  109528. map = t1.$index($arguments, 0).assertMap$1("map"),
  109529. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109530. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109531. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109532. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109533. if (!(value instanceof A.SassMap0))
  109534. return B.SassBoolean_false0;
  109535. }
  109536. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109537. },
  109538. $signature: 12
  109539. };
  109540. A._modify_modifyNestedMap0.prototype = {
  109541. call$1(map) {
  109542. var nestedMap, _this = this,
  109543. t1 = type$.Value_2,
  109544. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  109545. t2 = _this.keyIterator,
  109546. key = t2.get$current(t2);
  109547. if (!t2.moveNext$0()) {
  109548. t2 = mutableMap.$index(0, key);
  109549. if (t2 == null)
  109550. t2 = B.C__SassNull0;
  109551. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  109552. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109553. }
  109554. t2 = mutableMap.$index(0, key);
  109555. nestedMap = t2 == null ? null : t2.tryMap$0();
  109556. t2 = nestedMap == null;
  109557. if (t2 && !_this.addNesting)
  109558. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109559. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  109560. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109561. },
  109562. $signature: 515
  109563. };
  109564. A.MapExtensions_get_pairs_closure0.prototype = {
  109565. call$1(e) {
  109566. return new A._Record_2(e.key, e.value);
  109567. },
  109568. $signature() {
  109569. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  109570. }
  109571. };
  109572. A.mapClass_closure.prototype = {
  109573. call$0() {
  109574. var t1 = type$.JSClass,
  109575. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  109576. t2 = J.getInterceptor$x(jsClass);
  109577. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  109578. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  109579. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  109580. return jsClass;
  109581. },
  109582. $signature: 15
  109583. };
  109584. A.mapClass__closure.prototype = {
  109585. call$2($self, contents) {
  109586. var t1;
  109587. if (contents == null)
  109588. t1 = B.SassMap_Map_empty0;
  109589. else {
  109590. t1 = type$.Value_2;
  109591. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  109592. }
  109593. return t1;
  109594. },
  109595. call$1($self) {
  109596. return this.call$2($self, null);
  109597. },
  109598. "call*": "call$2",
  109599. $requiredArgCount: 1,
  109600. $defaultValues() {
  109601. return [null];
  109602. },
  109603. $signature: 516
  109604. };
  109605. A.mapClass__closure0.prototype = {
  109606. call$1($self) {
  109607. return A.dartMapToImmutableMap($self._map0$_contents);
  109608. },
  109609. $signature: 517
  109610. };
  109611. A.mapClass__closure1.prototype = {
  109612. call$2($self, indexOrKey) {
  109613. var index, t1, _0_0;
  109614. if (typeof indexOrKey == "number") {
  109615. index = B.JSNumber_methods.floor$0(indexOrKey);
  109616. if (index < 0) {
  109617. t1 = $self._map0$_contents;
  109618. index = t1.get$length(t1) + index;
  109619. }
  109620. if (index >= 0) {
  109621. t1 = $self._map0$_contents;
  109622. t1 = index >= t1.get$length(t1);
  109623. } else
  109624. t1 = true;
  109625. if (t1)
  109626. return self.undefined;
  109627. t1 = type$.Value_2;
  109628. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  109629. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_qSL0, false);
  109630. } else {
  109631. t1 = $self._map0$_contents.$index(0, indexOrKey);
  109632. return t1 == null ? self.undefined : t1;
  109633. }
  109634. },
  109635. $signature: 518
  109636. };
  109637. A._NodeSassMap.prototype = {};
  109638. A.legacyMapClass_closure.prototype = {
  109639. call$3(thisArg, $length, dartValue) {
  109640. var t1, t2, t3, map;
  109641. if (dartValue == null) {
  109642. $length.toString;
  109643. t1 = type$.Value_2;
  109644. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  109645. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  109646. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  109647. A.MapBase__fillMapWithIterables(map, t2, t3);
  109648. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  109649. } else
  109650. t1 = dartValue;
  109651. J.set$dartValue$x(thisArg, t1);
  109652. },
  109653. call$2(thisArg, $length) {
  109654. return this.call$3(thisArg, $length, null);
  109655. },
  109656. "call*": "call$3",
  109657. $requiredArgCount: 2,
  109658. $defaultValues() {
  109659. return [null];
  109660. },
  109661. $signature: 519
  109662. };
  109663. A.legacyMapClass__closure.prototype = {
  109664. call$1(i) {
  109665. return A.SassNumber_SassNumber0(i, null);
  109666. },
  109667. $signature: 520
  109668. };
  109669. A.legacyMapClass__closure0.prototype = {
  109670. call$1(_) {
  109671. return B.C__SassNull0;
  109672. },
  109673. $signature: 195
  109674. };
  109675. A.legacyMapClass_closure0.prototype = {
  109676. call$2(thisArg, index) {
  109677. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109678. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  109679. },
  109680. $signature: 193
  109681. };
  109682. A.legacyMapClass_closure1.prototype = {
  109683. call$2(thisArg, index) {
  109684. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109685. t1 = t1.get$values(t1);
  109686. return A.wrapValue(t1.elementAt$1(t1, index));
  109687. },
  109688. $signature: 193
  109689. };
  109690. A.legacyMapClass_closure2.prototype = {
  109691. call$1(thisArg) {
  109692. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  109693. return t1.get$length(t1);
  109694. },
  109695. $signature: 522
  109696. };
  109697. A.legacyMapClass_closure3.prototype = {
  109698. call$3(thisArg, index, key) {
  109699. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  109700. t1 = J.getInterceptor$x(thisArg),
  109701. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  109702. $length = oldMap.get$length(oldMap);
  109703. A.IndexError_check(index, $length, oldMap, null, "index");
  109704. newKey = A.unwrapValue(key);
  109705. t2 = type$.Value_2;
  109706. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  109707. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  109708. t4 = t3.get$current(t3);
  109709. oldKey = t4._0;
  109710. oldValue = t4._1;
  109711. if (i === index)
  109712. newMap.$indexSet(0, newKey, oldValue);
  109713. else {
  109714. if (newKey.$eq(0, oldKey))
  109715. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  109716. newMap.$indexSet(0, oldKey, oldValue);
  109717. }
  109718. ++i;
  109719. }
  109720. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  109721. },
  109722. "call*": "call$3",
  109723. $requiredArgCount: 3,
  109724. $signature: 186
  109725. };
  109726. A.legacyMapClass_closure4.prototype = {
  109727. call$3(thisArg, index, value) {
  109728. var t3,
  109729. t1 = J.getInterceptor$x(thisArg),
  109730. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  109731. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  109732. t2 = type$.Value_2;
  109733. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  109734. t3.$indexSet(0, key, A.unwrapValue(value));
  109735. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  109736. },
  109737. "call*": "call$3",
  109738. $requiredArgCount: 3,
  109739. $signature: 186
  109740. };
  109741. A.SassMap0.prototype = {
  109742. get$separator(_) {
  109743. var t1 = this._map0$_contents;
  109744. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_qVN0;
  109745. },
  109746. get$asList() {
  109747. var t3, t4, t5, result,
  109748. t1 = type$.JSArray_Value_2,
  109749. t2 = A._setArrayType([], t1);
  109750. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  109751. t5 = t4.get$current(t4);
  109752. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  109753. result.$flags = 3;
  109754. t2.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  109755. }
  109756. return t2;
  109757. },
  109758. get$lengthAsList() {
  109759. var t1 = this._map0$_contents;
  109760. return t1.get$length(t1);
  109761. },
  109762. accept$1$1(visitor) {
  109763. return visitor.visitMap$1(this);
  109764. },
  109765. accept$1(visitor) {
  109766. return this.accept$1$1(visitor, type$.dynamic);
  109767. },
  109768. assertMap$1($name) {
  109769. return this;
  109770. },
  109771. tryMap$0() {
  109772. return this;
  109773. },
  109774. $eq(_, other) {
  109775. var t1;
  109776. if (other == null)
  109777. return false;
  109778. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  109779. t1 = this._map0$_contents;
  109780. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  109781. } else
  109782. t1 = true;
  109783. return t1;
  109784. },
  109785. get$hashCode(_) {
  109786. var t1 = this._map0$_contents;
  109787. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty20) : B.C_MapEquality.hash$1(t1);
  109788. }
  109789. };
  109790. A.global_closure43.prototype = {
  109791. call$1($arguments) {
  109792. var t1,
  109793. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  109794. if (number.hasUnit$1("%"))
  109795. 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);
  109796. else
  109797. A.warnForDeprecation0(string$.Globalm, B.Deprecation_ZDV);
  109798. t1 = number.get$numeratorUnits(number);
  109799. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  109800. },
  109801. $signature: 23
  109802. };
  109803. A.module_closure26.prototype = {
  109804. call$1(value) {
  109805. return Math.abs(value);
  109806. },
  109807. $signature: 16
  109808. };
  109809. A._ceil_closure0.prototype = {
  109810. call$1(value) {
  109811. return B.JSNumber_methods.ceil$0(value);
  109812. },
  109813. $signature: 16
  109814. };
  109815. A._clamp_closure0.prototype = {
  109816. call$1($arguments) {
  109817. var t1 = J.getInterceptor$asx($arguments),
  109818. min = t1.$index($arguments, 0).assertNumber$1("min"),
  109819. number = t1.$index($arguments, 1).assertNumber$1("number"),
  109820. max = t1.$index($arguments, 2).assertNumber$1("max");
  109821. number.convertValueToMatch$3(min, "number", "min");
  109822. max.convertValueToMatch$3(min, "max", "min");
  109823. if (min.greaterThanOrEquals$1(max).value)
  109824. return min;
  109825. if (min.greaterThanOrEquals$1(number).value)
  109826. return min;
  109827. if (number.greaterThanOrEquals$1(max).value)
  109828. return max;
  109829. return number;
  109830. },
  109831. $signature: 23
  109832. };
  109833. A._floor_closure0.prototype = {
  109834. call$1(value) {
  109835. return B.JSNumber_methods.floor$0(value);
  109836. },
  109837. $signature: 16
  109838. };
  109839. A._max_closure0.prototype = {
  109840. call$1($arguments) {
  109841. var t1, t2, max, _i, number;
  109842. 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) {
  109843. number = t1[_i].assertNumber$0();
  109844. if (max == null || max.lessThan$1(number).value)
  109845. max = number;
  109846. }
  109847. if (max != null)
  109848. return max;
  109849. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109850. },
  109851. $signature: 23
  109852. };
  109853. A._min_closure0.prototype = {
  109854. call$1($arguments) {
  109855. var t1, t2, min, _i, number;
  109856. 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) {
  109857. number = t1[_i].assertNumber$0();
  109858. if (min == null || min.greaterThan$1(number).value)
  109859. min = number;
  109860. }
  109861. if (min != null)
  109862. return min;
  109863. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109864. },
  109865. $signature: 23
  109866. };
  109867. A._round_closure0.prototype = {
  109868. call$1(number) {
  109869. return B.JSNumber_methods.round$0(number);
  109870. },
  109871. $signature: 16
  109872. };
  109873. A._hypot_closure0.prototype = {
  109874. call$1($arguments) {
  109875. var subtotal, i, i0, t3,
  109876. t1 = J.$index$asx($arguments, 0).get$asList(),
  109877. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  109878. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  109879. t1 = numbers.length;
  109880. if (t1 === 0)
  109881. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  109882. for (subtotal = 0, i = 0; i < t1; i = i0) {
  109883. i0 = i + 1;
  109884. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  109885. }
  109886. t1 = Math.sqrt(subtotal);
  109887. t2 = numbers[0];
  109888. t3 = t2.get$numeratorUnits(t2);
  109889. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(t2), t3);
  109890. },
  109891. $signature: 23
  109892. };
  109893. A._hypot__closure0.prototype = {
  109894. call$1(argument) {
  109895. return argument.assertNumber$0();
  109896. },
  109897. $signature: 524
  109898. };
  109899. A._log_closure0.prototype = {
  109900. call$1($arguments) {
  109901. var base,
  109902. _s18_ = " to have no units.",
  109903. _null = null,
  109904. t1 = J.getInterceptor$asx($arguments),
  109905. number = t1.$index($arguments, 0).assertNumber$1("number");
  109906. if (number.get$hasUnits())
  109907. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  109908. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  109909. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  109910. base = t1.$index($arguments, 1).assertNumber$1("base");
  109911. if (base.get$hasUnits())
  109912. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  109913. else
  109914. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  109915. },
  109916. $signature: 23
  109917. };
  109918. A._pow_closure0.prototype = {
  109919. call$1($arguments) {
  109920. var t1 = J.getInterceptor$asx($arguments);
  109921. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  109922. },
  109923. $signature: 23
  109924. };
  109925. A._atan2_closure0.prototype = {
  109926. call$1($arguments) {
  109927. var t1 = J.getInterceptor$asx($arguments),
  109928. y = t1.$index($arguments, 0).assertNumber$1("y");
  109929. 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));
  109930. },
  109931. $signature: 23
  109932. };
  109933. A._compatible_closure0.prototype = {
  109934. call$1($arguments) {
  109935. var t1 = J.getInterceptor$asx($arguments);
  109936. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109937. },
  109938. $signature: 12
  109939. };
  109940. A._isUnitless_closure0.prototype = {
  109941. call$1($arguments) {
  109942. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109943. },
  109944. $signature: 12
  109945. };
  109946. A._unit_closure0.prototype = {
  109947. call$1($arguments) {
  109948. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  109949. },
  109950. $signature: 17
  109951. };
  109952. A._percentage_closure0.prototype = {
  109953. call$1($arguments) {
  109954. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  109955. number.assertNoUnits$1("number");
  109956. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  109957. },
  109958. $signature: 23
  109959. };
  109960. A._randomFunction_closure0.prototype = {
  109961. call$1($arguments) {
  109962. var limit, limitScalar,
  109963. t1 = J.getInterceptor$asx($arguments);
  109964. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  109965. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  109966. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  109967. if (limit.get$hasUnits())
  109968. 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);
  109969. limitScalar = limit.assertInt$1("limit");
  109970. if (limitScalar < 1)
  109971. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  109972. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  109973. },
  109974. $signature: 23
  109975. };
  109976. A._div_closure0.prototype = {
  109977. call$1($arguments) {
  109978. var t1 = J.getInterceptor$asx($arguments),
  109979. number1 = t1.$index($arguments, 0),
  109980. number2 = t1.$index($arguments, 1);
  109981. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  109982. A.warn0(string$.math_d);
  109983. return number1.dividedBy$1(number2);
  109984. },
  109985. $signature: 3
  109986. };
  109987. A._singleArgumentMathFunc_closure0.prototype = {
  109988. call$1($arguments) {
  109989. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  109990. },
  109991. $signature: 23
  109992. };
  109993. A._numberFunction_closure0.prototype = {
  109994. call$1($arguments) {
  109995. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  109996. t1 = this.transform.call$1(number._number1$_value),
  109997. t2 = number.get$numeratorUnits(number);
  109998. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  109999. },
  110000. $signature: 23
  110001. };
  110002. A.CssMediaQuery0.prototype = {
  110003. merge$1(other) {
  110004. 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";
  110005. if (!_this.conjunction || !other.conjunction)
  110006. return B._SingletonCssMediaQueryMergeResult_10;
  110007. t1 = _this.modifier;
  110008. ourModifier = t1 == null ? _null : t1.toLowerCase();
  110009. t2 = _this.type;
  110010. t3 = t2 == null;
  110011. ourType = t3 ? _null : t2.toLowerCase();
  110012. t4 = other.modifier;
  110013. theirModifier = t4 == null ? _null : t4.toLowerCase();
  110014. t5 = other.type;
  110015. t6 = t5 == null;
  110016. theirType = t6 ? _null : t5.toLowerCase();
  110017. t7 = ourType == null;
  110018. if (t7 && theirType == null) {
  110019. t1 = A.List_List$of(_this.conditions, true, type$.String);
  110020. B.JSArray_methods.addAll$1(t1, other.conditions);
  110021. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  110022. }
  110023. t8 = ourModifier === "not";
  110024. if (t8 !== (theirModifier === "not")) {
  110025. if (ourType == theirType) {
  110026. negativeConditions = t8 ? _this.conditions : other.conditions;
  110027. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  110028. return B._SingletonCssMediaQueryMergeResult_00;
  110029. else
  110030. return B._SingletonCssMediaQueryMergeResult_10;
  110031. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  110032. return B._SingletonCssMediaQueryMergeResult_10;
  110033. if (t8) {
  110034. conditions = other.conditions;
  110035. type = theirType;
  110036. modifier = theirModifier;
  110037. } else {
  110038. conditions = _this.conditions;
  110039. type = ourType;
  110040. modifier = ourModifier;
  110041. }
  110042. } else if (t8) {
  110043. if (ourType != theirType)
  110044. return B._SingletonCssMediaQueryMergeResult_10;
  110045. fewerConditions = _this.conditions;
  110046. fewerConditions0 = other.conditions;
  110047. t3 = fewerConditions.length > fewerConditions0.length;
  110048. moreConditions = t3 ? fewerConditions : fewerConditions0;
  110049. if (t3)
  110050. fewerConditions = fewerConditions0;
  110051. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  110052. return B._SingletonCssMediaQueryMergeResult_10;
  110053. conditions = moreConditions;
  110054. type = ourType;
  110055. modifier = ourModifier;
  110056. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  110057. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  110058. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110059. B.JSArray_methods.addAll$1(t3, other.conditions);
  110060. conditions = t3;
  110061. modifier = theirModifier;
  110062. } else {
  110063. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  110064. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110065. B.JSArray_methods.addAll$1(t3, other.conditions);
  110066. conditions = t3;
  110067. modifier = ourModifier;
  110068. } else {
  110069. if (ourType != theirType)
  110070. return B._SingletonCssMediaQueryMergeResult_00;
  110071. else {
  110072. modifier = ourModifier == null ? theirModifier : ourModifier;
  110073. t3 = A.List_List$of(_this.conditions, true, type$.String);
  110074. B.JSArray_methods.addAll$1(t3, other.conditions);
  110075. }
  110076. conditions = t3;
  110077. }
  110078. type = ourType;
  110079. }
  110080. t2 = type == ourType ? t2 : t5;
  110081. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  110082. },
  110083. $eq(_, other) {
  110084. if (other == null)
  110085. return false;
  110086. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  110087. },
  110088. get$hashCode(_) {
  110089. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  110090. },
  110091. toString$0(_) {
  110092. var t2, _this = this,
  110093. t1 = _this.modifier;
  110094. t1 = t1 != null ? "" + (t1 + " ") : "";
  110095. t2 = _this.type;
  110096. if (t2 != null) {
  110097. t1 += t2;
  110098. if (_this.conditions.length !== 0)
  110099. t1 += " and ";
  110100. }
  110101. t2 = _this.conjunction ? " and " : " or ";
  110102. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  110103. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110104. }
  110105. };
  110106. A._SingletonCssMediaQueryMergeResult0.prototype = {
  110107. _enumToString$0() {
  110108. return "_SingletonCssMediaQueryMergeResult." + this._name;
  110109. }
  110110. };
  110111. A.MediaQuerySuccessfulMergeResult0.prototype = {
  110112. toString$0(_) {
  110113. return this.query.toString$0(0);
  110114. }
  110115. };
  110116. A.MediaQueryParser0.prototype = {
  110117. parse$0(_) {
  110118. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  110119. },
  110120. _media_query$_mediaQuery$0() {
  110121. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  110122. if (_this.scanner.peekChar$0() === 40) {
  110123. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  110124. _this.whitespace$1$consumeNewlines(true);
  110125. if (_this.scanIdentifier$1(_s3_)) {
  110126. _this.expectWhitespace$0();
  110127. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  110128. conjunction = true;
  110129. } else {
  110130. t1 = _this.scanIdentifier$1("or");
  110131. if (t1) {
  110132. _this.expectWhitespace$0();
  110133. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  110134. }
  110135. conjunction = !t1;
  110136. }
  110137. return A.CssMediaQuery$condition0(conditions, conjunction);
  110138. }
  110139. identifier1 = _this.identifier$0();
  110140. if (A.equalsIgnoreCase0(identifier1, "not")) {
  110141. _this.expectWhitespace$0();
  110142. if (!_this.lookingAtIdentifier$0())
  110143. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  110144. }
  110145. _this.whitespace$1$consumeNewlines(true);
  110146. if (!_this.lookingAtIdentifier$0())
  110147. return A.CssMediaQuery$type0(identifier1, _null, _null);
  110148. identifier2 = _this.identifier$0();
  110149. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  110150. _this.expectWhitespace$0();
  110151. type = identifier1;
  110152. modifier = _null;
  110153. } else {
  110154. _this.whitespace$1$consumeNewlines(true);
  110155. if (_this.scanIdentifier$1(_s3_))
  110156. _this.expectWhitespace$0();
  110157. else
  110158. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  110159. type = identifier2;
  110160. modifier = identifier1;
  110161. }
  110162. if (_this.scanIdentifier$1("not")) {
  110163. _this.expectWhitespace$0();
  110164. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  110165. }
  110166. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  110167. },
  110168. _media_query$_mediaLogicSequence$1(operator) {
  110169. var t1, t2, _this = this,
  110170. result = A._setArrayType([], type$.JSArray_String);
  110171. for (t1 = _this.scanner; true;) {
  110172. t1.expectChar$2$name(40, "media condition in parentheses");
  110173. t2 = _this.declarationValue$0();
  110174. t1.expectChar$1(41);
  110175. result.push("(" + t2 + ")");
  110176. _this.whitespace$1$consumeNewlines(true);
  110177. if (!_this.scanIdentifier$1(operator))
  110178. return result;
  110179. _this.expectWhitespace$0();
  110180. }
  110181. },
  110182. _media_query$_mediaInParens$0() {
  110183. var t2,
  110184. t1 = this.scanner;
  110185. t1.expectChar$2$name(40, "media condition in parentheses");
  110186. t2 = this.declarationValue$0();
  110187. t1.expectChar$1(41);
  110188. return "(" + t2 + ")";
  110189. }
  110190. };
  110191. A.MediaQueryParser_parse_closure0.prototype = {
  110192. call$0() {
  110193. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  110194. t1 = this.$this,
  110195. t2 = t1.scanner;
  110196. do {
  110197. t1.whitespace$1$consumeNewlines(true);
  110198. queries.push(t1._media_query$_mediaQuery$0());
  110199. t1.whitespace$1$consumeNewlines(true);
  110200. } while (t2.scanChar$1(44));
  110201. t2.expectDone$0();
  110202. return queries;
  110203. },
  110204. $signature: 525
  110205. };
  110206. A.ModifiableCssMediaRule0.prototype = {
  110207. accept$1$1(visitor) {
  110208. return visitor.visitCssMediaRule$1(this);
  110209. },
  110210. accept$1(visitor) {
  110211. return this.accept$1$1(visitor, type$.dynamic);
  110212. },
  110213. equalsIgnoringChildren$1(other) {
  110214. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  110215. },
  110216. copyWithoutChildren$0() {
  110217. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  110218. },
  110219. get$span(receiver) {
  110220. return this.span;
  110221. }
  110222. };
  110223. A.MediaRule0.prototype = {
  110224. accept$1$1(visitor) {
  110225. return visitor.visitMediaRule$1(0, this);
  110226. },
  110227. accept$1(visitor) {
  110228. return this.accept$1$1(visitor, type$.dynamic);
  110229. },
  110230. toString$0(_) {
  110231. var t1 = this.children;
  110232. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110233. },
  110234. get$span(receiver) {
  110235. return this.span;
  110236. }
  110237. };
  110238. A.MergedExtension0.prototype = {
  110239. unmerge$0() {
  110240. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  110241. },
  110242. unmerge$body$MergedExtension0() {
  110243. var $async$self = this;
  110244. return function() {
  110245. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  110246. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  110247. if ($async$errorCode === 1) {
  110248. $async$errorStack.push($async$result);
  110249. $async$goto = $async$handler;
  110250. }
  110251. while (true)
  110252. switch ($async$goto) {
  110253. case 0:
  110254. // Function start
  110255. left = $async$self.left;
  110256. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  110257. break;
  110258. case 2:
  110259. // then
  110260. $async$goto = 5;
  110261. return $async$iterator._yieldStar$1(left.unmerge$0());
  110262. case 5:
  110263. // after yield
  110264. // goto join
  110265. $async$goto = 3;
  110266. break;
  110267. case 4:
  110268. // else
  110269. $async$goto = 6;
  110270. return $async$iterator._async$_current = left, 1;
  110271. case 6:
  110272. // after yield
  110273. case 3:
  110274. // join
  110275. right = $async$self.right;
  110276. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  110277. break;
  110278. case 7:
  110279. // then
  110280. $async$goto = 10;
  110281. return $async$iterator._yieldStar$1(right.unmerge$0());
  110282. case 10:
  110283. // after yield
  110284. // goto join
  110285. $async$goto = 8;
  110286. break;
  110287. case 9:
  110288. // else
  110289. $async$goto = 11;
  110290. return $async$iterator._async$_current = right, 1;
  110291. case 11:
  110292. // after yield
  110293. case 8:
  110294. // join
  110295. // implicit return
  110296. return 0;
  110297. case 1:
  110298. // rethrow
  110299. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  110300. }
  110301. };
  110302. };
  110303. }
  110304. };
  110305. A.MergedMapView0.prototype = {
  110306. get$keys(_) {
  110307. var t1 = this._merged_map_view$_mapsByKey;
  110308. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  110309. },
  110310. get$length(_) {
  110311. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  110312. },
  110313. get$isEmpty(_) {
  110314. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  110315. },
  110316. get$isNotEmpty(_) {
  110317. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  110318. },
  110319. MergedMapView$10(maps, $K, $V) {
  110320. var t1, t2, t3, _i, map, t4, t5;
  110321. 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) {
  110322. map = maps[_i];
  110323. if (t3._is(map))
  110324. for (t4 = map._merged_map_view$_mapsByKey, t4 = new A.LinkedHashMapValueIterator(t4, t4.__js_helper$_modifications, t4.__js_helper$_first); t4.moveNext$0();) {
  110325. t5 = t4.__js_helper$_current;
  110326. A.setAll0(t2, t5.get$keys(t5), t5);
  110327. }
  110328. else
  110329. A.setAll0(t2, map.get$keys(map), map);
  110330. }
  110331. },
  110332. $index(_, key) {
  110333. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  110334. return t1 == null ? null : t1.$index(0, key);
  110335. },
  110336. $indexSet(_, key, value) {
  110337. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  110338. if (_0_0 != null)
  110339. _0_0.$indexSet(0, key, value);
  110340. else
  110341. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  110342. },
  110343. remove$1(_, key) {
  110344. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  110345. },
  110346. containsKey$1(key) {
  110347. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  110348. }
  110349. };
  110350. A._shared_closure3.prototype = {
  110351. call$1($arguments) {
  110352. A.warnForDeprecation0(string$.The_fe, B.Deprecation_HIp);
  110353. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110354. },
  110355. $signature: 12
  110356. };
  110357. A._shared_closure4.prototype = {
  110358. call$1($arguments) {
  110359. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  110360. },
  110361. $signature: 17
  110362. };
  110363. A._shared_closure5.prototype = {
  110364. call$1($arguments) {
  110365. var t1 = J.getInterceptor$asx($arguments),
  110366. _0_0 = t1.$index($arguments, 0);
  110367. $label0$0: {
  110368. if (_0_0 instanceof A.SassArgumentList0) {
  110369. t1 = "arglist";
  110370. break $label0$0;
  110371. }
  110372. if (_0_0 instanceof A.SassBoolean0) {
  110373. t1 = "bool";
  110374. break $label0$0;
  110375. }
  110376. if (_0_0 instanceof A.SassColor0) {
  110377. t1 = "color";
  110378. break $label0$0;
  110379. }
  110380. if (_0_0 instanceof A.SassList0) {
  110381. t1 = "list";
  110382. break $label0$0;
  110383. }
  110384. if (_0_0 instanceof A.SassMap0) {
  110385. t1 = "map";
  110386. break $label0$0;
  110387. }
  110388. if (B.C__SassNull0 === _0_0) {
  110389. t1 = "null";
  110390. break $label0$0;
  110391. }
  110392. if (_0_0 instanceof A.SassNumber0) {
  110393. t1 = "number";
  110394. break $label0$0;
  110395. }
  110396. if (_0_0 instanceof A.SassFunction0) {
  110397. t1 = "function";
  110398. break $label0$0;
  110399. }
  110400. if (_0_0 instanceof A.SassMixin0) {
  110401. t1 = "mixin";
  110402. break $label0$0;
  110403. }
  110404. if (_0_0 instanceof A.SassCalculation0) {
  110405. t1 = "calculation";
  110406. break $label0$0;
  110407. }
  110408. if (_0_0 instanceof A.SassString0) {
  110409. t1 = "string";
  110410. break $label0$0;
  110411. }
  110412. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  110413. }
  110414. return new A.SassString0(t1, false);
  110415. },
  110416. $signature: 17
  110417. };
  110418. A._shared_closure6.prototype = {
  110419. call$1($arguments) {
  110420. var t2, t3, t4,
  110421. t1 = J.getInterceptor$asx($arguments),
  110422. _1_0 = t1.$index($arguments, 0);
  110423. if (_1_0 instanceof A.SassArgumentList0) {
  110424. _1_0._argument_list$_wereKeywordsAccessed = true;
  110425. t1 = type$.Value_2;
  110426. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  110427. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  110428. t4 = t3.get$current(t3);
  110429. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  110430. }
  110431. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110432. } else
  110433. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  110434. },
  110435. $signature: 37
  110436. };
  110437. A.moduleFunctions_closure2.prototype = {
  110438. call$1($arguments) {
  110439. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  110440. },
  110441. $signature: 17
  110442. };
  110443. A.moduleFunctions_closure3.prototype = {
  110444. call$1($arguments) {
  110445. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  110446. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  110447. },
  110448. $signature: 27
  110449. };
  110450. A.moduleFunctions__closure0.prototype = {
  110451. call$1(argument) {
  110452. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  110453. },
  110454. $signature: 526
  110455. };
  110456. A.moduleFunctions_closure4.prototype = {
  110457. call$1($arguments) {
  110458. var _0_2_isSet, _0_2, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  110459. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  110460. _0_0 = mixin.callable;
  110461. $label0$0: {
  110462. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  110463. if (_0_2_isSet) {
  110464. _0_2 = _0_0.get$acceptsContent();
  110465. acceptsContent = _0_2;
  110466. } else
  110467. acceptsContent = null;
  110468. if (!_0_2_isSet) {
  110469. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  110470. if (_0_2_isSet) {
  110471. _0_2 = _0_0.acceptsContent;
  110472. acceptsContent = _0_2;
  110473. }
  110474. t1 = _0_2_isSet;
  110475. } else
  110476. t1 = true;
  110477. if (t1) {
  110478. t1 = acceptsContent;
  110479. break $label0$0;
  110480. }
  110481. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  110482. if (_0_5_isSet) {
  110483. _0_5 = _0_0.declaration;
  110484. t1 = _0_5 instanceof A.MixinRule0;
  110485. } else {
  110486. _0_5 = null;
  110487. t1 = false;
  110488. }
  110489. if (t1) {
  110490. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  110491. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  110492. t1 = hasContent;
  110493. break $label0$0;
  110494. }
  110495. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  110496. }
  110497. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110498. },
  110499. $signature: 12
  110500. };
  110501. A.mixinClass_closure.prototype = {
  110502. call$0() {
  110503. var t1 = type$.JSClass,
  110504. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  110505. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  110506. return jsClass;
  110507. },
  110508. $signature: 15
  110509. };
  110510. A.mixinClass__closure.prototype = {
  110511. call$1($self) {
  110512. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  110513. },
  110514. $signature: 527
  110515. };
  110516. A.mixinClass__closure0.prototype = {
  110517. call$1(_) {
  110518. return B.C__SassNull0;
  110519. },
  110520. $signature: 3
  110521. };
  110522. A.SassMixin0.prototype = {
  110523. accept$1$1(visitor) {
  110524. var t1, t2;
  110525. if (!visitor._serialize0$_inspect)
  110526. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  110527. t1 = visitor._serialize0$_buffer;
  110528. t1.write$1(0, "get-mixin(");
  110529. t2 = this.callable;
  110530. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  110531. t1.writeCharCode$1(41);
  110532. return null;
  110533. },
  110534. accept$1(visitor) {
  110535. return this.accept$1$1(visitor, type$.dynamic);
  110536. },
  110537. assertMixin$1($name) {
  110538. return this;
  110539. },
  110540. $eq(_, other) {
  110541. if (other == null)
  110542. return false;
  110543. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  110544. },
  110545. get$hashCode(_) {
  110546. var t1 = this.callable;
  110547. return t1.get$hashCode(t1);
  110548. }
  110549. };
  110550. A.MixinRule0.prototype = {
  110551. get$hasContent() {
  110552. var result, _this = this,
  110553. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  110554. if (value === $) {
  110555. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  110556. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  110557. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  110558. value = result;
  110559. }
  110560. return value;
  110561. },
  110562. accept$1$1(visitor) {
  110563. return visitor.visitMixinRule$1(0, this);
  110564. },
  110565. accept$1(visitor) {
  110566. return this.accept$1$1(visitor, type$.dynamic);
  110567. },
  110568. toString$0(_) {
  110569. var t1 = "@mixin " + this.name,
  110570. t2 = this.parameters;
  110571. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  110572. t1 += "(" + t2.toString$0(0) + ")";
  110573. t2 = this.children;
  110574. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  110575. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110576. }
  110577. };
  110578. A._HasContentVisitor0.prototype = {
  110579. visitContentRule$1(_, _0) {
  110580. return true;
  110581. },
  110582. $isStatementVisitor: 1
  110583. };
  110584. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  110585. A.ExtendMode0.prototype = {
  110586. _enumToString$0() {
  110587. return "ExtendMode." + this._name;
  110588. },
  110589. toString$0(_) {
  110590. return this.name;
  110591. }
  110592. };
  110593. A.JSModule0.prototype = {};
  110594. A.JSModuleRequire0.prototype = {};
  110595. A.MultiSpan0.prototype = {
  110596. get$start(_) {
  110597. var t1 = this._multi_span0$_primary;
  110598. return t1.get$start(t1);
  110599. },
  110600. get$end(_) {
  110601. var t1 = this._multi_span0$_primary;
  110602. return t1.get$end(t1);
  110603. },
  110604. get$text() {
  110605. return this._multi_span0$_primary.get$text();
  110606. },
  110607. get$context(_) {
  110608. var t1 = this._multi_span0$_primary;
  110609. return t1.get$context(t1);
  110610. },
  110611. get$file(_) {
  110612. var t1 = this._multi_span0$_primary;
  110613. return t1.get$file(t1);
  110614. },
  110615. get$length(_) {
  110616. var t1 = this._multi_span0$_primary;
  110617. return t1.get$length(t1);
  110618. },
  110619. get$sourceUrl(_) {
  110620. var t1 = this._multi_span0$_primary;
  110621. return t1.get$sourceUrl(t1);
  110622. },
  110623. compareTo$1(_, other) {
  110624. return this._multi_span0$_primary.compareTo$1(0, other);
  110625. },
  110626. toString$0(_) {
  110627. return this._multi_span0$_primary.toString$0(0);
  110628. },
  110629. expand$1(_, other) {
  110630. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  110631. },
  110632. highlight$1$color(color) {
  110633. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  110634. },
  110635. message$2$color(_, message, color) {
  110636. var t1 = J.$eq$(color, true) || typeof color == "string",
  110637. t2 = typeof color == "string" ? color : null;
  110638. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  110639. },
  110640. message$1(_, message) {
  110641. return this.message$2$color(0, message, null);
  110642. },
  110643. $isComparable: 1,
  110644. $isFileSpan: 1,
  110645. $isSourceSpan: 1,
  110646. $isSourceSpanWithContext: 1
  110647. };
  110648. A.SupportsNegation0.prototype = {
  110649. toInterpolation$0() {
  110650. var t1 = new A.StringBuffer(""),
  110651. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  110652. t3 = this.span,
  110653. t4 = this.condition,
  110654. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  110655. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  110656. t1._contents += t5;
  110657. t2.addInterpolation$1(t4.toInterpolation$0());
  110658. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  110659. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  110660. t1._contents += t4;
  110661. return t2.interpolation$1(t3);
  110662. },
  110663. withSpan$1(span) {
  110664. return new A.SupportsNegation0(this.condition, span);
  110665. },
  110666. toString$0(_) {
  110667. var t1 = this.condition;
  110668. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  110669. return "not (" + t1.toString$0(0) + ")";
  110670. else
  110671. return "not " + t1.toString$0(0);
  110672. },
  110673. $isAstNode0: 1,
  110674. $isSassNode: 1,
  110675. $isSupportsCondition: 1,
  110676. get$span(receiver) {
  110677. return this.span;
  110678. }
  110679. };
  110680. A.NoOpImporter0.prototype = {
  110681. canonicalize$1(_, url) {
  110682. return null;
  110683. },
  110684. load$1(_, url) {
  110685. return null;
  110686. },
  110687. toString$0(_) {
  110688. return "(unknown)";
  110689. }
  110690. };
  110691. A.NoSourceMapBuffer0.prototype = {
  110692. get$length(_) {
  110693. return this._no_source_map_buffer0$_buffer._contents.length;
  110694. },
  110695. forSpan$1$2(span, callback) {
  110696. return callback.call$0();
  110697. },
  110698. forSpan$2(span, callback) {
  110699. return this.forSpan$1$2(span, callback, type$.dynamic);
  110700. },
  110701. write$1(_, object) {
  110702. var t1 = this._no_source_map_buffer0$_buffer,
  110703. t2 = A.S(object);
  110704. t1._contents += t2;
  110705. return null;
  110706. },
  110707. writeCharCode$1(charCode) {
  110708. var t1 = this._no_source_map_buffer0$_buffer,
  110709. t2 = A.Primitives_stringFromCharCode(charCode);
  110710. t1._contents += t2;
  110711. return null;
  110712. },
  110713. toString$0(_) {
  110714. var t1 = this._no_source_map_buffer0$_buffer._contents;
  110715. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110716. },
  110717. buildSourceMap$1$prefix(prefix) {
  110718. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  110719. }
  110720. };
  110721. A._FakeAstNode0.prototype = {
  110722. get$span(_) {
  110723. return this._node0$_callback.call$0();
  110724. },
  110725. $isAstNode0: 1
  110726. };
  110727. A.CssNode0.prototype = {
  110728. toString$0(_) {
  110729. var _null = null;
  110730. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  110731. },
  110732. $isAstNode0: 1
  110733. };
  110734. A.CssParentNode0.prototype = {};
  110735. A._IsInvisibleVisitor1.prototype = {
  110736. visitCssAtRule$1(rule) {
  110737. return false;
  110738. },
  110739. visitCssComment$1(comment) {
  110740. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  110741. },
  110742. visitCssStyleRule$1(rule) {
  110743. var t1 = rule._style_rule0$_selector._box0$_inner;
  110744. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  110745. }
  110746. };
  110747. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  110748. A.ModifiableCssNode0.prototype = {
  110749. get$parent(_) {
  110750. return this._node$_parent;
  110751. },
  110752. get$hasFollowingSibling() {
  110753. var t2,
  110754. t1 = this._node$_parent;
  110755. if (t1 == null)
  110756. t1 = null;
  110757. else {
  110758. t1 = t1.children;
  110759. t2 = this._node$_indexInParent;
  110760. t2.toString;
  110761. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  110762. }
  110763. return t1 === true;
  110764. },
  110765. get$isGroupEnd() {
  110766. return this.isGroupEnd;
  110767. }
  110768. };
  110769. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  110770. call$1(sibling) {
  110771. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  110772. },
  110773. $signature: 528
  110774. };
  110775. A.ModifiableCssParentNode0.prototype = {
  110776. get$isChildless() {
  110777. return false;
  110778. },
  110779. addChild$1(child) {
  110780. var t1;
  110781. child._node$_parent = this;
  110782. t1 = this._node$_children;
  110783. child._node$_indexInParent = t1.length;
  110784. t1.push(child);
  110785. },
  110786. clearChildren$0() {
  110787. var t1, t2, _i, child;
  110788. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  110789. child = t1[_i];
  110790. child._node$_indexInParent = child._node$_parent = null;
  110791. }
  110792. B.JSArray_methods.clear$0(t1);
  110793. },
  110794. $isCssParentNode0: 1,
  110795. get$children(receiver) {
  110796. return this.children;
  110797. }
  110798. };
  110799. A.NodePackageImporter0.prototype = {
  110800. isNonCanonicalScheme$1(scheme) {
  110801. return scheme === "pkg";
  110802. },
  110803. canonicalize$1(_, url) {
  110804. 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;
  110805. if (url.get$scheme() === "file")
  110806. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  110807. if (url.get$scheme() !== "pkg")
  110808. return _null;
  110809. if (url.get$hasAuthority())
  110810. throw A.wrapException(string$.A_pkg_h);
  110811. else {
  110812. t1 = $.$get$url();
  110813. t2 = t1.style;
  110814. if (t2.rootLength$1(url.get$path(url)) > 0)
  110815. throw A.wrapException("A pkg: URL's path must not begin with /.");
  110816. else if (url.get$path(url).length === 0)
  110817. throw A.wrapException("A pkg: URL must not have an empty path.");
  110818. else if (url.get$hasQuery() || url.get$hasFragment())
  110819. throw A.wrapException(string$.A_pkg_q);
  110820. }
  110821. t3 = A.canonicalizeContext0();
  110822. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  110823. t3 = t3._canonicalize_context$_containingUrl;
  110824. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  110825. t3 = A.canonicalizeContext0();
  110826. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  110827. t3 = t3._canonicalize_context$_containingUrl;
  110828. t3.toString;
  110829. t4 = $.$get$context();
  110830. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  110831. } else {
  110832. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  110833. t3 === $ && A.throwUnnamedLateFieldNI();
  110834. baseDirectory = t3;
  110835. }
  110836. packageName = null;
  110837. parts = t1.split$1(0, url.get$path(url));
  110838. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  110839. t4 = $.$get$context();
  110840. t3.toString;
  110841. t5 = t4.style;
  110842. $name = t5.pathFromUri$1(A._parseUri(t3));
  110843. if (B.JSString_methods.startsWith$1($name, "@"))
  110844. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  110845. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  110846. packageName = $name;
  110847. t1 = true;
  110848. if (!J.startsWith$1$s(packageName, "."))
  110849. if (!J.contains$1$asx(packageName, "\\"))
  110850. if (!J.contains$1$asx(packageName, "%"))
  110851. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  110852. if (t1)
  110853. return _null;
  110854. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  110855. if (packageRoot == null)
  110856. return _null;
  110857. jsonPath = A.join(packageRoot, "package.json", _null);
  110858. jsonString = A.readFile0(jsonPath);
  110859. packageManifest = null;
  110860. try {
  110861. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  110862. } catch (exception) {
  110863. e = A.unwrapException(exception);
  110864. t1 = A.S(jsonPath);
  110865. t2 = A.S(packageName);
  110866. t3 = A.S(e);
  110867. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  110868. }
  110869. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  110870. if (_1_0 != null)
  110871. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  110872. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  110873. else {
  110874. t1 = subpath == null ? "root" : subpath;
  110875. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  110876. }
  110877. if (subpath == null) {
  110878. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  110879. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  110880. }
  110881. subpathInRoot = A.join(packageRoot, subpath, _null);
  110882. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  110883. },
  110884. load$1(_, url) {
  110885. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  110886. },
  110887. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  110888. var potentialPackage, t1;
  110889. for (; true;) {
  110890. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  110891. if (A.dirExists0(potentialPackage))
  110892. return potentialPackage;
  110893. t1 = $.$get$context();
  110894. if (t1.split$1(0, baseDirectory).length === 1)
  110895. return null;
  110896. baseDirectory = t1.dirname$1(baseDirectory);
  110897. }
  110898. },
  110899. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  110900. var t1, sassValue, _1_0, styleValue, _null = null,
  110901. _0_0 = packageManifest.$index(0, "sass");
  110902. if (typeof _0_0 == "string") {
  110903. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  110904. sassValue = _0_0;
  110905. } else {
  110906. sassValue = _null;
  110907. t1 = false;
  110908. }
  110909. if (t1)
  110910. return A.join(packageRoot, sassValue, _null);
  110911. else {
  110912. _1_0 = packageManifest.$index(0, "style");
  110913. if (typeof _1_0 == "string") {
  110914. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  110915. styleValue = _1_0;
  110916. } else {
  110917. styleValue = _null;
  110918. t1 = false;
  110919. }
  110920. if (t1)
  110921. return A.join(packageRoot, styleValue, _null);
  110922. }
  110923. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  110924. },
  110925. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  110926. var _0_0, _1_0, _this = this,
  110927. exports = packageManifest.$index(0, "exports");
  110928. if (exports == null)
  110929. return null;
  110930. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  110931. if (_0_0 != null)
  110932. return _0_0;
  110933. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  110934. return null;
  110935. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  110936. if (_1_0 != null)
  110937. return _1_0;
  110938. return null;
  110939. },
  110940. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  110941. var t1, matches, _1_1, path;
  110942. 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()))
  110943. 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) + ".");
  110944. t1 = type$.NonNullsIterable_String;
  110945. 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"));
  110946. $label0$1: {
  110947. _1_1 = matches.length;
  110948. if (_1_1 === 1) {
  110949. path = matches[0];
  110950. t1 = path;
  110951. break $label0$1;
  110952. }
  110953. if (_1_1 <= 0) {
  110954. t1 = null;
  110955. break $label0$1;
  110956. }
  110957. t1 = subpath == null ? "root" : subpath;
  110958. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  110959. }
  110960. return t1;
  110961. },
  110962. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  110963. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  110964. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  110965. t2 = B.JSString_methods.contains$1(keyB, "*"),
  110966. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  110967. if (baseLengthA > baseLengthB)
  110968. return -1;
  110969. if (baseLengthB > baseLengthA)
  110970. return 1;
  110971. if (!t1)
  110972. return 1;
  110973. if (!t2)
  110974. return -1;
  110975. t1 = keyA.length;
  110976. t2 = keyB.length;
  110977. if (t1 > t2)
  110978. return -1;
  110979. if (t2 > t1)
  110980. return 1;
  110981. return 0;
  110982. },
  110983. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  110984. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  110985. t1 = typeof exports == "string";
  110986. if (t1) {
  110987. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  110988. string = exports;
  110989. } else {
  110990. string = _null;
  110991. t2 = false;
  110992. }
  110993. if (t2)
  110994. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  110995. if (t1) {
  110996. t2 = patternMatch != null;
  110997. string = exports;
  110998. } else {
  110999. string = _null;
  111000. t2 = false;
  111001. }
  111002. if (t2) {
  111003. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  111004. t2 = $.$get$context();
  111005. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  111006. return A.fileExists0(path) ? path : _null;
  111007. }
  111008. string = t1 ? exports : _null;
  111009. if (t1) {
  111010. t1 = $.$get$context();
  111011. string.toString;
  111012. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  111013. }
  111014. t1 = type$.Map_String_dynamic._is(exports);
  111015. map = t1 ? exports : _null;
  111016. if (t1) {
  111017. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  111018. t2 = t1.get$current(t1);
  111019. key = t2._0;
  111020. value = t2._1;
  111021. if (!B.Set_8229z.contains$1(0, key))
  111022. continue;
  111023. if (value == null)
  111024. continue;
  111025. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111026. if (_1_0 != null)
  111027. return _1_0;
  111028. }
  111029. return _null;
  111030. }
  111031. if (type$.List_nullable_Object._is(exports) && J.get$length$asx(exports) <= 0)
  111032. return _null;
  111033. t1 = type$.List_dynamic._is(exports);
  111034. array = t1 ? exports : _null;
  111035. if (t1) {
  111036. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  111037. value = t1.get$current(t1);
  111038. if (value == null)
  111039. continue;
  111040. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111041. if (_2_0 != null)
  111042. return _2_0;
  111043. }
  111044. return _null;
  111045. }
  111046. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  111047. },
  111048. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  111049. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  111050. },
  111051. _node_package$_getMainExport$1(exports) {
  111052. var t1, t2, t3, map, _0_4, t4, $export;
  111053. $label0$0: {
  111054. t1 = null;
  111055. if (typeof exports == "string") {
  111056. t1 = exports;
  111057. break $label0$0;
  111058. }
  111059. if (type$.List_String._is(exports)) {
  111060. t1 = exports;
  111061. break $label0$0;
  111062. }
  111063. t2 = type$.Map_String_dynamic._is(exports);
  111064. if (t2) {
  111065. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  111066. map = exports;
  111067. } else {
  111068. map = t1;
  111069. t3 = false;
  111070. }
  111071. if (t3) {
  111072. t1 = map;
  111073. break $label0$0;
  111074. }
  111075. t3 = false;
  111076. if (t2) {
  111077. _0_4 = exports.$index(0, ".");
  111078. if (_0_4 == null)
  111079. t4 = exports.containsKey$1(".");
  111080. else
  111081. t4 = true;
  111082. if (t4)
  111083. t3 = _0_4 != null;
  111084. } else
  111085. _0_4 = null;
  111086. if (t3) {
  111087. $export = t2 ? _0_4 : J.$index$asx(exports, ".");
  111088. t1 = $export;
  111089. break $label0$0;
  111090. }
  111091. break $label0$0;
  111092. }
  111093. return t1;
  111094. },
  111095. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  111096. var basename, dirname, t3, t4, _i, path,
  111097. t1 = type$.JSArray_String,
  111098. paths = A._setArrayType([], t1),
  111099. t2 = subpath == null;
  111100. if (t2 && addIndex)
  111101. subpath = "index";
  111102. else if (!t2 && addIndex)
  111103. subpath = A.join(subpath, "index", null);
  111104. if (subpath == null)
  111105. return A._setArrayType([null], type$.JSArray_nullable_String);
  111106. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  111107. paths.push(subpath);
  111108. else
  111109. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  111110. t1 = $.$get$context();
  111111. t2 = t1.style;
  111112. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  111113. dirname = t1.dirname$1(subpath);
  111114. if (B.JSString_methods.startsWith$1(basename, "_"))
  111115. return paths;
  111116. t1 = A.List_List$of(paths, true, type$.nullable_String);
  111117. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  111118. path = paths[_i];
  111119. if (t4)
  111120. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  111121. else
  111122. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  111123. }
  111124. return t1;
  111125. },
  111126. _node_package$_exportsToCheck$1(subpath) {
  111127. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  111128. }
  111129. };
  111130. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  111131. call$1(key) {
  111132. return B.JSString_methods.startsWith$1(key, ".");
  111133. },
  111134. $signature: 5
  111135. };
  111136. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  111137. call$1(key) {
  111138. return !B.JSString_methods.startsWith$1(key, ".");
  111139. },
  111140. $signature: 5
  111141. };
  111142. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  111143. call$1(key) {
  111144. return '"' + key + '"';
  111145. },
  111146. $signature: 6
  111147. };
  111148. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  111149. call$1(variant) {
  111150. var t1, matchKey, t2, t3, t4, t5, t6, _i, expansionKey, _0_0, t7, patternBase, patternTrailer, t8, target, _this = this, _null = null;
  111151. if (variant == null) {
  111152. t1 = _this.$this;
  111153. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  111154. } else {
  111155. t1 = _this.exports;
  111156. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  111157. return _null;
  111158. }
  111159. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  111160. if (t1.containsKey$1(matchKey) && J.$index$asx(t1, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  111161. t1 = J.$index$asx(t1, matchKey);
  111162. if (t1 == null)
  111163. t1 = type$.Object._as(t1);
  111164. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  111165. }
  111166. t2 = A._setArrayType([], type$.JSArray_String);
  111167. for (t3 = J.getInterceptor$z(t1), t4 = J.get$iterator$ax(t3.get$keys(t1)); t4.moveNext$0();) {
  111168. t5 = t4.get$current(t4);
  111169. if (B.JSString_methods.allMatches$1("*", t5).get$length(0) === 1)
  111170. t2.push(t5);
  111171. }
  111172. t4 = _this.$this;
  111173. B.JSArray_methods.sort$1(t2, t4.get$_node_package$_compareExpansionKeys());
  111174. for (t5 = t2.length, t6 = matchKey.length, _i = 0; _i < t2.length; t2.length === t5 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  111175. expansionKey = t2[_i];
  111176. _0_0 = expansionKey.split("*");
  111177. t7 = _0_0.length === 2;
  111178. if (t7) {
  111179. patternBase = _0_0[0];
  111180. patternTrailer = _0_0[1];
  111181. } else {
  111182. patternTrailer = _null;
  111183. patternBase = patternTrailer;
  111184. }
  111185. if (!t7)
  111186. throw A.wrapException(A.StateError$("Pattern matching error"));
  111187. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  111188. continue;
  111189. if (matchKey === patternBase)
  111190. continue;
  111191. t7 = patternTrailer.length;
  111192. if (t7 !== 0)
  111193. t8 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t6 >= expansionKey.length;
  111194. else
  111195. t8 = true;
  111196. if (t8) {
  111197. target = t3.$index(t1, expansionKey);
  111198. if (target == null)
  111199. continue;
  111200. return t4._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t6 - t7));
  111201. }
  111202. }
  111203. return _null;
  111204. },
  111205. $signature: 154
  111206. };
  111207. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  111208. call$1(mainExport) {
  111209. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  111210. },
  111211. $signature: 155
  111212. };
  111213. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  111214. call$1(key) {
  111215. return !B.JSString_methods.startsWith$1(key, ".");
  111216. },
  111217. $signature: 5
  111218. };
  111219. A.NodePackageImporter__getMainExport_closure0.prototype = {
  111220. call$1(key) {
  111221. return B.JSString_methods.startsWith$1(key, ".");
  111222. },
  111223. $signature: 5
  111224. };
  111225. A.NullExpression0.prototype = {
  111226. accept$1$1(visitor) {
  111227. return visitor.visitNullExpression$1(0, this);
  111228. },
  111229. accept$1(visitor) {
  111230. return this.accept$1$1(visitor, type$.dynamic);
  111231. },
  111232. toString$0(_) {
  111233. return "null";
  111234. },
  111235. get$span(receiver) {
  111236. return this.span;
  111237. }
  111238. };
  111239. A.legacyNullClass_closure.prototype = {
  111240. call$0() {
  111241. var t1 = type$.JSClass,
  111242. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  111243. jsClass.NULL = B.C__SassNull0;
  111244. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  111245. return jsClass;
  111246. },
  111247. $signature: 15
  111248. };
  111249. A.legacyNullClass__closure.prototype = {
  111250. call$2(_, __) {
  111251. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  111252. },
  111253. call$1(_) {
  111254. return this.call$2(_, null);
  111255. },
  111256. "call*": "call$2",
  111257. $requiredArgCount: 1,
  111258. $defaultValues() {
  111259. return [null];
  111260. },
  111261. $signature: 187
  111262. };
  111263. A._SassNull0.prototype = {
  111264. get$isTruthy() {
  111265. return false;
  111266. },
  111267. get$isBlank() {
  111268. return true;
  111269. },
  111270. get$realNull() {
  111271. return null;
  111272. },
  111273. accept$1$1(visitor) {
  111274. if (visitor._serialize0$_inspect)
  111275. visitor._serialize0$_buffer.write$1(0, "null");
  111276. return null;
  111277. },
  111278. accept$1(visitor) {
  111279. return this.accept$1$1(visitor, type$.dynamic);
  111280. },
  111281. unaryNot$0() {
  111282. return B.SassBoolean_true0;
  111283. }
  111284. };
  111285. A.NumberExpression0.prototype = {
  111286. accept$1$1(visitor) {
  111287. return visitor.visitNumberExpression$1(0, this);
  111288. },
  111289. accept$1(visitor) {
  111290. return this.accept$1$1(visitor, type$.dynamic);
  111291. },
  111292. toString$0(_) {
  111293. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  111294. },
  111295. get$span(receiver) {
  111296. return this.span;
  111297. }
  111298. };
  111299. A.numberClass_closure.prototype = {
  111300. call$0() {
  111301. var t1 = type$.JSClass,
  111302. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  111303. t2 = type$.String,
  111304. t3 = type$.Function;
  111305. 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));
  111306. 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));
  111307. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  111308. return jsClass;
  111309. },
  111310. $signature: 15
  111311. };
  111312. A.numberClass__closure.prototype = {
  111313. call$3($self, value, unitOrOptions) {
  111314. var t1, t2, _null = null;
  111315. if (typeof unitOrOptions == "string")
  111316. return A.SassNumber_SassNumber0(value, unitOrOptions);
  111317. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  111318. t1 = unitOrOptions == null;
  111319. if (t1)
  111320. t2 = _null;
  111321. else {
  111322. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111323. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  111324. }
  111325. if (t1)
  111326. t1 = _null;
  111327. else {
  111328. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111329. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  111330. }
  111331. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  111332. },
  111333. call$2($self, value) {
  111334. return this.call$3($self, value, null);
  111335. },
  111336. "call*": "call$3",
  111337. $requiredArgCount: 2,
  111338. $defaultValues() {
  111339. return [null];
  111340. },
  111341. $signature: 529
  111342. };
  111343. A.numberClass__closure0.prototype = {
  111344. call$1($self) {
  111345. return $self._number1$_value;
  111346. },
  111347. $signature: 105
  111348. };
  111349. A.numberClass__closure1.prototype = {
  111350. call$1($self) {
  111351. return A.fuzzyIsInt0($self._number1$_value);
  111352. },
  111353. $signature: 181
  111354. };
  111355. A.numberClass__closure2.prototype = {
  111356. call$1($self) {
  111357. return A.fuzzyAsInt0($self._number1$_value);
  111358. },
  111359. $signature: 531
  111360. };
  111361. A.numberClass__closure3.prototype = {
  111362. call$1($self) {
  111363. return new self.immutable.List($self.get$numeratorUnits($self));
  111364. },
  111365. $signature: 173
  111366. };
  111367. A.numberClass__closure4.prototype = {
  111368. call$1($self) {
  111369. return new self.immutable.List($self.get$denominatorUnits($self));
  111370. },
  111371. $signature: 173
  111372. };
  111373. A.numberClass__closure5.prototype = {
  111374. call$1($self) {
  111375. return $self.get$hasUnits();
  111376. },
  111377. $signature: 181
  111378. };
  111379. A.numberClass__closure6.prototype = {
  111380. call$2($self, $name) {
  111381. return $self.assertInt$1($name);
  111382. },
  111383. call$1($self) {
  111384. return this.call$2($self, null);
  111385. },
  111386. "call*": "call$2",
  111387. $requiredArgCount: 1,
  111388. $defaultValues() {
  111389. return [null];
  111390. },
  111391. $signature: 533
  111392. };
  111393. A.numberClass__closure7.prototype = {
  111394. call$4($self, min, max, $name) {
  111395. return $self.valueInRange$3(min, max, $name);
  111396. },
  111397. call$3($self, min, max) {
  111398. return this.call$4($self, min, max, null);
  111399. },
  111400. "call*": "call$4",
  111401. $requiredArgCount: 3,
  111402. $defaultValues() {
  111403. return [null];
  111404. },
  111405. $signature: 534
  111406. };
  111407. A.numberClass__closure8.prototype = {
  111408. call$2($self, $name) {
  111409. $self.assertNoUnits$1($name);
  111410. return $self;
  111411. },
  111412. call$1($self) {
  111413. return this.call$2($self, null);
  111414. },
  111415. "call*": "call$2",
  111416. $requiredArgCount: 1,
  111417. $defaultValues() {
  111418. return [null];
  111419. },
  111420. $signature: 535
  111421. };
  111422. A.numberClass__closure9.prototype = {
  111423. call$3($self, unit, $name) {
  111424. $self.assertUnit$2(unit, $name);
  111425. return $self;
  111426. },
  111427. call$2($self, unit) {
  111428. return this.call$3($self, unit, null);
  111429. },
  111430. "call*": "call$3",
  111431. $requiredArgCount: 2,
  111432. $defaultValues() {
  111433. return [null];
  111434. },
  111435. $signature: 536
  111436. };
  111437. A.numberClass__closure10.prototype = {
  111438. call$2($self, unit) {
  111439. return $self.hasUnit$1(unit);
  111440. },
  111441. $signature: 168
  111442. };
  111443. A.numberClass__closure11.prototype = {
  111444. call$2($self, unit) {
  111445. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  111446. },
  111447. $signature: 168
  111448. };
  111449. A.numberClass__closure12.prototype = {
  111450. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111451. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111452. t2 = type$.String;
  111453. t1 = J.cast$1$0$ax(t1, t2);
  111454. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  111455. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  111456. },
  111457. call$3($self, numeratorUnits, denominatorUnits) {
  111458. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111459. },
  111460. "call*": "call$4",
  111461. $requiredArgCount: 3,
  111462. $defaultValues() {
  111463. return [null];
  111464. },
  111465. $signature: 160
  111466. };
  111467. A.numberClass__closure13.prototype = {
  111468. call$4($self, other, $name, otherName) {
  111469. return $self.convertToMatch$3(other, $name, otherName);
  111470. },
  111471. call$2($self, other) {
  111472. return this.call$4($self, other, null, null);
  111473. },
  111474. call$3($self, other, $name) {
  111475. return this.call$4($self, other, $name, null);
  111476. },
  111477. "call*": "call$4",
  111478. $requiredArgCount: 2,
  111479. $defaultValues() {
  111480. return [null, null];
  111481. },
  111482. $signature: 152
  111483. };
  111484. A.numberClass__closure14.prototype = {
  111485. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111486. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111487. t2 = type$.String;
  111488. t1 = J.cast$1$0$ax(t1, t2);
  111489. 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);
  111490. },
  111491. call$3($self, numeratorUnits, denominatorUnits) {
  111492. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111493. },
  111494. "call*": "call$4",
  111495. $requiredArgCount: 3,
  111496. $defaultValues() {
  111497. return [null];
  111498. },
  111499. $signature: 149
  111500. };
  111501. A.numberClass__closure15.prototype = {
  111502. call$4($self, other, $name, otherName) {
  111503. return $self.convertValueToMatch$3(other, $name, otherName);
  111504. },
  111505. call$2($self, other) {
  111506. return this.call$4($self, other, null, null);
  111507. },
  111508. call$3($self, other, $name) {
  111509. return this.call$4($self, other, $name, null);
  111510. },
  111511. "call*": "call$4",
  111512. $requiredArgCount: 2,
  111513. $defaultValues() {
  111514. return [null, null];
  111515. },
  111516. $signature: 147
  111517. };
  111518. A.numberClass__closure16.prototype = {
  111519. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111520. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111521. t2 = type$.String;
  111522. t1 = J.cast$1$0$ax(t1, t2);
  111523. 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);
  111524. },
  111525. call$3($self, numeratorUnits, denominatorUnits) {
  111526. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111527. },
  111528. "call*": "call$4",
  111529. $requiredArgCount: 3,
  111530. $defaultValues() {
  111531. return [null];
  111532. },
  111533. $signature: 160
  111534. };
  111535. A.numberClass__closure17.prototype = {
  111536. call$4($self, other, $name, otherName) {
  111537. return $self.coerceToMatch$3(other, $name, otherName);
  111538. },
  111539. call$2($self, other) {
  111540. return this.call$4($self, other, null, null);
  111541. },
  111542. call$3($self, other, $name) {
  111543. return this.call$4($self, other, $name, null);
  111544. },
  111545. "call*": "call$4",
  111546. $requiredArgCount: 2,
  111547. $defaultValues() {
  111548. return [null, null];
  111549. },
  111550. $signature: 152
  111551. };
  111552. A.numberClass__closure18.prototype = {
  111553. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111554. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111555. t2 = type$.String;
  111556. t1 = J.cast$1$0$ax(t1, t2);
  111557. 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);
  111558. },
  111559. call$3($self, numeratorUnits, denominatorUnits) {
  111560. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111561. },
  111562. "call*": "call$4",
  111563. $requiredArgCount: 3,
  111564. $defaultValues() {
  111565. return [null];
  111566. },
  111567. $signature: 149
  111568. };
  111569. A.numberClass__closure19.prototype = {
  111570. call$4($self, other, $name, otherName) {
  111571. return $self.coerceValueToMatch$3(other, $name, otherName);
  111572. },
  111573. call$2($self, other) {
  111574. return this.call$4($self, other, null, null);
  111575. },
  111576. call$3($self, other, $name) {
  111577. return this.call$4($self, other, $name, null);
  111578. },
  111579. "call*": "call$4",
  111580. $requiredArgCount: 2,
  111581. $defaultValues() {
  111582. return [null, null];
  111583. },
  111584. $signature: 147
  111585. };
  111586. A._ConstructorOptions0.prototype = {};
  111587. A._NodeSassNumber.prototype = {};
  111588. A.legacyNumberClass_closure.prototype = {
  111589. call$4(thisArg, value, unit, dartValue) {
  111590. var t1;
  111591. if (dartValue == null) {
  111592. value.toString;
  111593. t1 = A._parseNumber(value, unit);
  111594. } else
  111595. t1 = dartValue;
  111596. J.set$dartValue$x(thisArg, t1);
  111597. },
  111598. call$2(thisArg, value) {
  111599. return this.call$4(thisArg, value, null, null);
  111600. },
  111601. call$3(thisArg, value, unit) {
  111602. return this.call$4(thisArg, value, unit, null);
  111603. },
  111604. "call*": "call$4",
  111605. $requiredArgCount: 2,
  111606. $defaultValues() {
  111607. return [null, null];
  111608. },
  111609. $signature: 542
  111610. };
  111611. A.legacyNumberClass_closure0.prototype = {
  111612. call$1(thisArg) {
  111613. return J.get$dartValue$x(thisArg)._number1$_value;
  111614. },
  111615. $signature: 543
  111616. };
  111617. A.legacyNumberClass_closure1.prototype = {
  111618. call$2(thisArg, value) {
  111619. var t1 = J.getInterceptor$x(thisArg),
  111620. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  111621. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  111622. },
  111623. $signature: 544
  111624. };
  111625. A.legacyNumberClass_closure2.prototype = {
  111626. call$1(thisArg) {
  111627. var t1 = J.getInterceptor$x(thisArg),
  111628. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  111629. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  111630. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  111631. },
  111632. $signature: 545
  111633. };
  111634. A.legacyNumberClass_closure3.prototype = {
  111635. call$2(thisArg, unit) {
  111636. var t1 = J.getInterceptor$x(thisArg);
  111637. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  111638. },
  111639. $signature: 546
  111640. };
  111641. A._parseNumber_closure.prototype = {
  111642. call$1(unit) {
  111643. return unit.length === 0;
  111644. },
  111645. $signature: 5
  111646. };
  111647. A._parseNumber_closure0.prototype = {
  111648. call$1(unit) {
  111649. return unit.length === 0;
  111650. },
  111651. $signature: 5
  111652. };
  111653. A.SassNumber0.prototype = {
  111654. get$unitString() {
  111655. var _this = this;
  111656. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  111657. },
  111658. accept$1$1(visitor) {
  111659. return visitor.visitNumber$1(this);
  111660. },
  111661. accept$1(visitor) {
  111662. return this.accept$1$1(visitor, type$.dynamic);
  111663. },
  111664. withoutSlash$0() {
  111665. var _this = this;
  111666. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  111667. },
  111668. assertNumber$1($name) {
  111669. return this;
  111670. },
  111671. assertNumber$0() {
  111672. return this.assertNumber$1(null);
  111673. },
  111674. assertInt$1($name) {
  111675. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  111676. if (_0_0 != null)
  111677. return _0_0;
  111678. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  111679. },
  111680. assertInt$0() {
  111681. return this.assertInt$1(null);
  111682. },
  111683. valueInRange$3(min, max, $name) {
  111684. var _this = this,
  111685. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  111686. if (_0_0 != null)
  111687. return _0_0;
  111688. 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));
  111689. },
  111690. valueInRangeWithUnit$4(min, max, $name, unit) {
  111691. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  111692. if (_0_0 != null)
  111693. return _0_0;
  111694. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  111695. },
  111696. hasCompatibleUnits$1(other) {
  111697. var _this = this;
  111698. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  111699. return false;
  111700. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  111701. return false;
  111702. return _this.isComparableTo$1(other);
  111703. },
  111704. assertUnit$2(unit, $name) {
  111705. if (this.hasUnit$1(unit))
  111706. return;
  111707. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  111708. },
  111709. assertNoUnits$1($name) {
  111710. if (!this.get$hasUnits())
  111711. return;
  111712. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  111713. },
  111714. assertNoUnits$0() {
  111715. return this.assertNoUnits$1(null);
  111716. },
  111717. convertToMatch$3(other, $name, otherName) {
  111718. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  111719. t2 = other.get$numeratorUnits(other);
  111720. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111721. },
  111722. convertValueToMatch$3(other, $name, otherName) {
  111723. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  111724. },
  111725. convertValueToMatch$1(other) {
  111726. return this.convertValueToMatch$3(other, null, null);
  111727. },
  111728. coerce$3(newNumerators, newDenominators, $name) {
  111729. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  111730. },
  111731. coerce$2(newNumerators, newDenominators) {
  111732. return this.coerce$3(newNumerators, newDenominators, null);
  111733. },
  111734. coerceValue$3(newNumerators, newDenominators, $name) {
  111735. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  111736. },
  111737. coerceValueToUnit$2(unit, $name) {
  111738. var t1 = type$.JSArray_String;
  111739. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  111740. },
  111741. coerceValueToUnit$1(unit) {
  111742. return this.coerceValueToUnit$2(unit, null);
  111743. },
  111744. coerceToMatch$3(other, $name, otherName) {
  111745. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  111746. t2 = other.get$numeratorUnits(other);
  111747. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  111748. },
  111749. coerceValueToMatch$3(other, $name, otherName) {
  111750. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  111751. },
  111752. coerceValueToMatch$1(other) {
  111753. return this.coerceValueToMatch$3(other, null, null);
  111754. },
  111755. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  111756. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  111757. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  111758. return _this._number1$_value;
  111759. t1 = J.getInterceptor$asx(newNumerators);
  111760. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  111761. if (coerceUnitless)
  111762. t2 = !_this.get$hasUnits() || !otherHasUnits;
  111763. else
  111764. t2 = false;
  111765. if (t2)
  111766. return _this._number1$_value;
  111767. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  111768. _box_0.value = _this._number1$_value;
  111769. t2 = _this.get$numeratorUnits(_this);
  111770. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  111771. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  111772. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  111773. t1 = _this.get$denominatorUnits(_this);
  111774. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  111775. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  111776. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  111777. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  111778. throw A.wrapException(compatibilityException.call$0());
  111779. return _box_0.value;
  111780. },
  111781. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  111782. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  111783. },
  111784. isComparableTo$1(other) {
  111785. var exception;
  111786. if (!this.get$hasUnits() || !other.get$hasUnits())
  111787. return true;
  111788. try {
  111789. this.greaterThan$1(other);
  111790. return true;
  111791. } catch (exception) {
  111792. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  111793. return false;
  111794. else
  111795. throw exception;
  111796. }
  111797. },
  111798. greaterThan$1(other) {
  111799. if (other instanceof A.SassNumber0)
  111800. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111801. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  111802. },
  111803. greaterThanOrEquals$1(other) {
  111804. if (other instanceof A.SassNumber0)
  111805. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111806. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  111807. },
  111808. lessThan$1(other) {
  111809. if (other instanceof A.SassNumber0)
  111810. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111811. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  111812. },
  111813. lessThanOrEquals$1(other) {
  111814. if (other instanceof A.SassNumber0)
  111815. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111816. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  111817. },
  111818. modulo$1(other) {
  111819. if (other instanceof A.SassNumber0)
  111820. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  111821. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  111822. },
  111823. plus$1(other) {
  111824. var _this = this;
  111825. if (other instanceof A.SassNumber0)
  111826. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  111827. if (!(other instanceof A.SassColor0))
  111828. return _this.super$Value$plus0(other);
  111829. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  111830. },
  111831. minus$1(other) {
  111832. var _this = this;
  111833. if (other instanceof A.SassNumber0)
  111834. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  111835. if (!(other instanceof A.SassColor0))
  111836. return _this.super$Value$minus0(other);
  111837. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  111838. },
  111839. times$1(other) {
  111840. var _this = this;
  111841. if (other instanceof A.SassNumber0) {
  111842. if (!other.get$hasUnits())
  111843. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  111844. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  111845. }
  111846. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  111847. },
  111848. dividedBy$1(other) {
  111849. var _this = this;
  111850. if (other instanceof A.SassNumber0) {
  111851. if (!other.get$hasUnits())
  111852. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  111853. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  111854. }
  111855. return _this.super$Value$dividedBy0(other);
  111856. },
  111857. unaryPlus$0() {
  111858. return this;
  111859. },
  111860. _number1$_coerceUnits$1$2(other, operation) {
  111861. var t1, exception;
  111862. try {
  111863. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  111864. return t1;
  111865. } catch (exception) {
  111866. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  111867. this.coerceValueToMatch$1(other);
  111868. throw exception;
  111869. } else
  111870. throw exception;
  111871. }
  111872. },
  111873. _number1$_coerceUnits$2(other, operation) {
  111874. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  111875. },
  111876. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  111877. 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 = {};
  111878. _box_0.value = value;
  111879. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  111880. _0_1 = t1[0];
  111881. _0_6 = _null;
  111882. _0_3 = _null;
  111883. _0_9 = _null;
  111884. _0_9_isSet = false;
  111885. _0_7 = _null;
  111886. _0_7_isSet = false;
  111887. t2 = false;
  111888. _0_2 = t1[1];
  111889. _0_3 = t1[2];
  111890. _0_6 = _0_3.length <= 0;
  111891. _0_7_isSet = _0_6;
  111892. if (_0_7_isSet) {
  111893. _0_7 = t1[3];
  111894. _0_9 = _0_7.length <= 0;
  111895. t2 = _0_9;
  111896. }
  111897. _0_9_isSet = _0_7_isSet;
  111898. denominators_case_0 = _0_2;
  111899. _0_11_isSet = !t2;
  111900. _0_11 = _null;
  111901. _0_13 = _null;
  111902. if (_0_11_isSet) {
  111903. _0_11 = _0_1.length <= 0;
  111904. _0_13_isSet = _0_11;
  111905. _0_10 = _0_1;
  111906. if (_0_13_isSet) {
  111907. _0_13 = _0_2.length <= 0;
  111908. t2 = _0_13;
  111909. if (t2) {
  111910. if (_0_7_isSet)
  111911. denominators_case_0 = _0_7;
  111912. else {
  111913. _0_7 = t1[3];
  111914. denominators_case_0 = _0_7;
  111915. _0_7_isSet = true;
  111916. }
  111917. numerators_case_0 = _0_3;
  111918. } else
  111919. numerators_case_0 = _0_1;
  111920. } else {
  111921. numerators_case_0 = _0_1;
  111922. t2 = false;
  111923. }
  111924. _0_1 = _0_10;
  111925. } else {
  111926. numerators_case_0 = _0_1;
  111927. _0_13_isSet = false;
  111928. t2 = true;
  111929. }
  111930. if (t2) {
  111931. t4 = denominators_case_0;
  111932. t3 = numerators_case_0;
  111933. } else {
  111934. t4 = _null;
  111935. t3 = t4;
  111936. }
  111937. if (!t2) {
  111938. t2 = _null;
  111939. t5 = _null;
  111940. if (_0_11_isSet)
  111941. t6 = _0_11;
  111942. else {
  111943. _0_11 = _0_1.length <= 0;
  111944. t6 = _0_11;
  111945. }
  111946. t7 = false;
  111947. if (t6) {
  111948. if (_0_9_isSet)
  111949. t2 = _0_9;
  111950. else {
  111951. if (_0_7_isSet)
  111952. t2 = _0_7;
  111953. else {
  111954. _0_7 = t1[3];
  111955. t2 = _0_7;
  111956. _0_7_isSet = true;
  111957. }
  111958. _0_9 = t2.length <= 0;
  111959. t2 = _0_9;
  111960. }
  111961. numerators_case_1 = _0_3;
  111962. denominators_case_1 = _0_2;
  111963. } else {
  111964. numerators_case_1 = t2;
  111965. t2 = t7;
  111966. denominators_case_1 = t5;
  111967. }
  111968. if (!t2) {
  111969. t2 = false;
  111970. if (_0_13_isSet)
  111971. t5 = _0_13;
  111972. else {
  111973. _0_13 = _0_2.length <= 0;
  111974. t5 = _0_13;
  111975. }
  111976. if (t5) {
  111977. if (_0_6)
  111978. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  111979. t1 = _0_6;
  111980. } else
  111981. t1 = t2;
  111982. numerators_case_1 = _0_1;
  111983. } else
  111984. t1 = true;
  111985. if (t1) {
  111986. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  111987. if (t1) {
  111988. t3 = denominators_case_1;
  111989. t2 = numerators_case_1;
  111990. } else {
  111991. t2 = t3;
  111992. t3 = t4;
  111993. }
  111994. t0 = t3;
  111995. t3 = t1;
  111996. t1 = t2;
  111997. t2 = t0;
  111998. } else {
  111999. t2 = t4;
  112000. t1 = t3;
  112001. t3 = false;
  112002. }
  112003. } else {
  112004. t2 = t4;
  112005. t1 = t3;
  112006. t3 = true;
  112007. }
  112008. if (t3)
  112009. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  112010. newNumerators = A._setArrayType([], type$.JSArray_String);
  112011. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  112012. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112013. numerator = t1[_i];
  112014. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  112015. }
  112016. t1 = _this.get$denominatorUnits(_this);
  112017. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112018. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  112019. numerator = otherNumerators[_i];
  112020. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  112021. }
  112022. t1 = _box_0.value;
  112023. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  112024. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  112025. },
  112026. _number1$_areAnyConvertible$2(units1, units2) {
  112027. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  112028. },
  112029. _number1$_unitString$2(numerators, denominators) {
  112030. var _0_4, _0_7, _0_6, _0_5, t1, _0_9, _0_6_isSet, _0_5_isSet, _0_10, denominator, _null = null;
  112031. $label0$0: {
  112032. _0_4 = J.get$length$asx(numerators) <= 0;
  112033. _0_7 = _null;
  112034. _0_6 = _null;
  112035. _0_5 = _null;
  112036. if (_0_4) {
  112037. _0_6 = J.get$length$asx(denominators);
  112038. t1 = _0_6;
  112039. _0_7 = t1 <= 0;
  112040. t1 = _0_7;
  112041. _0_5 = denominators;
  112042. } else
  112043. t1 = false;
  112044. if (t1) {
  112045. t1 = "no units";
  112046. break $label0$0;
  112047. }
  112048. _0_9 = _null;
  112049. if (_0_4) {
  112050. _0_9 = _0_6 === 1;
  112051. t1 = _0_9;
  112052. _0_6_isSet = true;
  112053. _0_5_isSet = true;
  112054. } else {
  112055. _0_5_isSet = _0_4;
  112056. _0_6_isSet = _0_5_isSet;
  112057. t1 = false;
  112058. }
  112059. if (t1) {
  112060. _0_10 = J.$index$asx(_0_5_isSet ? _0_5 : denominators, 0);
  112061. denominator = _0_10;
  112062. t1 = denominator + "^-1";
  112063. break $label0$0;
  112064. }
  112065. if (_0_4) {
  112066. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  112067. break $label0$0;
  112068. }
  112069. if (_0_6_isSet)
  112070. t1 = _0_6;
  112071. else {
  112072. if (_0_5_isSet)
  112073. t1 = _0_5;
  112074. else {
  112075. t1 = denominators;
  112076. _0_5 = t1;
  112077. _0_5_isSet = true;
  112078. }
  112079. _0_6 = J.get$length$asx(t1);
  112080. t1 = _0_6;
  112081. _0_6_isSet = true;
  112082. }
  112083. _0_7 = t1 <= 0;
  112084. t1 = _0_7;
  112085. if (t1) {
  112086. t1 = J.join$1$ax(numerators, "*");
  112087. break $label0$0;
  112088. }
  112089. if (_0_6_isSet)
  112090. t1 = _0_6;
  112091. else {
  112092. if (_0_5_isSet)
  112093. t1 = _0_5;
  112094. else {
  112095. t1 = denominators;
  112096. _0_5 = t1;
  112097. _0_5_isSet = true;
  112098. }
  112099. _0_6 = J.get$length$asx(t1);
  112100. t1 = _0_6;
  112101. }
  112102. _0_9 = t1 === 1;
  112103. t1 = _0_9;
  112104. if (t1) {
  112105. _0_10 = J.$index$asx(_0_5_isSet ? _0_5 : denominators, 0);
  112106. denominator = _0_10;
  112107. t1 = J.join$1$ax(numerators, "*") + "/" + denominator;
  112108. break $label0$0;
  112109. }
  112110. t1 = J.join$1$ax(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  112111. break $label0$0;
  112112. }
  112113. return t1;
  112114. },
  112115. $eq(_, other) {
  112116. var _this = this;
  112117. if (other == null)
  112118. return false;
  112119. if (!(other instanceof A.SassNumber0))
  112120. return false;
  112121. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112122. return false;
  112123. if (!_this.get$hasUnits())
  112124. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  112125. 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))))
  112126. return false;
  112127. 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)));
  112128. },
  112129. get$hashCode(_) {
  112130. var _this = this,
  112131. t1 = _this.hashCache;
  112132. 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;
  112133. },
  112134. _number1$_canonicalizeUnitList$1(units) {
  112135. var type,
  112136. t1 = units.length;
  112137. if (t1 === 0)
  112138. return units;
  112139. if (t1 === 1) {
  112140. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  112141. if (type == null)
  112142. t1 = units;
  112143. else {
  112144. t1 = B.Map_Sr65K.$index(0, type);
  112145. t1.toString;
  112146. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  112147. }
  112148. return t1;
  112149. }
  112150. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  112151. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  112152. B.JSArray_methods.sort$0(t1);
  112153. return t1;
  112154. },
  112155. _number1$_canonicalMultiplier$1(units) {
  112156. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  112157. },
  112158. canonicalMultiplierForUnit$1(unit) {
  112159. var t1,
  112160. innerMap = B.Map_NtHoP.$index(0, unit);
  112161. if (innerMap == null)
  112162. t1 = 1;
  112163. else {
  112164. t1 = innerMap.get$values(innerMap);
  112165. t1 = 1 / t1.get$first(t1);
  112166. }
  112167. return t1;
  112168. },
  112169. unitSuggestion$2($name, unit) {
  112170. var t2, t3, result, _this = this,
  112171. t1 = _this.get$denominatorUnits(_this);
  112172. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112173. t2 = _this.get$numeratorUnits(_this);
  112174. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112175. t3 = unit == null ? "" : " * 1" + unit;
  112176. result = "$" + $name + t1 + t2 + t3;
  112177. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  112178. },
  112179. unitSuggestion$1($name) {
  112180. return this.unitSuggestion$2($name, null);
  112181. }
  112182. };
  112183. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  112184. call$0() {
  112185. var t2, t3, message, t4, type, unit, _this = this,
  112186. t1 = _this.other;
  112187. if (t1 != null) {
  112188. t2 = _this.$this;
  112189. t3 = t2.toString$0(0) + " and";
  112190. message = new A.StringBuffer(t3);
  112191. t4 = _this.otherName;
  112192. if (t4 != null)
  112193. t3 = message._contents = t3 + (" $" + t4 + ":");
  112194. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  112195. message._contents = t1;
  112196. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  112197. message._contents = t1 + " (one has units and the other doesn't)";
  112198. t1 = message.toString$0(0) + ".";
  112199. t2 = _this.name;
  112200. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112201. } else if (!_this.otherHasUnits) {
  112202. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  112203. t2 = _this.name;
  112204. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112205. } else {
  112206. t1 = _this.newNumerators;
  112207. t2 = J.getInterceptor$asx(t1);
  112208. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  112209. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  112210. if (type != null) {
  112211. t1 = _this.$this.toString$0(0);
  112212. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  112213. t3 = B.Map_Sr65K.$index(0, type);
  112214. t3.toString;
  112215. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  112216. t2 = _this.name;
  112217. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  112218. }
  112219. }
  112220. t3 = _this.newDenominators;
  112221. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  112222. t2 = _this.$this;
  112223. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  112224. t1 = _this.name;
  112225. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  112226. }
  112227. },
  112228. $signature: 547
  112229. };
  112230. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  112231. call$1(oldNumerator) {
  112232. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  112233. if (factor == null)
  112234. return false;
  112235. this._box_0.value *= factor;
  112236. return true;
  112237. },
  112238. $signature: 5
  112239. };
  112240. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  112241. call$0() {
  112242. return A.throwExpression(this.compatibilityException.call$0());
  112243. },
  112244. $signature: 0
  112245. };
  112246. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  112247. call$1(oldDenominator) {
  112248. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  112249. if (factor == null)
  112250. return false;
  112251. this._box_0.value /= factor;
  112252. return true;
  112253. },
  112254. $signature: 5
  112255. };
  112256. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  112257. call$0() {
  112258. return A.throwExpression(this.compatibilityException.call$0());
  112259. },
  112260. $signature: 0
  112261. };
  112262. A.SassNumber_plus_closure0.prototype = {
  112263. call$2(num1, num2) {
  112264. return num1 + num2;
  112265. },
  112266. $signature: 63
  112267. };
  112268. A.SassNumber_minus_closure0.prototype = {
  112269. call$2(num1, num2) {
  112270. return num1 - num2;
  112271. },
  112272. $signature: 63
  112273. };
  112274. A.SassNumber_multiplyUnits_closure3.prototype = {
  112275. call$1(denominator) {
  112276. var factor = A.conversionFactor0(this.numerator, denominator);
  112277. if (factor == null)
  112278. return false;
  112279. this._box_0.value /= factor;
  112280. return true;
  112281. },
  112282. $signature: 5
  112283. };
  112284. A.SassNumber_multiplyUnits_closure4.prototype = {
  112285. call$0() {
  112286. return this.newNumerators.push(this.numerator);
  112287. },
  112288. $signature: 0
  112289. };
  112290. A.SassNumber_multiplyUnits_closure5.prototype = {
  112291. call$1(denominator) {
  112292. var factor = A.conversionFactor0(this.numerator, denominator);
  112293. if (factor == null)
  112294. return false;
  112295. this._box_0.value /= factor;
  112296. return true;
  112297. },
  112298. $signature: 5
  112299. };
  112300. A.SassNumber_multiplyUnits_closure6.prototype = {
  112301. call$0() {
  112302. return this.newNumerators.push(this.numerator);
  112303. },
  112304. $signature: 0
  112305. };
  112306. A.SassNumber__areAnyConvertible_closure0.prototype = {
  112307. call$1(unit1) {
  112308. var t1,
  112309. _0_0 = B.Map_NtHoP.$index(0, unit1);
  112310. $label0$0: {
  112311. if (_0_0 != null) {
  112312. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  112313. break $label0$0;
  112314. }
  112315. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  112316. break $label0$0;
  112317. }
  112318. return t1;
  112319. },
  112320. $signature: 5
  112321. };
  112322. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  112323. call$1(unit) {
  112324. var t1,
  112325. type = $.$get$_typesByUnit0().$index(0, unit);
  112326. if (type == null)
  112327. t1 = unit;
  112328. else {
  112329. t1 = B.Map_Sr65K.$index(0, type);
  112330. t1.toString;
  112331. t1 = B.JSArray_methods.get$first(t1);
  112332. }
  112333. return t1;
  112334. },
  112335. $signature: 6
  112336. };
  112337. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  112338. call$2(multiplier, unit) {
  112339. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  112340. },
  112341. $signature: 209
  112342. };
  112343. A.SassNumber_unitSuggestion_closure1.prototype = {
  112344. call$1(unit) {
  112345. return " * 1" + unit;
  112346. },
  112347. $signature: 6
  112348. };
  112349. A.SassNumber_unitSuggestion_closure2.prototype = {
  112350. call$1(unit) {
  112351. return " / 1" + unit;
  112352. },
  112353. $signature: 6
  112354. };
  112355. A.OklabColorSpace0.prototype = {
  112356. get$isBoundedInternal() {
  112357. return false;
  112358. },
  112359. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  112360. var missingLightness, missingA, missingB, t1;
  112361. if (dest === B.OklchColorSpace_9Gj0)
  112362. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  112363. missingLightness = lightness == null;
  112364. missingA = a == null;
  112365. missingB = b == null;
  112366. if (missingLightness)
  112367. lightness = 0;
  112368. if (missingA)
  112369. a = 0;
  112370. if (missingB)
  112371. b = 0;
  112372. t1 = $.$get$oklabToLms0();
  112373. 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);
  112374. },
  112375. convert$5(dest, lightness, a, b, alpha) {
  112376. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  112377. }
  112378. };
  112379. A.OklchColorSpace0.prototype = {
  112380. get$isBoundedInternal() {
  112381. return false;
  112382. },
  112383. get$isPolarInternal() {
  112384. return true;
  112385. },
  112386. convert$5(dest, lightness, chroma, hue, alpha) {
  112387. var t1 = hue == null,
  112388. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  112389. t2 = chroma == null,
  112390. t3 = t2 ? 0 : chroma,
  112391. t4 = Math.cos(hueRadians),
  112392. t5 = t2 ? 0 : chroma;
  112393. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  112394. }
  112395. };
  112396. A.SupportsOperation0.prototype = {
  112397. toInterpolation$0() {
  112398. var t1 = new A.StringBuffer(""),
  112399. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  112400. t3 = this.span,
  112401. t4 = this.left,
  112402. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  112403. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112404. t1._contents += t5;
  112405. t2.addInterpolation$1(t4.toInterpolation$0());
  112406. t5 = this.right;
  112407. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  112408. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  112409. t1._contents += t4;
  112410. t2.addInterpolation$1(t5.toInterpolation$0());
  112411. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  112412. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112413. t1._contents += t5;
  112414. return t2.interpolation$1(t3);
  112415. },
  112416. withSpan$1(span) {
  112417. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  112418. },
  112419. toString$0(_) {
  112420. var _this = this;
  112421. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  112422. },
  112423. _operation$_parenthesize$1(condition) {
  112424. var t1;
  112425. if (!(condition instanceof A.SupportsNegation0))
  112426. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  112427. else
  112428. t1 = true;
  112429. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  112430. },
  112431. $isAstNode0: 1,
  112432. $isSassNode: 1,
  112433. $isSupportsCondition: 1,
  112434. get$span(receiver) {
  112435. return this.span;
  112436. }
  112437. };
  112438. A.Parameter0.prototype = {
  112439. toString$0(_) {
  112440. var t1 = this.defaultValue,
  112441. t2 = this.name;
  112442. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  112443. },
  112444. $isAstNode0: 1,
  112445. $isSassNode: 1,
  112446. get$span(receiver) {
  112447. return this.span;
  112448. }
  112449. };
  112450. A.ParameterList0.prototype = {
  112451. get$spanWithName() {
  112452. var t3, t4,
  112453. t1 = this.span,
  112454. t2 = t1.file,
  112455. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  112456. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  112457. while (true) {
  112458. if (i > 0) {
  112459. t3 = text.charCodeAt(i);
  112460. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112461. } else
  112462. t3 = false;
  112463. if (!t3)
  112464. break;
  112465. --i;
  112466. }
  112467. t3 = text.charCodeAt(i);
  112468. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  112469. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112470. else
  112471. t3 = true;
  112472. if (!t3)
  112473. return t1;
  112474. --i;
  112475. while (true) {
  112476. if (i >= 0) {
  112477. t3 = text.charCodeAt(i);
  112478. if (t3 !== 95) {
  112479. if (!(t3 >= 97 && t3 <= 122))
  112480. t4 = t3 >= 65 && t3 <= 90;
  112481. else
  112482. t4 = true;
  112483. t4 = t4 || t3 >= 128;
  112484. } else
  112485. t4 = true;
  112486. if (!t4)
  112487. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112488. else
  112489. t3 = true;
  112490. } else
  112491. t3 = false;
  112492. if (!t3)
  112493. break;
  112494. --i;
  112495. }
  112496. t3 = i + 1;
  112497. t4 = text.charCodeAt(t3);
  112498. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  112499. return t1;
  112500. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  112501. },
  112502. verify$2(positional, names) {
  112503. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  112504. _s10_ = "invocation";
  112505. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112506. parameter = t1[i];
  112507. if (i < positional) {
  112508. t4 = parameter.name;
  112509. if (t3.containsKey$1(t4))
  112510. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  112511. } else {
  112512. t4 = parameter.name;
  112513. if (t3.containsKey$1(t4))
  112514. ++namedUsed;
  112515. else if (parameter.defaultValue == null)
  112516. 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)));
  112517. }
  112518. }
  112519. if (_this.restParameter != null)
  112520. return;
  112521. if (positional > t2) {
  112522. t1 = names.get$isEmpty(0) ? "" : "positional ";
  112523. 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)));
  112524. }
  112525. if (namedUsed < t3.get$length(t3)) {
  112526. t2 = type$.String;
  112527. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  112528. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  112529. 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)));
  112530. }
  112531. },
  112532. _parameter_list$_originalParameterName$1($name) {
  112533. var t1, text, t2, _i, parameter, t3, end;
  112534. if ($name === this.restParameter) {
  112535. t1 = this.span;
  112536. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  112537. 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, "."));
  112538. }
  112539. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112540. parameter = t1[_i];
  112541. if (parameter.name === $name) {
  112542. t1 = parameter.span;
  112543. if (parameter.defaultValue == null) {
  112544. t2 = t1._file$_start;
  112545. t3 = t1.file._decodedChars;
  112546. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  112547. t1 = t3;
  112548. } else {
  112549. text = t1.get$text();
  112550. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  112551. end = A._lastNonWhitespace0(t1, false);
  112552. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  112553. }
  112554. return t1;
  112555. }
  112556. }
  112557. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  112558. },
  112559. matches$2(positional, names) {
  112560. var t1, t2, t3, namedUsed, i, parameter;
  112561. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112562. parameter = t1[i];
  112563. if (i < positional) {
  112564. if (t3.containsKey$1(parameter.name))
  112565. return false;
  112566. } else if (t3.containsKey$1(parameter.name))
  112567. ++namedUsed;
  112568. else if (parameter.defaultValue == null)
  112569. return false;
  112570. }
  112571. if (this.restParameter != null)
  112572. return true;
  112573. if (positional > t2)
  112574. return false;
  112575. if (namedUsed < t3.get$length(t3))
  112576. return false;
  112577. return true;
  112578. },
  112579. toString$0(_) {
  112580. var t2, t3, _i,
  112581. t1 = A._setArrayType([], type$.JSArray_String);
  112582. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  112583. t1.push("$" + t2[_i].toString$0(0));
  112584. t2 = this.restParameter;
  112585. if (t2 != null)
  112586. t1.push("$" + t2 + "...");
  112587. return B.JSArray_methods.join$1(t1, ", ");
  112588. },
  112589. $isAstNode0: 1,
  112590. $isSassNode: 1,
  112591. get$span(receiver) {
  112592. return this.span;
  112593. }
  112594. };
  112595. A.ParameterList_verify_closure1.prototype = {
  112596. call$1(parameter) {
  112597. return parameter.name;
  112598. },
  112599. $signature: 548
  112600. };
  112601. A.ParameterList_verify_closure2.prototype = {
  112602. call$1($name) {
  112603. return "$" + $name;
  112604. },
  112605. $signature: 6
  112606. };
  112607. A.ParentSelector0.prototype = {
  112608. accept$1$1(visitor) {
  112609. return visitor.visitParentSelector$1(this);
  112610. },
  112611. accept$1(visitor) {
  112612. return this.accept$1$1(visitor, type$.dynamic);
  112613. },
  112614. unify$1(compound) {
  112615. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  112616. }
  112617. };
  112618. A.ParentStatement0.prototype = {};
  112619. A.ParentStatement_closure0.prototype = {
  112620. call$1(child) {
  112621. var t1;
  112622. $label0$0: {
  112623. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  112624. t1 = true;
  112625. break $label0$0;
  112626. }
  112627. if (child instanceof A.ImportRule0) {
  112628. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  112629. break $label0$0;
  112630. }
  112631. t1 = false;
  112632. break $label0$0;
  112633. }
  112634. return t1;
  112635. },
  112636. $signature: 218
  112637. };
  112638. A.ParentStatement__closure0.prototype = {
  112639. call$1($import) {
  112640. return $import instanceof A.DynamicImport0;
  112641. },
  112642. $signature: 204
  112643. };
  112644. A.ParenthesizedExpression0.prototype = {
  112645. accept$1$1(visitor) {
  112646. return visitor.visitParenthesizedExpression$1(0, this);
  112647. },
  112648. accept$1(visitor) {
  112649. return this.accept$1$1(visitor, type$.dynamic);
  112650. },
  112651. toString$0(_) {
  112652. return "(" + this.expression.toString$0(0) + ")";
  112653. },
  112654. get$span(receiver) {
  112655. return this.span;
  112656. }
  112657. };
  112658. A.ParserExports.prototype = {};
  112659. A.loadParserExports_closure.prototype = {
  112660. call$1(inner) {
  112661. return new A.JSExpressionVisitor(inner);
  112662. },
  112663. $signature: 549
  112664. };
  112665. A.loadParserExports_closure0.prototype = {
  112666. call$1(inner) {
  112667. return new A.JSStatementVisitor(inner);
  112668. },
  112669. $signature: 550
  112670. };
  112671. A.loadParserExports_closure1.prototype = {
  112672. call$1(set) {
  112673. return new self.Set(A.List_List$of(set, true, type$.nullable_Object));
  112674. },
  112675. $signature: 551
  112676. };
  112677. A._updateAstPrototypes_closure.prototype = {
  112678. call$3($self, start, end) {
  112679. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  112680. },
  112681. call$2($self, start) {
  112682. return this.call$3($self, start, null);
  112683. },
  112684. "call*": "call$3",
  112685. $requiredArgCount: 2,
  112686. $defaultValues() {
  112687. return [null];
  112688. },
  112689. $signature: 552
  112690. };
  112691. A._updateAstPrototypes_closure0.prototype = {
  112692. call$1($self) {
  112693. return $self._decodedChars;
  112694. },
  112695. $signature: 553
  112696. };
  112697. A._updateAstPrototypes_closure1.prototype = {
  112698. call$1($self) {
  112699. return $self.get$asPlain();
  112700. },
  112701. $signature: 554
  112702. };
  112703. A._updateAstPrototypes_closure2.prototype = {
  112704. call$2($self, visitor) {
  112705. return $self.accept$1(visitor);
  112706. },
  112707. $signature: 555
  112708. };
  112709. A._updateAstPrototypes_closure3.prototype = {
  112710. call$2($self, visitor) {
  112711. return $self.accept$1(visitor);
  112712. },
  112713. $signature: 556
  112714. };
  112715. A._updateAstPrototypes_closure4.prototype = {
  112716. call$1($self) {
  112717. return $self.$arguments;
  112718. },
  112719. $signature: 557
  112720. };
  112721. A._updateAstPrototypes_closure5.prototype = {
  112722. call$1($self) {
  112723. return $self.$arguments;
  112724. },
  112725. $signature: 558
  112726. };
  112727. A._updateAstPrototypes_closure6.prototype = {
  112728. call$1($self) {
  112729. return $self.$arguments;
  112730. },
  112731. $signature: 559
  112732. };
  112733. A._updateAstPrototypes_closure7.prototype = {
  112734. call$1($self) {
  112735. return $self.$arguments;
  112736. },
  112737. $signature: 560
  112738. };
  112739. A._updateAstPrototypes_closure8.prototype = {
  112740. call$1($self) {
  112741. return $self.$arguments;
  112742. },
  112743. $signature: 561
  112744. };
  112745. A._updateAstPrototypes_closure9.prototype = {
  112746. call$1($self) {
  112747. return $self.get$span($self);
  112748. },
  112749. $signature: 562
  112750. };
  112751. A._addSupportsConditionToInterpolation_closure.prototype = {
  112752. call$1($self) {
  112753. return $self.toInterpolation$0();
  112754. },
  112755. $signature: 563
  112756. };
  112757. A.Parser1.prototype = {
  112758. _parser1$_parseIdentifier$0() {
  112759. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  112760. },
  112761. whitespace$1$consumeNewlines(consumeNewlines) {
  112762. do
  112763. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  112764. while (this.scanComment$0());
  112765. },
  112766. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  112767. var t3,
  112768. t1 = this.scanner,
  112769. t2 = t1.string.length;
  112770. while (true) {
  112771. if (t1._string_scanner$_position !== t2) {
  112772. t3 = t1.peekChar$0();
  112773. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112774. } else
  112775. t3 = false;
  112776. if (!t3)
  112777. break;
  112778. t1.readChar$0();
  112779. }
  112780. },
  112781. spaces$0() {
  112782. var t3,
  112783. t1 = this.scanner,
  112784. t2 = t1.string.length;
  112785. while (true) {
  112786. if (t1._string_scanner$_position !== t2) {
  112787. t3 = t1.peekChar$0();
  112788. t3 = t3 === 32 || t3 === 9;
  112789. } else
  112790. t3 = false;
  112791. if (!t3)
  112792. break;
  112793. t1.readChar$0();
  112794. }
  112795. },
  112796. scanComment$0() {
  112797. var _0_0,
  112798. t1 = this.scanner;
  112799. if (t1.peekChar$0() !== 47)
  112800. return false;
  112801. _0_0 = t1.peekChar$1(1);
  112802. if (47 === _0_0)
  112803. return this.silentComment$0();
  112804. if (42 === _0_0) {
  112805. this.loudComment$0();
  112806. return true;
  112807. }
  112808. return false;
  112809. },
  112810. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  112811. var t2, t3,
  112812. t1 = this.scanner;
  112813. if (t1._string_scanner$_position !== t1.string.length) {
  112814. t2 = t1.peekChar$0();
  112815. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  112816. t2 = t3;
  112817. } else
  112818. t2 = true;
  112819. if (t2)
  112820. t1.error$1(0, "Expected whitespace.");
  112821. this.whitespace$1$consumeNewlines(consumeNewlines);
  112822. },
  112823. expectWhitespace$0() {
  112824. return this.expectWhitespace$1$consumeNewlines(false);
  112825. },
  112826. silentComment$0() {
  112827. var t2, t3,
  112828. t1 = this.scanner;
  112829. t1.expect$1("//");
  112830. t2 = t1.string.length;
  112831. while (true) {
  112832. if (t1._string_scanner$_position !== t2) {
  112833. t3 = t1.peekChar$0();
  112834. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  112835. } else
  112836. t3 = false;
  112837. if (!t3)
  112838. break;
  112839. t1.readChar$0();
  112840. }
  112841. return true;
  112842. },
  112843. loudComment$0() {
  112844. var next,
  112845. t1 = this.scanner;
  112846. t1.expect$1("/*");
  112847. for (; true;) {
  112848. if (t1.readChar$0() !== 42)
  112849. continue;
  112850. do
  112851. next = t1.readChar$0();
  112852. while (next === 42);
  112853. if (next === 47)
  112854. break;
  112855. }
  112856. },
  112857. identifier$2$normalize$unit(normalize, unit) {
  112858. var t2, _0_0, _this = this,
  112859. _s20_ = "Expected identifier.",
  112860. text = new A.StringBuffer(""),
  112861. t1 = _this.scanner;
  112862. if (t1.scanChar$1(45)) {
  112863. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  112864. if (t1.scanChar$1(45)) {
  112865. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  112866. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  112867. t1 = text._contents;
  112868. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112869. }
  112870. } else
  112871. t2 = "";
  112872. $label0$0: {
  112873. _0_0 = t1.peekChar$0();
  112874. if (_0_0 == null)
  112875. t1.error$1(0, _s20_);
  112876. if (95 === _0_0 && normalize) {
  112877. t1.readChar$0();
  112878. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  112879. break $label0$0;
  112880. }
  112881. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  112882. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  112883. break $label0$0;
  112884. }
  112885. if (92 === _0_0) {
  112886. text._contents = t2 + _this.escape$1$identifierStart(true);
  112887. break $label0$0;
  112888. }
  112889. t1.error$1(0, _s20_);
  112890. }
  112891. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  112892. t1 = text._contents;
  112893. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112894. },
  112895. identifier$0() {
  112896. return this.identifier$2$normalize$unit(false, false);
  112897. },
  112898. identifier$1$normalize(normalize) {
  112899. return this.identifier$2$normalize$unit(normalize, false);
  112900. },
  112901. identifier$1$unit(unit) {
  112902. return this.identifier$2$normalize$unit(false, unit);
  112903. },
  112904. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  112905. var t1, _1_0, _0_0, t2;
  112906. for (t1 = this.scanner; true;) {
  112907. _1_0 = t1.peekChar$0();
  112908. if (_1_0 == null)
  112909. break;
  112910. if (45 === _1_0 && unit) {
  112911. _0_0 = t1.peekChar$1(1);
  112912. if (46 !== _0_0)
  112913. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  112914. else
  112915. t2 = true;
  112916. if (t2)
  112917. break;
  112918. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112919. text._contents += t2;
  112920. continue;
  112921. }
  112922. if (95 === _1_0 && normalize) {
  112923. t1.readChar$0();
  112924. t2 = A.Primitives_stringFromCharCode(45);
  112925. text._contents += t2;
  112926. continue;
  112927. }
  112928. if (_1_0 !== 95) {
  112929. if (!(_1_0 >= 97 && _1_0 <= 122))
  112930. t2 = _1_0 >= 65 && _1_0 <= 90;
  112931. else
  112932. t2 = true;
  112933. t2 = t2 || _1_0 >= 128;
  112934. } else
  112935. t2 = true;
  112936. if (!t2)
  112937. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  112938. else
  112939. t2 = true;
  112940. if (t2) {
  112941. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112942. text._contents += t2;
  112943. continue;
  112944. }
  112945. if (92 === _1_0) {
  112946. t2 = this.escape$0();
  112947. text._contents += t2;
  112948. continue;
  112949. }
  112950. break;
  112951. }
  112952. },
  112953. _parser1$_identifierBody$1(text) {
  112954. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  112955. },
  112956. string$0() {
  112957. var buffer, _0_0, t2,
  112958. t1 = this.scanner,
  112959. quote = t1.readChar$0();
  112960. if (quote !== 39 && quote !== 34)
  112961. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  112962. buffer = new A.StringBuffer("");
  112963. for (; true;) {
  112964. _0_0 = t1.peekChar$0();
  112965. if (_0_0 === quote) {
  112966. t1.readChar$0();
  112967. break;
  112968. }
  112969. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  112970. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  112971. if (92 === _0_0) {
  112972. t2 = t1.peekChar$1(1);
  112973. if (t2 === 10 || t2 === 13 || t2 === 12) {
  112974. t1.readChar$0();
  112975. t1.readChar$0();
  112976. } else {
  112977. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  112978. buffer._contents += t2;
  112979. }
  112980. continue;
  112981. }
  112982. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  112983. buffer._contents += t2;
  112984. }
  112985. t1 = buffer._contents;
  112986. return t1.charCodeAt(0) == 0 ? t1 : t1;
  112987. },
  112988. declarationValue$1$allowEmpty(allowEmpty) {
  112989. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  112990. buffer = new A.StringBuffer(""),
  112991. brackets = A._setArrayType([], type$.JSArray_int);
  112992. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  112993. next = t1.peekChar$0();
  112994. if (next == null)
  112995. break;
  112996. wroteNewline0 = false;
  112997. if (92 === next) {
  112998. t4 = _this.escape$1$identifierStart(true);
  112999. buffer._contents += t4;
  113000. wroteNewline = wroteNewline0;
  113001. continue;
  113002. }
  113003. if (34 === next || 39 === next) {
  113004. start = t1._string_scanner$_position;
  113005. t3.call$0();
  113006. end = t1._string_scanner$_position;
  113007. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113008. wroteNewline = wroteNewline0;
  113009. continue;
  113010. }
  113011. if (47 === next) {
  113012. if (t1.peekChar$1(1) === 42) {
  113013. start = t1._string_scanner$_position;
  113014. t2.call$0();
  113015. end = t1._string_scanner$_position;
  113016. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113017. } else {
  113018. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113019. buffer._contents += t4;
  113020. }
  113021. wroteNewline = wroteNewline0;
  113022. continue;
  113023. }
  113024. if (32 === next || 9 === next) {
  113025. if (!wroteNewline) {
  113026. t4 = t1.peekChar$1(1);
  113027. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  113028. } else
  113029. t4 = true;
  113030. if (t4) {
  113031. t4 = A.Primitives_stringFromCharCode(32);
  113032. buffer._contents += t4;
  113033. }
  113034. t1.readChar$0();
  113035. continue;
  113036. }
  113037. if (10 === next || 13 === next || 12 === next) {
  113038. t4 = t1.peekChar$1(-1);
  113039. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  113040. buffer._contents += "\n";
  113041. t1.readChar$0();
  113042. wroteNewline = true;
  113043. continue;
  113044. }
  113045. if (40 === next || 123 === next || 91 === next) {
  113046. t4 = A.Primitives_stringFromCharCode(next);
  113047. buffer._contents += t4;
  113048. brackets.push(A.opposite0(t1.readChar$0()));
  113049. wroteNewline = wroteNewline0;
  113050. continue;
  113051. }
  113052. if (41 === next || 125 === next || 93 === next) {
  113053. if (brackets.length === 0)
  113054. break;
  113055. t4 = A.Primitives_stringFromCharCode(next);
  113056. buffer._contents += t4;
  113057. t1.expectChar$1(brackets.pop());
  113058. wroteNewline = wroteNewline0;
  113059. continue;
  113060. }
  113061. if (59 === next) {
  113062. if (brackets.length === 0)
  113063. break;
  113064. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113065. buffer._contents += t4;
  113066. continue;
  113067. }
  113068. if (117 === next || 85 === next) {
  113069. _0_0 = _this.tryUrl$0();
  113070. if (_0_0 != null)
  113071. buffer._contents += _0_0;
  113072. else {
  113073. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113074. buffer._contents += t4;
  113075. }
  113076. wroteNewline = wroteNewline0;
  113077. continue;
  113078. }
  113079. if (_this.lookingAtIdentifier$0()) {
  113080. t4 = _this.identifier$0();
  113081. buffer._contents += t4;
  113082. } else {
  113083. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113084. buffer._contents += t4;
  113085. }
  113086. wroteNewline = wroteNewline0;
  113087. }
  113088. if (brackets.length !== 0)
  113089. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113090. if (!allowEmpty && buffer._contents.length === 0)
  113091. t1.error$1(0, "Expected token.");
  113092. t1 = buffer._contents;
  113093. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113094. },
  113095. declarationValue$0() {
  113096. return this.declarationValue$1$allowEmpty(false);
  113097. },
  113098. tryUrl$0() {
  113099. var buffer, _0_0, t2, _this = this,
  113100. t1 = _this.scanner,
  113101. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113102. if (!_this.scanIdentifier$1("url"))
  113103. return null;
  113104. if (!t1.scanChar$1(40)) {
  113105. t1.set$state(start);
  113106. return null;
  113107. }
  113108. _this.whitespace$1$consumeNewlines(true);
  113109. buffer = new A.StringBuffer("");
  113110. buffer._contents = "" + "url(";
  113111. for (; true;) {
  113112. _0_0 = t1.peekChar$0();
  113113. if (_0_0 == null)
  113114. break;
  113115. if (92 === _0_0) {
  113116. t2 = _this.escape$0();
  113117. buffer._contents += t2;
  113118. continue;
  113119. }
  113120. t2 = true;
  113121. if (37 !== _0_0)
  113122. if (38 !== _0_0)
  113123. if (35 !== _0_0)
  113124. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113125. if (t2) {
  113126. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113127. buffer._contents += t2;
  113128. continue;
  113129. }
  113130. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113131. _this.whitespace$1$consumeNewlines(true);
  113132. if (t1.peekChar$0() !== 41)
  113133. break;
  113134. continue;
  113135. }
  113136. if (41 === _0_0) {
  113137. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113138. t2 = buffer._contents += t2;
  113139. return t2.charCodeAt(0) == 0 ? t2 : t2;
  113140. }
  113141. break;
  113142. }
  113143. t1.set$state(start);
  113144. return null;
  113145. },
  113146. variableName$0() {
  113147. this.scanner.expectChar$1(36);
  113148. return this.identifier$1$normalize(true);
  113149. },
  113150. escape$1$identifierStart(identifierStart) {
  113151. var value, _0_0, i, next, t2, exception,
  113152. _s25_ = "Expected escape sequence.",
  113153. t1 = this.scanner,
  113154. start = t1._string_scanner$_position;
  113155. t1.expectChar$1(92);
  113156. value = 0;
  113157. $label0$1: {
  113158. _0_0 = t1.peekChar$0();
  113159. if (_0_0 == null)
  113160. t1.error$1(0, _s25_);
  113161. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113162. t1.error$1(0, _s25_);
  113163. if (A.CharacterExtension_get_isHex0(_0_0)) {
  113164. for (i = 0; i < 6; ++i) {
  113165. next = t1.peekChar$0();
  113166. if (next != null) {
  113167. t2 = true;
  113168. if (!(next >= 48 && next <= 57))
  113169. if (!(next >= 97 && next <= 102))
  113170. t2 = next >= 65 && next <= 70;
  113171. t2 = !t2;
  113172. } else
  113173. t2 = true;
  113174. if (t2)
  113175. break;
  113176. value *= 16;
  113177. value += A.asHex0(t1.readChar$0());
  113178. }
  113179. this.scanCharIf$1(new A.Parser_escape_closure0());
  113180. break $label0$1;
  113181. }
  113182. value = t1.readChar$0();
  113183. }
  113184. if (identifierStart) {
  113185. t2 = value;
  113186. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  113187. } else {
  113188. t2 = value;
  113189. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113190. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113191. else
  113192. t2 = true;
  113193. }
  113194. if (t2)
  113195. try {
  113196. t2 = A.Primitives_stringFromCharCode(value);
  113197. return t2;
  113198. } catch (exception) {
  113199. if (type$.RangeError._is(A.unwrapException(exception)))
  113200. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  113201. else
  113202. throw exception;
  113203. }
  113204. else {
  113205. t1 = true;
  113206. if (!(value <= 31))
  113207. if (!J.$eq$(value, 127))
  113208. if (identifierStart) {
  113209. t1 = value;
  113210. t1 = t1 >= 48 && t1 <= 57;
  113211. } else
  113212. t1 = false;
  113213. if (t1) {
  113214. t1 = "" + A.Primitives_stringFromCharCode(92);
  113215. if (value > 15)
  113216. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  113217. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  113218. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113219. } else
  113220. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  113221. }
  113222. },
  113223. escape$0() {
  113224. return this.escape$1$identifierStart(false);
  113225. },
  113226. scanCharIf$1(condition) {
  113227. var t1 = this.scanner;
  113228. if (!condition.call$1(t1.peekChar$0()))
  113229. return false;
  113230. t1.readChar$0();
  113231. return true;
  113232. },
  113233. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  113234. var t3,
  113235. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  113236. t2 = this.scanner,
  113237. _0_0 = t2.peekChar$0();
  113238. if (_0_0 != null) {
  113239. t3 = t1.call$1(_0_0);
  113240. t3 = t3;
  113241. } else
  113242. t3 = false;
  113243. if (t3) {
  113244. t2.readChar$0();
  113245. return true;
  113246. }
  113247. if (92 === _0_0) {
  113248. t3 = t2._string_scanner$_position;
  113249. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  113250. return true;
  113251. t2.set$state(new A._SpanScannerState(t2, t3));
  113252. }
  113253. return false;
  113254. },
  113255. scanIdentChar$1(char) {
  113256. return this.scanIdentChar$2$caseSensitive(char, false);
  113257. },
  113258. expectIdentChar$1(letter) {
  113259. var t1;
  113260. if (this.scanIdentChar$2$caseSensitive(letter, false))
  113261. return;
  113262. t1 = this.scanner;
  113263. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  113264. },
  113265. lookingAtIdentifier$1($forward) {
  113266. var t1, _1_0, t2, _0_0;
  113267. if ($forward == null)
  113268. $forward = 0;
  113269. t1 = this.scanner;
  113270. _1_0 = t1.peekChar$1($forward);
  113271. $label0$0: {
  113272. if (A._isInt(_1_0))
  113273. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  113274. else
  113275. t2 = false;
  113276. if (t2 || 92 === _1_0) {
  113277. t1 = true;
  113278. break $label0$0;
  113279. }
  113280. if (45 === _1_0) {
  113281. _0_0 = t1.peekChar$1($forward + 1);
  113282. $label1$1: {
  113283. if (A._isInt(_0_0))
  113284. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  113285. else
  113286. t1 = false;
  113287. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  113288. if (t1)
  113289. break $label1$1;
  113290. break $label1$1;
  113291. }
  113292. break $label0$0;
  113293. }
  113294. t1 = false;
  113295. break $label0$0;
  113296. }
  113297. return t1;
  113298. },
  113299. lookingAtIdentifier$0() {
  113300. return this.lookingAtIdentifier$1(null);
  113301. },
  113302. lookingAtIdentifierBody$0() {
  113303. var t1,
  113304. next = this.scanner.peekChar$0();
  113305. if (next != null) {
  113306. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  113307. t1 = next >= 48 && next <= 57 || next === 45;
  113308. else
  113309. t1 = true;
  113310. t1 = t1 || next === 92;
  113311. } else
  113312. t1 = false;
  113313. return t1;
  113314. },
  113315. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  113316. var t1, t2, _this = this;
  113317. if (!_this.lookingAtIdentifier$0())
  113318. return false;
  113319. t1 = _this.scanner;
  113320. t2 = t1._string_scanner$_position;
  113321. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  113322. return true;
  113323. else {
  113324. t1.set$state(new A._SpanScannerState(t1, t2));
  113325. return false;
  113326. }
  113327. },
  113328. scanIdentifier$1(text) {
  113329. return this.scanIdentifier$2$caseSensitive(text, false);
  113330. },
  113331. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  113332. var t1, t2, t3;
  113333. 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();) {
  113334. t3 = t1.__internal$_current;
  113335. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  113336. return false;
  113337. }
  113338. return true;
  113339. },
  113340. expectIdentifier$2$name(text, $name) {
  113341. var t1, start, t2, t3, t4, t5, t6;
  113342. if ($name == null)
  113343. $name = '"' + text + '"';
  113344. t1 = this.scanner;
  113345. start = t1._string_scanner$_position;
  113346. 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();) {
  113347. t6 = t2.__internal$_current;
  113348. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  113349. continue;
  113350. t1.error$2$position(0, t5, start);
  113351. }
  113352. if (!this.lookingAtIdentifierBody$0())
  113353. return;
  113354. t1.error$2$position(0, t4, start);
  113355. },
  113356. expectIdentifier$1(text) {
  113357. return this.expectIdentifier$2$name(text, null);
  113358. },
  113359. rawText$1(consumer) {
  113360. var t1 = this.scanner,
  113361. start = t1._string_scanner$_position;
  113362. consumer.call$0();
  113363. return t1.substring$1(0, start);
  113364. },
  113365. spanFrom$1(state) {
  113366. var span = this.scanner.spanFrom$1(state);
  113367. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  113368. },
  113369. error$3(_, message, span, trace) {
  113370. var exception = new A.StringScannerException(this.scanner.string, message, span);
  113371. if (trace == null)
  113372. throw A.wrapException(exception);
  113373. else
  113374. A.throwWithTrace0(exception, this.get$error(this), trace);
  113375. },
  113376. error$2(_, message, span) {
  113377. return this.error$3(0, message, span, null);
  113378. },
  113379. withErrorMessage$1$2(message, callback) {
  113380. var error, stackTrace, t1, exception;
  113381. try {
  113382. t1 = callback.call$0();
  113383. return t1;
  113384. } catch (exception) {
  113385. t1 = A.unwrapException(exception);
  113386. if (type$.SourceSpanFormatException._is(t1)) {
  113387. error = t1;
  113388. stackTrace = A.getTraceFromException(exception);
  113389. t1 = J.get$span$z(error);
  113390. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  113391. } else
  113392. throw exception;
  113393. }
  113394. },
  113395. withErrorMessage$2(message, callback) {
  113396. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  113397. },
  113398. wrapSpanFormatException$1$1(callback) {
  113399. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  113400. _s8_ = "expected";
  113401. try {
  113402. try {
  113403. t3 = callback.call$0();
  113404. return t3;
  113405. } catch (exception) {
  113406. t3 = A.unwrapException(exception);
  113407. if (type$.SourceSpanFormatException._is(t3)) {
  113408. error = t3;
  113409. stackTrace = A.getTraceFromException(exception);
  113410. map = _this._parser1$_interpolationMap;
  113411. if (map == null)
  113412. throw exception;
  113413. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  113414. } else
  113415. throw exception;
  113416. }
  113417. } catch (exception) {
  113418. t3 = A.unwrapException(exception);
  113419. if (type$.MultiSourceSpanFormatException._is(t3)) {
  113420. error0 = t3;
  113421. stackTrace0 = A.getTraceFromException(exception);
  113422. span = J.get$span$z(error0);
  113423. t3 = type$.FileSpan;
  113424. t4 = type$.String;
  113425. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  113426. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  113427. span = _this._parser1$_adjustExceptionSpan$1(span);
  113428. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  113429. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  113430. t2 = t3.get$current(t3);
  113431. span0 = null;
  113432. description = null;
  113433. _0_0 = t2;
  113434. span0 = _0_0._0;
  113435. description = _0_0._1;
  113436. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  113437. }
  113438. secondarySpans = t1;
  113439. }
  113440. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  113441. } else if (type$.SourceSpanFormatException._is(t3)) {
  113442. error1 = t3;
  113443. stackTrace1 = A.getTraceFromException(exception);
  113444. span1 = J.get$span$z(error1);
  113445. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  113446. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  113447. t1 = error1._span_exception$_message;
  113448. t2 = span1;
  113449. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  113450. } else
  113451. throw exception;
  113452. }
  113453. },
  113454. wrapSpanFormatException$1(callback) {
  113455. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  113456. },
  113457. _parser1$_adjustExceptionSpan$1(span) {
  113458. var start, t1;
  113459. if (span.get$length(span) > 0)
  113460. return span;
  113461. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  113462. if (start.$eq(0, span.get$start(span)))
  113463. t1 = span;
  113464. else {
  113465. t1 = start.offset;
  113466. t1 = A._FileSpan$(start.file, t1, t1);
  113467. }
  113468. return t1;
  113469. },
  113470. _parser1$_firstNewlineBefore$1($location) {
  113471. var lastNewline, codeUnit,
  113472. t1 = $location.file,
  113473. t2 = $location.offset,
  113474. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  113475. index = t2 - 1;
  113476. for (lastNewline = null; index >= 0;) {
  113477. codeUnit = text.charCodeAt(index);
  113478. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  113479. if (lastNewline == null)
  113480. t1 = $location;
  113481. else {
  113482. t2 = new A.FileLocation(t1, lastNewline);
  113483. t2.FileLocation$_$2(t1, lastNewline);
  113484. t1 = t2;
  113485. }
  113486. return t1;
  113487. }
  113488. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  113489. lastNewline = index;
  113490. --index;
  113491. }
  113492. return $location;
  113493. }
  113494. };
  113495. A.Parser__parseIdentifier_closure0.prototype = {
  113496. call$0() {
  113497. var t1 = this.$this,
  113498. result = t1.identifier$0();
  113499. t1.scanner.expectDone$0();
  113500. return result;
  113501. },
  113502. $signature: 32
  113503. };
  113504. A.Parser_escape_closure0.prototype = {
  113505. call$1(char) {
  113506. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  113507. },
  113508. $signature: 30
  113509. };
  113510. A.Parser_scanIdentChar_matches0.prototype = {
  113511. call$1(actual) {
  113512. var t1 = this.char;
  113513. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  113514. },
  113515. $signature: 50
  113516. };
  113517. A.Parser_spanFrom_closure0.prototype = {
  113518. call$0() {
  113519. var t1 = this.$this._parser1$_interpolationMap;
  113520. if (t1 == null)
  113521. t1 = type$.InterpolationMap_2._as(t1);
  113522. return t1.mapSpan$1(this.span);
  113523. },
  113524. $signature: 28
  113525. };
  113526. A.PlaceholderSelector0.prototype = {
  113527. accept$1$1(visitor) {
  113528. return visitor.visitPlaceholderSelector$1(this);
  113529. },
  113530. accept$1(visitor) {
  113531. return this.accept$1$1(visitor, type$.dynamic);
  113532. },
  113533. addSuffix$1(suffix) {
  113534. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  113535. },
  113536. $eq(_, other) {
  113537. if (other == null)
  113538. return false;
  113539. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  113540. },
  113541. get$hashCode(_) {
  113542. return B.JSString_methods.get$hashCode(this.name);
  113543. }
  113544. };
  113545. A.PlainCssCallable0.prototype = {
  113546. $eq(_, other) {
  113547. if (other == null)
  113548. return false;
  113549. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  113550. },
  113551. get$hashCode(_) {
  113552. return B.JSString_methods.get$hashCode(this.name);
  113553. },
  113554. $isAsyncCallable0: 1,
  113555. $isCallable: 1,
  113556. get$name(receiver) {
  113557. return this.name;
  113558. }
  113559. };
  113560. A.PrefixedMapView0.prototype = {
  113561. get$keys(_) {
  113562. return new A._PrefixedKeys0(this);
  113563. },
  113564. get$length(_) {
  113565. var t1 = this._prefixed_map_view0$_map;
  113566. return t1.get$length(t1);
  113567. },
  113568. get$isEmpty(_) {
  113569. var t1 = this._prefixed_map_view0$_map;
  113570. return t1.get$isEmpty(t1);
  113571. },
  113572. get$isNotEmpty(_) {
  113573. var t1 = this._prefixed_map_view0$_map;
  113574. return t1.get$isNotEmpty(t1);
  113575. },
  113576. $index(_, key) {
  113577. 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;
  113578. },
  113579. containsKey$1(key) {
  113580. 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));
  113581. }
  113582. };
  113583. A._PrefixedKeys0.prototype = {
  113584. get$length(_) {
  113585. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113586. return t1.get$length(t1);
  113587. },
  113588. get$iterator(_) {
  113589. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113590. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  113591. return t1.get$iterator(t1);
  113592. },
  113593. contains$1(_, key) {
  113594. return this._prefixed_map_view0$_view.containsKey$1(key);
  113595. }
  113596. };
  113597. A._PrefixedKeys_iterator_closure0.prototype = {
  113598. call$1(key) {
  113599. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  113600. },
  113601. $signature: 6
  113602. };
  113603. A.ProphotoRgbColorSpace0.prototype = {
  113604. get$isBoundedInternal() {
  113605. return true;
  113606. },
  113607. toLinear$1(channel) {
  113608. var abs = Math.abs(channel);
  113609. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  113610. },
  113611. fromLinear$1(channel) {
  113612. var abs = Math.abs(channel);
  113613. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  113614. },
  113615. transformationMatrix$1(dest) {
  113616. var t1;
  113617. $label0$0: {
  113618. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113619. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  113620. break $label0$0;
  113621. }
  113622. if (B.A98RgbColorSpace_lf20 === dest) {
  113623. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  113624. break $label0$0;
  113625. }
  113626. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113627. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  113628. break $label0$0;
  113629. }
  113630. if (B.Rec2020ColorSpace_6oo0 === dest) {
  113631. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  113632. break $label0$0;
  113633. }
  113634. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113635. t1 = $.$get$linearProphotoRgbToXyzD650();
  113636. break $label0$0;
  113637. }
  113638. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113639. t1 = $.$get$linearProphotoRgbToXyzD500();
  113640. break $label0$0;
  113641. }
  113642. if (B.LmsColorSpace_Os30 === dest) {
  113643. t1 = $.$get$linearProphotoRgbToLms0();
  113644. break $label0$0;
  113645. }
  113646. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113647. break $label0$0;
  113648. }
  113649. return t1;
  113650. }
  113651. };
  113652. A.PseudoSelector0.prototype = {
  113653. get$isHostContext() {
  113654. return this.isClass && this.name === "host-context" && this.selector != null;
  113655. },
  113656. get$hasComplicatedSuperselectorSemantics() {
  113657. return !this.isClass || this.selector != null;
  113658. },
  113659. get$specificity() {
  113660. var result, _this = this,
  113661. value = _this._pseudo$__PseudoSelector_specificity_FI;
  113662. if (value === $) {
  113663. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  113664. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  113665. _this._pseudo$__PseudoSelector_specificity_FI = result;
  113666. value = result;
  113667. }
  113668. return value;
  113669. },
  113670. withSelector$1(selector) {
  113671. var _this = this;
  113672. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  113673. },
  113674. addSuffix$1(suffix) {
  113675. var _this = this;
  113676. if (_this.argument != null || _this.selector != null)
  113677. _this.super$SimpleSelector$addSuffix0(suffix);
  113678. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  113679. },
  113680. unify$1(compound) {
  113681. var other, result, t2, addedThis, _i, simple, _this = this,
  113682. t1 = _this.name;
  113683. if (t1 === "host" || t1 === "host-context") {
  113684. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  113685. return null;
  113686. } else {
  113687. t1 = false;
  113688. if (compound.length === 1) {
  113689. other = compound[0];
  113690. if (!(other instanceof A.UniversalSelector0)) {
  113691. if (other instanceof A.PseudoSelector0)
  113692. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  113693. } else
  113694. t1 = true;
  113695. } else
  113696. other = null;
  113697. if (t1)
  113698. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  113699. }
  113700. if (B.JSArray_methods.contains$1(compound, _this))
  113701. return compound;
  113702. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  113703. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  113704. simple = compound[_i];
  113705. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  113706. if (t2)
  113707. return null;
  113708. result.push(_this);
  113709. addedThis = true;
  113710. }
  113711. result.push(simple);
  113712. }
  113713. if (!addedThis)
  113714. result.push(_this);
  113715. return result;
  113716. },
  113717. isSuperselector$1(other) {
  113718. var selector, t1, t2, _this = this;
  113719. if (_this.super$SimpleSelector$isSuperselector0(other))
  113720. return true;
  113721. selector = _this.selector;
  113722. if (selector == null)
  113723. return _this.$eq(0, other);
  113724. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  113725. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  113726. return t1 == null ? false : t1;
  113727. }
  113728. t1 = type$.JSArray_SimpleSelector_2;
  113729. t2 = _this.span;
  113730. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  113731. },
  113732. accept$1$1(visitor) {
  113733. return visitor.visitPseudoSelector$1(this);
  113734. },
  113735. accept$1(visitor) {
  113736. return this.accept$1$1(visitor, type$.dynamic);
  113737. },
  113738. $eq(_, other) {
  113739. var _this = this;
  113740. if (other == null)
  113741. return false;
  113742. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  113743. },
  113744. get$hashCode(_) {
  113745. var _this = this,
  113746. t1 = B.JSString_methods.get$hashCode(_this.name),
  113747. t2 = !_this.isClass ? 519018 : 218159;
  113748. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  113749. }
  113750. };
  113751. A.PseudoSelector_specificity_closure0.prototype = {
  113752. call$0() {
  113753. var selector, t2,
  113754. t1 = this.$this;
  113755. if (!t1.isClass)
  113756. return 1;
  113757. selector = t1.selector;
  113758. if (selector == null)
  113759. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113760. switch (t1.normalizedName) {
  113761. case "where":
  113762. return 0;
  113763. case "is":
  113764. case "not":
  113765. case "has":
  113766. case "matches":
  113767. t1 = selector.components;
  113768. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  113769. case "nth-child":
  113770. case "nth-last-child":
  113771. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  113772. t2 = selector.components;
  113773. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  113774. default:
  113775. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  113776. }
  113777. },
  113778. $signature: 10
  113779. };
  113780. A.PseudoSelector_specificity__closure1.prototype = {
  113781. call$1(component) {
  113782. return component.get$specificity();
  113783. },
  113784. $signature: 267
  113785. };
  113786. A.PseudoSelector_specificity__closure2.prototype = {
  113787. call$1(component) {
  113788. return component.get$specificity();
  113789. },
  113790. $signature: 267
  113791. };
  113792. A.PseudoSelector_unify_closure0.prototype = {
  113793. call$1(simple) {
  113794. var t1;
  113795. if (simple instanceof A.PseudoSelector0)
  113796. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  113797. else
  113798. t1 = false;
  113799. return t1;
  113800. },
  113801. $signature: 13
  113802. };
  113803. A.PublicMemberMapView0.prototype = {
  113804. get$keys(_) {
  113805. var t1 = this._public_member_map_view0$_inner;
  113806. return J.where$1$ax(t1.get$keys(t1), A.utils1__isPublic$closure());
  113807. },
  113808. containsKey$1(key) {
  113809. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  113810. },
  113811. $index(_, key) {
  113812. if (typeof key == "string" && A.isPublic0(key))
  113813. return this._public_member_map_view0$_inner.$index(0, key);
  113814. return null;
  113815. }
  113816. };
  113817. A.QualifiedName0.prototype = {
  113818. $eq(_, other) {
  113819. if (other == null)
  113820. return false;
  113821. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  113822. },
  113823. get$hashCode(_) {
  113824. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  113825. },
  113826. toString$0(_) {
  113827. var t1 = this.namespace,
  113828. t2 = this.name;
  113829. return t1 == null ? t2 : t1 + "|" + t2;
  113830. }
  113831. };
  113832. A.Rec2020ColorSpace0.prototype = {
  113833. get$isBoundedInternal() {
  113834. return true;
  113835. },
  113836. toLinear$1(channel) {
  113837. var abs = Math.abs(channel);
  113838. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  113839. },
  113840. fromLinear$1(channel) {
  113841. var abs = Math.abs(channel);
  113842. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  113843. },
  113844. transformationMatrix$1(dest) {
  113845. var t1;
  113846. $label0$0: {
  113847. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113848. t1 = $.$get$linearRec2020ToLinearSrgb0();
  113849. break $label0$0;
  113850. }
  113851. if (B.A98RgbColorSpace_lf20 === dest) {
  113852. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  113853. break $label0$0;
  113854. }
  113855. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113856. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  113857. break $label0$0;
  113858. }
  113859. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  113860. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  113861. break $label0$0;
  113862. }
  113863. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113864. t1 = $.$get$linearRec2020ToXyzD650();
  113865. break $label0$0;
  113866. }
  113867. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113868. t1 = $.$get$linearRec2020ToXyzD500();
  113869. break $label0$0;
  113870. }
  113871. if (B.LmsColorSpace_Os30 === dest) {
  113872. t1 = $.$get$linearRec2020ToLms0();
  113873. break $label0$0;
  113874. }
  113875. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113876. break $label0$0;
  113877. }
  113878. return t1;
  113879. }
  113880. };
  113881. A.JSClass0.prototype = {};
  113882. A.JSClassExtension_setCustomInspect_closure.prototype = {
  113883. call$4($self, _, __, ___) {
  113884. return this.inspect.call$1($self);
  113885. },
  113886. call$3($self, _, __) {
  113887. return this.call$4($self, _, __, null);
  113888. },
  113889. "call*": "call$4",
  113890. $requiredArgCount: 3,
  113891. $defaultValues() {
  113892. return [null];
  113893. },
  113894. $signature: 565
  113895. };
  113896. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  113897. call$2($name, body) {
  113898. this._this[$name] = A.allowInteropNamed($name, body);
  113899. return null;
  113900. },
  113901. $signature: 122
  113902. };
  113903. A.JSClassExtension_get_defineMethod_closure.prototype = {
  113904. call$2($name, body) {
  113905. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  113906. return null;
  113907. },
  113908. $signature: 122
  113909. };
  113910. A.JSClassExtension_get_defineGetter_closure.prototype = {
  113911. call$2($name, body) {
  113912. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  113913. return null;
  113914. },
  113915. $signature: 122
  113916. };
  113917. A.RenderContext0.prototype = {};
  113918. A.RenderContextOptions0.prototype = {};
  113919. A.RenderContextResult0.prototype = {};
  113920. A.RenderContextResultStats0.prototype = {};
  113921. A.RenderOptions.prototype = {};
  113922. A.RenderResult.prototype = {};
  113923. A.RenderResultStats.prototype = {};
  113924. A.ReplaceExpressionVisitor0.prototype = {
  113925. visitBinaryOperationExpression$1(_, node) {
  113926. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  113927. },
  113928. visitBooleanExpression$1(_, node) {
  113929. return node;
  113930. },
  113931. visitColorExpression$1(_, node) {
  113932. return node;
  113933. },
  113934. visitFunctionExpression$1(_, node) {
  113935. var t1 = node.originalName,
  113936. t2 = this.visitArgumentList$1(node.$arguments);
  113937. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  113938. },
  113939. visitInterpolatedFunctionExpression$1(_, node) {
  113940. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  113941. },
  113942. visitIfExpression$1(_, node) {
  113943. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  113944. },
  113945. visitListExpression$1(_, node) {
  113946. var t1 = node.contents;
  113947. 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);
  113948. },
  113949. visitMapExpression$1(_, node) {
  113950. var t2, t3, _i, t4,
  113951. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  113952. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  113953. t4 = t2[_i];
  113954. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  113955. }
  113956. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  113957. },
  113958. visitNullExpression$1(_, node) {
  113959. return node;
  113960. },
  113961. visitNumberExpression$1(_, node) {
  113962. return node;
  113963. },
  113964. visitParenthesizedExpression$1(_, node) {
  113965. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  113966. },
  113967. visitSelectorExpression$1(_, node) {
  113968. return node;
  113969. },
  113970. visitStringExpression$1(_, node) {
  113971. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  113972. },
  113973. visitSupportsExpression$1(_, node) {
  113974. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  113975. },
  113976. visitUnaryOperationExpression$1(_, node) {
  113977. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  113978. },
  113979. visitValueExpression$1(_, node) {
  113980. return node;
  113981. },
  113982. visitVariableExpression$1(_, node) {
  113983. return node;
  113984. },
  113985. visitArgumentList$1(invocation) {
  113986. var t5, t6, _this = this,
  113987. t1 = invocation.positional,
  113988. t2 = type$.String,
  113989. t3 = type$.Expression_2,
  113990. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  113991. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  113992. t6 = t5.get$current(t5);
  113993. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  113994. }
  113995. t5 = invocation.rest;
  113996. t5 = t5 == null ? null : t5.accept$1(_this);
  113997. t6 = invocation.keywordRest;
  113998. t6 = t6 == null ? null : t6.accept$1(_this);
  113999. 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);
  114000. },
  114001. visitSupportsCondition$1(condition) {
  114002. var _this = this;
  114003. if (condition instanceof A.SupportsOperation0)
  114004. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  114005. else if (condition instanceof A.SupportsNegation0)
  114006. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  114007. else if (condition instanceof A.SupportsInterpolation0)
  114008. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  114009. else if (condition instanceof A.SupportsDeclaration0)
  114010. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  114011. else
  114012. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  114013. },
  114014. visitInterpolation$1(interpolation) {
  114015. var t1 = interpolation.contents;
  114016. 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);
  114017. }
  114018. };
  114019. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  114020. call$1(item) {
  114021. return item.accept$1(this.$this);
  114022. },
  114023. $signature: 246
  114024. };
  114025. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  114026. call$1(expression) {
  114027. return expression.accept$1(this.$this);
  114028. },
  114029. $signature: 246
  114030. };
  114031. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  114032. call$1(node) {
  114033. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  114034. },
  114035. $signature: 69
  114036. };
  114037. A.ImporterResult0.prototype = {
  114038. get$sourceMapUrl(_) {
  114039. var t1 = this._result$_sourceMapUrl;
  114040. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  114041. }
  114042. };
  114043. A.ReturnRule0.prototype = {
  114044. accept$1$1(visitor) {
  114045. return visitor.visitReturnRule$1(0, this);
  114046. },
  114047. accept$1(visitor) {
  114048. return this.accept$1$1(visitor, type$.dynamic);
  114049. },
  114050. toString$0(_) {
  114051. return "@return " + this.expression.toString$0(0) + ";";
  114052. },
  114053. get$span(receiver) {
  114054. return this.span;
  114055. }
  114056. };
  114057. A.RgbColorSpace0.prototype = {
  114058. get$isBoundedInternal() {
  114059. return true;
  114060. },
  114061. get$isLegacyInternal() {
  114062. return true;
  114063. },
  114064. convert$5(dest, red, green, blue, alpha) {
  114065. var t1 = red == null ? null : red / 255,
  114066. t2 = green == null ? null : green / 255;
  114067. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  114068. },
  114069. toLinear$1(channel) {
  114070. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  114071. },
  114072. fromLinear$1(channel) {
  114073. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  114074. }
  114075. };
  114076. A.SassParser0.prototype = {
  114077. get$currentIndentation() {
  114078. return this._sass0$_currentIndentation;
  114079. },
  114080. get$indented() {
  114081. return true;
  114082. },
  114083. styleRuleSelector$0() {
  114084. var t4,
  114085. t1 = this.scanner,
  114086. t2 = t1._string_scanner$_position,
  114087. t3 = new A.StringBuffer(""),
  114088. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  114089. do {
  114090. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  114091. t4 = A.Primitives_stringFromCharCode(10);
  114092. t4 = t3._contents += t4;
  114093. } 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()));
  114094. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114095. },
  114096. expectStatementSeparator$1($name) {
  114097. var t1, _this = this,
  114098. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  114099. if (!_this.atEndOfStatement$0())
  114100. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  114101. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  114102. return;
  114103. t1 = $name == null ? "here" : "beneath a " + $name;
  114104. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  114105. },
  114106. expectStatementSeparator$0() {
  114107. return this.expectStatementSeparator$1(null);
  114108. },
  114109. atEndOfStatement$0() {
  114110. var t1 = this.scanner.peekChar$0();
  114111. if (t1 == null)
  114112. t1 = null;
  114113. else
  114114. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114115. return t1 !== false;
  114116. },
  114117. lookingAtChildren$0() {
  114118. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  114119. },
  114120. importArgument$0() {
  114121. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  114122. $label0$0: {
  114123. t1 = _this.scanner;
  114124. _0_0 = t1.peekChar$0();
  114125. if (117 === _0_0 || 85 === _0_0) {
  114126. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114127. if (_this.scanIdentifier$1("url"))
  114128. if (t1.scanChar$1(40)) {
  114129. t1.set$state(start);
  114130. return _this.super$StylesheetParser$importArgument0();
  114131. } else
  114132. t1.set$state(start);
  114133. break $label0$0;
  114134. }
  114135. if (39 === _0_0 || 34 === _0_0)
  114136. return _this.super$StylesheetParser$importArgument0();
  114137. }
  114138. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114139. next = t1.peekChar$0();
  114140. while (true) {
  114141. t2 = false;
  114142. if (next != null)
  114143. if (next !== 44)
  114144. if (next !== 59)
  114145. t2 = !(next === 10 || next === 13 || next === 12);
  114146. if (!t2)
  114147. break;
  114148. t1.readChar$0();
  114149. next = t1.peekChar$0();
  114150. }
  114151. url = t1.substring$1(0, start.position);
  114152. span = t1.spanFrom$1(start);
  114153. if (_this.isPlainImportUrl$1(url))
  114154. 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);
  114155. else
  114156. try {
  114157. t1 = _this.parseImportUrl$1(url);
  114158. return new A.DynamicImport0(t1, span);
  114159. } catch (exception) {
  114160. t1 = A.unwrapException(exception);
  114161. if (type$.FormatException._is(t1)) {
  114162. innerError = t1;
  114163. stackTrace = A.getTraceFromException(exception);
  114164. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  114165. } else
  114166. throw exception;
  114167. }
  114168. },
  114169. scanElse$1(ifIndentation) {
  114170. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  114171. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  114172. return false;
  114173. t1 = _this.scanner;
  114174. t2 = t1._string_scanner$_position;
  114175. startIndentation = _this._sass0$_currentIndentation;
  114176. startNextIndentation = _this._sass0$_nextIndentation;
  114177. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  114178. _this._sass0$_readIndentation$0();
  114179. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  114180. return true;
  114181. t1.set$state(new A._SpanScannerState(t1, t2));
  114182. _this._sass0$_currentIndentation = startIndentation;
  114183. _this._sass0$_nextIndentation = startNextIndentation;
  114184. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  114185. return false;
  114186. },
  114187. children$1(_, child) {
  114188. var children = A._setArrayType([], type$.JSArray_Statement_2);
  114189. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  114190. return children;
  114191. },
  114192. statements$1(statement) {
  114193. var statements, t2, _1_0,
  114194. t1 = this.scanner,
  114195. _0_0 = t1.peekChar$0();
  114196. if (9 === _0_0 || 32 === _0_0)
  114197. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  114198. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114199. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114200. _1_0 = this._sass0$_child$1(statement);
  114201. if (_1_0 != null)
  114202. statements.push(_1_0);
  114203. this._sass0$_readIndentation$0();
  114204. }
  114205. return statements;
  114206. },
  114207. _sass0$_child$1(child) {
  114208. var _0_0, _this = this,
  114209. t1 = _this.scanner,
  114210. _1_0 = t1.peekChar$0();
  114211. $label0$0: {
  114212. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  114213. t1 = null;
  114214. break $label0$0;
  114215. }
  114216. if (36 === _1_0) {
  114217. t1 = _this.variableDeclarationWithoutNamespace$0();
  114218. break $label0$0;
  114219. }
  114220. if (47 === _1_0) {
  114221. _0_0 = t1.peekChar$1(1);
  114222. $label1$1: {
  114223. if (47 === _0_0) {
  114224. t1 = _this._sass0$_silentComment$0();
  114225. break $label1$1;
  114226. }
  114227. if (42 === _0_0) {
  114228. t1 = _this._sass0$_loudComment$0();
  114229. break $label1$1;
  114230. }
  114231. t1 = child.call$0();
  114232. break $label1$1;
  114233. }
  114234. break $label0$0;
  114235. }
  114236. t1 = child.call$0();
  114237. break $label0$0;
  114238. }
  114239. return t1;
  114240. },
  114241. _sass0$_silentComment$0() {
  114242. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  114243. t1 = _this.scanner,
  114244. t2 = t1._string_scanner$_position;
  114245. t1.expect$1("//");
  114246. buffer = new A.StringBuffer("");
  114247. parentIndentation = _this._sass0$_currentIndentation;
  114248. t3 = t1.string.length;
  114249. t4 = 1 + parentIndentation;
  114250. t5 = 2 + parentIndentation;
  114251. $label0$0:
  114252. do {
  114253. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  114254. for (i = commentPrefix.length; true;) {
  114255. t6 = buffer._contents += commentPrefix;
  114256. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  114257. t6 += A.Primitives_stringFromCharCode(32);
  114258. buffer._contents = t6;
  114259. }
  114260. while (true) {
  114261. if (t1._string_scanner$_position !== t3) {
  114262. t7 = t1.peekChar$0();
  114263. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  114264. } else
  114265. t7 = false;
  114266. if (!t7)
  114267. break;
  114268. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  114269. buffer._contents = t6;
  114270. }
  114271. buffer._contents = t6 + "\n";
  114272. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  114273. break $label0$0;
  114274. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  114275. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  114276. _this._sass0$_readIndentation$0();
  114277. break;
  114278. }
  114279. _this._sass0$_readIndentation$0();
  114280. }
  114281. } while (t1.scan$1("//"));
  114282. t3 = buffer._contents;
  114283. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114284. },
  114285. _sass0$_loudComment$0() {
  114286. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  114287. t1 = _this.scanner,
  114288. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114289. t1.expect$1("/*");
  114290. t2 = new A.StringBuffer("");
  114291. t3 = A._setArrayType([], type$.JSArray_Object);
  114292. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114293. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  114294. t2._contents = "" + "/*";
  114295. parentIndentation = _this._sass0$_currentIndentation;
  114296. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  114297. if (first) {
  114298. beginningOfComment = t1._string_scanner$_position;
  114299. _this.spaces$0();
  114300. t7 = t1.peekChar$0();
  114301. if (t7 === 10 || t7 === 13 || t7 === 12) {
  114302. _this._sass0$_readIndentation$0();
  114303. t7 = A.Primitives_stringFromCharCode(32);
  114304. t2._contents += t7;
  114305. } else {
  114306. end = t1._string_scanner$_position;
  114307. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  114308. }
  114309. } else {
  114310. t7 = t2._contents += "\n";
  114311. t2._contents = t7 + " * ";
  114312. }
  114313. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  114314. t7 = A.Primitives_stringFromCharCode(32);
  114315. t2._contents += t7;
  114316. }
  114317. for (; t1._string_scanner$_position !== t6;) {
  114318. _1_0 = t1.peekChar$0();
  114319. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  114320. break;
  114321. if (35 === _1_0) {
  114322. if (t1.peekChar$1(1) === 123) {
  114323. _0_0 = _this.singleInterpolation$0();
  114324. buffer._interpolation_buffer0$_flushText$0();
  114325. t3.push(_0_0._0);
  114326. t4.push(_0_0._1);
  114327. } else {
  114328. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114329. t2._contents += t7;
  114330. }
  114331. continue;
  114332. }
  114333. if (42 === _1_0) {
  114334. if (t1.peekChar$1(1) === 47) {
  114335. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114336. t2._contents += t3;
  114337. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114338. t2._contents += t3;
  114339. endPosition = t1._string_scanner$_position;
  114340. t2 = t1._sourceFile;
  114341. t3 = start.position;
  114342. span = new A._FileSpan(t2, t3, endPosition);
  114343. span._FileSpan$3(t2, t3, endPosition);
  114344. _this.whitespace$1$consumeNewlines(false);
  114345. while (true) {
  114346. t2 = t1.peekChar$0();
  114347. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  114348. break;
  114349. for (; _this._sass0$_lookingAtDoubleNewline$0();)
  114350. _this._sass0$_expectNewline$0();
  114351. _this._sass0$_readIndentation$0();
  114352. _this.whitespace$1$consumeNewlines(false);
  114353. }
  114354. if (t1._string_scanner$_position !== t6) {
  114355. t2 = t1.peekChar$0();
  114356. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  114357. } else
  114358. t2 = false;
  114359. if (t2) {
  114360. t2 = t1._string_scanner$_position;
  114361. while (true) {
  114362. if (t1._string_scanner$_position !== t6) {
  114363. t3 = t1.peekChar$0();
  114364. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114365. } else
  114366. t3 = false;
  114367. if (!t3)
  114368. break;
  114369. t1.readChar$0();
  114370. }
  114371. 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));
  114372. } else
  114373. return new A.LoudComment0(buffer.interpolation$1(span));
  114374. } else {
  114375. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114376. t2._contents += t7;
  114377. }
  114378. continue;
  114379. }
  114380. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114381. t2._contents += t7;
  114382. }
  114383. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  114384. break;
  114385. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  114386. _this._sass0$_expectNewline$0();
  114387. t7 = t2._contents += "\n";
  114388. t2._contents = t7 + " *";
  114389. }
  114390. _this._sass0$_readIndentation$0();
  114391. }
  114392. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(start)));
  114393. },
  114394. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  114395. var t1, t2, next, t3;
  114396. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114397. next = t1.peekChar$0();
  114398. if (consumeNewlines)
  114399. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  114400. else
  114401. t3 = !(next === 32 || next === 9);
  114402. if (t3)
  114403. break;
  114404. t1.readChar$0();
  114405. }
  114406. },
  114407. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  114408. var t1 = this.scanner,
  114409. _0_0 = t1.peekChar$0();
  114410. if (13 === _0_0) {
  114411. t1.readChar$0();
  114412. if (t1.peekChar$0() === 10)
  114413. t1.readChar$0();
  114414. return;
  114415. }
  114416. if (10 === _0_0 || 12 === _0_0) {
  114417. t1.readChar$0();
  114418. return;
  114419. }
  114420. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  114421. },
  114422. _sass0$_expectNewline$0() {
  114423. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  114424. },
  114425. _sass0$_lookingAtDoubleNewline$0() {
  114426. var t2, _0_0,
  114427. t1 = this.scanner,
  114428. _1_0 = t1.peekChar$0();
  114429. $label1$1: {
  114430. t2 = false;
  114431. if (13 === _1_0) {
  114432. _0_0 = t1.peekChar$1(1);
  114433. $label0$0: {
  114434. if (10 === _0_0) {
  114435. t1 = t1.peekChar$1(2);
  114436. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114437. break $label0$0;
  114438. }
  114439. if (13 === _0_0 || 12 === _0_0) {
  114440. t1 = true;
  114441. break $label0$0;
  114442. }
  114443. t1 = t2;
  114444. break $label0$0;
  114445. }
  114446. break $label1$1;
  114447. }
  114448. if (10 === _1_0 || 12 === _1_0) {
  114449. t1 = t1.peekChar$1(1);
  114450. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114451. break $label1$1;
  114452. }
  114453. t1 = t2;
  114454. break $label1$1;
  114455. }
  114456. return t1;
  114457. },
  114458. _sass0$_whileIndentedLower$1(body) {
  114459. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  114460. parentIndentation = _this._sass0$_currentIndentation;
  114461. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  114462. indentation = _this._sass0$_readIndentation$0();
  114463. if (childIndentation == null)
  114464. childIndentation = indentation;
  114465. if (childIndentation !== indentation) {
  114466. t3 = t1._string_scanner$_position;
  114467. t4 = t2.getColumn$1(t3);
  114468. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  114469. }
  114470. body.call$0();
  114471. }
  114472. },
  114473. _sass0$_readIndentation$0() {
  114474. var t1, _this = this,
  114475. currentIndentation = _this._sass0$_nextIndentation;
  114476. if (currentIndentation == null)
  114477. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  114478. _this._sass0$_currentIndentation = currentIndentation;
  114479. t1 = _this._sass0$_nextIndentationEnd;
  114480. t1.toString;
  114481. _this.scanner.set$state(t1);
  114482. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  114483. return currentIndentation;
  114484. },
  114485. _sass0$_peekIndentation$0() {
  114486. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  114487. _0_0 = _this._sass0$_nextIndentation;
  114488. if (_0_0 != null)
  114489. return _0_0;
  114490. t1 = _this.scanner;
  114491. t2 = t1._string_scanner$_position;
  114492. t3 = t1.string.length;
  114493. if (t2 === t3) {
  114494. _this._sass0$_nextIndentation = 0;
  114495. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114496. return 0;
  114497. }
  114498. start = new A._SpanScannerState(t1, t2);
  114499. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  114500. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  114501. containsTab = A._Cell$();
  114502. containsSpace = A._Cell$();
  114503. nextIndentation = A._Cell$();
  114504. do {
  114505. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  114506. nextIndentation.__late_helper$_value = 0;
  114507. for (; true;) {
  114508. $label0$0: {
  114509. _1_0 = t1.peekChar$0();
  114510. if (32 === _1_0) {
  114511. containsSpace.__late_helper$_value = true;
  114512. break $label0$0;
  114513. }
  114514. if (9 === _1_0) {
  114515. containsTab.__late_helper$_value = true;
  114516. break $label0$0;
  114517. }
  114518. break;
  114519. }
  114520. t2 = nextIndentation.__late_helper$_value;
  114521. if (t2 === nextIndentation)
  114522. A.throwExpression(A.LateError$localNI(""));
  114523. nextIndentation.__late_helper$_value = t2 + 1;
  114524. t1.readChar$0();
  114525. }
  114526. t2 = t1._string_scanner$_position;
  114527. if (t2 === t3) {
  114528. _this._sass0$_nextIndentation = 0;
  114529. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114530. t1.set$state(start);
  114531. return 0;
  114532. }
  114533. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  114534. t2 = containsTab._readLocal$0();
  114535. t3 = containsSpace._readLocal$0();
  114536. if (t2) {
  114537. if (t3) {
  114538. t2 = t1._string_scanner$_position;
  114539. t3 = t1._sourceFile;
  114540. t4 = t3.getColumn$1(t2);
  114541. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114542. } else if (_this._sass0$_spaces === true) {
  114543. t2 = t1._string_scanner$_position;
  114544. t3 = t1._sourceFile;
  114545. t4 = t3.getColumn$1(t2);
  114546. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114547. }
  114548. } else if (t3 && _this._sass0$_spaces === false) {
  114549. t2 = t1._string_scanner$_position;
  114550. t3 = t1._sourceFile;
  114551. t4 = t3.getColumn$1(t2);
  114552. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114553. }
  114554. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  114555. if (nextIndentation._readLocal$0() > 0)
  114556. if (_this._sass0$_spaces == null)
  114557. _this._sass0$_spaces = containsSpace._readLocal$0();
  114558. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114559. t1.set$state(start);
  114560. return nextIndentation._readLocal$0();
  114561. },
  114562. _sass0$_tryTrailingSemicolon$0() {
  114563. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  114564. this.whitespace$1$consumeNewlines(false);
  114565. return true;
  114566. }
  114567. return false;
  114568. }
  114569. };
  114570. A.SassParser_styleRuleSelector_closure0.prototype = {
  114571. call$1(char) {
  114572. return char === 10 || char === 13 || char === 12;
  114573. },
  114574. $signature: 30
  114575. };
  114576. A.SassParser_children_closure0.prototype = {
  114577. call$0() {
  114578. var _0_0 = this.$this._sass0$_child$1(this.child);
  114579. if (_0_0 != null)
  114580. this.children.push(_0_0);
  114581. },
  114582. $signature: 0
  114583. };
  114584. A.SassParser__peekIndentation_closure1.prototype = {
  114585. call$1(char) {
  114586. return char === 10 || char === 13 || char === 12;
  114587. },
  114588. $signature: 30
  114589. };
  114590. A.SassParser__peekIndentation_closure2.prototype = {
  114591. call$1(char) {
  114592. return char === 10 || char === 13 || char === 12;
  114593. },
  114594. $signature: 30
  114595. };
  114596. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  114597. call$1(char) {
  114598. return char === 59;
  114599. },
  114600. $signature: 30
  114601. };
  114602. A._Exports.prototype = {};
  114603. A._wrapMain_closure.prototype = {
  114604. call$1(_) {
  114605. return A._translateReturnValue(this.main.call$0());
  114606. },
  114607. $signature: 86
  114608. };
  114609. A._wrapMain_closure0.prototype = {
  114610. call$1(args) {
  114611. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  114612. },
  114613. $signature: 86
  114614. };
  114615. A.ScssParser0.prototype = {
  114616. get$indented() {
  114617. return false;
  114618. },
  114619. get$currentIndentation() {
  114620. return 0;
  114621. },
  114622. styleRuleSelector$0() {
  114623. return this.almostAnyValue$0();
  114624. },
  114625. expectStatementSeparator$1($name) {
  114626. var t1, _0_0;
  114627. this.whitespaceWithoutComments$1$consumeNewlines(true);
  114628. t1 = this.scanner;
  114629. if (t1._string_scanner$_position === t1.string.length)
  114630. return;
  114631. _0_0 = t1.peekChar$0();
  114632. if (59 === _0_0 || 125 === _0_0)
  114633. return;
  114634. t1.expectChar$1(59);
  114635. },
  114636. expectStatementSeparator$0() {
  114637. return this.expectStatementSeparator$1(null);
  114638. },
  114639. atEndOfStatement$0() {
  114640. var next = this.scanner.peekChar$0();
  114641. return next == null || next === 59 || next === 125 || next === 123;
  114642. },
  114643. lookingAtChildren$0() {
  114644. return this.scanner.peekChar$0() === 123;
  114645. },
  114646. scanElse$1(ifIndentation) {
  114647. var t3, _this = this,
  114648. t1 = _this.scanner,
  114649. t2 = t1._string_scanner$_position;
  114650. _this.whitespace$1$consumeNewlines(true);
  114651. t3 = t1._string_scanner$_position;
  114652. if (t1.scanChar$1(64)) {
  114653. if (_this.scanIdentifier$2$caseSensitive("else", true))
  114654. return true;
  114655. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  114656. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_8ki, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  114657. t1.set$position(t1._string_scanner$_position - 2);
  114658. return true;
  114659. }
  114660. }
  114661. t1.set$state(new A._SpanScannerState(t1, t2));
  114662. return false;
  114663. },
  114664. children$1(_, child) {
  114665. var children, _this = this,
  114666. t1 = _this.scanner;
  114667. t1.expectChar$1(123);
  114668. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114669. children = A._setArrayType([], type$.JSArray_Statement_2);
  114670. for (; true;)
  114671. switch (t1.peekChar$0()) {
  114672. case 36:
  114673. children.push(_this.variableDeclarationWithoutNamespace$0());
  114674. break;
  114675. case 47:
  114676. switch (t1.peekChar$1(1)) {
  114677. case 47:
  114678. children.push(_this._scss0$_silentComment$0());
  114679. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114680. break;
  114681. case 42:
  114682. children.push(_this._scss0$_loudComment$0());
  114683. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114684. break;
  114685. default:
  114686. children.push(child.call$0());
  114687. }
  114688. break;
  114689. case 59:
  114690. t1.readChar$0();
  114691. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114692. break;
  114693. case 125:
  114694. t1.expectChar$1(125);
  114695. return children;
  114696. default:
  114697. children.push(child.call$0());
  114698. }
  114699. },
  114700. statements$1(statement) {
  114701. var t1, t2, _0_0, _1_0, _this = this,
  114702. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114703. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114704. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  114705. switch (t1.peekChar$0()) {
  114706. case 36:
  114707. statements.push(_this.variableDeclarationWithoutNamespace$0());
  114708. break;
  114709. case 47:
  114710. switch (t1.peekChar$1(1)) {
  114711. case 47:
  114712. statements.push(_this._scss0$_silentComment$0());
  114713. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114714. break;
  114715. case 42:
  114716. statements.push(_this._scss0$_loudComment$0());
  114717. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114718. break;
  114719. default:
  114720. _0_0 = statement.call$0();
  114721. if (_0_0 != null)
  114722. statements.push(_0_0);
  114723. }
  114724. break;
  114725. case 59:
  114726. t1.readChar$0();
  114727. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114728. break;
  114729. default:
  114730. _1_0 = statement.call$0();
  114731. if (_1_0 != null)
  114732. statements.push(_1_0);
  114733. }
  114734. return statements;
  114735. },
  114736. _scss0$_silentComment$0() {
  114737. var t2, t3, _this = this,
  114738. t1 = _this.scanner,
  114739. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114740. t1.expect$1("//");
  114741. t2 = t1.string.length;
  114742. do {
  114743. while (true) {
  114744. if (t1._string_scanner$_position !== t2) {
  114745. t3 = t1.readChar$0();
  114746. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114747. } else
  114748. t3 = false;
  114749. if (!t3)
  114750. break;
  114751. }
  114752. if (t1._string_scanner$_position === t2)
  114753. break;
  114754. _this.spaces$0();
  114755. } while (t1.scan$1("//"));
  114756. if (_this.get$plainCss())
  114757. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  114758. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  114759. },
  114760. _scss0$_loudComment$0() {
  114761. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  114762. t1 = this.scanner,
  114763. t2 = t1._string_scanner$_position;
  114764. t1.expect$1("/*");
  114765. t3 = new A.StringBuffer("");
  114766. t4 = A._setArrayType([], type$.JSArray_Object);
  114767. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114768. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  114769. t3._contents = "" + "/*";
  114770. $label0$1:
  114771. for (; true;)
  114772. switch (t1.peekChar$0()) {
  114773. case 35:
  114774. if (t1.peekChar$1(1) === 123) {
  114775. _0_0 = this.singleInterpolation$0();
  114776. buffer._interpolation_buffer0$_flushText$0();
  114777. t4.push(_0_0._0);
  114778. t5.push(_0_0._1);
  114779. } else {
  114780. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114781. t3._contents += t6;
  114782. }
  114783. break;
  114784. case 42:
  114785. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114786. t3._contents += t6;
  114787. if (t1.peekChar$0() !== 47)
  114788. continue $label0$1;
  114789. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114790. t3._contents += t4;
  114791. endPosition = t1._string_scanner$_position;
  114792. t3 = t1._sourceFile;
  114793. t4 = new A._SpanScannerState(t1, t2).position;
  114794. t1 = new A._FileSpan(t3, t4, endPosition);
  114795. t1._FileSpan$3(t3, t4, endPosition);
  114796. return new A.LoudComment0(buffer.interpolation$1(t1));
  114797. case 13:
  114798. t1.readChar$0();
  114799. if (t1.peekChar$0() !== 10) {
  114800. t6 = A.Primitives_stringFromCharCode(10);
  114801. t3._contents += t6;
  114802. }
  114803. break;
  114804. case 12:
  114805. t1.readChar$0();
  114806. t6 = A.Primitives_stringFromCharCode(10);
  114807. t3._contents += t6;
  114808. break;
  114809. default:
  114810. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114811. t3._contents += t6;
  114812. }
  114813. }
  114814. };
  114815. A.Selector0.prototype = {
  114816. assertNotBogus$1$name($name) {
  114817. if (!this.accept$1(B._IsBogusVisitor_true0))
  114818. return;
  114819. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_SHb);
  114820. },
  114821. toString$0(_) {
  114822. var _null = null,
  114823. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  114824. this.accept$1(visitor);
  114825. return visitor._serialize0$_buffer.toString$0(0);
  114826. },
  114827. $isAstNode0: 1,
  114828. get$span(receiver) {
  114829. return this.span;
  114830. }
  114831. };
  114832. A._IsInvisibleVisitor2.prototype = {
  114833. visitSelectorList$1(list) {
  114834. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  114835. },
  114836. visitComplexSelector$1(complex) {
  114837. var t1;
  114838. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  114839. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  114840. else
  114841. t1 = true;
  114842. return t1;
  114843. },
  114844. visitPlaceholderSelector$1(placeholder) {
  114845. return true;
  114846. },
  114847. visitPseudoSelector$1(pseudo) {
  114848. var t1,
  114849. _0_0 = pseudo.selector;
  114850. if (_0_0 != null) {
  114851. if (pseudo.name === "not")
  114852. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  114853. else
  114854. t1 = this.visitSelectorList$1(_0_0);
  114855. return t1;
  114856. } else
  114857. return false;
  114858. }
  114859. };
  114860. A._IsBogusVisitor0.prototype = {
  114861. visitComplexSelector$1(complex) {
  114862. var t2,
  114863. t1 = complex.components;
  114864. if (t1.length === 0)
  114865. return complex.leadingCombinators.length !== 0;
  114866. else {
  114867. t2 = this.includeLeadingCombinator ? 0 : 1;
  114868. 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));
  114869. }
  114870. },
  114871. visitPseudoSelector$1(pseudo) {
  114872. var selector = pseudo.selector;
  114873. if (selector == null)
  114874. return false;
  114875. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  114876. }
  114877. };
  114878. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  114879. call$1(component) {
  114880. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  114881. },
  114882. $signature: 55
  114883. };
  114884. A._IsUselessVisitor0.prototype = {
  114885. visitComplexSelector$1(complex) {
  114886. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  114887. },
  114888. visitPseudoSelector$1(pseudo) {
  114889. return pseudo.accept$1(B._IsBogusVisitor_true0);
  114890. }
  114891. };
  114892. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  114893. call$1(component) {
  114894. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  114895. },
  114896. $signature: 55
  114897. };
  114898. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  114899. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  114900. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  114901. A.SelectorExpression0.prototype = {
  114902. accept$1$1(visitor) {
  114903. return visitor.visitSelectorExpression$1(0, this);
  114904. },
  114905. accept$1(visitor) {
  114906. return this.accept$1$1(visitor, type$.dynamic);
  114907. },
  114908. toString$0(_) {
  114909. return "&";
  114910. },
  114911. get$span(receiver) {
  114912. return this.span;
  114913. }
  114914. };
  114915. A._nest_closure0.prototype = {
  114916. call$1($arguments) {
  114917. var t1 = {},
  114918. selectors = J.$index$asx($arguments, 0).get$asList();
  114919. if (selectors.length === 0)
  114920. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  114921. t1.first = true;
  114922. 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();
  114923. },
  114924. $signature: 27
  114925. };
  114926. A._nest__closure1.prototype = {
  114927. call$1(selector) {
  114928. var t1 = this._box_0,
  114929. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  114930. t1.first = false;
  114931. return result;
  114932. },
  114933. $signature: 236
  114934. };
  114935. A._nest__closure2.prototype = {
  114936. call$2($parent, child) {
  114937. return child.nestWithin$1($parent);
  114938. },
  114939. $signature: 229
  114940. };
  114941. A._append_closure1.prototype = {
  114942. call$1($arguments) {
  114943. var t1,
  114944. selectors = J.$index$asx($arguments, 0).get$asList();
  114945. if (selectors.length === 0)
  114946. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  114947. t1 = A.EvaluationContext_currentOrNull0();
  114948. 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();
  114949. },
  114950. $signature: 27
  114951. };
  114952. A._append__closure1.prototype = {
  114953. call$1(selector) {
  114954. return A.SassApiValue_assertSelector0(selector, false, null);
  114955. },
  114956. $signature: 236
  114957. };
  114958. A._append__closure2.prototype = {
  114959. call$2($parent, child) {
  114960. var t1 = child.components,
  114961. t2 = this.span;
  114962. 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);
  114963. },
  114964. $signature: 229
  114965. };
  114966. A._append___closure0.prototype = {
  114967. call$1(complex) {
  114968. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  114969. if (complex.leadingCombinators.length !== 0)
  114970. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  114971. _0_0 = complex.components;
  114972. t1 = _0_0.length >= 1;
  114973. if (t1) {
  114974. component = _0_0[0];
  114975. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  114976. } else {
  114977. rest = _null;
  114978. component = rest;
  114979. }
  114980. if (!t1)
  114981. throw A.wrapException(A.StateError$("Pattern matching error"));
  114982. newCompound = A._prependParent0(component.selector);
  114983. if (newCompound == null)
  114984. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  114985. t1 = this.span;
  114986. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  114987. B.JSArray_methods.addAll$1(t2, rest);
  114988. return A.ComplexSelector$0(B.List_empty14, t2, t1, false);
  114989. },
  114990. $signature: 64
  114991. };
  114992. A._extend_closure0.prototype = {
  114993. call$1($arguments) {
  114994. var target, source,
  114995. _s8_ = "selector",
  114996. _s8_0 = "extendee",
  114997. _s8_1 = "extender",
  114998. t1 = J.getInterceptor$asx($arguments),
  114999. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115000. selector.assertNotBogus$1$name(_s8_);
  115001. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115002. target.assertNotBogus$1$name(_s8_0);
  115003. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  115004. source.assertNotBogus$1$name(_s8_1);
  115005. t1 = A.EvaluationContext_currentOrNull0();
  115006. 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();
  115007. },
  115008. $signature: 27
  115009. };
  115010. A._replace_closure0.prototype = {
  115011. call$1($arguments) {
  115012. var target, source,
  115013. _s8_ = "selector",
  115014. _s8_0 = "original",
  115015. _s11_ = "replacement",
  115016. t1 = J.getInterceptor$asx($arguments),
  115017. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115018. selector.assertNotBogus$1$name(_s8_);
  115019. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115020. target.assertNotBogus$1$name(_s8_0);
  115021. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  115022. source.assertNotBogus$1$name(_s11_);
  115023. t1 = A.EvaluationContext_currentOrNull0();
  115024. 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();
  115025. },
  115026. $signature: 27
  115027. };
  115028. A._unify_closure0.prototype = {
  115029. call$1($arguments) {
  115030. var selector2,
  115031. _s9_ = "selector1",
  115032. _s9_0 = "selector2",
  115033. t1 = J.getInterceptor$asx($arguments),
  115034. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  115035. selector1.assertNotBogus$1$name(_s9_);
  115036. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  115037. selector2.assertNotBogus$1$name(_s9_0);
  115038. t1 = selector1.unify$1(selector2);
  115039. t1 = t1 == null ? null : t1.get$asSassList();
  115040. return t1 == null ? B.C__SassNull0 : t1;
  115041. },
  115042. $signature: 3
  115043. };
  115044. A._isSuperselector_closure0.prototype = {
  115045. call$1($arguments) {
  115046. var selector2,
  115047. t1 = J.getInterceptor$asx($arguments),
  115048. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  115049. selector1.assertNotBogus$1$name("super");
  115050. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  115051. selector2.assertNotBogus$1$name("sub");
  115052. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115053. },
  115054. $signature: 12
  115055. };
  115056. A._simpleSelectors_closure0.prototype = {
  115057. call$1($arguments) {
  115058. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  115059. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  115060. },
  115061. $signature: 27
  115062. };
  115063. A._simpleSelectors__closure0.prototype = {
  115064. call$1(simple) {
  115065. return new A.SassString0(A.serializeSelector0(simple, true), false);
  115066. },
  115067. $signature: 570
  115068. };
  115069. A._parse_closure0.prototype = {
  115070. call$1($arguments) {
  115071. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  115072. },
  115073. $signature: 27
  115074. };
  115075. A.SelectorParser0.prototype = {
  115076. parse$0(_) {
  115077. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  115078. },
  115079. parseCompoundSelector$0() {
  115080. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  115081. },
  115082. _selector$_selectorList$0() {
  115083. var t4, t5, lineBreak, _this = this,
  115084. t1 = _this.scanner,
  115085. t2 = t1._string_scanner$_position,
  115086. t3 = t1._sourceFile,
  115087. previousLine = t3.getLine$1(t2),
  115088. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  115089. _this.whitespace$1$consumeNewlines(true);
  115090. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  115091. _this.whitespace$1$consumeNewlines(true);
  115092. if (t1.peekChar$0() === 44)
  115093. continue;
  115094. t5 = t1._string_scanner$_position;
  115095. if (t5 === t4)
  115096. break;
  115097. lineBreak = t3.getLine$1(t5) !== previousLine;
  115098. if (lineBreak)
  115099. previousLine = t3.getLine$1(t1._string_scanner$_position);
  115100. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  115101. }
  115102. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115103. },
  115104. _selector$_complexSelector$1$lineBreak(lineBreak) {
  115105. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  115106. _s18_ = "expected selector.",
  115107. t1 = _this.scanner,
  115108. t2 = t1._string_scanner$_position,
  115109. componentStart = new A._SpanScannerState(t1, t2),
  115110. t3 = type$.JSArray_CssValue_Combinator_2,
  115111. combinators = A._setArrayType([], t3),
  115112. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  115113. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  115114. _this.whitespace$1$consumeNewlines(true);
  115115. _0_0 = t1.peekChar$0();
  115116. if (43 === _0_0) {
  115117. t5 = t1._string_scanner$_position;
  115118. t1.readChar$0();
  115119. combinators.push(new A.CssValue0(B.Combinator_bOP0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115120. continue;
  115121. }
  115122. if (62 === _0_0) {
  115123. t5 = t1._string_scanner$_position;
  115124. t1.readChar$0();
  115125. combinators.push(new A.CssValue0(B.Combinator_0mp0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115126. continue;
  115127. }
  115128. if (126 === _0_0) {
  115129. t5 = t1._string_scanner$_position;
  115130. t1.readChar$0();
  115131. combinators.push(new A.CssValue0(B.Combinator_55N0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115132. continue;
  115133. }
  115134. if (_0_0 == null)
  115135. break;
  115136. t5 = true;
  115137. if (91 !== _0_0)
  115138. if (46 !== _0_0)
  115139. if (35 !== _0_0)
  115140. if (37 !== _0_0)
  115141. if (58 !== _0_0)
  115142. if (38 !== _0_0)
  115143. if (42 !== _0_0)
  115144. if (124 !== _0_0)
  115145. t5 = _this.lookingAtIdentifier$0();
  115146. if (t5) {
  115147. if (lastCompound != null) {
  115148. t5 = _this.spanFrom$1(componentStart);
  115149. result = A.List_List$from(combinators, false, t4);
  115150. result.$flags = 3;
  115151. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  115152. } else if (combinators.length !== 0) {
  115153. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115154. initialCombinators = combinators;
  115155. }
  115156. lastCompound = _this._selector$_compoundSelector$0();
  115157. combinators = A._setArrayType([], t3);
  115158. if (t1.peekChar$0() === 38)
  115159. t1.error$1(0, string$.x22x26__ma);
  115160. continue;
  115161. }
  115162. break;
  115163. }
  115164. t3 = combinators.length !== 0;
  115165. if (t3 && _this._selector$_plainCss)
  115166. t1.error$1(0, _s18_);
  115167. else if (lastCompound != null) {
  115168. t3 = _this.spanFrom$1(componentStart);
  115169. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  115170. } else if (t3)
  115171. initialCombinators = combinators;
  115172. else
  115173. t1.error$1(0, _s18_);
  115174. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  115175. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  115176. },
  115177. _selector$_complexSelector$0() {
  115178. return this._selector$_complexSelector$1$lineBreak(false);
  115179. },
  115180. _selector$_compoundSelector$0() {
  115181. var t3, _this = this,
  115182. t1 = _this.scanner,
  115183. t2 = t1._string_scanner$_position,
  115184. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  115185. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  115186. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  115187. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115188. },
  115189. _selector$_simpleSelector$1$allowParent(allowParent) {
  115190. var t2, $name, text, t3, suffix, _this = this,
  115191. t1 = _this.scanner,
  115192. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115193. if (allowParent == null)
  115194. allowParent = _this._selector$_allowParent;
  115195. switch (t1.peekChar$0()) {
  115196. case 91:
  115197. return _this._selector$_attributeSelector$0();
  115198. case 46:
  115199. t2 = t1._string_scanner$_position;
  115200. t1.expectChar$1(46);
  115201. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115202. case 35:
  115203. t2 = t1._string_scanner$_position;
  115204. t1.expectChar$1(35);
  115205. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115206. case 37:
  115207. t2 = t1._string_scanner$_position;
  115208. t1.expectChar$1(37);
  115209. $name = _this.identifier$0();
  115210. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115211. if (_this._selector$_plainCss)
  115212. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  115213. return new A.PlaceholderSelector0($name, t2);
  115214. case 58:
  115215. return _this._selector$_pseudoSelector$0();
  115216. case 38:
  115217. t2 = t1._string_scanner$_position;
  115218. t1.expectChar$1(38);
  115219. if (_this.lookingAtIdentifierBody$0()) {
  115220. text = new A.StringBuffer("");
  115221. _this._parser1$_identifierBody$1(text);
  115222. if (text._contents.length === 0)
  115223. t1.error$1(0, "Expected identifier body.");
  115224. t3 = text._contents;
  115225. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  115226. } else
  115227. suffix = null;
  115228. if (_this._selector$_plainCss && suffix != null)
  115229. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  115230. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115231. if (!allowParent)
  115232. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  115233. return new A.ParentSelector0(suffix, t2);
  115234. default:
  115235. return _this._selector$_typeOrUniversalSelector$0();
  115236. }
  115237. },
  115238. _selector$_simpleSelector$0() {
  115239. return this._selector$_simpleSelector$1$allowParent(null);
  115240. },
  115241. _selector$_attributeSelector$0() {
  115242. var $name, operator, next, value, modifier, _this = this, _null = null,
  115243. t1 = _this.scanner,
  115244. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115245. t1.expectChar$1(91);
  115246. _this.whitespace$1$consumeNewlines(true);
  115247. $name = _this._selector$_attributeName$0();
  115248. _this.whitespace$1$consumeNewlines(true);
  115249. if (t1.scanChar$1(93))
  115250. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  115251. operator = _this._selector$_attributeOperator$0();
  115252. _this.whitespace$1$consumeNewlines(true);
  115253. next = t1.peekChar$0();
  115254. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  115255. _this.whitespace$1$consumeNewlines(true);
  115256. next = t1.peekChar$0();
  115257. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  115258. t1.expectChar$1(93);
  115259. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  115260. },
  115261. _selector$_attributeName$0() {
  115262. var nameOrNamespace, _this = this,
  115263. t1 = _this.scanner;
  115264. if (t1.scanChar$1(42)) {
  115265. t1.expectChar$1(124);
  115266. return new A.QualifiedName0(_this.identifier$0(), "*");
  115267. }
  115268. if (t1.scanChar$1(124))
  115269. return new A.QualifiedName0(_this.identifier$0(), "");
  115270. nameOrNamespace = _this.identifier$0();
  115271. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  115272. return new A.QualifiedName0(nameOrNamespace, null);
  115273. t1.readChar$0();
  115274. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  115275. },
  115276. _selector$_attributeOperator$0() {
  115277. var t1 = this.scanner,
  115278. t2 = t1._string_scanner$_position;
  115279. switch (t1.readChar$0()) {
  115280. case 61:
  115281. return B.AttributeOperator_Lvy0;
  115282. case 126:
  115283. t1.expectChar$1(61);
  115284. return B.AttributeOperator_fp20;
  115285. case 124:
  115286. t1.expectChar$1(61);
  115287. return B.AttributeOperator_iyP0;
  115288. case 94:
  115289. t1.expectChar$1(61);
  115290. return B.AttributeOperator_JzP0;
  115291. case 36:
  115292. t1.expectChar$1(61);
  115293. return B.AttributeOperator_U1W0;
  115294. case 42:
  115295. t1.expectChar$1(61);
  115296. return B.AttributeOperator_GWq0;
  115297. default:
  115298. t1.error$2$position(0, 'Expected "]".', t2);
  115299. }
  115300. },
  115301. _selector$_pseudoSelector$0() {
  115302. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  115303. t1 = _this.scanner,
  115304. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115305. t1.expectChar$1(58);
  115306. element = t1.scanChar$1(58);
  115307. $name = _this.identifier$0();
  115308. if (!t1.scanChar$1(40))
  115309. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  115310. _this.whitespace$1$consumeNewlines(true);
  115311. unvendored = A.unvendor0($name);
  115312. argument = _null;
  115313. selector = _null;
  115314. if (element)
  115315. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  115316. selector = _this._selector$_selectorList$0();
  115317. else
  115318. argument = _this.declarationValue$1$allowEmpty(true);
  115319. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  115320. selector = _this._selector$_selectorList$0();
  115321. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  115322. argument = _this._selector$_aNPlusB$0();
  115323. _this.whitespace$1$consumeNewlines(true);
  115324. t2 = t1.peekChar$1(-1);
  115325. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  115326. _this.expectIdentifier$1("of");
  115327. argument += " of";
  115328. _this.whitespace$1$consumeNewlines(true);
  115329. selector = _this._selector$_selectorList$0();
  115330. }
  115331. } else
  115332. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  115333. t1.expectChar$1(41);
  115334. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  115335. },
  115336. _selector$_aNPlusB$0() {
  115337. var t1, _0_0, t2, $self, next, _this = this;
  115338. $label0$0: {
  115339. t1 = _this.scanner;
  115340. _0_0 = t1.peekChar$0();
  115341. if (101 === _0_0 || 69 === _0_0) {
  115342. _this.expectIdentifier$1("even");
  115343. return "even";
  115344. }
  115345. if (111 === _0_0 || 79 === _0_0) {
  115346. _this.expectIdentifier$1("odd");
  115347. return "odd";
  115348. }
  115349. if (43 === _0_0 || 45 === _0_0) {
  115350. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  115351. break $label0$0;
  115352. }
  115353. t2 = "";
  115354. }
  115355. $self = t1.peekChar$0();
  115356. if ($self != null && $self >= 48 && $self <= 57) {
  115357. do {
  115358. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115359. $self = t1.peekChar$0();
  115360. } while ($self != null && $self >= 48 && $self <= 57);
  115361. _this.whitespace$1$consumeNewlines(true);
  115362. if (!_this.scanIdentChar$1(110))
  115363. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115364. } else
  115365. _this.expectIdentChar$1(110);
  115366. t2 += A.Primitives_stringFromCharCode(110);
  115367. _this.whitespace$1$consumeNewlines(true);
  115368. next = t1.peekChar$0();
  115369. if (next !== 43 && next !== 45)
  115370. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115371. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115372. _this.whitespace$1$consumeNewlines(true);
  115373. $self = t1.peekChar$0();
  115374. if (!($self != null && $self >= 48 && $self <= 57))
  115375. t1.error$1(0, "Expected a number.");
  115376. do {
  115377. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115378. $self = t1.peekChar$0();
  115379. } while ($self != null && $self >= 48 && $self <= 57);
  115380. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115381. },
  115382. _selector$_typeOrUniversalSelector$0() {
  115383. var nameOrNamespace, _this = this,
  115384. t1 = _this.scanner,
  115385. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115386. if (t1.scanChar$1(42)) {
  115387. if (!t1.scanChar$1(124))
  115388. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  115389. 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));
  115390. } else if (t1.scanChar$1(124))
  115391. 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));
  115392. nameOrNamespace = _this.identifier$0();
  115393. if (!t1.scanChar$1(124))
  115394. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  115395. else if (t1.scanChar$1(42))
  115396. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  115397. else
  115398. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  115399. },
  115400. _selector$_isSimpleSelectorStart$1(character) {
  115401. var t1;
  115402. $label0$0: {
  115403. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  115404. t1 = true;
  115405. break $label0$0;
  115406. }
  115407. if (38 === character) {
  115408. t1 = this._selector$_plainCss;
  115409. break $label0$0;
  115410. }
  115411. t1 = false;
  115412. break $label0$0;
  115413. }
  115414. return t1;
  115415. }
  115416. };
  115417. A.SelectorParser_parse_closure0.prototype = {
  115418. call$0() {
  115419. var t1 = this.$this,
  115420. selector = t1._selector$_selectorList$0();
  115421. t1 = t1.scanner;
  115422. if (t1._string_scanner$_position !== t1.string.length)
  115423. t1.error$1(0, "expected selector.");
  115424. return selector;
  115425. },
  115426. $signature: 571
  115427. };
  115428. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  115429. call$0() {
  115430. var t1 = this.$this,
  115431. compound = t1._selector$_compoundSelector$0();
  115432. t1 = t1.scanner;
  115433. if (t1._string_scanner$_position !== t1.string.length)
  115434. t1.error$1(0, "expected selector.");
  115435. return compound;
  115436. },
  115437. $signature: 572
  115438. };
  115439. A.SelectorSearchVisitor0.prototype = {
  115440. visitAttributeSelector$1(attribute) {
  115441. return null;
  115442. },
  115443. visitClassSelector$1(klass) {
  115444. return null;
  115445. },
  115446. visitIDSelector$1(id) {
  115447. return null;
  115448. },
  115449. visitParentSelector$1(placeholder) {
  115450. return null;
  115451. },
  115452. visitPlaceholderSelector$1(placeholder) {
  115453. return null;
  115454. },
  115455. visitTypeSelector$1(type) {
  115456. return null;
  115457. },
  115458. visitUniversalSelector$1(universal) {
  115459. return null;
  115460. },
  115461. visitComplexSelector$1(complex) {
  115462. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  115463. },
  115464. visitCompoundSelector$1(compound) {
  115465. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  115466. },
  115467. visitPseudoSelector$1(pseudo) {
  115468. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  115469. },
  115470. visitSelectorList$1(list) {
  115471. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  115472. }
  115473. };
  115474. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  115475. call$1(component) {
  115476. return this.$this.visitCompoundSelector$1(component.selector);
  115477. },
  115478. $signature() {
  115479. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  115480. }
  115481. };
  115482. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  115483. call$1(simple) {
  115484. return simple.accept$1(this.$this);
  115485. },
  115486. $signature() {
  115487. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  115488. }
  115489. };
  115490. A.serialize_closure0.prototype = {
  115491. call$1(codeUnit) {
  115492. return codeUnit > 127;
  115493. },
  115494. $signature: 50
  115495. };
  115496. A._SerializeVisitor0.prototype = {
  115497. visitCssStylesheet$1(node) {
  115498. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  115499. 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();) {
  115500. previous0 = t1.get$current(t1);
  115501. if (t2)
  115502. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  115503. else
  115504. t8 = false;
  115505. if (t8)
  115506. continue;
  115507. if (previous != null) {
  115508. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  115509. t6.writeCharCode$1(59);
  115510. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  115511. if (t4)
  115512. t6.writeCharCode$1(32);
  115513. } else {
  115514. if (t4)
  115515. t6.write$1(0, t7);
  115516. if (previous.get$isGroupEnd())
  115517. if (t4)
  115518. t6.write$1(0, t7);
  115519. }
  115520. }
  115521. previous0.accept$1(_this);
  115522. previous = previous0;
  115523. }
  115524. if (previous != null)
  115525. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  115526. else
  115527. t1 = false;
  115528. if (t1)
  115529. t6.writeCharCode$1(59);
  115530. },
  115531. visitCssComment$1(node) {
  115532. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  115533. },
  115534. visitCssAtRule$1(node) {
  115535. var t1, _this = this;
  115536. _this._serialize0$_writeIndentation$0();
  115537. t1 = _this._serialize0$_buffer;
  115538. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  115539. if (!node.isChildless) {
  115540. if (_this._serialize0$_style !== B.OutputStyle_10)
  115541. t1.writeCharCode$1(32);
  115542. _this._serialize0$_visitChildren$1(node);
  115543. }
  115544. },
  115545. visitCssMediaRule$1(node) {
  115546. var t1, _this = this;
  115547. _this._serialize0$_writeIndentation$0();
  115548. t1 = _this._serialize0$_buffer;
  115549. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  115550. if (_this._serialize0$_style !== B.OutputStyle_10)
  115551. t1.writeCharCode$1(32);
  115552. _this._serialize0$_visitChildren$1(node);
  115553. },
  115554. visitCssImport$1(node) {
  115555. this._serialize0$_writeIndentation$0();
  115556. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  115557. },
  115558. _serialize0$_writeImportUrl$1(url) {
  115559. var urlContents, maybeQuote, _this = this;
  115560. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  115561. _this._serialize0$_buffer.write$1(0, url);
  115562. return;
  115563. }
  115564. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  115565. maybeQuote = urlContents.charCodeAt(0);
  115566. if (maybeQuote === 39 || maybeQuote === 34)
  115567. _this._serialize0$_buffer.write$1(0, urlContents);
  115568. else
  115569. _this._serialize0$_visitQuotedString$1(urlContents);
  115570. },
  115571. visitCssKeyframeBlock$1(node) {
  115572. var t1, _this = this;
  115573. _this._serialize0$_writeIndentation$0();
  115574. t1 = _this._serialize0$_buffer;
  115575. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  115576. if (_this._serialize0$_style !== B.OutputStyle_10)
  115577. t1.writeCharCode$1(32);
  115578. _this._serialize0$_visitChildren$1(node);
  115579. },
  115580. _serialize0$_visitMediaQuery$1(query) {
  115581. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  115582. _0_0 = query.modifier;
  115583. if (_0_0 != null) {
  115584. t1 = _this._serialize0$_buffer;
  115585. t1.write$1(0, _0_0);
  115586. t1.writeCharCode$1(32);
  115587. }
  115588. _1_0 = query.type;
  115589. if (_1_0 != null) {
  115590. t1 = _this._serialize0$_buffer;
  115591. t1.write$1(0, _1_0);
  115592. if (query.conditions.length !== 0)
  115593. t1.write$1(0, " and ");
  115594. }
  115595. _2_0 = query.conditions;
  115596. if (_2_0.length === 1)
  115597. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  115598. else
  115599. t1 = false;
  115600. if (t1) {
  115601. t1 = _this._serialize0$_buffer;
  115602. t1.write$1(0, "not ");
  115603. condition = B.JSArray_methods.get$first(_2_0);
  115604. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  115605. } else {
  115606. operator = query.conjunction ? "and" : "or";
  115607. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  115608. t2 = _this._serialize0$_buffer;
  115609. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  115610. }
  115611. },
  115612. visitCssStyleRule$1(node) {
  115613. var t1, _this = this;
  115614. _this._serialize0$_writeIndentation$0();
  115615. t1 = _this._serialize0$_buffer;
  115616. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  115617. if (_this._serialize0$_style !== B.OutputStyle_10)
  115618. t1.writeCharCode$1(32);
  115619. _this._serialize0$_visitChildren$1(node);
  115620. },
  115621. visitCssSupportsRule$1(node) {
  115622. var t1, _this = this;
  115623. _this._serialize0$_writeIndentation$0();
  115624. t1 = _this._serialize0$_buffer;
  115625. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  115626. if (_this._serialize0$_style !== B.OutputStyle_10)
  115627. t1.writeCharCode$1(32);
  115628. _this._serialize0$_visitChildren$1(node);
  115629. },
  115630. visitCssDeclaration$1(node) {
  115631. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  115632. t1 = node.interleavedRules,
  115633. t2 = t1.length;
  115634. if (t2 !== 0) {
  115635. t3 = node._node$_parent;
  115636. t3.toString;
  115637. declSpecificities = _this._serialize0$_specificities$1(t3);
  115638. for (t3 = _this._serialize0$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  115639. rule = t1[_i];
  115640. ruleSpecificities = _this._serialize0$_specificities$1(rule);
  115641. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  115642. continue;
  115643. 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);
  115644. }
  115645. }
  115646. _this._serialize0$_writeIndentation$0();
  115647. t1 = node.name;
  115648. _this._serialize0$_write$1(t1);
  115649. t2 = _this._serialize0$_buffer;
  115650. t2.writeCharCode$1(58);
  115651. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  115652. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  115653. else {
  115654. if (_this._serialize0$_style !== B.OutputStyle_10)
  115655. t2.writeCharCode$1(32);
  115656. try {
  115657. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  115658. } catch (exception) {
  115659. t1 = A.unwrapException(exception);
  115660. if (t1 instanceof A.MultiSpanSassScriptException0) {
  115661. error = t1;
  115662. stackTrace = A.getTraceFromException(exception);
  115663. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  115664. } else if (t1 instanceof A.SassScriptException0) {
  115665. error0 = t1;
  115666. stackTrace0 = A.getTraceFromException(exception);
  115667. t1 = error0.message;
  115668. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  115669. } else
  115670. throw exception;
  115671. }
  115672. }
  115673. },
  115674. _serialize0$_specificities$1(node) {
  115675. var $parent, t2, t3, _i,
  115676. t1 = this.get$_serialize0$_specificities();
  115677. if (node instanceof A.ModifiableCssStyleRule0) {
  115678. t1 = A.NullableExtension_andThen0(node._node$_parent, t1);
  115679. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  115680. if ($parent == null)
  115681. $parent = 0;
  115682. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  115683. for (t2 = node._style_rule0$_selector._box0$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  115684. t1.add$1(0, $parent + t2[_i].get$specificity());
  115685. return t1;
  115686. } else {
  115687. t1 = A.NullableExtension_andThen0(node.get$parent(node), t1);
  115688. return t1 == null ? B.Set_WDSXk : t1;
  115689. }
  115690. },
  115691. _serialize0$_writeFoldedValue$1(node) {
  115692. var t1, t2, next, t3,
  115693. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  115694. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  115695. next = scanner.readChar$0();
  115696. if (next !== 10) {
  115697. t2.writeCharCode$1(next);
  115698. continue;
  115699. }
  115700. t2.writeCharCode$1(32);
  115701. while (true) {
  115702. t3 = scanner.peekChar$0();
  115703. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  115704. break;
  115705. scanner.readChar$0();
  115706. }
  115707. }
  115708. },
  115709. _serialize0$_writeReindentedValue$1(node) {
  115710. var _0_0, t1, _this = this,
  115711. value = type$.SassString_2._as(node.value.value)._string0$_text;
  115712. $label0$0: {
  115713. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  115714. if (_0_0 == null) {
  115715. _this._serialize0$_buffer.write$1(0, value);
  115716. break $label0$0;
  115717. }
  115718. if (-1 === _0_0) {
  115719. t1 = _this._serialize0$_buffer;
  115720. t1.write$1(0, A.trimAsciiRight0(value, true));
  115721. t1.writeCharCode$1(32);
  115722. break $label0$0;
  115723. }
  115724. t1 = node.name.span;
  115725. t1 = t1.get$start(t1);
  115726. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  115727. }
  115728. },
  115729. _serialize0$_minimumIndentation$1(text) {
  115730. var character, t2, min, next, min0,
  115731. scanner = A.LineScanner$(text),
  115732. t1 = scanner.string.length;
  115733. while (true) {
  115734. if (scanner._string_scanner$_position !== t1) {
  115735. character = scanner.super$StringScanner$readChar();
  115736. scanner._adjustLineAndColumn$1(character);
  115737. t2 = character !== 10;
  115738. } else
  115739. t2 = false;
  115740. if (!t2)
  115741. break;
  115742. }
  115743. if (scanner._string_scanner$_position === t1)
  115744. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  115745. for (min = null; scanner._string_scanner$_position !== t1;) {
  115746. for (; scanner._string_scanner$_position !== t1;) {
  115747. next = scanner.peekChar$0();
  115748. if (next !== 32 && next !== 9)
  115749. break;
  115750. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  115751. }
  115752. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  115753. continue;
  115754. min0 = scanner._line_scanner$_column;
  115755. min = min == null ? min0 : Math.min(min, min0);
  115756. while (true) {
  115757. if (scanner._string_scanner$_position !== t1) {
  115758. character = scanner.super$StringScanner$readChar();
  115759. scanner._adjustLineAndColumn$1(character);
  115760. t2 = character !== 10;
  115761. } else
  115762. t2 = false;
  115763. if (!t2)
  115764. break;
  115765. }
  115766. }
  115767. return min == null ? -1 : min;
  115768. },
  115769. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  115770. var t1, t2, t3, character, lineStart, newlines, end,
  115771. scanner = A.LineScanner$(text);
  115772. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  115773. character = scanner.super$StringScanner$readChar();
  115774. scanner._adjustLineAndColumn$1(character);
  115775. if (character === 10)
  115776. break;
  115777. t3.writeCharCode$1(character);
  115778. }
  115779. for (; true;) {
  115780. lineStart = scanner._string_scanner$_position;
  115781. for (newlines = 1; true;) {
  115782. if (scanner._string_scanner$_position === t2) {
  115783. t3.writeCharCode$1(32);
  115784. return;
  115785. }
  115786. $label0$2: {
  115787. character = scanner.super$StringScanner$readChar();
  115788. scanner._adjustLineAndColumn$1(character);
  115789. if (32 === character || 9 === character)
  115790. continue;
  115791. if (10 === character) {
  115792. lineStart = scanner._string_scanner$_position;
  115793. ++newlines;
  115794. break $label0$2;
  115795. }
  115796. break;
  115797. }
  115798. }
  115799. this._serialize0$_writeTimes$2(10, newlines);
  115800. this._serialize0$_writeIndentation$0();
  115801. end = scanner._string_scanner$_position;
  115802. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  115803. for (; true;) {
  115804. if (scanner._string_scanner$_position === t2)
  115805. return;
  115806. character = scanner.super$StringScanner$readChar();
  115807. scanner._adjustLineAndColumn$1(character);
  115808. if (character === 10)
  115809. break;
  115810. t3.writeCharCode$1(character);
  115811. }
  115812. }
  115813. },
  115814. visitCalculation$1(value) {
  115815. var t2, _this = this,
  115816. t1 = _this._serialize0$_buffer;
  115817. t1.write$1(0, value.name);
  115818. t1.writeCharCode$1(40);
  115819. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  115820. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  115821. t1.writeCharCode$1(41);
  115822. },
  115823. _serialize0$_writeCalculationValue$1(value) {
  115824. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  115825. $label1$1: {
  115826. _2_4_isSet = value instanceof A.SassNumber0;
  115827. if (_2_4_isSet) {
  115828. _2_4 = value.get$hasComplexUnits();
  115829. t1 = _2_4 && !_this._serialize0$_inspect;
  115830. } else {
  115831. _2_4 = _null;
  115832. t1 = false;
  115833. }
  115834. if (t1)
  115835. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  115836. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  115837. $label0$0: {
  115838. _0_0 = value._number1$_value;
  115839. if (1 / 0 === _0_0) {
  115840. _this._serialize0$_buffer.write$1(0, "infinity");
  115841. break $label0$0;
  115842. }
  115843. if (-1 / 0 === _0_0) {
  115844. _this._serialize0$_buffer.write$1(0, "-infinity");
  115845. break $label0$0;
  115846. }
  115847. if (isNaN(_0_0))
  115848. _this._serialize0$_buffer.write$1(0, "NaN");
  115849. }
  115850. t1 = J.getInterceptor$x(value);
  115851. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  115852. break $label1$1;
  115853. }
  115854. if (_2_4_isSet)
  115855. t1 = _2_4;
  115856. else
  115857. t1 = false;
  115858. if (t1) {
  115859. _this._serialize0$_writeNumber$1(value._number1$_value);
  115860. t1 = J.getInterceptor$x(value);
  115861. _1_0 = t1.get$numeratorUnits(value);
  115862. if (_1_0.length >= 1) {
  115863. first = _1_0[0];
  115864. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  115865. _this._serialize0$_buffer.write$1(0, first);
  115866. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  115867. } else
  115868. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  115869. break $label1$1;
  115870. }
  115871. if (value instanceof A.Value0) {
  115872. value.accept$1(_this);
  115873. break $label1$1;
  115874. }
  115875. t1 = value instanceof A.CalculationOperation0;
  115876. left = _null;
  115877. right = _null;
  115878. if (t1) {
  115879. operator = value._calculation0$_operator;
  115880. left = value._calculation0$_left;
  115881. right = value._calculation0$_right;
  115882. right = right;
  115883. } else
  115884. operator = _null;
  115885. if (t1) {
  115886. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  115887. if (parenthesizeLeft)
  115888. _this._serialize0$_buffer.writeCharCode$1(40);
  115889. _this._serialize0$_writeCalculationValue$1(left);
  115890. if (parenthesizeLeft)
  115891. _this._serialize0$_buffer.writeCharCode$1(41);
  115892. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  115893. if (operatorWhitespace)
  115894. _this._serialize0$_buffer.writeCharCode$1(32);
  115895. t1 = _this._serialize0$_buffer;
  115896. t1.write$1(0, operator.operator);
  115897. if (operatorWhitespace)
  115898. t1.writeCharCode$1(32);
  115899. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  115900. parenthesizeRight = false;
  115901. if (operator === B.CalculationOperator_bo50) {
  115902. if (right instanceof A.SassNumber0)
  115903. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  115904. else
  115905. t2 = parenthesizeRight;
  115906. parenthesizeRight = t2;
  115907. }
  115908. } else
  115909. parenthesizeRight = true;
  115910. if (parenthesizeRight)
  115911. t1.writeCharCode$1(40);
  115912. _this._serialize0$_writeCalculationValue$1(right);
  115913. if (parenthesizeRight)
  115914. t1.writeCharCode$1(41);
  115915. }
  115916. }
  115917. },
  115918. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  115919. var t1, t2, t3, t4;
  115920. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  115921. t4 = t1.get$current(t1);
  115922. if (t3)
  115923. t2.writeCharCode$1(32);
  115924. t2.writeCharCode$1(42);
  115925. if (t3)
  115926. t2.writeCharCode$1(32);
  115927. t2.writeCharCode$1(49);
  115928. t2.write$1(0, t4);
  115929. }
  115930. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  115931. t4 = t1.get$current(t1);
  115932. if (t3)
  115933. t2.writeCharCode$1(32);
  115934. t2.writeCharCode$1(47);
  115935. if (t3)
  115936. t2.writeCharCode$1(32);
  115937. t2.writeCharCode$1(49);
  115938. t2.write$1(0, t4);
  115939. }
  115940. },
  115941. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  115942. var t1;
  115943. $label0$0: {
  115944. if (B.CalculationOperator_bo50 === outer) {
  115945. t1 = true;
  115946. break $label0$0;
  115947. }
  115948. if (B.CalculationOperator_F7i0 === outer) {
  115949. t1 = false;
  115950. break $label0$0;
  115951. }
  115952. t1 = right === B.CalculationOperator_F7i0 || right === B.CalculationOperator_oum0;
  115953. break $label0$0;
  115954. }
  115955. return t1;
  115956. },
  115957. visitColor$1(value) {
  115958. 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;
  115959. $label0$0: {
  115960. _0_0 = value._color0$_space;
  115961. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  115962. _0_6 = _null;
  115963. t1 = true;
  115964. if (!_0_2) {
  115965. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  115966. _0_6_isSet = !_0_4;
  115967. if (_0_6_isSet) {
  115968. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  115969. t1 = _0_6;
  115970. }
  115971. } else {
  115972. _0_4 = _null;
  115973. _0_6_isSet = false;
  115974. }
  115975. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  115976. _this._serialize0$_writeLegacyColor$1(value);
  115977. break $label0$0;
  115978. }
  115979. if (_0_2) {
  115980. t1 = _this._serialize0$_buffer;
  115981. t1.write$1(0, "rgb(");
  115982. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  115983. t1.writeCharCode$1(32);
  115984. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  115985. t1.writeCharCode$1(32);
  115986. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  115987. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  115988. t1.writeCharCode$1(41);
  115989. break $label0$0;
  115990. }
  115991. if (!_0_4)
  115992. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  115993. else
  115994. t1 = true;
  115995. if (t1) {
  115996. t1 = _this._serialize0$_buffer;
  115997. t1.write$1(0, _0_0);
  115998. t1.writeCharCode$1(40);
  115999. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  116000. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  116001. t1.writeCharCode$1(32);
  116002. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  116003. t1.writeCharCode$1(32);
  116004. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  116005. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116006. t1.writeCharCode$1(41);
  116007. break $label0$0;
  116008. }
  116009. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  116010. if (_0_10_isSet) {
  116011. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116012. t1 = _0_10;
  116013. } else {
  116014. _0_10 = _null;
  116015. t1 = true;
  116016. }
  116017. t2 = false;
  116018. if (t1)
  116019. if (!_this._serialize0$_inspect) {
  116020. t1 = value.channel0OrNull;
  116021. if (t1 == null)
  116022. t1 = 0;
  116023. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  116024. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  116025. else
  116026. t1 = false;
  116027. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  116028. } else
  116029. t1 = t2;
  116030. else
  116031. t1 = t2;
  116032. _0_12_isSet = !t1;
  116033. _0_14 = _null;
  116034. if (_0_12_isSet) {
  116035. _0_12 = B.OklabColorSpace_5400 === _0_0;
  116036. t1 = false;
  116037. _0_14_isSet = !_0_12;
  116038. if (_0_14_isSet) {
  116039. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116040. t2 = _0_14;
  116041. } else
  116042. t2 = true;
  116043. t3 = false;
  116044. if (t2)
  116045. if (!_this._serialize0$_inspect) {
  116046. t2 = value.channel0OrNull;
  116047. if (t2 == null)
  116048. t2 = 0;
  116049. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  116050. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  116051. else
  116052. t2 = false;
  116053. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  116054. } else
  116055. t2 = t3;
  116056. else
  116057. t2 = t3;
  116058. if (!t2) {
  116059. if (_0_10_isSet) {
  116060. t2 = _0_10;
  116061. _0_10_isSet0 = _0_10_isSet;
  116062. } else {
  116063. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116064. t2 = _0_10;
  116065. _0_10_isSet0 = true;
  116066. }
  116067. if (!t2)
  116068. if (_0_14_isSet)
  116069. t2 = _0_14;
  116070. else {
  116071. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116072. t2 = _0_14;
  116073. _0_14_isSet = true;
  116074. }
  116075. else
  116076. t2 = true;
  116077. if (t2)
  116078. if (!_this._serialize0$_inspect) {
  116079. t1 = value.channel1OrNull;
  116080. t2 = t1 == null;
  116081. if (t2)
  116082. t1 = 0;
  116083. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  116084. }
  116085. } else {
  116086. _0_10_isSet0 = _0_10_isSet;
  116087. t1 = true;
  116088. }
  116089. } else {
  116090. _0_12 = _null;
  116091. _0_10_isSet0 = _0_10_isSet;
  116092. _0_14_isSet = false;
  116093. t1 = true;
  116094. }
  116095. if (t1) {
  116096. t1 = _this._serialize0$_buffer;
  116097. t1.write$1(0, "color-mix(in ");
  116098. t1.write$1(0, _0_0);
  116099. t2 = _this._serialize0$_style === B.OutputStyle_10;
  116100. t1.write$1(0, t2 ? "," : ", ");
  116101. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  116102. if (!t2)
  116103. t1.writeCharCode$1(32);
  116104. t1.write$1(0, "100%");
  116105. t1.write$1(0, t2 ? "," : ", ");
  116106. t1.write$1(0, t2 ? "red" : "black");
  116107. t1.writeCharCode$1(41);
  116108. break $label0$0;
  116109. }
  116110. t1 = true;
  116111. if (_0_10_isSet)
  116112. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  116113. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  116114. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  116115. if (t1) {
  116116. t1 = _this._serialize0$_buffer;
  116117. t1.write$1(0, _0_0);
  116118. t1.writeCharCode$1(40);
  116119. t2 = _0_0._space$_channels;
  116120. polar = t2[2].isPolarAngle;
  116121. t3 = false;
  116122. if (!_this._serialize0$_inspect) {
  116123. t4 = value.channel0OrNull;
  116124. if (t4 == null)
  116125. t4 = 0;
  116126. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  116127. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  116128. else
  116129. t4 = false;
  116130. if (t4) {
  116131. if (polar) {
  116132. t3 = value.channel1OrNull;
  116133. if (t3 == null)
  116134. t3 = 0;
  116135. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  116136. }
  116137. } else
  116138. t3 = true;
  116139. }
  116140. if (t3) {
  116141. t1.write$1(0, "from ");
  116142. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  116143. t1.writeCharCode$1(32);
  116144. }
  116145. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  116146. t4 = t3 && value.channel0OrNull != null;
  116147. t5 = value.channel0OrNull;
  116148. if (t4) {
  116149. t2 = type$.LinearChannel_2._as(t2[0]);
  116150. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  116151. t1.writeCharCode$1(37);
  116152. } else
  116153. _this._serialize0$_writeChannel$1(t5);
  116154. t1.writeCharCode$1(32);
  116155. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116156. t1.writeCharCode$1(32);
  116157. t2 = polar && t3 ? "deg" : _null;
  116158. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  116159. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116160. t1.writeCharCode$1(41);
  116161. break $label0$0;
  116162. }
  116163. _this._serialize0$_writeColorFunction$1(value);
  116164. }
  116165. },
  116166. _serialize0$_writeChannel$2(channel, unit) {
  116167. var _this = this;
  116168. if (channel == null)
  116169. _this._serialize0$_buffer.write$1(0, "none");
  116170. else if (isFinite(channel)) {
  116171. _this._serialize0$_writeNumber$1(channel);
  116172. if (unit != null)
  116173. _this._serialize0$_buffer.write$1(0, unit);
  116174. } else
  116175. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  116176. },
  116177. _serialize0$_writeChannel$1(channel) {
  116178. return this._serialize0$_writeChannel$2(channel, null);
  116179. },
  116180. _serialize0$_writeLegacyColor$1(color) {
  116181. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  116182. t1 = color.alphaOrNull,
  116183. t2 = t1 == null,
  116184. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  116185. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  116186. _this._serialize0$_writeHsl$1(color);
  116187. return;
  116188. }
  116189. if (_this._serialize0$_style === B.OutputStyle_10) {
  116190. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116191. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  116192. return;
  116193. t3 = rgb.channel0OrNull;
  116194. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116195. t3 = rgb.channel1OrNull;
  116196. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116197. t3 = rgb.channel2OrNull;
  116198. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116199. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  116200. t3 = hsl.channel0OrNull;
  116201. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116202. t3 = hsl.channel1OrNull;
  116203. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116204. t3 = hsl.channel2OrNull;
  116205. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116206. t3 = _this._serialize0$_buffer;
  116207. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  116208. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116209. t3.write$1(0, red);
  116210. t3.writeCharCode$1(44);
  116211. t3.write$1(0, green);
  116212. t3.writeCharCode$1(44);
  116213. t3.write$1(0, blue);
  116214. } else {
  116215. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116216. t3.write$1(0, hue);
  116217. t3.writeCharCode$1(44);
  116218. t3.write$1(0, saturation);
  116219. t3.write$1(0, "%,");
  116220. t3.write$1(0, lightness);
  116221. t3.writeCharCode$1(37);
  116222. }
  116223. if (!opaque) {
  116224. t3.writeCharCode$1(44);
  116225. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116226. }
  116227. t3.writeCharCode$1(41);
  116228. return;
  116229. }
  116230. t3 = color._color0$_space;
  116231. if (t3 === B.HslColorSpace_JQ20) {
  116232. _this._serialize0$_writeHsl$1(color);
  116233. return;
  116234. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  116235. t3 = _this._serialize0$_buffer;
  116236. t3.write$1(0, "hwb(");
  116237. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  116238. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  116239. t3.writeCharCode$1(32);
  116240. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  116241. t3.writeCharCode$1(37);
  116242. t3.writeCharCode$1(32);
  116243. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  116244. t3.writeCharCode$1(37);
  116245. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  116246. t3.write$1(0, " / ");
  116247. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116248. }
  116249. t3.writeCharCode$1(41);
  116250. return;
  116251. }
  116252. _0_0 = color.format;
  116253. if (B.C__ColorFormatEnum0 === _0_0) {
  116254. _this._serialize0$_writeRgb$1(color);
  116255. return;
  116256. }
  116257. t1 = _0_0 instanceof A.SpanColorFormat0;
  116258. format = t1 ? _0_0 : null;
  116259. if (t1) {
  116260. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  116261. return;
  116262. }
  116263. if (opaque) {
  116264. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116265. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  116266. if (_1_0 != null) {
  116267. _this._serialize0$_buffer.write$1(0, _1_0);
  116268. return;
  116269. }
  116270. if (_this._serialize0$_canUseHex$1(rgb)) {
  116271. _this._serialize0$_buffer.writeCharCode$1(35);
  116272. t1 = rgb.channel0OrNull;
  116273. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116274. t1 = rgb.channel1OrNull;
  116275. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116276. t1 = rgb.channel2OrNull;
  116277. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116278. return;
  116279. }
  116280. }
  116281. if (t3 === B.HwbColorSpace_guQ0)
  116282. _this._serialize0$_writeHsl$1(color);
  116283. else
  116284. _this._serialize0$_writeRgb$1(color);
  116285. },
  116286. _serialize0$_tryIntegerRgb$1(rgb) {
  116287. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  116288. if (!_this._serialize0$_canUseHex$1(rgb))
  116289. return false;
  116290. t1 = rgb.channel0OrNull;
  116291. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116292. t1 = rgb.channel1OrNull;
  116293. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116294. t1 = rgb.channel2OrNull;
  116295. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116296. t1 = redInt & 15;
  116297. 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);
  116298. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  116299. t2 = false;
  116300. if (_0_0 != null) {
  116301. t3 = _0_0.length;
  116302. t2 = t3 <= (shortHex ? 4 : 7);
  116303. $name = _0_0;
  116304. } else
  116305. $name = null;
  116306. if (t2)
  116307. _this._serialize0$_buffer.write$1(0, $name);
  116308. else {
  116309. t2 = _this._serialize0$_buffer;
  116310. if (shortHex) {
  116311. t2.writeCharCode$1(35);
  116312. t2.writeCharCode$1(A.hexCharFor0(t1));
  116313. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  116314. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  116315. } else {
  116316. t2.writeCharCode$1(35);
  116317. _this._serialize0$_writeHexComponent$1(redInt);
  116318. _this._serialize0$_writeHexComponent$1(greenInt);
  116319. _this._serialize0$_writeHexComponent$1(blueInt);
  116320. }
  116321. }
  116322. return true;
  116323. },
  116324. _serialize0$_canUseHex$1(rgb) {
  116325. var t2,
  116326. t1 = rgb.channel0OrNull;
  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 = false;
  116333. t2 = false;
  116334. if (t1) {
  116335. t1 = rgb.channel1OrNull;
  116336. if (t1 == null)
  116337. t1 = 0;
  116338. if (A.fuzzyIsInt0(t1))
  116339. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116340. else
  116341. t1 = false;
  116342. if (t1) {
  116343. t1 = rgb.channel2OrNull;
  116344. if (t1 == null)
  116345. t1 = 0;
  116346. if (A.fuzzyIsInt0(t1))
  116347. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116348. else
  116349. t1 = t2;
  116350. } else
  116351. t1 = t2;
  116352. } else
  116353. t1 = t2;
  116354. return t1;
  116355. },
  116356. _serialize0$_writeRgb$1(color) {
  116357. var t4, _this = this,
  116358. t1 = color.alphaOrNull,
  116359. t2 = t1 == null,
  116360. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116361. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  116362. t3 = _this._serialize0$_buffer;
  116363. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116364. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  116365. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116366. t3.write$1(0, t4 ? "," : ", ");
  116367. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  116368. t3.write$1(0, t4 ? "," : ", ");
  116369. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  116370. if (!opaque) {
  116371. t3.write$1(0, t4 ? "," : ", ");
  116372. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116373. }
  116374. t3.writeCharCode$1(41);
  116375. },
  116376. _serialize0$_writeHsl$1(color) {
  116377. var t4, _this = this,
  116378. t1 = color.alphaOrNull,
  116379. t2 = t1 == null,
  116380. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116381. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  116382. t3 = _this._serialize0$_buffer;
  116383. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116384. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  116385. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116386. t3.write$1(0, t4 ? "," : ", ");
  116387. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  116388. t3.write$1(0, t4 ? "," : ", ");
  116389. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  116390. if (!opaque) {
  116391. t3.write$1(0, t4 ? "," : ", ");
  116392. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116393. }
  116394. t3.writeCharCode$1(41);
  116395. },
  116396. _serialize0$_writeColorFunction$1(color) {
  116397. var _this = this,
  116398. t1 = _this._serialize0$_buffer;
  116399. t1.write$1(0, "color(");
  116400. t1.write$1(0, color._color0$_space);
  116401. t1.writeCharCode$1(32);
  116402. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  116403. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  116404. t1.writeCharCode$1(41);
  116405. },
  116406. _serialize0$_writeHexComponent$1(color) {
  116407. var t1 = this._serialize0$_buffer;
  116408. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  116409. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  116410. },
  116411. _serialize0$_maybeWriteSlashAlpha$1(color) {
  116412. var t2, t3, _this = this,
  116413. t1 = color.alphaOrNull;
  116414. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  116415. return;
  116416. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  116417. if (t2)
  116418. _this._serialize0$_buffer.writeCharCode$1(32);
  116419. t3 = _this._serialize0$_buffer;
  116420. t3.writeCharCode$1(47);
  116421. if (t2)
  116422. t3.writeCharCode$1(32);
  116423. _this._serialize0$_writeChannel$1(t1);
  116424. },
  116425. visitList$1(value) {
  116426. var t2, singleton, t3, t4, t5, _this = this,
  116427. t1 = value._list1$_hasBrackets;
  116428. if (t1)
  116429. _this._serialize0$_buffer.writeCharCode$1(91);
  116430. else if (value._list1$_contents.length === 0) {
  116431. if (!_this._serialize0$_inspect)
  116432. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  116433. _this._serialize0$_buffer.write$1(0, "()");
  116434. return;
  116435. }
  116436. t2 = _this._serialize0$_inspect;
  116437. singleton = false;
  116438. if (t2)
  116439. if (value._list1$_contents.length === 1) {
  116440. t3 = value._list1$_separator;
  116441. t3 = t3 === B.ListSeparator_qVN0 || t3 === B.ListSeparator_bRz0;
  116442. singleton = t3;
  116443. }
  116444. if (singleton && !t1)
  116445. _this._serialize0$_buffer.writeCharCode$1(40);
  116446. t3 = value._list1$_contents;
  116447. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  116448. t4 = value._list1$_separator;
  116449. t5 = _this._serialize0$_separatorString$1(t4);
  116450. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  116451. if (singleton) {
  116452. t2 = _this._serialize0$_buffer;
  116453. t2.write$1(0, t4.separator);
  116454. if (!t1)
  116455. t2.writeCharCode$1(41);
  116456. }
  116457. if (t1)
  116458. _this._serialize0$_buffer.writeCharCode$1(93);
  116459. },
  116460. _serialize0$_separatorString$1(separator) {
  116461. var t1;
  116462. $label0$0: {
  116463. if (B.ListSeparator_qVN0 === separator) {
  116464. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116465. break $label0$0;
  116466. }
  116467. if (B.ListSeparator_bRz0 === separator) {
  116468. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  116469. break $label0$0;
  116470. }
  116471. if (B.ListSeparator_qSL0 === separator) {
  116472. t1 = " ";
  116473. break $label0$0;
  116474. }
  116475. t1 = "";
  116476. break $label0$0;
  116477. }
  116478. return t1;
  116479. },
  116480. _serialize0$_elementNeedsParens$2(separator, value) {
  116481. var t1;
  116482. $label1$1: {
  116483. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  116484. $label0$0: {
  116485. if (B.ListSeparator_qVN0 === separator) {
  116486. t1 = value._list1$_separator === B.ListSeparator_qVN0;
  116487. break $label0$0;
  116488. }
  116489. if (B.ListSeparator_bRz0 === separator) {
  116490. t1 = value._list1$_separator;
  116491. t1 = t1 === B.ListSeparator_qVN0 || t1 === B.ListSeparator_bRz0;
  116492. break $label0$0;
  116493. }
  116494. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  116495. break $label0$0;
  116496. }
  116497. break $label1$1;
  116498. }
  116499. t1 = false;
  116500. break $label1$1;
  116501. }
  116502. return t1;
  116503. },
  116504. visitMap$1(map) {
  116505. var t1, t2, _this = this;
  116506. if (!_this._serialize0$_inspect)
  116507. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  116508. t1 = _this._serialize0$_buffer;
  116509. t1.writeCharCode$1(40);
  116510. t2 = map._map0$_contents;
  116511. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  116512. t1.writeCharCode$1(41);
  116513. },
  116514. _serialize0$_writeMapElement$1(value) {
  116515. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_qVN0 && !value._list1$_hasBrackets;
  116516. if (needsParens)
  116517. this._serialize0$_buffer.writeCharCode$1(40);
  116518. value.accept$1(this);
  116519. if (needsParens)
  116520. this._serialize0$_buffer.writeCharCode$1(41);
  116521. },
  116522. visitNumber$1(value) {
  116523. var before, after, t1, _1_0, _this = this,
  116524. _0_0 = value.asSlash;
  116525. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  116526. before = _0_0._0;
  116527. after = _0_0._1;
  116528. _this.visitNumber$1(before);
  116529. _this._serialize0$_buffer.writeCharCode$1(47);
  116530. _this.visitNumber$1(after);
  116531. return;
  116532. }
  116533. t1 = value._number1$_value;
  116534. if (!isFinite(t1)) {
  116535. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116536. return;
  116537. }
  116538. if (value.get$hasComplexUnits()) {
  116539. if (!_this._serialize0$_inspect)
  116540. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  116541. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116542. } else {
  116543. _this._serialize0$_writeNumber$1(t1);
  116544. _1_0 = value.get$numeratorUnits(value);
  116545. if (_1_0.length === 1)
  116546. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  116547. }
  116548. },
  116549. _serialize0$_writeNumberToString$1(number) {
  116550. var t1 = new A.StringBuffer("");
  116551. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  116552. t1 = t1._contents;
  116553. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116554. },
  116555. _serialize0$_writeNumber$2(number, buffer) {
  116556. var _0_0, text, _this = this;
  116557. if (buffer == null)
  116558. buffer = _this._serialize0$_buffer;
  116559. _0_0 = A.fuzzyAsInt0(number);
  116560. if (_0_0 != null) {
  116561. buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  116562. return;
  116563. }
  116564. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  116565. if (text.length < 12) {
  116566. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  116567. return;
  116568. }
  116569. _this._serialize0$_writeRounded$2(text, buffer);
  116570. },
  116571. _serialize0$_writeNumber$1(number) {
  116572. return this._serialize0$_writeNumber$2(number, null);
  116573. },
  116574. _serialize0$_removeExponent$1(text) {
  116575. var buffer, t2, t3, additionalZeroes,
  116576. negative = text.charCodeAt(0) === 45,
  116577. exponent = A._Cell$(),
  116578. t1 = text.length,
  116579. i = 0;
  116580. while (true) {
  116581. if (!(i < t1)) {
  116582. buffer = null;
  116583. break;
  116584. }
  116585. c$0: {
  116586. if (text.charCodeAt(i) !== 101)
  116587. break c$0;
  116588. buffer = new A.StringBuffer("");
  116589. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  116590. if (negative) {
  116591. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  116592. buffer._contents = t2;
  116593. if (i > 3)
  116594. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  116595. } else if (i > 2)
  116596. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  116597. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  116598. break;
  116599. }
  116600. ++i;
  116601. }
  116602. if (buffer == null)
  116603. return text;
  116604. if (exponent._readLocal$0() > 0) {
  116605. t1 = exponent._readLocal$0();
  116606. t2 = buffer._contents;
  116607. t3 = negative ? 1 : 0;
  116608. additionalZeroes = t1 - (t2.length - 1 - t3);
  116609. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  116610. t1 = A.Primitives_stringFromCharCode(48);
  116611. t1 = buffer._contents += t1;
  116612. }
  116613. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116614. } else {
  116615. negative = text.charCodeAt(0) === 45;
  116616. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  116617. i = -1;
  116618. while (true) {
  116619. t2 = exponent.__late_helper$_value;
  116620. if (t2 === exponent)
  116621. A.throwExpression(A.LateError$localNI(""));
  116622. if (!(i > t2))
  116623. break;
  116624. t1 += A.Primitives_stringFromCharCode(48);
  116625. --i;
  116626. }
  116627. if (negative) {
  116628. t2 = buffer._contents;
  116629. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  116630. } else
  116631. t2 = buffer;
  116632. t2 = t1 + A.S(t2);
  116633. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116634. }
  116635. },
  116636. _serialize0$_writeRounded$2(text, buffer) {
  116637. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  116638. if (B.JSString_methods.endsWith$1(text, ".0")) {
  116639. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  116640. return;
  116641. }
  116642. t1 = text.length;
  116643. digits = new Uint8Array(t1 + 1);
  116644. negative = text.charCodeAt(0) === 45;
  116645. textIndex = negative ? 1 : 0;
  116646. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  116647. if (textIndex === t1) {
  116648. buffer.write$1(0, text);
  116649. return;
  116650. }
  116651. textIndex0 = textIndex + 1;
  116652. codeUnit = text.charCodeAt(textIndex);
  116653. if (codeUnit === 46) {
  116654. textIndex = textIndex0;
  116655. break;
  116656. }
  116657. digitsIndex0 = digitsIndex + 1;
  116658. digits[digitsIndex] = codeUnit - 48;
  116659. }
  116660. indexAfterPrecision = textIndex + 10;
  116661. if (indexAfterPrecision >= t1) {
  116662. buffer.write$1(0, text);
  116663. return;
  116664. }
  116665. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  116666. digitsIndex1 = digitsIndex0 + 1;
  116667. textIndex0 = textIndex + 1;
  116668. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  116669. }
  116670. if (text.charCodeAt(textIndex) - 48 >= 5)
  116671. for (; true; digitsIndex0 = digitsIndex1) {
  116672. digitsIndex1 = digitsIndex0 - 1;
  116673. newDigit = digits[digitsIndex1] + 1;
  116674. digits[digitsIndex1] = newDigit;
  116675. if (newDigit !== 10)
  116676. break;
  116677. }
  116678. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  116679. digits[digitsIndex0] = 0;
  116680. while (true) {
  116681. t1 = digitsIndex0 > digitsIndex;
  116682. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  116683. break;
  116684. --digitsIndex0;
  116685. }
  116686. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  116687. buffer.writeCharCode$1(48);
  116688. return;
  116689. }
  116690. if (negative)
  116691. buffer.writeCharCode$1(45);
  116692. if (digits[0] === 0)
  116693. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  116694. else
  116695. writtenIndex = 0;
  116696. for (; writtenIndex < digitsIndex; ++writtenIndex)
  116697. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116698. if (t1) {
  116699. buffer.writeCharCode$1(46);
  116700. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  116701. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  116702. }
  116703. },
  116704. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  116705. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  116706. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  116707. if (forceDoubleQuote)
  116708. buffer.writeCharCode$1(34);
  116709. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  116710. char = string.charCodeAt(i);
  116711. _1_2 = 39 === char;
  116712. if (_1_2 && forceDoubleQuote) {
  116713. buffer.writeCharCode$1(39);
  116714. continue;
  116715. }
  116716. if (_1_2 && includesDoubleQuote) {
  116717. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116718. return;
  116719. }
  116720. if (_1_2) {
  116721. buffer.writeCharCode$1(39);
  116722. includesSingleQuote = true;
  116723. continue;
  116724. }
  116725. _1_4 = 34 === char;
  116726. if (_1_4 && forceDoubleQuote) {
  116727. buffer.writeCharCode$1(92);
  116728. buffer.writeCharCode$1(34);
  116729. continue;
  116730. }
  116731. if (_1_4 && includesSingleQuote) {
  116732. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  116733. return;
  116734. }
  116735. if (_1_4) {
  116736. buffer.writeCharCode$1(34);
  116737. includesDoubleQuote = true;
  116738. continue;
  116739. }
  116740. 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) {
  116741. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  116742. continue;
  116743. }
  116744. if (92 === char) {
  116745. buffer.writeCharCode$1(92);
  116746. buffer.writeCharCode$1(92);
  116747. continue;
  116748. }
  116749. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  116750. if (_0_0 != null)
  116751. i = _0_0;
  116752. else
  116753. buffer.writeCharCode$1(char);
  116754. }
  116755. if (forceDoubleQuote)
  116756. buffer.writeCharCode$1(34);
  116757. else {
  116758. quote = includesDoubleQuote ? 39 : 34;
  116759. t1 = _this._serialize0$_buffer;
  116760. t1.writeCharCode$1(quote);
  116761. t1.write$1(0, buffer);
  116762. t1.writeCharCode$1(quote);
  116763. }
  116764. },
  116765. _serialize0$_visitQuotedString$1(string) {
  116766. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  116767. },
  116768. _serialize0$_visitUnquotedString$1(string) {
  116769. var t1, t2, afterNewline, i, _1_0, _0_0;
  116770. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  116771. _1_0 = string.charCodeAt(i);
  116772. if (10 === _1_0) {
  116773. t2.writeCharCode$1(32);
  116774. afterNewline = true;
  116775. continue;
  116776. }
  116777. if (32 === _1_0) {
  116778. if (!afterNewline)
  116779. t2.writeCharCode$1(32);
  116780. continue;
  116781. }
  116782. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  116783. if (_0_0 != null)
  116784. i = _0_0;
  116785. else
  116786. t2.writeCharCode$1(_1_0);
  116787. afterNewline = false;
  116788. }
  116789. },
  116790. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  116791. var t1;
  116792. if (this._serialize0$_style === B.OutputStyle_10)
  116793. return null;
  116794. if (codeUnit >= 57344 && codeUnit <= 63743) {
  116795. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  116796. return i;
  116797. }
  116798. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  116799. t1 = i + 1;
  116800. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  116801. return t1;
  116802. }
  116803. return null;
  116804. },
  116805. _serialize0$_writeEscape$4(buffer, character, string, i) {
  116806. var t1, next;
  116807. buffer.writeCharCode$1(92);
  116808. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  116809. t1 = i + 1;
  116810. if (string.length === t1)
  116811. return;
  116812. next = string.charCodeAt(t1);
  116813. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  116814. buffer.writeCharCode$1(32);
  116815. },
  116816. visitAttributeSelector$1(attribute) {
  116817. var _0_0, t2,
  116818. t1 = this._serialize0$_buffer;
  116819. t1.writeCharCode$1(91);
  116820. t1.write$1(0, attribute.name);
  116821. _0_0 = attribute.value;
  116822. if (_0_0 != null) {
  116823. t1.write$1(0, attribute.op);
  116824. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  116825. t1.write$1(0, _0_0);
  116826. t2 = attribute.modifier;
  116827. if (t2 != null)
  116828. t1.writeCharCode$1(32);
  116829. } else {
  116830. this._serialize0$_visitQuotedString$1(_0_0);
  116831. t2 = attribute.modifier;
  116832. if (t2 != null)
  116833. if (this._serialize0$_style !== B.OutputStyle_10)
  116834. t1.writeCharCode$1(32);
  116835. }
  116836. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  116837. }
  116838. t1.writeCharCode$1(93);
  116839. },
  116840. visitClassSelector$1(klass) {
  116841. var t1 = this._serialize0$_buffer;
  116842. t1.writeCharCode$1(46);
  116843. t1.write$1(0, klass.name);
  116844. },
  116845. visitComplexSelector$1(complex) {
  116846. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  116847. t1 = complex.leadingCombinators;
  116848. _this._serialize0$_writeCombinators$1(t1);
  116849. if (t1.length >= 1 && complex.components.length >= 1)
  116850. if (_this._serialize0$_style !== B.OutputStyle_10)
  116851. _this._serialize0$_buffer.writeCharCode$1(32);
  116852. 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) {
  116853. component = t1[i];
  116854. _this.visitCompoundSelector$1(component.selector);
  116855. t7 = component.combinators;
  116856. t8 = t7.length === 0;
  116857. if (!t8)
  116858. if (t6)
  116859. t4.writeCharCode$1(32);
  116860. t9 = t5 ? "" : " ";
  116861. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  116862. if (i !== t3)
  116863. t7 = !t5 || t8;
  116864. else
  116865. t7 = false;
  116866. if (t7)
  116867. t4.writeCharCode$1(32);
  116868. }
  116869. },
  116870. _serialize0$_writeCombinators$1(combinators) {
  116871. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  116872. t2 = this._serialize0$_buffer;
  116873. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  116874. },
  116875. visitCompoundSelector$1(compound) {
  116876. var t2, t3, _i,
  116877. t1 = this._serialize0$_buffer,
  116878. start = t1.get$length(t1);
  116879. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  116880. t2[_i].accept$1(this);
  116881. if (t1.get$length(t1) === start)
  116882. t1.writeCharCode$1(42);
  116883. },
  116884. visitIDSelector$1(id) {
  116885. var t1 = this._serialize0$_buffer;
  116886. t1.writeCharCode$1(35);
  116887. t1.write$1(0, id.name);
  116888. },
  116889. visitSelectorList$1(list) {
  116890. var t1, t2, t3, t4, first, t5, _this = this,
  116891. complexes = list.components;
  116892. 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();) {
  116893. t5 = t1.get$current(t1);
  116894. if (first)
  116895. first = false;
  116896. else {
  116897. t3.writeCharCode$1(44);
  116898. if (t5.lineBreak) {
  116899. if (t2)
  116900. t3.write$1(0, t4);
  116901. _this._serialize0$_writeIndentation$0();
  116902. } else if (t2)
  116903. t3.writeCharCode$1(32);
  116904. }
  116905. _this.visitComplexSelector$1(t5);
  116906. }
  116907. },
  116908. visitParentSelector$1($parent) {
  116909. var t1 = this._serialize0$_buffer;
  116910. t1.writeCharCode$1(38);
  116911. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  116912. },
  116913. visitPlaceholderSelector$1(placeholder) {
  116914. var t1 = this._serialize0$_buffer;
  116915. t1.writeCharCode$1(37);
  116916. t1.write$1(0, placeholder.name);
  116917. },
  116918. visitPseudoSelector$1(pseudo) {
  116919. var _0_4, t3,
  116920. t1 = pseudo.name,
  116921. t2 = false;
  116922. if ("not" === t1) {
  116923. _0_4 = pseudo.selector;
  116924. if (_0_4 instanceof A.SelectorList0)
  116925. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  116926. }
  116927. if (t2)
  116928. return;
  116929. t2 = this._serialize0$_buffer;
  116930. t2.writeCharCode$1(58);
  116931. if (!pseudo.isSyntacticClass)
  116932. t2.writeCharCode$1(58);
  116933. t2.write$1(0, t1);
  116934. t1 = pseudo.argument;
  116935. t3 = t1 == null;
  116936. if (t3 && pseudo.selector == null)
  116937. return;
  116938. t2.writeCharCode$1(40);
  116939. if (!t3) {
  116940. t2.write$1(0, t1);
  116941. if (pseudo.selector != null)
  116942. t2.writeCharCode$1(32);
  116943. }
  116944. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  116945. t2.writeCharCode$1(41);
  116946. },
  116947. visitTypeSelector$1(type) {
  116948. this._serialize0$_buffer.write$1(0, type.name);
  116949. },
  116950. visitUniversalSelector$1(universal) {
  116951. var t2,
  116952. t1 = universal.namespace;
  116953. if (t1 != null) {
  116954. t2 = this._serialize0$_buffer;
  116955. t2.write$1(0, t1);
  116956. t2.writeCharCode$1(124);
  116957. }
  116958. this._serialize0$_buffer.writeCharCode$1(42);
  116959. },
  116960. _serialize0$_write$1(value) {
  116961. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  116962. },
  116963. _serialize0$_visitChildren$1($parent) {
  116964. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  116965. t1 = _this._serialize0$_buffer;
  116966. t1.writeCharCode$1(123);
  116967. 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();) {
  116968. t9 = t2.__internal$_current;
  116969. previous0 = t9 == null ? t3._as(t9) : t9;
  116970. if (t7)
  116971. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  116972. else
  116973. t9 = false;
  116974. if (t9)
  116975. continue;
  116976. t9 = previous == null;
  116977. t10 = t9 ? null : t6.call$1(previous);
  116978. if (t10 == null ? false : t10)
  116979. t1.writeCharCode$1(59);
  116980. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  116981. if (t5)
  116982. t1.writeCharCode$1(32);
  116983. savedIndentation = _this._serialize0$_indentation;
  116984. _this._serialize0$_indentation = 0;
  116985. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  116986. _this._serialize0$_indentation = savedIndentation;
  116987. } else {
  116988. if (t5)
  116989. t1.write$1(0, t8);
  116990. ++_this._serialize0$_indentation;
  116991. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  116992. --_this._serialize0$_indentation;
  116993. }
  116994. prePrevious = previous;
  116995. previous = previous0;
  116996. }
  116997. if (previous != null) {
  116998. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  116999. t1.writeCharCode$1(59);
  117000. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  117001. if (t5)
  117002. t1.writeCharCode$1(32);
  117003. } else {
  117004. _this._serialize0$_writeLineFeed$0();
  117005. _this._serialize0$_writeIndentation$0();
  117006. }
  117007. }
  117008. t1.writeCharCode$1(125);
  117009. },
  117010. _serialize0$_requiresSemicolon$1(node) {
  117011. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  117012. },
  117013. _serialize0$_isTrailingComment$2(node, previous) {
  117014. var t1, t2, t3, searchFrom, endOffset, t4, span;
  117015. if (this._serialize0$_style === B.OutputStyle_10)
  117016. return false;
  117017. if (!(node instanceof A.ModifiableCssComment0))
  117018. return false;
  117019. t1 = node.span;
  117020. t2 = t1.get$sourceUrl(t1);
  117021. t3 = previous.get$span(previous);
  117022. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  117023. return false;
  117024. t2 = previous.get$span(previous);
  117025. 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)) {
  117026. t1 = t1.get$start(t1);
  117027. t1 = t1.file.getLine$1(t1.offset);
  117028. t2 = previous.get$span(previous);
  117029. t2 = t2.get$end(t2);
  117030. return t1 === t2.file.getLine$1(t2.offset);
  117031. }
  117032. t2 = t1.get$start(t1);
  117033. t3 = previous.get$span(previous);
  117034. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  117035. if (searchFrom < 0)
  117036. return false;
  117037. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  117038. t2 = previous.get$span(previous);
  117039. t2 = t2.get$file(t2);
  117040. t3 = previous.get$span(previous);
  117041. t3 = t3.get$start(t3);
  117042. t4 = previous.get$span(previous);
  117043. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  117044. t1 = t1.get$start(t1);
  117045. t1 = t1.file.getLine$1(t1.offset);
  117046. t4 = A.FileLocation$_(span.file, span._end);
  117047. return t1 === t4.file.getLine$1(t4.offset);
  117048. },
  117049. _serialize0$_writeLineFeed$0() {
  117050. if (this._serialize0$_style !== B.OutputStyle_10)
  117051. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  117052. },
  117053. _serialize0$_writeIndentation$0() {
  117054. var _this = this;
  117055. if (_this._serialize0$_style === B.OutputStyle_10)
  117056. return;
  117057. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  117058. },
  117059. _serialize0$_writeTimes$2(char, times) {
  117060. var t1, i;
  117061. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  117062. t1.writeCharCode$1(char);
  117063. },
  117064. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  117065. var t1, t2, first, value;
  117066. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  117067. value = t1.get$current(t1);
  117068. if (first)
  117069. first = false;
  117070. else
  117071. t2.write$1(0, text);
  117072. callback.call$1(value);
  117073. }
  117074. },
  117075. _serialize0$_writeBetween$3(iterable, text, callback) {
  117076. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  117077. }
  117078. };
  117079. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  117080. call$0() {
  117081. var t2, t3, _0_0, minimumIndentation,
  117082. t1 = this.$this;
  117083. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  117084. return;
  117085. t2 = this.node;
  117086. t3 = t2.text;
  117087. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  117088. return;
  117089. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  117090. if (_0_0 != null) {
  117091. t2 = t2.span;
  117092. t2 = t2.get$start(t2);
  117093. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  117094. t1._serialize0$_writeIndentation$0();
  117095. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  117096. } else {
  117097. t1._serialize0$_writeIndentation$0();
  117098. t1._serialize0$_buffer.write$1(0, t3);
  117099. }
  117100. },
  117101. $signature: 1
  117102. };
  117103. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  117104. call$0() {
  117105. var t3, _0_0,
  117106. t1 = this.$this,
  117107. t2 = t1._serialize0$_buffer;
  117108. t2.writeCharCode$1(64);
  117109. t3 = this.node;
  117110. t1._serialize0$_write$1(t3.name);
  117111. _0_0 = t3.value;
  117112. if (_0_0 != null) {
  117113. t2.writeCharCode$1(32);
  117114. t1._serialize0$_write$1(_0_0);
  117115. }
  117116. },
  117117. $signature: 1
  117118. };
  117119. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  117120. call$0() {
  117121. var t3, firstQuery, t4, t5,
  117122. t1 = this.$this,
  117123. t2 = t1._serialize0$_buffer;
  117124. t2.write$1(0, "@media");
  117125. t3 = this.node.queries;
  117126. firstQuery = B.JSArray_methods.get$first(t3);
  117127. t4 = t1._serialize0$_style === B.OutputStyle_10;
  117128. t5 = true;
  117129. if (t4)
  117130. if (firstQuery.modifier == null)
  117131. if (firstQuery.type == null) {
  117132. t5 = firstQuery.conditions;
  117133. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  117134. }
  117135. if (t5)
  117136. t2.writeCharCode$1(32);
  117137. t2 = t4 ? "," : ", ";
  117138. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  117139. },
  117140. $signature: 1
  117141. };
  117142. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  117143. call$0() {
  117144. var t3, t4, _0_0,
  117145. t1 = this.$this,
  117146. t2 = t1._serialize0$_buffer;
  117147. t2.write$1(0, "@import");
  117148. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  117149. if (t3)
  117150. t2.writeCharCode$1(32);
  117151. t4 = this.node;
  117152. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  117153. _0_0 = t4.modifiers;
  117154. if (_0_0 != null) {
  117155. if (t3)
  117156. t2.writeCharCode$1(32);
  117157. t2.write$1(0, _0_0);
  117158. }
  117159. },
  117160. $signature: 1
  117161. };
  117162. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  117163. call$0() {
  117164. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  117165. },
  117166. $signature: 0
  117167. };
  117168. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  117169. call$0() {
  117170. var t1 = this.$this,
  117171. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  117172. t3 = t1._serialize0$_buffer;
  117173. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  117174. },
  117175. $signature: 0
  117176. };
  117177. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  117178. call$0() {
  117179. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  117180. },
  117181. $signature: 0
  117182. };
  117183. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  117184. call$0() {
  117185. var t1 = this.$this,
  117186. t2 = t1._serialize0$_buffer;
  117187. t2.write$1(0, "@supports");
  117188. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  117189. t2.writeCharCode$1(32);
  117190. t1._serialize0$_write$1(this.node.condition);
  117191. },
  117192. $signature: 1
  117193. };
  117194. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  117195. call$0() {
  117196. var t1 = this.$this,
  117197. t2 = this.node;
  117198. if (t1._serialize0$_style === B.OutputStyle_10)
  117199. t1._serialize0$_writeFoldedValue$1(t2);
  117200. else
  117201. t1._serialize0$_writeReindentedValue$1(t2);
  117202. },
  117203. $signature: 1
  117204. };
  117205. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  117206. call$0() {
  117207. return this.node.value.value.accept$1(this.$this);
  117208. },
  117209. $signature: 0
  117210. };
  117211. A._SerializeVisitor_visitList_closure2.prototype = {
  117212. call$1(element) {
  117213. return !element.get$isBlank();
  117214. },
  117215. $signature: 52
  117216. };
  117217. A._SerializeVisitor_visitList_closure3.prototype = {
  117218. call$1(element) {
  117219. var t1 = this.$this,
  117220. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  117221. if (needsParens)
  117222. t1._serialize0$_buffer.writeCharCode$1(40);
  117223. element.accept$1(t1);
  117224. if (needsParens)
  117225. t1._serialize0$_buffer.writeCharCode$1(41);
  117226. },
  117227. $signature: 58
  117228. };
  117229. A._SerializeVisitor_visitList_closure4.prototype = {
  117230. call$1(element) {
  117231. element.accept$1(this.$this);
  117232. },
  117233. $signature: 58
  117234. };
  117235. A._SerializeVisitor_visitMap_closure0.prototype = {
  117236. call$1(entry) {
  117237. var t1 = this.$this;
  117238. t1._serialize0$_writeMapElement$1(entry.key);
  117239. t1._serialize0$_buffer.write$1(0, ": ");
  117240. t1._serialize0$_writeMapElement$1(entry.value);
  117241. },
  117242. $signature: 576
  117243. };
  117244. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  117245. call$1(complex) {
  117246. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  117247. },
  117248. $signature: 19
  117249. };
  117250. A._SerializeVisitor__write_closure0.prototype = {
  117251. call$0() {
  117252. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  117253. },
  117254. $signature: 0
  117255. };
  117256. A._SerializeVisitor__visitChildren_closure1.prototype = {
  117257. call$0() {
  117258. return this.child.accept$1(this.$this);
  117259. },
  117260. $signature: 0
  117261. };
  117262. A._SerializeVisitor__visitChildren_closure2.prototype = {
  117263. call$0() {
  117264. this.child.accept$1(this.$this);
  117265. },
  117266. $signature: 0
  117267. };
  117268. A.OutputStyle0.prototype = {
  117269. _enumToString$0() {
  117270. return "OutputStyle." + this._name;
  117271. }
  117272. };
  117273. A.LineFeed0.prototype = {
  117274. _enumToString$0() {
  117275. return "LineFeed." + this._name;
  117276. },
  117277. toString$0(_) {
  117278. return this.name;
  117279. }
  117280. };
  117281. A.JSSet.prototype = {};
  117282. A.ShadowedModuleView0.prototype = {
  117283. get$url(_) {
  117284. var t1 = this._shadowed_view0$_inner;
  117285. return t1.get$url(t1);
  117286. },
  117287. get$upstream() {
  117288. return this._shadowed_view0$_inner.get$upstream();
  117289. },
  117290. get$extensionStore() {
  117291. return this._shadowed_view0$_inner.get$extensionStore();
  117292. },
  117293. get$css(_) {
  117294. var t1 = this._shadowed_view0$_inner;
  117295. return t1.get$css(t1);
  117296. },
  117297. get$preModuleComments() {
  117298. return this._shadowed_view0$_inner.get$preModuleComments();
  117299. },
  117300. get$transitivelyContainsCss() {
  117301. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  117302. },
  117303. get$transitivelyContainsExtensions() {
  117304. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  117305. },
  117306. setVariable$3($name, value, nodeWithSpan) {
  117307. if (!this.variables.containsKey$1($name))
  117308. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  117309. else
  117310. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  117311. },
  117312. variableIdentity$1($name) {
  117313. return this._shadowed_view0$_inner.variableIdentity$1($name);
  117314. },
  117315. $eq(_, other) {
  117316. var t1, t2, t3, _this = this;
  117317. if (other == null)
  117318. return false;
  117319. t1 = false;
  117320. if (other instanceof A.ShadowedModuleView0)
  117321. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  117322. t2 = _this.variables;
  117323. t2 = t2.get$keys(t2);
  117324. t3 = other.variables;
  117325. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117326. t2 = _this.functions;
  117327. t2 = t2.get$keys(t2);
  117328. t3 = other.functions;
  117329. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117330. t1 = _this.mixins;
  117331. t1 = t1.get$keys(t1);
  117332. t2 = other.mixins;
  117333. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  117334. t1 = t2;
  117335. }
  117336. }
  117337. }
  117338. return t1;
  117339. },
  117340. get$hashCode(_) {
  117341. var t1 = this._shadowed_view0$_inner;
  117342. return t1.get$hashCode(t1);
  117343. },
  117344. cloneCss$0() {
  117345. var _this = this;
  117346. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  117347. },
  117348. toString$0(_) {
  117349. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  117350. },
  117351. $isModule1: 1,
  117352. get$variables() {
  117353. return this.variables;
  117354. },
  117355. get$variableNodes() {
  117356. return this.variableNodes;
  117357. },
  117358. get$functions(receiver) {
  117359. return this.functions;
  117360. },
  117361. get$mixins() {
  117362. return this.mixins;
  117363. }
  117364. };
  117365. A.SilentComment0.prototype = {
  117366. accept$1$1(visitor) {
  117367. return visitor.visitSilentComment$1(0, this);
  117368. },
  117369. accept$1(visitor) {
  117370. return this.accept$1$1(visitor, type$.dynamic);
  117371. },
  117372. toString$0(_) {
  117373. return this.text;
  117374. },
  117375. get$span(receiver) {
  117376. return this.span;
  117377. }
  117378. };
  117379. A.SimpleSelector0.prototype = {
  117380. get$specificity() {
  117381. return 1000;
  117382. },
  117383. get$hasComplicatedSuperselectorSemantics() {
  117384. return false;
  117385. },
  117386. addSuffix$1(suffix) {
  117387. 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));
  117388. },
  117389. unify$1(compound) {
  117390. var other, result, addedThis, _i, simple, _this = this,
  117391. t1 = false;
  117392. if (compound.length === 1) {
  117393. other = compound[0];
  117394. if (!(other instanceof A.UniversalSelector0)) {
  117395. if (other instanceof A.PseudoSelector0)
  117396. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  117397. } else
  117398. t1 = true;
  117399. } else
  117400. other = null;
  117401. if (t1)
  117402. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  117403. if (B.JSArray_methods.contains$1(compound, _this))
  117404. return compound;
  117405. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  117406. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  117407. simple = compound[_i];
  117408. if (!addedThis && simple instanceof A.PseudoSelector0) {
  117409. result.push(_this);
  117410. addedThis = true;
  117411. }
  117412. result.push(simple);
  117413. }
  117414. if (!addedThis)
  117415. result.push(_this);
  117416. return result;
  117417. },
  117418. isSuperselector$1(other) {
  117419. var list;
  117420. if (this.$eq(0, other))
  117421. return true;
  117422. if (other instanceof A.PseudoSelector0 && other.isClass) {
  117423. list = other.selector;
  117424. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  117425. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  117426. }
  117427. return false;
  117428. }
  117429. };
  117430. A.SimpleSelector_isSuperselector_closure0.prototype = {
  117431. call$1(complex) {
  117432. var t1 = complex.components;
  117433. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  117434. },
  117435. $signature: 19
  117436. };
  117437. A.SimpleSelector_isSuperselector__closure0.prototype = {
  117438. call$1(simple) {
  117439. return this.$this.isSuperselector$1(simple);
  117440. },
  117441. $signature: 13
  117442. };
  117443. A.SingleUnitSassNumber0.prototype = {
  117444. get$numeratorUnits(_) {
  117445. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  117446. },
  117447. get$denominatorUnits(_) {
  117448. return B.List_empty;
  117449. },
  117450. get$hasUnits() {
  117451. return true;
  117452. },
  117453. get$hasComplexUnits() {
  117454. return false;
  117455. },
  117456. withValue$1(value) {
  117457. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  117458. },
  117459. withSlash$2(numerator, denominator) {
  117460. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  117461. },
  117462. hasUnit$1(unit) {
  117463. return unit === this._single_unit$_unit;
  117464. },
  117465. hasCompatibleUnits$1(other) {
  117466. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  117467. },
  117468. hasPossiblyCompatibleUnits$1(other) {
  117469. var t1, knownCompatibilities, otherUnit;
  117470. if (!(other instanceof A.SingleUnitSassNumber0))
  117471. return false;
  117472. t1 = $.$get$_knownCompatibilitiesByUnit0();
  117473. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  117474. if (knownCompatibilities == null)
  117475. return true;
  117476. otherUnit = other._single_unit$_unit.toLowerCase();
  117477. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  117478. },
  117479. compatibleWithUnit$1(unit) {
  117480. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  117481. },
  117482. coerceToMatch$3(other, $name, otherName) {
  117483. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117484. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  117485. },
  117486. coerceToMatch$1(other) {
  117487. return this.coerceToMatch$3(other, null, null);
  117488. },
  117489. coerceValueToMatch$3(other, $name, otherName) {
  117490. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117491. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  117492. },
  117493. coerceValueToMatch$1(other) {
  117494. return this.coerceValueToMatch$3(other, null, null);
  117495. },
  117496. convertToMatch$3(other, $name, otherName) {
  117497. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117498. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  117499. },
  117500. convertValueToMatch$3(other, $name, otherName) {
  117501. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117502. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  117503. },
  117504. convertValueToMatch$1(other) {
  117505. return this.convertValueToMatch$3(other, null, null);
  117506. },
  117507. coerce$3(newNumerators, newDenominators, $name) {
  117508. var t1 = J.getInterceptor$asx(newNumerators);
  117509. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  117510. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  117511. },
  117512. coerce$2(newNumerators, newDenominators) {
  117513. return this.coerce$3(newNumerators, newDenominators, null);
  117514. },
  117515. coerceValue$3(newNumerators, newDenominators, $name) {
  117516. var t1 = J.getInterceptor$asx(newNumerators);
  117517. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  117518. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  117519. },
  117520. coerceValueToUnit$2(unit, $name) {
  117521. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  117522. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  117523. },
  117524. coerceValueToUnit$1(unit) {
  117525. return this.coerceValueToUnit$2(unit, null);
  117526. },
  117527. _single_unit$_coerceToUnit$1(unit) {
  117528. var t1 = this._single_unit$_unit;
  117529. if (t1 === unit)
  117530. return this;
  117531. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  117532. },
  117533. _single_unit$_coerceValueToUnit$1(unit) {
  117534. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  117535. },
  117536. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  117537. var mutableOtherDenominators, t1 = {};
  117538. t1.value = value;
  117539. t1.newNumerators = otherNumerators;
  117540. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  117541. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  117542. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  117543. },
  117544. unaryMinus$0() {
  117545. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  117546. },
  117547. $eq(_, other) {
  117548. var factor;
  117549. if (other == null)
  117550. return false;
  117551. if (other instanceof A.SingleUnitSassNumber0) {
  117552. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  117553. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  117554. } else
  117555. return false;
  117556. },
  117557. get$hashCode(_) {
  117558. var _this = this,
  117559. t1 = _this.hashCache;
  117560. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  117561. }
  117562. };
  117563. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  117564. call$1(factor) {
  117565. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  117566. },
  117567. $signature: 577
  117568. };
  117569. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  117570. call$1(factor) {
  117571. return this.$this._number1$_value * factor;
  117572. },
  117573. $signature: 16
  117574. };
  117575. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  117576. call$1(denominator) {
  117577. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  117578. if (factor == null)
  117579. return false;
  117580. this._box_0.value *= factor;
  117581. return true;
  117582. },
  117583. $signature: 5
  117584. };
  117585. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  117586. call$0() {
  117587. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  117588. t2 = this._box_0;
  117589. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  117590. t2.newNumerators = t1;
  117591. },
  117592. $signature: 0
  117593. };
  117594. A.SourceInterpolationVisitor.prototype = {
  117595. visitBinaryOperationExpression$1(_, node) {
  117596. return this.buffer = null;
  117597. },
  117598. visitBooleanExpression$1(_, node) {
  117599. return this.buffer = null;
  117600. },
  117601. visitColorExpression$1(_, node) {
  117602. var t2,
  117603. t1 = this.buffer;
  117604. if (t1 != null) {
  117605. t2 = node.span.get$text();
  117606. t1 = t1._interpolation_buffer0$_text;
  117607. t1._contents += t2;
  117608. }
  117609. return null;
  117610. },
  117611. visitFunctionExpression$1(_, node) {
  117612. return this.buffer = null;
  117613. },
  117614. visitInterpolatedFunctionExpression$1(_, node) {
  117615. var t1 = this.buffer;
  117616. if (t1 != null)
  117617. t1.addInterpolation$1(node.name);
  117618. this._visitArguments$1(node.$arguments);
  117619. },
  117620. _visitArguments$1($arguments) {
  117621. var t2, t3, _this = this,
  117622. t1 = $arguments.named;
  117623. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  117624. return;
  117625. t1 = $arguments.positional;
  117626. if (t1.length === 0) {
  117627. t1 = _this.buffer;
  117628. if (t1 != null) {
  117629. t2 = $arguments.span.get$text();
  117630. t1 = t1._interpolation_buffer0$_text;
  117631. t1._contents += t2;
  117632. }
  117633. return;
  117634. }
  117635. t2 = _this.buffer;
  117636. if (t2 != null) {
  117637. t3 = A.SpanExtensions_before($arguments.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117638. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  117639. t2 = t2._interpolation_buffer0$_text;
  117640. t2._contents += t3;
  117641. }
  117642. _this._writeListAndBetween$2(t1, null);
  117643. t2 = _this.buffer;
  117644. if (t2 != null) {
  117645. t1 = A.SpanExtensions_after($arguments.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117646. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117647. t2 = t2._interpolation_buffer0$_text;
  117648. t2._contents += t1;
  117649. }
  117650. },
  117651. visitIfExpression$1(_, node) {
  117652. return this.buffer = null;
  117653. },
  117654. visitListExpression$1(_, node) {
  117655. var t3, t4, _this = this,
  117656. t1 = node.contents,
  117657. t2 = t1.length;
  117658. if (t2 <= 1 && !node.hasBrackets) {
  117659. _this.buffer = null;
  117660. return;
  117661. }
  117662. t3 = node.hasBrackets;
  117663. if (t3 && t2 === 0) {
  117664. t1 = _this.buffer;
  117665. if (t1 != null) {
  117666. t2 = node.span.get$text();
  117667. t1 = t1._interpolation_buffer0$_text;
  117668. t1._contents += t2;
  117669. }
  117670. return;
  117671. }
  117672. if (t3) {
  117673. t2 = _this.buffer;
  117674. if (t2 != null) {
  117675. t4 = A.SpanExtensions_before(node.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  117676. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  117677. t2 = t2._interpolation_buffer0$_text;
  117678. t2._contents += t4;
  117679. }
  117680. }
  117681. _this._writeListAndBetween$1(t1);
  117682. if (t3) {
  117683. t2 = _this.buffer;
  117684. if (t2 != null) {
  117685. t1 = A.SpanExtensions_after(node.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  117686. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117687. t2 = t2._interpolation_buffer0$_text;
  117688. t2._contents += t1;
  117689. }
  117690. }
  117691. },
  117692. visitMapExpression$1(_, node) {
  117693. return this.buffer = null;
  117694. },
  117695. visitNullExpression$1(_, node) {
  117696. return this.buffer = null;
  117697. },
  117698. visitNumberExpression$1(_, node) {
  117699. var t2,
  117700. t1 = this.buffer;
  117701. if (t1 != null) {
  117702. t2 = node.span.get$text();
  117703. t1 = t1._interpolation_buffer0$_text;
  117704. t1._contents += t2;
  117705. }
  117706. return null;
  117707. },
  117708. visitParenthesizedExpression$1(_, node) {
  117709. return this.buffer = null;
  117710. },
  117711. visitSelectorExpression$1(_, node) {
  117712. return this.buffer = null;
  117713. },
  117714. visitStringExpression$1(_, node) {
  117715. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  117716. t1 = node.text;
  117717. if (t1.get$asPlain() != null) {
  117718. t2 = _this.buffer;
  117719. if (t2 != null) {
  117720. t1 = t1.span.get$text();
  117721. t2 = t2._interpolation_buffer0$_text;
  117722. t2._contents += t1;
  117723. }
  117724. return;
  117725. }
  117726. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  117727. span = t1.spanForElement$1(i);
  117728. _0_0 = t2[i];
  117729. t6 = _0_0 instanceof A.Expression0;
  117730. expression = t6 ? _0_0 : null;
  117731. if (t6) {
  117732. if (i === 0) {
  117733. t6 = _this.buffer;
  117734. if (t6 != null) {
  117735. t7 = A.SpanExtensions_before(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. t6 = _this.buffer;
  117744. if (t6 != null) {
  117745. t6._interpolation_buffer0$_flushText$0();
  117746. t6._interpolation_buffer0$_contents.push(expression);
  117747. t6._interpolation_buffer0$_spans.push(span);
  117748. }
  117749. if (i === t4) {
  117750. t6 = _this.buffer;
  117751. if (t6 != null) {
  117752. t7 = A.SpanExtensions_after(t5, span);
  117753. t8 = t7._file$_start;
  117754. t9 = t7.file._decodedChars;
  117755. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  117756. t6 = t6._interpolation_buffer0$_text;
  117757. t6._contents += t9;
  117758. }
  117759. }
  117760. continue;
  117761. }
  117762. t6 = _this.buffer;
  117763. if (t6 != null) {
  117764. t6 = t6._interpolation_buffer0$_text;
  117765. t7 = span.toString$0(0);
  117766. t6._contents += t7;
  117767. }
  117768. }
  117769. },
  117770. visitSupportsExpression$1(_, node) {
  117771. return this.buffer = null;
  117772. },
  117773. visitUnaryOperationExpression$1(_, node) {
  117774. return this.buffer = null;
  117775. },
  117776. visitValueExpression$1(_, node) {
  117777. return this.buffer = null;
  117778. },
  117779. visitVariableExpression$1(_, node) {
  117780. return this.buffer = null;
  117781. },
  117782. _writeListAndBetween$2(expressions, visitor) {
  117783. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  117784. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  117785. expression = expressions[_i];
  117786. if (lastExpression != null) {
  117787. t2 = this.buffer;
  117788. if (t2 != null) {
  117789. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  117790. t4 = t3._file$_start;
  117791. t5 = t3.file._decodedChars;
  117792. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  117793. t2 = t2._interpolation_buffer0$_text;
  117794. t2._contents += t5;
  117795. }
  117796. }
  117797. expression.accept$1(this);
  117798. if (this.buffer == null)
  117799. return;
  117800. }
  117801. },
  117802. _writeListAndBetween$1(expressions) {
  117803. return this._writeListAndBetween$2(expressions, null);
  117804. },
  117805. $isExpressionVisitor: 1
  117806. };
  117807. A.SourceMapBuffer0.prototype = {
  117808. get$_source_map_buffer0$_targetLocation() {
  117809. var t1 = this._source_map_buffer0$_buffer._contents,
  117810. t2 = this._source_map_buffer0$_line;
  117811. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  117812. },
  117813. get$length(_) {
  117814. return this._source_map_buffer0$_buffer._contents.length;
  117815. },
  117816. forSpan$1$2(span, callback) {
  117817. var t1, _this = this,
  117818. wasInSpan = _this._source_map_buffer0$_inSpan;
  117819. _this._source_map_buffer0$_inSpan = true;
  117820. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  117821. try {
  117822. t1 = callback.call$0();
  117823. return t1;
  117824. } finally {
  117825. _this._source_map_buffer0$_inSpan = wasInSpan;
  117826. }
  117827. },
  117828. forSpan$2(span, callback) {
  117829. return this.forSpan$1$2(span, callback, type$.dynamic);
  117830. },
  117831. _source_map_buffer0$_addEntry$2(source, target) {
  117832. var entry, t2,
  117833. t1 = this._source_map_buffer0$_entries;
  117834. if (t1.length !== 0) {
  117835. entry = B.JSArray_methods.get$last(t1);
  117836. t2 = entry.source;
  117837. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  117838. return;
  117839. if (entry.target.offset === target.offset)
  117840. return;
  117841. }
  117842. t1.push(new A.Entry(source, target, null));
  117843. },
  117844. write$1(_, object) {
  117845. var t1, i,
  117846. string = J.toString$0$(object);
  117847. this._source_map_buffer0$_buffer._contents += string;
  117848. for (t1 = string.length, i = 0; i < t1; ++i)
  117849. if (string.charCodeAt(i) === 10)
  117850. this._source_map_buffer0$_writeLine$0();
  117851. else
  117852. ++this._source_map_buffer0$_column;
  117853. },
  117854. writeCharCode$1(charCode) {
  117855. var t1 = this._source_map_buffer0$_buffer,
  117856. t2 = A.Primitives_stringFromCharCode(charCode);
  117857. t1._contents += t2;
  117858. if (charCode === 10)
  117859. this._source_map_buffer0$_writeLine$0();
  117860. else
  117861. ++this._source_map_buffer0$_column;
  117862. },
  117863. _source_map_buffer0$_writeLine$0() {
  117864. var _this = this,
  117865. t1 = _this._source_map_buffer0$_entries;
  117866. 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)
  117867. t1.pop();
  117868. ++_this._source_map_buffer0$_line;
  117869. _this._source_map_buffer0$_column = 0;
  117870. if (_this._source_map_buffer0$_inSpan)
  117871. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  117872. },
  117873. toString$0(_) {
  117874. var t1 = this._source_map_buffer0$_buffer._contents;
  117875. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117876. },
  117877. buildSourceMap$1$prefix(prefix) {
  117878. var i, t2, prefixColumn, _box_0 = {},
  117879. t1 = prefix.length;
  117880. if (t1 === 0)
  117881. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  117882. _box_0.prefixColumn = _box_0.prefixLines = 0;
  117883. for (i = 0, t2 = 0; i < t1; ++i)
  117884. if (prefix.charCodeAt(i) === 10) {
  117885. ++_box_0.prefixLines;
  117886. _box_0.prefixColumn = 0;
  117887. t2 = 0;
  117888. } else {
  117889. prefixColumn = t2 + 1;
  117890. _box_0.prefixColumn = prefixColumn;
  117891. t2 = prefixColumn;
  117892. }
  117893. t2 = this._source_map_buffer0$_entries;
  117894. 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>")));
  117895. }
  117896. };
  117897. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  117898. call$1(entry) {
  117899. var t1 = entry.target,
  117900. t2 = t1.line,
  117901. t3 = this._box_0,
  117902. t4 = t3.prefixLines;
  117903. t3 = t2 === 0 ? t3.prefixColumn : 0;
  117904. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  117905. },
  117906. $signature: 206
  117907. };
  117908. A.updateSourceSpanPrototype_closure.prototype = {
  117909. call$0() {
  117910. return this.span;
  117911. },
  117912. $signature: 28
  117913. };
  117914. A.updateSourceSpanPrototype_closure0.prototype = {
  117915. call$1(span) {
  117916. return span.get$start(span);
  117917. },
  117918. $signature: 207
  117919. };
  117920. A.updateSourceSpanPrototype_closure1.prototype = {
  117921. call$1(span) {
  117922. return span.get$end(span);
  117923. },
  117924. $signature: 207
  117925. };
  117926. A.updateSourceSpanPrototype_closure2.prototype = {
  117927. call$1(span) {
  117928. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  117929. },
  117930. $signature: 579
  117931. };
  117932. A.updateSourceSpanPrototype__closure.prototype = {
  117933. call$1(url) {
  117934. var t1, _null = null;
  117935. if (url.get$scheme() === "") {
  117936. t1 = $.$get$context();
  117937. 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));
  117938. } else
  117939. t1 = url;
  117940. return new self.URL(t1.toString$0(0));
  117941. },
  117942. $signature: 250
  117943. };
  117944. A.updateSourceSpanPrototype_closure3.prototype = {
  117945. call$1(span) {
  117946. return span.get$text();
  117947. },
  117948. $signature: 156
  117949. };
  117950. A.updateSourceSpanPrototype_closure4.prototype = {
  117951. call$1(span) {
  117952. return span.get$context(span);
  117953. },
  117954. $signature: 156
  117955. };
  117956. A.updateSourceSpanPrototype_closure5.prototype = {
  117957. call$1($location) {
  117958. return $location.get$line();
  117959. },
  117960. $signature: 264
  117961. };
  117962. A.updateSourceSpanPrototype_closure6.prototype = {
  117963. call$1($location) {
  117964. return $location.get$column();
  117965. },
  117966. $signature: 264
  117967. };
  117968. A.ColorSpace0.prototype = {
  117969. get$isLegacyInternal() {
  117970. return false;
  117971. },
  117972. get$isPolarInternal() {
  117973. return false;
  117974. },
  117975. convert$5(dest, channel0, channel1, channel2, alpha) {
  117976. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  117977. },
  117978. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  117979. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  117980. $label0$0: {
  117981. t1 = B.HslColorSpace_JQ20 !== dest;
  117982. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  117983. t2 = B.SrgbColorSpace_thf0;
  117984. break $label0$0;
  117985. }
  117986. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  117987. t2 = B.XyzD50ColorSpace_2OB0;
  117988. break $label0$0;
  117989. }
  117990. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  117991. t2 = B.LmsColorSpace_Os30;
  117992. break $label0$0;
  117993. }
  117994. t2 = dest;
  117995. break $label0$0;
  117996. }
  117997. if (t2 === _this) {
  117998. transformedBlue = blue;
  117999. transformedGreen = green;
  118000. transformedRed = red;
  118001. } else {
  118002. linearRed = _this.toLinear$1(red == null ? 0 : red);
  118003. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  118004. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  118005. matrix = _this.transformationMatrix$1(t2);
  118006. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  118007. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  118008. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  118009. }
  118010. $label1$1: {
  118011. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118012. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  118013. break $label1$1;
  118014. }
  118015. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118016. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118017. break $label1$1;
  118018. }
  118019. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118020. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118021. break $label1$1;
  118022. }
  118023. t1 = red == null ? null : transformedRed;
  118024. t2 = green == null ? null : transformedGreen;
  118025. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  118026. break $label1$1;
  118027. }
  118028. return t1;
  118029. },
  118030. convertLinear$5(dest, red, green, blue, alpha) {
  118031. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  118032. },
  118033. toLinear$1(channel) {
  118034. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118035. },
  118036. fromLinear$1(channel) {
  118037. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118038. },
  118039. transformationMatrix$1(dest) {
  118040. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  118041. },
  118042. toString$0(_) {
  118043. return this.name;
  118044. }
  118045. };
  118046. A.SrgbColorSpace0.prototype = {
  118047. get$isBoundedInternal() {
  118048. return true;
  118049. },
  118050. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  118051. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  118052. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  118053. if (red == null)
  118054. red = 0;
  118055. if (green == null)
  118056. green = 0;
  118057. if (blue == null)
  118058. blue = 0;
  118059. max = Math.max(Math.max(red, green), blue);
  118060. min = Math.min(Math.min(red, green), blue);
  118061. delta = max - min;
  118062. if (max === min)
  118063. hue = 0;
  118064. else if (max === red)
  118065. hue = 60 * (green - blue) / delta + 360;
  118066. else
  118067. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  118068. if (dest === B.HslColorSpace_JQ20) {
  118069. lightness = (min + max) / 2;
  118070. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  118071. if (saturation < 0) {
  118072. hue += 180;
  118073. saturation = Math.abs(saturation);
  118074. }
  118075. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  118076. t2 = missingChroma ? _null : saturation;
  118077. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  118078. } else {
  118079. whiteness = min * 100;
  118080. blackness = 100 - max * 100;
  118081. if (!missingHue) {
  118082. t1 = whiteness + blackness;
  118083. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  118084. } else
  118085. t1 = true;
  118086. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  118087. }
  118088. }
  118089. if (B.RgbColorSpace_i0P0 === dest) {
  118090. t1 = red == null ? _null : red * 255;
  118091. t2 = green == null ? _null : green * 255;
  118092. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  118093. }
  118094. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  118095. t1 = this.get$toLinear();
  118096. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  118097. }
  118098. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  118099. },
  118100. convert$5(dest, red, green, blue, alpha) {
  118101. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  118102. },
  118103. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  118104. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  118105. },
  118106. toLinear$1(channel) {
  118107. return A.srgbAndDisplayP3ToLinear0(channel);
  118108. },
  118109. fromLinear$1(channel) {
  118110. return A.srgbAndDisplayP3FromLinear0(channel);
  118111. },
  118112. transformationMatrix$1(dest) {
  118113. var t1;
  118114. $label0$0: {
  118115. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118116. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118117. break $label0$0;
  118118. }
  118119. if (B.A98RgbColorSpace_lf20 === dest) {
  118120. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118121. break $label0$0;
  118122. }
  118123. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118124. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118125. break $label0$0;
  118126. }
  118127. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118128. t1 = $.$get$linearSrgbToLinearRec20200();
  118129. break $label0$0;
  118130. }
  118131. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118132. t1 = $.$get$linearSrgbToXyzD650();
  118133. break $label0$0;
  118134. }
  118135. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118136. t1 = $.$get$linearSrgbToXyzD500();
  118137. break $label0$0;
  118138. }
  118139. if (B.LmsColorSpace_Os30 === dest) {
  118140. t1 = $.$get$linearSrgbToLms0();
  118141. break $label0$0;
  118142. }
  118143. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118144. break $label0$0;
  118145. }
  118146. return t1;
  118147. }
  118148. };
  118149. A.SrgbLinearColorSpace0.prototype = {
  118150. get$isBoundedInternal() {
  118151. return true;
  118152. },
  118153. convert$5(dest, red, green, blue, alpha) {
  118154. var t1;
  118155. $label0$0: {
  118156. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  118157. 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);
  118158. break $label0$0;
  118159. }
  118160. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  118161. break $label0$0;
  118162. }
  118163. return t1;
  118164. },
  118165. toLinear$1(channel) {
  118166. return channel;
  118167. },
  118168. fromLinear$1(channel) {
  118169. return channel;
  118170. },
  118171. transformationMatrix$1(dest) {
  118172. var t1;
  118173. $label0$0: {
  118174. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118175. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118176. break $label0$0;
  118177. }
  118178. if (B.A98RgbColorSpace_lf20 === dest) {
  118179. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118180. break $label0$0;
  118181. }
  118182. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118183. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118184. break $label0$0;
  118185. }
  118186. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118187. t1 = $.$get$linearSrgbToLinearRec20200();
  118188. break $label0$0;
  118189. }
  118190. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118191. t1 = $.$get$linearSrgbToXyzD650();
  118192. break $label0$0;
  118193. }
  118194. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118195. t1 = $.$get$linearSrgbToXyzD500();
  118196. break $label0$0;
  118197. }
  118198. if (B.LmsColorSpace_Os30 === dest) {
  118199. t1 = $.$get$linearSrgbToLms0();
  118200. break $label0$0;
  118201. }
  118202. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118203. break $label0$0;
  118204. }
  118205. return t1;
  118206. }
  118207. };
  118208. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  118209. A.JSStatementVisitor.prototype = {
  118210. visitAtRootRule$1(_, node) {
  118211. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  118212. },
  118213. visitAtRule$1(_, node) {
  118214. return J.visitAtRule$1$x(this._statement$_inner, node);
  118215. },
  118216. visitContentBlock$1(_, node) {
  118217. return J.visitContentBlock$1$x(this._statement$_inner, node);
  118218. },
  118219. visitContentRule$1(_, node) {
  118220. return J.visitContentRule$1$x(this._statement$_inner, node);
  118221. },
  118222. visitDebugRule$1(_, node) {
  118223. return J.visitDebugRule$1$x(this._statement$_inner, node);
  118224. },
  118225. visitDeclaration$1(_, node) {
  118226. return J.visitDeclaration$1$x(this._statement$_inner, node);
  118227. },
  118228. visitEachRule$1(_, node) {
  118229. return J.visitEachRule$1$x(this._statement$_inner, node);
  118230. },
  118231. visitErrorRule$1(_, node) {
  118232. return J.visitErrorRule$1$x(this._statement$_inner, node);
  118233. },
  118234. visitExtendRule$1(_, node) {
  118235. return J.visitExtendRule$1$x(this._statement$_inner, node);
  118236. },
  118237. visitForRule$1(_, node) {
  118238. return J.visitForRule$1$x(this._statement$_inner, node);
  118239. },
  118240. visitForwardRule$1(_, node) {
  118241. return J.visitForwardRule$1$x(this._statement$_inner, node);
  118242. },
  118243. visitFunctionRule$1(_, node) {
  118244. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  118245. },
  118246. visitIfRule$1(_, node) {
  118247. return J.visitIfRule$1$x(this._statement$_inner, node);
  118248. },
  118249. visitImportRule$1(_, node) {
  118250. return J.visitImportRule$1$x(this._statement$_inner, node);
  118251. },
  118252. visitIncludeRule$1(_, node) {
  118253. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  118254. },
  118255. visitLoudComment$1(_, node) {
  118256. return J.visitLoudComment$1$x(this._statement$_inner, node);
  118257. },
  118258. visitMediaRule$1(_, node) {
  118259. return J.visitMediaRule$1$x(this._statement$_inner, node);
  118260. },
  118261. visitMixinRule$1(_, node) {
  118262. return J.visitMixinRule$1$x(this._statement$_inner, node);
  118263. },
  118264. visitReturnRule$1(_, node) {
  118265. return J.visitReturnRule$1$x(this._statement$_inner, node);
  118266. },
  118267. visitSilentComment$1(_, node) {
  118268. return J.visitSilentComment$1$x(this._statement$_inner, node);
  118269. },
  118270. visitStyleRule$1(_, node) {
  118271. return J.visitStyleRule$1$x(this._statement$_inner, node);
  118272. },
  118273. visitStylesheet$1(_, node) {
  118274. return J.visitStylesheet$1$x(this._statement$_inner, node);
  118275. },
  118276. visitSupportsRule$1(_, node) {
  118277. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  118278. },
  118279. visitUseRule$1(_, node) {
  118280. return J.visitUseRule$1$x(this._statement$_inner, node);
  118281. },
  118282. visitVariableDeclaration$1(_, node) {
  118283. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  118284. },
  118285. visitWarnRule$1(_, node) {
  118286. return J.visitWarnRule$1$x(this._statement$_inner, node);
  118287. },
  118288. visitWhileRule$1(_, node) {
  118289. return J.visitWhileRule$1$x(this._statement$_inner, node);
  118290. },
  118291. $isStatementVisitor: 1
  118292. };
  118293. A.JSStatementVisitorObject.prototype = {};
  118294. A.StatementSearchVisitor0.prototype = {
  118295. visitAtRootRule$1(_, node) {
  118296. return this.visitChildren$1(node.children);
  118297. },
  118298. visitAtRule$1(_, node) {
  118299. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118300. },
  118301. visitContentBlock$1(_, node) {
  118302. return this.visitChildren$1(node.children);
  118303. },
  118304. visitContentRule$1(_, node) {
  118305. return null;
  118306. },
  118307. visitDebugRule$1(_, node) {
  118308. return null;
  118309. },
  118310. visitDeclaration$1(_, node) {
  118311. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118312. },
  118313. visitEachRule$1(_, node) {
  118314. return this.visitChildren$1(node.children);
  118315. },
  118316. visitErrorRule$1(_, node) {
  118317. return null;
  118318. },
  118319. visitExtendRule$1(_, node) {
  118320. return null;
  118321. },
  118322. visitForRule$1(_, node) {
  118323. return this.visitChildren$1(node.children);
  118324. },
  118325. visitForwardRule$1(_, node) {
  118326. return null;
  118327. },
  118328. visitFunctionRule$1(_, node) {
  118329. return this.visitChildren$1(node.children);
  118330. },
  118331. visitIfRule$1(_, node) {
  118332. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  118333. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  118334. },
  118335. visitImportRule$1(_, node) {
  118336. return null;
  118337. },
  118338. visitIncludeRule$1(_, node) {
  118339. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  118340. },
  118341. visitLoudComment$1(_, node) {
  118342. return null;
  118343. },
  118344. visitMediaRule$1(_, node) {
  118345. return this.visitChildren$1(node.children);
  118346. },
  118347. visitMixinRule$1(_, node) {
  118348. return this.visitChildren$1(node.children);
  118349. },
  118350. visitReturnRule$1(_, node) {
  118351. return null;
  118352. },
  118353. visitSilentComment$1(_, node) {
  118354. return null;
  118355. },
  118356. visitStyleRule$1(_, node) {
  118357. return this.visitChildren$1(node.children);
  118358. },
  118359. visitStylesheet$1(_, node) {
  118360. return this.visitChildren$1(node.children);
  118361. },
  118362. visitSupportsRule$1(_, node) {
  118363. return this.visitChildren$1(node.children);
  118364. },
  118365. visitUseRule$1(_, node) {
  118366. return null;
  118367. },
  118368. visitVariableDeclaration$1(_, node) {
  118369. return null;
  118370. },
  118371. visitWarnRule$1(_, node) {
  118372. return null;
  118373. },
  118374. visitWhileRule$1(_, node) {
  118375. return this.visitChildren$1(node.children);
  118376. },
  118377. visitChildren$1(children) {
  118378. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  118379. }
  118380. };
  118381. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  118382. call$1(clause) {
  118383. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  118384. },
  118385. $signature() {
  118386. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  118387. }
  118388. };
  118389. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  118390. call$1(child) {
  118391. return child.accept$1(this.$this);
  118392. },
  118393. $signature() {
  118394. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118395. }
  118396. };
  118397. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  118398. call$1(lastClause) {
  118399. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  118400. },
  118401. $signature() {
  118402. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  118403. }
  118404. };
  118405. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  118406. call$1(child) {
  118407. return child.accept$1(this.$this);
  118408. },
  118409. $signature() {
  118410. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118411. }
  118412. };
  118413. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  118414. call$1(child) {
  118415. return child.accept$1(this.$this);
  118416. },
  118417. $signature() {
  118418. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118419. }
  118420. };
  118421. A.StaticImport0.prototype = {
  118422. toString$0(_) {
  118423. var t1 = this.url.toString$0(0),
  118424. t2 = this.modifiers;
  118425. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  118426. },
  118427. $isImport0: 1,
  118428. $isAstNode0: 1,
  118429. $isSassNode: 1,
  118430. get$span(receiver) {
  118431. return this.span;
  118432. }
  118433. };
  118434. A.StderrLogger0.prototype = {
  118435. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  118436. var t3,
  118437. result = new A.StringBuffer(""),
  118438. t1 = deprecation != null,
  118439. showDeprecation = t1 && deprecation !== B.Deprecation_ZVM,
  118440. t2 = this.color;
  118441. if (t2) {
  118442. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  118443. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  118444. if (showDeprecation) {
  118445. t1 = t3 + (" [\x1b[34m" + A.S(deprecation) + "\x1b[0m]");
  118446. result._contents = t1;
  118447. } else
  118448. t1 = t3;
  118449. } else {
  118450. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  118451. if (showDeprecation) {
  118452. t1 = t3 + (" [" + A.S(deprecation) + "]");
  118453. result._contents = t1;
  118454. } else
  118455. t1 = t3;
  118456. }
  118457. if (span == null)
  118458. t1 = result._contents = t1 + (": " + message + "\n");
  118459. else if (trace != null) {
  118460. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  118461. result._contents = t1;
  118462. } else {
  118463. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  118464. result._contents = t1;
  118465. }
  118466. if (trace != null)
  118467. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  118468. A.printError0(result);
  118469. },
  118470. debug$2(_, message, span) {
  118471. var url, t3, t4,
  118472. t1 = span.file,
  118473. t2 = span._file$_start;
  118474. if (A.FileLocation$_(t1, t2).file.url == null)
  118475. url = "-";
  118476. else {
  118477. t3 = A.FileLocation$_(t1, t2).file.url;
  118478. t4 = $.$get$context();
  118479. t3.toString;
  118480. url = t4.prettyUri$1(t3);
  118481. }
  118482. t1 = A.FileLocation$_(t1, t2);
  118483. t1 = t1.file.getLine$1(t1.offset);
  118484. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  118485. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  118486. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  118487. }
  118488. };
  118489. A.StringExpression0.prototype = {
  118490. get$span(_) {
  118491. return this.text.span;
  118492. },
  118493. accept$1$1(visitor) {
  118494. return visitor.visitStringExpression$1(0, this);
  118495. },
  118496. accept$1(visitor) {
  118497. return this.accept$1$1(visitor, type$.dynamic);
  118498. },
  118499. asInterpolation$1$static($static) {
  118500. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  118501. if (!this.hasQuotes)
  118502. return this.text;
  118503. t1 = this.text;
  118504. t2 = t1.contents;
  118505. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  118506. t3 = new A.StringBuffer("");
  118507. t4 = A._setArrayType([], type$.JSArray_Object);
  118508. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  118509. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  118510. t6 = A.Primitives_stringFromCharCode(quote);
  118511. t3._contents += t6;
  118512. for (t6 = t2.length, i = 0; i < t6; ++i) {
  118513. value = t2[i];
  118514. if (value instanceof A.Expression0) {
  118515. t7 = t1.spanForElement$1(i);
  118516. buffer._interpolation_buffer0$_flushText$0();
  118517. t4.push(value);
  118518. t5.push(t7);
  118519. continue;
  118520. }
  118521. if (typeof value == "string")
  118522. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  118523. }
  118524. t2 = A.Primitives_stringFromCharCode(quote);
  118525. t3._contents += t2;
  118526. return buffer.interpolation$1(t1.span);
  118527. },
  118528. asInterpolation$0() {
  118529. return this.asInterpolation$1$static(false);
  118530. },
  118531. toString$0(_) {
  118532. return this.asInterpolation$0().toString$0(0);
  118533. }
  118534. };
  118535. A.module_closure25.prototype = {
  118536. call$1($arguments) {
  118537. var limit, t2, chunks, i, lastEnd, match, t3,
  118538. t1 = J.getInterceptor$asx($arguments),
  118539. string = t1.$index($arguments, 0).assertString$1("string"),
  118540. separator = t1.$index($arguments, 1).assertString$1("separator");
  118541. t1 = t1.$index($arguments, 2).get$realNull();
  118542. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  118543. if (limit != null && limit < 1)
  118544. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  118545. t1 = string._string0$_text;
  118546. if (t1.length === 0)
  118547. return B.SassList_qAD0;
  118548. else {
  118549. t2 = separator._string0$_text;
  118550. if (t2.length === 0)
  118551. 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);
  118552. }
  118553. chunks = A._setArrayType([], type$.JSArray_String);
  118554. 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();) {
  118555. match = t2.__js_helper$_current;
  118556. t3 = match.start;
  118557. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  118558. lastEnd = t3 + match.pattern.length;
  118559. ++i;
  118560. if (i === limit)
  118561. break;
  118562. }
  118563. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  118564. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_qVN0, true);
  118565. },
  118566. $signature: 27
  118567. };
  118568. A.module__closure3.prototype = {
  118569. call$1(rune) {
  118570. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  118571. },
  118572. $signature: 583
  118573. };
  118574. A.module__closure4.prototype = {
  118575. call$1(chunk) {
  118576. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  118577. },
  118578. $signature: 584
  118579. };
  118580. A._unquote_closure0.prototype = {
  118581. call$1($arguments) {
  118582. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118583. if (!string._string0$_hasQuotes)
  118584. return string;
  118585. return new A.SassString0(string._string0$_text, false);
  118586. },
  118587. $signature: 17
  118588. };
  118589. A._quote_closure0.prototype = {
  118590. call$1($arguments) {
  118591. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118592. if (string._string0$_hasQuotes)
  118593. return string;
  118594. return new A.SassString0(string._string0$_text, true);
  118595. },
  118596. $signature: 17
  118597. };
  118598. A._length_closure1.prototype = {
  118599. call$1($arguments) {
  118600. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  118601. },
  118602. $signature: 23
  118603. };
  118604. A._insert_closure0.prototype = {
  118605. call$1($arguments) {
  118606. var indexInt, codeUnitIndex, _s5_ = "index",
  118607. t1 = J.getInterceptor$asx($arguments),
  118608. string = t1.$index($arguments, 0).assertString$1("string"),
  118609. insert = t1.$index($arguments, 1).assertString$1("insert"),
  118610. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  118611. index.assertNoUnits$1(_s5_);
  118612. indexInt = index.assertInt$1(_s5_);
  118613. if (indexInt < 0)
  118614. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  118615. t1 = string._string0$_text;
  118616. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  118617. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  118618. },
  118619. $signature: 17
  118620. };
  118621. A._index_closure1.prototype = {
  118622. call$1($arguments) {
  118623. var t1 = J.getInterceptor$asx($arguments),
  118624. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  118625. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  118626. if (codeUnitIndex === -1)
  118627. return B.C__SassNull0;
  118628. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  118629. },
  118630. $signature: 3
  118631. };
  118632. A._slice_closure0.prototype = {
  118633. call$1($arguments) {
  118634. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  118635. _s8_ = "start-at",
  118636. t1 = J.getInterceptor$asx($arguments),
  118637. string = t1.$index($arguments, 0).assertString$1("string"),
  118638. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  118639. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  118640. start.assertNoUnits$1(_s8_);
  118641. end.assertNoUnits$1("end-at");
  118642. lengthInCodepoints = string.get$_string0$_sassLength();
  118643. endInt = end.assertInt$0();
  118644. if (endInt === 0)
  118645. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118646. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  118647. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  118648. if (endCodepoint === lengthInCodepoints)
  118649. --endCodepoint;
  118650. if (endCodepoint < startCodepoint)
  118651. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118652. t1 = string._string0$_text;
  118653. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  118654. },
  118655. $signature: 17
  118656. };
  118657. A._toUpperCase_closure0.prototype = {
  118658. call$1($arguments) {
  118659. var t1, t2, i, t3, t4,
  118660. string = J.$index$asx($arguments, 0).assertString$1("string");
  118661. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118662. t4 = t1.charCodeAt(i);
  118663. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  118664. }
  118665. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118666. },
  118667. $signature: 17
  118668. };
  118669. A._toLowerCase_closure0.prototype = {
  118670. call$1($arguments) {
  118671. var t1, t2, i, t3, t4,
  118672. string = J.$index$asx($arguments, 0).assertString$1("string");
  118673. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  118674. t4 = t1.charCodeAt(i);
  118675. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  118676. }
  118677. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  118678. },
  118679. $signature: 17
  118680. };
  118681. A._uniqueId_closure0.prototype = {
  118682. call$1($arguments) {
  118683. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  118684. $._previousUniqueId0 = t1;
  118685. if (t1 > Math.pow(36, 6))
  118686. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  118687. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  118688. },
  118689. $signature: 17
  118690. };
  118691. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  118692. call$1(character) {
  118693. var _0_0,
  118694. t1 = this.buffer,
  118695. t2 = A.Primitives_stringFromCharCode(92);
  118696. t1._contents += t2;
  118697. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  118698. t1._contents += t2;
  118699. _0_0 = this.scanner.peekChar$0();
  118700. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  118701. t2 = A.Primitives_stringFromCharCode(32);
  118702. t1._contents += t2;
  118703. }
  118704. },
  118705. $signature: 259
  118706. };
  118707. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  118708. call$1(character) {
  118709. var t2, t3,
  118710. t1 = this.scanner,
  118711. _1_0 = t1.peekChar$1(1);
  118712. if (_1_0 == null || _1_0 >>> 10 !== 55)
  118713. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  118714. else if (character >>> 7 === 439)
  118715. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  118716. else {
  118717. t2 = this.buffer;
  118718. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118719. t2._contents += t3;
  118720. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  118721. t2._contents += t1;
  118722. }
  118723. },
  118724. $signature: 259
  118725. };
  118726. A.stringClass_closure.prototype = {
  118727. call$0() {
  118728. var t2,
  118729. t1 = type$.JSClass,
  118730. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  118731. 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));
  118732. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  118733. t2 = $.$get$_emptyQuoted0();
  118734. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  118735. return jsClass;
  118736. },
  118737. $signature: 15
  118738. };
  118739. A.stringClass__closure.prototype = {
  118740. call$3($self, textOrOptions, options) {
  118741. var t1;
  118742. if (typeof textOrOptions == "string") {
  118743. t1 = options == null ? null : J.get$quotes$x(options);
  118744. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  118745. } else {
  118746. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  118747. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  118748. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118749. }
  118750. return t1;
  118751. },
  118752. call$1($self) {
  118753. return this.call$3($self, null, null);
  118754. },
  118755. call$2($self, textOrOptions) {
  118756. return this.call$3($self, textOrOptions, null);
  118757. },
  118758. "call*": "call$3",
  118759. $requiredArgCount: 1,
  118760. $defaultValues() {
  118761. return [null, null];
  118762. },
  118763. $signature: 586
  118764. };
  118765. A.stringClass__closure0.prototype = {
  118766. call$1($self) {
  118767. return $self._string0$_text;
  118768. },
  118769. $signature: 587
  118770. };
  118771. A.stringClass__closure1.prototype = {
  118772. call$1($self) {
  118773. return $self._string0$_hasQuotes;
  118774. },
  118775. $signature: 588
  118776. };
  118777. A.stringClass__closure2.prototype = {
  118778. call$1($self) {
  118779. return $self.get$_string0$_sassLength();
  118780. },
  118781. $signature: 589
  118782. };
  118783. A.stringClass__closure3.prototype = {
  118784. call$3($self, sassIndex, $name) {
  118785. var t1,
  118786. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  118787. if (index === 0)
  118788. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  118789. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  118790. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  118791. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  118792. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  118793. },
  118794. call$2($self, sassIndex) {
  118795. return this.call$3($self, sassIndex, null);
  118796. },
  118797. "call*": "call$3",
  118798. $requiredArgCount: 2,
  118799. $defaultValues() {
  118800. return [null];
  118801. },
  118802. $signature: 590
  118803. };
  118804. A._ConstructorOptions1.prototype = {};
  118805. A._NodeSassString.prototype = {};
  118806. A.legacyStringClass_closure.prototype = {
  118807. call$3(thisArg, value, dartValue) {
  118808. var t1;
  118809. if (dartValue == null) {
  118810. value.toString;
  118811. t1 = new A.SassString0(value, false);
  118812. } else
  118813. t1 = dartValue;
  118814. J.set$dartValue$x(thisArg, t1);
  118815. },
  118816. call$2(thisArg, value) {
  118817. return this.call$3(thisArg, value, null);
  118818. },
  118819. "call*": "call$3",
  118820. $requiredArgCount: 2,
  118821. $defaultValues() {
  118822. return [null];
  118823. },
  118824. $signature: 591
  118825. };
  118826. A.legacyStringClass_closure0.prototype = {
  118827. call$1(thisArg) {
  118828. return J.get$dartValue$x(thisArg)._string0$_text;
  118829. },
  118830. $signature: 592
  118831. };
  118832. A.legacyStringClass_closure1.prototype = {
  118833. call$2(thisArg, value) {
  118834. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  118835. },
  118836. $signature: 593
  118837. };
  118838. A.SassString0.prototype = {
  118839. get$_string0$_sassLength() {
  118840. var result, _this = this,
  118841. value = _this._string0$__SassString__sassLength_FI;
  118842. if (value === $) {
  118843. result = new A.Runes(_this._string0$_text).get$length(0);
  118844. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  118845. _this._string0$__SassString__sassLength_FI = result;
  118846. value = result;
  118847. }
  118848. return value;
  118849. },
  118850. get$isSpecialNumber() {
  118851. var t1, _2_0, t2, _0_0, _1_0;
  118852. if (this._string0$_hasQuotes)
  118853. return false;
  118854. t1 = this._string0$_text;
  118855. if (t1.length < 6)
  118856. return false;
  118857. _2_0 = t1.charCodeAt(0);
  118858. $label1$1: {
  118859. t2 = false;
  118860. if (99 === _2_0 || 67 === _2_0) {
  118861. _0_0 = t1.charCodeAt(1);
  118862. $label0$0: {
  118863. if (108 === _0_0 || 76 === _0_0) {
  118864. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  118865. break $label0$0;
  118866. }
  118867. if (97 === _0_0 || 65 === _0_0) {
  118868. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  118869. break $label0$0;
  118870. }
  118871. t1 = t2;
  118872. break $label0$0;
  118873. }
  118874. break $label1$1;
  118875. }
  118876. if (118 === _2_0 || 86 === _2_0) {
  118877. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  118878. break $label1$1;
  118879. }
  118880. if (101 === _2_0 || 69 === _2_0) {
  118881. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  118882. break $label1$1;
  118883. }
  118884. if (109 === _2_0 || 77 === _2_0) {
  118885. _1_0 = t1.charCodeAt(1);
  118886. $label2$2: {
  118887. if (97 === _1_0 || 65 === _1_0) {
  118888. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  118889. break $label2$2;
  118890. }
  118891. if (105 === _1_0 || 73 === _1_0) {
  118892. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  118893. break $label2$2;
  118894. }
  118895. t1 = t2;
  118896. break $label2$2;
  118897. }
  118898. break $label1$1;
  118899. }
  118900. t1 = t2;
  118901. break $label1$1;
  118902. }
  118903. return t1;
  118904. },
  118905. get$isVar() {
  118906. if (this._string0$_hasQuotes)
  118907. return false;
  118908. var t1 = this._string0$_text;
  118909. if (t1.length < 8)
  118910. return false;
  118911. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  118912. },
  118913. get$isBlank() {
  118914. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  118915. },
  118916. assertQuoted$1($name) {
  118917. if (this._string0$_hasQuotes)
  118918. return;
  118919. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  118920. },
  118921. assertUnquoted$1($name) {
  118922. if (!this._string0$_hasQuotes)
  118923. return;
  118924. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  118925. },
  118926. assertUnquoted$0() {
  118927. return this.assertUnquoted$1(null);
  118928. },
  118929. accept$1$1(visitor) {
  118930. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  118931. t2 = this._string0$_text;
  118932. if (t1)
  118933. visitor._serialize0$_visitQuotedString$1(t2);
  118934. else
  118935. visitor._serialize0$_visitUnquotedString$1(t2);
  118936. return null;
  118937. },
  118938. accept$1(visitor) {
  118939. return this.accept$1$1(visitor, type$.dynamic);
  118940. },
  118941. assertString$1($name) {
  118942. return this;
  118943. },
  118944. plus$1(other) {
  118945. var t1 = this._string0$_text,
  118946. t2 = this._string0$_hasQuotes;
  118947. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  118948. },
  118949. $eq(_, other) {
  118950. if (other == null)
  118951. return false;
  118952. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  118953. },
  118954. get$hashCode(_) {
  118955. var t1 = this._string0$_hashCache;
  118956. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  118957. }
  118958. };
  118959. A.ModifiableCssStyleRule0.prototype = {
  118960. accept$1$1(visitor) {
  118961. return visitor.visitCssStyleRule$1(this);
  118962. },
  118963. accept$1(visitor) {
  118964. return this.accept$1$1(visitor, type$.dynamic);
  118965. },
  118966. equalsIgnoringChildren$1(other) {
  118967. var t1;
  118968. if (other instanceof A.ModifiableCssStyleRule0)
  118969. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  118970. else
  118971. t1 = false;
  118972. return t1;
  118973. },
  118974. copyWithoutChildren$0() {
  118975. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  118976. },
  118977. $isCssStyleRule0: 1,
  118978. get$span(receiver) {
  118979. return this.span;
  118980. }
  118981. };
  118982. A.StyleRule0.prototype = {
  118983. accept$1$1(visitor) {
  118984. return visitor.visitStyleRule$1(0, this);
  118985. },
  118986. accept$1(visitor) {
  118987. return this.accept$1$1(visitor, type$.dynamic);
  118988. },
  118989. toString$0(_) {
  118990. var t1 = this.children;
  118991. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  118992. },
  118993. get$span(receiver) {
  118994. return this.span;
  118995. }
  118996. };
  118997. A.CssStylesheet0.prototype = {
  118998. get$parent(_) {
  118999. return null;
  119000. },
  119001. get$isGroupEnd() {
  119002. return false;
  119003. },
  119004. get$isChildless() {
  119005. return false;
  119006. },
  119007. accept$1$1(visitor) {
  119008. return visitor.visitCssStylesheet$1(this);
  119009. },
  119010. accept$1(visitor) {
  119011. return this.accept$1$1(visitor, type$.dynamic);
  119012. },
  119013. get$children(receiver) {
  119014. return this.children;
  119015. },
  119016. get$span(receiver) {
  119017. return this.span;
  119018. }
  119019. };
  119020. A.ModifiableCssStylesheet0.prototype = {
  119021. accept$1$1(visitor) {
  119022. return visitor.visitCssStylesheet$1(this);
  119023. },
  119024. accept$1(visitor) {
  119025. return this.accept$1$1(visitor, type$.dynamic);
  119026. },
  119027. equalsIgnoringChildren$1(other) {
  119028. return other instanceof A.ModifiableCssStylesheet0;
  119029. },
  119030. copyWithoutChildren$0() {
  119031. return A.ModifiableCssStylesheet$0(this.span);
  119032. },
  119033. $isCssStylesheet0: 1,
  119034. get$span(receiver) {
  119035. return this.span;
  119036. }
  119037. };
  119038. A.StylesheetParser0.prototype = {
  119039. parse$0(_) {
  119040. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  119041. },
  119042. parseParameterList$0() {
  119043. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  119044. },
  119045. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  119046. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  119047. },
  119048. parseSignature$1$requireParens(requireParens) {
  119049. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  119050. },
  119051. _stylesheet0$_statement$1$root(root) {
  119052. var t2, _this = this,
  119053. t1 = _this.scanner,
  119054. _0_0 = t1.peekChar$0();
  119055. if (64 === _0_0)
  119056. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  119057. if (43 === _0_0) {
  119058. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  119059. return _this._stylesheet0$_styleRule$0();
  119060. _this._stylesheet0$_isUseAllowed = false;
  119061. t2 = t1._string_scanner$_position;
  119062. t1.readChar$0();
  119063. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  119064. }
  119065. if (61 === _0_0) {
  119066. if (!_this.get$indented())
  119067. return _this._stylesheet0$_styleRule$0();
  119068. _this._stylesheet0$_isUseAllowed = false;
  119069. t2 = t1._string_scanner$_position;
  119070. t1.readChar$0();
  119071. _this.whitespace$1$consumeNewlines(true);
  119072. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  119073. }
  119074. if (125 === _0_0)
  119075. t1.error$2$length(0, 'unmatched "}".', 1);
  119076. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  119077. },
  119078. _stylesheet0$_statement$0() {
  119079. return this._stylesheet0$_statement$1$root(false);
  119080. },
  119081. variableDeclarationWithoutNamespace$2(namespace, start_) {
  119082. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  119083. precedingComment = _this.lastSilentComment;
  119084. _this.lastSilentComment = null;
  119085. if (start_ == null) {
  119086. t1 = _this.scanner;
  119087. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119088. } else
  119089. start = start_;
  119090. $name = _this.variableName$0();
  119091. t1 = namespace != null;
  119092. if (t1)
  119093. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  119094. if (_this.get$plainCss())
  119095. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  119096. _this.whitespace$1$consumeNewlines(true);
  119097. t2 = _this.scanner;
  119098. t2.expectChar$1(58);
  119099. _this.whitespace$1$consumeNewlines(true);
  119100. value = _this._stylesheet0$_expression$0();
  119101. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119102. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  119103. $label0$0: {
  119104. _0_0 = _this.identifier$0();
  119105. if ("default" === _0_0) {
  119106. if (guarded) {
  119107. endPosition = t2._string_scanner$_position;
  119108. t4 = t2._sourceFile;
  119109. t5 = flagStart.position;
  119110. t6 = new A._FileSpan(t4, t5, endPosition);
  119111. t6._FileSpan$3(t4, t5, endPosition);
  119112. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21defau, t6));
  119113. }
  119114. guarded = true;
  119115. break $label0$0;
  119116. }
  119117. if ("global" === _0_0) {
  119118. if (t1) {
  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, string$.x21globai, t6);
  119125. } else if (global) {
  119126. endPosition = t2._string_scanner$_position;
  119127. t4 = t2._sourceFile;
  119128. t5 = flagStart.position;
  119129. t6 = new A._FileSpan(t4, t5, endPosition);
  119130. t6._FileSpan$3(t4, t5, endPosition);
  119131. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21globas, t6));
  119132. }
  119133. global = true;
  119134. break $label0$0;
  119135. }
  119136. endPosition = t2._string_scanner$_position;
  119137. t4 = t2._sourceFile;
  119138. t5 = flagStart.position;
  119139. t6 = new A._FileSpan(t4, t5, endPosition);
  119140. t6._FileSpan$3(t4, t5, endPosition);
  119141. _this.error$2(0, "Invalid flag name.", t6);
  119142. }
  119143. _this.whitespace$1$consumeNewlines(false);
  119144. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119145. }
  119146. _this.expectStatementSeparator$1("variable declaration");
  119147. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  119148. if (global)
  119149. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  119150. return declaration;
  119151. },
  119152. variableDeclarationWithoutNamespace$0() {
  119153. return this.variableDeclarationWithoutNamespace$2(null, null);
  119154. },
  119155. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  119156. var t1, t2, variableOrInterpolation, t3, _this = this;
  119157. if (_this.get$plainCss())
  119158. return _this._stylesheet0$_styleRule$0();
  119159. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119160. return _this._stylesheet0$_styleRule$0();
  119161. if (!_this.lookingAtIdentifier$0())
  119162. return _this._stylesheet0$_styleRule$0();
  119163. t1 = _this.scanner;
  119164. t2 = t1._string_scanner$_position;
  119165. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119166. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119167. t1 = variableOrInterpolation;
  119168. else {
  119169. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119170. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119171. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  119172. t1 = t2;
  119173. }
  119174. return t1;
  119175. },
  119176. _stylesheet0$_declarationOrStyleRule$0() {
  119177. var t1, t2, declarationOrBuffer, _this = this;
  119178. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119179. return _this._stylesheet0$_styleRule$0();
  119180. t1 = _this.scanner;
  119181. t2 = t1._string_scanner$_position;
  119182. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  119183. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  119184. },
  119185. _stylesheet0$_declarationOrBuffer$0() {
  119186. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  119187. t1 = _this.scanner,
  119188. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119189. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  119190. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  119191. if (startsWithPunctuation) {
  119192. t2 = t1.readChar$0();
  119193. t3 = nameBuffer._interpolation_buffer0$_text;
  119194. t2 = A.Primitives_stringFromCharCode(t2);
  119195. t3._contents += t2;
  119196. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  119197. t3 = nameBuffer._interpolation_buffer0$_text;
  119198. t3._contents += t2;
  119199. }
  119200. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119201. return nameBuffer;
  119202. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119203. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119204. return variableOrInterpolation;
  119205. else
  119206. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119207. _this._stylesheet0$_isUseAllowed = false;
  119208. if (t1.matches$1("/*")) {
  119209. t2 = _this.rawText$1(_this.get$loudComment());
  119210. t3 = nameBuffer._interpolation_buffer0$_text;
  119211. t3._contents += t2;
  119212. }
  119213. midBuffer = new A.StringBuffer("");
  119214. t2 = midBuffer;
  119215. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  119216. t2._contents += t3;
  119217. t3 = t1._string_scanner$_position;
  119218. if (!t1.scanChar$1(58)) {
  119219. if (midBuffer._contents.length !== 0) {
  119220. t1 = nameBuffer._interpolation_buffer0$_text;
  119221. t2 = A.Primitives_stringFromCharCode(32);
  119222. t1._contents += t2;
  119223. }
  119224. return nameBuffer;
  119225. }
  119226. t2 = midBuffer;
  119227. t4 = A.Primitives_stringFromCharCode(58);
  119228. t2._contents += t4;
  119229. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  119230. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  119231. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  119232. _this.expectStatementSeparator$1("custom property");
  119233. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  119234. }
  119235. if (t1.scanChar$1(58)) {
  119236. t1 = nameBuffer;
  119237. t2 = t1._interpolation_buffer0$_text;
  119238. t3 = A.S(midBuffer);
  119239. t2._contents += t3;
  119240. t3 = A.Primitives_stringFromCharCode(58);
  119241. t2._contents += t3;
  119242. return t1;
  119243. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119244. t1 = nameBuffer;
  119245. t2 = t1._interpolation_buffer0$_text;
  119246. t3 = A.S(midBuffer);
  119247. t2._contents += t3;
  119248. return t1;
  119249. }
  119250. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  119251. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119252. if (_0_0 != null)
  119253. return _0_0;
  119254. midBuffer._contents += postColonWhitespace;
  119255. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  119256. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119257. value = null;
  119258. try {
  119259. value = _this._stylesheet0$_expression$0();
  119260. if (_this.lookingAtChildren$0()) {
  119261. if (couldBeSelector)
  119262. _this.expectStatementSeparator$0();
  119263. } else if (!_this.atEndOfStatement$0())
  119264. _this.expectStatementSeparator$0();
  119265. } catch (exception) {
  119266. if (type$.FormatException._is(A.unwrapException(exception))) {
  119267. if (!couldBeSelector)
  119268. throw exception;
  119269. t1.set$state(beforeDeclaration);
  119270. additional = _this.almostAnyValue$0();
  119271. if (!_this.get$indented() && t1.peekChar$0() === 59)
  119272. throw exception;
  119273. t1 = nameBuffer._interpolation_buffer0$_text;
  119274. t2 = A.S(midBuffer);
  119275. t1._contents += t2;
  119276. nameBuffer.addInterpolation$1(additional);
  119277. return nameBuffer;
  119278. } else
  119279. throw exception;
  119280. }
  119281. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119282. if (_1_0 != null)
  119283. return _1_0;
  119284. else {
  119285. _this.expectStatementSeparator$0();
  119286. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119287. }
  119288. },
  119289. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  119290. var t1, start, identifier, t2, buffer, _this = this;
  119291. if (!_this.lookingAtIdentifier$0())
  119292. return _this.interpolatedIdentifier$0();
  119293. t1 = _this.scanner;
  119294. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119295. identifier = _this.identifier$0();
  119296. if (t1.matches$1(".$")) {
  119297. t1.readChar$0();
  119298. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  119299. } else {
  119300. t2 = new A.StringBuffer("");
  119301. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119302. t2._contents = "" + identifier;
  119303. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  119304. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119305. return buffer.interpolation$1(t1.spanFrom$1(start));
  119306. }
  119307. },
  119308. _stylesheet0$_styleRule$2(buffer, start_) {
  119309. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  119310. _this._stylesheet0$_isUseAllowed = false;
  119311. if (start_ == null) {
  119312. t2 = _this.scanner;
  119313. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119314. } else
  119315. start = start_;
  119316. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  119317. if (buffer != null) {
  119318. buffer.addInterpolation$1(interpolation);
  119319. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  119320. } else
  119321. t2 = interpolation;
  119322. if (t2.contents.length === 0)
  119323. _this.scanner.error$1(0, 'expected "}".');
  119324. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  119325. _this._stylesheet0$_inStyleRule = true;
  119326. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  119327. },
  119328. _stylesheet0$_styleRule$0() {
  119329. return this._stylesheet0$_styleRule$2(null, null);
  119330. },
  119331. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  119332. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  119333. t1 = _this.scanner,
  119334. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119335. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  119336. t2 = new A.StringBuffer("");
  119337. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119338. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119339. t2._contents += t3;
  119340. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  119341. t2._contents += t3;
  119342. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119343. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  119344. } else if (!_this.get$plainCss()) {
  119345. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119346. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119347. return variableOrInterpolation;
  119348. else
  119349. type$.Interpolation_2._as(variableOrInterpolation);
  119350. $name = variableOrInterpolation;
  119351. } else
  119352. $name = _this.interpolatedIdentifier$0();
  119353. _this.whitespace$1$consumeNewlines(false);
  119354. t1.expectChar$1(58);
  119355. _this.whitespace$1$consumeNewlines(false);
  119356. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119357. if (_0_0 != null)
  119358. return _0_0;
  119359. value = _this._stylesheet0$_expression$0();
  119360. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119361. if (_1_0 != null)
  119362. return _1_0;
  119363. else {
  119364. _this.expectStatementSeparator$0();
  119365. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119366. }
  119367. },
  119368. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  119369. var _this = this;
  119370. if (!_this.lookingAtChildren$0())
  119371. return null;
  119372. if (_this.get$plainCss())
  119373. _this.scanner.error$1(0, string$.Nested);
  119374. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  119375. },
  119376. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  119377. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  119378. },
  119379. _stylesheet0$_declarationChild$0() {
  119380. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  119381. },
  119382. atRule$2$root(child, root) {
  119383. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  119384. t1 = _this.scanner,
  119385. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119386. t1.expectChar$2$name(64, "@-rule");
  119387. $name = _this.interpolatedIdentifier$0();
  119388. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  119389. _this._stylesheet0$_isUseAllowed = false;
  119390. switch ($name.get$asPlain()) {
  119391. case "at-root":
  119392. return _this._stylesheet0$_atRootRule$1(start);
  119393. case "content":
  119394. return _this._stylesheet0$_contentRule$1(start);
  119395. case "debug":
  119396. return _this._stylesheet0$_debugRule$1(start);
  119397. case "each":
  119398. return _this._stylesheet0$_eachRule$2(start, child);
  119399. case "else":
  119400. return _this._stylesheet0$_disallowedAtRule$1(start);
  119401. case "error":
  119402. return _this._stylesheet0$_errorRule$1(start);
  119403. case "extend":
  119404. _this.whitespace$1$consumeNewlines(true);
  119405. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  119406. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  119407. value = _this.almostAnyValue$0();
  119408. optional = t1.scanChar$1(33);
  119409. if (optional) {
  119410. _this.expectIdentifier$1("optional");
  119411. _this.whitespace$1$consumeNewlines(false);
  119412. }
  119413. _this.expectStatementSeparator$1("@extend rule");
  119414. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  119415. case "for":
  119416. return _this._stylesheet0$_forRule$2(start, child);
  119417. case "forward":
  119418. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119419. if (!root)
  119420. _this._stylesheet0$_disallowedAtRule$1(start);
  119421. return _this._stylesheet0$_forwardRule$1(start);
  119422. case "function":
  119423. return _this._stylesheet0$_functionRule$1(start);
  119424. case "if":
  119425. return _this._stylesheet0$_ifRule$2(start, child);
  119426. case "import":
  119427. return _this._stylesheet0$_importRule$1(start);
  119428. case "include":
  119429. return _this._stylesheet0$_includeRule$1(start);
  119430. case "media":
  119431. return _this.mediaRule$1(start);
  119432. case "mixin":
  119433. return _this._stylesheet0$_mixinRule$1(start);
  119434. case "-moz-document":
  119435. return _this.mozDocumentRule$2(start, $name);
  119436. case "return":
  119437. return _this._stylesheet0$_disallowedAtRule$1(start);
  119438. case "supports":
  119439. return _this.supportsRule$1(start);
  119440. case "use":
  119441. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119442. if (!root)
  119443. _this._stylesheet0$_disallowedAtRule$1(start);
  119444. _this.whitespace$1$consumeNewlines(true);
  119445. url = _this._stylesheet0$_urlString$0();
  119446. _this.whitespace$1$consumeNewlines(false);
  119447. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  119448. _this.whitespace$1$consumeNewlines(false);
  119449. configuration = _this._stylesheet0$_configuration$0();
  119450. _this.whitespace$1$consumeNewlines(false);
  119451. span = t1.spanFrom$1(start);
  119452. if (!_this._stylesheet0$_isUseAllowed)
  119453. _this.error$2(0, string$.x40use_r, span);
  119454. _this.expectStatementSeparator$1("@use rule");
  119455. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119456. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  119457. return t1;
  119458. case "warn":
  119459. return _this._stylesheet0$_warnRule$1(start);
  119460. case "while":
  119461. return _this._stylesheet0$_whileRule$2(start, child);
  119462. default:
  119463. return _this.unknownAtRule$2(start, $name);
  119464. }
  119465. },
  119466. _stylesheet0$_declarationAtRule$0() {
  119467. var _this = this,
  119468. t1 = _this.scanner,
  119469. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119470. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119471. $label0$0: {
  119472. if ("content" === _0_0) {
  119473. t1 = _this._stylesheet0$_contentRule$1(start);
  119474. break $label0$0;
  119475. }
  119476. if ("debug" === _0_0) {
  119477. t1 = _this._stylesheet0$_debugRule$1(start);
  119478. break $label0$0;
  119479. }
  119480. if ("each" === _0_0) {
  119481. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119482. break $label0$0;
  119483. }
  119484. if ("else" === _0_0)
  119485. _this._stylesheet0$_disallowedAtRule$1(start);
  119486. if ("error" === _0_0) {
  119487. t1 = _this._stylesheet0$_errorRule$1(start);
  119488. break $label0$0;
  119489. }
  119490. if ("for" === _0_0) {
  119491. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119492. break $label0$0;
  119493. }
  119494. if ("if" === _0_0) {
  119495. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119496. break $label0$0;
  119497. }
  119498. if ("include" === _0_0) {
  119499. t1 = _this._stylesheet0$_includeRule$1(start);
  119500. break $label0$0;
  119501. }
  119502. if ("warn" === _0_0) {
  119503. t1 = _this._stylesheet0$_warnRule$1(start);
  119504. break $label0$0;
  119505. }
  119506. if ("while" === _0_0) {
  119507. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119508. break $label0$0;
  119509. }
  119510. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119511. }
  119512. return t1;
  119513. },
  119514. _stylesheet0$_functionChild$0() {
  119515. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  119516. t1 = _this.scanner;
  119517. if (t1.peekChar$0() !== 64) {
  119518. t2 = t1._string_scanner$_position;
  119519. state = new A._SpanScannerState(t1, t2);
  119520. try {
  119521. namespace = _this.identifier$0();
  119522. t1.expectChar$1(46);
  119523. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  119524. return t2;
  119525. } catch (exception) {
  119526. t2 = A.unwrapException(exception);
  119527. t3 = type$.SourceSpanFormatException;
  119528. if (t3._is(t2)) {
  119529. variableDeclarationError = t2;
  119530. stackTrace = A.getTraceFromException(exception);
  119531. t1.set$state(state);
  119532. statement = null;
  119533. try {
  119534. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  119535. } catch (exception) {
  119536. if (t3._is(A.unwrapException(exception)))
  119537. throw A.wrapException(variableDeclarationError);
  119538. else
  119539. throw exception;
  119540. }
  119541. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  119542. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  119543. } else
  119544. throw exception;
  119545. }
  119546. }
  119547. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119548. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119549. $label0$0: {
  119550. if ("debug" === _0_0) {
  119551. t1 = _this._stylesheet0$_debugRule$1(start);
  119552. break $label0$0;
  119553. }
  119554. if ("each" === _0_0) {
  119555. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  119556. break $label0$0;
  119557. }
  119558. if ("else" === _0_0)
  119559. _this._stylesheet0$_disallowedAtRule$1(start);
  119560. if ("error" === _0_0) {
  119561. t1 = _this._stylesheet0$_errorRule$1(start);
  119562. break $label0$0;
  119563. }
  119564. if ("for" === _0_0) {
  119565. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  119566. break $label0$0;
  119567. }
  119568. if ("if" === _0_0) {
  119569. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  119570. break $label0$0;
  119571. }
  119572. if ("return" === _0_0) {
  119573. _this.whitespace$1$consumeNewlines(true);
  119574. value = _this._stylesheet0$_expression$0();
  119575. _this.expectStatementSeparator$1("@return rule");
  119576. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  119577. break $label0$0;
  119578. }
  119579. if ("warn" === _0_0) {
  119580. t1 = _this._stylesheet0$_warnRule$1(start);
  119581. break $label0$0;
  119582. }
  119583. if ("while" === _0_0) {
  119584. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  119585. break $label0$0;
  119586. }
  119587. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119588. }
  119589. return t1;
  119590. },
  119591. _stylesheet0$_plainAtRuleName$0() {
  119592. this.scanner.expectChar$2$name(64, "@-rule");
  119593. return this.identifier$0();
  119594. },
  119595. _stylesheet0$_atRootRule$1(start) {
  119596. var t1, t2, t3, buffer, t4, _this = this;
  119597. _this.whitespace$1$consumeNewlines(false);
  119598. t1 = _this.scanner;
  119599. if (t1.peekChar$0() === 40) {
  119600. t2 = t1._string_scanner$_position;
  119601. t3 = new A.StringBuffer("");
  119602. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119603. t1.expectChar$1(40);
  119604. t4 = A.Primitives_stringFromCharCode(40);
  119605. t3._contents += t4;
  119606. _this.whitespace$1$consumeNewlines(true);
  119607. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119608. if (t1.scanChar$1(58)) {
  119609. _this.whitespace$1$consumeNewlines(true);
  119610. t4 = A.Primitives_stringFromCharCode(58);
  119611. t3._contents += t4;
  119612. t4 = A.Primitives_stringFromCharCode(32);
  119613. t3._contents += t4;
  119614. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119615. }
  119616. t1.expectChar$1(41);
  119617. _this.whitespace$1$consumeNewlines(false);
  119618. t4 = A.Primitives_stringFromCharCode(41);
  119619. t3._contents += t4;
  119620. 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)))));
  119621. } else {
  119622. if (!_this.lookingAtChildren$0())
  119623. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  119624. else
  119625. t2 = true;
  119626. if (t2)
  119627. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  119628. else
  119629. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  119630. }
  119631. },
  119632. _stylesheet0$_contentRule$1(start) {
  119633. var t1, beforeWhitespace, $arguments, t2, _this = this;
  119634. if (!_this._stylesheet0$_inMixin)
  119635. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  119636. t1 = _this.scanner;
  119637. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119638. _this.whitespace$1$consumeNewlines(false);
  119639. if (t1.peekChar$0() === 40) {
  119640. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  119641. _this.whitespace$1$consumeNewlines(false);
  119642. } else {
  119643. t2 = beforeWhitespace.offset;
  119644. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  119645. }
  119646. _this.expectStatementSeparator$1("@content rule");
  119647. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  119648. },
  119649. _stylesheet0$_debugRule$1(start) {
  119650. var value, t1, t2, _this = this;
  119651. _this.whitespace$1$consumeNewlines(true);
  119652. value = _this._stylesheet0$_expression$0();
  119653. t1 = _this.scanner;
  119654. t2 = t1._string_scanner$_position;
  119655. _this.expectStatementSeparator$1("@debug rule");
  119656. return new A.DebugRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119657. },
  119658. _stylesheet0$_eachRule$2(start, child) {
  119659. var wasInControlDirective, variables, t1, _this = this;
  119660. _this.whitespace$1$consumeNewlines(true);
  119661. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119662. _this._stylesheet0$_inControlDirective = true;
  119663. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  119664. _this.whitespace$1$consumeNewlines(true);
  119665. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  119666. _this.whitespace$1$consumeNewlines(true);
  119667. t1.expectChar$1(36);
  119668. variables.push(_this.identifier$1$normalize(true));
  119669. _this.whitespace$1$consumeNewlines(true);
  119670. }
  119671. _this.whitespace$1$consumeNewlines(true);
  119672. _this.expectIdentifier$1("in");
  119673. _this.whitespace$1$consumeNewlines(true);
  119674. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  119675. },
  119676. _stylesheet0$_errorRule$1(start) {
  119677. var value, t1, t2, _this = this;
  119678. _this.whitespace$1$consumeNewlines(true);
  119679. value = _this._stylesheet0$_expression$0();
  119680. t1 = _this.scanner;
  119681. t2 = t1._string_scanner$_position;
  119682. _this.expectStatementSeparator$1("@error rule");
  119683. return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  119684. },
  119685. _stylesheet0$_functionRule$1(start) {
  119686. var precedingComment, t1, t2, $name, parameters, _0_0, _this = this;
  119687. _this.whitespace$1$consumeNewlines(true);
  119688. precedingComment = _this.lastSilentComment;
  119689. _this.lastSilentComment = null;
  119690. t1 = _this.scanner;
  119691. t2 = t1._string_scanner$_position;
  119692. $name = _this.identifier$0();
  119693. if (B.JSString_methods.startsWith$1($name, "--"))
  119694. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_fm, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  119695. _this.whitespace$1$consumeNewlines(true);
  119696. parameters = _this._stylesheet0$_parameterList$0();
  119697. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  119698. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  119699. else if (_this._stylesheet0$_inControlDirective)
  119700. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  119701. _0_0 = A.unvendor0($name);
  119702. 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)
  119703. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  119704. _this.whitespace$1$consumeNewlines(false);
  119705. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  119706. },
  119707. _stylesheet0$_forRule$2(start, child) {
  119708. var wasInControlDirective, variable, from, _this = this, t1 = {};
  119709. _this.whitespace$1$consumeNewlines(true);
  119710. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119711. _this._stylesheet0$_inControlDirective = true;
  119712. variable = _this.variableName$0();
  119713. _this.whitespace$1$consumeNewlines(true);
  119714. _this.expectIdentifier$1("from");
  119715. _this.whitespace$1$consumeNewlines(true);
  119716. t1.exclusive = null;
  119717. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  119718. if (t1.exclusive == null)
  119719. _this.scanner.error$1(0, 'Expected "to" or "through".');
  119720. _this.whitespace$1$consumeNewlines(true);
  119721. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  119722. },
  119723. _stylesheet0$_forwardRule$1(start) {
  119724. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  119725. _this.whitespace$1$consumeNewlines(true);
  119726. url = _this._stylesheet0$_urlString$0();
  119727. _this.whitespace$1$consumeNewlines(false);
  119728. if (_this.scanIdentifier$1("as")) {
  119729. _this.whitespace$1$consumeNewlines(true);
  119730. prefix = _this.identifier$1$normalize(true);
  119731. _this.scanner.expectChar$1(42);
  119732. _this.whitespace$1$consumeNewlines(false);
  119733. } else
  119734. prefix = _null;
  119735. hiddenMixinsAndFunctions = _null;
  119736. hiddenVariables = _null;
  119737. if (_this.scanIdentifier$1("show")) {
  119738. _this.whitespace$1$consumeNewlines(true);
  119739. _0_0 = _this._stylesheet0$_memberList$0();
  119740. shownMixinsAndFunctions = _0_0._0;
  119741. shownVariables = _0_0._1;
  119742. } else {
  119743. if (_this.scanIdentifier$1("hide")) {
  119744. _this.whitespace$1$consumeNewlines(true);
  119745. _1_0 = _this._stylesheet0$_memberList$0();
  119746. hiddenMixinsAndFunctions = _1_0._0;
  119747. hiddenVariables = _1_0._1;
  119748. }
  119749. shownVariables = _null;
  119750. shownMixinsAndFunctions = shownVariables;
  119751. }
  119752. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  119753. _this.whitespace$1$consumeNewlines(false);
  119754. _this.expectStatementSeparator$1("@forward rule");
  119755. span = _this.scanner.spanFrom$1(start);
  119756. if (!_this._stylesheet0$_isUseAllowed)
  119757. _this.error$2(0, string$.x40forwa, span);
  119758. if (shownMixinsAndFunctions != null) {
  119759. shownVariables.toString;
  119760. t1 = type$.String;
  119761. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  119762. t3 = type$.UnmodifiableSetView_String;
  119763. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  119764. t4 = configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  119765. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  119766. } else if (hiddenMixinsAndFunctions != null) {
  119767. hiddenVariables.toString;
  119768. t1 = type$.String;
  119769. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  119770. t3 = type$.UnmodifiableSetView_String;
  119771. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  119772. t4 = configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  119773. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  119774. } else
  119775. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty22 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119776. },
  119777. _stylesheet0$_memberList$0() {
  119778. var _this = this,
  119779. t1 = type$.String,
  119780. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  119781. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  119782. t1 = _this.scanner;
  119783. do {
  119784. _this.whitespace$1$consumeNewlines(true);
  119785. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  119786. _this.whitespace$1$consumeNewlines(false);
  119787. } while (t1.scanChar$1(44));
  119788. return new A._Record_2(identifiers, variables);
  119789. },
  119790. _stylesheet0$_ifRule$2(start, child) {
  119791. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  119792. _this.whitespace$1$consumeNewlines(true);
  119793. ifIndentation = _this.get$currentIndentation();
  119794. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  119795. _this._stylesheet0$_inControlDirective = true;
  119796. condition = _this._stylesheet0$_expression$0();
  119797. children = _this.children$1(0, child);
  119798. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  119799. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  119800. while (true) {
  119801. if (!_this.scanElse$1(ifIndentation)) {
  119802. lastClause = null;
  119803. break;
  119804. }
  119805. _this.whitespace$1$consumeNewlines(false);
  119806. if (_this.scanIdentifier$1("if")) {
  119807. _this.whitespace$1$consumeNewlines(true);
  119808. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  119809. } else {
  119810. lastClause = A.ElseClause$0(_this.children$1(0, child));
  119811. break;
  119812. }
  119813. }
  119814. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  119815. span = _this.scanner.spanFrom$1(start);
  119816. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  119817. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  119818. },
  119819. _stylesheet0$_importRule$1(start) {
  119820. var argument, t3, _this = this,
  119821. imports = A._setArrayType([], type$.JSArray_Import_2),
  119822. t1 = _this.scanner,
  119823. t2 = _this.warnings;
  119824. do {
  119825. _this.whitespace$1$consumeNewlines(false);
  119826. argument = _this.importArgument$0();
  119827. t3 = argument instanceof A.DynamicImport0;
  119828. if (t3)
  119829. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_OHJ, string$.Sassx20_i, argument.span));
  119830. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  119831. _this._stylesheet0$_disallowedAtRule$1(start);
  119832. imports.push(argument);
  119833. _this.whitespace$1$consumeNewlines(false);
  119834. } while (t1.scanChar$1(44));
  119835. _this.expectStatementSeparator$1("@import rule");
  119836. t1 = t1.spanFrom$1(start);
  119837. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  119838. },
  119839. importArgument$0() {
  119840. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  119841. t1 = _this.scanner,
  119842. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119843. _0_0 = t1.peekChar$0();
  119844. if (117 === _0_0 || 85 === _0_0) {
  119845. url = _this.dynamicUrl$0();
  119846. _this.whitespace$1$consumeNewlines(false);
  119847. modifiers = _this.tryImportModifiers$0();
  119848. 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));
  119849. return new A.StaticImport0(t2, modifiers, t1.spanFrom$1(start));
  119850. }
  119851. url = _this.string$0();
  119852. urlSpan = t1.spanFrom$1(start);
  119853. _this.whitespace$1$consumeNewlines(false);
  119854. modifiers = _this.tryImportModifiers$0();
  119855. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  119856. t2 = urlSpan;
  119857. 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));
  119858. } else
  119859. try {
  119860. t1 = _this.parseImportUrl$1(url);
  119861. return new A.DynamicImport0(t1, urlSpan);
  119862. } catch (exception) {
  119863. t1 = A.unwrapException(exception);
  119864. if (type$.FormatException._is(t1)) {
  119865. innerError = t1;
  119866. stackTrace = A.getTraceFromException(exception);
  119867. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  119868. } else
  119869. throw exception;
  119870. }
  119871. },
  119872. parseImportUrl$1(url) {
  119873. var t1 = $.$get$windows();
  119874. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  119875. return t1.toUri$1(url).toString$0(0);
  119876. A.Uri_parse(url);
  119877. return url;
  119878. },
  119879. isPlainImportUrl$1(url) {
  119880. var _0_0, t1;
  119881. if (url.length < 5)
  119882. return false;
  119883. if (B.JSString_methods.endsWith$1(url, ".css"))
  119884. return true;
  119885. _0_0 = url.charCodeAt(0);
  119886. $label0$0: {
  119887. if (47 === _0_0) {
  119888. t1 = url.charCodeAt(1) === 47;
  119889. break $label0$0;
  119890. }
  119891. if (104 === _0_0) {
  119892. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  119893. break $label0$0;
  119894. }
  119895. t1 = false;
  119896. break $label0$0;
  119897. }
  119898. return t1;
  119899. },
  119900. tryImportModifiers$0() {
  119901. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  119902. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  119903. return null;
  119904. t1 = _this.scanner;
  119905. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119906. t2 = new A.StringBuffer("");
  119907. t3 = A._setArrayType([], type$.JSArray_Object);
  119908. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  119909. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  119910. for (; true;)
  119911. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119912. if (!(t3.length === 0 && t2._contents.length === 0)) {
  119913. t5 = A.Primitives_stringFromCharCode(32);
  119914. t2._contents += t5;
  119915. }
  119916. identifier = _this.interpolatedIdentifier$0();
  119917. buffer.addInterpolation$1(identifier);
  119918. t5 = identifier.get$asPlain();
  119919. $name = t5 == null ? null : t5.toLowerCase();
  119920. if ($name !== "and" && t1.scanChar$1(40)) {
  119921. if ($name === "supports") {
  119922. query = _this._stylesheet0$_importSupportsQuery$0();
  119923. t5 = !(query instanceof A.SupportsDeclaration0);
  119924. if (t5) {
  119925. t6 = A.Primitives_stringFromCharCode(40);
  119926. t2._contents += t6;
  119927. }
  119928. t6 = query.get$span(query);
  119929. buffer._interpolation_buffer0$_flushText$0();
  119930. t3.push(new A.SupportsExpression0(query));
  119931. t4.push(t6);
  119932. if (t5) {
  119933. t5 = A.Primitives_stringFromCharCode(41);
  119934. t2._contents += t5;
  119935. }
  119936. } else {
  119937. t5 = A.Primitives_stringFromCharCode(40);
  119938. t2._contents += t5;
  119939. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  119940. t5 = A.Primitives_stringFromCharCode(41);
  119941. t2._contents += t5;
  119942. }
  119943. t1.expectChar$1(41);
  119944. _this.whitespace$1$consumeNewlines(false);
  119945. } else {
  119946. _this.whitespace$1$consumeNewlines(false);
  119947. if (t1.scanChar$1(44)) {
  119948. t2._contents += ", ";
  119949. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  119950. endPosition = t1._string_scanner$_position;
  119951. t2 = t1._sourceFile;
  119952. t3 = start.position;
  119953. t1 = new A._FileSpan(t2, t3, endPosition);
  119954. t1._FileSpan$3(t2, t3, endPosition);
  119955. return buffer.interpolation$1(t1);
  119956. }
  119957. }
  119958. } else if (t1.peekChar$0() === 40) {
  119959. if (!(t3.length === 0 && t2._contents.length === 0)) {
  119960. t3 = A.Primitives_stringFromCharCode(32);
  119961. t2._contents += t3;
  119962. }
  119963. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  119964. endPosition = t1._string_scanner$_position;
  119965. t1 = t1._sourceFile;
  119966. t2 = start.position;
  119967. t3 = new A._FileSpan(t1, t2, endPosition);
  119968. t3._FileSpan$3(t1, t2, endPosition);
  119969. return buffer.interpolation$1(t3);
  119970. } else {
  119971. endPosition = t1._string_scanner$_position;
  119972. t1 = t1._sourceFile;
  119973. t2 = start.position;
  119974. t3 = new A._FileSpan(t1, t2, endPosition);
  119975. t3._FileSpan$3(t1, t2, endPosition);
  119976. return buffer.interpolation$1(t3);
  119977. }
  119978. },
  119979. _stylesheet0$_importSupportsQuery$0() {
  119980. var t1, t2, _0_0, $name, _this = this;
  119981. _this.whitespace$1$consumeNewlines(true);
  119982. if (_this.scanIdentifier$1("not")) {
  119983. _this.whitespace$1$consumeNewlines(true);
  119984. t1 = _this.scanner;
  119985. t2 = t1._string_scanner$_position;
  119986. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  119987. } else {
  119988. t1 = _this.scanner;
  119989. if (t1.peekChar$0() === 40)
  119990. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  119991. else {
  119992. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  119993. if (_0_0 != null)
  119994. return _0_0;
  119995. t2 = t1._string_scanner$_position;
  119996. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  119997. t1.expectChar$1(58);
  119998. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  119999. }
  120000. }
  120001. },
  120002. _stylesheet0$_tryImportSupportsFunction$0() {
  120003. var t1, start, $name, value, _this = this;
  120004. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120005. return null;
  120006. t1 = _this.scanner;
  120007. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120008. $name = _this.interpolatedIdentifier$0();
  120009. if (!t1.scanChar$1(40)) {
  120010. t1.set$state(start);
  120011. return null;
  120012. }
  120013. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  120014. t1.expectChar$1(41);
  120015. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  120016. },
  120017. _stylesheet0$_includeRule$1(start) {
  120018. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  120019. _this.whitespace$1$consumeNewlines(true);
  120020. $name = _this.identifier$0();
  120021. t1 = _this.scanner;
  120022. if (t1.scanChar$1(46)) {
  120023. name0 = _this._stylesheet0$_publicIdentifier$0();
  120024. namespace = $name;
  120025. $name = name0;
  120026. } else
  120027. namespace = _null;
  120028. _this.whitespace$1$consumeNewlines(false);
  120029. if (t1.peekChar$0() === 40)
  120030. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120031. else {
  120032. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120033. t3 = t2.offset;
  120034. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  120035. }
  120036. _this.whitespace$1$consumeNewlines(false);
  120037. if (_this.scanIdentifier$1("using")) {
  120038. _this.whitespace$1$consumeNewlines(true);
  120039. contentParameters = _this._stylesheet0$_parameterList$0();
  120040. _this.whitespace$1$consumeNewlines(false);
  120041. } else
  120042. contentParameters = _null;
  120043. t2 = contentParameters == null;
  120044. if (!t2 || _this.lookingAtChildren$0()) {
  120045. if (t2) {
  120046. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120047. t3 = t2.offset;
  120048. contentParameters_ = new A.ParameterList0(B.List_empty24, _null, A._FileSpan$(t2.file, t3, t3));
  120049. } else
  120050. contentParameters_ = contentParameters;
  120051. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  120052. _this._stylesheet0$_inContentBlock = true;
  120053. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  120054. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  120055. } else {
  120056. _this.expectStatementSeparator$0();
  120057. $content = _null;
  120058. }
  120059. t1 = t1.spanFrom$2(start, start);
  120060. t2 = $content == null ? $arguments : $content;
  120061. span = t1.expand$1(0, t2.get$span(t2));
  120062. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  120063. },
  120064. mediaRule$1(start) {
  120065. var _this = this;
  120066. _this.whitespace$1$consumeNewlines(false);
  120067. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  120068. },
  120069. _stylesheet0$_mixinRule$1(start) {
  120070. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  120071. _this.whitespace$1$consumeNewlines(true);
  120072. precedingComment = _this.lastSilentComment;
  120073. _this.lastSilentComment = null;
  120074. t1 = _this.scanner;
  120075. t2 = t1._string_scanner$_position;
  120076. $name = _this.identifier$0();
  120077. if (B.JSString_methods.startsWith$1($name, "--"))
  120078. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  120079. _this.whitespace$1$consumeNewlines(false);
  120080. if (t1.peekChar$0() === 40)
  120081. parameters = _this._stylesheet0$_parameterList$0();
  120082. else {
  120083. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120084. t3 = t2.offset;
  120085. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t2.file, t3, t3));
  120086. }
  120087. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120088. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  120089. else if (_this._stylesheet0$_inControlDirective)
  120090. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  120091. _this.whitespace$1$consumeNewlines(false);
  120092. _this._stylesheet0$_inMixin = true;
  120093. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  120094. },
  120095. mozDocumentRule$2(start, $name) {
  120096. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  120097. _this.whitespace$1$consumeNewlines(false);
  120098. t1 = _this.scanner;
  120099. t2 = t1._string_scanner$_position;
  120100. t3 = new A.StringBuffer("");
  120101. t4 = A._setArrayType([], type$.JSArray_Object);
  120102. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120103. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120104. _box_0.needsDeprecationWarning = false;
  120105. for (; true;) {
  120106. if (t1.peekChar$0() === 35) {
  120107. _0_0 = _this.singleInterpolation$0();
  120108. buffer._interpolation_buffer0$_flushText$0();
  120109. t4.push(_0_0._0);
  120110. t5.push(_0_0._1);
  120111. _box_0.needsDeprecationWarning = true;
  120112. } else {
  120113. t6 = t1._string_scanner$_position;
  120114. identifier = _this.identifier$0();
  120115. $label0$0: {
  120116. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  120117. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  120118. if (_1_0 != null)
  120119. buffer.addInterpolation$1(_1_0);
  120120. else {
  120121. t1.expectChar$1(40);
  120122. _this.whitespace$1$consumeNewlines(false);
  120123. argument = _this.interpolatedString$0();
  120124. t1.expectChar$1(41);
  120125. t3._contents += identifier;
  120126. t6 = A.Primitives_stringFromCharCode(40);
  120127. t3._contents += t6;
  120128. buffer.addInterpolation$1(argument.asInterpolation$0());
  120129. t6 = A.Primitives_stringFromCharCode(41);
  120130. t3._contents += t6;
  120131. }
  120132. t6 = t3._contents;
  120133. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  120134. 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("")'))
  120135. _box_0.needsDeprecationWarning = true;
  120136. break $label0$0;
  120137. }
  120138. if ("regexp" === identifier) {
  120139. t3._contents += "regexp(";
  120140. t1.expectChar$1(40);
  120141. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  120142. t1.expectChar$1(41);
  120143. t6 = A.Primitives_stringFromCharCode(41);
  120144. t3._contents += t6;
  120145. _box_0.needsDeprecationWarning = true;
  120146. break $label0$0;
  120147. }
  120148. endPosition = t1._string_scanner$_position;
  120149. t7 = t1._sourceFile;
  120150. t8 = new A._FileSpan(t7, t6, endPosition);
  120151. t8._FileSpan$3(t7, t6, endPosition);
  120152. _this.error$2(0, "Invalid function name.", t8);
  120153. }
  120154. }
  120155. _this.whitespace$1$consumeNewlines(false);
  120156. if (!t1.scanChar$1(44))
  120157. break;
  120158. t6 = A.Primitives_stringFromCharCode(44);
  120159. t3._contents += t6;
  120160. start0 = t1._string_scanner$_position;
  120161. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  120162. end = t1._string_scanner$_position;
  120163. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  120164. }
  120165. 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)))));
  120166. },
  120167. supportsRule$1(start) {
  120168. var condition, _this = this;
  120169. _this.whitespace$1$consumeNewlines(false);
  120170. condition = _this._stylesheet0$_supportsCondition$0();
  120171. _this.whitespace$1$consumeNewlines(false);
  120172. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  120173. },
  120174. _stylesheet0$_useNamespace$2(url, start) {
  120175. var namespace, basename, dot, t1, exception, _this = this;
  120176. if (_this.scanIdentifier$1("as")) {
  120177. _this.whitespace$1$consumeNewlines(true);
  120178. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  120179. }
  120180. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  120181. dot = B.JSString_methods.indexOf$1(basename, ".");
  120182. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  120183. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  120184. try {
  120185. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  120186. return t1;
  120187. } catch (exception) {
  120188. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  120189. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  120190. else
  120191. throw exception;
  120192. }
  120193. },
  120194. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  120195. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  120196. if (!_this.scanIdentifier$1("with"))
  120197. return null;
  120198. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120199. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  120200. _this.whitespace$1$consumeNewlines(true);
  120201. t1 = _this.scanner;
  120202. t1.expectChar$1(40);
  120203. for (; true;) {
  120204. _this.whitespace$1$consumeNewlines(true);
  120205. t2 = t1._string_scanner$_position;
  120206. t1.expectChar$1(36);
  120207. $name = _this.identifier$1$normalize(true);
  120208. _this.whitespace$1$consumeNewlines(true);
  120209. t1.expectChar$1(58);
  120210. _this.whitespace$1$consumeNewlines(true);
  120211. expression = _this.expressionUntilComma$0();
  120212. t3 = t1._string_scanner$_position;
  120213. if (allowGuarded && t1.scanChar$1(33)) {
  120214. guarded = _this.identifier$0() === "default";
  120215. if (guarded)
  120216. _this.whitespace$1$consumeNewlines(true);
  120217. else {
  120218. endPosition = t1._string_scanner$_position;
  120219. t4 = t1._sourceFile;
  120220. t5 = new A._FileSpan(t4, t3, endPosition);
  120221. t5._FileSpan$3(t4, t3, endPosition);
  120222. _this.error$2(0, "Invalid flag name.", t5);
  120223. }
  120224. } else
  120225. guarded = false;
  120226. endPosition = t1._string_scanner$_position;
  120227. t3 = t1._sourceFile;
  120228. span = new A._FileSpan(t3, t2, endPosition);
  120229. span._FileSpan$3(t3, t2, endPosition);
  120230. if (variableNames.contains$1(0, $name))
  120231. _this.error$2(0, string$.The_sa, span);
  120232. variableNames.add$1(0, $name);
  120233. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  120234. if (!t1.scanChar$1(44))
  120235. break;
  120236. _this.whitespace$1$consumeNewlines(true);
  120237. if (!_this._stylesheet0$_lookingAtExpression$0())
  120238. break;
  120239. }
  120240. t1.expectChar$1(41);
  120241. return configuration;
  120242. },
  120243. _stylesheet0$_configuration$0() {
  120244. return this._stylesheet0$_configuration$1$allowGuarded(false);
  120245. },
  120246. _stylesheet0$_warnRule$1(start) {
  120247. var value, t1, t2, _this = this;
  120248. _this.whitespace$1$consumeNewlines(true);
  120249. value = _this._stylesheet0$_expression$0();
  120250. t1 = _this.scanner;
  120251. t2 = t1._string_scanner$_position;
  120252. _this.expectStatementSeparator$1("@warn rule");
  120253. return new A.WarnRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120254. },
  120255. _stylesheet0$_whileRule$2(start, child) {
  120256. var wasInControlDirective, _this = this;
  120257. _this.whitespace$1$consumeNewlines(true);
  120258. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120259. _this._stylesheet0$_inControlDirective = true;
  120260. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  120261. },
  120262. unknownAtRule$2(start, $name) {
  120263. var t2, t3, rule, _this = this, t1 = {},
  120264. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  120265. _this._stylesheet0$_inUnknownAtRule = true;
  120266. _this.whitespace$1$consumeNewlines(false);
  120267. t1.value = null;
  120268. t2 = _this.scanner;
  120269. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  120270. if (_this.lookingAtChildren$0())
  120271. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  120272. else {
  120273. _this.expectStatementSeparator$0();
  120274. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  120275. }
  120276. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  120277. return rule;
  120278. },
  120279. _stylesheet0$_disallowedAtRule$1(start) {
  120280. var _this = this;
  120281. _this.whitespace$1$consumeNewlines(false);
  120282. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  120283. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  120284. },
  120285. _stylesheet0$_parameterList$0() {
  120286. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  120287. t1 = _this.scanner,
  120288. t2 = t1._string_scanner$_position;
  120289. t1.expectChar$1(40);
  120290. _this.whitespace$1$consumeNewlines(true);
  120291. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  120292. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120293. for (; restParameter = null, t1.peekChar$0() === 36;) {
  120294. t3 = t1._string_scanner$_position;
  120295. t1.expectChar$1(36);
  120296. $name = _this.identifier$1$normalize(true);
  120297. _this.whitespace$1$consumeNewlines(true);
  120298. if (t1.scanChar$1(58)) {
  120299. _this.whitespace$1$consumeNewlines(true);
  120300. defaultValue = _this.expressionUntilComma$0();
  120301. } else {
  120302. if (t1.scanChar$1(46)) {
  120303. t1.expectChar$1(46);
  120304. t1.expectChar$1(46);
  120305. _this.whitespace$1$consumeNewlines(true);
  120306. if (t1.scanChar$1(44))
  120307. _this.whitespace$1$consumeNewlines(true);
  120308. restParameter = $name;
  120309. break;
  120310. }
  120311. defaultValue = null;
  120312. }
  120313. endPosition = t1._string_scanner$_position;
  120314. t4 = t1._sourceFile;
  120315. t5 = new A._FileSpan(t4, t3, endPosition);
  120316. t5._FileSpan$3(t4, t3, endPosition);
  120317. parameters.push(new A.Parameter0($name, defaultValue, t5));
  120318. if (!named.add$1(0, $name))
  120319. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  120320. if (!t1.scanChar$1(44))
  120321. break;
  120322. _this.whitespace$1$consumeNewlines(true);
  120323. }
  120324. t1.expectChar$1(41);
  120325. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120326. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  120327. },
  120328. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  120329. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  120330. t1 = _this.scanner,
  120331. t2 = t1._string_scanner$_position;
  120332. t1.expectChar$1(40);
  120333. _this.whitespace$1$consumeNewlines(true);
  120334. positional = A._setArrayType([], type$.JSArray_Expression_2);
  120335. t3 = type$.String;
  120336. t4 = type$.Expression_2;
  120337. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  120338. for (t5 = !mixin, rest = null; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  120339. expression = _this.expressionUntilComma$1$singleEquals(t5);
  120340. _this.whitespace$1$consumeNewlines(true);
  120341. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  120342. _this.whitespace$1$consumeNewlines(true);
  120343. t6 = expression.name;
  120344. if (named.containsKey$1(t6))
  120345. _this.error$2(0, "Duplicate argument.", expression.span);
  120346. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  120347. } else if (t1.scanChar$1(46)) {
  120348. t1.expectChar$1(46);
  120349. t1.expectChar$1(46);
  120350. if (rest != null) {
  120351. _this.whitespace$1$consumeNewlines(true);
  120352. if (t1.scanChar$1(44))
  120353. _this.whitespace$1$consumeNewlines(true);
  120354. keywordRest = expression;
  120355. break;
  120356. }
  120357. rest = expression;
  120358. } else if (named.__js_helper$_length !== 0)
  120359. _this.error$2(0, string$.Positi, expression.get$span(expression));
  120360. else
  120361. positional.push(expression);
  120362. _this.whitespace$1$consumeNewlines(true);
  120363. if (!t1.scanChar$1(44))
  120364. break;
  120365. _this.whitespace$1$consumeNewlines(true);
  120366. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  120367. t5 = t1._sourceFile;
  120368. t6 = t1._string_scanner$_position;
  120369. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  120370. t7 = new A._FileSpan(t5, t6, t6);
  120371. t7._FileSpan$3(t5, t6, t6);
  120372. result = A.List_List$from([""], false, type$.Object);
  120373. result.$flags = 3;
  120374. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t7), false));
  120375. break;
  120376. }
  120377. }
  120378. t1.expectChar$1(41);
  120379. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120380. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  120381. },
  120382. _stylesheet0$_argumentInvocation$0() {
  120383. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  120384. },
  120385. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  120386. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  120387. },
  120388. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  120389. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  120390. },
  120391. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  120392. 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,
  120393. _s20_ = "Expected expression.",
  120394. _box_0 = {},
  120395. t1 = until != null;
  120396. if (t1 && until.call$0())
  120397. _this.scanner.error$1(0, _s20_);
  120398. if (bracketList) {
  120399. t2 = _this.scanner;
  120400. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120401. t2.expectChar$1(91);
  120402. _this.whitespace$1$consumeNewlines(true);
  120403. if (t2.scanChar$1(93)) {
  120404. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  120405. t2 = t2.spanFrom$1(beforeBracket);
  120406. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120407. }
  120408. } else
  120409. beforeBracket = null;
  120410. t2 = _this.scanner;
  120411. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120412. wasInExpression = _this._stylesheet0$_inExpression;
  120413. wasInParentheses = _this._stylesheet0$_inParentheses;
  120414. _this._stylesheet0$_inExpression = true;
  120415. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  120416. _box_0.allowSlash = true;
  120417. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  120418. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  120419. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  120420. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  120421. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  120422. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  120423. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  120424. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
  120425. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  120426. if (t1 && until.call$0())
  120427. break;
  120428. _3_0 = t2.peekChar$0();
  120429. if (_3_0 == null)
  120430. break;
  120431. if (40 === _3_0) {
  120432. addSingleExpression.call$1(_this.parentheses$0());
  120433. continue;
  120434. }
  120435. if (91 === _3_0) {
  120436. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  120437. continue;
  120438. }
  120439. if (36 === _3_0) {
  120440. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  120441. continue;
  120442. }
  120443. if (38 === _3_0) {
  120444. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  120445. continue;
  120446. }
  120447. if (39 === _3_0 || 34 === _3_0) {
  120448. addSingleExpression.call$1(_this.interpolatedString$0());
  120449. continue;
  120450. }
  120451. if (35 === _3_0) {
  120452. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  120453. continue;
  120454. }
  120455. if (61 === _3_0) {
  120456. t2.readChar$0();
  120457. if (singleEquals && t2.peekChar$0() !== 61)
  120458. addOperator.call$1(B.BinaryOperator_Kyq0);
  120459. else {
  120460. t2.expectChar$1(61);
  120461. addOperator.call$1(B.BinaryOperator_r840);
  120462. }
  120463. continue;
  120464. }
  120465. if (33 === _3_0) {
  120466. $label0$1: {
  120467. _1_0 = t2.peekChar$1(1);
  120468. if (61 === _1_0) {
  120469. t2.readChar$0();
  120470. t2.readChar$0();
  120471. addOperator.call$1(B.BinaryOperator_qGq0);
  120472. break $label0$1;
  120473. }
  120474. t5 = true;
  120475. if (_1_0 != null)
  120476. if (105 !== _1_0)
  120477. if (73 !== _1_0)
  120478. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  120479. if (t5) {
  120480. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  120481. break $label0$1;
  120482. }
  120483. break;
  120484. }
  120485. continue;
  120486. }
  120487. if (60 === _3_0) {
  120488. t2.readChar$0();
  120489. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG0 : B.BinaryOperator_qHy0);
  120490. continue;
  120491. }
  120492. if (62 === _3_0) {
  120493. t2.readChar$0();
  120494. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR0 : B.BinaryOperator_o8O0);
  120495. continue;
  120496. }
  120497. if (42 === _3_0) {
  120498. t2.readChar$0();
  120499. addOperator.call$1(B.BinaryOperator_tht0);
  120500. continue;
  120501. }
  120502. _3_28 = 43 === _3_0;
  120503. if (_3_28 && _box_0.singleExpression_ == null) {
  120504. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120505. continue;
  120506. }
  120507. if (_3_28) {
  120508. t2.readChar$0();
  120509. addOperator.call$1(B.BinaryOperator_Swh0);
  120510. continue;
  120511. }
  120512. if (45 === _3_0) {
  120513. _2_0 = t2.peekChar$1(1);
  120514. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  120515. if (_box_0.singleExpression_ != null) {
  120516. t5 = t2.peekChar$1(-1);
  120517. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  120518. } else
  120519. t5 = true;
  120520. else
  120521. t5 = false;
  120522. if (t5)
  120523. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120524. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120525. addSingleExpression.call$1(_this.identifierLike$0());
  120526. else if (_box_0.singleExpression_ == null)
  120527. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120528. else {
  120529. t2.readChar$0();
  120530. addOperator.call$1(B.BinaryOperator_QG10);
  120531. }
  120532. continue;
  120533. }
  120534. _3_32 = 47 === _3_0;
  120535. if (_3_32 && _box_0.singleExpression_ == null) {
  120536. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120537. continue;
  120538. }
  120539. if (_3_32) {
  120540. t2.readChar$0();
  120541. addOperator.call$1(B.BinaryOperator_Mh50);
  120542. continue;
  120543. }
  120544. if (37 === _3_0) {
  120545. t2.readChar$0();
  120546. addOperator.call$1(B.BinaryOperator_s7T0);
  120547. continue;
  120548. }
  120549. if (_3_0 >= 48 && _3_0 <= 57) {
  120550. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120551. continue;
  120552. }
  120553. _3_40 = 46 === _3_0;
  120554. if (_3_40 && t2.peekChar$1(1) === 46)
  120555. break;
  120556. if (_3_40) {
  120557. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120558. continue;
  120559. }
  120560. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  120561. addOperator.call$1(B.BinaryOperator_uke0);
  120562. continue;
  120563. }
  120564. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  120565. addOperator.call$1(B.BinaryOperator_tKu0);
  120566. continue;
  120567. }
  120568. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  120569. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  120570. continue;
  120571. }
  120572. if (!(_3_0 >= 97 && _3_0 <= 122))
  120573. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  120574. else
  120575. t5 = true;
  120576. if (t5) {
  120577. addSingleExpression.call$1(_this.identifierLike$0());
  120578. continue;
  120579. }
  120580. if (44 === _3_0) {
  120581. if (_this._stylesheet0$_inParentheses) {
  120582. _this._stylesheet0$_inParentheses = false;
  120583. if (_box_0.allowSlash) {
  120584. resetState.call$0();
  120585. continue;
  120586. }
  120587. }
  120588. commaExpressions = _box_0.commaExpressions_;
  120589. if (commaExpressions == null)
  120590. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  120591. if (_box_0.singleExpression_ == null)
  120592. t2.error$1(0, _s20_);
  120593. resolveSpaceExpressions.call$0();
  120594. t5 = _box_0.singleExpression_;
  120595. t5.toString;
  120596. commaExpressions.push(t5);
  120597. t2.readChar$0();
  120598. _box_0.allowSlash = true;
  120599. _box_0.singleExpression_ = null;
  120600. continue;
  120601. }
  120602. break;
  120603. }
  120604. if (bracketList)
  120605. t2.expectChar$1(93);
  120606. commaExpressions = _box_0.commaExpressions_;
  120607. spaceExpressions = _box_0.spaceExpressions_;
  120608. if (commaExpressions != null) {
  120609. resolveSpaceExpressions.call$0();
  120610. _this._stylesheet0$_inParentheses = wasInParentheses;
  120611. singleExpression = _box_0.singleExpression_;
  120612. if (singleExpression != null)
  120613. commaExpressions.push(singleExpression);
  120614. _this._stylesheet0$_inExpression = wasInExpression;
  120615. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  120616. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_qVN0, bracketList, t1);
  120617. } else if (bracketList && spaceExpressions != null) {
  120618. resolveOperations.call$0();
  120619. _this._stylesheet0$_inExpression = wasInExpression;
  120620. t1 = _box_0.singleExpression_;
  120621. t1.toString;
  120622. spaceExpressions.push(t1);
  120623. beforeBracket.toString;
  120624. t2 = t2.spanFrom$1(beforeBracket);
  120625. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, true, t2);
  120626. } else {
  120627. resolveSpaceExpressions.call$0();
  120628. if (bracketList) {
  120629. t1 = _box_0.singleExpression_;
  120630. t1.toString;
  120631. t4 = A._setArrayType([t1], t4);
  120632. beforeBracket.toString;
  120633. t2 = t2.spanFrom$1(beforeBracket);
  120634. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120635. }
  120636. _this._stylesheet0$_inExpression = wasInExpression;
  120637. t1 = _box_0.singleExpression_;
  120638. t1.toString;
  120639. return t1;
  120640. }
  120641. },
  120642. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  120643. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  120644. },
  120645. _stylesheet0$_expression$1$bracketList(bracketList) {
  120646. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  120647. },
  120648. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  120649. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  120650. },
  120651. _stylesheet0$_expression$0() {
  120652. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  120653. },
  120654. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  120655. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  120656. },
  120657. expressionUntilComma$1$singleEquals(singleEquals) {
  120658. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  120659. },
  120660. expressionUntilComma$0() {
  120661. return this.expressionUntilComma$1$singleEquals(false);
  120662. },
  120663. _stylesheet0$_isSlashOperand$1(expression) {
  120664. var t1 = true;
  120665. if (!(expression instanceof A.NumberExpression0))
  120666. if (!(expression instanceof A.FunctionExpression0))
  120667. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  120668. return t1;
  120669. },
  120670. _stylesheet0$_singleExpression$0() {
  120671. var next, t2, _this = this,
  120672. _s20_ = "Expected expression.",
  120673. t1 = _this.scanner,
  120674. _0_0 = t1.peekChar$0();
  120675. $label0$0: {
  120676. if (_0_0 == null)
  120677. t1.error$1(0, _s20_);
  120678. if (40 === _0_0) {
  120679. t1 = _this.parentheses$0();
  120680. break $label0$0;
  120681. }
  120682. if (47 === _0_0) {
  120683. t1 = _this._stylesheet0$_unaryOperation$0();
  120684. break $label0$0;
  120685. }
  120686. if (46 === _0_0) {
  120687. t1 = _this._stylesheet0$_number$0();
  120688. break $label0$0;
  120689. }
  120690. if (91 === _0_0) {
  120691. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  120692. break $label0$0;
  120693. }
  120694. if (36 === _0_0) {
  120695. t1 = _this._stylesheet0$_variable$0();
  120696. break $label0$0;
  120697. }
  120698. if (38 === _0_0) {
  120699. t1 = _this._stylesheet0$_selector$0();
  120700. break $label0$0;
  120701. }
  120702. if (39 === _0_0 || 34 === _0_0) {
  120703. t1 = _this.interpolatedString$0();
  120704. break $label0$0;
  120705. }
  120706. if (35 === _0_0) {
  120707. t1 = _this._stylesheet0$_hashExpression$0();
  120708. break $label0$0;
  120709. }
  120710. if (43 === _0_0) {
  120711. next = t1.peekChar$1(1);
  120712. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  120713. break $label0$0;
  120714. }
  120715. if (45 === _0_0) {
  120716. t1 = _this._stylesheet0$_minusExpression$0();
  120717. break $label0$0;
  120718. }
  120719. if (33 === _0_0) {
  120720. t1 = _this._stylesheet0$_importantExpression$0();
  120721. break $label0$0;
  120722. }
  120723. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  120724. t1 = _this._stylesheet0$_unicodeRange$0();
  120725. break $label0$0;
  120726. }
  120727. if (_0_0 >= 48 && _0_0 <= 57) {
  120728. t1 = _this._stylesheet0$_number$0();
  120729. break $label0$0;
  120730. }
  120731. if (!(_0_0 >= 97 && _0_0 <= 122))
  120732. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  120733. else
  120734. t2 = true;
  120735. if (t2) {
  120736. t1 = _this.identifierLike$0();
  120737. break $label0$0;
  120738. }
  120739. t1 = t1.error$1(0, _s20_);
  120740. }
  120741. return t1;
  120742. },
  120743. parentheses$0() {
  120744. var start, first, expressions, t1, t2, _this = this,
  120745. wasInParentheses = _this._stylesheet0$_inParentheses;
  120746. _this._stylesheet0$_inParentheses = true;
  120747. try {
  120748. t1 = _this.scanner;
  120749. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120750. t1.expectChar$1(40);
  120751. _this.whitespace$1$consumeNewlines(true);
  120752. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  120753. t1.expectChar$1(41);
  120754. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  120755. t1 = t1.spanFrom$1(start);
  120756. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  120757. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  120758. }
  120759. first = _this.expressionUntilComma$0();
  120760. if (t1.scanChar$1(58)) {
  120761. _this.whitespace$1$consumeNewlines(true);
  120762. t1 = _this._stylesheet0$_map$2(first, start);
  120763. return t1;
  120764. }
  120765. if (!t1.scanChar$1(44)) {
  120766. t1.expectChar$1(41);
  120767. t1 = t1.spanFrom$1(start);
  120768. return new A.ParenthesizedExpression0(first, t1);
  120769. }
  120770. _this.whitespace$1$consumeNewlines(true);
  120771. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  120772. for (; true;) {
  120773. if (!_this._stylesheet0$_lookingAtExpression$0())
  120774. break;
  120775. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  120776. if (!t1.scanChar$1(44))
  120777. break;
  120778. _this.whitespace$1$consumeNewlines(true);
  120779. }
  120780. t1.expectChar$1(41);
  120781. t1 = t1.spanFrom$1(start);
  120782. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  120783. return new A.ListExpression0(t2, B.ListSeparator_qVN0, false, t1);
  120784. } finally {
  120785. _this._stylesheet0$_inParentheses = wasInParentheses;
  120786. }
  120787. },
  120788. _stylesheet0$_map$2(first, start) {
  120789. var t1, key, _this = this,
  120790. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  120791. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  120792. _this.whitespace$1$consumeNewlines(true);
  120793. if (!_this._stylesheet0$_lookingAtExpression$0())
  120794. break;
  120795. key = _this.expressionUntilComma$0();
  120796. t1.expectChar$1(58);
  120797. _this.whitespace$1$consumeNewlines(true);
  120798. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  120799. }
  120800. t1.expectChar$1(41);
  120801. t1 = t1.spanFrom$1(start);
  120802. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  120803. },
  120804. _stylesheet0$_hashExpression$0() {
  120805. var start, t2, identifier, buffer, t3, _this = this,
  120806. t1 = _this.scanner;
  120807. if (t1.peekChar$1(1) === 123)
  120808. return _this.identifierLike$0();
  120809. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120810. t1.expectChar$1(35);
  120811. t2 = t1.peekChar$0();
  120812. if (t2 == null)
  120813. t2 = null;
  120814. else
  120815. t2 = t2 >= 48 && t2 <= 57;
  120816. if (t2 === true)
  120817. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  120818. t2 = t1._string_scanner$_position;
  120819. identifier = _this.interpolatedIdentifier$0();
  120820. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  120821. t1.set$state(new A._SpanScannerState(t1, t2));
  120822. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  120823. }
  120824. t2 = new A.StringBuffer("");
  120825. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120826. t3 = A.Primitives_stringFromCharCode(35);
  120827. t2._contents += t3;
  120828. buffer.addInterpolation$1(identifier);
  120829. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  120830. },
  120831. _stylesheet0$_hexColorContents$1(start) {
  120832. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  120833. digit1 = _this._stylesheet0$_hexDigit$0(),
  120834. digit2 = _this._stylesheet0$_hexDigit$0(),
  120835. digit3 = _this._stylesheet0$_hexDigit$0(),
  120836. t1 = _this.scanner,
  120837. $self = t1.peekChar$0();
  120838. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  120839. red = (digit1 << 4 >>> 0) + digit1;
  120840. green = (digit2 << 4 >>> 0) + digit2;
  120841. blue = (digit3 << 4 >>> 0) + digit3;
  120842. alpha = null;
  120843. } else {
  120844. digit4 = _this._stylesheet0$_hexDigit$0();
  120845. $self = t1.peekChar$0();
  120846. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  120847. t3 = digit1 << 4 >>> 0;
  120848. t4 = digit3 << 4 >>> 0;
  120849. if (!t2) {
  120850. red = t3 + digit1;
  120851. green = (digit2 << 4 >>> 0) + digit2;
  120852. blue = t4 + digit3;
  120853. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  120854. } else {
  120855. red = t3 + digit2;
  120856. green = t4 + digit4;
  120857. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  120858. $self = t1.peekChar$0();
  120859. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  120860. }
  120861. }
  120862. t2 = alpha == null;
  120863. t3 = t2 ? 1 : alpha;
  120864. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  120865. },
  120866. _stylesheet0$_isHexColor$1(interpolation) {
  120867. var _0_2, t1,
  120868. plain = interpolation.get$asPlain();
  120869. if (typeof plain == "string") {
  120870. _0_2 = plain.length;
  120871. t1 = true;
  120872. if (3 !== _0_2)
  120873. if (4 !== _0_2)
  120874. if (6 !== _0_2)
  120875. t1 = 8 === _0_2;
  120876. } else
  120877. t1 = false;
  120878. if (t1) {
  120879. t1 = new A.CodeUnits(plain);
  120880. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  120881. } else
  120882. return false;
  120883. },
  120884. _stylesheet0$_hexDigit$0() {
  120885. var t1 = this.scanner,
  120886. t2 = t1.peekChar$0();
  120887. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  120888. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  120889. },
  120890. _stylesheet0$_minusExpression$0() {
  120891. var _this = this,
  120892. _0_0 = _this.scanner.peekChar$1(1);
  120893. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  120894. return _this._stylesheet0$_number$0();
  120895. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120896. return _this.identifierLike$0();
  120897. return _this._stylesheet0$_unaryOperation$0();
  120898. },
  120899. _stylesheet0$_importantExpression$0() {
  120900. var t1 = this.scanner,
  120901. t2 = t1._string_scanner$_position;
  120902. t1.readChar$0();
  120903. this.whitespace$1$consumeNewlines(true);
  120904. this.expectIdentifier$1("important");
  120905. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120906. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  120907. },
  120908. _stylesheet0$_unaryOperation$0() {
  120909. var _this = this,
  120910. t1 = _this.scanner,
  120911. t2 = t1._string_scanner$_position,
  120912. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  120913. if (operator == null)
  120914. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  120915. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV0)
  120916. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  120917. _this.whitespace$1$consumeNewlines(true);
  120918. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120919. },
  120920. _stylesheet0$_unaryOperatorFor$1(character) {
  120921. var t1;
  120922. $label0$0: {
  120923. if (43 === character) {
  120924. t1 = B.UnaryOperator_Rbl0;
  120925. break $label0$0;
  120926. }
  120927. if (45 === character) {
  120928. t1 = B.UnaryOperator_UCP0;
  120929. break $label0$0;
  120930. }
  120931. if (47 === character) {
  120932. t1 = B.UnaryOperator_lZV0;
  120933. break $label0$0;
  120934. }
  120935. t1 = null;
  120936. break $label0$0;
  120937. }
  120938. return t1;
  120939. },
  120940. _stylesheet0$_number$0() {
  120941. var number, unit, _this = this,
  120942. t1 = _this.scanner,
  120943. t2 = t1._string_scanner$_position,
  120944. first = t1.peekChar$0(),
  120945. t3 = first !== 43;
  120946. if (!t3 || first === 45)
  120947. t1.readChar$0();
  120948. if (t1.peekChar$0() !== 46)
  120949. _this._stylesheet0$_consumeNaturalNumber$0();
  120950. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  120951. _this._stylesheet0$_tryExponent$0();
  120952. number = A.double_parse(t1.substring$1(0, t2));
  120953. if (t1.scanChar$1(37))
  120954. unit = "%";
  120955. else {
  120956. if (_this.lookingAtIdentifier$0())
  120957. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  120958. else
  120959. t3 = false;
  120960. unit = t3 ? _this.identifier$1$unit(true) : null;
  120961. }
  120962. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120963. },
  120964. _stylesheet0$_consumeNaturalNumber$0() {
  120965. var $self,
  120966. t1 = this.scanner,
  120967. t2 = t1.readChar$0();
  120968. if (!(t2 >= 48 && t2 <= 57))
  120969. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  120970. while (true) {
  120971. $self = t1.peekChar$0();
  120972. if (!($self != null && $self >= 48 && $self <= 57))
  120973. break;
  120974. t1.readChar$0();
  120975. }
  120976. },
  120977. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  120978. var $self,
  120979. t1 = this.scanner;
  120980. if (t1.peekChar$0() !== 46)
  120981. return;
  120982. $self = t1.peekChar$1(1);
  120983. if (!($self != null && $self >= 48 && $self <= 57)) {
  120984. if (allowTrailingDot)
  120985. return;
  120986. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  120987. }
  120988. t1.readChar$0();
  120989. while (true) {
  120990. $self = t1.peekChar$0();
  120991. if (!($self != null && $self >= 48 && $self <= 57))
  120992. break;
  120993. t1.readChar$0();
  120994. }
  120995. },
  120996. _stylesheet0$_tryExponent$0() {
  120997. var next, $self,
  120998. t1 = this.scanner,
  120999. first = t1.peekChar$0();
  121000. if (first !== 101 && first !== 69)
  121001. return;
  121002. next = t1.peekChar$1(1);
  121003. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  121004. return;
  121005. t1.readChar$0();
  121006. if (43 === next || 45 === next)
  121007. t1.readChar$0();
  121008. $self = t1.peekChar$0();
  121009. if (!($self != null && $self >= 48 && $self <= 57))
  121010. t1.error$1(0, "Expected digit.");
  121011. while (true) {
  121012. $self = t1.peekChar$0();
  121013. if (!($self != null && $self >= 48 && $self <= 57))
  121014. break;
  121015. t1.readChar$0();
  121016. }
  121017. },
  121018. _stylesheet0$_unicodeRange$0() {
  121019. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  121020. _s26_ = "Expected at most 6 digits.",
  121021. t1 = _this.scanner,
  121022. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121023. _this.expectIdentChar$1(117);
  121024. t1.expectChar$1(43);
  121025. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  121026. ++firstRangeLength;
  121027. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  121028. ++firstRangeLength;
  121029. if (firstRangeLength === 0)
  121030. t1.error$1(0, 'Expected hex digit or "?".');
  121031. else if (firstRangeLength > 6)
  121032. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  121033. else if (hasQuestionMark) {
  121034. t2 = t1.substring$1(0, start.position);
  121035. t1 = t1.spanFrom$1(start);
  121036. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121037. }
  121038. if (t1.scanChar$1(45)) {
  121039. t2 = t1._string_scanner$_position;
  121040. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  121041. ++secondRangeLength;
  121042. if (secondRangeLength === 0)
  121043. t1.error$1(0, "Expected hex digit.");
  121044. else if (secondRangeLength > 6)
  121045. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121046. }
  121047. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  121048. t1.error$1(0, "Expected end of identifier.");
  121049. t2 = t1.substring$1(0, start.position);
  121050. t1 = t1.spanFrom$1(start);
  121051. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121052. },
  121053. _stylesheet0$_variable$0() {
  121054. var _this = this,
  121055. t1 = _this.scanner,
  121056. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121057. $name = _this.variableName$0();
  121058. if (_this.get$plainCss())
  121059. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  121060. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  121061. },
  121062. _stylesheet0$_selector$0() {
  121063. var t1, start, _this = this;
  121064. if (_this.get$plainCss())
  121065. _this.scanner.error$2$length(0, string$.The_pa, 1);
  121066. t1 = _this.scanner;
  121067. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121068. t1.expectChar$1(38);
  121069. if (t1.scanChar$1(38)) {
  121070. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  121071. t1.set$position(t1._string_scanner$_position - 1);
  121072. }
  121073. return new A.SelectorExpression0(t1.spanFrom$1(start));
  121074. },
  121075. interpolatedString$0() {
  121076. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  121077. t1 = this.scanner,
  121078. t2 = t1._string_scanner$_position,
  121079. quote = t1.readChar$0();
  121080. if (quote !== 39 && quote !== 34)
  121081. t1.error$2$position(0, "Expected string.", t2);
  121082. t3 = new A.StringBuffer("");
  121083. t4 = A._setArrayType([], type$.JSArray_Object);
  121084. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121085. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121086. for (; true;) {
  121087. _1_0 = t1.peekChar$0();
  121088. if (_1_0 === quote) {
  121089. t1.readChar$0();
  121090. break;
  121091. }
  121092. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  121093. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  121094. if (92 === _1_0) {
  121095. second = t1.peekChar$1(1);
  121096. if (second === 10 || second === 13 || second === 12) {
  121097. t1.readChar$0();
  121098. t1.readChar$0();
  121099. if (second === 13)
  121100. t1.scanChar$1(10);
  121101. } else {
  121102. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  121103. t3._contents += t6;
  121104. }
  121105. continue;
  121106. }
  121107. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121108. _0_0 = this.singleInterpolation$0();
  121109. buffer._interpolation_buffer0$_flushText$0();
  121110. t4.push(_0_0._0);
  121111. t5.push(_0_0._1);
  121112. continue;
  121113. }
  121114. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121115. t3._contents += t6;
  121116. }
  121117. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  121118. },
  121119. identifierLike$0() {
  121120. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  121121. t1 = _this.scanner,
  121122. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121123. identifier = _this.interpolatedIdentifier$0(),
  121124. plain = identifier.get$asPlain(),
  121125. lower = A._Cell$(),
  121126. t2 = plain != null;
  121127. if (t2) {
  121128. if (plain === "if" && t1.peekChar$0() === 40) {
  121129. invocation = _this._stylesheet0$_argumentInvocation$0();
  121130. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  121131. } else if (plain === "not") {
  121132. _this.whitespace$1$consumeNewlines(true);
  121133. expression = _this._stylesheet0$_singleExpression$0();
  121134. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  121135. }
  121136. lower.__late_helper$_value = plain.toLowerCase();
  121137. if (t1.peekChar$0() !== 40) {
  121138. switch (plain) {
  121139. case "false":
  121140. return new A.BooleanExpression0(false, identifier.span);
  121141. case "null":
  121142. return new A.NullExpression0(identifier.span);
  121143. case "true":
  121144. return new A.BooleanExpression0(true, identifier.span);
  121145. }
  121146. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  121147. if (_0_0 != null) {
  121148. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  121149. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  121150. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  121151. t4 = _0_0.alphaOrNull;
  121152. if (t4 == null)
  121153. t4 = 0;
  121154. t5 = identifier.span;
  121155. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  121156. }
  121157. }
  121158. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  121159. if (_1_0 != null)
  121160. return _1_0;
  121161. }
  121162. _2_0 = t1.peekChar$0();
  121163. _2_2 = 46 === _2_0;
  121164. if (_2_2 && t1.peekChar$1(1) === 46)
  121165. return new A.StringExpression0(identifier, false);
  121166. if (_2_2) {
  121167. t1.readChar$0();
  121168. if (t2)
  121169. return _this.namespacedExpression$2(plain, start);
  121170. _this.error$2(0, string$.Interpn, identifier.span);
  121171. }
  121172. _2_4 = 40 === _2_0;
  121173. if (_2_4 && t2) {
  121174. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  121175. t1 = t1.spanFrom$1(start);
  121176. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  121177. }
  121178. if (_2_4)
  121179. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121180. return new A.StringExpression0(identifier, false);
  121181. },
  121182. namespacedExpression$2(namespace, start) {
  121183. var $name, t2, t3, _this = this,
  121184. t1 = _this.scanner;
  121185. if (t1.peekChar$0() === 36) {
  121186. $name = _this.variableName$0();
  121187. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  121188. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  121189. }
  121190. t2 = _this._stylesheet0$_publicIdentifier$0();
  121191. t3 = _this._stylesheet0$_argumentInvocation$0();
  121192. t1 = t1.spanFrom$1(start);
  121193. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  121194. },
  121195. trySpecialFunction$2($name, start) {
  121196. var t1, buffer, t2, next, t3, _this = this,
  121197. normalized = A.unvendor0($name);
  121198. $label0$0: {
  121199. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  121200. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  121201. else
  121202. t1 = true;
  121203. if (t1) {
  121204. t1 = new A.StringBuffer("");
  121205. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121206. t1._contents = "" + $name;
  121207. t2 = A.Primitives_stringFromCharCode(40);
  121208. t1._contents += t2;
  121209. break $label0$0;
  121210. }
  121211. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  121212. t1 = new A.StringBuffer("");
  121213. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121214. t1._contents = "" + $name;
  121215. t2 = A.Primitives_stringFromCharCode(58);
  121216. t1._contents += t2;
  121217. t2 = _this.scanner;
  121218. next = t2.peekChar$0();
  121219. while (true) {
  121220. if (next != null) {
  121221. if (!(next >= 97 && next <= 122))
  121222. t3 = next >= 65 && next <= 90;
  121223. else
  121224. t3 = true;
  121225. t3 = t3 || next === 46;
  121226. } else
  121227. t3 = false;
  121228. if (!t3)
  121229. break;
  121230. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  121231. t1._contents += t3;
  121232. next = t2.peekChar$0();
  121233. }
  121234. t2.expectChar$1(40);
  121235. t2 = A.Primitives_stringFromCharCode(40);
  121236. t1._contents += t2;
  121237. break $label0$0;
  121238. }
  121239. if ("url" === normalized)
  121240. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  121241. return null;
  121242. }
  121243. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  121244. t1 = _this.scanner;
  121245. t1.expectChar$1(41);
  121246. t2 = buffer._interpolation_buffer0$_text;
  121247. t3 = A.Primitives_stringFromCharCode(41);
  121248. t2._contents += t3;
  121249. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121250. },
  121251. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  121252. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  121253. t1 = _this.scanner,
  121254. t2 = t1._string_scanner$_position;
  121255. if (!t1.scanChar$1(40))
  121256. return null;
  121257. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121258. t3 = new A.StringBuffer("");
  121259. t4 = A._setArrayType([], type$.JSArray_Object);
  121260. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121261. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121262. t3._contents = "" + ($name == null ? "url" : $name);
  121263. t6 = A.Primitives_stringFromCharCode(40);
  121264. t3._contents += t6;
  121265. for (; true;) {
  121266. _1_0 = t1.peekChar$0();
  121267. if (_1_0 == null)
  121268. break;
  121269. if (92 === _1_0) {
  121270. t6 = _this.escape$0();
  121271. t3._contents += t6;
  121272. continue;
  121273. }
  121274. _1_6 = 35 === _1_0;
  121275. if (_1_6 && t1.peekChar$1(1) === 123) {
  121276. _0_0 = _this.singleInterpolation$0();
  121277. buffer._interpolation_buffer0$_flushText$0();
  121278. t4.push(_0_0._0);
  121279. t5.push(_0_0._1);
  121280. continue;
  121281. }
  121282. t6 = true;
  121283. if (33 !== _1_0)
  121284. if (37 !== _1_0)
  121285. if (38 !== _1_0)
  121286. if (!_1_6)
  121287. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  121288. if (t6) {
  121289. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121290. t3._contents += t6;
  121291. continue;
  121292. }
  121293. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  121294. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121295. if (t1.peekChar$0() !== 41)
  121296. break;
  121297. continue;
  121298. }
  121299. if (41 === _1_0) {
  121300. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121301. t3._contents += t2;
  121302. endPosition = t1._string_scanner$_position;
  121303. t2 = t1._sourceFile;
  121304. t3 = start.position;
  121305. t1 = new A._FileSpan(t2, t3, endPosition);
  121306. t1._FileSpan$3(t2, t3, endPosition);
  121307. return buffer.interpolation$1(t1);
  121308. }
  121309. break;
  121310. }
  121311. t1.set$state(new A._SpanScannerState(t1, t2));
  121312. return null;
  121313. },
  121314. _stylesheet0$_tryUrlContents$1(start) {
  121315. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  121316. },
  121317. dynamicUrl$0() {
  121318. var _0_0, t2, _this = this,
  121319. t1 = _this.scanner,
  121320. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121321. _this.expectIdentifier$1("url");
  121322. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  121323. if (_0_0 != null)
  121324. return new A.StringExpression0(_0_0, false);
  121325. t2 = t1.spanFrom$1(start);
  121326. 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));
  121327. },
  121328. almostAnyValue$1$omitComments(omitComments) {
  121329. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  121330. t1 = _this.scanner,
  121331. t2 = t1._string_scanner$_position,
  121332. t3 = new A.StringBuffer(""),
  121333. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121334. brackets = A._setArrayType([], type$.JSArray_int);
  121335. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  121336. $label0$0: {
  121337. _2_0 = t1.peekChar$0();
  121338. if (92 === _2_0) {
  121339. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121340. t3._contents += t8;
  121341. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121342. t3._contents += t8;
  121343. break $label0$0;
  121344. }
  121345. if (34 === _2_0 || 39 === _2_0) {
  121346. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121347. break $label0$0;
  121348. }
  121349. if (47 === _2_0) {
  121350. $label1$1: {
  121351. _0_0 = t1.peekChar$1(1);
  121352. _0_2 = 42 === _0_0;
  121353. if (_0_2 && t6) {
  121354. start = t1._string_scanner$_position;
  121355. t7.call$0();
  121356. end = t1._string_scanner$_position;
  121357. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121358. break $label1$1;
  121359. }
  121360. if (_0_2) {
  121361. _this.loudComment$0();
  121362. break $label1$1;
  121363. }
  121364. _0_4 = 47 === _0_0;
  121365. if (_0_4 && t6) {
  121366. t8 = _this.get$silentComment();
  121367. start = t1._string_scanner$_position;
  121368. t8.call$0();
  121369. end = t1._string_scanner$_position;
  121370. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121371. break $label1$1;
  121372. }
  121373. if (_0_4) {
  121374. _this.silentComment$0();
  121375. break $label1$1;
  121376. }
  121377. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121378. t3._contents += t8;
  121379. }
  121380. break $label0$0;
  121381. }
  121382. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121383. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121384. break $label0$0;
  121385. }
  121386. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  121387. if (_this.get$indented() && brackets.length === 0)
  121388. break;
  121389. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121390. t3._contents += t8;
  121391. break $label0$0;
  121392. }
  121393. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  121394. break;
  121395. if (117 === _2_0 || 85 === _2_0) {
  121396. t8 = t1._string_scanner$_position;
  121397. identifier = _this.identifier$0();
  121398. if (identifier !== "url" && identifier !== "url-prefix") {
  121399. t3._contents += identifier;
  121400. continue;
  121401. }
  121402. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  121403. if (_1_0 != null)
  121404. buffer.addInterpolation$1(_1_0);
  121405. else {
  121406. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  121407. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  121408. t1._string_scanner$_position = t8;
  121409. t1._lastMatch = null;
  121410. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121411. t3._contents += t8;
  121412. }
  121413. break $label0$0;
  121414. }
  121415. if (40 === _2_0 || 91 === _2_0) {
  121416. bracket = t1.readChar$0();
  121417. t8 = A.Primitives_stringFromCharCode(bracket);
  121418. t3._contents += t8;
  121419. brackets.push(A.opposite0(bracket));
  121420. break $label0$0;
  121421. }
  121422. if (41 === _2_0 || 93 === _2_0) {
  121423. t8 = _2_0 != null;
  121424. char = t8 ? _2_0 : null;
  121425. } else {
  121426. char = null;
  121427. t8 = false;
  121428. }
  121429. if (t8) {
  121430. if (brackets.length === 0)
  121431. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  121432. bracket = brackets.pop();
  121433. t1.expectChar$1(bracket);
  121434. t8 = A.Primitives_stringFromCharCode(bracket);
  121435. t3._contents += t8;
  121436. break $label0$0;
  121437. }
  121438. if (_2_0 == null)
  121439. break;
  121440. t8 = _this.lookingAtIdentifier$0();
  121441. if (t8) {
  121442. t8 = _this.identifier$0();
  121443. t3._contents += t8;
  121444. break $label0$0;
  121445. }
  121446. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121447. t3._contents += t8;
  121448. }
  121449. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121450. },
  121451. almostAnyValue$0() {
  121452. return this.almostAnyValue$1$omitComments(false);
  121453. },
  121454. _stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  121455. 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,
  121456. t1 = _this.scanner,
  121457. t2 = t1._string_scanner$_position,
  121458. t3 = new A.StringBuffer(""),
  121459. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121460. brackets = A._setArrayType([], type$.JSArray_int);
  121461. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  121462. $label0$0: {
  121463. _2_0 = t1.peekChar$0();
  121464. wroteNewline0 = false;
  121465. if (92 === _2_0) {
  121466. t11 = _this.escape$1$identifierStart(true);
  121467. t3._contents += t11;
  121468. wroteNewline = wroteNewline0;
  121469. break $label0$0;
  121470. }
  121471. if (34 === _2_0 || 39 === _2_0) {
  121472. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121473. wroteNewline = wroteNewline0;
  121474. break $label0$0;
  121475. }
  121476. if (47 === _2_0) {
  121477. $label1$1: {
  121478. _0_0 = t1.peekChar$1(1);
  121479. if (42 === _0_0) {
  121480. start = t1._string_scanner$_position;
  121481. t10.call$0();
  121482. end = t1._string_scanner$_position;
  121483. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  121484. break $label1$1;
  121485. }
  121486. if (47 === _0_0 && silentComments) {
  121487. _this.silentComment$0();
  121488. break $label1$1;
  121489. }
  121490. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121491. t3._contents += t11;
  121492. }
  121493. wroteNewline = wroteNewline0;
  121494. break $label0$0;
  121495. }
  121496. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121497. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121498. wroteNewline = wroteNewline0;
  121499. break $label0$0;
  121500. }
  121501. _2_14_isSet = 32 !== _2_0;
  121502. if (_2_14_isSet) {
  121503. _2_14 = 9 === _2_0;
  121504. t11 = _2_14;
  121505. } else {
  121506. _2_14 = _null;
  121507. t11 = true;
  121508. }
  121509. t12 = false;
  121510. if (t11)
  121511. if (!wroteNewline) {
  121512. t11 = t1.peekChar$1(1);
  121513. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  121514. } else
  121515. t11 = t12;
  121516. else
  121517. t11 = t12;
  121518. if (t11) {
  121519. t1.readChar$0();
  121520. break $label0$0;
  121521. }
  121522. if (_2_14_isSet)
  121523. t11 = _2_14;
  121524. else
  121525. t11 = true;
  121526. if (t11) {
  121527. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121528. t3._contents += t11;
  121529. break $label0$0;
  121530. }
  121531. _2_18_isSet = 10 !== _2_0;
  121532. _2_20 = _null;
  121533. t11 = true;
  121534. if (_2_18_isSet) {
  121535. _2_18 = 13 === _2_0;
  121536. _2_20_isSet = !_2_18;
  121537. if (_2_20_isSet) {
  121538. _2_20 = 12 === _2_0;
  121539. t11 = _2_20;
  121540. }
  121541. } else {
  121542. _2_18 = _null;
  121543. _2_20_isSet = false;
  121544. }
  121545. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  121546. break;
  121547. t11 = true;
  121548. if (_2_18_isSet)
  121549. if (!_2_18)
  121550. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  121551. if (t11) {
  121552. t11 = t1.peekChar$1(-1);
  121553. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  121554. t3._contents += "\n";
  121555. t1.readChar$0();
  121556. wroteNewline = true;
  121557. break $label0$0;
  121558. }
  121559. _2_22 = 123 === _2_0;
  121560. if (_2_22 && t5)
  121561. break;
  121562. if (40 !== _2_0)
  121563. t11 = _2_22 || 91 === _2_0;
  121564. else
  121565. t11 = true;
  121566. if (t11) {
  121567. bracket = t1.readChar$0();
  121568. t11 = A.Primitives_stringFromCharCode(bracket);
  121569. t3._contents += t11;
  121570. brackets.push(A.opposite0(bracket));
  121571. wroteNewline = wroteNewline0;
  121572. break $label0$0;
  121573. }
  121574. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  121575. if (brackets.length === 0)
  121576. break;
  121577. bracket = brackets.pop();
  121578. t1.expectChar$1(bracket);
  121579. t11 = A.Primitives_stringFromCharCode(bracket);
  121580. t3._contents += t11;
  121581. wroteNewline = wroteNewline0;
  121582. break $label0$0;
  121583. }
  121584. if (59 === _2_0) {
  121585. if (t9 && brackets.length === 0)
  121586. break;
  121587. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121588. t3._contents += t11;
  121589. wroteNewline = wroteNewline0;
  121590. break $label0$0;
  121591. }
  121592. if (58 === _2_0) {
  121593. if (t8 && brackets.length === 0)
  121594. break;
  121595. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121596. t3._contents += t11;
  121597. wroteNewline = wroteNewline0;
  121598. break $label0$0;
  121599. }
  121600. if (117 === _2_0 || 85 === _2_0) {
  121601. t11 = t1._string_scanner$_position;
  121602. identifier = _this.identifier$0();
  121603. if (identifier !== "url" && identifier !== "url-prefix") {
  121604. t3._contents += identifier;
  121605. wroteNewline = wroteNewline0;
  121606. continue;
  121607. }
  121608. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  121609. if (_1_0 != null)
  121610. buffer.addInterpolation$1(_1_0);
  121611. else {
  121612. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  121613. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  121614. t1._string_scanner$_position = t11;
  121615. t1._lastMatch = null;
  121616. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121617. t3._contents += t11;
  121618. }
  121619. wroteNewline = wroteNewline0;
  121620. break $label0$0;
  121621. }
  121622. if (_2_0 == null)
  121623. break;
  121624. t11 = _this.lookingAtIdentifier$0();
  121625. if (t11) {
  121626. t11 = _this.identifier$0();
  121627. t3._contents += t11;
  121628. wroteNewline = wroteNewline0;
  121629. break $label0$0;
  121630. }
  121631. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121632. t3._contents += t11;
  121633. wroteNewline = wroteNewline0;
  121634. }
  121635. if (brackets.length !== 0)
  121636. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  121637. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  121638. t1.error$1(0, "Expected token.");
  121639. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121640. },
  121641. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  121642. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  121643. },
  121644. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  121645. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  121646. },
  121647. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  121648. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121649. },
  121650. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  121651. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  121652. },
  121653. _stylesheet0$_interpolatedDeclarationValue$0() {
  121654. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  121655. },
  121656. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  121657. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  121658. },
  121659. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  121660. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  121661. },
  121662. interpolatedIdentifier$0() {
  121663. var t3, _1_0, _0_0, _this = this,
  121664. _s20_ = "Expected identifier.",
  121665. t1 = _this.scanner,
  121666. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121667. t2 = new A.StringBuffer(""),
  121668. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121669. if (t1.scanChar$1(45)) {
  121670. t3 = A.Primitives_stringFromCharCode(45);
  121671. t2._contents += t3;
  121672. if (t1.scanChar$1(45)) {
  121673. t3 = A.Primitives_stringFromCharCode(45);
  121674. t2._contents += t3;
  121675. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121676. return buffer.interpolation$1(t1.spanFrom$1(start));
  121677. }
  121678. }
  121679. $label0$0: {
  121680. _1_0 = t1.peekChar$0();
  121681. if (_1_0 == null)
  121682. t1.error$1(0, _s20_);
  121683. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  121684. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121685. t2._contents += t3;
  121686. break $label0$0;
  121687. }
  121688. if (92 === _1_0) {
  121689. t3 = _this.escape$1$identifierStart(true);
  121690. t2._contents += t3;
  121691. break $label0$0;
  121692. }
  121693. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121694. _0_0 = _this.singleInterpolation$0();
  121695. buffer.add$2(0, _0_0._0, _0_0._1);
  121696. break $label0$0;
  121697. }
  121698. t1.error$1(0, _s20_);
  121699. }
  121700. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  121701. return buffer.interpolation$1(t1.spanFrom$1(start));
  121702. },
  121703. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  121704. var t1, t2, t3, t4, _1_0, t5, _0_0;
  121705. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text; true;) {
  121706. _1_0 = t3.peekChar$0();
  121707. if (_1_0 == null)
  121708. break;
  121709. t5 = true;
  121710. if (95 !== _1_0)
  121711. if (45 !== _1_0) {
  121712. if (!(_1_0 >= 97 && _1_0 <= 122))
  121713. t5 = _1_0 >= 65 && _1_0 <= 90;
  121714. else
  121715. t5 = true;
  121716. if (!t5)
  121717. t5 = _1_0 >= 48 && _1_0 <= 57;
  121718. else
  121719. t5 = true;
  121720. t5 = t5 || _1_0 >= 128;
  121721. }
  121722. if (t5) {
  121723. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  121724. t4._contents += t5;
  121725. continue;
  121726. }
  121727. if (92 === _1_0) {
  121728. t5 = this.escape$0();
  121729. t4._contents += t5;
  121730. continue;
  121731. }
  121732. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  121733. _0_0 = this.singleInterpolation$0();
  121734. buffer._interpolation_buffer0$_flushText$0();
  121735. t1.push(_0_0._0);
  121736. t2.push(_0_0._1);
  121737. continue;
  121738. }
  121739. break;
  121740. }
  121741. },
  121742. singleInterpolation$0() {
  121743. var contents, span, _this = this,
  121744. t1 = _this.scanner,
  121745. t2 = t1._string_scanner$_position;
  121746. t1.expect$1("#{");
  121747. _this.whitespace$1$consumeNewlines(true);
  121748. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121749. t1.expectChar$1(125);
  121750. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121751. if (_this.get$plainCss())
  121752. _this.error$2(0, string$.Interpp, span);
  121753. return new A._Record_2(contents, span);
  121754. },
  121755. _stylesheet0$_mediaQueryList$0() {
  121756. var t4, _this = this,
  121757. t1 = _this.scanner,
  121758. t2 = t1._string_scanner$_position,
  121759. t3 = new A.StringBuffer(""),
  121760. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121761. for (; true;) {
  121762. _this.whitespace$1$consumeNewlines(false);
  121763. _this._stylesheet0$_mediaQuery$1(buffer);
  121764. _this.whitespace$1$consumeNewlines(false);
  121765. if (!t1.scanChar$1(44))
  121766. break;
  121767. t4 = A.Primitives_stringFromCharCode(44);
  121768. t3._contents += t4;
  121769. t4 = A.Primitives_stringFromCharCode(32);
  121770. t3._contents += t4;
  121771. }
  121772. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121773. },
  121774. _stylesheet0$_mediaQuery$1(buffer) {
  121775. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  121776. if (_this.scanner.peekChar$0() === 40) {
  121777. _this._stylesheet0$_mediaInParens$1(buffer);
  121778. _this.whitespace$1$consumeNewlines(false);
  121779. if (_this.scanIdentifier$1(_s3_)) {
  121780. buffer._interpolation_buffer0$_text._contents += " and ";
  121781. _this.expectWhitespace$0();
  121782. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  121783. } else if (_this.scanIdentifier$1("or")) {
  121784. buffer._interpolation_buffer0$_text._contents += " or ";
  121785. _this.expectWhitespace$0();
  121786. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  121787. }
  121788. return;
  121789. }
  121790. identifier1 = _this.interpolatedIdentifier$0();
  121791. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  121792. _this.expectWhitespace$0();
  121793. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  121794. buffer._interpolation_buffer0$_text._contents += "not ";
  121795. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121796. return;
  121797. }
  121798. }
  121799. _this.whitespace$1$consumeNewlines(false);
  121800. buffer.addInterpolation$1(identifier1);
  121801. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121802. return;
  121803. t1 = buffer._interpolation_buffer0$_text;
  121804. t2 = A.Primitives_stringFromCharCode(32);
  121805. t1._contents += t2;
  121806. identifier2 = _this.interpolatedIdentifier$0();
  121807. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  121808. _this.expectWhitespace$0();
  121809. t1._contents += " and ";
  121810. } else {
  121811. _this.whitespace$1$consumeNewlines(false);
  121812. buffer.addInterpolation$1(identifier2);
  121813. if (_this.scanIdentifier$1(_s3_)) {
  121814. _this.expectWhitespace$0();
  121815. t1._contents += " and ";
  121816. } else
  121817. return;
  121818. }
  121819. if (_this.scanIdentifier$1("not")) {
  121820. _this.expectWhitespace$0();
  121821. t1._contents += "not ";
  121822. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121823. return;
  121824. }
  121825. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  121826. return;
  121827. },
  121828. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  121829. var t1, t2, _this = this;
  121830. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  121831. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121832. _this.whitespace$1$consumeNewlines(false);
  121833. if (!_this.scanIdentifier$1(operator))
  121834. return;
  121835. _this.expectWhitespace$1$consumeNewlines(false);
  121836. t2 = A.Primitives_stringFromCharCode(32);
  121837. t2 = t1._contents += t2;
  121838. t1._contents = t2 + operator;
  121839. t2 = A.Primitives_stringFromCharCode(32);
  121840. t1._contents += t2;
  121841. }
  121842. },
  121843. _stylesheet0$_mediaOrInterp$1(buffer) {
  121844. var _0_0;
  121845. if (this.scanner.peekChar$0() === 35) {
  121846. _0_0 = this.singleInterpolation$0();
  121847. buffer.add$2(0, _0_0._0, _0_0._1);
  121848. } else
  121849. this._stylesheet0$_mediaInParens$1(buffer);
  121850. },
  121851. _stylesheet0$_mediaInParens$1(buffer) {
  121852. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  121853. t1 = _this.scanner;
  121854. t1.expectChar$2$name(40, "media condition in parentheses");
  121855. t2 = buffer._interpolation_buffer0$_text;
  121856. t3 = A.Primitives_stringFromCharCode(40);
  121857. t2._contents += t3;
  121858. _this.whitespace$1$consumeNewlines(true);
  121859. if (t1.peekChar$0() === 40) {
  121860. _this._stylesheet0$_mediaInParens$1(buffer);
  121861. _this.whitespace$1$consumeNewlines(true);
  121862. if (_this.scanIdentifier$1("and")) {
  121863. t2._contents += " and ";
  121864. _this.expectWhitespace$1$consumeNewlines(true);
  121865. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  121866. } else if (_this.scanIdentifier$1("or")) {
  121867. t2._contents += " or ";
  121868. _this.expectWhitespace$1$consumeNewlines(true);
  121869. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  121870. }
  121871. } else if (_this.scanIdentifier$1("not")) {
  121872. t2._contents += "not ";
  121873. _this.expectWhitespace$1$consumeNewlines(true);
  121874. _this._stylesheet0$_mediaOrInterp$1(buffer);
  121875. } else {
  121876. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  121877. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  121878. if (t1.scanChar$1(58)) {
  121879. _this.whitespace$1$consumeNewlines(true);
  121880. t3 = A.Primitives_stringFromCharCode(58);
  121881. t2._contents += t3;
  121882. t3 = A.Primitives_stringFromCharCode(32);
  121883. t2._contents += t3;
  121884. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  121885. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  121886. } else {
  121887. next = t1.peekChar$0();
  121888. t3 = 60 !== next;
  121889. if (!t3 || 62 === next || 61 === next) {
  121890. t4 = A.Primitives_stringFromCharCode(32);
  121891. t2._contents += t4;
  121892. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121893. t2._contents += t4;
  121894. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  121895. t4 = A.Primitives_stringFromCharCode(61);
  121896. t2._contents += t4;
  121897. }
  121898. t4 = A.Primitives_stringFromCharCode(32);
  121899. t2._contents += t4;
  121900. _this.whitespace$1$consumeNewlines(true);
  121901. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  121902. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  121903. if (!t3 || 62 === next) {
  121904. next.toString;
  121905. t3 = t1.scanChar$1(next);
  121906. } else
  121907. t3 = false;
  121908. if (t3) {
  121909. t3 = A.Primitives_stringFromCharCode(32);
  121910. t2._contents += t3;
  121911. t3 = A.Primitives_stringFromCharCode(next);
  121912. t2._contents += t3;
  121913. if (t1.scanChar$1(61)) {
  121914. t3 = A.Primitives_stringFromCharCode(61);
  121915. t2._contents += t3;
  121916. }
  121917. t3 = A.Primitives_stringFromCharCode(32);
  121918. t2._contents += t3;
  121919. _this.whitespace$1$consumeNewlines(true);
  121920. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  121921. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  121922. }
  121923. }
  121924. }
  121925. }
  121926. t1.expectChar$1(41);
  121927. _this.whitespace$1$consumeNewlines(false);
  121928. t1 = A.Primitives_stringFromCharCode(41);
  121929. t2._contents += t1;
  121930. },
  121931. _stylesheet0$_expressionUntilComparison$0() {
  121932. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  121933. },
  121934. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  121935. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  121936. t1 = _this.scanner,
  121937. t2 = t1._string_scanner$_position;
  121938. if (_this.scanIdentifier$1("not")) {
  121939. _this.whitespace$1$consumeNewlines(inParentheses);
  121940. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121941. }
  121942. condition = _this._stylesheet0$_supportsConditionInParens$0();
  121943. _this.whitespace$1$consumeNewlines(inParentheses);
  121944. for (operator = null; _this.lookingAtIdentifier$0();) {
  121945. if (operator != null)
  121946. _this.expectIdentifier$1(operator);
  121947. else if (_this.scanIdentifier$1("or"))
  121948. operator = "or";
  121949. else {
  121950. _this.expectIdentifier$1("and");
  121951. operator = "and";
  121952. }
  121953. _this.whitespace$1$consumeNewlines(inParentheses);
  121954. right = _this._stylesheet0$_supportsConditionInParens$0();
  121955. endPosition = t1._string_scanner$_position;
  121956. t3 = t1._sourceFile;
  121957. t4 = new A._FileSpan(t3, t2, endPosition);
  121958. t4._FileSpan$3(t3, t2, endPosition);
  121959. condition = new A.SupportsOperation0(condition, right, operator, t4);
  121960. lowerOperator = operator.toLowerCase();
  121961. if (lowerOperator !== "and" && lowerOperator !== "or")
  121962. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  121963. _this.whitespace$1$consumeNewlines(inParentheses);
  121964. }
  121965. return condition;
  121966. },
  121967. _stylesheet0$_supportsCondition$0() {
  121968. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  121969. },
  121970. _stylesheet0$_supportsConditionInParens$0() {
  121971. 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,
  121972. t1 = _this.scanner,
  121973. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121974. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  121975. identifier0 = _this.interpolatedIdentifier$0();
  121976. t2 = identifier0.get$asPlain();
  121977. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  121978. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  121979. if (t1.scanChar$1(40)) {
  121980. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  121981. t1.expectChar$1(41);
  121982. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  121983. } else {
  121984. _0_0 = identifier0.contents;
  121985. _0_4_isSet = _0_0.length === 1;
  121986. if (_0_4_isSet) {
  121987. _0_4 = _0_0[0];
  121988. _0_40 = _0_4;
  121989. t2 = _0_4 instanceof A.Expression0;
  121990. _0_4 = _0_40;
  121991. } else {
  121992. _0_4 = null;
  121993. t2 = false;
  121994. }
  121995. if (t2) {
  121996. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  121997. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  121998. } else
  121999. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  122000. }
  122001. }
  122002. t1.expectChar$1(40);
  122003. _this.whitespace$1$consumeNewlines(true);
  122004. if (_this.scanIdentifier$1("not")) {
  122005. _this.whitespace$1$consumeNewlines(true);
  122006. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122007. t1.expectChar$1(41);
  122008. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  122009. } else if (t1.peekChar$0() === 40) {
  122010. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  122011. t1.expectChar$1(41);
  122012. return condition.withSpan$1(t1.spanFrom$1(start));
  122013. }
  122014. $name = null;
  122015. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122016. wasInParentheses = _this._stylesheet0$_inParentheses;
  122017. try {
  122018. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122019. t1.expectChar$1(58);
  122020. } catch (exception) {
  122021. if (type$.FormatException._is(A.unwrapException(exception))) {
  122022. t1.set$state(nameStart);
  122023. _this._stylesheet0$_inParentheses = wasInParentheses;
  122024. identifier = _this.interpolatedIdentifier$0();
  122025. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  122026. operation = null;
  122027. if (_1_0 != null) {
  122028. operation = _1_0;
  122029. t1.expectChar$1(41);
  122030. t2 = operation;
  122031. t1 = t1.spanFrom$1(start);
  122032. return A.SupportsOperation$0(t2.left, t2.right, t2.operator, t1);
  122033. }
  122034. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122035. t2.addInterpolation$1(identifier);
  122036. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  122037. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  122038. if (t1.peekChar$0() === 58)
  122039. throw exception;
  122040. t1.expectChar$1(41);
  122041. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  122042. } else
  122043. throw exception;
  122044. }
  122045. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  122046. t1.expectChar$1(41);
  122047. return new A.SupportsDeclaration0($name, value, t1.spanFrom$1(start));
  122048. },
  122049. _stylesheet0$_supportsDeclarationValue$1($name) {
  122050. var t1 = false;
  122051. if ($name instanceof A.StringExpression0)
  122052. if (!$name.hasQuotes)
  122053. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  122054. if (t1)
  122055. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  122056. else {
  122057. this.whitespace$1$consumeNewlines(true);
  122058. return this._stylesheet0$_expression$1$consumeNewlines(true);
  122059. }
  122060. },
  122061. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  122062. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  122063. t1 = interpolation.contents;
  122064. if (t1.length !== 1)
  122065. return _null;
  122066. expression = B.JSArray_methods.get$first(t1);
  122067. if (!(expression instanceof A.Expression0))
  122068. return _null;
  122069. t1 = _this.scanner;
  122070. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122071. _this.whitespace$1$consumeNewlines(true);
  122072. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  122073. if (operator != null)
  122074. _this.expectIdentifier$1(operator);
  122075. else if (_this.scanIdentifier$1("and"))
  122076. operator = "and";
  122077. else {
  122078. if (!_this.scanIdentifier$1("or")) {
  122079. if (beforeWhitespace._scanner !== t1)
  122080. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  122081. t2 = beforeWhitespace.position;
  122082. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  122083. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  122084. t1._string_scanner$_position = t2;
  122085. return t1._lastMatch = null;
  122086. }
  122087. operator = "or";
  122088. }
  122089. _this.whitespace$1$consumeNewlines(true);
  122090. right = _this._stylesheet0$_supportsConditionInParens$0();
  122091. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  122092. endPosition = t1._string_scanner$_position;
  122093. t5 = t1._sourceFile;
  122094. t6 = new A._FileSpan(t5, t2, endPosition);
  122095. t6._FileSpan$3(t5, t2, endPosition);
  122096. operation = new A.SupportsOperation0(t4, right, operator, t6);
  122097. lowerOperator = operator.toLowerCase();
  122098. if (lowerOperator !== "and" && lowerOperator !== "or")
  122099. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122100. _this.whitespace$1$consumeNewlines(true);
  122101. }
  122102. return operation;
  122103. },
  122104. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  122105. var t2, _0_0,
  122106. t1 = this.scanner,
  122107. _1_0 = t1.peekChar$0();
  122108. $label0$0: {
  122109. t2 = false;
  122110. if (_1_0 == null) {
  122111. t1 = t2;
  122112. break $label0$0;
  122113. }
  122114. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  122115. t1 = true;
  122116. break $label0$0;
  122117. }
  122118. if (35 === _1_0) {
  122119. t1 = t1.peekChar$1(1) === 123;
  122120. break $label0$0;
  122121. }
  122122. if (45 === _1_0) {
  122123. _0_0 = t1.peekChar$1(1);
  122124. $label1$1: {
  122125. if (_0_0 == null) {
  122126. t1 = t2;
  122127. break $label1$1;
  122128. }
  122129. if (35 === _0_0) {
  122130. t1 = t1.peekChar$1(2) === 123;
  122131. break $label1$1;
  122132. }
  122133. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  122134. t1 = true;
  122135. break $label1$1;
  122136. }
  122137. t1 = t2;
  122138. break $label1$1;
  122139. }
  122140. break $label0$0;
  122141. }
  122142. t1 = t2;
  122143. break $label0$0;
  122144. }
  122145. return t1;
  122146. },
  122147. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  122148. var t1 = this.scanner,
  122149. _0_0 = t1.peekChar$0();
  122150. $label0$0: {
  122151. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  122152. t1 = true;
  122153. break $label0$0;
  122154. }
  122155. if (35 === _0_0) {
  122156. t1 = t1.peekChar$1(1) !== 123;
  122157. break $label0$0;
  122158. }
  122159. t1 = false;
  122160. break $label0$0;
  122161. }
  122162. return t1;
  122163. },
  122164. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  122165. var t2, t3,
  122166. t1 = this.scanner,
  122167. _0_0 = t1.peekChar$0();
  122168. $label0$0: {
  122169. t2 = false;
  122170. if (_0_0 == null) {
  122171. t1 = t2;
  122172. break $label0$0;
  122173. }
  122174. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  122175. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  122176. else
  122177. t3 = true;
  122178. if (t3 || 92 === _0_0) {
  122179. t1 = true;
  122180. break $label0$0;
  122181. }
  122182. if (35 === _0_0) {
  122183. t1 = t1.peekChar$1(1) === 123;
  122184. break $label0$0;
  122185. }
  122186. t1 = t2;
  122187. break $label0$0;
  122188. }
  122189. return t1;
  122190. },
  122191. _stylesheet0$_lookingAtExpression$0() {
  122192. var t2, _0_0,
  122193. t1 = this.scanner,
  122194. _1_0 = t1.peekChar$0();
  122195. $label0$0: {
  122196. t2 = true;
  122197. if (_1_0 == null) {
  122198. t1 = false;
  122199. break $label0$0;
  122200. }
  122201. if (46 === _1_0) {
  122202. t1 = t1.peekChar$1(1) !== 46;
  122203. break $label0$0;
  122204. }
  122205. if (33 === _1_0) {
  122206. _0_0 = t1.peekChar$1(1);
  122207. $label1$1: {
  122208. if (_0_0 != null)
  122209. if (105 !== _0_0)
  122210. if (73 !== _0_0)
  122211. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  122212. else
  122213. t1 = t2;
  122214. else
  122215. t1 = t2;
  122216. else
  122217. t1 = t2;
  122218. if (t1)
  122219. break $label1$1;
  122220. break $label1$1;
  122221. }
  122222. break $label0$0;
  122223. }
  122224. t1 = true;
  122225. if (40 !== _1_0)
  122226. if (47 !== _1_0)
  122227. if (91 !== _1_0)
  122228. if (39 !== _1_0)
  122229. if (34 !== _1_0)
  122230. if (35 !== _1_0)
  122231. if (43 !== _1_0)
  122232. if (45 !== _1_0)
  122233. if (92 !== _1_0)
  122234. if (36 !== _1_0)
  122235. if (38 !== _1_0)
  122236. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  122237. t1 = _1_0 >= 48 && _1_0 <= 57;
  122238. if (t1) {
  122239. t1 = t2;
  122240. break $label0$0;
  122241. }
  122242. t1 = false;
  122243. break $label0$0;
  122244. }
  122245. return t1;
  122246. },
  122247. _stylesheet0$_withChildren$1$3(child, start, create) {
  122248. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  122249. this.whitespaceWithoutComments$1$consumeNewlines(false);
  122250. return result;
  122251. },
  122252. _stylesheet0$_withChildren$3(child, start, create) {
  122253. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  122254. },
  122255. _stylesheet0$_urlString$0() {
  122256. var innerError, stackTrace, t2, exception,
  122257. t1 = this.scanner,
  122258. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122259. url = this.string$0();
  122260. try {
  122261. t2 = A.Uri_parse(url);
  122262. return t2;
  122263. } catch (exception) {
  122264. t2 = A.unwrapException(exception);
  122265. if (type$.FormatException._is(t2)) {
  122266. innerError = t2;
  122267. stackTrace = A.getTraceFromException(exception);
  122268. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  122269. } else
  122270. throw exception;
  122271. }
  122272. },
  122273. _stylesheet0$_publicIdentifier$0() {
  122274. var _this = this,
  122275. t1 = _this.scanner,
  122276. t2 = t1._string_scanner$_position,
  122277. result = _this.identifier$0();
  122278. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  122279. return result;
  122280. },
  122281. _stylesheet0$_assertPublic$2(identifier, span) {
  122282. var first = identifier.charCodeAt(0);
  122283. if (!(first === 45 || first === 95))
  122284. return;
  122285. this.error$2(0, string$.Privat, span.call$0());
  122286. },
  122287. _stylesheet0$_addOrInject$2(buffer, expression) {
  122288. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  122289. buffer.addInterpolation$1(expression.text);
  122290. else
  122291. buffer.add$2(0, expression, expression.get$span(expression));
  122292. },
  122293. get$plainCss() {
  122294. return false;
  122295. }
  122296. };
  122297. A.StylesheetParser_parse_closure0.prototype = {
  122298. call$0() {
  122299. var statements,
  122300. t1 = this.$this,
  122301. t2 = t1.scanner,
  122302. t3 = t2._string_scanner$_position;
  122303. t2.scanChar$1(65279);
  122304. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  122305. t2.expectDone$0();
  122306. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  122307. },
  122308. $signature: 597
  122309. };
  122310. A.StylesheetParser_parse__closure0.prototype = {
  122311. call$0() {
  122312. var t1 = this.$this;
  122313. if (t1.scanner.scan$1("@charset")) {
  122314. t1.whitespace$1$consumeNewlines(false);
  122315. t1.string$0();
  122316. return null;
  122317. }
  122318. return t1._stylesheet0$_statement$1$root(true);
  122319. },
  122320. $signature: 598
  122321. };
  122322. A.StylesheetParser_parseParameterList_closure0.prototype = {
  122323. call$0() {
  122324. var parameters,
  122325. t1 = this.$this,
  122326. t2 = t1.scanner;
  122327. t2.expectChar$2$name(64, "@-rule");
  122328. t1.identifier$0();
  122329. t1.whitespace$1$consumeNewlines(true);
  122330. t1.identifier$0();
  122331. parameters = t1._stylesheet0$_parameterList$0();
  122332. t1.whitespace$1$consumeNewlines(true);
  122333. t2.expectChar$1(123);
  122334. return parameters;
  122335. },
  122336. $signature: 599
  122337. };
  122338. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  122339. call$0() {
  122340. var result = this.production.call$0();
  122341. this.$this.scanner.expectDone$0();
  122342. return result;
  122343. },
  122344. $signature() {
  122345. return this.T._eval$1("0()");
  122346. }
  122347. };
  122348. A.StylesheetParser_parseSignature_closure.prototype = {
  122349. call$0() {
  122350. var parameters, t2, t3,
  122351. t1 = this.$this,
  122352. $name = t1.identifier$0();
  122353. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  122354. parameters = t1._stylesheet0$_parameterList$0();
  122355. else {
  122356. t2 = t1.scanner;
  122357. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  122358. t3 = t2.offset;
  122359. parameters = new A.ParameterList0(B.List_empty24, null, A._FileSpan$(t2.file, t3, t3));
  122360. }
  122361. t1.scanner.expectDone$0();
  122362. return new A._Record_2($name, parameters);
  122363. },
  122364. $signature: 600
  122365. };
  122366. A.StylesheetParser__statement_closure0.prototype = {
  122367. call$0() {
  122368. return this.$this._stylesheet0$_statement$0();
  122369. },
  122370. $signature: 126
  122371. };
  122372. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  122373. call$0() {
  122374. return this.$this.scanner.spanFrom$1(this.start);
  122375. },
  122376. $signature: 28
  122377. };
  122378. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  122379. call$0() {
  122380. return this.declaration.span;
  122381. },
  122382. $signature: 28
  122383. };
  122384. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  122385. call$0() {
  122386. return this.$this.whitespace$1$consumeNewlines(false);
  122387. },
  122388. $signature: 0
  122389. };
  122390. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  122391. call$0() {
  122392. return this.$this.whitespace$1$consumeNewlines(false);
  122393. },
  122394. $signature: 0
  122395. };
  122396. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  122397. call$0() {
  122398. return this.$this.whitespace$1$consumeNewlines(false);
  122399. },
  122400. $signature: 0
  122401. };
  122402. A.StylesheetParser__styleRule_closure0.prototype = {
  122403. call$2(children, span) {
  122404. var _this = this,
  122405. t1 = _this.$this;
  122406. if (t1.get$indented() && children.length === 0)
  122407. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  122408. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  122409. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  122410. },
  122411. $signature: 601
  122412. };
  122413. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  122414. call$0() {
  122415. return this.$this.whitespace$1$consumeNewlines(false);
  122416. },
  122417. $signature: 0
  122418. };
  122419. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  122420. call$2(children, span) {
  122421. return A.Declaration$nested0(this.name, children, span, this.value);
  122422. },
  122423. $signature: 602
  122424. };
  122425. A.StylesheetParser__atRootRule_closure1.prototype = {
  122426. call$2(children, span) {
  122427. return A.AtRootRule$0(children, span, this.query);
  122428. },
  122429. $signature: 251
  122430. };
  122431. A.StylesheetParser__atRootRule_closure2.prototype = {
  122432. call$2(children, span) {
  122433. return A.AtRootRule$0(children, span, null);
  122434. },
  122435. $signature: 251
  122436. };
  122437. A.StylesheetParser__eachRule_closure0.prototype = {
  122438. call$2(children, span) {
  122439. var _this = this;
  122440. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122441. return A.EachRule$0(_this.variables, _this.list, children, span);
  122442. },
  122443. $signature: 604
  122444. };
  122445. A.StylesheetParser__functionRule_closure0.prototype = {
  122446. call$2(children, span) {
  122447. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  122448. },
  122449. $signature: 605
  122450. };
  122451. A.StylesheetParser__forRule_closure1.prototype = {
  122452. call$0() {
  122453. var t1 = this.$this;
  122454. if (!t1.lookingAtIdentifier$0())
  122455. return false;
  122456. if (t1.scanIdentifier$1("to"))
  122457. return this._box_0.exclusive = true;
  122458. else if (t1.scanIdentifier$1("through")) {
  122459. this._box_0.exclusive = false;
  122460. return true;
  122461. } else
  122462. return false;
  122463. },
  122464. $signature: 22
  122465. };
  122466. A.StylesheetParser__forRule_closure2.prototype = {
  122467. call$2(children, span) {
  122468. var t1, _this = this;
  122469. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122470. t1 = _this._box_0.exclusive;
  122471. t1.toString;
  122472. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  122473. },
  122474. $signature: 606
  122475. };
  122476. A.StylesheetParser__memberList_closure0.prototype = {
  122477. call$0() {
  122478. var t1 = this.$this;
  122479. if (t1.scanner.peekChar$0() === 36)
  122480. this.variables.add$1(0, t1.variableName$0());
  122481. else
  122482. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  122483. },
  122484. $signature: 1
  122485. };
  122486. A.StylesheetParser__includeRule_closure0.prototype = {
  122487. call$2(children, span) {
  122488. return A.ContentBlock$0(this.contentParameters_, children, span);
  122489. },
  122490. $signature: 607
  122491. };
  122492. A.StylesheetParser_mediaRule_closure0.prototype = {
  122493. call$2(children, span) {
  122494. return A.MediaRule$0(this.query, children, span);
  122495. },
  122496. $signature: 608
  122497. };
  122498. A.StylesheetParser__mixinRule_closure0.prototype = {
  122499. call$2(children, span) {
  122500. var _this = this;
  122501. _this.$this._stylesheet0$_inMixin = false;
  122502. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  122503. },
  122504. $signature: 609
  122505. };
  122506. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  122507. call$0() {
  122508. return this.$this.whitespace$1$consumeNewlines(false);
  122509. },
  122510. $signature: 0
  122511. };
  122512. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  122513. call$2(children, span) {
  122514. var _this = this;
  122515. if (_this._box_0.needsDeprecationWarning)
  122516. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_L0R, string$.x40_moz_, span));
  122517. return A.AtRule$0(_this.name, span, children, _this.value);
  122518. },
  122519. $signature: 248
  122520. };
  122521. A.StylesheetParser_supportsRule_closure0.prototype = {
  122522. call$2(children, span) {
  122523. return A.SupportsRule$0(this.condition, children, span);
  122524. },
  122525. $signature: 611
  122526. };
  122527. A.StylesheetParser__whileRule_closure0.prototype = {
  122528. call$2(children, span) {
  122529. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  122530. return A.WhileRule$0(this.condition, children, span);
  122531. },
  122532. $signature: 612
  122533. };
  122534. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  122535. call$2(children, span) {
  122536. return A.AtRule$0(this.name, span, children, this._box_0.value);
  122537. },
  122538. $signature: 248
  122539. };
  122540. A.StylesheetParser__expression_resetState0.prototype = {
  122541. call$0() {
  122542. var t2,
  122543. t1 = this._box_0;
  122544. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  122545. t2 = this.$this;
  122546. t2.scanner.set$state(this.start);
  122547. t1.allowSlash = true;
  122548. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  122549. },
  122550. $signature: 0
  122551. };
  122552. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  122553. call$0() {
  122554. var t2, t3, t4, t5, t6, t7, _this = this,
  122555. t1 = _this._box_0,
  122556. operator = t1.operators_.pop(),
  122557. left = t1.operands_.pop(),
  122558. right = t1.singleExpression_;
  122559. if (right == null) {
  122560. t2 = _this.$this.scanner;
  122561. t3 = operator.operator.length;
  122562. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  122563. }
  122564. if (t1.allowSlash) {
  122565. t2 = _this.$this;
  122566. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_Mh50 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  122567. } else
  122568. t2 = false;
  122569. if (t2)
  122570. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_Mh50, left, right, true);
  122571. else {
  122572. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  122573. t2 = t1.allowSlash = false;
  122574. if (B.BinaryOperator_Swh0 === operator || B.BinaryOperator_QG10 === operator) {
  122575. t3 = _this.$this;
  122576. t4 = t3.scanner.string;
  122577. t5 = right.get$span(right);
  122578. t5 = t5.get$start(t5);
  122579. t6 = right.get$span(right);
  122580. t7 = operator.operator;
  122581. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  122582. t2 = left.get$span(left);
  122583. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  122584. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  122585. }
  122586. if (t2) {
  122587. t2 = left.toString$0(0);
  122588. t4 = right.toString$0(0);
  122589. t5 = left.toString$0(0);
  122590. t6 = right.toString$0(0);
  122591. t1 = t1.singleExpression_;
  122592. 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)));
  122593. }
  122594. }
  122595. }
  122596. },
  122597. $signature: 0
  122598. };
  122599. A.StylesheetParser__expression_resolveOperations0.prototype = {
  122600. call$0() {
  122601. var t1,
  122602. operators = this._box_0.operators_;
  122603. if (operators == null)
  122604. return;
  122605. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  122606. t1.call$0();
  122607. },
  122608. $signature: 0
  122609. };
  122610. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  122611. call$1(expression) {
  122612. var t2, spaceExpressions, _this = this,
  122613. t1 = _this._box_0;
  122614. if (t1.singleExpression_ != null) {
  122615. t2 = _this.$this;
  122616. if (t2._stylesheet0$_inParentheses) {
  122617. t2._stylesheet0$_inParentheses = false;
  122618. if (t1.allowSlash) {
  122619. _this.resetState.call$0();
  122620. return;
  122621. }
  122622. }
  122623. spaceExpressions = t1.spaceExpressions_;
  122624. if (spaceExpressions == null)
  122625. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  122626. _this.resolveOperations.call$0();
  122627. t2 = t1.singleExpression_;
  122628. t2.toString;
  122629. spaceExpressions.push(t2);
  122630. t1.allowSlash = true;
  122631. }
  122632. t1.singleExpression_ = expression;
  122633. },
  122634. $signature: 613
  122635. };
  122636. A.StylesheetParser__expression_addOperator0.prototype = {
  122637. call$1(operator) {
  122638. var t2, t3, operators, operands, t4, singleExpression,
  122639. t1 = this.$this;
  122640. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
  122641. t2 = t1.scanner;
  122642. t3 = operator.operator.length;
  122643. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  122644. }
  122645. t2 = this._box_0;
  122646. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
  122647. operators = t2.operators_;
  122648. if (operators == null)
  122649. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  122650. operands = t2.operands_;
  122651. if (operands == null)
  122652. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  122653. t3 = this.resolveOneOperation;
  122654. t4 = operator.precedence;
  122655. while (true) {
  122656. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  122657. break;
  122658. t3.call$0();
  122659. }
  122660. operators.push(operator);
  122661. singleExpression = t2.singleExpression_;
  122662. if (singleExpression == null) {
  122663. t3 = t1.scanner;
  122664. t4 = operator.operator.length;
  122665. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  122666. }
  122667. operands.push(singleExpression);
  122668. t1.whitespace$1$consumeNewlines(true);
  122669. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  122670. },
  122671. $signature: 614
  122672. };
  122673. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  122674. call$0() {
  122675. var t1, spaceExpressions, singleExpression, t2;
  122676. this.resolveOperations.call$0();
  122677. t1 = this._box_0;
  122678. spaceExpressions = t1.spaceExpressions_;
  122679. if (spaceExpressions == null)
  122680. return;
  122681. singleExpression = t1.singleExpression_;
  122682. if (singleExpression == null)
  122683. this.$this.scanner.error$1(0, "Expected expression.");
  122684. spaceExpressions.push(singleExpression);
  122685. t2 = B.JSArray_methods.get$first(spaceExpressions);
  122686. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  122687. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, false, t2);
  122688. t1.spaceExpressions_ = null;
  122689. },
  122690. $signature: 0
  122691. };
  122692. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  122693. call$0() {
  122694. return this.$this.scanner.peekChar$0() === 44;
  122695. },
  122696. $signature: 22
  122697. };
  122698. A.StylesheetParser__isHexColor_closure0.prototype = {
  122699. call$1(char) {
  122700. return A.CharacterExtension_get_isHex0(char);
  122701. },
  122702. $signature: 50
  122703. };
  122704. A.StylesheetParser__unicodeRange_closure1.prototype = {
  122705. call$1(char) {
  122706. return char != null && A.CharacterExtension_get_isHex0(char);
  122707. },
  122708. $signature: 30
  122709. };
  122710. A.StylesheetParser__unicodeRange_closure2.prototype = {
  122711. call$1(char) {
  122712. return char != null && A.CharacterExtension_get_isHex0(char);
  122713. },
  122714. $signature: 30
  122715. };
  122716. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  122717. call$0() {
  122718. return this.$this.scanner.spanFrom$1(this.start);
  122719. },
  122720. $signature: 28
  122721. };
  122722. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  122723. call$1(contents) {
  122724. return new A.StringExpression0(contents, false);
  122725. },
  122726. $signature: 615
  122727. };
  122728. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  122729. call$0() {
  122730. var t1 = this.$this.scanner,
  122731. _0_0 = t1.peekChar$0();
  122732. $label0$0: {
  122733. if (61 === _0_0) {
  122734. t1 = t1.peekChar$1(1) !== 61;
  122735. break $label0$0;
  122736. }
  122737. if (60 === _0_0 || 62 === _0_0) {
  122738. t1 = true;
  122739. break $label0$0;
  122740. }
  122741. t1 = false;
  122742. break $label0$0;
  122743. }
  122744. return t1;
  122745. },
  122746. $signature: 22
  122747. };
  122748. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  122749. call$0() {
  122750. return this.$this.scanner.spanFrom$1(this.start);
  122751. },
  122752. $signature: 28
  122753. };
  122754. A.Stylesheet0.prototype = {
  122755. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  122756. var t1, t2, t3, t4, _i, child;
  122757. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  122758. child = t1[_i];
  122759. if (child instanceof A.UseRule0) {
  122760. t4.push(child);
  122761. continue;
  122762. }
  122763. if (child instanceof A.ForwardRule0) {
  122764. t3.push(child);
  122765. continue;
  122766. }
  122767. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  122768. continue;
  122769. break;
  122770. }
  122771. },
  122772. accept$1$1(visitor) {
  122773. return visitor.visitStylesheet$1(0, this);
  122774. },
  122775. accept$1(visitor) {
  122776. return this.accept$1$1(visitor, type$.dynamic);
  122777. },
  122778. toString$0(_) {
  122779. var t1 = this.children;
  122780. return (t1 && B.JSArray_methods).join$1(t1, " ");
  122781. },
  122782. get$span(receiver) {
  122783. return this.span;
  122784. }
  122785. };
  122786. A.SupportsExpression0.prototype = {
  122787. get$span(_) {
  122788. var t1 = this.condition;
  122789. return t1.get$span(t1);
  122790. },
  122791. accept$1$1(visitor) {
  122792. return visitor.visitSupportsExpression$1(0, this);
  122793. },
  122794. accept$1(visitor) {
  122795. return this.accept$1$1(visitor, type$.dynamic);
  122796. },
  122797. toString$0(_) {
  122798. return this.condition.toString$0(0);
  122799. }
  122800. };
  122801. A.ModifiableCssSupportsRule0.prototype = {
  122802. accept$1$1(visitor) {
  122803. return visitor.visitCssSupportsRule$1(this);
  122804. },
  122805. accept$1(visitor) {
  122806. return this.accept$1$1(visitor, type$.dynamic);
  122807. },
  122808. equalsIgnoringChildren$1(other) {
  122809. var t1, t2;
  122810. if (other instanceof A.ModifiableCssSupportsRule0) {
  122811. t1 = this.condition;
  122812. t2 = other.condition;
  122813. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  122814. } else
  122815. t1 = false;
  122816. return t1;
  122817. },
  122818. copyWithoutChildren$0() {
  122819. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  122820. },
  122821. get$span(receiver) {
  122822. return this.span;
  122823. }
  122824. };
  122825. A.SupportsRule0.prototype = {
  122826. accept$1$1(visitor) {
  122827. return visitor.visitSupportsRule$1(0, this);
  122828. },
  122829. accept$1(visitor) {
  122830. return this.accept$1$1(visitor, type$.dynamic);
  122831. },
  122832. toString$0(_) {
  122833. var t1 = this.children;
  122834. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  122835. },
  122836. get$span(receiver) {
  122837. return this.span;
  122838. }
  122839. };
  122840. A.JSToDartImporter.prototype = {
  122841. canonicalize$1(_, url) {
  122842. var t1,
  122843. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  122844. if (result == null)
  122845. return null;
  122846. t1 = self.URL;
  122847. if (result instanceof t1)
  122848. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  122849. t1 = self.Promise;
  122850. if (result instanceof t1)
  122851. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  122852. else
  122853. A.jsThrow(new self.Error(string$.The_ca));
  122854. },
  122855. load$1(_, url) {
  122856. var t1, contents, syntax, t2,
  122857. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  122858. if (result == null)
  122859. return null;
  122860. t1 = self.Promise;
  122861. if (result instanceof t1)
  122862. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  122863. type$.JSImporterResult._as(result);
  122864. t1 = J.getInterceptor$x(result);
  122865. contents = t1.get$contents(result);
  122866. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  122867. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  122868. syntax = t1.get$syntax(result);
  122869. if (contents == null || syntax == null)
  122870. A.jsThrow(new self.Error(string$.The_lo));
  122871. t2 = A.parseSyntax(syntax);
  122872. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  122873. },
  122874. isNonCanonicalScheme$1(scheme) {
  122875. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  122876. }
  122877. };
  122878. A.JSToDartImporter_canonicalize_closure.prototype = {
  122879. call$0() {
  122880. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  122881. },
  122882. $signature: 33
  122883. };
  122884. A.JSToDartImporter_load_closure.prototype = {
  122885. call$0() {
  122886. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  122887. },
  122888. $signature: 33
  122889. };
  122890. A.Syntax0.prototype = {
  122891. _enumToString$0() {
  122892. return "Syntax." + this._name;
  122893. },
  122894. toString$0(_) {
  122895. return this._syntax0$_name;
  122896. }
  122897. };
  122898. A.TypeSelector0.prototype = {
  122899. get$specificity() {
  122900. return 1;
  122901. },
  122902. accept$1$1(visitor) {
  122903. return visitor.visitTypeSelector$1(this);
  122904. },
  122905. accept$1(visitor) {
  122906. return this.accept$1$1(visitor, type$.dynamic);
  122907. },
  122908. addSuffix$1(suffix) {
  122909. var t1 = this.name;
  122910. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  122911. },
  122912. unify$1(compound) {
  122913. var unified, t1,
  122914. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  122915. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  122916. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  122917. if (unified == null)
  122918. return null;
  122919. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  122920. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  122921. return t1;
  122922. } else {
  122923. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  122924. B.JSArray_methods.addAll$1(t1, compound);
  122925. return t1;
  122926. }
  122927. },
  122928. isSuperselector$1(other) {
  122929. var t1, t2, t3;
  122930. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  122931. t1 = false;
  122932. if (other instanceof A.TypeSelector0) {
  122933. t2 = this.name;
  122934. t3 = other.name;
  122935. if (t2.name === t3.name) {
  122936. t1 = t2.namespace;
  122937. t1 = t1 === "*" || t1 == t3.namespace;
  122938. }
  122939. }
  122940. } else
  122941. t1 = true;
  122942. return t1;
  122943. },
  122944. $eq(_, other) {
  122945. if (other == null)
  122946. return false;
  122947. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  122948. },
  122949. get$hashCode(_) {
  122950. var t1 = this.name;
  122951. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  122952. }
  122953. };
  122954. A.Types.prototype = {};
  122955. A.UnaryOperationExpression0.prototype = {
  122956. accept$1$1(visitor) {
  122957. return visitor.visitUnaryOperationExpression$1(0, this);
  122958. },
  122959. accept$1(visitor) {
  122960. return this.accept$1$1(visitor, type$.dynamic);
  122961. },
  122962. toString$0(_) {
  122963. var operand,
  122964. t1 = this.operator,
  122965. t2 = t1.operator;
  122966. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  122967. operand = this.operand;
  122968. $label0$0: {
  122969. t2 = true;
  122970. if (!(operand instanceof A.BinaryOperationExpression0))
  122971. if (!(operand instanceof A.UnaryOperationExpression0))
  122972. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  122973. if (t2)
  122974. break $label0$0;
  122975. break $label0$0;
  122976. }
  122977. if (t2)
  122978. t1 += "40";
  122979. t1 += operand.toString$0(0);
  122980. if (t2)
  122981. t1 += "41";
  122982. return t1.charCodeAt(0) == 0 ? t1 : t1;
  122983. },
  122984. get$span(receiver) {
  122985. return this.span;
  122986. }
  122987. };
  122988. A.UnaryOperator0.prototype = {
  122989. _enumToString$0() {
  122990. return "UnaryOperator." + this._name;
  122991. },
  122992. toString$0(_) {
  122993. return this.name;
  122994. }
  122995. };
  122996. A.UnitlessSassNumber0.prototype = {
  122997. get$numeratorUnits(_) {
  122998. return B.List_empty;
  122999. },
  123000. get$denominatorUnits(_) {
  123001. return B.List_empty;
  123002. },
  123003. get$hasUnits() {
  123004. return false;
  123005. },
  123006. get$hasComplexUnits() {
  123007. return false;
  123008. },
  123009. withValue$1(value) {
  123010. return new A.UnitlessSassNumber0(value, null);
  123011. },
  123012. withSlash$2(numerator, denominator) {
  123013. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  123014. },
  123015. hasUnit$1(unit) {
  123016. return false;
  123017. },
  123018. hasCompatibleUnits$1(other) {
  123019. return other instanceof A.UnitlessSassNumber0;
  123020. },
  123021. hasPossiblyCompatibleUnits$1(other) {
  123022. return other instanceof A.UnitlessSassNumber0;
  123023. },
  123024. compatibleWithUnit$1(unit) {
  123025. return true;
  123026. },
  123027. coerceToMatch$3(other, $name, otherName) {
  123028. return other.withValue$1(this._number1$_value);
  123029. },
  123030. coerceToMatch$1(other) {
  123031. return this.coerceToMatch$3(other, null, null);
  123032. },
  123033. coerceValueToMatch$3(other, $name, otherName) {
  123034. return this._number1$_value;
  123035. },
  123036. coerceValueToMatch$1(other) {
  123037. return this.coerceValueToMatch$3(other, null, null);
  123038. },
  123039. convertToMatch$3(other, $name, otherName) {
  123040. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  123041. },
  123042. convertValueToMatch$3(other, $name, otherName) {
  123043. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  123044. },
  123045. convertValueToMatch$1(other) {
  123046. return this.convertValueToMatch$3(other, null, null);
  123047. },
  123048. coerce$3(newNumerators, newDenominators, $name) {
  123049. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  123050. },
  123051. coerce$2(newNumerators, newDenominators) {
  123052. return this.coerce$3(newNumerators, newDenominators, null);
  123053. },
  123054. coerceValue$3(newNumerators, newDenominators, $name) {
  123055. return this._number1$_value;
  123056. },
  123057. coerceValueToUnit$2(unit, $name) {
  123058. return this._number1$_value;
  123059. },
  123060. coerceValueToUnit$1(unit) {
  123061. return this.coerceValueToUnit$2(unit, null);
  123062. },
  123063. greaterThan$1(other) {
  123064. var t1, t2;
  123065. if (other instanceof A.SassNumber0) {
  123066. t1 = this._number1$_value;
  123067. t2 = other._number1$_value;
  123068. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123069. }
  123070. return this.super$SassNumber$greaterThan0(other);
  123071. },
  123072. greaterThanOrEquals$1(other) {
  123073. var t1, t2;
  123074. if (other instanceof A.SassNumber0) {
  123075. t1 = this._number1$_value;
  123076. t2 = other._number1$_value;
  123077. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123078. }
  123079. return this.super$SassNumber$greaterThanOrEquals0(other);
  123080. },
  123081. lessThan$1(other) {
  123082. var t1, t2;
  123083. if (other instanceof A.SassNumber0) {
  123084. t1 = this._number1$_value;
  123085. t2 = other._number1$_value;
  123086. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123087. }
  123088. return this.super$SassNumber$lessThan0(other);
  123089. },
  123090. lessThanOrEquals$1(other) {
  123091. var t1, t2;
  123092. if (other instanceof A.SassNumber0) {
  123093. t1 = this._number1$_value;
  123094. t2 = other._number1$_value;
  123095. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123096. }
  123097. return this.super$SassNumber$lessThanOrEquals0(other);
  123098. },
  123099. modulo$1(other) {
  123100. if (other instanceof A.SassNumber0)
  123101. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  123102. return this.super$SassNumber$modulo0(other);
  123103. },
  123104. plus$1(other) {
  123105. if (other instanceof A.SassNumber0)
  123106. return other.withValue$1(this._number1$_value + other._number1$_value);
  123107. return this.super$SassNumber$plus0(other);
  123108. },
  123109. minus$1(other) {
  123110. if (other instanceof A.SassNumber0)
  123111. return other.withValue$1(this._number1$_value - other._number1$_value);
  123112. return this.super$SassNumber$minus0(other);
  123113. },
  123114. times$1(other) {
  123115. if (other instanceof A.SassNumber0)
  123116. return other.withValue$1(this._number1$_value * other._number1$_value);
  123117. return this.super$SassNumber$times0(other);
  123118. },
  123119. dividedBy$1(other) {
  123120. var t1, t2;
  123121. if (other instanceof A.SassNumber0) {
  123122. t1 = this._number1$_value / other._number1$_value;
  123123. if (other.get$hasUnits()) {
  123124. t2 = other.get$denominatorUnits(other);
  123125. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  123126. t1 = t2;
  123127. } else
  123128. t1 = new A.UnitlessSassNumber0(t1, null);
  123129. return t1;
  123130. }
  123131. return this.super$SassNumber$dividedBy0(other);
  123132. },
  123133. unaryMinus$0() {
  123134. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  123135. },
  123136. $eq(_, other) {
  123137. if (other == null)
  123138. return false;
  123139. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  123140. },
  123141. get$hashCode(_) {
  123142. var t1 = this.hashCache;
  123143. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  123144. }
  123145. };
  123146. A.UniversalSelector0.prototype = {
  123147. get$specificity() {
  123148. return 0;
  123149. },
  123150. accept$1$1(visitor) {
  123151. return visitor.visitUniversalSelector$1(this);
  123152. },
  123153. accept$1(visitor) {
  123154. return this.accept$1$1(visitor, type$.dynamic);
  123155. },
  123156. unify$1(compound) {
  123157. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  123158. _0_1 = compound.length,
  123159. _0_4_isSet = _0_1 >= 1;
  123160. if (_0_4_isSet) {
  123161. _0_4 = compound[0];
  123162. if (!(_0_4 instanceof A.UniversalSelector0))
  123163. t1 = _0_4 instanceof A.TypeSelector0;
  123164. else
  123165. t1 = true;
  123166. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  123167. } else {
  123168. rest = _null;
  123169. _0_4 = rest;
  123170. t1 = false;
  123171. }
  123172. if (t1) {
  123173. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  123174. if (unified == null)
  123175. return _null;
  123176. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123177. B.JSArray_methods.addAll$1(t1, rest);
  123178. return t1;
  123179. }
  123180. t1 = false;
  123181. if (_0_1 === 1) {
  123182. if (_0_4_isSet)
  123183. t2 = _0_4;
  123184. else {
  123185. _0_4 = compound[0];
  123186. t2 = _0_4;
  123187. _0_4_isSet = true;
  123188. }
  123189. if (t2 instanceof A.PseudoSelector0) {
  123190. t2 = _0_4_isSet ? _0_4 : compound[0];
  123191. type$.PseudoSelector_2._as(t2);
  123192. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  123193. }
  123194. }
  123195. if (t1)
  123196. return _null;
  123197. if (_0_1 <= 0)
  123198. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123199. t1 = _this.namespace;
  123200. if (t1 == null || t1 === "*")
  123201. t1 = compound;
  123202. else {
  123203. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123204. B.JSArray_methods.addAll$1(t1, compound);
  123205. }
  123206. return t1;
  123207. },
  123208. isSuperselector$1(other) {
  123209. var t1 = this.namespace;
  123210. if (t1 === "*")
  123211. return true;
  123212. if (other instanceof A.TypeSelector0)
  123213. return t1 == other.name.namespace;
  123214. if (other instanceof A.UniversalSelector0)
  123215. return t1 == other.namespace;
  123216. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  123217. },
  123218. $eq(_, other) {
  123219. if (other == null)
  123220. return false;
  123221. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  123222. },
  123223. get$hashCode(_) {
  123224. return J.get$hashCode$(this.namespace);
  123225. }
  123226. };
  123227. A.UnprefixedMapView0.prototype = {
  123228. get$keys(_) {
  123229. return new A._UnprefixedKeys0(this);
  123230. },
  123231. $index(_, key) {
  123232. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  123233. },
  123234. containsKey$1(key) {
  123235. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  123236. },
  123237. remove$1(_, key) {
  123238. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  123239. return t1;
  123240. }
  123241. };
  123242. A._UnprefixedKeys0.prototype = {
  123243. get$iterator(_) {
  123244. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  123245. 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);
  123246. return t1.get$iterator(t1);
  123247. },
  123248. contains$1(_, key) {
  123249. return this._unprefixed_map_view0$_view.containsKey$1(key);
  123250. }
  123251. };
  123252. A._UnprefixedKeys_iterator_closure1.prototype = {
  123253. call$1(key) {
  123254. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  123255. },
  123256. $signature: 5
  123257. };
  123258. A._UnprefixedKeys_iterator_closure2.prototype = {
  123259. call$1(key) {
  123260. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  123261. },
  123262. $signature: 6
  123263. };
  123264. A.JSUrl0.prototype = {};
  123265. A.UseRule0.prototype = {
  123266. UseRule$4$configuration0(url, namespace, span, configuration) {
  123267. var t1, t2, _i, variable;
  123268. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  123269. variable = t1[_i];
  123270. if (variable.isGuarded)
  123271. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  123272. }
  123273. },
  123274. accept$1$1(visitor) {
  123275. return visitor.visitUseRule$1(0, this);
  123276. },
  123277. accept$1(visitor) {
  123278. return this.accept$1$1(visitor, type$.dynamic);
  123279. },
  123280. toString$0(_) {
  123281. var t1 = this.url,
  123282. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  123283. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  123284. dot = B.JSString_methods.indexOf$1(basename, ".");
  123285. t1 = this.namespace;
  123286. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  123287. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  123288. else
  123289. t1 = t2;
  123290. t2 = this.configuration;
  123291. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  123292. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123293. },
  123294. get$span(receiver) {
  123295. return this.span;
  123296. }
  123297. };
  123298. A.UserDefinedCallable0.prototype = {
  123299. get$name(_) {
  123300. return this.declaration.name;
  123301. },
  123302. $isAsyncCallable0: 1,
  123303. $isCallable: 1
  123304. };
  123305. A.resolveImportPath_closure1.prototype = {
  123306. call$0() {
  123307. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  123308. },
  123309. $signature: 49
  123310. };
  123311. A.resolveImportPath_closure2.prototype = {
  123312. call$0() {
  123313. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  123314. },
  123315. $signature: 49
  123316. };
  123317. A._tryPathAsDirectory_closure0.prototype = {
  123318. call$0() {
  123319. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  123320. },
  123321. $signature: 49
  123322. };
  123323. A._exactlyOne_closure0.prototype = {
  123324. call$1(path) {
  123325. var t1 = $.$get$context();
  123326. return " " + t1.prettyUri$1(t1.toUri$1(path));
  123327. },
  123328. $signature: 6
  123329. };
  123330. A._PropertyDescriptor0.prototype = {};
  123331. A.futureToPromise_closure0.prototype = {
  123332. call$2(resolve, reject) {
  123333. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  123334. },
  123335. $signature: 616
  123336. };
  123337. A.futureToPromise__closure0.prototype = {
  123338. call$1(result) {
  123339. return this.resolve.call$1(result);
  123340. },
  123341. $signature: 38
  123342. };
  123343. A.futureToPromise__closure1.prototype = {
  123344. call$2(error, stackTrace) {
  123345. A.attachTrace0(error, stackTrace);
  123346. this.reject.call$1(error);
  123347. },
  123348. $signature: 48
  123349. };
  123350. A.objectToMap_closure.prototype = {
  123351. call$2(key, value) {
  123352. this.map.$indexSet(0, key, value);
  123353. return value;
  123354. },
  123355. $signature: 114
  123356. };
  123357. A._RequireMain0.prototype = {};
  123358. A.indent_closure0.prototype = {
  123359. call$1(line) {
  123360. return B.JSString_methods.$mul(" ", this.indentation) + line;
  123361. },
  123362. $signature: 6
  123363. };
  123364. A.flattenVertically_closure1.prototype = {
  123365. call$1(inner) {
  123366. return A.QueueList_QueueList$from(inner, this.T);
  123367. },
  123368. $signature() {
  123369. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  123370. }
  123371. };
  123372. A.flattenVertically_closure2.prototype = {
  123373. call$1(queue) {
  123374. this.result.push(queue.removeFirst$0());
  123375. return queue.get$length(0) === 0;
  123376. },
  123377. $signature() {
  123378. return this.T._eval$1("bool(QueueList<0>)");
  123379. }
  123380. };
  123381. A.longestCommonSubsequence_backtrack0.prototype = {
  123382. call$2(i, j) {
  123383. var selection, t1, _this = this;
  123384. if (i === -1 || j === -1)
  123385. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  123386. selection = _this.selections[i][j];
  123387. if (selection != null) {
  123388. t1 = _this.call$2(i - 1, j - 1);
  123389. J.add$1$ax(t1, selection);
  123390. return t1;
  123391. }
  123392. t1 = _this.lengths;
  123393. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  123394. },
  123395. $signature() {
  123396. return this.T._eval$1("List<0>(int,int)");
  123397. }
  123398. };
  123399. A.mapAddAll2_closure0.prototype = {
  123400. call$2(key, inner) {
  123401. var t1 = this.destination,
  123402. _0_0 = t1.$index(0, key);
  123403. if (_0_0 != null)
  123404. _0_0.addAll$1(0, inner);
  123405. else
  123406. t1.$indexSet(0, key, inner);
  123407. },
  123408. $signature() {
  123409. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  123410. }
  123411. };
  123412. A.CssValue0.prototype = {
  123413. $eq(_, other) {
  123414. if (other == null)
  123415. return false;
  123416. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  123417. },
  123418. get$hashCode(_) {
  123419. return J.get$hashCode$(this.value);
  123420. },
  123421. toString$0(_) {
  123422. return J.toString$0$(this.value);
  123423. },
  123424. $isAstNode0: 1,
  123425. get$span(receiver) {
  123426. return this.span;
  123427. }
  123428. };
  123429. A.ValueExpression0.prototype = {
  123430. accept$1$1(visitor) {
  123431. return visitor.visitValueExpression$1(0, this);
  123432. },
  123433. accept$1(visitor) {
  123434. return this.accept$1$1(visitor, type$.dynamic);
  123435. },
  123436. toString$0(_) {
  123437. return this.value.toString$0(0);
  123438. },
  123439. get$span(receiver) {
  123440. return this.span;
  123441. }
  123442. };
  123443. A.valueClass_closure.prototype = {
  123444. call$0() {
  123445. var t2,
  123446. t1 = type$.JSClass,
  123447. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  123448. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  123449. t1 = type$.String;
  123450. t2 = type$.Function;
  123451. 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));
  123452. 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));
  123453. return jsClass;
  123454. },
  123455. $signature: 15
  123456. };
  123457. A.valueClass__closure.prototype = {
  123458. call$1($self) {
  123459. return J.toString$0$($self);
  123460. },
  123461. $signature: 136
  123462. };
  123463. A.valueClass__closure0.prototype = {
  123464. call$1($self) {
  123465. return new self.immutable.List($self.get$asList());
  123466. },
  123467. $signature: 617
  123468. };
  123469. A.valueClass__closure1.prototype = {
  123470. call$1($self) {
  123471. return $self.get$hasBrackets();
  123472. },
  123473. $signature: 52
  123474. };
  123475. A.valueClass__closure2.prototype = {
  123476. call$1($self) {
  123477. return $self.get$isTruthy();
  123478. },
  123479. $signature: 52
  123480. };
  123481. A.valueClass__closure3.prototype = {
  123482. call$1($self) {
  123483. return $self.get$realNull();
  123484. },
  123485. $signature: 247
  123486. };
  123487. A.valueClass__closure4.prototype = {
  123488. call$1($self) {
  123489. return $self.get$separator($self).separator;
  123490. },
  123491. $signature: 618
  123492. };
  123493. A.valueClass__closure5.prototype = {
  123494. call$3($self, sassIndex, $name) {
  123495. return $self.sassIndexToListIndex$2(sassIndex, $name);
  123496. },
  123497. call$2($self, sassIndex) {
  123498. return this.call$3($self, sassIndex, null);
  123499. },
  123500. "call*": "call$3",
  123501. $requiredArgCount: 2,
  123502. $defaultValues() {
  123503. return [null];
  123504. },
  123505. $signature: 619
  123506. };
  123507. A.valueClass__closure6.prototype = {
  123508. call$2($self, index) {
  123509. return index < 1 && index >= -1 ? $self : self.undefined;
  123510. },
  123511. $signature: 198
  123512. };
  123513. A.valueClass__closure7.prototype = {
  123514. call$2($self, $name) {
  123515. return $self.assertBoolean$1($name);
  123516. },
  123517. call$1($self) {
  123518. return this.call$2($self, null);
  123519. },
  123520. "call*": "call$2",
  123521. $requiredArgCount: 1,
  123522. $defaultValues() {
  123523. return [null];
  123524. },
  123525. $signature: 620
  123526. };
  123527. A.valueClass__closure8.prototype = {
  123528. call$2($self, $name) {
  123529. return $self.assertCalculation$1($name);
  123530. },
  123531. call$1($self) {
  123532. return this.call$2($self, null);
  123533. },
  123534. "call*": "call$2",
  123535. $requiredArgCount: 1,
  123536. $defaultValues() {
  123537. return [null];
  123538. },
  123539. $signature: 621
  123540. };
  123541. A.valueClass__closure9.prototype = {
  123542. call$2($self, $name) {
  123543. return $self.assertColor$1($name);
  123544. },
  123545. call$1($self) {
  123546. return this.call$2($self, null);
  123547. },
  123548. "call*": "call$2",
  123549. $requiredArgCount: 1,
  123550. $defaultValues() {
  123551. return [null];
  123552. },
  123553. $signature: 622
  123554. };
  123555. A.valueClass__closure10.prototype = {
  123556. call$2($self, $name) {
  123557. return $self.assertFunction$1($name);
  123558. },
  123559. call$1($self) {
  123560. return this.call$2($self, null);
  123561. },
  123562. "call*": "call$2",
  123563. $requiredArgCount: 1,
  123564. $defaultValues() {
  123565. return [null];
  123566. },
  123567. $signature: 623
  123568. };
  123569. A.valueClass__closure11.prototype = {
  123570. call$2($self, $name) {
  123571. return $self.assertMap$1($name);
  123572. },
  123573. call$1($self) {
  123574. return this.call$2($self, null);
  123575. },
  123576. "call*": "call$2",
  123577. $requiredArgCount: 1,
  123578. $defaultValues() {
  123579. return [null];
  123580. },
  123581. $signature: 624
  123582. };
  123583. A.valueClass__closure12.prototype = {
  123584. call$2($self, $name) {
  123585. return $self.assertMixin$1($name);
  123586. },
  123587. call$1($self) {
  123588. return this.call$2($self, null);
  123589. },
  123590. "call*": "call$2",
  123591. $requiredArgCount: 1,
  123592. $defaultValues() {
  123593. return [null];
  123594. },
  123595. $signature: 625
  123596. };
  123597. A.valueClass__closure13.prototype = {
  123598. call$2($self, $name) {
  123599. return $self.assertNumber$1($name);
  123600. },
  123601. call$1($self) {
  123602. return this.call$2($self, null);
  123603. },
  123604. "call*": "call$2",
  123605. $requiredArgCount: 1,
  123606. $defaultValues() {
  123607. return [null];
  123608. },
  123609. $signature: 626
  123610. };
  123611. A.valueClass__closure14.prototype = {
  123612. call$2($self, $name) {
  123613. return $self.assertString$1($name);
  123614. },
  123615. call$1($self) {
  123616. return this.call$2($self, null);
  123617. },
  123618. "call*": "call$2",
  123619. $requiredArgCount: 1,
  123620. $defaultValues() {
  123621. return [null];
  123622. },
  123623. $signature: 627
  123624. };
  123625. A.valueClass__closure15.prototype = {
  123626. call$1($self) {
  123627. return $self.tryMap$0();
  123628. },
  123629. $signature: 628
  123630. };
  123631. A.valueClass__closure16.prototype = {
  123632. call$2($self, other) {
  123633. return $self.$eq(0, other);
  123634. },
  123635. $signature: 629
  123636. };
  123637. A.valueClass__closure17.prototype = {
  123638. call$2($self, _) {
  123639. return $self.get$hashCode($self);
  123640. },
  123641. call$1($self) {
  123642. return this.call$2($self, null);
  123643. },
  123644. "call*": "call$2",
  123645. $requiredArgCount: 1,
  123646. $defaultValues() {
  123647. return [null];
  123648. },
  123649. $signature: 630
  123650. };
  123651. A.valueClass__closure18.prototype = {
  123652. call$1($self) {
  123653. return $self.toString$0(0);
  123654. },
  123655. $signature: 179
  123656. };
  123657. A.Value0.prototype = {
  123658. get$isTruthy() {
  123659. return true;
  123660. },
  123661. get$separator(_) {
  123662. return B.ListSeparator_undecided_null_undecided0;
  123663. },
  123664. get$hasBrackets() {
  123665. return false;
  123666. },
  123667. get$asList() {
  123668. return A._setArrayType([this], type$.JSArray_Value_2);
  123669. },
  123670. get$lengthAsList() {
  123671. return 1;
  123672. },
  123673. get$isBlank() {
  123674. return false;
  123675. },
  123676. get$isSpecialNumber() {
  123677. return false;
  123678. },
  123679. get$isVar() {
  123680. return false;
  123681. },
  123682. get$realNull() {
  123683. return this;
  123684. },
  123685. sassIndexToListIndex$2(sassIndex, $name) {
  123686. var t1, index,
  123687. indexValue = sassIndex.assertNumber$1($name);
  123688. if (indexValue.get$hasUnits()) {
  123689. t1 = indexValue.get$unitString();
  123690. 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);
  123691. }
  123692. index = indexValue.assertInt$1($name);
  123693. if (index === 0)
  123694. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  123695. if (Math.abs(index) > this.get$lengthAsList())
  123696. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  123697. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  123698. },
  123699. assertBoolean$1($name) {
  123700. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  123701. },
  123702. assertCalculation$1($name) {
  123703. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  123704. },
  123705. assertColor$1($name) {
  123706. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  123707. },
  123708. assertFunction$1($name) {
  123709. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  123710. },
  123711. assertMixin$1($name) {
  123712. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  123713. },
  123714. assertMap$1($name) {
  123715. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  123716. },
  123717. tryMap$0() {
  123718. return null;
  123719. },
  123720. assertNumber$1($name) {
  123721. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  123722. },
  123723. assertNumber$0() {
  123724. return this.assertNumber$1(null);
  123725. },
  123726. assertString$1($name) {
  123727. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  123728. },
  123729. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  123730. var invalidSeparator, buffer, t1, _this = this,
  123731. _s8_ = "Expected";
  123732. if (_this.get$separator(_this) !== B.ListSeparator_qVN0)
  123733. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz0;
  123734. else
  123735. invalidSeparator = true;
  123736. if (!invalidSeparator && !_this.get$hasBrackets())
  123737. return _this.get$asList();
  123738. buffer = new A.StringBuffer(_s8_);
  123739. if (_this.get$hasBrackets()) {
  123740. t1 = "Expected" + " an unbracketed";
  123741. buffer._contents = t1;
  123742. } else
  123743. t1 = _s8_;
  123744. if (invalidSeparator) {
  123745. t1 += _this.get$hasBrackets() ? "," : " a";
  123746. buffer._contents = t1;
  123747. t1 = buffer._contents = t1 + " space-";
  123748. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  123749. }
  123750. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  123751. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  123752. },
  123753. _value$_selectorString$1($name) {
  123754. var _0_0 = this._value$_selectorStringOrNull$0();
  123755. if (_0_0 != null)
  123756. return _0_0;
  123757. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  123758. },
  123759. _value$_selectorStringOrNull$0() {
  123760. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  123761. if (_this instanceof A.SassString0)
  123762. return _this._string0$_text;
  123763. if (!(_this instanceof A.SassList0))
  123764. return _null;
  123765. t1 = _this._list1$_contents;
  123766. t2 = t1.length;
  123767. if (t2 === 0)
  123768. return _null;
  123769. result = A._setArrayType([], type$.JSArray_String);
  123770. $label0$1: {
  123771. _1_0 = _this._list1$_separator;
  123772. if (B.ListSeparator_qVN0 === _1_0) {
  123773. for (_i = 0; _i < t2; ++_i) {
  123774. complex = t1[_i];
  123775. if (complex instanceof A.SassString0) {
  123776. result.push(complex._string0$_text);
  123777. continue;
  123778. }
  123779. if (complex instanceof A.SassList0 && B.ListSeparator_qSL0 === complex._list1$_separator) {
  123780. string = complex._value$_selectorStringOrNull$0();
  123781. if (string == null)
  123782. return _null;
  123783. result.push(string);
  123784. continue;
  123785. }
  123786. return _null;
  123787. }
  123788. break $label0$1;
  123789. }
  123790. if (B.ListSeparator_bRz0 === _1_0)
  123791. return _null;
  123792. for (_i = 0; _i < t2; ++_i) {
  123793. compound = t1[_i];
  123794. if (!(compound instanceof A.SassString0))
  123795. return _null;
  123796. result.push(compound._string0$_text);
  123797. }
  123798. }
  123799. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN0 ? ", " : " ");
  123800. },
  123801. withListContents$2$separator(contents, separator) {
  123802. var t1 = separator == null ? this.get$separator(this) : separator,
  123803. t2 = this.get$hasBrackets();
  123804. return A.SassList$0(contents, t1, t2);
  123805. },
  123806. withListContents$1(contents) {
  123807. return this.withListContents$2$separator(contents, null);
  123808. },
  123809. greaterThan$1(other) {
  123810. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  123811. },
  123812. greaterThanOrEquals$1(other) {
  123813. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  123814. },
  123815. lessThan$1(other) {
  123816. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  123817. },
  123818. lessThanOrEquals$1(other) {
  123819. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  123820. },
  123821. times$1(other) {
  123822. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  123823. },
  123824. modulo$1(other) {
  123825. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  123826. },
  123827. plus$1(other) {
  123828. var t1;
  123829. $label0$0: {
  123830. if (other instanceof A.SassString0) {
  123831. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  123832. break $label0$0;
  123833. }
  123834. if (other instanceof A.SassCalculation0)
  123835. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  123836. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  123837. break $label0$0;
  123838. }
  123839. return t1;
  123840. },
  123841. minus$1(other) {
  123842. 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);
  123843. },
  123844. dividedBy$1(other) {
  123845. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  123846. },
  123847. unaryPlus$0() {
  123848. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  123849. },
  123850. unaryMinus$0() {
  123851. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  123852. },
  123853. unaryNot$0() {
  123854. return B.SassBoolean_false0;
  123855. },
  123856. withoutSlash$0() {
  123857. return this;
  123858. },
  123859. toString$0(_) {
  123860. return A.serializeValue0(this, true, true);
  123861. }
  123862. };
  123863. A.VariableExpression0.prototype = {
  123864. accept$1$1(visitor) {
  123865. return visitor.visitVariableExpression$1(0, this);
  123866. },
  123867. accept$1(visitor) {
  123868. return this.accept$1$1(visitor, type$.dynamic);
  123869. },
  123870. toString$0(_) {
  123871. var t1 = this.span;
  123872. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  123873. },
  123874. get$span(receiver) {
  123875. return this.span;
  123876. }
  123877. };
  123878. A.VariableDeclaration0.prototype = {
  123879. accept$1$1(visitor) {
  123880. return visitor.visitVariableDeclaration$1(0, this);
  123881. },
  123882. accept$1(visitor) {
  123883. return this.accept$1$1(visitor, type$.dynamic);
  123884. },
  123885. toString$0(_) {
  123886. var t1 = this.namespace;
  123887. t1 = t1 != null ? "" + (t1 + ".") : "";
  123888. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  123889. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123890. },
  123891. get$span(receiver) {
  123892. return this.span;
  123893. }
  123894. };
  123895. A.WarnRule0.prototype = {
  123896. accept$1$1(visitor) {
  123897. return visitor.visitWarnRule$1(0, this);
  123898. },
  123899. accept$1(visitor) {
  123900. return this.accept$1$1(visitor, type$.dynamic);
  123901. },
  123902. toString$0(_) {
  123903. return "@warn " + this.expression.toString$0(0) + ";";
  123904. },
  123905. get$span(receiver) {
  123906. return this.span;
  123907. }
  123908. };
  123909. A.WhileRule0.prototype = {
  123910. accept$1$1(visitor) {
  123911. return visitor.visitWhileRule$1(0, this);
  123912. },
  123913. accept$1(visitor) {
  123914. return this.accept$1$1(visitor, type$.dynamic);
  123915. },
  123916. toString$0(_) {
  123917. var t1 = this.children;
  123918. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  123919. },
  123920. get$span(receiver) {
  123921. return this.span;
  123922. }
  123923. };
  123924. A.XyzD50ColorSpace0.prototype = {
  123925. get$isBoundedInternal() {
  123926. return false;
  123927. },
  123928. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  123929. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  123930. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  123931. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  123932. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  123933. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  123934. lightness = missingLightness ? _null : 116 * f1 - 16;
  123935. a = 500 * (f0 - f1);
  123936. b = 200 * (f1 - f2);
  123937. if (dest === B.LabColorSpace_2nT0) {
  123938. t1 = missingA ? _null : a;
  123939. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  123940. } else
  123941. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  123942. return t1;
  123943. }
  123944. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  123945. },
  123946. convert$5(dest, x, y, z, alpha) {
  123947. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  123948. },
  123949. _xyz_d50$_convertComponentToLabF$1(component) {
  123950. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  123951. },
  123952. toLinear$1(channel) {
  123953. return channel;
  123954. },
  123955. fromLinear$1(channel) {
  123956. return channel;
  123957. },
  123958. transformationMatrix$1(dest) {
  123959. var t1;
  123960. $label0$0: {
  123961. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  123962. t1 = $.$get$xyzD50ToLinearSrgb0();
  123963. break $label0$0;
  123964. }
  123965. if (B.A98RgbColorSpace_lf20 === dest) {
  123966. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  123967. break $label0$0;
  123968. }
  123969. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  123970. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  123971. break $label0$0;
  123972. }
  123973. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  123974. t1 = $.$get$xyzD50ToLinearDisplayP30();
  123975. break $label0$0;
  123976. }
  123977. if (B.Rec2020ColorSpace_6oo0 === dest) {
  123978. t1 = $.$get$xyzD50ToLinearRec20200();
  123979. break $label0$0;
  123980. }
  123981. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  123982. t1 = $.$get$xyzD50ToXyzD650();
  123983. break $label0$0;
  123984. }
  123985. if (B.LmsColorSpace_Os30 === dest) {
  123986. t1 = $.$get$xyzD50ToLms0();
  123987. break $label0$0;
  123988. }
  123989. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  123990. break $label0$0;
  123991. }
  123992. return t1;
  123993. }
  123994. };
  123995. A.XyzD65ColorSpace0.prototype = {
  123996. get$isBoundedInternal() {
  123997. return false;
  123998. },
  123999. toLinear$1(channel) {
  124000. return channel;
  124001. },
  124002. fromLinear$1(channel) {
  124003. return channel;
  124004. },
  124005. transformationMatrix$1(dest) {
  124006. var t1;
  124007. $label0$0: {
  124008. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124009. t1 = $.$get$xyzD65ToLinearSrgb0();
  124010. break $label0$0;
  124011. }
  124012. if (B.A98RgbColorSpace_lf20 === dest) {
  124013. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  124014. break $label0$0;
  124015. }
  124016. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124017. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  124018. break $label0$0;
  124019. }
  124020. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124021. t1 = $.$get$xyzD65ToLinearDisplayP30();
  124022. break $label0$0;
  124023. }
  124024. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124025. t1 = $.$get$xyzD65ToLinearRec20200();
  124026. break $label0$0;
  124027. }
  124028. if (B.XyzD50ColorSpace_2OB0 === dest) {
  124029. t1 = $.$get$xyzD65ToXyzD500();
  124030. break $label0$0;
  124031. }
  124032. if (B.LmsColorSpace_Os30 === dest) {
  124033. t1 = $.$get$xyzD65ToLms0();
  124034. break $label0$0;
  124035. }
  124036. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124037. break $label0$0;
  124038. }
  124039. return t1;
  124040. }
  124041. };
  124042. (function aliases() {
  124043. var _ = J.LegacyJavaScriptObject.prototype;
  124044. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  124045. _ = A.JsLinkedHashMap.prototype;
  124046. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  124047. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  124048. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  124049. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  124050. _ = A._BufferingStreamSubscription.prototype;
  124051. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  124052. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  124053. _ = A.ListBase.prototype;
  124054. _.super$ListBase$setRange = _.setRange$4;
  124055. _ = A.Iterable.prototype;
  124056. _.super$Iterable$where = _.where$1;
  124057. _.super$Iterable$skipWhile = _.skipWhile$1;
  124058. _ = A.ModifiableCssParentNode.prototype;
  124059. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  124060. _ = A.SimpleSelector.prototype;
  124061. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  124062. _.super$SimpleSelector$unify = _.unify$1;
  124063. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  124064. _ = A.Parser.prototype;
  124065. _.super$Parser$silentComment = _.silentComment$0;
  124066. _ = A.StylesheetParser.prototype;
  124067. _.super$StylesheetParser$importArgument = _.importArgument$0;
  124068. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  124069. _ = A.Value.prototype;
  124070. _.super$Value$assertMap = _.assertMap$1;
  124071. _.super$Value$plus = _.plus$1;
  124072. _.super$Value$minus = _.minus$1;
  124073. _.super$Value$dividedBy = _.dividedBy$1;
  124074. _.super$Value$toString = _.toString$0;
  124075. _ = A.ColorSpace.prototype;
  124076. _.super$ColorSpace$convert = _.convert$5;
  124077. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124078. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  124079. _ = A.SassNumber.prototype;
  124080. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  124081. _.super$SassNumber$coerce = _.coerce$3;
  124082. _.super$SassNumber$coerceValue = _.coerceValue$3;
  124083. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  124084. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  124085. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  124086. _.super$SassNumber$greaterThan = _.greaterThan$1;
  124087. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  124088. _.super$SassNumber$lessThan = _.lessThan$1;
  124089. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  124090. _.super$SassNumber$modulo = _.modulo$1;
  124091. _.super$SassNumber$plus = _.plus$1;
  124092. _.super$SassNumber$minus = _.minus$1;
  124093. _.super$SassNumber$times = _.times$1;
  124094. _.super$SassNumber$dividedBy = _.dividedBy$1;
  124095. _ = A.AnySelectorVisitor.prototype;
  124096. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  124097. _ = A.EveryCssVisitor.prototype;
  124098. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  124099. _ = A.ReplaceExpressionVisitor.prototype;
  124100. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  124101. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  124102. _ = A.SourceSpanMixin.prototype;
  124103. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  124104. _.super$SourceSpanMixin$$eq = _.$eq;
  124105. _ = A.StringScanner.prototype;
  124106. _.super$StringScanner$readChar = _.readChar$0;
  124107. _.super$StringScanner$scanChar = _.scanChar$1;
  124108. _.super$StringScanner$scan = _.scan$1;
  124109. _.super$StringScanner$matches = _.matches$1;
  124110. _ = A.AnySelectorVisitor0.prototype;
  124111. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  124112. _ = A.EveryCssVisitor0.prototype;
  124113. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  124114. _ = A.ModifiableCssParentNode0.prototype;
  124115. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  124116. _ = A.SassNumber0.prototype;
  124117. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  124118. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  124119. _.super$SassNumber$coerce0 = _.coerce$3;
  124120. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  124121. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  124122. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  124123. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  124124. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  124125. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  124126. _.super$SassNumber$lessThan0 = _.lessThan$1;
  124127. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  124128. _.super$SassNumber$modulo0 = _.modulo$1;
  124129. _.super$SassNumber$plus0 = _.plus$1;
  124130. _.super$SassNumber$minus0 = _.minus$1;
  124131. _.super$SassNumber$times0 = _.times$1;
  124132. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  124133. _ = A.Parser1.prototype;
  124134. _.super$Parser$silentComment0 = _.silentComment$0;
  124135. _ = A.ReplaceExpressionVisitor0.prototype;
  124136. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  124137. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  124138. _ = A.SimpleSelector0.prototype;
  124139. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  124140. _.super$SimpleSelector$unify0 = _.unify$1;
  124141. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  124142. _ = A.ColorSpace0.prototype;
  124143. _.super$ColorSpace$convert0 = _.convert$5;
  124144. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124145. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  124146. _ = A.StylesheetParser0.prototype;
  124147. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  124148. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  124149. _ = A.Value0.prototype;
  124150. _.super$Value$assertMap0 = _.assertMap$1;
  124151. _.super$Value$plus0 = _.plus$1;
  124152. _.super$Value$minus0 = _.minus$1;
  124153. _.super$Value$dividedBy0 = _.dividedBy$1;
  124154. _.super$Value$toString0 = _.toString$0;
  124155. })();
  124156. (function installTearOffs() {
  124157. var _static_2 = hunkHelpers._static_2,
  124158. _instance_1_i = hunkHelpers._instance_1i,
  124159. _instance_1_u = hunkHelpers._instance_1u,
  124160. _static_1 = hunkHelpers._static_1,
  124161. _static_0 = hunkHelpers._static_0,
  124162. _static = hunkHelpers.installStaticTearOff,
  124163. _instance = hunkHelpers.installInstanceTearOff,
  124164. _instance_2_u = hunkHelpers._instance_2u,
  124165. _instance_0_i = hunkHelpers._instance_0i,
  124166. _instance_0_u = hunkHelpers._instance_0u;
  124167. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 230);
  124168. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  124169. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  124170. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  124171. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  124172. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  124173. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  124174. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124175. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 129);
  124176. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 129);
  124177. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 129);
  124178. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  124179. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 77);
  124180. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 73);
  124181. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  124182. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 633, 0);
  124183. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  124184. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  124185. }], 634, 1);
  124186. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  124187. var t1 = type$.dynamic;
  124188. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  124189. }], 635, 1);
  124190. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  124191. var t1 = type$.dynamic;
  124192. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  124193. }], 636, 1);
  124194. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  124195. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  124196. }], 637, 0);
  124197. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  124198. var t1 = type$.dynamic;
  124199. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  124200. }], 638, 0);
  124201. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  124202. var t1 = type$.dynamic;
  124203. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  124204. }], 639, 0);
  124205. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 640, 0);
  124206. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 641, 0);
  124207. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 642, 0);
  124208. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 643, 0);
  124209. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 644, 0);
  124210. _static_1(A, "async___printToZone$closure", "_printToZone", 83);
  124211. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 645, 0);
  124212. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  124213. return [null];
  124214. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 252, 0, 0);
  124215. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 73);
  124216. var _;
  124217. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 38);
  124218. _instance(_, "get$addError", 0, 1, function() {
  124219. return [null];
  124220. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 199, 0, 0);
  124221. _instance_0_i(_, "get$close", "close$0", 350);
  124222. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 38);
  124223. _instance_2_u(_, "get$_addError", "_addError$2", 73);
  124224. _instance_0_u(_, "get$_close", "_close$0", 0);
  124225. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124226. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124227. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 672, 0, 0);
  124228. _instance_0_i(_, "get$resume", "resume$0", 0);
  124229. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  124230. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124231. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 38);
  124232. _instance_2_u(_, "get$_onError", "_onError$2", 73);
  124233. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  124234. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124235. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124236. _instance_1_u(_, "get$_handleData", "_handleData$1", 38);
  124237. _instance_2_u(_, "get$_handleError", "_handleError$2", 650);
  124238. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  124239. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 169);
  124240. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 167);
  124241. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 230);
  124242. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124243. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124244. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  124245. _instance_1_i(_, "get$contains", "contains$1", 9);
  124246. _instance_1_i(_, "get$add", "add$1", 9);
  124247. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 157, 0, 0);
  124248. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  124249. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  124250. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  124251. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 86);
  124252. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  124253. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 167);
  124254. _static_2(A, "core__identical$closure", "identical", 169);
  124255. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  124256. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  124257. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 38);
  124258. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  124259. return A.max(a, b, type$.num);
  124260. }], 648, 1);
  124261. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  124262. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 38);
  124263. _instance(_, "get$setError", 0, 1, function() {
  124264. return [null];
  124265. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 199, 0, 0);
  124266. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  124267. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  124268. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  124269. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 158);
  124270. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  124271. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  124272. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  124273. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  124274. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  124275. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 151);
  124276. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 318);
  124277. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124278. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124279. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124280. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 75);
  124281. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124282. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124283. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124284. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124285. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 212);
  124286. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 212);
  124287. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  124288. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 153);
  124289. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 22);
  124290. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 22);
  124291. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124292. _instance_0_u(_, "get$string", "string$0", 32);
  124293. _instance(_, "get$error", 1, 2, function() {
  124294. return [null];
  124295. }, ["call$3", "call$2"], ["error$3", "error$2"], 174, 0, 0);
  124296. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 394, 0, 0);
  124297. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 118);
  124298. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 118);
  124299. _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"], 390, 0, 0);
  124300. _instance_0_u(_, "get$_number", "_number$0", 389);
  124301. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  124302. return {color: null};
  124303. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 140, 0, 0);
  124304. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124305. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124306. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  124307. return {color: null};
  124308. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 205, 0, 0);
  124309. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 38);
  124310. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124311. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124312. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 38);
  124313. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124314. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  124315. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 69);
  124316. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 81);
  124317. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  124318. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  124319. _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"], 337, 0, 0);
  124320. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 270);
  124321. _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"], 300, 0, 0);
  124322. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 270);
  124323. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 271);
  124324. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 272);
  124325. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  124326. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  124327. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 275);
  124328. _instance_1_u(_, "get$_specificities", "_specificities$1", 276);
  124329. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 85);
  124330. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 268, 0, 0);
  124331. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 278);
  124332. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 8);
  124333. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  124334. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  124335. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  124336. return {color: null};
  124337. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 140, 0, 0);
  124338. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 103);
  124339. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 103);
  124340. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 103);
  124341. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 103);
  124342. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 159);
  124343. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 159);
  124344. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  124345. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  124346. }], 651, 0);
  124347. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  124348. return A._collect($event, soFar, type$.dynamic);
  124349. }], 652, 0);
  124350. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124351. _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);
  124352. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 232);
  124353. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 85);
  124354. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  124355. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 69);
  124356. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 74);
  124357. _static(A, "compile__compile$closure", 1, function() {
  124358. return [null];
  124359. }, ["call$2", "call$1"], ["compile0", function(path) {
  124360. return A.compile0(path, null);
  124361. }], 653, 0);
  124362. _static(A, "compile__compileString$closure", 1, function() {
  124363. return [null];
  124364. }, ["call$2", "call$1"], ["compileString0", function(text) {
  124365. return A.compileString0(text, null);
  124366. }], 654, 0);
  124367. _static(A, "compile__compileAsync$closure", 1, function() {
  124368. return [null];
  124369. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  124370. return A.compileAsync1(path, null);
  124371. }], 655, 0);
  124372. _static(A, "compile__compileStringAsync$closure", 1, function() {
  124373. return [null];
  124374. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  124375. return A.compileStringAsync1(text, null);
  124376. }], 656, 0);
  124377. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 657);
  124378. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 69);
  124379. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 658);
  124380. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 659);
  124381. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 22);
  124382. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 150);
  124383. _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);
  124384. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 232);
  124385. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 150);
  124386. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 13);
  124387. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 660);
  124388. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  124389. return {color: null};
  124390. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 140, 0, 0);
  124391. _static_2(A, "legacy__render$closure", "render", 661);
  124392. _static_1(A, "legacy__renderSync$closure", "renderSync", 662);
  124393. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124394. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 78);
  124395. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124396. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  124397. return {color: null};
  124398. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 205, 0, 0);
  124399. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 38);
  124400. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 153);
  124401. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 663);
  124402. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 664, 0);
  124403. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 665);
  124404. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  124405. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 22);
  124406. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124407. _instance_0_u(_, "get$string", "string$0", 32);
  124408. _instance(_, "get$error", 1, 2, function() {
  124409. return [null];
  124410. }, ["call$3", "call$2"], ["error$3", "error$2"], 174, 0, 0);
  124411. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124412. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124413. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124414. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124415. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124416. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124417. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  124418. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  124419. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 573);
  124420. _instance_1_u(_, "get$_serialize0$_specificities", "_serialize0$_specificities$1", 574);
  124421. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 85);
  124422. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 268, 0, 0);
  124423. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 575);
  124424. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 7);
  124425. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124426. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 38);
  124427. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  124428. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  124429. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  124430. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 594, 0, 0);
  124431. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 126);
  124432. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 126);
  124433. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 596);
  124434. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124435. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124436. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124437. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 666);
  124438. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 250);
  124439. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 667);
  124440. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  124441. _static(A, "path__absolute$closure", 1, function() {
  124442. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  124443. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  124444. var _null = null;
  124445. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124446. }, function(part1, part2) {
  124447. var _null = null;
  124448. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124449. }, function(part1, part2, part3) {
  124450. var _null = null;
  124451. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124452. }, function(part1, part2, part3, part4) {
  124453. var _null = null;
  124454. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124455. }, function(part1, part2, part3, part4, part5) {
  124456. var _null = null;
  124457. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124458. }, function(part1, part2, part3, part4, part5, part6) {
  124459. var _null = null;
  124460. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124461. }], 668, 0);
  124462. _static_1(A, "path__toUri$closure", "toUri", 131);
  124463. _static_1(A, "path__prettyUri$closure", "prettyUri", 669);
  124464. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 45);
  124465. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 45);
  124466. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 45);
  124467. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 45);
  124468. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 63);
  124469. _static_1(A, "number0__sqrt$closure", "sqrt", 54);
  124470. _static_1(A, "number0__sin$closure", "sin", 54);
  124471. _static_1(A, "number0__cos$closure", "cos", 54);
  124472. _static_1(A, "number0__tan$closure", "tan", 54);
  124473. _static_1(A, "number0__atan$closure", "atan", 54);
  124474. _static_1(A, "number0__asin$closure", "asin", 54);
  124475. _static_1(A, "number0__acos$closure", "acos", 54);
  124476. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  124477. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 45);
  124478. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 45);
  124479. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 45);
  124480. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 45);
  124481. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 63);
  124482. _static_1(A, "number2__sqrt$closure", "sqrt0", 53);
  124483. _static_1(A, "number2__sin$closure", "sin0", 53);
  124484. _static_1(A, "number2__cos$closure", "cos0", 53);
  124485. _static_1(A, "number2__tan$closure", "tan0", 53);
  124486. _static_1(A, "number2__atan$closure", "atan0", 53);
  124487. _static_1(A, "number2__asin$closure", "asin0", 53);
  124488. _static_1(A, "number2__acos$closure", "acos0", 53);
  124489. _static_1(A, "sass__main$closure", "main1", 673);
  124490. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 83);
  124491. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  124492. _static_1(A, "value0__wrapValue$closure", "wrapValue", 449);
  124493. })();
  124494. (function inheritance() {
  124495. var _mixin = hunkHelpers.mixin,
  124496. _inherit = hunkHelpers.inherit,
  124497. _inheritMany = hunkHelpers.inheritMany;
  124498. _inherit(A.Object, null);
  124499. _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]);
  124500. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  124501. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  124502. _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]);
  124503. _inherit(J.JSUnmodifiableArray, J.JSArray);
  124504. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  124505. _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]);
  124506. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  124507. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  124508. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  124509. _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._updateAstPrototypes_closure7, A._updateAstPrototypes_closure8, A._updateAstPrototypes_closure9, A._addSupportsConditionToInterpolation_closure, A.Parser_escape_closure0, A.Parser_scanIdentChar_matches0, A._PrefixedKeys_iterator_closure0, A.PseudoSelector_specificity__closure1, A.PseudoSelector_specificity__closure2, A.PseudoSelector_unify_closure0, A.JSClassExtension_setCustomInspect_closure, A.ReplaceExpressionVisitor_visitListExpression_closure0, A.ReplaceExpressionVisitor_visitArgumentList_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A.SassParser_styleRuleSelector_closure0, A.SassParser__peekIndentation_closure1, A.SassParser__peekIndentation_closure2, A.SassParser__tryTrailingSemicolon_closure0, A._wrapMain_closure, A._wrapMain_closure0, A._IsBogusVisitor_visitComplexSelector_closure0, A._IsUselessVisitor_visitComplexSelector_closure0, A._nest_closure0, A._nest__closure1, A._append_closure1, A._append__closure1, A._append___closure0, A._extend_closure0, A._replace_closure0, A._unify_closure0, A._isSuperselector_closure0, A._simpleSelectors_closure0, A._simpleSelectors__closure0, A._parse_closure0, A.SelectorSearchVisitor_visitComplexSelector_closure0, A.SelectorSearchVisitor_visitCompoundSelector_closure0, A.serialize_closure0, A._SerializeVisitor_visitList_closure2, A._SerializeVisitor_visitList_closure3, A._SerializeVisitor_visitList_closure4, A._SerializeVisitor_visitMap_closure0, A._SerializeVisitor_visitSelectorList_closure0, A.SimpleSelector_isSuperselector_closure0, A.SimpleSelector_isSuperselector__closure0, A.SingleUnitSassNumber__coerceToUnit_closure0, A.SingleUnitSassNumber__coerceValueToUnit_closure0, A.SingleUnitSassNumber_multiplyUnits_closure1, A.SourceMapBuffer_buildSourceMap_closure0, A.updateSourceSpanPrototype_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype__closure, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.updateSourceSpanPrototype_closure6, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A.module_closure25, A.module__closure3, A.module__closure4, A._unquote_closure0, A._quote_closure0, A._length_closure1, A._insert_closure0, A._index_closure1, A._slice_closure0, A._toUpperCase_closure0, A._toLowerCase_closure0, A._uniqueId_closure0, A.StringExtension_toCssIdentifier_writeEscape, A.StringExtension_toCssIdentifier_consumeSurrogatePair, A.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, A.StylesheetParser__isHexColor_closure0, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure0, A.futureToPromise__closure0, A.indent_closure0, A.flattenVertically_closure1, A.flattenVertically_closure2, A.valueClass__closure, A.valueClass__closure0, A.valueClass__closure1, A.valueClass__closure2, A.valueClass__closure3, A.valueClass__closure4, A.valueClass__closure5, A.valueClass__closure7, A.valueClass__closure8, A.valueClass__closure9, A.valueClass__closure10, A.valueClass__closure11, A.valueClass__closure12, A.valueClass__closure13, A.valueClass__closure14, A.valueClass__closure15, A.valueClass__closure17, A.valueClass__closure18]);
  124510. _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]);
  124511. _inherit(A.CastList, A._CastListBase);
  124512. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  124513. _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]);
  124514. _inherit(A.UnmodifiableListBase, A.ListBase);
  124515. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  124516. _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]);
  124517. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  124518. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  124519. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  124520. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  124521. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  124522. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  124523. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  124524. _inherit(A._Record_1, A._Record1);
  124525. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  124526. _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]);
  124527. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  124528. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  124529. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  124530. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  124531. _inherit(A.ConstantStringMap, A.ConstantMap);
  124532. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  124533. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  124534. _inherit(A.Instantiation1, A.Instantiation);
  124535. _inherit(A.NullError, A.TypeError);
  124536. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  124537. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  124538. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  124539. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  124540. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  124541. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124542. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  124543. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124544. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  124545. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  124546. _inherit(A._TypeError, A._Error);
  124547. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  124548. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  124549. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  124550. _inherit(A._ControllerStream, A._StreamImpl);
  124551. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  124552. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  124553. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  124554. _inherit(A._MapStream, A._ForwardingStream);
  124555. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  124556. _inherit(A._IdentityHashMap, A._HashMap);
  124557. _inherit(A._LinkedHashSet, A._SetBase);
  124558. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  124559. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  124560. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  124561. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  124562. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  124563. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  124564. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  124565. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  124566. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  124567. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  124568. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  124569. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  124570. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  124571. _inherit(A._DataUri, A._Uri);
  124572. _inherit(A.ArgParserException, A.FormatException);
  124573. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  124574. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  124575. _inherit(A._CastQueueList, A.QueueList);
  124576. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  124577. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  124578. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  124579. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  124580. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  124581. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  124582. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  124583. _inherit(A.InternalStyle, A.Style);
  124584. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  124585. _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]);
  124586. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  124587. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  124588. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  124589. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  124590. _inherit(A.CssStylesheet, A.CssParentNode);
  124591. _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]);
  124592. _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]);
  124593. _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]);
  124594. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  124595. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  124596. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  124597. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  124598. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  124599. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  124600. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  124601. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  124602. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  124603. _inherit(A.ExplicitConfiguration, A.Configuration);
  124604. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  124605. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  124606. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  124607. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  124608. _inherit(A.MergedExtension, A.Extension);
  124609. _inherit(A.Importer, A.AsyncImporter);
  124610. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  124611. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  124612. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  124613. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  124614. _inherit(A.CssParser, A.ScssParser);
  124615. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  124616. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  124617. _inherit(A.SassArgumentList, A.SassList);
  124618. _inherit(A.LinearChannel, A.ColorChannel);
  124619. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  124620. _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]);
  124621. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  124622. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  124623. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  124624. _inherit(A.SingleMapping, A.Mapping);
  124625. _inherit(A.FileLocation, A.SourceLocationMixin);
  124626. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  124627. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  124628. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  124629. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  124630. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  124631. _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]);
  124632. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  124633. _inherit(A.SassArgumentList0, A.SassList0);
  124634. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  124635. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  124636. _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]);
  124637. _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]);
  124638. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  124639. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  124640. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  124641. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  124642. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  124643. _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]);
  124644. _inherit(A.LinearChannel0, A.ColorChannel0);
  124645. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  124646. _inherit(A._ConstructionOptions, A._Channels);
  124647. _inherit(A.CompileStringOptions, A.CompileOptions);
  124648. _inherit(A.AsyncCompiler, A.Compiler);
  124649. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  124650. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  124651. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  124652. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  124653. _inherit(A.CssParser0, A.ScssParser0);
  124654. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  124655. _inherit(A._NodeException, A.JsError);
  124656. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  124657. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  124658. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  124659. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  124660. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  124661. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  124662. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  124663. _inherit(A.MergedExtension0, A.Extension0);
  124664. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  124665. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  124666. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  124667. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  124668. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  124669. _inherit(A.CssStylesheet0, A.CssParentNode0);
  124670. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  124671. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  124672. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  124673. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124674. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  124675. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  124676. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  124677. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  124678. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  124679. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  124680. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  124681. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124682. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  124683. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124684. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124685. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  124686. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  124687. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  124688. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124689. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124690. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  124691. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  124692. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  124693. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  124694. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  124695. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  124696. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  124697. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  124698. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124699. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124700. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  124701. })();
  124702. var init = {
  124703. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  124704. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  124705. mangledNames: {},
  124706. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "bool(String)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(Object?)", "int()", "SassBoolean(List<Value>)", "SassBoolean0(List<Value0>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "JSClass0()", "double(double)", "SassString0(List<Value0>)", "SassString(List<Value>)", "bool(ComplexSelector0)", "bool(ComplexSelector)", "SassColor(List<Value>)", "bool()", "SassNumber0(List<Value0>)", "SassNumber(List<Value>)", "SassColor0(List<Value0>)", "SassList(List<Value>)", "SassList0(List<Value0>)", "FileSpan()", "Future<~>()", "bool(int?)", "double(SassColor0)", "String()", "Object?()", "SassMap(List<Value>)", "Null(~())", "Value()", "SassMap0(List<Value0>)", "~(Object?)", "Future<Null>(Future<~>())", "int(SassColor0)", "Value0?()", "Value(Value)", "Value?()", "Value0(Value0)", "bool(num,num)", "double(SassColor)", "Value0()", "Null(Object,StackTrace)", "String?()", "bool(int)", "Uri(Uri)", "bool(Value0)", "SassNumber0(SassNumber0)", "SassNumber(SassNumber)", "bool(ComplexSelectorComponent0)", "Null(@)", "bool(ComplexSelectorComponent)", "~(Value0)", "ValueExpression(Value)", "ValueExpression0(Value0)", "~(Value)", "ComplexSelector(ComplexSelector)", "double(double,double)", "ComplexSelector0(ComplexSelector0)", "int(SassColor)", "@()", "Frame()", "Future<Value0?>()", "Object(Object)", "bool(Value)", "Future<Value0>()", "Future<Value>()", "~(Object,StackTrace)", "bool(ColorChannel0)", "bool(SelectorList)", "Future<Value?>()", "~(@)", "bool(SelectorList0)", "bool(Object)", "Callable?()", "bool(ColorChannel)", "Stylesheet?()", "~(String)", "Null([Object?])", "~(Object)", "@(@)", "AsyncCallable?()", "~(Value,Value)", "SassRuntimeException(AstNode)", "Future<Value?>(Statement)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "~(String[Deprecation?])", "~([int?])", "~(String,Value)", "Callable0?()", "~(Module0<Callable0>,bool)", "Value?(Statement)", "Object()", "Future<Value0>(List<Value0>)", "Value0?(Statement0)", "~(Module1<Callable>,bool)", "int(Uri)", "Frame(String)", "Null(_NodeSassColor,num)", "double(SassNumber0)", "~(String,Value0)", "~(String[Deprecation0?])", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Future<Value0?>(Statement0)", "SassRuntimeException0(AstNode0)", "~(Value0,Value0)", "AsyncCallable0?()", "String(@)", "~(String,Object?)", "double(SassNumber)", "int(_NodeSassColor)", "Map<ComplexSelector0,Extension0>()", "Statement()", "bool(Module0<AsyncCallable>)", "SassCalculation0(Object)", "Map<ComplexSelector,Extension>()", "~(String,Function)", "bool(Expression0)", "String(Expression0)", "bool(Module1<Callable>)", "Statement0()", "Null(Module1<AsyncCallable0>,bool)", "+originalUrl(Importer,Uri,Uri)?()", "~(~())", "~(String,@)", "Uri(String)", "bool(_Highlight)", "Null(Module0<AsyncCallable>,bool)", "bool(Module1<AsyncCallable0>)", "String(Expression)", "String(Object)", "bool(Expression)", "bool(Module0<Callable0>)", "List<String>()", "String(String{color:Object?})", "double()", "SelectorList(Value)", "SelectorList(SelectorList,SelectorList)", "Map<String,Callable>(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "Callable?(Module1<Callable>)", "double(SassNumber0,SassNumber0[String?,String?])", "Uri?()", "double(SassNumber0,Object,Object[String?])", "~(Iterable<ExtensionStore0>)", "Version(String)", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "int(String,String)", "String?(String?)", "String?(Object)", "String(FileSpan)", "Set<0^>()<Object?>", "Future<~>?()", "Trace(String)", "SassNumber0(SassNumber0,Object,Object[String?])", "Iterable<String>()", "Iterable<String>(String)", "Iterable<String>(@)", "DateTime()", "Set<0&>(Object)", "~(String[~])", "int(Object?)", "bool(SassNumber0,String)", "bool(Object?,Object?)", "int(int)", "AsyncImporter0(Object?)", "Future<NodeCompileResult>()", "ImmutableList0(SassNumber0)", "0&(String,FileSpan[StackTrace?])", "~(@,@)", "ImmutableList0(SassColor0)", "~(Object?,Object?)", "double(Value0)", "String(Value0)", "List<Extension>()", "bool(SassNumber0)", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "AsyncCallable?(Module0<AsyncCallable>)", "Object(CalculationOperation0)", "Null(_NodeSassMap,int,Object)", "0&(@[@])", "0&(Object[Object?])", "String(SassNumber0)", "AtRootRule(List<Statement>,FileSpan)", "AstNode0?()", "InterpolationMap0(List<SourceLocation>)", "Object(_NodeSassMap,int)", "int(ComplexSelector)", "Value0(int)", "Future<Value>(List<Value>)", "AtRule(List<Statement>,FileSpan)", "@(Value0,num)", "~(Object[StackTrace?])", "String(double)", "bool(ForwardRule0)", "bool(UseRule0)", "List<CssComment0>()", "bool(Import0)", "String(String{color:@})", "Entry(Entry)", "FileLocation(FileSpan)", "bool(String?)", "double(double,String)", "Future<SassNumber0>()", "bool(Queue<List<ComplexSelectorComponent>>)", "~(Iterable<ExtensionStore>)", "SassFunction(List<Value>)", "Callable0?(Module0<Callable0>)", "SassMixin(List<Value>)", "Future<~>(List<Value>)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "bool(Statement0)", "@(String)", "bool(ModifiableCssParentNode0)", "List<ExtensionStore0>()", "bool(Queue<List<ComplexSelectorComponent0>>)", "Uri?/()", "List<ExtensionStore>()", "double(Value)", "bool(ModifiableCssParentNode)", "Future<~>(List<Value0>)", "SassMixin0(List<Value0>)", "SelectorList0(SelectorList0,SelectorList0)", "int(@,@)", "SassFunction0(List<Value0>)", "AstNode0(AstNode0)", "Future<SassNumber>()", "List<Extension0>()", "List<CssComment>()", "SelectorList0(Value0)", "bool(UseRule)", "bool(ForwardRule)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "Map<String,Callable0>(Module0<Callable0>)", "Future<String>()", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "String(_NodeException)", "SassNumber0()", "AsyncCallable0?(Module1<AsyncCallable0>)", "Expression0(Expression0)", "Value0?(Value0)", "AtRule0(List<Statement0>,FileSpan)", "Future<Object>()", "JSUrl0(Uri)", "AtRootRule0(List<Statement0>,FileSpan)", "~([Object?])", "InterpolationMap(List<SourceLocation>)", "AstNode?()", "String(SassNumber)", "bool(Import)", "~(List<Value0>)", "~(List<Value>)", "~(int)", "bool(Frame)", "Trace()", "bool(Statement)", "String(Frame)", "int(SourceLocation)", "int(Frame)", "SassNumber()", "int(ComplexSelector0)", "~(double?[String?])", "Expression(Expression)", "AstNode(AstNode)", "~(ContentBlock)", "~(List<Statement>)", "Value(Expression)", "String(int,IfClause)", "~(CssMediaQuery)", "Set<int>(CssParentNode)", "UserDefinedCallable<Environment>(ContentBlock)", "~(SelectorList)", "~(MapEntry<Value,Value>)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "Value?(IfRuleClause)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "CssValue<String>(Interpolation)", "String(Trace)", "Value?(Value)", "~(Module0<Callable0>)", "Frame(String,String)", "Module0<Callable0>()", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "Frame(Frame)", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "String(Parameter)", "@(@,String)", "int(int,ComplexSelectorComponent)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "String(CssValue<Combinator>)", "Value/()", "Value0/(List<Value0>)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "Future<Value>(Expression)", "bool(ModifiableCssNode)", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "Future<Value?>(IfRuleClause)", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "bool(Version)", "int(int,SimpleSelector)", "Null(@,@)", "Future<CssValue<String>>(Interpolation)", "Future<Value?>(Value)", "Object(String)", "bool(@)", "int(String?)", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "~(Module0<AsyncCallable>)", "~(Module1<AsyncCallable0>)", "bool(String?,String?)", "Future<Module0<AsyncCallable>>()", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "SassList(ComplexSelector)", "Future<Value0?>(Value0)", "~(Module0<AsyncCallable>,bool)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "Iterable<ComplexSelector>(ComplexSelector)", "SingleUnitSassNumber(double)", "SassScriptException()", "DateTime(StylesheetNode)", "Future<Value0?>(IfRuleClause0)", "StringExpression(Interpolation)", "~(BinaryOperator)", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "~(Expression)", "WhileRule(List<Statement>,FileSpan)", "SimpleSelector(SimpleSelector)", "SupportsRule(List<Statement>,FileSpan)", "Future<@>()", "Future<Value0>(Expression0)", "MixinRule(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "Value0/()", "ContentBlock(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "Value?(Module0<AsyncCallable>)", "FunctionRule(List<Statement>,FileSpan)", "EachRule(List<Statement>,FileSpan)", "Declaration(List<Statement>,FileSpan)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "StyleRule(List<Statement>,FileSpan)", "UseRule()", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "VariableDeclaration()", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "ParameterList()", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "bool(CanonicalizeContext0)", "JSUrl0?(CanonicalizeContext0)", "Statement?()", "Stylesheet()", "Map<String,Value>(Module0<AsyncCallable>)", "Map<String,AstNode>(Module0<AsyncCallable>)", "NumberExpression()", "Expression({bracketList:bool,consumeNewlines:bool,singleEquals:bool,until:bool()?})", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "SassColor0(SassColor0)", "SassColor0(ColorSpace0)", "Statement({root:bool})", "0&(List<Value0>)", "CompoundSelector()", "SelectorList()", "SassColor0(Object,_ConstructionOptions)", "bool(SassColor0,Object)", "SassColor0(SassColor0,String)", "bool(SassColor0[String?])", "SassColor0(SassColor0,_ToGamutOptions)", "double(SassColor0,String[_ChannelOptions?])", "bool(SassColor0,String)", "bool(SassColor0,String[_ChannelOptions?])", "SassColor0(SassColor0,_ConstructionOptions)", "double?(String)", "SassColor0(SassColor0,SassColor0[_InterpolationOptions?])", "String(SassColor0)", "bool(SassColor0)", "String(String?)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "double(num)", "Null(Function,Function)", "double(_NodeSassColor)", "List<CssMediaQuery>()", "String(BuiltInCallable)", "AtRootQuery()", "AsyncImporter0(JSImporter)", "0&(@)", "Null(JSObject?,JSArray<Object?>)", "NodePackageImporter0(Object[String?])", "~(Object?,List<JSObject>)", "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)", "Uri(+originalUrl(Importer,Uri,Uri))", "bool(+originalUrl(Importer,Uri,Uri))", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "SassString(String)", "SassString(int)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "SassString(SimpleSelector)", "Value(Object)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "Object(Value0)", "SassNumber(Value)", "SassMap(SassMap)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "SassMap(Value)", "~(String,Option)", "CssValue0<String>(Interpolation0)", "~(int,@)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "bool(List<Value>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "List<Value>(Value)", "Object?(Object?)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "0&(List<Value>)", "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>)", "String(Value)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "Future<Stylesheet?>()", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Null(@,StackTrace)", "SassColor(ColorSpace)", "~(Object?,Object,Object?)", "+(String,String)(String)", "+originalUrl(Importer0,Uri,Uri)?()", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(RenderResult)", "JSFunction0(JSFunction0)", "Object?(Object,String,String[Object?])", "Null(Object)", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "SassColor(SassColor)", "Null(_NodeSassList,int?[bool?,SassList0?])", "int(int,int)", "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)", "~(String,int?)", "int(_NodeSassMap)", "~(String,int)", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "bool(ModifiableCssNode0)", "SassNumber0(Object,num[Object?])", "~(Symbol0,@)", "int?(SassNumber0)", "SelectorList?(PseudoSelector)", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "bool(PseudoSelector)", "bool(List<Iterable<ComplexSelectorComponent>>)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "PseudoSelector(ComplexSelector)", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "String(Parameter0)", "JSExpressionVisitor(JSExpressionVisitorObject)", "JSStatementVisitor(JSStatementVisitorObject)", "JSSet(Set<Object?>)", "String(SourceFile,int[int?])", "List<int>(SourceFile)", "String?(Interpolation0)", "Object?(Statement0,StatementVisitor<Object?>)", "Object?(Expression0,ExpressionVisitor<Object?>)", "ArgumentList0(IncludeRule0)", "ArgumentList0(ContentRule0)", "ArgumentList0(FunctionExpression0)", "ArgumentList0(IfExpression0)", "ArgumentList0(InterpolatedFunctionExpression0)", "FileSpan(SassNode)", "Interpolation0(SupportsCondition)", "List<ComplexSelector>(ComplexSelector)", "String(Object,@,@[@])", "List<List<Extender>>(List<Extender>)", "List<Extender>(PseudoSelector)", "List<Extender>?(SimpleSelector)", "List<SimpleSelector>(Extender)", "SassString0(SimpleSelector0)", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "Set<int>(CssParentNode0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "JSUrl0?(FileSpan)", "Set<ModifiableBox<SelectorList>>()", "bool(Extension)", "List<WatchEvent>(List<WatchEvent>)", "SassString0(int)", "SassString0(String)", "Future<~>(String)", "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})", "~(+deprecation,message,span(Deprecation?,String,FileSpan))", "NumberExpression0()", "Stylesheet0()", "Statement0?()", "ParameterList0()", "+(String,ParameterList0)()", "StyleRule0(List<Statement0>,FileSpan)", "Declaration0(List<Statement0>,FileSpan)", "Set<Deprecation>()", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "ArgParser()", "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?])", "Map<String,AstNode>(Module0<Callable0>)", "Map<String,Value>(Module0<Callable0>)", "~(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?>?)", "Module0<Callable0>?(Module0<Callable0>)", "Value?(Module0<Callable0>)", "0^(0^,0^)<num>", "bool(Deprecation)", "~(@,StackTrace)", "~(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?)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "Value/(List<Value>)", "~([Future<~>?])", "Future<~>(List<String>)", "Future<CssValue0<String>>(Interpolation0)"],
  124707. interceptorsByTag: null,
  124708. leafTags: null,
  124709. arrayRti: Symbol("$ti"),
  124710. rttc: {
  124711. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  124712. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  124713. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  124714. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  124715. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  124716. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  124717. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124718. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124719. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  124720. "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),
  124721. "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),
  124722. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  124723. }
  124724. };
  124725. 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":[]}}'));
  124726. 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}'));
  124727. var string$ = {
  124728. 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",
  124729. x0a_BUG_: "\n\nBUG: This should include a source span!",
  124730. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  124731. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  124732. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  124733. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  124734. x0a_This: "\n\nThis is only an error because you've set the ",
  124735. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  124736. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  124737. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  124738. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  124739. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  124740. x20It_wi: " It will be omitted from the generated CSS.",
  124741. 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",
  124742. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  124743. x20deprex20: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  124744. x20deprex2c: " deprecation, since it has also been made fatal.",
  124745. x20hue__: ' hue" may not be set for rectangular color space ',
  124746. x20in_in: " in interpolation here.\nIt may end up represented as ",
  124747. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  124748. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  124749. x20is_av: " is available from multiple global modules.",
  124750. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  124751. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  124752. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  124753. 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",
  124754. x20must_b: " must be either nearest, up, down or to-zero.",
  124755. x20must_n: " must not be greater than the number of characters in the file, ",
  124756. x20repet: " repetitive deprecation warnings omitted.",
  124757. x20targe: " targetLocations if the interpolation has ",
  124758. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  124759. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  124760. 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",
  124761. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  124762. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  124763. x20was_n: " was not declared with !default in the @used module.",
  124764. x20was_p: " was passed both by position and by name.",
  124765. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  124766. x21globai: "!global isn't allowed for variables in other modules.",
  124767. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  124768. x22x20can_: "\" can't be used as a parent in a compound selector.",
  124769. 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',
  124770. 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',
  124771. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  124772. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  124773. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  124774. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  124775. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  124776. x22packa: '"package:" URLs aren\'t supported on this platform.',
  124777. x24color: "$color1, $color2, $weight: 50%, $method: null",
  124778. x24css_a: "$css and $module may not both be passed at once.",
  124779. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  124780. x24selec: "$selectors: At least one selector must be passed.",
  124781. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  124782. x27x20must: "' must be a path relative to the package root at '",
  124783. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  124784. 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.",
  124785. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  124786. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  124787. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124788. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  124789. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  124790. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  124791. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  124792. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  124793. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  124794. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  124795. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  124796. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  124797. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  124798. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  124799. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  124800. x3d_____: "===== asynchronous gap ===========================\n",
  124801. 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.",
  124802. x40conte: "@content is only allowed within mixin declarations.",
  124803. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  124804. x40exten: "@extend may only be used within style rules.",
  124805. x40forwa: "@forward rules must be written before any other rules.",
  124806. x40funct: "@function if($condition, $if-true, $if-false) {",
  124807. x40use_r: "@use rules must be written before any other rules.",
  124808. A_list: "A list with more than one element must have an explicit separator.",
  124809. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  124810. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  124811. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  124812. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  124813. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  124814. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  124815. 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.",
  124816. At_rul: "At-rules may not be used within nested declarations.",
  124817. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  124818. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  124819. Cannotfq: "Cannot extract a file path from a URI with a query component",
  124820. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  124821. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  124822. Could_: 'Could not find an option with short name "-',
  124823. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  124824. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  124825. Declarm: "Declarations may only be used within style rules.",
  124826. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  124827. Either: "Either options.data or options.file must be set.",
  124828. Entrie: "Entries may not be removed from MergedMapView.",
  124829. 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",
  124830. Evalua: "Evaluation handles @include and its content block together.",
  124831. Expecta: "Expected a color interpolation method, got an empty list.",
  124832. Expectu: 'Expected unquoted string "hue" at the end of ',
  124833. Expectv: "Expected variable, mixin, or function name",
  124834. Functi: "Functions may not be declared in control directives.",
  124835. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  124836. 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",
  124837. 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",
  124838. 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",
  124839. 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",
  124840. 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",
  124841. 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",
  124842. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  124843. If_con: "If conditions is longer than one element, conjunction may not be null.",
  124844. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  124845. If_str: "If strategy is not null, step is required.",
  124846. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  124847. 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",
  124848. Indent: "Indenting at the beginning of the document is illegal.",
  124849. Interpn: "Interpolation isn't allowed in namespaces.",
  124850. Interpp: "Interpolation isn't allowed in plain CSS.",
  124851. Invali: 'Invalid return value for custom function "',
  124852. It_s_n: "It's not clear which file to import. Found:\n",
  124853. Keywor: "Keyword arguments can't be used with calculations.",
  124854. May_no: "May not have a value for string elements (at index ",
  124855. Media_: "Media rules may not be used within nested declarations.",
  124856. Mixinsb: "Mixins may not be declared in control directives.",
  124857. Mixinscf: "Mixins may not contain function declarations.",
  124858. Mixinscm: "Mixins may not contain mixin declarations.",
  124859. Modulel: "Module loop: this module is already being loaded.",
  124860. Modulen: "Module namespaces aren't allowed in plain CSS.",
  124861. Must_n: "Must not have a value for expression elements (at index ",
  124862. Nested: "Nested declarations aren't allowed in plain CSS.",
  124863. New_en: "New entries may not be added to MergedMapView.",
  124864. No_Sasc: "No Sass callable is currently being evaluated.",
  124865. No_Sass: "No Sass stylesheet is currently being evaluated.",
  124866. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  124867. Number: "Number to round and step arguments are required.",
  124868. Only_2: "Only 2 slash-separated elements allowed, but ",
  124869. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  124870. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  124871. Other_: "Other modules' members can't be defined with !global.",
  124872. Parent: "Parent selectors can't have suffixes in plain CSS.",
  124873. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  124874. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  124875. 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(",
  124876. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  124877. Plain_: "Plain CSS functions don't support keyword arguments.",
  124878. Positi: "Positional arguments must come before keyword arguments.",
  124879. Privat: "Private members can't be accessed from outside their modules.",
  124880. Rest_a: "Rest arguments can't be used with calculations.",
  124881. 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",
  124882. 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",
  124883. 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",
  124884. 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",
  124885. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  124886. 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",
  124887. Silent: "Silent comments aren't allowed in plain CSS.",
  124888. Style_k: "Style rules may not be used within keyframe blocks.",
  124889. Style_n: "Style rules may not be used within nested declarations.",
  124890. Suppor: "Supports rules may not be used within nested declarations.",
  124891. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  124892. The_No: "The Node package importer cannot be used without a filesystem.",
  124893. The_ca: "The canonicalize() method must return a URL.",
  124894. The_co: "The color() function doesn't support the color space ",
  124895. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  124896. The_fie: "The findFileUrl() method must return a URL.",
  124897. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  124898. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  124899. 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",
  124900. The_lo: "The load() function must return an object with contents and syntax fields.",
  124901. The_pa: "The parent selector isn't allowed in plain CSS.",
  124902. The_sa: "The same variable may only be configured once.",
  124903. The_ta: 'The target selector was not found.\nUse "@extend ',
  124904. There_: "There's already a module with namespace \"",
  124905. This_d: 'This declaration has no parameter named "$',
  124906. This_e: "This expression can't be used in a calculation.",
  124907. This_f: "This function isn't allowed in plain CSS.",
  124908. This_ma: 'This module and the new module both define a variable named "$',
  124909. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  124910. This_o: "This operation can't be used in a calculation.",
  124911. This_s: "This selector doesn't have any properties and won't be rendered.",
  124912. This_v: "This variable was not declared with !default in the @used module.",
  124913. To_usei: "To use color.invert() with non-legacy color ",
  124914. To_usem: "To use color.mix() with non-legacy color ",
  124915. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  124916. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  124917. Unable: "Unable to determine which of multiple potential resolutions found for ",
  124918. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  124919. User_a: "User-authored deprecations should not be silenced.",
  124920. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  124921. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  124922. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  124923. 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.",
  124924. Variab_: "Variable keyword argument map must have string keys.\n",
  124925. Variabs: "Variable keyword arguments must be a map (was ",
  124926. You_ma: "You may not @extend selectors across media queries.",
  124927. You_pr: "You probably don't mean to use the color value ",
  124928. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  124929. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  124930. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  124931. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124932. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  124933. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  124934. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  124935. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  124936. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  124937. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  124938. conten: "content-exists() may only be called within a mixin.",
  124939. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124940. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124941. fileEx: "fileExists() is only supported on Node.js",
  124942. leadin: "leadingCombinators and components may not both be empty.",
  124943. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124944. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  124945. math_r: "math.random() will no longer ignore $limit units (",
  124946. multip: "multiple statements on one line are not supported in the indented syntax.",
  124947. must_b: "must be a UniversalSelector or a TypeSelector",
  124948. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  124949. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  124950. throug: "through() must return false for at least one parent of ",
  124951. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  124952. };
  124953. var type$ = (function rtii() {
  124954. var findType = A.findType;
  124955. return {
  124956. $env_1_1_String: findType("@<String>"),
  124957. ArgParser: findType("ArgParser"),
  124958. AstNode: findType("AstNode"),
  124959. AstNode_2: findType("AstNode0"),
  124960. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  124961. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  124962. AsyncCallable: findType("AsyncCallable"),
  124963. AsyncCallable_2: findType("AsyncCallable0"),
  124964. AsyncCompiler: findType("AsyncCompiler"),
  124965. AsyncImporter: findType("AsyncImporter0"),
  124966. Box_SelectorList: findType("Box<SelectorList>"),
  124967. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  124968. BuiltInCallable: findType("BuiltInCallable"),
  124969. BuiltInCallable_2: findType("BuiltInCallable0"),
  124970. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  124971. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  124972. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  124973. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  124974. ByteBuffer: findType("ByteBuffer"),
  124975. ByteData: findType("ByteData"),
  124976. Callable: findType("Callable0"),
  124977. Callable_2: findType("Callable"),
  124978. ChangeType: findType("ChangeType"),
  124979. CodeUnits: findType("CodeUnits"),
  124980. Combinator: findType("Combinator"),
  124981. Combinator_2: findType("Combinator0"),
  124982. Comparable_dynamic: findType("Comparable<@>"),
  124983. Comparable_nullable_Object: findType("Comparable<Object?>"),
  124984. CompileResult: findType("CompileResult"),
  124985. CompileResult_2: findType("CompileResult0"),
  124986. ComplexSelector: findType("ComplexSelector"),
  124987. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  124988. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  124989. ComplexSelector_2: findType("ComplexSelector0"),
  124990. Configuration: findType("Configuration"),
  124991. Configuration_2: findType("Configuration0"),
  124992. ConfiguredValue: findType("ConfiguredValue"),
  124993. ConfiguredValue_2: findType("ConfiguredValue0"),
  124994. ConfiguredVariable: findType("ConfiguredVariable"),
  124995. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  124996. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  124997. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  124998. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  124999. CssComment: findType("CssComment"),
  125000. CssComment_2: findType("CssComment0"),
  125001. CssMediaQuery: findType("CssMediaQuery"),
  125002. CssMediaQuery_2: findType("CssMediaQuery0"),
  125003. CssParentNode: findType("CssParentNode"),
  125004. CssParentNode_2: findType("CssParentNode0"),
  125005. CssStyleRule: findType("CssStyleRule"),
  125006. CssStyleRule_2: findType("CssStyleRule0"),
  125007. CssStylesheet: findType("CssStylesheet"),
  125008. CssStylesheet_2: findType("CssStylesheet0"),
  125009. CssValue_Combinator: findType("CssValue<Combinator>"),
  125010. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  125011. CssValue_List_String: findType("CssValue<List<String>>"),
  125012. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  125013. CssValue_String: findType("CssValue<String>"),
  125014. CssValue_String_2: findType("CssValue0<String>"),
  125015. CssValue_Value: findType("CssValue<Value>"),
  125016. CssValue_Value_2: findType("CssValue0<Value0>"),
  125017. DateTime: findType("DateTime"),
  125018. Deprecation: findType("Deprecation"),
  125019. Deprecation_2: findType("Deprecation1"),
  125020. Deprecation_3: findType("Deprecation0"),
  125021. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  125022. Error: findType("Error"),
  125023. EvaluationContext: findType("EvaluationContext"),
  125024. EvaluationContext_2: findType("EvaluationContext0"),
  125025. Exception: findType("Exception"),
  125026. Expression: findType("Expression"),
  125027. Expression_2: findType("Expression0"),
  125028. Extender: findType("Extender"),
  125029. Extender_2: findType("Extender0"),
  125030. Extension: findType("Extension"),
  125031. Extension_2: findType("Extension0"),
  125032. FileLocation: findType("FileLocation"),
  125033. FileSpan: findType("FileSpan"),
  125034. Float32List: findType("Float32List"),
  125035. Float64List: findType("Float64List"),
  125036. FormatException: findType("FormatException"),
  125037. Frame: findType("Frame"),
  125038. Function: findType("Function"),
  125039. FutureGroup_void: findType("FutureGroup<~>"),
  125040. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  125041. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  125042. FutureOr_nullable_Uri: findType("Uri?/"),
  125043. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  125044. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  125045. Future_Value: findType("Future<Value>"),
  125046. Future_Value_2: findType("Future<Value0>"),
  125047. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  125048. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  125049. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  125050. Future_nullable_Uri: findType("Future<Uri?>"),
  125051. Future_nullable_Value: findType("Future<Value?>"),
  125052. Future_nullable_Value_2: findType("Future<Value0?>"),
  125053. IfClause: findType("IfClause"),
  125054. IfClause_2: findType("IfClause0"),
  125055. ImmutableList: findType("ImmutableList0"),
  125056. ImmutableList_2: findType("ImmutableList"),
  125057. ImmutableMap: findType("ImmutableMap0"),
  125058. Import: findType("Import"),
  125059. Import_2: findType("Import0"),
  125060. Importer: findType("Importer0"),
  125061. ImporterResult: findType("ImporterResult"),
  125062. ImporterResult_2: findType("ImporterResult0"),
  125063. Importer_2: findType("Importer"),
  125064. Int16List: findType("Int16List"),
  125065. Int32List: findType("Int32List"),
  125066. Int8List: findType("Int8List"),
  125067. Interpolation: findType("Interpolation"),
  125068. InterpolationBuffer: findType("InterpolationBuffer"),
  125069. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  125070. InterpolationMap: findType("InterpolationMap"),
  125071. InterpolationMap_2: findType("InterpolationMap0"),
  125072. Interpolation_2: findType("Interpolation0"),
  125073. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  125074. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  125075. Iterable_dynamic: findType("Iterable<@>"),
  125076. Iterable_nullable_Object: findType("Iterable<Object?>"),
  125077. JSArray_AstNode: findType("JSArray<AstNode>"),
  125078. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  125079. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  125080. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  125081. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  125082. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  125083. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  125084. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  125085. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  125086. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  125087. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  125088. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  125089. JSArray_Callable: findType("JSArray<Callable0>"),
  125090. JSArray_Callable_2: findType("JSArray<Callable>"),
  125091. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  125092. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  125093. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  125094. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  125095. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  125096. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  125097. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  125098. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  125099. JSArray_CssComment: findType("JSArray<CssComment>"),
  125100. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  125101. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  125102. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  125103. JSArray_CssNode: findType("JSArray<CssNode>"),
  125104. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  125105. JSArray_CssStyleRule: findType("JSArray<CssStyleRule>"),
  125106. JSArray_CssStyleRule_2: findType("JSArray<CssStyleRule0>"),
  125107. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  125108. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  125109. JSArray_Entry: findType("JSArray<Entry>"),
  125110. JSArray_Expression: findType("JSArray<Expression>"),
  125111. JSArray_Expression_2: findType("JSArray<Expression0>"),
  125112. JSArray_Extender: findType("JSArray<Extender>"),
  125113. JSArray_Extender_2: findType("JSArray<Extender0>"),
  125114. JSArray_Extension: findType("JSArray<Extension>"),
  125115. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  125116. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  125117. JSArray_Extension_2: findType("JSArray<Extension0>"),
  125118. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  125119. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  125120. JSArray_Frame: findType("JSArray<Frame>"),
  125121. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  125122. JSArray_IfClause: findType("JSArray<IfClause>"),
  125123. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  125124. JSArray_Import: findType("JSArray<Import>"),
  125125. JSArray_Import_2: findType("JSArray<Import0>"),
  125126. JSArray_Importer: findType("JSArray<Importer>"),
  125127. JSArray_Importer_2: findType("JSArray<Importer0>"),
  125128. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  125129. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  125130. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  125131. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  125132. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  125133. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  125134. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  125135. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  125136. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  125137. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  125138. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  125139. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  125140. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  125141. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  125142. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  125143. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  125144. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  125145. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  125146. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  125147. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  125148. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  125149. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  125150. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  125151. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  125152. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  125153. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  125154. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  125155. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  125156. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  125157. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  125158. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  125159. JSArray_Object: findType("JSArray<Object>"),
  125160. JSArray_Parameter: findType("JSArray<Parameter>"),
  125161. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  125162. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  125163. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  125164. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  125165. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  125166. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  125167. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  125168. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  125169. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  125170. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125171. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125172. JSArray_SassList: findType("JSArray<SassList>"),
  125173. JSArray_SassList_2: findType("JSArray<SassList0>"),
  125174. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  125175. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  125176. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  125177. JSArray_Statement: findType("JSArray<Statement>"),
  125178. JSArray_Statement_2: findType("JSArray<Statement0>"),
  125179. JSArray_String: findType("JSArray<String>"),
  125180. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  125181. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  125182. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  125183. JSArray_Trace: findType("JSArray<Trace>"),
  125184. JSArray_UseRule: findType("JSArray<UseRule>"),
  125185. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  125186. JSArray_Value: findType("JSArray<Value>"),
  125187. JSArray_Value_2: findType("JSArray<Value0>"),
  125188. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  125189. JSArray__Highlight: findType("JSArray<_Highlight>"),
  125190. JSArray__Line: findType("JSArray<_Line>"),
  125191. JSArray_double: findType("JSArray<double>"),
  125192. JSArray_dynamic: findType("JSArray<@>"),
  125193. JSArray_int: findType("JSArray<int>"),
  125194. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  125195. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  125196. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  125197. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  125198. JSArray_nullable_String: findType("JSArray<String?>"),
  125199. JSClass: findType("JSClass0"),
  125200. JSFunction: findType("JSFunction0"),
  125201. JSImporter: findType("JSImporter"),
  125202. JSImporterResult: findType("JSImporterResult"),
  125203. JSNull: findType("JSNull"),
  125204. JSObject: findType("JSObject"),
  125205. JSUrl: findType("JSUrl0"),
  125206. JavaScriptFunction: findType("JavaScriptFunction"),
  125207. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  125208. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  125209. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  125210. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  125211. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  125212. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  125213. JsSystemError: findType("JsSystemError"),
  125214. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  125215. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  125216. LinearChannel: findType("LinearChannel"),
  125217. LinearChannel_2: findType("LinearChannel0"),
  125218. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  125219. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  125220. List_CssComment: findType("List<CssComment>"),
  125221. List_CssComment_2: findType("List<CssComment0>"),
  125222. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  125223. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  125224. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  125225. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  125226. List_Extension: findType("List<Extension>"),
  125227. List_ExtensionStore: findType("List<ExtensionStore>"),
  125228. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  125229. List_Extension_2: findType("List<Extension0>"),
  125230. List_JSObject: findType("List<JSObject>"),
  125231. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  125232. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  125233. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  125234. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  125235. List_Module_Callable: findType("List<Module0<Callable0>>"),
  125236. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  125237. List_String: findType("List<String>"),
  125238. List_WatchEvent: findType("List<WatchEvent>"),
  125239. List_dynamic: findType("List<@>"),
  125240. List_int: findType("List<int>"),
  125241. List_nullable_Object: findType("List<Object?>"),
  125242. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  125243. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  125244. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  125245. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  125246. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  125247. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  125248. MapKeySet_String: findType("MapKeySet<String>"),
  125249. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  125250. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  125251. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  125252. Map_String_AstNode: findType("Map<String,AstNode>"),
  125253. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  125254. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  125255. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  125256. Map_String_Callable: findType("Map<String,Callable0>"),
  125257. Map_String_Callable_2: findType("Map<String,Callable>"),
  125258. Map_String_Value: findType("Map<String,Value>"),
  125259. Map_String_Value_2: findType("Map<String,Value0>"),
  125260. Map_String_dynamic: findType("Map<String,@>"),
  125261. Map_dynamic_dynamic: findType("Map<@,@>"),
  125262. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  125263. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  125264. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  125265. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  125266. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  125267. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  125268. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  125269. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  125270. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  125271. MixinRule: findType("MixinRule"),
  125272. MixinRule_2: findType("MixinRule0"),
  125273. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  125274. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  125275. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  125276. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  125277. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  125278. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  125279. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  125280. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  125281. ModifiableCssNode: findType("ModifiableCssNode"),
  125282. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  125283. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  125284. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  125285. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  125286. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  125287. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  125288. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  125289. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  125290. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  125291. Module_Callable: findType("Module0<Callable0>"),
  125292. Module_Callable_2: findType("Module1<Callable>"),
  125293. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  125294. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  125295. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  125296. NativeUint8List: findType("NativeUint8List"),
  125297. Never: findType("0&"),
  125298. NodeCompileResult: findType("NodeCompileResult"),
  125299. NodeImporterResult: findType("NodeImporterResult0"),
  125300. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  125301. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  125302. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  125303. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  125304. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  125305. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  125306. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  125307. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  125308. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  125309. Null: findType("Null"),
  125310. NumberExpression: findType("NumberExpression"),
  125311. NumberExpression_2: findType("NumberExpression0"),
  125312. Object: findType("Object"),
  125313. Option: findType("Option"),
  125314. Parameter: findType("Parameter"),
  125315. ParameterList: findType("ParameterList"),
  125316. ParameterList_2: findType("ParameterList0"),
  125317. Parameter_2: findType("Parameter0"),
  125318. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  125319. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  125320. PathMap_String: findType("PathMap<String>"),
  125321. PathMap_nullable_String: findType("PathMap<String?>"),
  125322. Promise: findType("Promise"),
  125323. PseudoSelector: findType("PseudoSelector"),
  125324. PseudoSelector_2: findType("PseudoSelector0"),
  125325. RangeError: findType("RangeError"),
  125326. Record: findType("Record"),
  125327. Record_0: findType("+()"),
  125328. Record_1_nullable_Object: findType("+(Object?)"),
  125329. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  125330. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  125331. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  125332. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  125333. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  125334. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  125335. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  125336. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  125337. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  125338. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  125339. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  125340. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  125341. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  125342. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  125343. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  125344. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  125345. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  125346. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  125347. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  125348. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  125349. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  125350. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  125351. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  125352. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  125353. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  125354. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  125355. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  125356. 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)"),
  125357. 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)"),
  125358. RegExpMatch: findType("RegExpMatch"),
  125359. RenderContextOptions: findType("RenderContextOptions0"),
  125360. RenderResult: findType("RenderResult"),
  125361. Result_String: findType("Result<String>"),
  125362. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  125363. Runes: findType("Runes"),
  125364. SassArgumentList: findType("SassArgumentList"),
  125365. SassArgumentList_2: findType("SassArgumentList0"),
  125366. SassBoolean: findType("SassBoolean"),
  125367. SassBoolean_2: findType("SassBoolean0"),
  125368. SassColor: findType("SassColor"),
  125369. SassColor_2: findType("SassColor0"),
  125370. SassFormatException: findType("SassFormatException"),
  125371. SassFormatException_2: findType("SassFormatException0"),
  125372. SassList: findType("SassList"),
  125373. SassList_2: findType("SassList0"),
  125374. SassMap: findType("SassMap"),
  125375. SassMap_2: findType("SassMap0"),
  125376. SassNumber: findType("SassNumber"),
  125377. SassNumber_2: findType("SassNumber0"),
  125378. SassRuntimeException: findType("SassRuntimeException"),
  125379. SassRuntimeException_2: findType("SassRuntimeException0"),
  125380. SassString: findType("SassString"),
  125381. SassString_2: findType("SassString0"),
  125382. SelectorList: findType("SelectorList"),
  125383. SelectorList_2: findType("SelectorList0"),
  125384. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  125385. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  125386. Set_Uri: findType("Set<Uri>"),
  125387. SimpleSelector: findType("SimpleSelector"),
  125388. SimpleSelector_2: findType("SimpleSelector0"),
  125389. SourceFile: findType("SourceFile"),
  125390. SourceLocation: findType("SourceLocation"),
  125391. SourceSpan: findType("SourceSpan"),
  125392. SourceSpanFormatException: findType("SourceSpanFormatException"),
  125393. SourceSpanWithContext: findType("SourceSpanWithContext"),
  125394. StackTrace: findType("StackTrace"),
  125395. Statement: findType("Statement"),
  125396. Statement_2: findType("Statement0"),
  125397. StaticImport: findType("StaticImport"),
  125398. StaticImport_2: findType("StaticImport0"),
  125399. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  125400. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  125401. StreamQueue_String: findType("StreamQueue<String>"),
  125402. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  125403. String: findType("String"),
  125404. StringExpression: findType("StringExpression"),
  125405. StringExpression_2: findType("StringExpression0"),
  125406. StylesheetNode: findType("StylesheetNode"),
  125407. Timer: findType("Timer"),
  125408. Trace: findType("Trace"),
  125409. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  125410. TypeError: findType("TypeError"),
  125411. TypeSelector: findType("TypeSelector"),
  125412. TypeSelector_2: findType("TypeSelector0"),
  125413. Uint16List: findType("Uint16List"),
  125414. Uint32List: findType("Uint32List"),
  125415. Uint8ClampedList: findType("Uint8ClampedList"),
  125416. Uint8List: findType("Uint8List"),
  125417. UnionSet_Uri: findType("UnionSet<Uri>"),
  125418. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  125419. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  125420. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  125421. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  125422. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  125423. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  125424. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  125425. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  125426. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  125427. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125428. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125429. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  125430. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  125431. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  125432. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  125433. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  125434. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  125435. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  125436. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  125437. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  125438. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  125439. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  125440. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  125441. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  125442. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  125443. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  125444. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  125445. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  125446. Uri: findType("Uri"),
  125447. UseRule: findType("UseRule"),
  125448. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  125449. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  125450. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  125451. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  125452. Value: findType("Value"),
  125453. Value_2: findType("Value0"),
  125454. Value_Function_List_Value: findType("Value(List<Value>)"),
  125455. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  125456. VariableDeclaration: findType("VariableDeclaration"),
  125457. VersionRange: findType("VersionRange"),
  125458. WatchEvent: findType("WatchEvent"),
  125459. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  125460. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  125461. WhereIterable_String: findType("WhereIterable<String>"),
  125462. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  125463. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  125464. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  125465. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  125466. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  125467. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  125468. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  125469. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  125470. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  125471. _EventRequest_dynamic: findType("_EventRequest<@>"),
  125472. _Future_List_void: findType("_Future<List<~>>"),
  125473. _Future_Object: findType("_Future<Object>"),
  125474. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  125475. _Future_String: findType("_Future<String>"),
  125476. _Future_Value: findType("_Future<Value>"),
  125477. _Future_Value_2: findType("_Future<Value0>"),
  125478. _Future_bool: findType("_Future<bool>"),
  125479. _Future_dynamic: findType("_Future<@>"),
  125480. _Future_int: findType("_Future<int>"),
  125481. _Future_nullable_Object: findType("_Future<Object?>"),
  125482. _Future_void: findType("_Future<~>"),
  125483. _Highlight: findType("_Highlight"),
  125484. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  125485. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  125486. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  125487. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  125488. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  125489. _MapEntry: findType("_MapEntry"),
  125490. _NodeException: findType("_NodeException"),
  125491. _PlatformUri: findType("_PlatformUri"),
  125492. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  125493. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  125494. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  125495. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  125496. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  125497. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  125498. bool: findType("bool"),
  125499. double: findType("double"),
  125500. dynamic: findType("@"),
  125501. dynamic_Function: findType("@()"),
  125502. dynamic_Function_Object: findType("@(Object)"),
  125503. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  125504. int: findType("int"),
  125505. legacy_Never: findType("0&*"),
  125506. legacy_Object: findType("Object*"),
  125507. nullable_AstNode: findType("AstNode?"),
  125508. nullable_AstNode_2: findType("AstNode0?"),
  125509. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  125510. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  125511. nullable_CssValue_String: findType("CssValue<String>?"),
  125512. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  125513. nullable_FileSpan: findType("FileSpan?"),
  125514. nullable_Future_Null: findType("Future<Null>?"),
  125515. nullable_Future_void: findType("Future<~>?"),
  125516. nullable_ImporterResult: findType("ImporterResult?"),
  125517. nullable_ImporterResult_2: findType("ImporterResult0?"),
  125518. nullable_Object: findType("Object?"),
  125519. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  125520. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  125521. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  125522. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  125523. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  125524. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  125525. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  125526. nullable_SourceFile: findType("SourceFile?"),
  125527. nullable_SourceSpan: findType("SourceSpan?"),
  125528. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  125529. nullable_String: findType("String?"),
  125530. nullable_Stylesheet: findType("Stylesheet?"),
  125531. nullable_StylesheetNode: findType("StylesheetNode?"),
  125532. nullable_Stylesheet_2: findType("Stylesheet0?"),
  125533. nullable_Uri: findType("Uri?"),
  125534. nullable_Value: findType("Value?"),
  125535. nullable_Value_2: findType("Value0?"),
  125536. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  125537. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  125538. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  125539. nullable__Highlight: findType("_Highlight?"),
  125540. nullable_double: findType("double?"),
  125541. num: findType("num"),
  125542. void: findType("~"),
  125543. void_Function_Object: findType("~(Object)"),
  125544. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  125545. };
  125546. })();
  125547. (function constants() {
  125548. var makeConstList = hunkHelpers.makeConstList;
  125549. B.Interceptor_methods = J.Interceptor.prototype;
  125550. B.JSArray_methods = J.JSArray.prototype;
  125551. B.JSBool_methods = J.JSBool.prototype;
  125552. B.JSInt_methods = J.JSInt.prototype;
  125553. B.JSNull_methods = J.JSNull.prototype;
  125554. B.JSNumber_methods = J.JSNumber.prototype;
  125555. B.JSString_methods = J.JSString.prototype;
  125556. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  125557. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  125558. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  125559. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  125560. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  125561. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  125562. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  125563. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  125564. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  125565. B.List_U47 = A._setArrayType(makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN]), type$.JSArray_LinearChannel);
  125566. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  125567. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  125568. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  125569. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  125570. B.List_U470 = A._setArrayType(makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0]), type$.JSArray_LinearChannel_2);
  125571. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  125572. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  125573. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  125574. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  125575. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  125576. B.AttributeOperator_GWq = new A.AttributeOperator("*=", "substring");
  125577. B.AttributeOperator_GWq0 = new A.AttributeOperator0("*=", "substring");
  125578. B.AttributeOperator_JzP = new A.AttributeOperator("^=", "prefix");
  125579. B.AttributeOperator_JzP0 = new A.AttributeOperator0("^=", "prefix");
  125580. B.AttributeOperator_Lvy = new A.AttributeOperator("=", "equal");
  125581. B.AttributeOperator_Lvy0 = new A.AttributeOperator0("=", "equal");
  125582. B.AttributeOperator_U1W = new A.AttributeOperator("$=", "suffix");
  125583. B.AttributeOperator_U1W0 = new A.AttributeOperator0("$=", "suffix");
  125584. B.AttributeOperator_fp2 = new A.AttributeOperator("~=", "include");
  125585. B.AttributeOperator_fp20 = new A.AttributeOperator0("~=", "include");
  125586. B.AttributeOperator_iyP = new A.AttributeOperator("|=", "dash");
  125587. B.AttributeOperator_iyP0 = new A.AttributeOperator0("|=", "dash");
  125588. B.BinaryOperator_FPG = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125589. B.BinaryOperator_FPG0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125590. B.BinaryOperator_JiR = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125591. B.BinaryOperator_JiR0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125592. B.BinaryOperator_Kyq = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  125593. B.BinaryOperator_Kyq0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  125594. B.BinaryOperator_Mh5 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  125595. B.BinaryOperator_Mh50 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  125596. B.BinaryOperator_QG1 = new A.BinaryOperator("minus", "-", 5, false, "minus");
  125597. B.BinaryOperator_QG10 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  125598. B.BinaryOperator_Swh = new A.BinaryOperator("plus", "+", 5, true, "plus");
  125599. B.BinaryOperator_Swh0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  125600. B.BinaryOperator_o8O = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  125601. B.BinaryOperator_o8O0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  125602. B.BinaryOperator_qGq = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  125603. B.BinaryOperator_qGq0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  125604. B.BinaryOperator_qHy = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  125605. B.BinaryOperator_qHy0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  125606. B.BinaryOperator_r84 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  125607. B.BinaryOperator_r840 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  125608. B.BinaryOperator_s7T = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  125609. B.BinaryOperator_s7T0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  125610. B.BinaryOperator_tKu = new A.BinaryOperator("or", "or", 1, true, "or");
  125611. B.BinaryOperator_tKu0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  125612. B.BinaryOperator_tht = new A.BinaryOperator("times", "*", 6, true, "times");
  125613. B.BinaryOperator_tht0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  125614. B.BinaryOperator_uke = new A.BinaryOperator("and", "and", 2, true, "and");
  125615. B.BinaryOperator_uke0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  125616. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  125617. B.C_AsciiCodec = new A.AsciiCodec();
  125618. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  125619. B.C_Base64Encoder = new A.Base64Encoder();
  125620. B.C_Base64Codec = new A.Base64Codec();
  125621. B.C_DefaultEquality = new A.DefaultEquality();
  125622. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  125623. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  125624. B.C_EmptyIterator = new A.EmptyIterator();
  125625. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  125626. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  125627. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  125628. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  125629. B.C_IterableEquality = new A.IterableEquality();
  125630. B.C_JS_CONST = function getTagFallback(o) {
  125631. var s = Object.prototype.toString.call(o);
  125632. return s.substring(8, s.length - 1);
  125633. };
  125634. B.C_JS_CONST0 = function() {
  125635. var toStringFunction = Object.prototype.toString;
  125636. function getTag(o) {
  125637. var s = toStringFunction.call(o);
  125638. return s.substring(8, s.length - 1);
  125639. }
  125640. function getUnknownTag(object, tag) {
  125641. if (/^HTML[A-Z].*Element$/.test(tag)) {
  125642. var name = toStringFunction.call(object);
  125643. if (name == "[object Object]") return null;
  125644. return "HTMLElement";
  125645. }
  125646. }
  125647. function getUnknownTagGenericBrowser(object, tag) {
  125648. if (object instanceof HTMLElement) return "HTMLElement";
  125649. return getUnknownTag(object, tag);
  125650. }
  125651. function prototypeForTag(tag) {
  125652. if (typeof window == "undefined") return null;
  125653. if (typeof window[tag] == "undefined") return null;
  125654. var constructor = window[tag];
  125655. if (typeof constructor != "function") return null;
  125656. return constructor.prototype;
  125657. }
  125658. function discriminator(tag) { return null; }
  125659. var isBrowser = typeof HTMLElement == "function";
  125660. return {
  125661. getTag: getTag,
  125662. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  125663. prototypeForTag: prototypeForTag,
  125664. discriminator: discriminator };
  125665. };
  125666. B.C_JS_CONST6 = function(getTagFallback) {
  125667. return function(hooks) {
  125668. if (typeof navigator != "object") return hooks;
  125669. var userAgent = navigator.userAgent;
  125670. if (typeof userAgent != "string") return hooks;
  125671. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  125672. if (userAgent.indexOf("Chrome") >= 0) {
  125673. function confirm(p) {
  125674. return typeof window == "object" && window[p] && window[p].name == p;
  125675. }
  125676. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  125677. }
  125678. hooks.getTag = getTagFallback;
  125679. };
  125680. };
  125681. B.C_JS_CONST1 = function(hooks) {
  125682. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  125683. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  125684. };
  125685. B.C_JS_CONST5 = function(hooks) {
  125686. if (typeof navigator != "object") return hooks;
  125687. var userAgent = navigator.userAgent;
  125688. if (typeof userAgent != "string") return hooks;
  125689. if (userAgent.indexOf("Firefox") == -1) return hooks;
  125690. var getTag = hooks.getTag;
  125691. var quickMap = {
  125692. "BeforeUnloadEvent": "Event",
  125693. "DataTransfer": "Clipboard",
  125694. "GeoGeolocation": "Geolocation",
  125695. "Location": "!Location",
  125696. "WorkerMessageEvent": "MessageEvent",
  125697. "XMLDocument": "!Document"};
  125698. function getTagFirefox(o) {
  125699. var tag = getTag(o);
  125700. return quickMap[tag] || tag;
  125701. }
  125702. hooks.getTag = getTagFirefox;
  125703. };
  125704. B.C_JS_CONST4 = function(hooks) {
  125705. if (typeof navigator != "object") return hooks;
  125706. var userAgent = navigator.userAgent;
  125707. if (typeof userAgent != "string") return hooks;
  125708. if (userAgent.indexOf("Trident/") == -1) return hooks;
  125709. var getTag = hooks.getTag;
  125710. var quickMap = {
  125711. "BeforeUnloadEvent": "Event",
  125712. "DataTransfer": "Clipboard",
  125713. "HTMLDDElement": "HTMLElement",
  125714. "HTMLDTElement": "HTMLElement",
  125715. "HTMLPhraseElement": "HTMLElement",
  125716. "Position": "Geoposition"
  125717. };
  125718. function getTagIE(o) {
  125719. var tag = getTag(o);
  125720. var newTag = quickMap[tag];
  125721. if (newTag) return newTag;
  125722. if (tag == "Object") {
  125723. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  125724. }
  125725. return tag;
  125726. }
  125727. function prototypeForTagIE(tag) {
  125728. var constructor = window[tag];
  125729. if (constructor == null) return null;
  125730. return constructor.prototype;
  125731. }
  125732. hooks.getTag = getTagIE;
  125733. hooks.prototypeForTag = prototypeForTagIE;
  125734. };
  125735. B.C_JS_CONST2 = function(hooks) {
  125736. var getTag = hooks.getTag;
  125737. var prototypeForTag = hooks.prototypeForTag;
  125738. function getTagFixed(o) {
  125739. var tag = getTag(o);
  125740. if (tag == "Document") {
  125741. if (!!o.xmlVersion) return "!Document";
  125742. return "!HTMLDocument";
  125743. }
  125744. return tag;
  125745. }
  125746. function prototypeForTagFixed(tag) {
  125747. if (tag == "Document") return null;
  125748. return prototypeForTag(tag);
  125749. }
  125750. hooks.getTag = getTagFixed;
  125751. hooks.prototypeForTag = prototypeForTagFixed;
  125752. };
  125753. B.C_JS_CONST3 = function(hooks) { return hooks; }
  125754. ;
  125755. B.C_JsonCodec = new A.JsonCodec();
  125756. B.C_ListEquality0 = new A.ListEquality();
  125757. B.C_ListEquality = new A.ListEquality();
  125758. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  125759. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  125760. B.C_SentinelValue = new A.SentinelValue();
  125761. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  125762. B.C_Utf8Codec = new A.Utf8Codec();
  125763. B.C_Utf8Encoder = new A.Utf8Encoder();
  125764. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  125765. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  125766. B.C__DelayedDone = new A._DelayedDone();
  125767. B.C__HasContentVisitor = new A._HasContentVisitor();
  125768. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  125769. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  125770. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  125771. B.C__JSRandom = new A._JSRandom();
  125772. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  125773. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  125774. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  125775. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  125776. B.C__Required = new A._Required();
  125777. B.C__RootZone = new A._RootZone();
  125778. B.C__SassNull = new A._SassNull();
  125779. B.C__SassNull0 = new A._SassNull0();
  125780. B.CalculationOperator_F7i = new A.CalculationOperator("plus", "+", 1, "plus");
  125781. B.CalculationOperator_F7i0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  125782. B.CalculationOperator_bo5 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  125783. B.CalculationOperator_bo50 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  125784. B.CalculationOperator_kkN = new A.CalculationOperator("times", "*", 2, "times");
  125785. B.CalculationOperator_kkN0 = new A.CalculationOperator0("times", "*", 2, "times");
  125786. B.CalculationOperator_oum = new A.CalculationOperator("minus", "-", 1, "minus");
  125787. B.CalculationOperator_oum0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  125788. B.ChangeType_add = new A.ChangeType("add");
  125789. B.ChangeType_modify = new A.ChangeType("modify");
  125790. B.ChangeType_remove = new A.ChangeType("remove");
  125791. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  125792. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  125793. B.Combinator_0mp = new A.Combinator(">", "child");
  125794. B.Combinator_0mp0 = new A.Combinator0(">", "child");
  125795. B.Combinator_55N = new A.Combinator("~", "followingSibling");
  125796. B.Combinator_55N0 = new A.Combinator0("~", "followingSibling");
  125797. B.Combinator_bOP = new A.Combinator("+", "nextSibling");
  125798. B.Combinator_bOP0 = new A.Combinator0("+", "nextSibling");
  125799. B.Object_empty = {};
  125800. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  125801. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  125802. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  125803. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  125804. B.Deprecation_0NP = new A.Deprecation("duplicate-var-flags", "1.62.0", "duplicateVarFlags");
  125805. B.Deprecation_1AX = new A.Deprecation("global-builtin", "1.80.0", "globalBuiltin");
  125806. B.Deprecation_2g5 = new A.Deprecation("import", "1.80.0", "import");
  125807. B.Deprecation_39u = new A.Deprecation("mixed-decls", "1.77.7", "mixedDecls");
  125808. B.Deprecation_746 = new A.Deprecation("relative-canonical", "1.14.2", "relativeCanonical");
  125809. B.Deprecation_89v = new A.Deprecation("moz-document", "1.7.2", "mozDocument");
  125810. B.Deprecation_8ki = new A.Deprecation0("elseif", "1.3.2", "@elseif.", "elseif");
  125811. B.Deprecation_9hF = new A.Deprecation("bogus-combinators", "1.54.0", "bogusCombinators");
  125812. B.Deprecation_BvP = new A.Deprecation("slash-div", "1.33.0", "slashDiv");
  125813. B.Deprecation_BzI = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", "duplicateVarFlags");
  125814. B.Deprecation_CRw = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", "strictUnary");
  125815. B.Deprecation_Ds6 = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", "fsImporterCwd");
  125816. B.Deprecation_F8y = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", "legacyJsApi");
  125817. B.Deprecation_FD1 = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", "color4Api");
  125818. B.Deprecation_FyB = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", "slashDiv");
  125819. B.Deprecation_HIp = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", "featureExists");
  125820. B.Deprecation_Kg6 = new A.Deprecation("css-function-mixin", "1.76.0", "cssFunctionMixin");
  125821. B.Deprecation_Kry = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", "colorModuleCompat");
  125822. B.Deprecation_KtC = new A.Deprecation("user-authored", null, "userAuthored");
  125823. B.Deprecation_L0R = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", "mozDocument");
  125824. B.Deprecation_MSr = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "mixedDecls");
  125825. B.Deprecation_OHJ = new A.Deprecation0("import", "1.80.0", "@import rules.", "import");
  125826. B.Deprecation_Ord = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", "relativeCanonical");
  125827. B.Deprecation_Rg0 = new A.Deprecation("new-global", "1.17.2", "newGlobal");
  125828. B.Deprecation_SHb = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", "bogusCombinators");
  125829. B.Deprecation_UYp = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", "absPercent");
  125830. B.Deprecation_ZDV = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", "globalBuiltin");
  125831. B.Deprecation_ZVM = new A.Deprecation0("user-authored", null, null, "userAuthored");
  125832. B.Deprecation_aM0 = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", "callString");
  125833. B.Deprecation_cyE = new A.Deprecation("color-functions", "1.79.0", "colorFunctions");
  125834. B.Deprecation_d4j = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", "cssFunctionMixin");
  125835. B.Deprecation_dAn = new A.Deprecation("call-string", "0.0.0", "callString");
  125836. B.Deprecation_f5Y = new A.Deprecation0("calc-interp", null, null, "calcInterp");
  125837. B.Deprecation_fdF = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", "colorFunctions");
  125838. B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
  125839. B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
  125840. B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
  125841. B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
  125842. B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
  125843. B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
  125844. B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
  125845. B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
  125846. B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
  125847. B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
  125848. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  125849. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  125850. B.Duration_0 = new A.Duration(0);
  125851. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  125852. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  125853. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  125854. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  125855. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  125856. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  125857. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  125858. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  125859. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  125860. B.List_oAL = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m]), type$.JSArray_ColorChannel);
  125861. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  125862. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  125863. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  125864. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  125865. B.List_oAL0 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0]), type$.JSArray_ColorChannel_2);
  125866. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  125867. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod("shorter");
  125868. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0("shorter");
  125869. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod("longer");
  125870. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0("longer");
  125871. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod("increasing");
  125872. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0("increasing");
  125873. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod("decreasing");
  125874. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0("decreasing");
  125875. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  125876. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  125877. B.List_Ar1 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP]), type$.JSArray_ColorChannel);
  125878. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  125879. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  125880. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  125881. B.List_Ar10 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0]), type$.JSArray_ColorChannel_2);
  125882. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  125883. B.JsonDecoder_null = new A.JsonDecoder(null);
  125884. B.JsonEncoder_null = new A.JsonEncoder(null);
  125885. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  125886. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  125887. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  125888. B.List_KEo = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83]), type$.JSArray_ColorChannel);
  125889. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  125890. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  125891. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  125892. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  125893. B.List_KEo0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830]), type$.JSArray_ColorChannel_2);
  125894. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  125895. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  125896. B.List_grF = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  125897. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  125898. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  125899. B.List_grF0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  125900. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  125901. B.LineFeed_9HY = new A.LineFeed0("lf", "\n", "lf");
  125902. B.LineFeed_G7N = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  125903. B.LineFeed_Pcs = new A.LineFeed0("crlf", "\r\n", "crlf");
  125904. B.LineFeed_lf = new A.LineFeed("lf");
  125905. B.LineFeed_ybQ = new A.LineFeed0("cr", "\r", "cr");
  125906. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  125907. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  125908. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  125909. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  125910. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  125911. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  125912. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  125913. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  125914. B.ListSeparator_bRz = new A.ListSeparator("slash", "/", "slash");
  125915. B.ListSeparator_bRz0 = new A.ListSeparator0("slash", "/", "slash");
  125916. B.ListSeparator_qSL = new A.ListSeparator("space", " ", "space");
  125917. B.ListSeparator_qSL0 = new A.ListSeparator0("space", " ", "space");
  125918. B.ListSeparator_qVN = new A.ListSeparator("comma", ",", "comma");
  125919. B.ListSeparator_qVN0 = new A.ListSeparator0("comma", ",", "comma");
  125920. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  125921. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  125922. 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};
  125923. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  125924. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  125925. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  125926. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  125927. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  125928. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  125929. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  125930. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  125931. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  125932. 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>>"));
  125933. B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
  125934. B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
  125935. B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
  125936. B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
  125937. 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>"));
  125938. 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>"));
  125939. B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  125940. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  125941. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  125942. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  125943. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  125944. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  125945. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  125946. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  125947. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  125948. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  125949. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule);
  125950. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule_2);
  125951. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  125952. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  125953. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  125954. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  125955. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  125956. B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  125957. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  125958. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  125959. B.List_empty19 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  125960. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_Object);
  125961. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter);
  125962. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter_2);
  125963. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  125964. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  125965. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  125966. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  125967. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  125968. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  125969. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_FileSpan);
  125970. B.List_g9w = A._setArrayType(makeConstList([B.CalculationOperator_F7i0, B.CalculationOperator_oum0, B.CalculationOperator_kkN0, B.CalculationOperator_bo50]), A.findType("JSArray<CalculationOperator0>"));
  125971. B.List_nm2 = A._setArrayType(makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30]), A.findType("JSArray<HueInterpolationMethod0>"));
  125972. B.List_null = A._setArrayType(makeConstList([null]), type$.JSArray_nullable_FileSpan);
  125973. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  125974. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  125975. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  125976. B.List_wOx = A._setArrayType(makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH]), type$.JSArray_ColorChannel);
  125977. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  125978. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  125979. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  125980. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  125981. B.List_wOx0 = A._setArrayType(makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0]), type$.JSArray_ColorChannel_2);
  125982. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  125983. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  125984. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  125985. 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};
  125986. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  125987. 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);
  125988. 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);
  125989. 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);
  125990. 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);
  125991. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  125992. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  125993. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  125994. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  125995. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  125996. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  125997. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  125998. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  125999. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  126000. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  126001. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  126002. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  126003. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  126004. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  126005. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  126006. 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>>"));
  126007. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  126008. B.List_Ldp = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  126009. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  126010. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  126011. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  126012. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  126013. 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>>"));
  126014. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  126015. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  126016. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  126017. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  126018. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  126019. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  126020. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  126021. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  126022. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  126023. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  126024. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  126025. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  126026. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  126027. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  126028. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  126029. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  126030. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  126031. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  126032. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  126033. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  126034. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  126035. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  126036. B.List_ZWr = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D]), type$.JSArray_ColorChannel);
  126037. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  126038. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  126039. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  126040. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  126041. B.List_ZWr0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0]), type$.JSArray_ColorChannel_2);
  126042. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  126043. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  126044. B.List_g5j = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126045. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  126046. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  126047. B.List_g5j0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126048. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  126049. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  126050. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  126051. B.OptionType_zZK = new A.OptionType("OptionType.single");
  126052. B.OutputStyle_0 = new A.OutputStyle("expanded");
  126053. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  126054. B.OutputStyle_1 = new A.OutputStyle("compressed");
  126055. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  126056. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  126057. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  126058. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  126059. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  126060. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  126061. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  126062. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  126063. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  126064. B.List_Ds2 = A._setArrayType(makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3]), type$.JSArray_ColorChannel);
  126065. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  126066. B.List_Ds20 = A._setArrayType(makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30]), type$.JSArray_ColorChannel_2);
  126067. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  126068. B.SassBoolean_false = new A.SassBoolean(false);
  126069. B.SassBoolean_false0 = new A.SassBoolean0(false);
  126070. B.SassBoolean_true = new A.SassBoolean(true);
  126071. B.SassBoolean_true0 = new A.SassBoolean0(true);
  126072. B.SassList_BlY = new A.SassList(B.List_empty8, B.ListSeparator_qVN, false);
  126073. B.SassList_BlY0 = new A.SassList0(B.List_empty20, B.ListSeparator_qVN0, false);
  126074. B.SassList_apG = new A.SassList0(B.List_empty20, B.ListSeparator_undecided_null_undecided0, false);
  126075. B.SassList_qAD = new A.SassList(B.List_empty8, B.ListSeparator_qVN, true);
  126076. B.SassList_qAD0 = new A.SassList0(B.List_empty20, B.ListSeparator_qVN0, true);
  126077. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  126078. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  126079. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  126080. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  126081. B.Object_Tro = {is: 0, matches: 1, where: 2};
  126082. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  126083. B.Object_ssn = {sass: 0, style: 1, default: 2};
  126084. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  126085. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  126086. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  126087. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  126088. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  126089. 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};
  126090. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  126091. B.Set_WDSXk = new A.GeneralConstantSet([0], A.findType("GeneralConstantSet<int>"));
  126092. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  126093. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  126094. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  126095. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  126096. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  126097. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  126098. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  126099. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  126100. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  126101. B.Set_oQTdo = new A.GeneralConstantSet([B.BinaryOperator_tht, B.BinaryOperator_Mh5, B.BinaryOperator_Swh, B.BinaryOperator_QG1], A.findType("GeneralConstantSet<BinaryOperator>"));
  126102. B.Set_oQTdo0 = new A.GeneralConstantSet([B.BinaryOperator_tht0, B.BinaryOperator_Mh50, B.BinaryOperator_Swh0, B.BinaryOperator_QG10], A.findType("GeneralConstantSet<BinaryOperator0>"));
  126103. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  126104. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  126105. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  126106. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  126107. B.StderrLogger_false = new A.StderrLogger(false);
  126108. B.StderrLogger_false0 = new A.StderrLogger0(false);
  126109. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  126110. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  126111. B.Symbol__extensions = new A.Symbol("_extensions");
  126112. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  126113. B.Symbol_call = new A.Symbol("call");
  126114. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  126115. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  126116. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  126117. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  126118. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  126119. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  126120. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  126121. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  126122. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  126123. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  126124. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  126125. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  126126. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  126127. B.Type_Object_A4p = A.typeLiteral("Object");
  126128. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  126129. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  126130. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  126131. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  126132. B.UnaryOperator_Rbl = new A.UnaryOperator("plus", "+", "plus");
  126133. B.UnaryOperator_Rbl0 = new A.UnaryOperator0("plus", "+", "plus");
  126134. B.UnaryOperator_UCP = new A.UnaryOperator("minus", "-", "minus");
  126135. B.UnaryOperator_UCP0 = new A.UnaryOperator0("minus", "-", "minus");
  126136. B.UnaryOperator_lZV = new A.UnaryOperator("divide", "/", "divide");
  126137. B.UnaryOperator_lZV0 = new A.UnaryOperator0("divide", "/", "divide");
  126138. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  126139. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  126140. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  126141. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  126142. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  126143. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  126144. B.List_QRs = A._setArrayType(makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl]), type$.JSArray_LinearChannel);
  126145. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  126146. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  126147. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  126148. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  126149. B.List_QRs0 = A._setArrayType(makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0]), type$.JSArray_LinearChannel_2);
  126150. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  126151. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  126152. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  126153. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  126154. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  126155. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  126156. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  126157. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  126158. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  126159. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  126160. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  126161. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  126162. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  126163. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  126164. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  126165. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  126166. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  126167. B._PathDirection_6kc = new A._PathDirection("reaches root");
  126168. B._PathDirection_Wme = new A._PathDirection("below root");
  126169. B._PathDirection_dMN = new A._PathDirection("at root");
  126170. B._PathDirection_vgO = new A._PathDirection("above root");
  126171. B._PathRelation_different = new A._PathRelation("different");
  126172. B._PathRelation_equal = new A._PathRelation("equal");
  126173. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  126174. B._PathRelation_within = new A._PathRelation("within");
  126175. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  126176. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  126177. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  126178. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  126179. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  126180. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  126181. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  126182. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  126183. B._StringStackTrace_OdL = new A._StringStackTrace("");
  126184. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  126185. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  126186. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  126187. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  126188. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  126189. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  126190. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  126191. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  126192. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  126193. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  126194. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  126195. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  126196. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  126197. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  126198. })();
  126199. (function staticFields() {
  126200. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  126201. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  126202. $.printToZone = null;
  126203. $.Primitives__identityHashCodeProperty = null;
  126204. $.BoundClosure__receiverFieldNameCache = null;
  126205. $.BoundClosure__interceptorFieldNameCache = null;
  126206. $.getTagFunction = null;
  126207. $.alternateTagFunction = null;
  126208. $.prototypeForTagFunction = null;
  126209. $.dispatchRecordsForInstanceTags = null;
  126210. $.interceptorsForUncacheableTags = null;
  126211. $.initNativeDispatchFlag = null;
  126212. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  126213. $._nextCallback = null;
  126214. $._lastCallback = null;
  126215. $._lastPriorityCallback = null;
  126216. $._isInCallbackLoop = false;
  126217. $.Zone__current = B.C__RootZone;
  126218. $._RootZone__rootDelegate = null;
  126219. $.Uri__cachedBaseString = "";
  126220. $.Uri__cachedBaseUri = null;
  126221. $._fs = null;
  126222. $._currentUriBase = null;
  126223. $._current = null;
  126224. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126225. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126226. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126227. $._realCaseCache = function() {
  126228. var t1 = type$.String;
  126229. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126230. }();
  126231. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126232. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126233. $._glyphs = B.C_UnicodeGlyphSet;
  126234. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126235. $._realCaseCache0 = function() {
  126236. var t1 = type$.String;
  126237. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126238. }();
  126239. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126240. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126241. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126242. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126243. })();
  126244. (function lazyInitializers() {
  126245. var _lazyFinal = hunkHelpers.lazyFinal,
  126246. _lazy = hunkHelpers.lazy;
  126247. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  126248. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  126249. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  126250. toString: function() {
  126251. return "$receiver$";
  126252. }
  126253. })));
  126254. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  126255. toString: function() {
  126256. return "$receiver$";
  126257. }
  126258. })));
  126259. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  126260. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126261. var $argumentsExpr$ = "$arguments$";
  126262. try {
  126263. null.$method$($argumentsExpr$);
  126264. } catch (e) {
  126265. return e.message;
  126266. }
  126267. }()));
  126268. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  126269. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126270. var $argumentsExpr$ = "$arguments$";
  126271. try {
  126272. (void 0).$method$($argumentsExpr$);
  126273. } catch (e) {
  126274. return e.message;
  126275. }
  126276. }()));
  126277. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  126278. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126279. try {
  126280. null.$method$;
  126281. } catch (e) {
  126282. return e.message;
  126283. }
  126284. }()));
  126285. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  126286. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126287. try {
  126288. (void 0).$method$;
  126289. } catch (e) {
  126290. return e.message;
  126291. }
  126292. }()));
  126293. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  126294. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  126295. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  126296. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  126297. var t1 = type$.dynamic;
  126298. return A.HashMap_HashMap(t1, t1);
  126299. });
  126300. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  126301. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  126302. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  126303. _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))));
  126304. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  126305. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  126306. return t1;
  126307. });
  126308. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  126309. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  126310. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  126311. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  126312. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  126313. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  126314. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  126315. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  126316. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  126317. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  126318. _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)));
  126319. _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)));
  126320. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  126321. _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));
  126322. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  126323. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  126324. _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));
  126325. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  126326. var $name,
  126327. t1 = type$.SassColor,
  126328. t2 = type$.String,
  126329. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126330. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126331. t2 = t1.get$current(t1);
  126332. $name = t2._0;
  126333. t3.$indexSet(0, t2._1, $name);
  126334. }
  126335. return t3;
  126336. });
  126337. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  126338. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  126339. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  126340. var t1 = type$.BuiltInCallable,
  126341. t2 = A.List_List$of($.$get$global(), true, t1);
  126342. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  126343. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  126344. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  126345. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  126346. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  126347. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  126348. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  126349. return A.UnmodifiableListView$(t2, t1);
  126350. });
  126351. _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));
  126352. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126353. _lazyFinal($, "global", "$get$global", () => {
  126354. var _s5_ = "color",
  126355. _s27_ = "$red, $green, $blue, $alpha",
  126356. _s19_ = "$red, $green, $blue",
  126357. _s9_ = "$channels",
  126358. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126359. _s29_ = "$hue, $saturation, $lightness",
  126360. _s17_ = "$hue, $saturation",
  126361. _s6_ = "adjust",
  126362. _s15_ = "$color, $amount",
  126363. t1 = type$.String,
  126364. t2 = type$.Value_Function_List_Value;
  126365. 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);
  126366. });
  126367. _lazyFinal($, "module", "$get$module", () => {
  126368. var _null = null,
  126369. _s10_ = "saturation",
  126370. _s9_ = "lightness",
  126371. _s6_ = "$color", _s5_ = "alpha",
  126372. _s30_ = "$color, $channel, $space: null",
  126373. t1 = type$.String,
  126374. t2 = type$.Value_Function_List_Value;
  126375. 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);
  126376. });
  126377. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  126378. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  126379. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  126380. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  126381. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  126382. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  126383. _lazyFinal($, "global0", "$get$global0", () => {
  126384. var _s4_ = "list";
  126385. 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);
  126386. });
  126387. _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));
  126388. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  126389. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  126390. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  126391. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  126392. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  126393. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  126394. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  126395. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  126396. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  126397. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  126398. _lazyFinal($, "global1", "$get$global1", () => {
  126399. var _s3_ = "map";
  126400. 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);
  126401. });
  126402. _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));
  126403. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  126404. _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)));
  126405. _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)));
  126406. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  126407. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  126408. _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)));
  126409. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  126410. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  126411. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  126412. _lazyFinal($, "global2", "$get$global2", () => {
  126413. var _s4_ = "math";
  126414. 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);
  126415. });
  126416. _lazyFinal($, "module2", "$get$module2", () => {
  126417. var _null = null;
  126418. 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);
  126419. });
  126420. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  126421. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  126422. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  126423. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  126424. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  126425. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  126426. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  126427. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  126428. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  126429. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  126430. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  126431. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  126432. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  126433. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  126434. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  126435. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  126436. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  126437. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  126438. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  126439. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  126440. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  126441. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  126442. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  126443. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  126444. _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));
  126445. _lazyFinal($, "global3", "$get$global5", () => {
  126446. var t2,
  126447. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  126448. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126449. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126450. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  126451. });
  126452. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  126453. var t1 = type$.BuiltInCallable,
  126454. t2 = A.List_List$of($.$get$_shared(), true, t1);
  126455. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  126456. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  126457. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  126458. return A.UnmodifiableListView$(t2, t1);
  126459. });
  126460. _lazyFinal($, "global4", "$get$global3", () => {
  126461. var _s8_ = "selector";
  126462. 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);
  126463. });
  126464. _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));
  126465. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  126466. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  126467. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  126468. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  126469. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  126470. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  126471. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  126472. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  126473. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  126474. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  126475. _lazyFinal($, "global5", "$get$global4", () => {
  126476. var _s6_ = "string";
  126477. 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);
  126478. });
  126479. _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));
  126480. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  126481. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  126482. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  126483. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  126484. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  126485. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  126486. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  126487. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  126488. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  126489. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  126490. var _null = null;
  126491. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126492. });
  126493. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  126494. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  126495. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  126496. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  126497. var t1 = $.$get$globalFunctions();
  126498. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  126499. t1.add$1(0, "if");
  126500. t1.remove$1(0, "abs");
  126501. t1.remove$1(0, "alpha");
  126502. t1.remove$1(0, "color");
  126503. t1.remove$1(0, "grayscale");
  126504. t1.remove$1(0, "hsl");
  126505. t1.remove$1(0, "hsla");
  126506. t1.remove$1(0, "hwb");
  126507. t1.remove$1(0, "invert");
  126508. t1.remove$1(0, "lab");
  126509. t1.remove$1(0, "lch");
  126510. t1.remove$1(0, "max");
  126511. t1.remove$1(0, "min");
  126512. t1.remove$1(0, "oklab");
  126513. t1.remove$1(0, "oklch");
  126514. t1.remove$1(0, "opacity");
  126515. t1.remove$1(0, "rgb");
  126516. t1.remove$1(0, "rgba");
  126517. t1.remove$1(0, "round");
  126518. t1.remove$1(0, "saturate");
  126519. return t1;
  126520. });
  126521. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  126522. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  126523. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126524. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  126525. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  126526. _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)));
  126527. _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)));
  126528. _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)));
  126529. _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)));
  126530. _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)));
  126531. _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)));
  126532. _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)));
  126533. _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)));
  126534. _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)));
  126535. _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)));
  126536. _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)));
  126537. _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)));
  126538. _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)));
  126539. _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)));
  126540. _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)));
  126541. _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)));
  126542. _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)));
  126543. _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)));
  126544. _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)));
  126545. _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)));
  126546. _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)));
  126547. _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)));
  126548. _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)));
  126549. _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)));
  126550. _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)));
  126551. _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)));
  126552. _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)));
  126553. _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)));
  126554. _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)));
  126555. _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)));
  126556. _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)));
  126557. _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)));
  126558. _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)));
  126559. _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)));
  126560. _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)));
  126561. _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)));
  126562. _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)));
  126563. _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)));
  126564. _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)));
  126565. _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)));
  126566. _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)));
  126567. _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)));
  126568. _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)));
  126569. _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)));
  126570. _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)));
  126571. _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)));
  126572. _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)));
  126573. _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)));
  126574. _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)));
  126575. _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)));
  126576. _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)));
  126577. _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)));
  126578. _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)));
  126579. _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)));
  126580. _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)));
  126581. _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)));
  126582. _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)));
  126583. _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)));
  126584. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  126585. var t3, type,
  126586. t1 = type$.String,
  126587. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126588. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126589. t3 = t1.get$current(t1);
  126590. type = t3._0;
  126591. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126592. t2.$indexSet(0, t3.get$current(t3), type);
  126593. }
  126594. return t2;
  126595. });
  126596. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  126597. var _i, set, t2,
  126598. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  126599. for (_i = 0; _i < 5; ++_i) {
  126600. set = B.List_BFg[_i];
  126601. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  126602. t1.$indexSet(0, t2.get$current(0), set);
  126603. }
  126604. return t1;
  126605. });
  126606. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  126607. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  126608. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  126609. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  126610. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  126611. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  126612. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  126613. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  126614. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  126615. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  126616. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  126617. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  126618. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  126619. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  126620. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  126621. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  126622. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  126623. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  126624. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  126625. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  126626. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  126627. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  126628. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  126629. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  126630. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  126631. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  126632. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  126633. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  126634. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  126635. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  126636. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  126637. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  126638. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126639. _lazyFinal($, "global6", "$get$global6", () => {
  126640. var _s5_ = "color",
  126641. _s27_ = "$red, $green, $blue, $alpha",
  126642. _s19_ = "$red, $green, $blue",
  126643. _s9_ = "$channels",
  126644. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126645. _s29_ = "$hue, $saturation, $lightness",
  126646. _s17_ = "$hue, $saturation",
  126647. _s6_ = "adjust",
  126648. _s15_ = "$color, $amount",
  126649. t1 = type$.String,
  126650. t2 = type$.Value_Function_List_Value_2;
  126651. 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);
  126652. });
  126653. _lazyFinal($, "module5", "$get$module5", () => {
  126654. var _null = null,
  126655. _s10_ = "saturation",
  126656. _s9_ = "lightness",
  126657. _s6_ = "$color", _s5_ = "alpha",
  126658. _s30_ = "$color, $channel, $space: null",
  126659. t1 = type$.String,
  126660. t2 = type$.Value_Function_List_Value_2;
  126661. 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);
  126662. });
  126663. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  126664. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  126665. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  126666. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  126667. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  126668. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  126669. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  126670. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  126671. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  126672. 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));
  126673. return t1;
  126674. });
  126675. _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));
  126676. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  126677. var $name,
  126678. t1 = type$.SassColor_2,
  126679. t2 = type$.String,
  126680. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126681. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126682. t2 = t1.get$current(t1);
  126683. $name = t2._0;
  126684. t3.$indexSet(0, t2._1, $name);
  126685. }
  126686. return t3;
  126687. });
  126688. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  126689. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  126690. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  126691. _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)));
  126692. _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)));
  126693. _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)));
  126694. _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)));
  126695. _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)));
  126696. _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)));
  126697. _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)));
  126698. _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)));
  126699. _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)));
  126700. _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)));
  126701. _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)));
  126702. _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)));
  126703. _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)));
  126704. _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)));
  126705. _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)));
  126706. _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)));
  126707. _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)));
  126708. _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)));
  126709. _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)));
  126710. _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)));
  126711. _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)));
  126712. _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)));
  126713. _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)));
  126714. _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)));
  126715. _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)));
  126716. _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)));
  126717. _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)));
  126718. _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)));
  126719. _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)));
  126720. _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)));
  126721. _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)));
  126722. _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)));
  126723. _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)));
  126724. _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)));
  126725. _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)));
  126726. _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)));
  126727. _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)));
  126728. _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)));
  126729. _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)));
  126730. _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)));
  126731. _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)));
  126732. _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)));
  126733. _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)));
  126734. _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)));
  126735. _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)));
  126736. _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)));
  126737. _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)));
  126738. _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)));
  126739. _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)));
  126740. _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)));
  126741. _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)));
  126742. _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)));
  126743. _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)));
  126744. _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)));
  126745. _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)));
  126746. _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)));
  126747. _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)));
  126748. _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)));
  126749. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  126750. var t1 = $.$get$globalFunctions0();
  126751. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  126752. t1.add$1(0, "if");
  126753. t1.remove$1(0, "abs");
  126754. t1.remove$1(0, "alpha");
  126755. t1.remove$1(0, "color");
  126756. t1.remove$1(0, "grayscale");
  126757. t1.remove$1(0, "hsl");
  126758. t1.remove$1(0, "hsla");
  126759. t1.remove$1(0, "hwb");
  126760. t1.remove$1(0, "invert");
  126761. t1.remove$1(0, "lab");
  126762. t1.remove$1(0, "lch");
  126763. t1.remove$1(0, "max");
  126764. t1.remove$1(0, "min");
  126765. t1.remove$1(0, "oklab");
  126766. t1.remove$1(0, "oklch");
  126767. t1.remove$1(0, "opacity");
  126768. t1.remove$1(0, "rgb");
  126769. t1.remove$1(0, "rgba");
  126770. t1.remove$1(0, "round");
  126771. t1.remove$1(0, "saturate");
  126772. return t1;
  126773. });
  126774. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  126775. var _i, deprecation, t2,
  126776. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  126777. for (_i = 0; _i < 24; ++_i) {
  126778. deprecation = B.List_SJo[_i];
  126779. if (deprecation !== B.Deprecation_f5Y) {
  126780. t2 = deprecation.id;
  126781. 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)});
  126782. }
  126783. }
  126784. return t1;
  126785. });
  126786. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  126787. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  126788. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  126789. var _null = null;
  126790. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126791. });
  126792. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  126793. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  126794. var t1 = type$.BuiltInCallable_2,
  126795. t2 = A.List_List$of($.$get$global6(), true, t1);
  126796. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  126797. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  126798. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  126799. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  126800. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  126801. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  126802. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  126803. return A.UnmodifiableListView$(t2, t1);
  126804. });
  126805. _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));
  126806. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  126807. _lazyFinal($, "global7", "$get$global7", () => {
  126808. var _s4_ = "list";
  126809. 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);
  126810. });
  126811. _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));
  126812. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  126813. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  126814. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  126815. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  126816. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  126817. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  126818. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  126819. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  126820. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  126821. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  126822. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  126823. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  126824. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  126825. 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));
  126826. return t1;
  126827. });
  126828. _lazyFinal($, "global8", "$get$global8", () => {
  126829. var _s3_ = "map";
  126830. 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);
  126831. });
  126832. _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));
  126833. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  126834. _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)));
  126835. _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)));
  126836. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  126837. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  126838. _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)));
  126839. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  126840. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  126841. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  126842. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  126843. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  126844. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  126845. 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));
  126846. return t1;
  126847. });
  126848. _lazyFinal($, "global9", "$get$global9", () => {
  126849. var _s4_ = "math";
  126850. 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);
  126851. });
  126852. _lazyFinal($, "module8", "$get$module8", () => {
  126853. var _null = null;
  126854. 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);
  126855. });
  126856. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  126857. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  126858. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  126859. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  126860. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  126861. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  126862. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  126863. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  126864. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  126865. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  126866. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  126867. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  126868. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  126869. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  126870. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  126871. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  126872. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  126873. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  126874. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  126875. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  126876. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  126877. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  126878. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  126879. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  126880. _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));
  126881. _lazyFinal($, "global10", "$get$global12", () => {
  126882. var t2,
  126883. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  126884. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126885. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126886. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  126887. });
  126888. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  126889. var t1 = type$.BuiltInCallable_2,
  126890. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  126891. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  126892. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  126893. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  126894. return A.UnmodifiableListView$(t2, t1);
  126895. });
  126896. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  126897. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  126898. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  126899. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  126900. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  126901. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  126902. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  126903. 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));
  126904. return t1;
  126905. });
  126906. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  126907. var t3, type,
  126908. t1 = type$.String,
  126909. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126910. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126911. t3 = t1.get$current(t1);
  126912. type = t3._0;
  126913. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126914. t2.$indexSet(0, t3.get$current(t3), type);
  126915. }
  126916. return t2;
  126917. });
  126918. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty28, B.List_empty29, $.$get$bogusSpan0()));
  126919. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  126920. _lazyFinal($, "global11", "$get$global10", () => {
  126921. var _s8_ = "selector";
  126922. 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);
  126923. });
  126924. _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));
  126925. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  126926. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  126927. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  126928. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  126929. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  126930. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  126931. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  126932. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  126933. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  126934. var _i, set, t2,
  126935. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  126936. for (_i = 0; _i < 5; ++_i) {
  126937. set = B.List_BFg[_i];
  126938. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  126939. t1.$indexSet(0, t2.get$current(0), set);
  126940. }
  126941. return t1;
  126942. });
  126943. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126944. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  126945. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  126946. _lazyFinal($, "global12", "$get$global11", () => {
  126947. var _s6_ = "string";
  126948. 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);
  126949. });
  126950. _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));
  126951. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  126952. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  126953. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  126954. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  126955. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  126956. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  126957. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  126958. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  126959. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  126960. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  126961. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  126962. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  126963. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  126964. return t1;
  126965. });
  126966. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  126967. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  126968. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  126969. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  126970. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  126971. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  126972. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  126973. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  126974. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  126975. })();
  126976. (function nativeSupport() {
  126977. !function() {
  126978. var intern = function(s) {
  126979. var o = {};
  126980. o[s] = 1;
  126981. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  126982. };
  126983. init.getIsolateTag = function(name) {
  126984. return intern("___dart_" + name + init.isolateTag);
  126985. };
  126986. var tableProperty = "___dart_isolate_tags_";
  126987. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  126988. var rootProperty = "_ZxYxX";
  126989. for (var i = 0;; i++) {
  126990. var property = intern(rootProperty + "_" + i + "_");
  126991. if (!(property in usedProperties)) {
  126992. usedProperties[property] = 1;
  126993. init.isolateTag = property;
  126994. break;
  126995. }
  126996. }
  126997. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  126998. }();
  126999. 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});
  127000. 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});
  127001. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  127002. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127003. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127004. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  127005. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127006. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127007. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  127008. })();
  127009. Function.prototype.call$0 = function() {
  127010. return this();
  127011. };
  127012. Function.prototype.call$1 = function(a) {
  127013. return this(a);
  127014. };
  127015. Function.prototype.call$2 = function(a, b) {
  127016. return this(a, b);
  127017. };
  127018. Function.prototype.call$3$1 = function(a) {
  127019. return this(a);
  127020. };
  127021. Function.prototype.call$2$1 = function(a) {
  127022. return this(a);
  127023. };
  127024. Function.prototype.call$1$1 = function(a) {
  127025. return this(a);
  127026. };
  127027. Function.prototype.call$3 = function(a, b, c) {
  127028. return this(a, b, c);
  127029. };
  127030. Function.prototype.call$4 = function(a, b, c, d) {
  127031. return this(a, b, c, d);
  127032. };
  127033. Function.prototype.call$3$3 = function(a, b, c) {
  127034. return this(a, b, c);
  127035. };
  127036. Function.prototype.call$2$2 = function(a, b) {
  127037. return this(a, b);
  127038. };
  127039. Function.prototype.call$5 = function(a, b, c, d, e) {
  127040. return this(a, b, c, d, e);
  127041. };
  127042. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  127043. return this(a, b, c, d, e, f);
  127044. };
  127045. Function.prototype.call$2$0 = function() {
  127046. return this();
  127047. };
  127048. Function.prototype.call$1$0 = function() {
  127049. return this();
  127050. };
  127051. Function.prototype.call$1$2 = function(a, b) {
  127052. return this(a, b);
  127053. };
  127054. Function.prototype.call$2$3 = function(a, b, c) {
  127055. return this(a, b, c);
  127056. };
  127057. convertAllToFastObject(holders);
  127058. convertToFastObject($);
  127059. (function(callback) {
  127060. if (typeof document === "undefined") {
  127061. callback(null);
  127062. return;
  127063. }
  127064. if (typeof document.currentScript != "undefined") {
  127065. callback(document.currentScript);
  127066. return;
  127067. }
  127068. var scripts = document.scripts;
  127069. function onLoad(event) {
  127070. for (var i = 0; i < scripts.length; ++i) {
  127071. scripts[i].removeEventListener("load", onLoad, false);
  127072. }
  127073. callback(event.target);
  127074. }
  127075. for (var i = 0; i < scripts.length; ++i) {
  127076. scripts[i].addEventListener("load", onLoad, false);
  127077. }
  127078. })(function(currentScript) {
  127079. init.currentScript = currentScript;
  127080. var callMain = A.main2;
  127081. if (typeof dartMainRunner === "function") {
  127082. dartMainRunner(callMain, []);
  127083. } else {
  127084. callMain([]);
  127085. }
  127086. });
  127087. })();
  127088. }