123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870 |
- (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],[
- /* 0 */,
- /* 1 */
- /*!************************************************************!*\
- !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /* WEBPACK VAR INJECTION */(function(global) {Object.defineProperty(exports, "__esModule", { value: true });exports.createApp = createApp;exports.createComponent = createComponent;exports.createPage = createPage;exports.createPlugin = createPlugin;exports.createSubpackageApp = createSubpackageApp;exports.default = void 0;var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 3);
- var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toConsumableArray(arr) {return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();}function _nonIterableSpread() {throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _iterableToArray(iter) {if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);}function _arrayWithoutHoles(arr) {if (Array.isArray(arr)) return _arrayLikeToArray(arr);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}
- var realAtob;
- var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
- var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
- if (typeof atob !== 'function') {
- realAtob = function realAtob(str) {
- str = String(str).replace(/[\t\n\f\r ]+/g, '');
- if (!b64re.test(str)) {throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");}
- // Adding the padding if missing, for semplicity
- str += '=='.slice(2 - (str.length & 3));
- var bitmap;var result = '';var r1;var r2;var i = 0;
- for (; i < str.length;) {
- bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 |
- (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
- result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) :
- r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) :
- String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
- }
- return result;
- };
- } else {
- // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
- realAtob = atob;
- }
- function b64DecodeUnicode(str) {
- return decodeURIComponent(realAtob(str).split('').map(function (c) {
- return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
- }).join(''));
- }
- function getCurrentUserInfo() {
- var token = wx.getStorageSync('uni_id_token') || '';
- var tokenArr = token.split('.');
- if (!token || tokenArr.length !== 3) {
- return {
- uid: null,
- role: [],
- permission: [],
- tokenExpired: 0 };
- }
- var userInfo;
- try {
- userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
- } catch (error) {
- throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
- }
- userInfo.tokenExpired = userInfo.exp * 1000;
- delete userInfo.exp;
- delete userInfo.iat;
- return userInfo;
- }
- function uniIdMixin(Vue) {
- Vue.prototype.uniIDHasRole = function (roleId) {var _getCurrentUserInfo =
- getCurrentUserInfo(),role = _getCurrentUserInfo.role;
- return role.indexOf(roleId) > -1;
- };
- Vue.prototype.uniIDHasPermission = function (permissionId) {var _getCurrentUserInfo2 =
- getCurrentUserInfo(),permission = _getCurrentUserInfo2.permission;
- return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
- };
- Vue.prototype.uniIDTokenValid = function () {var _getCurrentUserInfo3 =
- getCurrentUserInfo(),tokenExpired = _getCurrentUserInfo3.tokenExpired;
- return tokenExpired > Date.now();
- };
- }
- var _toString = Object.prototype.toString;
- var hasOwnProperty = Object.prototype.hasOwnProperty;
- function isFn(fn) {
- return typeof fn === 'function';
- }
- function isStr(str) {
- return typeof str === 'string';
- }
- function isPlainObject(obj) {
- return _toString.call(obj) === '[object Object]';
- }
- function hasOwn(obj, key) {
- return hasOwnProperty.call(obj, key);
- }
- function noop() {}
- /**
- * Create a cached version of a pure function.
- */
- function cached(fn) {
- var cache = Object.create(null);
- return function cachedFn(str) {
- var hit = cache[str];
- return hit || (cache[str] = fn(str));
- };
- }
- /**
- * Camelize a hyphen-delimited string.
- */
- var camelizeRE = /-(\w)/g;
- var camelize = cached(function (str) {
- return str.replace(camelizeRE, function (_, c) {return c ? c.toUpperCase() : '';});
- });
- function sortObject(obj) {
- var sortObj = {};
- if (isPlainObject(obj)) {
- Object.keys(obj).sort().forEach(function (key) {
- sortObj[key] = obj[key];
- });
- }
- return !Object.keys(sortObj) ? obj : sortObj;
- }
- var HOOKS = [
- 'invoke',
- 'success',
- 'fail',
- 'complete',
- 'returnValue'];
- var globalInterceptors = {};
- var scopedInterceptors = {};
- function mergeHook(parentVal, childVal) {
- var res = childVal ?
- parentVal ?
- parentVal.concat(childVal) :
- Array.isArray(childVal) ?
- childVal : [childVal] :
- parentVal;
- return res ?
- dedupeHooks(res) :
- res;
- }
- function dedupeHooks(hooks) {
- var res = [];
- for (var i = 0; i < hooks.length; i++) {
- if (res.indexOf(hooks[i]) === -1) {
- res.push(hooks[i]);
- }
- }
- return res;
- }
- function removeHook(hooks, hook) {
- var index = hooks.indexOf(hook);
- if (index !== -1) {
- hooks.splice(index, 1);
- }
- }
- function mergeInterceptorHook(interceptor, option) {
- Object.keys(option).forEach(function (hook) {
- if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
- interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
- }
- });
- }
- function removeInterceptorHook(interceptor, option) {
- if (!interceptor || !option) {
- return;
- }
- Object.keys(option).forEach(function (hook) {
- if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
- removeHook(interceptor[hook], option[hook]);
- }
- });
- }
- function addInterceptor(method, option) {
- if (typeof method === 'string' && isPlainObject(option)) {
- mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
- } else if (isPlainObject(method)) {
- mergeInterceptorHook(globalInterceptors, method);
- }
- }
- function removeInterceptor(method, option) {
- if (typeof method === 'string') {
- if (isPlainObject(option)) {
- removeInterceptorHook(scopedInterceptors[method], option);
- } else {
- delete scopedInterceptors[method];
- }
- } else if (isPlainObject(method)) {
- removeInterceptorHook(globalInterceptors, method);
- }
- }
- function wrapperHook(hook) {
- return function (data) {
- return hook(data) || data;
- };
- }
- function isPromise(obj) {
- return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
- }
- function queue(hooks, data) {
- var promise = false;
- for (var i = 0; i < hooks.length; i++) {
- var hook = hooks[i];
- if (promise) {
- promise = Promise.resolve(wrapperHook(hook));
- } else {
- var res = hook(data);
- if (isPromise(res)) {
- promise = Promise.resolve(res);
- }
- if (res === false) {
- return {
- then: function then() {} };
- }
- }
- }
- return promise || {
- then: function then(callback) {
- return callback(data);
- } };
- }
- function wrapperOptions(interceptor) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- ['success', 'fail', 'complete'].forEach(function (name) {
- if (Array.isArray(interceptor[name])) {
- var oldCallback = options[name];
- options[name] = function callbackInterceptor(res) {
- queue(interceptor[name], res).then(function (res) {
- /* eslint-disable no-mixed-operators */
- return isFn(oldCallback) && oldCallback(res) || res;
- });
- };
- }
- });
- return options;
- }
- function wrapperReturnValue(method, returnValue) {
- var returnValueHooks = [];
- if (Array.isArray(globalInterceptors.returnValue)) {
- returnValueHooks.push.apply(returnValueHooks, _toConsumableArray(globalInterceptors.returnValue));
- }
- var interceptor = scopedInterceptors[method];
- if (interceptor && Array.isArray(interceptor.returnValue)) {
- returnValueHooks.push.apply(returnValueHooks, _toConsumableArray(interceptor.returnValue));
- }
- returnValueHooks.forEach(function (hook) {
- returnValue = hook(returnValue) || returnValue;
- });
- return returnValue;
- }
- function getApiInterceptorHooks(method) {
- var interceptor = Object.create(null);
- Object.keys(globalInterceptors).forEach(function (hook) {
- if (hook !== 'returnValue') {
- interceptor[hook] = globalInterceptors[hook].slice();
- }
- });
- var scopedInterceptor = scopedInterceptors[method];
- if (scopedInterceptor) {
- Object.keys(scopedInterceptor).forEach(function (hook) {
- if (hook !== 'returnValue') {
- interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
- }
- });
- }
- return interceptor;
- }
- function invokeApi(method, api, options) {for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {params[_key - 3] = arguments[_key];}
- var interceptor = getApiInterceptorHooks(method);
- if (interceptor && Object.keys(interceptor).length) {
- if (Array.isArray(interceptor.invoke)) {
- var res = queue(interceptor.invoke, options);
- return res.then(function (options) {
- return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
- });
- } else {
- return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
- }
- }
- return api.apply(void 0, [options].concat(params));
- }
- var promiseInterceptor = {
- returnValue: function returnValue(res) {
- if (!isPromise(res)) {
- return res;
- }
- return new Promise(function (resolve, reject) {
- res.then(function (res) {
- if (res[0]) {
- reject(res[0]);
- } else {
- resolve(res[1]);
- }
- });
- });
- } };
- var SYNC_API_RE =
- /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting/;
- var CONTEXT_API_RE = /^create|Manager$/;
- // Context例外情况
- var CONTEXT_API_RE_EXC = ['createBLEConnection'];
- // 同步例外情况
- var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
- var CALLBACK_API_RE = /^on|^off/;
- function isContextApi(name) {
- return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
- }
- function isSyncApi(name) {
- return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
- }
- function isCallbackApi(name) {
- return CALLBACK_API_RE.test(name) && name !== 'onPush';
- }
- function handlePromise(promise) {
- return promise.then(function (data) {
- return [null, data];
- }).
- catch(function (err) {return [err];});
- }
- function shouldPromise(name) {
- if (
- isContextApi(name) ||
- isSyncApi(name) ||
- isCallbackApi(name))
- {
- return false;
- }
- return true;
- }
- /* eslint-disable no-extend-native */
- if (!Promise.prototype.finally) {
- Promise.prototype.finally = function (callback) {
- var promise = this.constructor;
- return this.then(
- function (value) {return promise.resolve(callback()).then(function () {return value;});},
- function (reason) {return promise.resolve(callback()).then(function () {
- throw reason;
- });});
- };
- }
- function promisify(name, api) {
- if (!shouldPromise(name)) {
- return api;
- }
- return function promiseApi() {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {params[_key2 - 1] = arguments[_key2];}
- if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
- return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
- }
- return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
- invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
- success: resolve,
- fail: reject })].concat(
- params));
- })));
- };
- }
- var EPS = 1e-4;
- var BASE_DEVICE_WIDTH = 750;
- var isIOS = false;
- var deviceWidth = 0;
- var deviceDPR = 0;
- function checkDeviceWidth() {var _wx$getSystemInfoSync =
- wx.getSystemInfoSync(),platform = _wx$getSystemInfoSync.platform,pixelRatio = _wx$getSystemInfoSync.pixelRatio,windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
- deviceWidth = windowWidth;
- deviceDPR = pixelRatio;
- isIOS = platform === 'ios';
- }
- function upx2px(number, newDeviceWidth) {
- if (deviceWidth === 0) {
- checkDeviceWidth();
- }
- number = Number(number);
- if (number === 0) {
- return 0;
- }
- var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
- if (result < 0) {
- result = -result;
- }
- result = Math.floor(result + EPS);
- if (result === 0) {
- if (deviceDPR === 1 || !isIOS) {
- result = 1;
- } else {
- result = 0.5;
- }
- }
- return number < 0 ? -result : result;
- }
- var LOCALE_ZH_HANS = 'zh-Hans';
- var LOCALE_ZH_HANT = 'zh-Hant';
- var LOCALE_EN = 'en';
- var LOCALE_FR = 'fr';
- var LOCALE_ES = 'es';
- var messages = {};
- var locale;
- {
- locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
- }
- function initI18nMessages() {
- if (!isEnableLocale()) {
- return;
- }
- var localeKeys = Object.keys(__uniConfig.locales);
- if (localeKeys.length) {
- localeKeys.forEach(function (locale) {
- var curMessages = messages[locale];
- var userMessages = __uniConfig.locales[locale];
- if (curMessages) {
- Object.assign(curMessages, userMessages);
- } else {
- messages[locale] = userMessages;
- }
- });
- }
- }
- initI18nMessages();
- var i18n = (0, _uniI18n.initVueI18n)(
- locale,
- {});
- var t = i18n.t;
- var i18nMixin = i18n.mixin = {
- beforeCreate: function beforeCreate() {var _this = this;
- var unwatch = i18n.i18n.watchLocale(function () {
- _this.$forceUpdate();
- });
- this.$once('hook:beforeDestroy', function () {
- unwatch();
- });
- },
- methods: {
- $$t: function $$t(key, values) {
- return t(key, values);
- } } };
- var setLocale = i18n.setLocale;
- var getLocale = i18n.getLocale;
- function initAppLocale(Vue, appVm, locale) {
- var state = Vue.observable({
- locale: locale || i18n.getLocale() });
- var localeWatchers = [];
- appVm.$watchLocale = function (fn) {
- localeWatchers.push(fn);
- };
- Object.defineProperty(appVm, '$locale', {
- get: function get() {
- return state.locale;
- },
- set: function set(v) {
- state.locale = v;
- localeWatchers.forEach(function (watch) {return watch(v);});
- } });
- }
- function isEnableLocale() {
- return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
- }
- function include(str, parts) {
- return !!parts.find(function (part) {return str.indexOf(part) !== -1;});
- }
- function startsWith(str, parts) {
- return parts.find(function (part) {return str.indexOf(part) === 0;});
- }
- function normalizeLocale(locale, messages) {
- if (!locale) {
- return;
- }
- locale = locale.trim().replace(/_/g, '-');
- if (messages && messages[locale]) {
- return locale;
- }
- locale = locale.toLowerCase();
- if (locale === 'chinese') {
- // 支付宝
- return LOCALE_ZH_HANS;
- }
- if (locale.indexOf('zh') === 0) {
- if (locale.indexOf('-hans') > -1) {
- return LOCALE_ZH_HANS;
- }
- if (locale.indexOf('-hant') > -1) {
- return LOCALE_ZH_HANT;
- }
- if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
- return LOCALE_ZH_HANT;
- }
- return LOCALE_ZH_HANS;
- }
- var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
- if (lang) {
- return lang;
- }
- }
- // export function initI18n() {
- // const localeKeys = Object.keys(__uniConfig.locales || {})
- // if (localeKeys.length) {
- // localeKeys.forEach((locale) =>
- // i18n.add(locale, __uniConfig.locales[locale])
- // )
- // }
- // }
- function getLocale$1() {
- // 优先使用 $locale
- var app = getApp({
- allowDefault: true });
- if (app && app.$vm) {
- return app.$vm.$locale;
- }
- return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
- }
- function setLocale$1(locale) {
- var app = getApp();
- if (!app) {
- return false;
- }
- var oldLocale = app.$vm.$locale;
- if (oldLocale !== locale) {
- app.$vm.$locale = locale;
- onLocaleChangeCallbacks.forEach(function (fn) {return fn({
- locale: locale });});
- return true;
- }
- return false;
- }
- var onLocaleChangeCallbacks = [];
- function onLocaleChange(fn) {
- if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
- onLocaleChangeCallbacks.push(fn);
- }
- }
- if (typeof global !== 'undefined') {
- global.getLocale = getLocale$1;
- }
- var interceptors = {
- promiseInterceptor: promiseInterceptor };
- var baseApi = /*#__PURE__*/Object.freeze({
- __proto__: null,
- upx2px: upx2px,
- getLocale: getLocale$1,
- setLocale: setLocale$1,
- onLocaleChange: onLocaleChange,
- addInterceptor: addInterceptor,
- removeInterceptor: removeInterceptor,
- interceptors: interceptors });
- function findExistsPageIndex(url) {
- var pages = getCurrentPages();
- var len = pages.length;
- while (len--) {
- var page = pages[len];
- if (page.$page && page.$page.fullPath === url) {
- return len;
- }
- }
- return -1;
- }
- var redirectTo = {
- name: function name(fromArgs) {
- if (fromArgs.exists === 'back' && fromArgs.delta) {
- return 'navigateBack';
- }
- return 'redirectTo';
- },
- args: function args(fromArgs) {
- if (fromArgs.exists === 'back' && fromArgs.url) {
- var existsPageIndex = findExistsPageIndex(fromArgs.url);
- if (existsPageIndex !== -1) {
- var delta = getCurrentPages().length - 1 - existsPageIndex;
- if (delta > 0) {
- fromArgs.delta = delta;
- }
- }
- }
- } };
- var previewImage = {
- args: function args(fromArgs) {
- var currentIndex = parseInt(fromArgs.current);
- if (isNaN(currentIndex)) {
- return;
- }
- var urls = fromArgs.urls;
- if (!Array.isArray(urls)) {
- return;
- }
- var len = urls.length;
- if (!len) {
- return;
- }
- if (currentIndex < 0) {
- currentIndex = 0;
- } else if (currentIndex >= len) {
- currentIndex = len - 1;
- }
- if (currentIndex > 0) {
- fromArgs.current = urls[currentIndex];
- fromArgs.urls = urls.filter(
- function (item, index) {return index < currentIndex ? item !== urls[currentIndex] : true;});
- } else {
- fromArgs.current = urls[0];
- }
- return {
- indicator: false,
- loop: false };
- } };
- var UUID_KEY = '__DC_STAT_UUID';
- var deviceId;
- function useDeviceId(result) {
- deviceId = deviceId || wx.getStorageSync(UUID_KEY);
- if (!deviceId) {
- deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
- wx.setStorage({
- key: UUID_KEY,
- data: deviceId });
- }
- result.deviceId = deviceId;
- }
- function addSafeAreaInsets(result) {
- if (result.safeArea) {
- var safeArea = result.safeArea;
- result.safeAreaInsets = {
- top: safeArea.top,
- left: safeArea.left,
- right: result.windowWidth - safeArea.right,
- bottom: result.screenHeight - safeArea.bottom };
- }
- }
- function populateParameters(result) {var _result$brand =
- result.brand,brand = _result$brand === void 0 ? '' : _result$brand,_result$model = result.model,model = _result$model === void 0 ? '' : _result$model,_result$system = result.system,system = _result$system === void 0 ? '' : _result$system,_result$language = result.language,language = _result$language === void 0 ? '' : _result$language,theme = result.theme,version = result.version,platform = result.platform,fontSizeSetting = result.fontSizeSetting,SDKVersion = result.SDKVersion,pixelRatio = result.pixelRatio,deviceOrientation = result.deviceOrientation;
- // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
- // osName osVersion
- var osName = '';
- var osVersion = '';
- {
- osName = system.split(' ')[0] || '';
- osVersion = system.split(' ')[1] || '';
- }
- var hostVersion = version;
- // deviceType
- var deviceType = getGetDeviceType(result, model);
- // deviceModel
- var deviceBrand = getDeviceBrand(brand);
- // hostName
- var _hostName = getHostName(result);
- // deviceOrientation
- var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
- // devicePixelRatio
- var _devicePixelRatio = pixelRatio;
- // SDKVersion
- var _SDKVersion = SDKVersion;
- // hostLanguage
- var hostLanguage = language.replace(/_/g, '-');
- // wx.getAccountInfoSync
- var parameters = {
- appId: "",
- appName: "project1",
- appVersion: "1.0.0",
- appVersionCode: "100",
- appLanguage: getAppLanguage(hostLanguage),
- uniCompileVersion: "3.5.3",
- uniRuntimeVersion: "3.5.3",
- uniPlatform: undefined || "mp-weixin",
- deviceBrand: deviceBrand,
- deviceModel: model,
- deviceType: deviceType,
- devicePixelRatio: _devicePixelRatio,
- deviceOrientation: _deviceOrientation,
- osName: osName.toLocaleLowerCase(),
- osVersion: osVersion,
- hostTheme: theme,
- hostVersion: hostVersion,
- hostLanguage: hostLanguage,
- hostName: _hostName,
- hostSDKVersion: _SDKVersion,
- hostFontSizeSetting: fontSizeSetting,
- windowTop: 0,
- windowBottom: 0,
- // TODO
- osLanguage: undefined,
- osTheme: undefined,
- ua: undefined,
- hostPackageName: undefined,
- browserName: undefined,
- browserVersion: undefined };
- Object.assign(result, parameters);
- }
- function getGetDeviceType(result, model) {
- var deviceType = result.deviceType || 'phone';
- {
- var deviceTypeMaps = {
- ipad: 'pad',
- windows: 'pc',
- mac: 'pc' };
- var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
- var _model = model.toLocaleLowerCase();
- for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
- var _m = deviceTypeMapsKeys[index];
- if (_model.indexOf(_m) !== -1) {
- deviceType = deviceTypeMaps[_m];
- break;
- }
- }
- }
- return deviceType;
- }
- function getDeviceBrand(brand) {
- var deviceBrand = brand;
- if (deviceBrand) {
- deviceBrand = brand.toLocaleLowerCase();
- }
- return deviceBrand;
- }
- function getAppLanguage(defaultLanguage) {
- return getLocale$1 ?
- getLocale$1() :
- defaultLanguage;
- }
- function getHostName(result) {
- var _platform = 'WeChat';
- var _hostName = result.hostName || _platform; // mp-jd
- {
- if (result.environment) {
- _hostName = result.environment;
- } else if (result.host && result.host.env) {
- _hostName = result.host.env;
- }
- }
- return _hostName;
- }
- var getSystemInfo = {
- returnValue: function returnValue(result) {
- useDeviceId(result);
- addSafeAreaInsets(result);
- populateParameters(result);
- } };
- var showActionSheet = {
- args: function args(fromArgs) {
- if (typeof fromArgs === 'object') {
- fromArgs.alertText = fromArgs.title;
- }
- } };
- var getAppBaseInfo = {
- returnValue: function returnValue(result) {var _result =
- result,version = _result.version,language = _result.language,SDKVersion = _result.SDKVersion,theme = _result.theme;
- var _hostName = getHostName(result);
- var hostLanguage = language.replace('_', '-');
- result = sortObject(Object.assign(result, {
- appId: "",
- appName: "project1",
- appVersion: "1.0.0",
- appVersionCode: "100",
- appLanguage: getAppLanguage(hostLanguage),
- hostVersion: version,
- hostLanguage: hostLanguage,
- hostName: _hostName,
- hostSDKVersion: SDKVersion,
- hostTheme: theme }));
- } };
- var getDeviceInfo = {
- returnValue: function returnValue(result) {var _result2 =
- result,brand = _result2.brand,model = _result2.model;
- var deviceType = getGetDeviceType(result, model);
- var deviceBrand = getDeviceBrand(brand);
- useDeviceId(result);
- result = sortObject(Object.assign(result, {
- deviceType: deviceType,
- deviceBrand: deviceBrand,
- deviceModel: model }));
- } };
- var getWindowInfo = {
- returnValue: function returnValue(result) {
- addSafeAreaInsets(result);
- result = sortObject(Object.assign(result, {
- windowTop: 0,
- windowBottom: 0 }));
- } };
- var getAppAuthorizeSetting = {
- returnValue: function returnValue(result) {var
- locationReducedAccuracy = result.locationReducedAccuracy;
- result.locationAccuracy = 'unsupported';
- if (locationReducedAccuracy === true) {
- result.locationAccuracy = 'reduced';
- } else if (locationReducedAccuracy === false) {
- result.locationAccuracy = 'full';
- }
- } };
- // import navigateTo from 'uni-helpers/navigate-to'
- var protocols = {
- redirectTo: redirectTo,
- // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
- previewImage: previewImage,
- getSystemInfo: getSystemInfo,
- getSystemInfoSync: getSystemInfo,
- showActionSheet: showActionSheet,
- getAppBaseInfo: getAppBaseInfo,
- getDeviceInfo: getDeviceInfo,
- getWindowInfo: getWindowInfo,
- getAppAuthorizeSetting: getAppAuthorizeSetting };
- var todos = [
- 'vibrate',
- 'preloadPage',
- 'unPreloadPage',
- 'loadSubPackage'];
- var canIUses = [];
- var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
- function processCallback(methodName, method, returnValue) {
- return function (res) {
- return method(processReturnValue(methodName, res, returnValue));
- };
- }
- function processArgs(methodName, fromArgs) {var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
- if (isPlainObject(fromArgs)) {// 一般 api 的参数解析
- var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
- if (isFn(argsOption)) {
- argsOption = argsOption(fromArgs, toArgs) || {};
- }
- for (var key in fromArgs) {
- if (hasOwn(argsOption, key)) {
- var keyOption = argsOption[key];
- if (isFn(keyOption)) {
- keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
- }
- if (!keyOption) {// 不支持的参数
- console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
- } else if (isStr(keyOption)) {// 重写参数 key
- toArgs[keyOption] = fromArgs[key];
- } else if (isPlainObject(keyOption)) {// {name:newName,value:value}可重新指定参数 key:value
- toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
- }
- } else if (CALLBACKS.indexOf(key) !== -1) {
- if (isFn(fromArgs[key])) {
- toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
- }
- } else {
- if (!keepFromArgs) {
- toArgs[key] = fromArgs[key];
- }
- }
- }
- return toArgs;
- } else if (isFn(fromArgs)) {
- fromArgs = processCallback(methodName, fromArgs, returnValue);
- }
- return fromArgs;
- }
- function processReturnValue(methodName, res, returnValue) {var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
- if (isFn(protocols.returnValue)) {// 处理通用 returnValue
- res = protocols.returnValue(methodName, res);
- }
- return processArgs(methodName, res, returnValue, {}, keepReturnValue);
- }
- function wrapper(methodName, method) {
- if (hasOwn(protocols, methodName)) {
- var protocol = protocols[methodName];
- if (!protocol) {// 暂不支持的 api
- return function () {
- console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
- };
- }
- return function (arg1, arg2) {// 目前 api 最多两个参数
- var options = protocol;
- if (isFn(protocol)) {
- options = protocol(arg1);
- }
- arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
- var args = [arg1];
- if (typeof arg2 !== 'undefined') {
- args.push(arg2);
- }
- if (isFn(options.name)) {
- methodName = options.name(arg1);
- } else if (isStr(options.name)) {
- methodName = options.name;
- }
- var returnValue = wx[methodName].apply(wx, args);
- if (isSyncApi(methodName)) {// 同步 api
- return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
- }
- return returnValue;
- };
- }
- return method;
- }
- var todoApis = Object.create(null);
- var TODOS = [
- 'onTabBarMidButtonTap',
- 'subscribePush',
- 'unsubscribePush',
- 'onPush',
- 'offPush',
- 'share'];
- function createTodoApi(name) {
- return function todoApi(_ref)
- {var fail = _ref.fail,complete = _ref.complete;
- var res = {
- errMsg: "".concat(name, ":fail method '").concat(name, "' not supported") };
- isFn(fail) && fail(res);
- isFn(complete) && complete(res);
- };
- }
- TODOS.forEach(function (name) {
- todoApis[name] = createTodoApi(name);
- });
- var providers = {
- oauth: ['weixin'],
- share: ['weixin'],
- payment: ['wxpay'],
- push: ['weixin'] };
- function getProvider(_ref2)
- {var service = _ref2.service,success = _ref2.success,fail = _ref2.fail,complete = _ref2.complete;
- var res = false;
- if (providers[service]) {
- res = {
- errMsg: 'getProvider:ok',
- service: service,
- provider: providers[service] };
- isFn(success) && success(res);
- } else {
- res = {
- errMsg: 'getProvider:fail service not found' };
- isFn(fail) && fail(res);
- }
- isFn(complete) && complete(res);
- }
- var extraApi = /*#__PURE__*/Object.freeze({
- __proto__: null,
- getProvider: getProvider });
- var getEmitter = function () {
- var Emitter;
- return function getUniEmitter() {
- if (!Emitter) {
- Emitter = new _vue.default();
- }
- return Emitter;
- };
- }();
- function apply(ctx, method, args) {
- return ctx[method].apply(ctx, args);
- }
- function $on() {
- return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
- }
- function $off() {
- return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
- }
- function $once() {
- return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
- }
- function $emit() {
- return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
- }
- var eventApi = /*#__PURE__*/Object.freeze({
- __proto__: null,
- $on: $on,
- $off: $off,
- $once: $once,
- $emit: $emit });
- /**
- * 框架内 try-catch
- */
- /**
- * 开发者 try-catch
- */
- function tryCatch(fn) {
- return function () {
- try {
- return fn.apply(fn, arguments);
- } catch (e) {
- // TODO
- console.error(e);
- }
- };
- }
- function getApiCallbacks(params) {
- var apiCallbacks = {};
- for (var name in params) {
- var param = params[name];
- if (isFn(param)) {
- apiCallbacks[name] = tryCatch(param);
- delete params[name];
- }
- }
- return apiCallbacks;
- }
- var cid;
- var cidErrMsg;
- var enabled;
- function normalizePushMessage(message) {
- try {
- return JSON.parse(message);
- } catch (e) {}
- return message;
- }
- function invokePushCallback(
- args)
- {
- if (args.type === 'enabled') {
- enabled = true;
- } else if (args.type === 'clientId') {
- cid = args.cid;
- cidErrMsg = args.errMsg;
- invokeGetPushCidCallbacks(cid, args.errMsg);
- } else if (args.type === 'pushMsg') {
- var message = {
- type: 'receive',
- data: normalizePushMessage(args.message) };
- for (var i = 0; i < onPushMessageCallbacks.length; i++) {
- var callback = onPushMessageCallbacks[i];
- callback(message);
- // 该消息已被阻止
- if (message.stopped) {
- break;
- }
- }
- } else if (args.type === 'click') {
- onPushMessageCallbacks.forEach(function (callback) {
- callback({
- type: 'click',
- data: normalizePushMessage(args.message) });
- });
- }
- }
- var getPushCidCallbacks = [];
- function invokeGetPushCidCallbacks(cid, errMsg) {
- getPushCidCallbacks.forEach(function (callback) {
- callback(cid, errMsg);
- });
- getPushCidCallbacks.length = 0;
- }
- function getPushClientId(args) {
- if (!isPlainObject(args)) {
- args = {};
- }var _getApiCallbacks =
- getApiCallbacks(args),success = _getApiCallbacks.success,fail = _getApiCallbacks.fail,complete = _getApiCallbacks.complete;
- var hasSuccess = isFn(success);
- var hasFail = isFn(fail);
- var hasComplete = isFn(complete);
- Promise.resolve().then(function () {
- if (typeof enabled === 'undefined') {
- enabled = false;
- cid = '';
- cidErrMsg = 'unipush is not enabled';
- }
- getPushCidCallbacks.push(function (cid, errMsg) {
- var res;
- if (cid) {
- res = {
- errMsg: 'getPushClientId:ok',
- cid: cid };
- hasSuccess && success(res);
- } else {
- res = {
- errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
- hasFail && fail(res);
- }
- hasComplete && complete(res);
- });
- if (typeof cid !== 'undefined') {
- invokeGetPushCidCallbacks(cid, cidErrMsg);
- }
- });
- }
- var onPushMessageCallbacks = [];
- // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
- var onPushMessage = function onPushMessage(fn) {
- if (onPushMessageCallbacks.indexOf(fn) === -1) {
- onPushMessageCallbacks.push(fn);
- }
- };
- var offPushMessage = function offPushMessage(fn) {
- if (!fn) {
- onPushMessageCallbacks.length = 0;
- } else {
- var index = onPushMessageCallbacks.indexOf(fn);
- if (index > -1) {
- onPushMessageCallbacks.splice(index, 1);
- }
- }
- };
- var api = /*#__PURE__*/Object.freeze({
- __proto__: null,
- getPushClientId: getPushClientId,
- onPushMessage: onPushMessage,
- offPushMessage: offPushMessage,
- invokePushCallback: invokePushCallback });
- var MPPage = Page;
- var MPComponent = Component;
- var customizeRE = /:/g;
- var customize = cached(function (str) {
- return camelize(str.replace(customizeRE, '-'));
- });
- function initTriggerEvent(mpInstance) {
- var oldTriggerEvent = mpInstance.triggerEvent;
- var newTriggerEvent = function newTriggerEvent(event) {for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {args[_key3 - 1] = arguments[_key3];}
- return oldTriggerEvent.apply(mpInstance, [customize(event)].concat(args));
- };
- try {
- // 京东小程序 triggerEvent 为只读
- mpInstance.triggerEvent = newTriggerEvent;
- } catch (error) {
- mpInstance._triggerEvent = newTriggerEvent;
- }
- }
- function initHook(name, options, isComponent) {
- var oldHook = options[name];
- if (!oldHook) {
- options[name] = function () {
- initTriggerEvent(this);
- };
- } else {
- options[name] = function () {
- initTriggerEvent(this);for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {args[_key4] = arguments[_key4];}
- return oldHook.apply(this, args);
- };
- }
- }
- if (!MPPage.__$wrappered) {
- MPPage.__$wrappered = true;
- Page = function Page() {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- initHook('onLoad', options);
- return MPPage(options);
- };
- Page.after = MPPage.after;
- Component = function Component() {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- initHook('created', options);
- return MPComponent(options);
- };
- }
- var PAGE_EVENT_HOOKS = [
- 'onPullDownRefresh',
- 'onReachBottom',
- 'onAddToFavorites',
- 'onShareTimeline',
- 'onShareAppMessage',
- 'onPageScroll',
- 'onResize',
- 'onTabItemTap'];
- function initMocks(vm, mocks) {
- var mpInstance = vm.$mp[vm.mpType];
- mocks.forEach(function (mock) {
- if (hasOwn(mpInstance, mock)) {
- vm[mock] = mpInstance[mock];
- }
- });
- }
- function hasHook(hook, vueOptions) {
- if (!vueOptions) {
- return true;
- }
- if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
- return true;
- }
- vueOptions = vueOptions.default || vueOptions;
- if (isFn(vueOptions)) {
- if (isFn(vueOptions.extendOptions[hook])) {
- return true;
- }
- if (vueOptions.super &&
- vueOptions.super.options &&
- Array.isArray(vueOptions.super.options[hook])) {
- return true;
- }
- return false;
- }
- if (isFn(vueOptions[hook])) {
- return true;
- }
- var mixins = vueOptions.mixins;
- if (Array.isArray(mixins)) {
- return !!mixins.find(function (mixin) {return hasHook(hook, mixin);});
- }
- }
- function initHooks(mpOptions, hooks, vueOptions) {
- hooks.forEach(function (hook) {
- if (hasHook(hook, vueOptions)) {
- mpOptions[hook] = function (args) {
- return this.$vm && this.$vm.__call_hook(hook, args);
- };
- }
- });
- }
- function initVueComponent(Vue, vueOptions) {
- vueOptions = vueOptions.default || vueOptions;
- var VueComponent;
- if (isFn(vueOptions)) {
- VueComponent = vueOptions;
- } else {
- VueComponent = Vue.extend(vueOptions);
- }
- vueOptions = VueComponent.options;
- return [VueComponent, vueOptions];
- }
- function initSlots(vm, vueSlots) {
- if (Array.isArray(vueSlots) && vueSlots.length) {
- var $slots = Object.create(null);
- vueSlots.forEach(function (slotName) {
- $slots[slotName] = true;
- });
- vm.$scopedSlots = vm.$slots = $slots;
- }
- }
- function initVueIds(vueIds, mpInstance) {
- vueIds = (vueIds || '').split(',');
- var len = vueIds.length;
- if (len === 1) {
- mpInstance._$vueId = vueIds[0];
- } else if (len === 2) {
- mpInstance._$vueId = vueIds[0];
- mpInstance._$vuePid = vueIds[1];
- }
- }
- function initData(vueOptions, context) {
- var data = vueOptions.data || {};
- var methods = vueOptions.methods || {};
- if (typeof data === 'function') {
- try {
- data = data.call(context); // 支持 Vue.prototype 上挂的数据
- } catch (e) {
- if (Object({"VUE_APP_NAME":"project1","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
- console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
- }
- }
- } else {
- try {
- // 对 data 格式化
- data = JSON.parse(JSON.stringify(data));
- } catch (e) {}
- }
- if (!isPlainObject(data)) {
- data = {};
- }
- Object.keys(methods).forEach(function (methodName) {
- if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
- data[methodName] = methods[methodName];
- }
- });
- return data;
- }
- var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
- function createObserver(name) {
- return function observer(newVal, oldVal) {
- if (this.$vm) {
- this.$vm[name] = newVal; // 为了触发其他非 render watcher
- }
- };
- }
- function initBehaviors(vueOptions, initBehavior) {
- var vueBehaviors = vueOptions.behaviors;
- var vueExtends = vueOptions.extends;
- var vueMixins = vueOptions.mixins;
- var vueProps = vueOptions.props;
- if (!vueProps) {
- vueOptions.props = vueProps = [];
- }
- var behaviors = [];
- if (Array.isArray(vueBehaviors)) {
- vueBehaviors.forEach(function (behavior) {
- behaviors.push(behavior.replace('uni://', "wx".concat("://")));
- if (behavior === 'uni://form-field') {
- if (Array.isArray(vueProps)) {
- vueProps.push('name');
- vueProps.push('value');
- } else {
- vueProps.name = {
- type: String,
- default: '' };
- vueProps.value = {
- type: [String, Number, Boolean, Array, Object, Date],
- default: '' };
- }
- }
- });
- }
- if (isPlainObject(vueExtends) && vueExtends.props) {
- behaviors.push(
- initBehavior({
- properties: initProperties(vueExtends.props, true) }));
- }
- if (Array.isArray(vueMixins)) {
- vueMixins.forEach(function (vueMixin) {
- if (isPlainObject(vueMixin) && vueMixin.props) {
- behaviors.push(
- initBehavior({
- properties: initProperties(vueMixin.props, true) }));
- }
- });
- }
- return behaviors;
- }
- function parsePropType(key, type, defaultValue, file) {
- // [String]=>String
- if (Array.isArray(type) && type.length === 1) {
- return type[0];
- }
- return type;
- }
- function initProperties(props) {var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';var options = arguments.length > 3 ? arguments[3] : undefined;
- var properties = {};
- if (!isBehavior) {
- properties.vueId = {
- type: String,
- value: '' };
- {
- if (options.virtualHost) {
- properties.virtualHostStyle = {
- type: null,
- value: '' };
- properties.virtualHostClass = {
- type: null,
- value: '' };
- }
- }
- // scopedSlotsCompiler auto
- properties.scopedSlotsCompiler = {
- type: String,
- value: '' };
- properties.vueSlots = { // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
- type: null,
- value: [],
- observer: function observer(newVal, oldVal) {
- var $slots = Object.create(null);
- newVal.forEach(function (slotName) {
- $slots[slotName] = true;
- });
- this.setData({
- $slots: $slots });
- } };
- }
- if (Array.isArray(props)) {// ['title']
- props.forEach(function (key) {
- properties[key] = {
- type: null,
- observer: createObserver(key) };
- });
- } else if (isPlainObject(props)) {// {title:{type:String,default:''},content:String}
- Object.keys(props).forEach(function (key) {
- var opts = props[key];
- if (isPlainObject(opts)) {// title:{type:String,default:''}
- var value = opts.default;
- if (isFn(value)) {
- value = value();
- }
- opts.type = parsePropType(key, opts.type);
- properties[key] = {
- type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
- value: value,
- observer: createObserver(key) };
- } else {// content:String
- var type = parsePropType(key, opts);
- properties[key] = {
- type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
- observer: createObserver(key) };
- }
- });
- }
- return properties;
- }
- function wrapper$1(event) {
- // TODO 又得兼容 mpvue 的 mp 对象
- try {
- event.mp = JSON.parse(JSON.stringify(event));
- } catch (e) {}
- event.stopPropagation = noop;
- event.preventDefault = noop;
- event.target = event.target || {};
- if (!hasOwn(event, 'detail')) {
- event.detail = {};
- }
- if (hasOwn(event, 'markerId')) {
- event.detail = typeof event.detail === 'object' ? event.detail : {};
- event.detail.markerId = event.markerId;
- }
- if (isPlainObject(event.detail)) {
- event.target = Object.assign({}, event.target, event.detail);
- }
- return event;
- }
- function getExtraValue(vm, dataPathsArray) {
- var context = vm;
- dataPathsArray.forEach(function (dataPathArray) {
- var dataPath = dataPathArray[0];
- var value = dataPathArray[2];
- if (dataPath || typeof value !== 'undefined') {// ['','',index,'disable']
- var propPath = dataPathArray[1];
- var valuePath = dataPathArray[3];
- var vFor;
- if (Number.isInteger(dataPath)) {
- vFor = dataPath;
- } else if (!dataPath) {
- vFor = context;
- } else if (typeof dataPath === 'string' && dataPath) {
- if (dataPath.indexOf('#s#') === 0) {
- vFor = dataPath.substr(3);
- } else {
- vFor = vm.__get_value(dataPath, context);
- }
- }
- if (Number.isInteger(vFor)) {
- context = value;
- } else if (!propPath) {
- context = vFor[value];
- } else {
- if (Array.isArray(vFor)) {
- context = vFor.find(function (vForItem) {
- return vm.__get_value(propPath, vForItem) === value;
- });
- } else if (isPlainObject(vFor)) {
- context = Object.keys(vFor).find(function (vForKey) {
- return vm.__get_value(propPath, vFor[vForKey]) === value;
- });
- } else {
- console.error('v-for 暂不支持循环数据:', vFor);
- }
- }
- if (valuePath) {
- context = vm.__get_value(valuePath, context);
- }
- }
- });
- return context;
- }
- function processEventExtra(vm, extra, event) {
- var extraObj = {};
- if (Array.isArray(extra) && extra.length) {
- /**
- *[
- * ['data.items', 'data.id', item.data.id],
- * ['metas', 'id', meta.id]
- *],
- *[
- * ['data.items', 'data.id', item.data.id],
- * ['metas', 'id', meta.id]
- *],
- *'test'
- */
- extra.forEach(function (dataPath, index) {
- if (typeof dataPath === 'string') {
- if (!dataPath) {// model,prop.sync
- extraObj['$' + index] = vm;
- } else {
- if (dataPath === '$event') {// $event
- extraObj['$' + index] = event;
- } else if (dataPath === 'arguments') {
- if (event.detail && event.detail.__args__) {
- extraObj['$' + index] = event.detail.__args__;
- } else {
- extraObj['$' + index] = [event];
- }
- } else if (dataPath.indexOf('$event.') === 0) {// $event.target.value
- extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
- } else {
- extraObj['$' + index] = vm.__get_value(dataPath);
- }
- }
- } else {
- extraObj['$' + index] = getExtraValue(vm, dataPath);
- }
- });
- }
- return extraObj;
- }
- function getObjByArray(arr) {
- var obj = {};
- for (var i = 1; i < arr.length; i++) {
- var element = arr[i];
- obj[element[0]] = element[1];
- }
- return obj;
- }
- function processEventArgs(vm, event) {var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];var isCustom = arguments.length > 4 ? arguments[4] : undefined;var methodName = arguments.length > 5 ? arguments[5] : undefined;
- var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
- if (isCustom) {// 自定义事件
- isCustomMPEvent = event.currentTarget &&
- event.currentTarget.dataset &&
- event.currentTarget.dataset.comType === 'wx';
- if (!args.length) {// 无参数,直接传入 event 或 detail 数组
- if (isCustomMPEvent) {
- return [event];
- }
- return event.detail.__args__ || event.detail;
- }
- }
- var extraObj = processEventExtra(vm, extra, event);
- var ret = [];
- args.forEach(function (arg) {
- if (arg === '$event') {
- if (methodName === '__set_model' && !isCustom) {// input v-model value
- ret.push(event.target.value);
- } else {
- if (isCustom && !isCustomMPEvent) {
- ret.push(event.detail.__args__[0]);
- } else {// wxcomponent 组件或内置组件
- ret.push(event);
- }
- }
- } else {
- if (Array.isArray(arg) && arg[0] === 'o') {
- ret.push(getObjByArray(arg));
- } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
- ret.push(extraObj[arg]);
- } else {
- ret.push(arg);
- }
- }
- });
- return ret;
- }
- var ONCE = '~';
- var CUSTOM = '^';
- function isMatchEventType(eventType, optType) {
- return eventType === optType ||
- optType === 'regionchange' && (
- eventType === 'begin' ||
- eventType === 'end');
- }
- function getContextVm(vm) {
- var $parent = vm.$parent;
- // 父组件是 scoped slots 或者其他自定义组件时继续查找
- while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
- $parent = $parent.$parent;
- }
- return $parent && $parent.$parent;
- }
- function handleEvent(event) {var _this2 = this;
- event = wrapper$1(event);
- // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
- var dataset = (event.currentTarget || event.target).dataset;
- if (!dataset) {
- return console.warn('事件信息不存在');
- }
- var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
- if (!eventOpts) {
- return console.warn('事件信息不存在');
- }
- // [['handle',[1,2,a]],['handle1',[1,2,a]]]
- var eventType = event.type;
- var ret = [];
- eventOpts.forEach(function (eventOpt) {
- var type = eventOpt[0];
- var eventsArray = eventOpt[1];
- var isCustom = type.charAt(0) === CUSTOM;
- type = isCustom ? type.slice(1) : type;
- var isOnce = type.charAt(0) === ONCE;
- type = isOnce ? type.slice(1) : type;
- if (eventsArray && isMatchEventType(eventType, type)) {
- eventsArray.forEach(function (eventArray) {
- var methodName = eventArray[0];
- if (methodName) {
- var handlerCtx = _this2.$vm;
- if (handlerCtx.$options.generic) {// mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
- handlerCtx = getContextVm(handlerCtx) || handlerCtx;
- }
- if (methodName === '$emit') {
- handlerCtx.$emit.apply(handlerCtx,
- processEventArgs(
- _this2.$vm,
- event,
- eventArray[1],
- eventArray[2],
- isCustom,
- methodName));
- return;
- }
- var handler = handlerCtx[methodName];
- if (!isFn(handler)) {
- var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
- var path = _this2.route || _this2.is;
- throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
- }
- if (isOnce) {
- if (handler.once) {
- return;
- }
- handler.once = true;
- }
- var params = processEventArgs(
- _this2.$vm,
- event,
- eventArray[1],
- eventArray[2],
- isCustom,
- methodName);
- params = Array.isArray(params) ? params : [];
- // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
- if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
- // eslint-disable-next-line no-sparse-arrays
- params = params.concat([,,,,,,,,,, event]);
- }
- ret.push(handler.apply(handlerCtx, params));
- }
- });
- }
- });
- if (
- eventType === 'input' &&
- ret.length === 1 &&
- typeof ret[0] !== 'undefined')
- {
- return ret[0];
- }
- }
- var eventChannels = {};
- var eventChannelStack = [];
- function getEventChannel(id) {
- if (id) {
- var eventChannel = eventChannels[id];
- delete eventChannels[id];
- return eventChannel;
- }
- return eventChannelStack.shift();
- }
- var hooks = [
- 'onShow',
- 'onHide',
- 'onError',
- 'onPageNotFound',
- 'onThemeChange',
- 'onUnhandledRejection'];
- function initEventChannel() {
- _vue.default.prototype.getOpenerEventChannel = function () {
- // 微信小程序使用自身getOpenerEventChannel
- {
- return this.$scope.getOpenerEventChannel();
- }
- };
- var callHook = _vue.default.prototype.__call_hook;
- _vue.default.prototype.__call_hook = function (hook, args) {
- if (hook === 'onLoad' && args && args.__id__) {
- this.__eventChannel__ = getEventChannel(args.__id__);
- delete args.__id__;
- }
- return callHook.call(this, hook, args);
- };
- }
- function initScopedSlotsParams() {
- var center = {};
- var parents = {};
- _vue.default.prototype.$hasScopedSlotsParams = function (vueId) {
- var has = center[vueId];
- if (!has) {
- parents[vueId] = this;
- this.$on('hook:destroyed', function () {
- delete parents[vueId];
- });
- }
- return has;
- };
- _vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) {
- var data = center[vueId];
- if (data) {
- var object = data[name] || {};
- return key ? object[key] : object;
- } else {
- parents[vueId] = this;
- this.$on('hook:destroyed', function () {
- delete parents[vueId];
- });
- }
- };
- _vue.default.prototype.$setScopedSlotsParams = function (name, value) {
- var vueIds = this.$options.propsData.vueId;
- if (vueIds) {
- var vueId = vueIds.split(',')[0];
- var object = center[vueId] = center[vueId] || {};
- object[name] = value;
- if (parents[vueId]) {
- parents[vueId].$forceUpdate();
- }
- }
- };
- _vue.default.mixin({
- destroyed: function destroyed() {
- var propsData = this.$options.propsData;
- var vueId = propsData && propsData.vueId;
- if (vueId) {
- delete center[vueId];
- delete parents[vueId];
- }
- } });
- }
- function parseBaseApp(vm, _ref3)
- {var mocks = _ref3.mocks,initRefs = _ref3.initRefs;
- initEventChannel();
- {
- initScopedSlotsParams();
- }
- if (vm.$options.store) {
- _vue.default.prototype.$store = vm.$options.store;
- }
- uniIdMixin(_vue.default);
- _vue.default.prototype.mpHost = "mp-weixin";
- _vue.default.mixin({
- beforeCreate: function beforeCreate() {
- if (!this.$options.mpType) {
- return;
- }
- this.mpType = this.$options.mpType;
- this.$mp = _defineProperty({
- data: {} },
- this.mpType, this.$options.mpInstance);
- this.$scope = this.$options.mpInstance;
- delete this.$options.mpType;
- delete this.$options.mpInstance;
- if (this.mpType === 'page' && typeof getApp === 'function') {// hack vue-i18n
- var app = getApp();
- if (app.$vm && app.$vm.$i18n) {
- this._i18n = app.$vm.$i18n;
- }
- }
- if (this.mpType !== 'app') {
- initRefs(this);
- initMocks(this, mocks);
- }
- } });
- var appOptions = {
- onLaunch: function onLaunch(args) {
- if (this.$vm) {// 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
- return;
- }
- {
- if (wx.canIUse && !wx.canIUse('nextTick')) {// 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
- console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
- }
- }
- this.$vm = vm;
- this.$vm.$mp = {
- app: this };
- this.$vm.$scope = this;
- // vm 上也挂载 globalData
- this.$vm.globalData = this.globalData;
- this.$vm._isMounted = true;
- this.$vm.__call_hook('mounted', args);
- this.$vm.__call_hook('onLaunch', args);
- } };
- // 兼容旧版本 globalData
- appOptions.globalData = vm.$options.globalData || {};
- // 将 methods 中的方法挂在 getApp() 中
- var methods = vm.$options.methods;
- if (methods) {
- Object.keys(methods).forEach(function (name) {
- appOptions[name] = methods[name];
- });
- }
- initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
- initHooks(appOptions, hooks);
- return appOptions;
- }
- var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
- function findVmByVueId(vm, vuePid) {
- var $children = vm.$children;
- // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
- for (var i = $children.length - 1; i >= 0; i--) {
- var childVm = $children[i];
- if (childVm.$scope._$vueId === vuePid) {
- return childVm;
- }
- }
- // 反向递归查找
- var parentVm;
- for (var _i = $children.length - 1; _i >= 0; _i--) {
- parentVm = findVmByVueId($children[_i], vuePid);
- if (parentVm) {
- return parentVm;
- }
- }
- }
- function initBehavior(options) {
- return Behavior(options);
- }
- function isPage() {
- return !!this.route;
- }
- function initRelation(detail) {
- this.triggerEvent('__l', detail);
- }
- function selectAllComponents(mpInstance, selector, $refs) {
- var components = mpInstance.selectAllComponents(selector);
- components.forEach(function (component) {
- var ref = component.dataset.ref;
- $refs[ref] = component.$vm || component;
- {
- if (component.dataset.vueGeneric === 'scoped') {
- component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
- selectAllComponents(scopedComponent, selector, $refs);
- });
- }
- }
- });
- }
- function initRefs(vm) {
- var mpInstance = vm.$scope;
- Object.defineProperty(vm, '$refs', {
- get: function get() {
- var $refs = {};
- selectAllComponents(mpInstance, '.vue-ref', $refs);
- // TODO 暂不考虑 for 中的 scoped
- var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for');
- forComponents.forEach(function (component) {
- var ref = component.dataset.ref;
- if (!$refs[ref]) {
- $refs[ref] = [];
- }
- $refs[ref].push(component.$vm || component);
- });
- return $refs;
- } });
- }
- function handleLink(event) {var _ref4 =
- event.detail || event.value,vuePid = _ref4.vuePid,vueOptions = _ref4.vueOptions; // detail 是微信,value 是百度(dipatch)
- var parentVm;
- if (vuePid) {
- parentVm = findVmByVueId(this.$vm, vuePid);
- }
- if (!parentVm) {
- parentVm = this.$vm;
- }
- vueOptions.parent = parentVm;
- }
- function parseApp(vm) {
- return parseBaseApp(vm, {
- mocks: mocks,
- initRefs: initRefs });
- }
- function createApp(vm) {
- App(parseApp(vm));
- return vm;
- }
- var encodeReserveRE = /[!'()*]/g;
- var encodeReserveReplacer = function encodeReserveReplacer(c) {return '%' + c.charCodeAt(0).toString(16);};
- var commaRE = /%2C/g;
- // fixed encodeURIComponent which is more conformant to RFC3986:
- // - escapes [!'()*]
- // - preserve commas
- var encode = function encode(str) {return encodeURIComponent(str).
- replace(encodeReserveRE, encodeReserveReplacer).
- replace(commaRE, ',');};
- function stringifyQuery(obj) {var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
- var res = obj ? Object.keys(obj).map(function (key) {
- var val = obj[key];
- if (val === undefined) {
- return '';
- }
- if (val === null) {
- return encodeStr(key);
- }
- if (Array.isArray(val)) {
- var result = [];
- val.forEach(function (val2) {
- if (val2 === undefined) {
- return;
- }
- if (val2 === null) {
- result.push(encodeStr(key));
- } else {
- result.push(encodeStr(key) + '=' + encodeStr(val2));
- }
- });
- return result.join('&');
- }
- return encodeStr(key) + '=' + encodeStr(val);
- }).filter(function (x) {return x.length > 0;}).join('&') : null;
- return res ? "?".concat(res) : '';
- }
- function parseBaseComponent(vueComponentOptions)
- {var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},isPage = _ref5.isPage,initRelation = _ref5.initRelation;var _initVueComponent =
- initVueComponent(_vue.default, vueComponentOptions),_initVueComponent2 = _slicedToArray(_initVueComponent, 2),VueComponent = _initVueComponent2[0],vueOptions = _initVueComponent2[1];
- var options = _objectSpread({
- multipleSlots: true,
- addGlobalClass: true },
- vueOptions.options || {});
- {
- // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
- if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
- Object.assign(options, vueOptions['mp-weixin'].options);
- }
- }
- var componentOptions = {
- options: options,
- data: initData(vueOptions, _vue.default.prototype),
- behaviors: initBehaviors(vueOptions, initBehavior),
- properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
- lifetimes: {
- attached: function attached() {
- var properties = this.properties;
- var options = {
- mpType: isPage.call(this) ? 'page' : 'component',
- mpInstance: this,
- propsData: properties };
- initVueIds(properties.vueId, this);
- // 处理父子关系
- initRelation.call(this, {
- vuePid: this._$vuePid,
- vueOptions: options });
- // 初始化 vue 实例
- this.$vm = new VueComponent(options);
- // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
- initSlots(this.$vm, properties.vueSlots);
- // 触发首次 setData
- this.$vm.$mount();
- },
- ready: function ready() {
- // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
- // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
- if (this.$vm) {
- this.$vm._isMounted = true;
- this.$vm.__call_hook('mounted');
- this.$vm.__call_hook('onReady');
- }
- },
- detached: function detached() {
- this.$vm && this.$vm.$destroy();
- } },
- pageLifetimes: {
- show: function show(args) {
- this.$vm && this.$vm.__call_hook('onPageShow', args);
- },
- hide: function hide() {
- this.$vm && this.$vm.__call_hook('onPageHide');
- },
- resize: function resize(size) {
- this.$vm && this.$vm.__call_hook('onPageResize', size);
- } },
- methods: {
- __l: handleLink,
- __e: handleEvent } };
- // externalClasses
- if (vueOptions.externalClasses) {
- componentOptions.externalClasses = vueOptions.externalClasses;
- }
- if (Array.isArray(vueOptions.wxsCallMethods)) {
- vueOptions.wxsCallMethods.forEach(function (callMethod) {
- componentOptions.methods[callMethod] = function (args) {
- return this.$vm[callMethod](args);
- };
- });
- }
- if (isPage) {
- return componentOptions;
- }
- return [componentOptions, VueComponent];
- }
- function parseComponent(vueComponentOptions) {
- return parseBaseComponent(vueComponentOptions, {
- isPage: isPage,
- initRelation: initRelation });
- }
- var hooks$1 = [
- 'onShow',
- 'onHide',
- 'onUnload'];
- hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
- function parseBasePage(vuePageOptions, _ref6)
- {var isPage = _ref6.isPage,initRelation = _ref6.initRelation;
- var pageOptions = parseComponent(vuePageOptions);
- initHooks(pageOptions.methods, hooks$1, vuePageOptions);
- pageOptions.methods.onLoad = function (query) {
- this.options = query;
- var copyQuery = Object.assign({}, query);
- delete copyQuery.__id__;
- this.$page = {
- fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery) };
- this.$vm.$mp.query = query; // 兼容 mpvue
- this.$vm.__call_hook('onLoad', query);
- };
- return pageOptions;
- }
- function parsePage(vuePageOptions) {
- return parseBasePage(vuePageOptions, {
- isPage: isPage,
- initRelation: initRelation });
- }
- function createPage(vuePageOptions) {
- {
- return Component(parsePage(vuePageOptions));
- }
- }
- function createComponent(vueOptions) {
- {
- return Component(parseComponent(vueOptions));
- }
- }
- function createSubpackageApp(vm) {
- var appOptions = parseApp(vm);
- var app = getApp({
- allowDefault: true });
- vm.$scope = app;
- var globalData = app.globalData;
- if (globalData) {
- Object.keys(appOptions.globalData).forEach(function (name) {
- if (!hasOwn(globalData, name)) {
- globalData[name] = appOptions.globalData[name];
- }
- });
- }
- Object.keys(appOptions).forEach(function (name) {
- if (!hasOwn(app, name)) {
- app[name] = appOptions[name];
- }
- });
- if (isFn(appOptions.onShow) && wx.onAppShow) {
- wx.onAppShow(function () {for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {args[_key5] = arguments[_key5];}
- vm.__call_hook('onShow', args);
- });
- }
- if (isFn(appOptions.onHide) && wx.onAppHide) {
- wx.onAppHide(function () {for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {args[_key6] = arguments[_key6];}
- vm.__call_hook('onHide', args);
- });
- }
- if (isFn(appOptions.onLaunch)) {
- var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
- vm.__call_hook('onLaunch', args);
- }
- return vm;
- }
- function createPlugin(vm) {
- var appOptions = parseApp(vm);
- if (isFn(appOptions.onShow) && wx.onAppShow) {
- wx.onAppShow(function () {for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {args[_key7] = arguments[_key7];}
- vm.__call_hook('onShow', args);
- });
- }
- if (isFn(appOptions.onHide) && wx.onAppHide) {
- wx.onAppHide(function () {for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {args[_key8] = arguments[_key8];}
- vm.__call_hook('onHide', args);
- });
- }
- if (isFn(appOptions.onLaunch)) {
- var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
- vm.__call_hook('onLaunch', args);
- }
- return vm;
- }
- todos.forEach(function (todoApi) {
- protocols[todoApi] = false;
- });
- canIUses.forEach(function (canIUseApi) {
- var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name :
- canIUseApi;
- if (!wx.canIUse(apiName)) {
- protocols[canIUseApi] = false;
- }
- });
- var uni = {};
- if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
- uni = new Proxy({}, {
- get: function get(target, name) {
- if (hasOwn(target, name)) {
- return target[name];
- }
- if (baseApi[name]) {
- return baseApi[name];
- }
- if (api[name]) {
- return promisify(name, api[name]);
- }
- {
- if (extraApi[name]) {
- return promisify(name, extraApi[name]);
- }
- if (todoApis[name]) {
- return promisify(name, todoApis[name]);
- }
- }
- if (eventApi[name]) {
- return eventApi[name];
- }
- if (!hasOwn(wx, name) && !hasOwn(protocols, name)) {
- return;
- }
- return promisify(name, wrapper(name, wx[name]));
- },
- set: function set(target, name, value) {
- target[name] = value;
- return true;
- } });
- } else {
- Object.keys(baseApi).forEach(function (name) {
- uni[name] = baseApi[name];
- });
- {
- Object.keys(todoApis).forEach(function (name) {
- uni[name] = promisify(name, todoApis[name]);
- });
- Object.keys(extraApi).forEach(function (name) {
- uni[name] = promisify(name, todoApis[name]);
- });
- }
- Object.keys(eventApi).forEach(function (name) {
- uni[name] = eventApi[name];
- });
- Object.keys(api).forEach(function (name) {
- uni[name] = promisify(name, api[name]);
- });
- Object.keys(wx).forEach(function (name) {
- if (hasOwn(wx, name) || hasOwn(protocols, name)) {
- uni[name] = promisify(name, wrapper(name, wx[name]));
- }
- });
- }
- wx.createApp = createApp;
- wx.createPage = createPage;
- wx.createComponent = createComponent;
- wx.createSubpackageApp = createSubpackageApp;
- wx.createPlugin = createPlugin;
- var uni$1 = uni;var _default =
- uni$1;exports.default = _default;
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 2)))
- /***/ }),
- /* 2 */
- /*!***********************************!*\
- !*** (webpack)/buildin/global.js ***!
- \***********************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var g;
- // This works in non-strict mode
- g = (function() {
- return this;
- })();
- try {
- // This works if eval is allowed (see CSP)
- g = g || new Function("return this")();
- } catch (e) {
- // This works if the window reference is available
- if (typeof window === "object") g = window;
- }
- // g can still be undefined, but nothing to do about it...
- // We return undefined, instead of nothing here, so it's
- // easier to handle this case. if(!global) { ...}
- module.exports = g;
- /***/ }),
- /* 3 */
- /*!*************************************************************!*\
- !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /* WEBPACK VAR INJECTION */(function(uni, global) {Object.defineProperty(exports, "__esModule", { value: true });exports.compileI18nJsonStr = compileI18nJsonStr;exports.hasI18nJson = hasI18nJson;exports.initVueI18n = initVueI18n;exports.isI18nStr = isI18nStr;exports.normalizeLocale = normalizeLocale;exports.parseI18nJson = parseI18nJson;exports.resolveLocale = resolveLocale;exports.isString = exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;function _slicedToArray(arr, i) {return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();}function _nonIterableRest() {throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o, minLen) {if (!o) return;if (typeof o === "string") return _arrayLikeToArray(o, minLen);var n = Object.prototype.toString.call(o).slice(8, -1);if (n === "Object" && o.constructor) n = o.constructor.name;if (n === "Map" || n === "Set") return Array.from(o);if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);}function _arrayLikeToArray(arr, len) {if (len == null || len > arr.length) len = arr.length;for (var i = 0, arr2 = new Array(len); i < len; i++) {arr2[i] = arr[i];}return arr2;}function _iterableToArrayLimit(arr, i) {if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return;var _arr = [];var _n = true;var _d = false;var _e = undefined;try {for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {_arr.push(_s.value);if (i && _arr.length === i) break;}} catch (err) {_d = true;_e = err;} finally {try {if (!_n && _i["return"] != null) _i["return"]();} finally {if (_d) throw _e;}}return _arr;}function _arrayWithHoles(arr) {if (Array.isArray(arr)) return arr;}function _classCallCheck(instance, Constructor) {if (!(instance instanceof Constructor)) {throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target, props) {for (var i = 0; i < props.length; i++) {var descriptor = props[i];descriptor.enumerable = descriptor.enumerable || false;descriptor.configurable = true;if ("value" in descriptor) descriptor.writable = true;Object.defineProperty(target, descriptor.key, descriptor);}}function _createClass(Constructor, protoProps, staticProps) {if (protoProps) _defineProperties(Constructor.prototype, protoProps);if (staticProps) _defineProperties(Constructor, staticProps);return Constructor;}var isArray = Array.isArray;
- var isObject = function isObject(val) {return val !== null && typeof val === 'object';};
- var defaultDelimiters = ['{', '}'];var
- BaseFormatter = /*#__PURE__*/function () {
- function BaseFormatter() {_classCallCheck(this, BaseFormatter);
- this._caches = Object.create(null);
- }_createClass(BaseFormatter, [{ key: "interpolate", value: function interpolate(
- message, values) {var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
- if (!values) {
- return [message];
- }
- var tokens = this._caches[message];
- if (!tokens) {
- tokens = parse(message, delimiters);
- this._caches[message] = tokens;
- }
- return compile(tokens, values);
- } }]);return BaseFormatter;}();exports.Formatter = BaseFormatter;
- var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
- var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
- function parse(format, _ref) {var _ref2 = _slicedToArray(_ref, 2),startDelimiter = _ref2[0],endDelimiter = _ref2[1];
- var tokens = [];
- var position = 0;
- var text = '';
- while (position < format.length) {
- var char = format[position++];
- if (char === startDelimiter) {
- if (text) {
- tokens.push({ type: 'text', value: text });
- }
- text = '';
- var sub = '';
- char = format[position++];
- while (char !== undefined && char !== endDelimiter) {
- sub += char;
- char = format[position++];
- }
- var isClosed = char === endDelimiter;
- var type = RE_TOKEN_LIST_VALUE.test(sub) ?
- 'list' :
- isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ?
- 'named' :
- 'unknown';
- tokens.push({ value: sub, type: type });
- }
- // else if (char === '%') {
- // // when found rails i18n syntax, skip text capture
- // if (format[position] !== '{') {
- // text += char
- // }
- // }
- else {
- text += char;
- }
- }
- text && tokens.push({ type: 'text', value: text });
- return tokens;
- }
- function compile(tokens, values) {
- var compiled = [];
- var index = 0;
- var mode = isArray(values) ?
- 'list' :
- isObject(values) ?
- 'named' :
- 'unknown';
- if (mode === 'unknown') {
- return compiled;
- }
- while (index < tokens.length) {
- var token = tokens[index];
- switch (token.type) {
- case 'text':
- compiled.push(token.value);
- break;
- case 'list':
- compiled.push(values[parseInt(token.value, 10)]);
- break;
- case 'named':
- if (mode === 'named') {
- compiled.push(values[token.value]);
- } else
- {
- if (true) {
- console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
- }
- }
- break;
- case 'unknown':
- if (true) {
- console.warn("Detect 'unknown' type of token!");
- }
- break;}
- index++;
- }
- return compiled;
- }
- var LOCALE_ZH_HANS = 'zh-Hans';exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
- var LOCALE_ZH_HANT = 'zh-Hant';exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
- var LOCALE_EN = 'en';exports.LOCALE_EN = LOCALE_EN;
- var LOCALE_FR = 'fr';exports.LOCALE_FR = LOCALE_FR;
- var LOCALE_ES = 'es';exports.LOCALE_ES = LOCALE_ES;
- var hasOwnProperty = Object.prototype.hasOwnProperty;
- var hasOwn = function hasOwn(val, key) {return hasOwnProperty.call(val, key);};
- var defaultFormatter = new BaseFormatter();
- function include(str, parts) {
- return !!parts.find(function (part) {return str.indexOf(part) !== -1;});
- }
- function startsWith(str, parts) {
- return parts.find(function (part) {return str.indexOf(part) === 0;});
- }
- function normalizeLocale(locale, messages) {
- if (!locale) {
- return;
- }
- locale = locale.trim().replace(/_/g, '-');
- if (messages && messages[locale]) {
- return locale;
- }
- locale = locale.toLowerCase();
- if (locale.indexOf('zh') === 0) {
- if (locale.indexOf('-hans') > -1) {
- return LOCALE_ZH_HANS;
- }
- if (locale.indexOf('-hant') > -1) {
- return LOCALE_ZH_HANT;
- }
- if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
- return LOCALE_ZH_HANT;
- }
- return LOCALE_ZH_HANS;
- }
- var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
- if (lang) {
- return lang;
- }
- }var
- I18n = /*#__PURE__*/function () {
- function I18n(_ref3) {var locale = _ref3.locale,fallbackLocale = _ref3.fallbackLocale,messages = _ref3.messages,watcher = _ref3.watcher,formater = _ref3.formater;_classCallCheck(this, I18n);
- this.locale = LOCALE_EN;
- this.fallbackLocale = LOCALE_EN;
- this.message = {};
- this.messages = {};
- this.watchers = [];
- if (fallbackLocale) {
- this.fallbackLocale = fallbackLocale;
- }
- this.formater = formater || defaultFormatter;
- this.messages = messages || {};
- this.setLocale(locale || LOCALE_EN);
- if (watcher) {
- this.watchLocale(watcher);
- }
- }_createClass(I18n, [{ key: "setLocale", value: function setLocale(
- locale) {var _this = this;
- var oldLocale = this.locale;
- this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
- if (!this.messages[this.locale]) {
- // 可能初始化时不存在
- this.messages[this.locale] = {};
- }
- this.message = this.messages[this.locale];
- // 仅发生变化时,通知
- if (oldLocale !== this.locale) {
- this.watchers.forEach(function (watcher) {
- watcher(_this.locale, oldLocale);
- });
- }
- } }, { key: "getLocale", value: function getLocale()
- {
- return this.locale;
- } }, { key: "watchLocale", value: function watchLocale(
- fn) {var _this2 = this;
- var index = this.watchers.push(fn) - 1;
- return function () {
- _this2.watchers.splice(index, 1);
- };
- } }, { key: "add", value: function add(
- locale, message) {var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
- var curMessages = this.messages[locale];
- if (curMessages) {
- if (override) {
- Object.assign(curMessages, message);
- } else
- {
- Object.keys(message).forEach(function (key) {
- if (!hasOwn(curMessages, key)) {
- curMessages[key] = message[key];
- }
- });
- }
- } else
- {
- this.messages[locale] = message;
- }
- } }, { key: "f", value: function f(
- message, values, delimiters) {
- return this.formater.interpolate(message, values, delimiters).join('');
- } }, { key: "t", value: function t(
- key, locale, values) {
- var message = this.message;
- if (typeof locale === 'string') {
- locale = normalizeLocale(locale, this.messages);
- locale && (message = this.messages[locale]);
- } else
- {
- values = locale;
- }
- if (!hasOwn(message, key)) {
- console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
- return key;
- }
- return this.formater.interpolate(message[key], values).join('');
- } }]);return I18n;}();exports.I18n = I18n;
- function watchAppLocale(appVm, i18n) {
- // 需要保证 watch 的触发在组件渲染之前
- if (appVm.$watchLocale) {
- // vue2
- appVm.$watchLocale(function (newLocale) {
- i18n.setLocale(newLocale);
- });
- } else
- {
- appVm.$watch(function () {return appVm.$locale;}, function (newLocale) {
- i18n.setLocale(newLocale);
- });
- }
- }
- function getDefaultLocale() {
- if (typeof uni !== 'undefined' && uni.getLocale) {
- return uni.getLocale();
- }
- // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
- if (typeof global !== 'undefined' && global.getLocale) {
- return global.getLocale();
- }
- return LOCALE_EN;
- }
- function initVueI18n(locale) {var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;var watcher = arguments.length > 3 ? arguments[3] : undefined;
- // 兼容旧版本入参
- if (typeof locale !== 'string') {var _ref4 =
- [
- messages,
- locale];locale = _ref4[0];messages = _ref4[1];
- }
- if (typeof locale !== 'string') {
- // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
- locale = getDefaultLocale();
- }
- if (typeof fallbackLocale !== 'string') {
- fallbackLocale =
- typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale ||
- LOCALE_EN;
- }
- var i18n = new I18n({
- locale: locale,
- fallbackLocale: fallbackLocale,
- messages: messages,
- watcher: watcher });
- var _t = function t(key, values) {
- if (typeof getApp !== 'function') {
- // app view
- /* eslint-disable no-func-assign */
- _t = function t(key, values) {
- return i18n.t(key, values);
- };
- } else
- {
- var isWatchedAppLocale = false;
- _t = function t(key, values) {
- var appVm = getApp().$vm;
- // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
- // options: {
- // type: Array,
- // default () {
- // return [{
- // icon: 'shop',
- // text: t("uni-goods-nav.options.shop"),
- // }, {
- // icon: 'cart',
- // text: t("uni-goods-nav.options.cart")
- // }]
- // }
- // },
- if (appVm) {
- // 触发响应式
- appVm.$locale;
- if (!isWatchedAppLocale) {
- isWatchedAppLocale = true;
- watchAppLocale(appVm, i18n);
- }
- }
- return i18n.t(key, values);
- };
- }
- return _t(key, values);
- };
- return {
- i18n: i18n,
- f: function f(message, values, delimiters) {
- return i18n.f(message, values, delimiters);
- },
- t: function t(key, values) {
- return _t(key, values);
- },
- add: function add(locale, message) {var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
- return i18n.add(locale, message, override);
- },
- watch: function watch(fn) {
- return i18n.watchLocale(fn);
- },
- getLocale: function getLocale() {
- return i18n.getLocale();
- },
- setLocale: function setLocale(newLocale) {
- return i18n.setLocale(newLocale);
- } };
- }
- var isString = function isString(val) {return typeof val === 'string';};exports.isString = isString;
- var formater;
- function hasI18nJson(jsonObj, delimiters) {
- if (!formater) {
- formater = new BaseFormatter();
- }
- return walkJsonObj(jsonObj, function (jsonObj, key) {
- var value = jsonObj[key];
- if (isString(value)) {
- if (isI18nStr(value, delimiters)) {
- return true;
- }
- } else
- {
- return hasI18nJson(value, delimiters);
- }
- });
- }
- function parseI18nJson(jsonObj, values, delimiters) {
- if (!formater) {
- formater = new BaseFormatter();
- }
- walkJsonObj(jsonObj, function (jsonObj, key) {
- var value = jsonObj[key];
- if (isString(value)) {
- if (isI18nStr(value, delimiters)) {
- jsonObj[key] = compileStr(value, values, delimiters);
- }
- } else
- {
- parseI18nJson(value, values, delimiters);
- }
- });
- return jsonObj;
- }
- function compileI18nJsonStr(jsonStr, _ref5) {var locale = _ref5.locale,locales = _ref5.locales,delimiters = _ref5.delimiters;
- if (!isI18nStr(jsonStr, delimiters)) {
- return jsonStr;
- }
- if (!formater) {
- formater = new BaseFormatter();
- }
- var localeValues = [];
- Object.keys(locales).forEach(function (name) {
- if (name !== locale) {
- localeValues.push({
- locale: name,
- values: locales[name] });
- }
- });
- localeValues.unshift({ locale: locale, values: locales[locale] });
- try {
- return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
- }
- catch (e) {}
- return jsonStr;
- }
- function isI18nStr(value, delimiters) {
- return value.indexOf(delimiters[0]) > -1;
- }
- function compileStr(value, values, delimiters) {
- return formater.interpolate(value, values, delimiters).join('');
- }
- function compileValue(jsonObj, key, localeValues, delimiters) {
- var value = jsonObj[key];
- if (isString(value)) {
- // 存在国际化
- if (isI18nStr(value, delimiters)) {
- jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
- if (localeValues.length > 1) {
- // 格式化国际化语言
- var valueLocales = jsonObj[key + 'Locales'] = {};
- localeValues.forEach(function (localValue) {
- valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
- });
- }
- }
- } else
- {
- compileJsonObj(value, localeValues, delimiters);
- }
- }
- function compileJsonObj(jsonObj, localeValues, delimiters) {
- walkJsonObj(jsonObj, function (jsonObj, key) {
- compileValue(jsonObj, key, localeValues, delimiters);
- });
- return jsonObj;
- }
- function walkJsonObj(jsonObj, walk) {
- if (isArray(jsonObj)) {
- for (var i = 0; i < jsonObj.length; i++) {
- if (walk(jsonObj, i)) {
- return true;
- }
- }
- } else
- if (isObject(jsonObj)) {
- for (var key in jsonObj) {
- if (walk(jsonObj, key)) {
- return true;
- }
- }
- }
- return false;
- }
- function resolveLocale(locales) {
- return function (locale) {
- if (!locale) {
- return locale;
- }
- locale = normalizeLocale(locale) || locale;
- return resolveLocaleChain(locale).find(function (locale) {return locales.indexOf(locale) > -1;});
- };
- }
- function resolveLocaleChain(locale) {
- var chain = [];
- var tokens = locale.split('-');
- while (tokens.length) {
- chain.push(tokens.join('-'));
- tokens.pop();
- }
- return chain;
- }
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 2)))
- /***/ }),
- /* 4 */
- /*!******************************************************************************************!*\
- !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
- \******************************************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* WEBPACK VAR INJECTION */(function(global) {/*!
- * Vue.js v2.6.11
- * (c) 2014-2022 Evan You
- * Released under the MIT License.
- */
- /* */
- var emptyObject = Object.freeze({});
- // These helpers produce better VM code in JS engines due to their
- // explicitness and function inlining.
- function isUndef (v) {
- return v === undefined || v === null
- }
- function isDef (v) {
- return v !== undefined && v !== null
- }
- function isTrue (v) {
- return v === true
- }
- function isFalse (v) {
- return v === false
- }
- /**
- * Check if value is primitive.
- */
- function isPrimitive (value) {
- return (
- typeof value === 'string' ||
- typeof value === 'number' ||
- // $flow-disable-line
- typeof value === 'symbol' ||
- typeof value === 'boolean'
- )
- }
- /**
- * Quick object check - this is primarily used to tell
- * Objects from primitive values when we know the value
- * is a JSON-compliant type.
- */
- function isObject (obj) {
- return obj !== null && typeof obj === 'object'
- }
- /**
- * Get the raw type string of a value, e.g., [object Object].
- */
- var _toString = Object.prototype.toString;
- function toRawType (value) {
- return _toString.call(value).slice(8, -1)
- }
- /**
- * Strict object type check. Only returns true
- * for plain JavaScript objects.
- */
- function isPlainObject (obj) {
- return _toString.call(obj) === '[object Object]'
- }
- function isRegExp (v) {
- return _toString.call(v) === '[object RegExp]'
- }
- /**
- * Check if val is a valid array index.
- */
- function isValidArrayIndex (val) {
- var n = parseFloat(String(val));
- return n >= 0 && Math.floor(n) === n && isFinite(val)
- }
- function isPromise (val) {
- return (
- isDef(val) &&
- typeof val.then === 'function' &&
- typeof val.catch === 'function'
- )
- }
- /**
- * Convert a value to a string that is actually rendered.
- */
- function toString (val) {
- return val == null
- ? ''
- : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
- ? JSON.stringify(val, null, 2)
- : String(val)
- }
- /**
- * Convert an input value to a number for persistence.
- * If the conversion fails, return original string.
- */
- function toNumber (val) {
- var n = parseFloat(val);
- return isNaN(n) ? val : n
- }
- /**
- * Make a map and return a function for checking if a key
- * is in that map.
- */
- function makeMap (
- str,
- expectsLowerCase
- ) {
- var map = Object.create(null);
- var list = str.split(',');
- for (var i = 0; i < list.length; i++) {
- map[list[i]] = true;
- }
- return expectsLowerCase
- ? function (val) { return map[val.toLowerCase()]; }
- : function (val) { return map[val]; }
- }
- /**
- * Check if a tag is a built-in tag.
- */
- var isBuiltInTag = makeMap('slot,component', true);
- /**
- * Check if an attribute is a reserved attribute.
- */
- var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
- /**
- * Remove an item from an array.
- */
- function remove (arr, item) {
- if (arr.length) {
- var index = arr.indexOf(item);
- if (index > -1) {
- return arr.splice(index, 1)
- }
- }
- }
- /**
- * Check whether an object has the property.
- */
- var hasOwnProperty = Object.prototype.hasOwnProperty;
- function hasOwn (obj, key) {
- return hasOwnProperty.call(obj, key)
- }
- /**
- * Create a cached version of a pure function.
- */
- function cached (fn) {
- var cache = Object.create(null);
- return (function cachedFn (str) {
- var hit = cache[str];
- return hit || (cache[str] = fn(str))
- })
- }
- /**
- * Camelize a hyphen-delimited string.
- */
- var camelizeRE = /-(\w)/g;
- var camelize = cached(function (str) {
- return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
- });
- /**
- * Capitalize a string.
- */
- var capitalize = cached(function (str) {
- return str.charAt(0).toUpperCase() + str.slice(1)
- });
- /**
- * Hyphenate a camelCase string.
- */
- var hyphenateRE = /\B([A-Z])/g;
- var hyphenate = cached(function (str) {
- return str.replace(hyphenateRE, '-$1').toLowerCase()
- });
- /**
- * Simple bind polyfill for environments that do not support it,
- * e.g., PhantomJS 1.x. Technically, we don't need this anymore
- * since native bind is now performant enough in most browsers.
- * But removing it would mean breaking code that was able to run in
- * PhantomJS 1.x, so this must be kept for backward compatibility.
- */
- /* istanbul ignore next */
- function polyfillBind (fn, ctx) {
- function boundFn (a) {
- var l = arguments.length;
- return l
- ? l > 1
- ? fn.apply(ctx, arguments)
- : fn.call(ctx, a)
- : fn.call(ctx)
- }
- boundFn._length = fn.length;
- return boundFn
- }
- function nativeBind (fn, ctx) {
- return fn.bind(ctx)
- }
- var bind = Function.prototype.bind
- ? nativeBind
- : polyfillBind;
- /**
- * Convert an Array-like object to a real Array.
- */
- function toArray (list, start) {
- start = start || 0;
- var i = list.length - start;
- var ret = new Array(i);
- while (i--) {
- ret[i] = list[i + start];
- }
- return ret
- }
- /**
- * Mix properties into target object.
- */
- function extend (to, _from) {
- for (var key in _from) {
- to[key] = _from[key];
- }
- return to
- }
- /**
- * Merge an Array of Objects into a single Object.
- */
- function toObject (arr) {
- var res = {};
- for (var i = 0; i < arr.length; i++) {
- if (arr[i]) {
- extend(res, arr[i]);
- }
- }
- return res
- }
- /* eslint-disable no-unused-vars */
- /**
- * Perform no operation.
- * Stubbing args to make Flow happy without leaving useless transpiled code
- * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
- */
- function noop (a, b, c) {}
- /**
- * Always return false.
- */
- var no = function (a, b, c) { return false; };
- /* eslint-enable no-unused-vars */
- /**
- * Return the same value.
- */
- var identity = function (_) { return _; };
- /**
- * Check if two values are loosely equal - that is,
- * if they are plain objects, do they have the same shape?
- */
- function looseEqual (a, b) {
- if (a === b) { return true }
- var isObjectA = isObject(a);
- var isObjectB = isObject(b);
- if (isObjectA && isObjectB) {
- try {
- var isArrayA = Array.isArray(a);
- var isArrayB = Array.isArray(b);
- if (isArrayA && isArrayB) {
- return a.length === b.length && a.every(function (e, i) {
- return looseEqual(e, b[i])
- })
- } else if (a instanceof Date && b instanceof Date) {
- return a.getTime() === b.getTime()
- } else if (!isArrayA && !isArrayB) {
- var keysA = Object.keys(a);
- var keysB = Object.keys(b);
- return keysA.length === keysB.length && keysA.every(function (key) {
- return looseEqual(a[key], b[key])
- })
- } else {
- /* istanbul ignore next */
- return false
- }
- } catch (e) {
- /* istanbul ignore next */
- return false
- }
- } else if (!isObjectA && !isObjectB) {
- return String(a) === String(b)
- } else {
- return false
- }
- }
- /**
- * Return the first index at which a loosely equal value can be
- * found in the array (if value is a plain object, the array must
- * contain an object of the same shape), or -1 if it is not present.
- */
- function looseIndexOf (arr, val) {
- for (var i = 0; i < arr.length; i++) {
- if (looseEqual(arr[i], val)) { return i }
- }
- return -1
- }
- /**
- * Ensure a function is called only once.
- */
- function once (fn) {
- var called = false;
- return function () {
- if (!called) {
- called = true;
- fn.apply(this, arguments);
- }
- }
- }
- var ASSET_TYPES = [
- 'component',
- 'directive',
- 'filter'
- ];
- var LIFECYCLE_HOOKS = [
- 'beforeCreate',
- 'created',
- 'beforeMount',
- 'mounted',
- 'beforeUpdate',
- 'updated',
- 'beforeDestroy',
- 'destroyed',
- 'activated',
- 'deactivated',
- 'errorCaptured',
- 'serverPrefetch'
- ];
- /* */
- var config = ({
- /**
- * Option merge strategies (used in core/util/options)
- */
- // $flow-disable-line
- optionMergeStrategies: Object.create(null),
- /**
- * Whether to suppress warnings.
- */
- silent: false,
- /**
- * Show production mode tip message on boot?
- */
- productionTip: "development" !== 'production',
- /**
- * Whether to enable devtools
- */
- devtools: "development" !== 'production',
- /**
- * Whether to record perf
- */
- performance: false,
- /**
- * Error handler for watcher errors
- */
- errorHandler: null,
- /**
- * Warn handler for watcher warns
- */
- warnHandler: null,
- /**
- * Ignore certain custom elements
- */
- ignoredElements: [],
- /**
- * Custom user key aliases for v-on
- */
- // $flow-disable-line
- keyCodes: Object.create(null),
- /**
- * Check if a tag is reserved so that it cannot be registered as a
- * component. This is platform-dependent and may be overwritten.
- */
- isReservedTag: no,
- /**
- * Check if an attribute is reserved so that it cannot be used as a component
- * prop. This is platform-dependent and may be overwritten.
- */
- isReservedAttr: no,
- /**
- * Check if a tag is an unknown element.
- * Platform-dependent.
- */
- isUnknownElement: no,
- /**
- * Get the namespace of an element
- */
- getTagNamespace: noop,
- /**
- * Parse the real tag name for the specific platform.
- */
- parsePlatformTagName: identity,
- /**
- * Check if an attribute must be bound using property, e.g. value
- * Platform-dependent.
- */
- mustUseProp: no,
- /**
- * Perform updates asynchronously. Intended to be used by Vue Test Utils
- * This will significantly reduce performance if set to false.
- */
- async: true,
- /**
- * Exposed for legacy reasons
- */
- _lifecycleHooks: LIFECYCLE_HOOKS
- });
- /* */
- /**
- * unicode letters used for parsing html tags, component names and property paths.
- * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
- * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
- */
- var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
- /**
- * Check if a string starts with $ or _
- */
- function isReserved (str) {
- var c = (str + '').charCodeAt(0);
- return c === 0x24 || c === 0x5F
- }
- /**
- * Define a property.
- */
- function def (obj, key, val, enumerable) {
- Object.defineProperty(obj, key, {
- value: val,
- enumerable: !!enumerable,
- writable: true,
- configurable: true
- });
- }
- /**
- * Parse simple path.
- */
- var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
- function parsePath (path) {
- if (bailRE.test(path)) {
- return
- }
- var segments = path.split('.');
- return function (obj) {
- for (var i = 0; i < segments.length; i++) {
- if (!obj) { return }
- obj = obj[segments[i]];
- }
- return obj
- }
- }
- /* */
- // can we use __proto__?
- var hasProto = '__proto__' in {};
- // Browser environment sniffing
- var inBrowser = typeof window !== 'undefined';
- var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
- var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
- var UA = inBrowser && window.navigator.userAgent.toLowerCase();
- var isIE = UA && /msie|trident/.test(UA);
- var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
- var isEdge = UA && UA.indexOf('edge/') > 0;
- var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
- var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
- var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
- var isPhantomJS = UA && /phantomjs/.test(UA);
- var isFF = UA && UA.match(/firefox\/(\d+)/);
- // Firefox has a "watch" function on Object.prototype...
- var nativeWatch = ({}).watch;
- if (inBrowser) {
- try {
- var opts = {};
- Object.defineProperty(opts, 'passive', ({
- get: function get () {
- }
- })); // https://github.com/facebook/flow/issues/285
- window.addEventListener('test-passive', null, opts);
- } catch (e) {}
- }
- // this needs to be lazy-evaled because vue may be required before
- // vue-server-renderer can set VUE_ENV
- var _isServer;
- var isServerRendering = function () {
- if (_isServer === undefined) {
- /* istanbul ignore if */
- if (!inBrowser && !inWeex && typeof global !== 'undefined') {
- // detect presence of vue-server-renderer and avoid
- // Webpack shimming the process
- _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
- } else {
- _isServer = false;
- }
- }
- return _isServer
- };
- // detect devtools
- var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
- /* istanbul ignore next */
- function isNative (Ctor) {
- return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
- }
- var hasSymbol =
- typeof Symbol !== 'undefined' && isNative(Symbol) &&
- typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
- var _Set;
- /* istanbul ignore if */ // $flow-disable-line
- if (typeof Set !== 'undefined' && isNative(Set)) {
- // use native Set when available.
- _Set = Set;
- } else {
- // a non-standard Set polyfill that only works with primitive keys.
- _Set = /*@__PURE__*/(function () {
- function Set () {
- this.set = Object.create(null);
- }
- Set.prototype.has = function has (key) {
- return this.set[key] === true
- };
- Set.prototype.add = function add (key) {
- this.set[key] = true;
- };
- Set.prototype.clear = function clear () {
- this.set = Object.create(null);
- };
- return Set;
- }());
- }
- /* */
- var warn = noop;
- var tip = noop;
- var generateComponentTrace = (noop); // work around flow check
- var formatComponentName = (noop);
- if (true) {
- var hasConsole = typeof console !== 'undefined';
- var classifyRE = /(?:^|[-_])(\w)/g;
- var classify = function (str) { return str
- .replace(classifyRE, function (c) { return c.toUpperCase(); })
- .replace(/[-_]/g, ''); };
- warn = function (msg, vm) {
- var trace = vm ? generateComponentTrace(vm) : '';
- if (config.warnHandler) {
- config.warnHandler.call(null, msg, vm, trace);
- } else if (hasConsole && (!config.silent)) {
- console.error(("[Vue warn]: " + msg + trace));
- }
- };
- tip = function (msg, vm) {
- if (hasConsole && (!config.silent)) {
- console.warn("[Vue tip]: " + msg + (
- vm ? generateComponentTrace(vm) : ''
- ));
- }
- };
- formatComponentName = function (vm, includeFile) {
- if (vm.$root === vm) {
- if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
- return ('') + vm.$options.__file
- }
- return '<Root>'
- }
- var options = typeof vm === 'function' && vm.cid != null
- ? vm.options
- : vm._isVue
- ? vm.$options || vm.constructor.options
- : vm;
- var name = options.name || options._componentTag;
- var file = options.__file;
- if (!name && file) {
- var match = file.match(/([^/\\]+)\.vue$/);
- name = match && match[1];
- }
- return (
- (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
- (file && includeFile !== false ? (" at " + file) : '')
- )
- };
- var repeat = function (str, n) {
- var res = '';
- while (n) {
- if (n % 2 === 1) { res += str; }
- if (n > 1) { str += str; }
- n >>= 1;
- }
- return res
- };
- generateComponentTrace = function (vm) {
- if (vm._isVue && vm.$parent) {
- var tree = [];
- var currentRecursiveSequence = 0;
- while (vm && vm.$options.name !== 'PageBody') {
- if (tree.length > 0) {
- var last = tree[tree.length - 1];
- if (last.constructor === vm.constructor) {
- currentRecursiveSequence++;
- vm = vm.$parent;
- continue
- } else if (currentRecursiveSequence > 0) {
- tree[tree.length - 1] = [last, currentRecursiveSequence];
- currentRecursiveSequence = 0;
- }
- }
- !vm.$options.isReserved && tree.push(vm);
- vm = vm.$parent;
- }
- return '\n\nfound in\n\n' + tree
- .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
- ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
- : formatComponentName(vm))); })
- .join('\n')
- } else {
- return ("\n\n(found in " + (formatComponentName(vm)) + ")")
- }
- };
- }
- /* */
- var uid = 0;
- /**
- * A dep is an observable that can have multiple
- * directives subscribing to it.
- */
- var Dep = function Dep () {
- this.id = uid++;
- this.subs = [];
- };
- Dep.prototype.addSub = function addSub (sub) {
- this.subs.push(sub);
- };
- Dep.prototype.removeSub = function removeSub (sub) {
- remove(this.subs, sub);
- };
- Dep.prototype.depend = function depend () {
- if (Dep.SharedObject.target) {
- Dep.SharedObject.target.addDep(this);
- }
- };
- Dep.prototype.notify = function notify () {
- // stabilize the subscriber list first
- var subs = this.subs.slice();
- if ( true && !config.async) {
- // subs aren't sorted in scheduler if not running async
- // we need to sort them now to make sure they fire in correct
- // order
- subs.sort(function (a, b) { return a.id - b.id; });
- }
- for (var i = 0, l = subs.length; i < l; i++) {
- subs[i].update();
- }
- };
- // The current target watcher being evaluated.
- // This is globally unique because only one watcher
- // can be evaluated at a time.
- // fixed by xxxxxx (nvue shared vuex)
- /* eslint-disable no-undef */
- Dep.SharedObject = {};
- Dep.SharedObject.target = null;
- Dep.SharedObject.targetStack = [];
- function pushTarget (target) {
- Dep.SharedObject.targetStack.push(target);
- Dep.SharedObject.target = target;
- Dep.target = target;
- }
- function popTarget () {
- Dep.SharedObject.targetStack.pop();
- Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
- Dep.target = Dep.SharedObject.target;
- }
- /* */
- var VNode = function VNode (
- tag,
- data,
- children,
- text,
- elm,
- context,
- componentOptions,
- asyncFactory
- ) {
- this.tag = tag;
- this.data = data;
- this.children = children;
- this.text = text;
- this.elm = elm;
- this.ns = undefined;
- this.context = context;
- this.fnContext = undefined;
- this.fnOptions = undefined;
- this.fnScopeId = undefined;
- this.key = data && data.key;
- this.componentOptions = componentOptions;
- this.componentInstance = undefined;
- this.parent = undefined;
- this.raw = false;
- this.isStatic = false;
- this.isRootInsert = true;
- this.isComment = false;
- this.isCloned = false;
- this.isOnce = false;
- this.asyncFactory = asyncFactory;
- this.asyncMeta = undefined;
- this.isAsyncPlaceholder = false;
- };
- var prototypeAccessors = { child: { configurable: true } };
- // DEPRECATED: alias for componentInstance for backwards compat.
- /* istanbul ignore next */
- prototypeAccessors.child.get = function () {
- return this.componentInstance
- };
- Object.defineProperties( VNode.prototype, prototypeAccessors );
- var createEmptyVNode = function (text) {
- if ( text === void 0 ) text = '';
- var node = new VNode();
- node.text = text;
- node.isComment = true;
- return node
- };
- function createTextVNode (val) {
- return new VNode(undefined, undefined, undefined, String(val))
- }
- // optimized shallow clone
- // used for static nodes and slot nodes because they may be reused across
- // multiple renders, cloning them avoids errors when DOM manipulations rely
- // on their elm reference.
- function cloneVNode (vnode) {
- var cloned = new VNode(
- vnode.tag,
- vnode.data,
- // #7975
- // clone children array to avoid mutating original in case of cloning
- // a child.
- vnode.children && vnode.children.slice(),
- vnode.text,
- vnode.elm,
- vnode.context,
- vnode.componentOptions,
- vnode.asyncFactory
- );
- cloned.ns = vnode.ns;
- cloned.isStatic = vnode.isStatic;
- cloned.key = vnode.key;
- cloned.isComment = vnode.isComment;
- cloned.fnContext = vnode.fnContext;
- cloned.fnOptions = vnode.fnOptions;
- cloned.fnScopeId = vnode.fnScopeId;
- cloned.asyncMeta = vnode.asyncMeta;
- cloned.isCloned = true;
- return cloned
- }
- /*
- * not type checking this file because flow doesn't play well with
- * dynamically accessing methods on Array prototype
- */
- var arrayProto = Array.prototype;
- var arrayMethods = Object.create(arrayProto);
- var methodsToPatch = [
- 'push',
- 'pop',
- 'shift',
- 'unshift',
- 'splice',
- 'sort',
- 'reverse'
- ];
- /**
- * Intercept mutating methods and emit events
- */
- methodsToPatch.forEach(function (method) {
- // cache original method
- var original = arrayProto[method];
- def(arrayMethods, method, function mutator () {
- var args = [], len = arguments.length;
- while ( len-- ) args[ len ] = arguments[ len ];
- var result = original.apply(this, args);
- var ob = this.__ob__;
- var inserted;
- switch (method) {
- case 'push':
- case 'unshift':
- inserted = args;
- break
- case 'splice':
- inserted = args.slice(2);
- break
- }
- if (inserted) { ob.observeArray(inserted); }
- // notify change
- ob.dep.notify();
- return result
- });
- });
- /* */
- var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
- /**
- * In some cases we may want to disable observation inside a component's
- * update computation.
- */
- var shouldObserve = true;
- function toggleObserving (value) {
- shouldObserve = value;
- }
- /**
- * Observer class that is attached to each observed
- * object. Once attached, the observer converts the target
- * object's property keys into getter/setters that
- * collect dependencies and dispatch updates.
- */
- var Observer = function Observer (value) {
- this.value = value;
- this.dep = new Dep();
- this.vmCount = 0;
- def(value, '__ob__', this);
- if (Array.isArray(value)) {
- if (hasProto) {
- {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
- if(value.push !== value.__proto__.push){
- copyAugment(value, arrayMethods, arrayKeys);
- } else {
- protoAugment(value, arrayMethods);
- }
- }
- } else {
- copyAugment(value, arrayMethods, arrayKeys);
- }
- this.observeArray(value);
- } else {
- this.walk(value);
- }
- };
- /**
- * Walk through all properties and convert them into
- * getter/setters. This method should only be called when
- * value type is Object.
- */
- Observer.prototype.walk = function walk (obj) {
- var keys = Object.keys(obj);
- for (var i = 0; i < keys.length; i++) {
- defineReactive$$1(obj, keys[i]);
- }
- };
- /**
- * Observe a list of Array items.
- */
- Observer.prototype.observeArray = function observeArray (items) {
- for (var i = 0, l = items.length; i < l; i++) {
- observe(items[i]);
- }
- };
- // helpers
- /**
- * Augment a target Object or Array by intercepting
- * the prototype chain using __proto__
- */
- function protoAugment (target, src) {
- /* eslint-disable no-proto */
- target.__proto__ = src;
- /* eslint-enable no-proto */
- }
- /**
- * Augment a target Object or Array by defining
- * hidden properties.
- */
- /* istanbul ignore next */
- function copyAugment (target, src, keys) {
- for (var i = 0, l = keys.length; i < l; i++) {
- var key = keys[i];
- def(target, key, src[key]);
- }
- }
- /**
- * Attempt to create an observer instance for a value,
- * returns the new observer if successfully observed,
- * or the existing observer if the value already has one.
- */
- function observe (value, asRootData) {
- if (!isObject(value) || value instanceof VNode) {
- return
- }
- var ob;
- if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
- ob = value.__ob__;
- } else if (
- shouldObserve &&
- !isServerRendering() &&
- (Array.isArray(value) || isPlainObject(value)) &&
- Object.isExtensible(value) &&
- !value._isVue
- ) {
- ob = new Observer(value);
- }
- if (asRootData && ob) {
- ob.vmCount++;
- }
- return ob
- }
- /**
- * Define a reactive property on an Object.
- */
- function defineReactive$$1 (
- obj,
- key,
- val,
- customSetter,
- shallow
- ) {
- var dep = new Dep();
- var property = Object.getOwnPropertyDescriptor(obj, key);
- if (property && property.configurable === false) {
- return
- }
- // cater for pre-defined getter/setters
- var getter = property && property.get;
- var setter = property && property.set;
- if ((!getter || setter) && arguments.length === 2) {
- val = obj[key];
- }
- var childOb = !shallow && observe(val);
- Object.defineProperty(obj, key, {
- enumerable: true,
- configurable: true,
- get: function reactiveGetter () {
- var value = getter ? getter.call(obj) : val;
- if (Dep.SharedObject.target) { // fixed by xxxxxx
- dep.depend();
- if (childOb) {
- childOb.dep.depend();
- if (Array.isArray(value)) {
- dependArray(value);
- }
- }
- }
- return value
- },
- set: function reactiveSetter (newVal) {
- var value = getter ? getter.call(obj) : val;
- /* eslint-disable no-self-compare */
- if (newVal === value || (newVal !== newVal && value !== value)) {
- return
- }
- /* eslint-enable no-self-compare */
- if ( true && customSetter) {
- customSetter();
- }
- // #7981: for accessor properties without setter
- if (getter && !setter) { return }
- if (setter) {
- setter.call(obj, newVal);
- } else {
- val = newVal;
- }
- childOb = !shallow && observe(newVal);
- dep.notify();
- }
- });
- }
- /**
- * Set a property on an object. Adds the new property and
- * triggers change notification if the property doesn't
- * already exist.
- */
- function set (target, key, val) {
- if ( true &&
- (isUndef(target) || isPrimitive(target))
- ) {
- warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
- }
- if (Array.isArray(target) && isValidArrayIndex(key)) {
- target.length = Math.max(target.length, key);
- target.splice(key, 1, val);
- return val
- }
- if (key in target && !(key in Object.prototype)) {
- target[key] = val;
- return val
- }
- var ob = (target).__ob__;
- if (target._isVue || (ob && ob.vmCount)) {
- true && warn(
- 'Avoid adding reactive properties to a Vue instance or its root $data ' +
- 'at runtime - declare it upfront in the data option.'
- );
- return val
- }
- if (!ob) {
- target[key] = val;
- return val
- }
- defineReactive$$1(ob.value, key, val);
- ob.dep.notify();
- return val
- }
- /**
- * Delete a property and trigger change if necessary.
- */
- function del (target, key) {
- if ( true &&
- (isUndef(target) || isPrimitive(target))
- ) {
- warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
- }
- if (Array.isArray(target) && isValidArrayIndex(key)) {
- target.splice(key, 1);
- return
- }
- var ob = (target).__ob__;
- if (target._isVue || (ob && ob.vmCount)) {
- true && warn(
- 'Avoid deleting properties on a Vue instance or its root $data ' +
- '- just set it to null.'
- );
- return
- }
- if (!hasOwn(target, key)) {
- return
- }
- delete target[key];
- if (!ob) {
- return
- }
- ob.dep.notify();
- }
- /**
- * Collect dependencies on array elements when the array is touched, since
- * we cannot intercept array element access like property getters.
- */
- function dependArray (value) {
- for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
- e = value[i];
- e && e.__ob__ && e.__ob__.dep.depend();
- if (Array.isArray(e)) {
- dependArray(e);
- }
- }
- }
- /* */
- /**
- * Option overwriting strategies are functions that handle
- * how to merge a parent option value and a child option
- * value into the final value.
- */
- var strats = config.optionMergeStrategies;
- /**
- * Options with restrictions
- */
- if (true) {
- strats.el = strats.propsData = function (parent, child, vm, key) {
- if (!vm) {
- warn(
- "option \"" + key + "\" can only be used during instance " +
- 'creation with the `new` keyword.'
- );
- }
- return defaultStrat(parent, child)
- };
- }
- /**
- * Helper that recursively merges two data objects together.
- */
- function mergeData (to, from) {
- if (!from) { return to }
- var key, toVal, fromVal;
- var keys = hasSymbol
- ? Reflect.ownKeys(from)
- : Object.keys(from);
- for (var i = 0; i < keys.length; i++) {
- key = keys[i];
- // in case the object is already observed...
- if (key === '__ob__') { continue }
- toVal = to[key];
- fromVal = from[key];
- if (!hasOwn(to, key)) {
- set(to, key, fromVal);
- } else if (
- toVal !== fromVal &&
- isPlainObject(toVal) &&
- isPlainObject(fromVal)
- ) {
- mergeData(toVal, fromVal);
- }
- }
- return to
- }
- /**
- * Data
- */
- function mergeDataOrFn (
- parentVal,
- childVal,
- vm
- ) {
- if (!vm) {
- // in a Vue.extend merge, both should be functions
- if (!childVal) {
- return parentVal
- }
- if (!parentVal) {
- return childVal
- }
- // when parentVal & childVal are both present,
- // we need to return a function that returns the
- // merged result of both functions... no need to
- // check if parentVal is a function here because
- // it has to be a function to pass previous merges.
- return function mergedDataFn () {
- return mergeData(
- typeof childVal === 'function' ? childVal.call(this, this) : childVal,
- typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
- )
- }
- } else {
- return function mergedInstanceDataFn () {
- // instance merge
- var instanceData = typeof childVal === 'function'
- ? childVal.call(vm, vm)
- : childVal;
- var defaultData = typeof parentVal === 'function'
- ? parentVal.call(vm, vm)
- : parentVal;
- if (instanceData) {
- return mergeData(instanceData, defaultData)
- } else {
- return defaultData
- }
- }
- }
- }
- strats.data = function (
- parentVal,
- childVal,
- vm
- ) {
- if (!vm) {
- if (childVal && typeof childVal !== 'function') {
- true && warn(
- 'The "data" option should be a function ' +
- 'that returns a per-instance value in component ' +
- 'definitions.',
- vm
- );
- return parentVal
- }
- return mergeDataOrFn(parentVal, childVal)
- }
- return mergeDataOrFn(parentVal, childVal, vm)
- };
- /**
- * Hooks and props are merged as arrays.
- */
- function mergeHook (
- parentVal,
- childVal
- ) {
- var res = childVal
- ? parentVal
- ? parentVal.concat(childVal)
- : Array.isArray(childVal)
- ? childVal
- : [childVal]
- : parentVal;
- return res
- ? dedupeHooks(res)
- : res
- }
- function dedupeHooks (hooks) {
- var res = [];
- for (var i = 0; i < hooks.length; i++) {
- if (res.indexOf(hooks[i]) === -1) {
- res.push(hooks[i]);
- }
- }
- return res
- }
- LIFECYCLE_HOOKS.forEach(function (hook) {
- strats[hook] = mergeHook;
- });
- /**
- * Assets
- *
- * When a vm is present (instance creation), we need to do
- * a three-way merge between constructor options, instance
- * options and parent options.
- */
- function mergeAssets (
- parentVal,
- childVal,
- vm,
- key
- ) {
- var res = Object.create(parentVal || null);
- if (childVal) {
- true && assertObjectType(key, childVal, vm);
- return extend(res, childVal)
- } else {
- return res
- }
- }
- ASSET_TYPES.forEach(function (type) {
- strats[type + 's'] = mergeAssets;
- });
- /**
- * Watchers.
- *
- * Watchers hashes should not overwrite one
- * another, so we merge them as arrays.
- */
- strats.watch = function (
- parentVal,
- childVal,
- vm,
- key
- ) {
- // work around Firefox's Object.prototype.watch...
- if (parentVal === nativeWatch) { parentVal = undefined; }
- if (childVal === nativeWatch) { childVal = undefined; }
- /* istanbul ignore if */
- if (!childVal) { return Object.create(parentVal || null) }
- if (true) {
- assertObjectType(key, childVal, vm);
- }
- if (!parentVal) { return childVal }
- var ret = {};
- extend(ret, parentVal);
- for (var key$1 in childVal) {
- var parent = ret[key$1];
- var child = childVal[key$1];
- if (parent && !Array.isArray(parent)) {
- parent = [parent];
- }
- ret[key$1] = parent
- ? parent.concat(child)
- : Array.isArray(child) ? child : [child];
- }
- return ret
- };
- /**
- * Other object hashes.
- */
- strats.props =
- strats.methods =
- strats.inject =
- strats.computed = function (
- parentVal,
- childVal,
- vm,
- key
- ) {
- if (childVal && "development" !== 'production') {
- assertObjectType(key, childVal, vm);
- }
- if (!parentVal) { return childVal }
- var ret = Object.create(null);
- extend(ret, parentVal);
- if (childVal) { extend(ret, childVal); }
- return ret
- };
- strats.provide = mergeDataOrFn;
- /**
- * Default strategy.
- */
- var defaultStrat = function (parentVal, childVal) {
- return childVal === undefined
- ? parentVal
- : childVal
- };
- /**
- * Validate component names
- */
- function checkComponents (options) {
- for (var key in options.components) {
- validateComponentName(key);
- }
- }
- function validateComponentName (name) {
- if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
- warn(
- 'Invalid component name: "' + name + '". Component names ' +
- 'should conform to valid custom element name in html5 specification.'
- );
- }
- if (isBuiltInTag(name) || config.isReservedTag(name)) {
- warn(
- 'Do not use built-in or reserved HTML elements as component ' +
- 'id: ' + name
- );
- }
- }
- /**
- * Ensure all props option syntax are normalized into the
- * Object-based format.
- */
- function normalizeProps (options, vm) {
- var props = options.props;
- if (!props) { return }
- var res = {};
- var i, val, name;
- if (Array.isArray(props)) {
- i = props.length;
- while (i--) {
- val = props[i];
- if (typeof val === 'string') {
- name = camelize(val);
- res[name] = { type: null };
- } else if (true) {
- warn('props must be strings when using array syntax.');
- }
- }
- } else if (isPlainObject(props)) {
- for (var key in props) {
- val = props[key];
- name = camelize(key);
- res[name] = isPlainObject(val)
- ? val
- : { type: val };
- }
- } else if (true) {
- warn(
- "Invalid value for option \"props\": expected an Array or an Object, " +
- "but got " + (toRawType(props)) + ".",
- vm
- );
- }
- options.props = res;
- }
- /**
- * Normalize all injections into Object-based format
- */
- function normalizeInject (options, vm) {
- var inject = options.inject;
- if (!inject) { return }
- var normalized = options.inject = {};
- if (Array.isArray(inject)) {
- for (var i = 0; i < inject.length; i++) {
- normalized[inject[i]] = { from: inject[i] };
- }
- } else if (isPlainObject(inject)) {
- for (var key in inject) {
- var val = inject[key];
- normalized[key] = isPlainObject(val)
- ? extend({ from: key }, val)
- : { from: val };
- }
- } else if (true) {
- warn(
- "Invalid value for option \"inject\": expected an Array or an Object, " +
- "but got " + (toRawType(inject)) + ".",
- vm
- );
- }
- }
- /**
- * Normalize raw function directives into object format.
- */
- function normalizeDirectives (options) {
- var dirs = options.directives;
- if (dirs) {
- for (var key in dirs) {
- var def$$1 = dirs[key];
- if (typeof def$$1 === 'function') {
- dirs[key] = { bind: def$$1, update: def$$1 };
- }
- }
- }
- }
- function assertObjectType (name, value, vm) {
- if (!isPlainObject(value)) {
- warn(
- "Invalid value for option \"" + name + "\": expected an Object, " +
- "but got " + (toRawType(value)) + ".",
- vm
- );
- }
- }
- /**
- * Merge two option objects into a new one.
- * Core utility used in both instantiation and inheritance.
- */
- function mergeOptions (
- parent,
- child,
- vm
- ) {
- if (true) {
- checkComponents(child);
- }
- if (typeof child === 'function') {
- child = child.options;
- }
- normalizeProps(child, vm);
- normalizeInject(child, vm);
- normalizeDirectives(child);
- // Apply extends and mixins on the child options,
- // but only if it is a raw options object that isn't
- // the result of another mergeOptions call.
- // Only merged options has the _base property.
- if (!child._base) {
- if (child.extends) {
- parent = mergeOptions(parent, child.extends, vm);
- }
- if (child.mixins) {
- for (var i = 0, l = child.mixins.length; i < l; i++) {
- parent = mergeOptions(parent, child.mixins[i], vm);
- }
- }
- }
- var options = {};
- var key;
- for (key in parent) {
- mergeField(key);
- }
- for (key in child) {
- if (!hasOwn(parent, key)) {
- mergeField(key);
- }
- }
- function mergeField (key) {
- var strat = strats[key] || defaultStrat;
- options[key] = strat(parent[key], child[key], vm, key);
- }
- return options
- }
- /**
- * Resolve an asset.
- * This function is used because child instances need access
- * to assets defined in its ancestor chain.
- */
- function resolveAsset (
- options,
- type,
- id,
- warnMissing
- ) {
- /* istanbul ignore if */
- if (typeof id !== 'string') {
- return
- }
- var assets = options[type];
- // check local registration variations first
- if (hasOwn(assets, id)) { return assets[id] }
- var camelizedId = camelize(id);
- if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
- var PascalCaseId = capitalize(camelizedId);
- if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
- // fallback to prototype chain
- var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
- if ( true && warnMissing && !res) {
- warn(
- 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
- options
- );
- }
- return res
- }
- /* */
- function validateProp (
- key,
- propOptions,
- propsData,
- vm
- ) {
- var prop = propOptions[key];
- var absent = !hasOwn(propsData, key);
- var value = propsData[key];
- // boolean casting
- var booleanIndex = getTypeIndex(Boolean, prop.type);
- if (booleanIndex > -1) {
- if (absent && !hasOwn(prop, 'default')) {
- value = false;
- } else if (value === '' || value === hyphenate(key)) {
- // only cast empty string / same name to boolean if
- // boolean has higher priority
- var stringIndex = getTypeIndex(String, prop.type);
- if (stringIndex < 0 || booleanIndex < stringIndex) {
- value = true;
- }
- }
- }
- // check default value
- if (value === undefined) {
- value = getPropDefaultValue(vm, prop, key);
- // since the default value is a fresh copy,
- // make sure to observe it.
- var prevShouldObserve = shouldObserve;
- toggleObserving(true);
- observe(value);
- toggleObserving(prevShouldObserve);
- }
- if (
- true
- ) {
- assertProp(prop, key, value, vm, absent);
- }
- return value
- }
- /**
- * Get the default value of a prop.
- */
- function getPropDefaultValue (vm, prop, key) {
- // no default, return undefined
- if (!hasOwn(prop, 'default')) {
- return undefined
- }
- var def = prop.default;
- // warn against non-factory defaults for Object & Array
- if ( true && isObject(def)) {
- warn(
- 'Invalid default value for prop "' + key + '": ' +
- 'Props with type Object/Array must use a factory function ' +
- 'to return the default value.',
- vm
- );
- }
- // the raw prop value was also undefined from previous render,
- // return previous default value to avoid unnecessary watcher trigger
- if (vm && vm.$options.propsData &&
- vm.$options.propsData[key] === undefined &&
- vm._props[key] !== undefined
- ) {
- return vm._props[key]
- }
- // call factory function for non-Function types
- // a value is Function if its prototype is function even across different execution context
- return typeof def === 'function' && getType(prop.type) !== 'Function'
- ? def.call(vm)
- : def
- }
- /**
- * Assert whether a prop is valid.
- */
- function assertProp (
- prop,
- name,
- value,
- vm,
- absent
- ) {
- if (prop.required && absent) {
- warn(
- 'Missing required prop: "' + name + '"',
- vm
- );
- return
- }
- if (value == null && !prop.required) {
- return
- }
- var type = prop.type;
- var valid = !type || type === true;
- var expectedTypes = [];
- if (type) {
- if (!Array.isArray(type)) {
- type = [type];
- }
- for (var i = 0; i < type.length && !valid; i++) {
- var assertedType = assertType(value, type[i]);
- expectedTypes.push(assertedType.expectedType || '');
- valid = assertedType.valid;
- }
- }
- if (!valid) {
- warn(
- getInvalidTypeMessage(name, value, expectedTypes),
- vm
- );
- return
- }
- var validator = prop.validator;
- if (validator) {
- if (!validator(value)) {
- warn(
- 'Invalid prop: custom validator check failed for prop "' + name + '".',
- vm
- );
- }
- }
- }
- var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
- function assertType (value, type) {
- var valid;
- var expectedType = getType(type);
- if (simpleCheckRE.test(expectedType)) {
- var t = typeof value;
- valid = t === expectedType.toLowerCase();
- // for primitive wrapper objects
- if (!valid && t === 'object') {
- valid = value instanceof type;
- }
- } else if (expectedType === 'Object') {
- valid = isPlainObject(value);
- } else if (expectedType === 'Array') {
- valid = Array.isArray(value);
- } else {
- valid = value instanceof type;
- }
- return {
- valid: valid,
- expectedType: expectedType
- }
- }
- /**
- * Use function string name to check built-in types,
- * because a simple equality check will fail when running
- * across different vms / iframes.
- */
- function getType (fn) {
- var match = fn && fn.toString().match(/^\s*function (\w+)/);
- return match ? match[1] : ''
- }
- function isSameType (a, b) {
- return getType(a) === getType(b)
- }
- function getTypeIndex (type, expectedTypes) {
- if (!Array.isArray(expectedTypes)) {
- return isSameType(expectedTypes, type) ? 0 : -1
- }
- for (var i = 0, len = expectedTypes.length; i < len; i++) {
- if (isSameType(expectedTypes[i], type)) {
- return i
- }
- }
- return -1
- }
- function getInvalidTypeMessage (name, value, expectedTypes) {
- var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
- " Expected " + (expectedTypes.map(capitalize).join(', '));
- var expectedType = expectedTypes[0];
- var receivedType = toRawType(value);
- var expectedValue = styleValue(value, expectedType);
- var receivedValue = styleValue(value, receivedType);
- // check if we need to specify expected value
- if (expectedTypes.length === 1 &&
- isExplicable(expectedType) &&
- !isBoolean(expectedType, receivedType)) {
- message += " with value " + expectedValue;
- }
- message += ", got " + receivedType + " ";
- // check if we need to specify received value
- if (isExplicable(receivedType)) {
- message += "with value " + receivedValue + ".";
- }
- return message
- }
- function styleValue (value, type) {
- if (type === 'String') {
- return ("\"" + value + "\"")
- } else if (type === 'Number') {
- return ("" + (Number(value)))
- } else {
- return ("" + value)
- }
- }
- function isExplicable (value) {
- var explicitTypes = ['string', 'number', 'boolean'];
- return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
- }
- function isBoolean () {
- var args = [], len = arguments.length;
- while ( len-- ) args[ len ] = arguments[ len ];
- return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
- }
- /* */
- function handleError (err, vm, info) {
- // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
- // See: https://github.com/vuejs/vuex/issues/1505
- pushTarget();
- try {
- if (vm) {
- var cur = vm;
- while ((cur = cur.$parent)) {
- var hooks = cur.$options.errorCaptured;
- if (hooks) {
- for (var i = 0; i < hooks.length; i++) {
- try {
- var capture = hooks[i].call(cur, err, vm, info) === false;
- if (capture) { return }
- } catch (e) {
- globalHandleError(e, cur, 'errorCaptured hook');
- }
- }
- }
- }
- }
- globalHandleError(err, vm, info);
- } finally {
- popTarget();
- }
- }
- function invokeWithErrorHandling (
- handler,
- context,
- args,
- vm,
- info
- ) {
- var res;
- try {
- res = args ? handler.apply(context, args) : handler.call(context);
- if (res && !res._isVue && isPromise(res) && !res._handled) {
- res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
- // issue #9511
- // avoid catch triggering multiple times when nested calls
- res._handled = true;
- }
- } catch (e) {
- handleError(e, vm, info);
- }
- return res
- }
- function globalHandleError (err, vm, info) {
- if (config.errorHandler) {
- try {
- return config.errorHandler.call(null, err, vm, info)
- } catch (e) {
- // if the user intentionally throws the original error in the handler,
- // do not log it twice
- if (e !== err) {
- logError(e, null, 'config.errorHandler');
- }
- }
- }
- logError(err, vm, info);
- }
- function logError (err, vm, info) {
- if (true) {
- warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
- }
- /* istanbul ignore else */
- if ((inBrowser || inWeex) && typeof console !== 'undefined') {
- console.error(err);
- } else {
- throw err
- }
- }
- /* */
- var callbacks = [];
- var pending = false;
- function flushCallbacks () {
- pending = false;
- var copies = callbacks.slice(0);
- callbacks.length = 0;
- for (var i = 0; i < copies.length; i++) {
- copies[i]();
- }
- }
- // Here we have async deferring wrappers using microtasks.
- // In 2.5 we used (macro) tasks (in combination with microtasks).
- // However, it has subtle problems when state is changed right before repaint
- // (e.g. #6813, out-in transitions).
- // Also, using (macro) tasks in event handler would cause some weird behaviors
- // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
- // So we now use microtasks everywhere, again.
- // A major drawback of this tradeoff is that there are some scenarios
- // where microtasks have too high a priority and fire in between supposedly
- // sequential events (e.g. #4521, #6690, which have workarounds)
- // or even between bubbling of the same event (#6566).
- var timerFunc;
- // The nextTick behavior leverages the microtask queue, which can be accessed
- // via either native Promise.then or MutationObserver.
- // MutationObserver has wider support, however it is seriously bugged in
- // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
- // completely stops working after triggering a few times... so, if native
- // Promise is available, we will use it:
- /* istanbul ignore next, $flow-disable-line */
- if (typeof Promise !== 'undefined' && isNative(Promise)) {
- var p = Promise.resolve();
- timerFunc = function () {
- p.then(flushCallbacks);
- // In problematic UIWebViews, Promise.then doesn't completely break, but
- // it can get stuck in a weird state where callbacks are pushed into the
- // microtask queue but the queue isn't being flushed, until the browser
- // needs to do some other work, e.g. handle a timer. Therefore we can
- // "force" the microtask queue to be flushed by adding an empty timer.
- if (isIOS) { setTimeout(noop); }
- };
- } else if (!isIE && typeof MutationObserver !== 'undefined' && (
- isNative(MutationObserver) ||
- // PhantomJS and iOS 7.x
- MutationObserver.toString() === '[object MutationObserverConstructor]'
- )) {
- // Use MutationObserver where native Promise is not available,
- // e.g. PhantomJS, iOS7, Android 4.4
- // (#6466 MutationObserver is unreliable in IE11)
- var counter = 1;
- var observer = new MutationObserver(flushCallbacks);
- var textNode = document.createTextNode(String(counter));
- observer.observe(textNode, {
- characterData: true
- });
- timerFunc = function () {
- counter = (counter + 1) % 2;
- textNode.data = String(counter);
- };
- } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
- // Fallback to setImmediate.
- // Technically it leverages the (macro) task queue,
- // but it is still a better choice than setTimeout.
- timerFunc = function () {
- setImmediate(flushCallbacks);
- };
- } else {
- // Fallback to setTimeout.
- timerFunc = function () {
- setTimeout(flushCallbacks, 0);
- };
- }
- function nextTick (cb, ctx) {
- var _resolve;
- callbacks.push(function () {
- if (cb) {
- try {
- cb.call(ctx);
- } catch (e) {
- handleError(e, ctx, 'nextTick');
- }
- } else if (_resolve) {
- _resolve(ctx);
- }
- });
- if (!pending) {
- pending = true;
- timerFunc();
- }
- // $flow-disable-line
- if (!cb && typeof Promise !== 'undefined') {
- return new Promise(function (resolve) {
- _resolve = resolve;
- })
- }
- }
- /* */
- /* not type checking this file because flow doesn't play well with Proxy */
- var initProxy;
- if (true) {
- var allowedGlobals = makeMap(
- 'Infinity,undefined,NaN,isFinite,isNaN,' +
- 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
- 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
- 'require' // for Webpack/Browserify
- );
- var warnNonPresent = function (target, key) {
- warn(
- "Property or method \"" + key + "\" is not defined on the instance but " +
- 'referenced during render. Make sure that this property is reactive, ' +
- 'either in the data option, or for class-based components, by ' +
- 'initializing the property. ' +
- 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
- target
- );
- };
- var warnReservedPrefix = function (target, key) {
- warn(
- "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
- 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
- 'prevent conflicts with Vue internals. ' +
- 'See: https://vuejs.org/v2/api/#data',
- target
- );
- };
- var hasProxy =
- typeof Proxy !== 'undefined' && isNative(Proxy);
- if (hasProxy) {
- var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
- config.keyCodes = new Proxy(config.keyCodes, {
- set: function set (target, key, value) {
- if (isBuiltInModifier(key)) {
- warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
- return false
- } else {
- target[key] = value;
- return true
- }
- }
- });
- }
- var hasHandler = {
- has: function has (target, key) {
- var has = key in target;
- var isAllowed = allowedGlobals(key) ||
- (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
- if (!has && !isAllowed) {
- if (key in target.$data) { warnReservedPrefix(target, key); }
- else { warnNonPresent(target, key); }
- }
- return has || !isAllowed
- }
- };
- var getHandler = {
- get: function get (target, key) {
- if (typeof key === 'string' && !(key in target)) {
- if (key in target.$data) { warnReservedPrefix(target, key); }
- else { warnNonPresent(target, key); }
- }
- return target[key]
- }
- };
- initProxy = function initProxy (vm) {
- if (hasProxy) {
- // determine which proxy handler to use
- var options = vm.$options;
- var handlers = options.render && options.render._withStripped
- ? getHandler
- : hasHandler;
- vm._renderProxy = new Proxy(vm, handlers);
- } else {
- vm._renderProxy = vm;
- }
- };
- }
- /* */
- var seenObjects = new _Set();
- /**
- * Recursively traverse an object to evoke all converted
- * getters, so that every nested property inside the object
- * is collected as a "deep" dependency.
- */
- function traverse (val) {
- _traverse(val, seenObjects);
- seenObjects.clear();
- }
- function _traverse (val, seen) {
- var i, keys;
- var isA = Array.isArray(val);
- if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
- return
- }
- if (val.__ob__) {
- var depId = val.__ob__.dep.id;
- if (seen.has(depId)) {
- return
- }
- seen.add(depId);
- }
- if (isA) {
- i = val.length;
- while (i--) { _traverse(val[i], seen); }
- } else {
- keys = Object.keys(val);
- i = keys.length;
- while (i--) { _traverse(val[keys[i]], seen); }
- }
- }
- var mark;
- var measure;
- if (true) {
- var perf = inBrowser && window.performance;
- /* istanbul ignore if */
- if (
- perf &&
- perf.mark &&
- perf.measure &&
- perf.clearMarks &&
- perf.clearMeasures
- ) {
- mark = function (tag) { return perf.mark(tag); };
- measure = function (name, startTag, endTag) {
- perf.measure(name, startTag, endTag);
- perf.clearMarks(startTag);
- perf.clearMarks(endTag);
- // perf.clearMeasures(name)
- };
- }
- }
- /* */
- var normalizeEvent = cached(function (name) {
- var passive = name.charAt(0) === '&';
- name = passive ? name.slice(1) : name;
- var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
- name = once$$1 ? name.slice(1) : name;
- var capture = name.charAt(0) === '!';
- name = capture ? name.slice(1) : name;
- return {
- name: name,
- once: once$$1,
- capture: capture,
- passive: passive
- }
- });
- function createFnInvoker (fns, vm) {
- function invoker () {
- var arguments$1 = arguments;
- var fns = invoker.fns;
- if (Array.isArray(fns)) {
- var cloned = fns.slice();
- for (var i = 0; i < cloned.length; i++) {
- invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
- }
- } else {
- // return handler return value for single handlers
- return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
- }
- }
- invoker.fns = fns;
- return invoker
- }
- function updateListeners (
- on,
- oldOn,
- add,
- remove$$1,
- createOnceHandler,
- vm
- ) {
- var name, def$$1, cur, old, event;
- for (name in on) {
- def$$1 = cur = on[name];
- old = oldOn[name];
- event = normalizeEvent(name);
- if (isUndef(cur)) {
- true && warn(
- "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
- vm
- );
- } else if (isUndef(old)) {
- if (isUndef(cur.fns)) {
- cur = on[name] = createFnInvoker(cur, vm);
- }
- if (isTrue(event.once)) {
- cur = on[name] = createOnceHandler(event.name, cur, event.capture);
- }
- add(event.name, cur, event.capture, event.passive, event.params);
- } else if (cur !== old) {
- old.fns = cur;
- on[name] = old;
- }
- }
- for (name in oldOn) {
- if (isUndef(on[name])) {
- event = normalizeEvent(name);
- remove$$1(event.name, oldOn[name], event.capture);
- }
- }
- }
- /* */
- /* */
- // fixed by xxxxxx (mp properties)
- function extractPropertiesFromVNodeData(data, Ctor, res, context) {
- var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
- if (isUndef(propOptions)) {
- return res
- }
- var externalClasses = Ctor.options.mpOptions.externalClasses || [];
- var attrs = data.attrs;
- var props = data.props;
- if (isDef(attrs) || isDef(props)) {
- for (var key in propOptions) {
- var altKey = hyphenate(key);
- var result = checkProp(res, props, key, altKey, true) ||
- checkProp(res, attrs, key, altKey, false);
- // externalClass
- if (
- result &&
- res[key] &&
- externalClasses.indexOf(altKey) !== -1 &&
- context[camelize(res[key])]
- ) {
- // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
- res[key] = context[camelize(res[key])];
- }
- }
- }
- return res
- }
- function extractPropsFromVNodeData (
- data,
- Ctor,
- tag,
- context// fixed by xxxxxx
- ) {
- // we are only extracting raw values here.
- // validation and default values are handled in the child
- // component itself.
- var propOptions = Ctor.options.props;
- if (isUndef(propOptions)) {
- // fixed by xxxxxx
- return extractPropertiesFromVNodeData(data, Ctor, {}, context)
- }
- var res = {};
- var attrs = data.attrs;
- var props = data.props;
- if (isDef(attrs) || isDef(props)) {
- for (var key in propOptions) {
- var altKey = hyphenate(key);
- if (true) {
- var keyInLowerCase = key.toLowerCase();
- if (
- key !== keyInLowerCase &&
- attrs && hasOwn(attrs, keyInLowerCase)
- ) {
- tip(
- "Prop \"" + keyInLowerCase + "\" is passed to component " +
- (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
- " \"" + key + "\". " +
- "Note that HTML attributes are case-insensitive and camelCased " +
- "props need to use their kebab-case equivalents when using in-DOM " +
- "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
- );
- }
- }
- checkProp(res, props, key, altKey, true) ||
- checkProp(res, attrs, key, altKey, false);
- }
- }
- // fixed by xxxxxx
- return extractPropertiesFromVNodeData(data, Ctor, res, context)
- }
- function checkProp (
- res,
- hash,
- key,
- altKey,
- preserve
- ) {
- if (isDef(hash)) {
- if (hasOwn(hash, key)) {
- res[key] = hash[key];
- if (!preserve) {
- delete hash[key];
- }
- return true
- } else if (hasOwn(hash, altKey)) {
- res[key] = hash[altKey];
- if (!preserve) {
- delete hash[altKey];
- }
- return true
- }
- }
- return false
- }
- /* */
- // The template compiler attempts to minimize the need for normalization by
- // statically analyzing the template at compile time.
- //
- // For plain HTML markup, normalization can be completely skipped because the
- // generated render function is guaranteed to return Array<VNode>. There are
- // two cases where extra normalization is needed:
- // 1. When the children contains components - because a functional component
- // may return an Array instead of a single root. In this case, just a simple
- // normalization is needed - if any child is an Array, we flatten the whole
- // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
- // because functional components already normalize their own children.
- function simpleNormalizeChildren (children) {
- for (var i = 0; i < children.length; i++) {
- if (Array.isArray(children[i])) {
- return Array.prototype.concat.apply([], children)
- }
- }
- return children
- }
- // 2. When the children contains constructs that always generated nested Arrays,
- // e.g. <template>, <slot>, v-for, or when the children is provided by user
- // with hand-written render functions / JSX. In such cases a full normalization
- // is needed to cater to all possible types of children values.
- function normalizeChildren (children) {
- return isPrimitive(children)
- ? [createTextVNode(children)]
- : Array.isArray(children)
- ? normalizeArrayChildren(children)
- : undefined
- }
- function isTextNode (node) {
- return isDef(node) && isDef(node.text) && isFalse(node.isComment)
- }
- function normalizeArrayChildren (children, nestedIndex) {
- var res = [];
- var i, c, lastIndex, last;
- for (i = 0; i < children.length; i++) {
- c = children[i];
- if (isUndef(c) || typeof c === 'boolean') { continue }
- lastIndex = res.length - 1;
- last = res[lastIndex];
- // nested
- if (Array.isArray(c)) {
- if (c.length > 0) {
- c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
- // merge adjacent text nodes
- if (isTextNode(c[0]) && isTextNode(last)) {
- res[lastIndex] = createTextVNode(last.text + (c[0]).text);
- c.shift();
- }
- res.push.apply(res, c);
- }
- } else if (isPrimitive(c)) {
- if (isTextNode(last)) {
- // merge adjacent text nodes
- // this is necessary for SSR hydration because text nodes are
- // essentially merged when rendered to HTML strings
- res[lastIndex] = createTextVNode(last.text + c);
- } else if (c !== '') {
- // convert primitive to vnode
- res.push(createTextVNode(c));
- }
- } else {
- if (isTextNode(c) && isTextNode(last)) {
- // merge adjacent text nodes
- res[lastIndex] = createTextVNode(last.text + c.text);
- } else {
- // default key for nested array children (likely generated by v-for)
- if (isTrue(children._isVList) &&
- isDef(c.tag) &&
- isUndef(c.key) &&
- isDef(nestedIndex)) {
- c.key = "__vlist" + nestedIndex + "_" + i + "__";
- }
- res.push(c);
- }
- }
- }
- return res
- }
- /* */
- function initProvide (vm) {
- var provide = vm.$options.provide;
- if (provide) {
- vm._provided = typeof provide === 'function'
- ? provide.call(vm)
- : provide;
- }
- }
- function initInjections (vm) {
- var result = resolveInject(vm.$options.inject, vm);
- if (result) {
- toggleObserving(false);
- Object.keys(result).forEach(function (key) {
- /* istanbul ignore else */
- if (true) {
- defineReactive$$1(vm, key, result[key], function () {
- warn(
- "Avoid mutating an injected value directly since the changes will be " +
- "overwritten whenever the provided component re-renders. " +
- "injection being mutated: \"" + key + "\"",
- vm
- );
- });
- } else {}
- });
- toggleObserving(true);
- }
- }
- function resolveInject (inject, vm) {
- if (inject) {
- // inject is :any because flow is not smart enough to figure out cached
- var result = Object.create(null);
- var keys = hasSymbol
- ? Reflect.ownKeys(inject)
- : Object.keys(inject);
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- // #6574 in case the inject object is observed...
- if (key === '__ob__') { continue }
- var provideKey = inject[key].from;
- var source = vm;
- while (source) {
- if (source._provided && hasOwn(source._provided, provideKey)) {
- result[key] = source._provided[provideKey];
- break
- }
- source = source.$parent;
- }
- if (!source) {
- if ('default' in inject[key]) {
- var provideDefault = inject[key].default;
- result[key] = typeof provideDefault === 'function'
- ? provideDefault.call(vm)
- : provideDefault;
- } else if (true) {
- warn(("Injection \"" + key + "\" not found"), vm);
- }
- }
- }
- return result
- }
- }
- /* */
- /**
- * Runtime helper for resolving raw children VNodes into a slot object.
- */
- function resolveSlots (
- children,
- context
- ) {
- if (!children || !children.length) {
- return {}
- }
- var slots = {};
- for (var i = 0, l = children.length; i < l; i++) {
- var child = children[i];
- var data = child.data;
- // remove slot attribute if the node is resolved as a Vue slot node
- if (data && data.attrs && data.attrs.slot) {
- delete data.attrs.slot;
- }
- // named slots should only be respected if the vnode was rendered in the
- // same context.
- if ((child.context === context || child.fnContext === context) &&
- data && data.slot != null
- ) {
- var name = data.slot;
- var slot = (slots[name] || (slots[name] = []));
- if (child.tag === 'template') {
- slot.push.apply(slot, child.children || []);
- } else {
- slot.push(child);
- }
- } else {
- // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
- if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
- (slots['page'] || (slots['page'] = [])).push(child);
- }else{
- (slots.default || (slots.default = [])).push(child);
- }
- }
- }
- // ignore slots that contains only whitespace
- for (var name$1 in slots) {
- if (slots[name$1].every(isWhitespace)) {
- delete slots[name$1];
- }
- }
- return slots
- }
- function isWhitespace (node) {
- return (node.isComment && !node.asyncFactory) || node.text === ' '
- }
- /* */
- function normalizeScopedSlots (
- slots,
- normalSlots,
- prevSlots
- ) {
- var res;
- var hasNormalSlots = Object.keys(normalSlots).length > 0;
- var isStable = slots ? !!slots.$stable : !hasNormalSlots;
- var key = slots && slots.$key;
- if (!slots) {
- res = {};
- } else if (slots._normalized) {
- // fast path 1: child component re-render only, parent did not change
- return slots._normalized
- } else if (
- isStable &&
- prevSlots &&
- prevSlots !== emptyObject &&
- key === prevSlots.$key &&
- !hasNormalSlots &&
- !prevSlots.$hasNormal
- ) {
- // fast path 2: stable scoped slots w/ no normal slots to proxy,
- // only need to normalize once
- return prevSlots
- } else {
- res = {};
- for (var key$1 in slots) {
- if (slots[key$1] && key$1[0] !== '$') {
- res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
- }
- }
- }
- // expose normal slots on scopedSlots
- for (var key$2 in normalSlots) {
- if (!(key$2 in res)) {
- res[key$2] = proxyNormalSlot(normalSlots, key$2);
- }
- }
- // avoriaz seems to mock a non-extensible $scopedSlots object
- // and when that is passed down this would cause an error
- if (slots && Object.isExtensible(slots)) {
- (slots)._normalized = res;
- }
- def(res, '$stable', isStable);
- def(res, '$key', key);
- def(res, '$hasNormal', hasNormalSlots);
- return res
- }
- function normalizeScopedSlot(normalSlots, key, fn) {
- var normalized = function () {
- var res = arguments.length ? fn.apply(null, arguments) : fn({});
- res = res && typeof res === 'object' && !Array.isArray(res)
- ? [res] // single vnode
- : normalizeChildren(res);
- return res && (
- res.length === 0 ||
- (res.length === 1 && res[0].isComment) // #9658
- ) ? undefined
- : res
- };
- // this is a slot using the new v-slot syntax without scope. although it is
- // compiled as a scoped slot, render fn users would expect it to be present
- // on this.$slots because the usage is semantically a normal slot.
- if (fn.proxy) {
- Object.defineProperty(normalSlots, key, {
- get: normalized,
- enumerable: true,
- configurable: true
- });
- }
- return normalized
- }
- function proxyNormalSlot(slots, key) {
- return function () { return slots[key]; }
- }
- /* */
- /**
- * Runtime helper for rendering v-for lists.
- */
- function renderList (
- val,
- render
- ) {
- var ret, i, l, keys, key;
- if (Array.isArray(val) || typeof val === 'string') {
- ret = new Array(val.length);
- for (i = 0, l = val.length; i < l; i++) {
- ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
- }
- } else if (typeof val === 'number') {
- ret = new Array(val);
- for (i = 0; i < val; i++) {
- ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
- }
- } else if (isObject(val)) {
- if (hasSymbol && val[Symbol.iterator]) {
- ret = [];
- var iterator = val[Symbol.iterator]();
- var result = iterator.next();
- while (!result.done) {
- ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
- result = iterator.next();
- }
- } else {
- keys = Object.keys(val);
- ret = new Array(keys.length);
- for (i = 0, l = keys.length; i < l; i++) {
- key = keys[i];
- ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
- }
- }
- }
- if (!isDef(ret)) {
- ret = [];
- }
- (ret)._isVList = true;
- return ret
- }
- /* */
- /**
- * Runtime helper for rendering <slot>
- */
- function renderSlot (
- name,
- fallback,
- props,
- bindObject
- ) {
- var scopedSlotFn = this.$scopedSlots[name];
- var nodes;
- if (scopedSlotFn) { // scoped slot
- props = props || {};
- if (bindObject) {
- if ( true && !isObject(bindObject)) {
- warn(
- 'slot v-bind without argument expects an Object',
- this
- );
- }
- props = extend(extend({}, bindObject), props);
- }
- // fixed by xxxxxx app-plus scopedSlot
- nodes = scopedSlotFn(props, this, props._i) || fallback;
- } else {
- nodes = this.$slots[name] || fallback;
- }
- var target = props && props.slot;
- if (target) {
- return this.$createElement('template', { slot: target }, nodes)
- } else {
- return nodes
- }
- }
- /* */
- /**
- * Runtime helper for resolving filters
- */
- function resolveFilter (id) {
- return resolveAsset(this.$options, 'filters', id, true) || identity
- }
- /* */
- function isKeyNotMatch (expect, actual) {
- if (Array.isArray(expect)) {
- return expect.indexOf(actual) === -1
- } else {
- return expect !== actual
- }
- }
- /**
- * Runtime helper for checking keyCodes from config.
- * exposed as Vue.prototype._k
- * passing in eventKeyName as last argument separately for backwards compat
- */
- function checkKeyCodes (
- eventKeyCode,
- key,
- builtInKeyCode,
- eventKeyName,
- builtInKeyName
- ) {
- var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
- if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
- return isKeyNotMatch(builtInKeyName, eventKeyName)
- } else if (mappedKeyCode) {
- return isKeyNotMatch(mappedKeyCode, eventKeyCode)
- } else if (eventKeyName) {
- return hyphenate(eventKeyName) !== key
- }
- }
- /* */
- /**
- * Runtime helper for merging v-bind="object" into a VNode's data.
- */
- function bindObjectProps (
- data,
- tag,
- value,
- asProp,
- isSync
- ) {
- if (value) {
- if (!isObject(value)) {
- true && warn(
- 'v-bind without argument expects an Object or Array value',
- this
- );
- } else {
- if (Array.isArray(value)) {
- value = toObject(value);
- }
- var hash;
- var loop = function ( key ) {
- if (
- key === 'class' ||
- key === 'style' ||
- isReservedAttribute(key)
- ) {
- hash = data;
- } else {
- var type = data.attrs && data.attrs.type;
- hash = asProp || config.mustUseProp(tag, type, key)
- ? data.domProps || (data.domProps = {})
- : data.attrs || (data.attrs = {});
- }
- var camelizedKey = camelize(key);
- var hyphenatedKey = hyphenate(key);
- if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
- hash[key] = value[key];
- if (isSync) {
- var on = data.on || (data.on = {});
- on[("update:" + key)] = function ($event) {
- value[key] = $event;
- };
- }
- }
- };
- for (var key in value) loop( key );
- }
- }
- return data
- }
- /* */
- /**
- * Runtime helper for rendering static trees.
- */
- function renderStatic (
- index,
- isInFor
- ) {
- var cached = this._staticTrees || (this._staticTrees = []);
- var tree = cached[index];
- // if has already-rendered static tree and not inside v-for,
- // we can reuse the same tree.
- if (tree && !isInFor) {
- return tree
- }
- // otherwise, render a fresh tree.
- tree = cached[index] = this.$options.staticRenderFns[index].call(
- this._renderProxy,
- null,
- this // for render fns generated for functional component templates
- );
- markStatic(tree, ("__static__" + index), false);
- return tree
- }
- /**
- * Runtime helper for v-once.
- * Effectively it means marking the node as static with a unique key.
- */
- function markOnce (
- tree,
- index,
- key
- ) {
- markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
- return tree
- }
- function markStatic (
- tree,
- key,
- isOnce
- ) {
- if (Array.isArray(tree)) {
- for (var i = 0; i < tree.length; i++) {
- if (tree[i] && typeof tree[i] !== 'string') {
- markStaticNode(tree[i], (key + "_" + i), isOnce);
- }
- }
- } else {
- markStaticNode(tree, key, isOnce);
- }
- }
- function markStaticNode (node, key, isOnce) {
- node.isStatic = true;
- node.key = key;
- node.isOnce = isOnce;
- }
- /* */
- function bindObjectListeners (data, value) {
- if (value) {
- if (!isPlainObject(value)) {
- true && warn(
- 'v-on without argument expects an Object value',
- this
- );
- } else {
- var on = data.on = data.on ? extend({}, data.on) : {};
- for (var key in value) {
- var existing = on[key];
- var ours = value[key];
- on[key] = existing ? [].concat(existing, ours) : ours;
- }
- }
- }
- return data
- }
- /* */
- function resolveScopedSlots (
- fns, // see flow/vnode
- res,
- // the following are added in 2.6
- hasDynamicKeys,
- contentHashKey
- ) {
- res = res || { $stable: !hasDynamicKeys };
- for (var i = 0; i < fns.length; i++) {
- var slot = fns[i];
- if (Array.isArray(slot)) {
- resolveScopedSlots(slot, res, hasDynamicKeys);
- } else if (slot) {
- // marker for reverse proxying v-slot without scope on this.$slots
- if (slot.proxy) {
- slot.fn.proxy = true;
- }
- res[slot.key] = slot.fn;
- }
- }
- if (contentHashKey) {
- (res).$key = contentHashKey;
- }
- return res
- }
- /* */
- function bindDynamicKeys (baseObj, values) {
- for (var i = 0; i < values.length; i += 2) {
- var key = values[i];
- if (typeof key === 'string' && key) {
- baseObj[values[i]] = values[i + 1];
- } else if ( true && key !== '' && key !== null) {
- // null is a special value for explicitly removing a binding
- warn(
- ("Invalid value for dynamic directive argument (expected string or null): " + key),
- this
- );
- }
- }
- return baseObj
- }
- // helper to dynamically append modifier runtime markers to event names.
- // ensure only append when value is already string, otherwise it will be cast
- // to string and cause the type check to miss.
- function prependModifier (value, symbol) {
- return typeof value === 'string' ? symbol + value : value
- }
- /* */
- function installRenderHelpers (target) {
- target._o = markOnce;
- target._n = toNumber;
- target._s = toString;
- target._l = renderList;
- target._t = renderSlot;
- target._q = looseEqual;
- target._i = looseIndexOf;
- target._m = renderStatic;
- target._f = resolveFilter;
- target._k = checkKeyCodes;
- target._b = bindObjectProps;
- target._v = createTextVNode;
- target._e = createEmptyVNode;
- target._u = resolveScopedSlots;
- target._g = bindObjectListeners;
- target._d = bindDynamicKeys;
- target._p = prependModifier;
- }
- /* */
- function FunctionalRenderContext (
- data,
- props,
- children,
- parent,
- Ctor
- ) {
- var this$1 = this;
- var options = Ctor.options;
- // ensure the createElement function in functional components
- // gets a unique context - this is necessary for correct named slot check
- var contextVm;
- if (hasOwn(parent, '_uid')) {
- contextVm = Object.create(parent);
- // $flow-disable-line
- contextVm._original = parent;
- } else {
- // the context vm passed in is a functional context as well.
- // in this case we want to make sure we are able to get a hold to the
- // real context instance.
- contextVm = parent;
- // $flow-disable-line
- parent = parent._original;
- }
- var isCompiled = isTrue(options._compiled);
- var needNormalization = !isCompiled;
- this.data = data;
- this.props = props;
- this.children = children;
- this.parent = parent;
- this.listeners = data.on || emptyObject;
- this.injections = resolveInject(options.inject, parent);
- this.slots = function () {
- if (!this$1.$slots) {
- normalizeScopedSlots(
- data.scopedSlots,
- this$1.$slots = resolveSlots(children, parent)
- );
- }
- return this$1.$slots
- };
- Object.defineProperty(this, 'scopedSlots', ({
- enumerable: true,
- get: function get () {
- return normalizeScopedSlots(data.scopedSlots, this.slots())
- }
- }));
- // support for compiled functional template
- if (isCompiled) {
- // exposing $options for renderStatic()
- this.$options = options;
- // pre-resolve slots for renderSlot()
- this.$slots = this.slots();
- this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
- }
- if (options._scopeId) {
- this._c = function (a, b, c, d) {
- var vnode = createElement(contextVm, a, b, c, d, needNormalization);
- if (vnode && !Array.isArray(vnode)) {
- vnode.fnScopeId = options._scopeId;
- vnode.fnContext = parent;
- }
- return vnode
- };
- } else {
- this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
- }
- }
- installRenderHelpers(FunctionalRenderContext.prototype);
- function createFunctionalComponent (
- Ctor,
- propsData,
- data,
- contextVm,
- children
- ) {
- var options = Ctor.options;
- var props = {};
- var propOptions = options.props;
- if (isDef(propOptions)) {
- for (var key in propOptions) {
- props[key] = validateProp(key, propOptions, propsData || emptyObject);
- }
- } else {
- if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
- if (isDef(data.props)) { mergeProps(props, data.props); }
- }
- var renderContext = new FunctionalRenderContext(
- data,
- props,
- children,
- contextVm,
- Ctor
- );
- var vnode = options.render.call(null, renderContext._c, renderContext);
- if (vnode instanceof VNode) {
- return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
- } else if (Array.isArray(vnode)) {
- var vnodes = normalizeChildren(vnode) || [];
- var res = new Array(vnodes.length);
- for (var i = 0; i < vnodes.length; i++) {
- res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
- }
- return res
- }
- }
- function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
- // #7817 clone node before setting fnContext, otherwise if the node is reused
- // (e.g. it was from a cached normal slot) the fnContext causes named slots
- // that should not be matched to match.
- var clone = cloneVNode(vnode);
- clone.fnContext = contextVm;
- clone.fnOptions = options;
- if (true) {
- (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
- }
- if (data.slot) {
- (clone.data || (clone.data = {})).slot = data.slot;
- }
- return clone
- }
- function mergeProps (to, from) {
- for (var key in from) {
- to[camelize(key)] = from[key];
- }
- }
- /* */
- /* */
- /* */
- /* */
- // inline hooks to be invoked on component VNodes during patch
- var componentVNodeHooks = {
- init: function init (vnode, hydrating) {
- if (
- vnode.componentInstance &&
- !vnode.componentInstance._isDestroyed &&
- vnode.data.keepAlive
- ) {
- // kept-alive components, treat as a patch
- var mountedNode = vnode; // work around flow
- componentVNodeHooks.prepatch(mountedNode, mountedNode);
- } else {
- var child = vnode.componentInstance = createComponentInstanceForVnode(
- vnode,
- activeInstance
- );
- child.$mount(hydrating ? vnode.elm : undefined, hydrating);
- }
- },
- prepatch: function prepatch (oldVnode, vnode) {
- var options = vnode.componentOptions;
- var child = vnode.componentInstance = oldVnode.componentInstance;
- updateChildComponent(
- child,
- options.propsData, // updated props
- options.listeners, // updated listeners
- vnode, // new parent vnode
- options.children // new children
- );
- },
- insert: function insert (vnode) {
- var context = vnode.context;
- var componentInstance = vnode.componentInstance;
- if (!componentInstance._isMounted) {
- callHook(componentInstance, 'onServiceCreated');
- callHook(componentInstance, 'onServiceAttached');
- componentInstance._isMounted = true;
- callHook(componentInstance, 'mounted');
- }
- if (vnode.data.keepAlive) {
- if (context._isMounted) {
- // vue-router#1212
- // During updates, a kept-alive component's child components may
- // change, so directly walking the tree here may call activated hooks
- // on incorrect children. Instead we push them into a queue which will
- // be processed after the whole patch process ended.
- queueActivatedComponent(componentInstance);
- } else {
- activateChildComponent(componentInstance, true /* direct */);
- }
- }
- },
- destroy: function destroy (vnode) {
- var componentInstance = vnode.componentInstance;
- if (!componentInstance._isDestroyed) {
- if (!vnode.data.keepAlive) {
- componentInstance.$destroy();
- } else {
- deactivateChildComponent(componentInstance, true /* direct */);
- }
- }
- }
- };
- var hooksToMerge = Object.keys(componentVNodeHooks);
- function createComponent (
- Ctor,
- data,
- context,
- children,
- tag
- ) {
- if (isUndef(Ctor)) {
- return
- }
- var baseCtor = context.$options._base;
- // plain options object: turn it into a constructor
- if (isObject(Ctor)) {
- Ctor = baseCtor.extend(Ctor);
- }
- // if at this stage it's not a constructor or an async component factory,
- // reject.
- if (typeof Ctor !== 'function') {
- if (true) {
- warn(("Invalid Component definition: " + (String(Ctor))), context);
- }
- return
- }
- // async component
- var asyncFactory;
- if (isUndef(Ctor.cid)) {
- asyncFactory = Ctor;
- Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
- if (Ctor === undefined) {
- // return a placeholder node for async component, which is rendered
- // as a comment node but preserves all the raw information for the node.
- // the information will be used for async server-rendering and hydration.
- return createAsyncPlaceholder(
- asyncFactory,
- data,
- context,
- children,
- tag
- )
- }
- }
- data = data || {};
- // resolve constructor options in case global mixins are applied after
- // component constructor creation
- resolveConstructorOptions(Ctor);
- // transform component v-model data into props & events
- if (isDef(data.model)) {
- transformModel(Ctor.options, data);
- }
- // extract props
- var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
- // functional component
- if (isTrue(Ctor.options.functional)) {
- return createFunctionalComponent(Ctor, propsData, data, context, children)
- }
- // extract listeners, since these needs to be treated as
- // child component listeners instead of DOM listeners
- var listeners = data.on;
- // replace with listeners with .native modifier
- // so it gets processed during parent component patch.
- data.on = data.nativeOn;
- if (isTrue(Ctor.options.abstract)) {
- // abstract components do not keep anything
- // other than props & listeners & slot
- // work around flow
- var slot = data.slot;
- data = {};
- if (slot) {
- data.slot = slot;
- }
- }
- // install component management hooks onto the placeholder node
- installComponentHooks(data);
- // return a placeholder vnode
- var name = Ctor.options.name || tag;
- var vnode = new VNode(
- ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
- data, undefined, undefined, undefined, context,
- { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
- asyncFactory
- );
- return vnode
- }
- function createComponentInstanceForVnode (
- vnode, // we know it's MountedComponentVNode but flow doesn't
- parent // activeInstance in lifecycle state
- ) {
- var options = {
- _isComponent: true,
- _parentVnode: vnode,
- parent: parent
- };
- // check inline-template render functions
- var inlineTemplate = vnode.data.inlineTemplate;
- if (isDef(inlineTemplate)) {
- options.render = inlineTemplate.render;
- options.staticRenderFns = inlineTemplate.staticRenderFns;
- }
- return new vnode.componentOptions.Ctor(options)
- }
- function installComponentHooks (data) {
- var hooks = data.hook || (data.hook = {});
- for (var i = 0; i < hooksToMerge.length; i++) {
- var key = hooksToMerge[i];
- var existing = hooks[key];
- var toMerge = componentVNodeHooks[key];
- if (existing !== toMerge && !(existing && existing._merged)) {
- hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
- }
- }
- }
- function mergeHook$1 (f1, f2) {
- var merged = function (a, b) {
- // flow complains about extra args which is why we use any
- f1(a, b);
- f2(a, b);
- };
- merged._merged = true;
- return merged
- }
- // transform component v-model info (value and callback) into
- // prop and event handler respectively.
- function transformModel (options, data) {
- var prop = (options.model && options.model.prop) || 'value';
- var event = (options.model && options.model.event) || 'input'
- ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
- var on = data.on || (data.on = {});
- var existing = on[event];
- var callback = data.model.callback;
- if (isDef(existing)) {
- if (
- Array.isArray(existing)
- ? existing.indexOf(callback) === -1
- : existing !== callback
- ) {
- on[event] = [callback].concat(existing);
- }
- } else {
- on[event] = callback;
- }
- }
- /* */
- var SIMPLE_NORMALIZE = 1;
- var ALWAYS_NORMALIZE = 2;
- // wrapper function for providing a more flexible interface
- // without getting yelled at by flow
- function createElement (
- context,
- tag,
- data,
- children,
- normalizationType,
- alwaysNormalize
- ) {
- if (Array.isArray(data) || isPrimitive(data)) {
- normalizationType = children;
- children = data;
- data = undefined;
- }
- if (isTrue(alwaysNormalize)) {
- normalizationType = ALWAYS_NORMALIZE;
- }
- return _createElement(context, tag, data, children, normalizationType)
- }
- function _createElement (
- context,
- tag,
- data,
- children,
- normalizationType
- ) {
- if (isDef(data) && isDef((data).__ob__)) {
- true && warn(
- "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
- 'Always create fresh vnode data objects in each render!',
- context
- );
- return createEmptyVNode()
- }
- // object syntax in v-bind
- if (isDef(data) && isDef(data.is)) {
- tag = data.is;
- }
- if (!tag) {
- // in case of component :is set to falsy value
- return createEmptyVNode()
- }
- // warn against non-primitive key
- if ( true &&
- isDef(data) && isDef(data.key) && !isPrimitive(data.key)
- ) {
- {
- warn(
- 'Avoid using non-primitive value as key, ' +
- 'use string/number value instead.',
- context
- );
- }
- }
- // support single function children as default scoped slot
- if (Array.isArray(children) &&
- typeof children[0] === 'function'
- ) {
- data = data || {};
- data.scopedSlots = { default: children[0] };
- children.length = 0;
- }
- if (normalizationType === ALWAYS_NORMALIZE) {
- children = normalizeChildren(children);
- } else if (normalizationType === SIMPLE_NORMALIZE) {
- children = simpleNormalizeChildren(children);
- }
- var vnode, ns;
- if (typeof tag === 'string') {
- var Ctor;
- ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
- if (config.isReservedTag(tag)) {
- // platform built-in elements
- if ( true && isDef(data) && isDef(data.nativeOn)) {
- warn(
- ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
- context
- );
- }
- vnode = new VNode(
- config.parsePlatformTagName(tag), data, children,
- undefined, undefined, context
- );
- } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
- // component
- vnode = createComponent(Ctor, data, context, children, tag);
- } else {
- // unknown or unlisted namespaced elements
- // check at runtime because it may get assigned a namespace when its
- // parent normalizes children
- vnode = new VNode(
- tag, data, children,
- undefined, undefined, context
- );
- }
- } else {
- // direct component options / constructor
- vnode = createComponent(tag, data, context, children);
- }
- if (Array.isArray(vnode)) {
- return vnode
- } else if (isDef(vnode)) {
- if (isDef(ns)) { applyNS(vnode, ns); }
- if (isDef(data)) { registerDeepBindings(data); }
- return vnode
- } else {
- return createEmptyVNode()
- }
- }
- function applyNS (vnode, ns, force) {
- vnode.ns = ns;
- if (vnode.tag === 'foreignObject') {
- // use default namespace inside foreignObject
- ns = undefined;
- force = true;
- }
- if (isDef(vnode.children)) {
- for (var i = 0, l = vnode.children.length; i < l; i++) {
- var child = vnode.children[i];
- if (isDef(child.tag) && (
- isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
- applyNS(child, ns, force);
- }
- }
- }
- }
- // ref #5318
- // necessary to ensure parent re-render when deep bindings like :style and
- // :class are used on slot nodes
- function registerDeepBindings (data) {
- if (isObject(data.style)) {
- traverse(data.style);
- }
- if (isObject(data.class)) {
- traverse(data.class);
- }
- }
- /* */
- function initRender (vm) {
- vm._vnode = null; // the root of the child tree
- vm._staticTrees = null; // v-once cached trees
- var options = vm.$options;
- var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
- var renderContext = parentVnode && parentVnode.context;
- vm.$slots = resolveSlots(options._renderChildren, renderContext);
- vm.$scopedSlots = emptyObject;
- // bind the createElement fn to this instance
- // so that we get proper render context inside it.
- // args order: tag, data, children, normalizationType, alwaysNormalize
- // internal version is used by render functions compiled from templates
- vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
- // normalization is always applied for the public version, used in
- // user-written render functions.
- vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
- // $attrs & $listeners are exposed for easier HOC creation.
- // they need to be reactive so that HOCs using them are always updated
- var parentData = parentVnode && parentVnode.data;
- /* istanbul ignore else */
- if (true) {
- defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
- !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
- }, true);
- defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
- !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
- }, true);
- } else {}
- }
- var currentRenderingInstance = null;
- function renderMixin (Vue) {
- // install runtime convenience helpers
- installRenderHelpers(Vue.prototype);
- Vue.prototype.$nextTick = function (fn) {
- return nextTick(fn, this)
- };
- Vue.prototype._render = function () {
- var vm = this;
- var ref = vm.$options;
- var render = ref.render;
- var _parentVnode = ref._parentVnode;
- if (_parentVnode) {
- vm.$scopedSlots = normalizeScopedSlots(
- _parentVnode.data.scopedSlots,
- vm.$slots,
- vm.$scopedSlots
- );
- }
- // set parent vnode. this allows render functions to have access
- // to the data on the placeholder node.
- vm.$vnode = _parentVnode;
- // render self
- var vnode;
- try {
- // There's no need to maintain a stack because all render fns are called
- // separately from one another. Nested component's render fns are called
- // when parent component is patched.
- currentRenderingInstance = vm;
- vnode = render.call(vm._renderProxy, vm.$createElement);
- } catch (e) {
- handleError(e, vm, "render");
- // return error render result,
- // or previous vnode to prevent render error causing blank component
- /* istanbul ignore else */
- if ( true && vm.$options.renderError) {
- try {
- vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
- } catch (e) {
- handleError(e, vm, "renderError");
- vnode = vm._vnode;
- }
- } else {
- vnode = vm._vnode;
- }
- } finally {
- currentRenderingInstance = null;
- }
- // if the returned array contains only a single node, allow it
- if (Array.isArray(vnode) && vnode.length === 1) {
- vnode = vnode[0];
- }
- // return empty vnode in case the render function errored out
- if (!(vnode instanceof VNode)) {
- if ( true && Array.isArray(vnode)) {
- warn(
- 'Multiple root nodes returned from render function. Render function ' +
- 'should return a single root node.',
- vm
- );
- }
- vnode = createEmptyVNode();
- }
- // set parent
- vnode.parent = _parentVnode;
- return vnode
- };
- }
- /* */
- function ensureCtor (comp, base) {
- if (
- comp.__esModule ||
- (hasSymbol && comp[Symbol.toStringTag] === 'Module')
- ) {
- comp = comp.default;
- }
- return isObject(comp)
- ? base.extend(comp)
- : comp
- }
- function createAsyncPlaceholder (
- factory,
- data,
- context,
- children,
- tag
- ) {
- var node = createEmptyVNode();
- node.asyncFactory = factory;
- node.asyncMeta = { data: data, context: context, children: children, tag: tag };
- return node
- }
- function resolveAsyncComponent (
- factory,
- baseCtor
- ) {
- if (isTrue(factory.error) && isDef(factory.errorComp)) {
- return factory.errorComp
- }
- if (isDef(factory.resolved)) {
- return factory.resolved
- }
- var owner = currentRenderingInstance;
- if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
- // already pending
- factory.owners.push(owner);
- }
- if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
- return factory.loadingComp
- }
- if (owner && !isDef(factory.owners)) {
- var owners = factory.owners = [owner];
- var sync = true;
- var timerLoading = null;
- var timerTimeout = null
- ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
- var forceRender = function (renderCompleted) {
- for (var i = 0, l = owners.length; i < l; i++) {
- (owners[i]).$forceUpdate();
- }
- if (renderCompleted) {
- owners.length = 0;
- if (timerLoading !== null) {
- clearTimeout(timerLoading);
- timerLoading = null;
- }
- if (timerTimeout !== null) {
- clearTimeout(timerTimeout);
- timerTimeout = null;
- }
- }
- };
- var resolve = once(function (res) {
- // cache resolved
- factory.resolved = ensureCtor(res, baseCtor);
- // invoke callbacks only if this is not a synchronous resolve
- // (async resolves are shimmed as synchronous during SSR)
- if (!sync) {
- forceRender(true);
- } else {
- owners.length = 0;
- }
- });
- var reject = once(function (reason) {
- true && warn(
- "Failed to resolve async component: " + (String(factory)) +
- (reason ? ("\nReason: " + reason) : '')
- );
- if (isDef(factory.errorComp)) {
- factory.error = true;
- forceRender(true);
- }
- });
- var res = factory(resolve, reject);
- if (isObject(res)) {
- if (isPromise(res)) {
- // () => Promise
- if (isUndef(factory.resolved)) {
- res.then(resolve, reject);
- }
- } else if (isPromise(res.component)) {
- res.component.then(resolve, reject);
- if (isDef(res.error)) {
- factory.errorComp = ensureCtor(res.error, baseCtor);
- }
- if (isDef(res.loading)) {
- factory.loadingComp = ensureCtor(res.loading, baseCtor);
- if (res.delay === 0) {
- factory.loading = true;
- } else {
- timerLoading = setTimeout(function () {
- timerLoading = null;
- if (isUndef(factory.resolved) && isUndef(factory.error)) {
- factory.loading = true;
- forceRender(false);
- }
- }, res.delay || 200);
- }
- }
- if (isDef(res.timeout)) {
- timerTimeout = setTimeout(function () {
- timerTimeout = null;
- if (isUndef(factory.resolved)) {
- reject(
- true
- ? ("timeout (" + (res.timeout) + "ms)")
- : undefined
- );
- }
- }, res.timeout);
- }
- }
- }
- sync = false;
- // return in case resolved synchronously
- return factory.loading
- ? factory.loadingComp
- : factory.resolved
- }
- }
- /* */
- function isAsyncPlaceholder (node) {
- return node.isComment && node.asyncFactory
- }
- /* */
- function getFirstComponentChild (children) {
- if (Array.isArray(children)) {
- for (var i = 0; i < children.length; i++) {
- var c = children[i];
- if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
- return c
- }
- }
- }
- }
- /* */
- /* */
- function initEvents (vm) {
- vm._events = Object.create(null);
- vm._hasHookEvent = false;
- // init parent attached events
- var listeners = vm.$options._parentListeners;
- if (listeners) {
- updateComponentListeners(vm, listeners);
- }
- }
- var target;
- function add (event, fn) {
- target.$on(event, fn);
- }
- function remove$1 (event, fn) {
- target.$off(event, fn);
- }
- function createOnceHandler (event, fn) {
- var _target = target;
- return function onceHandler () {
- var res = fn.apply(null, arguments);
- if (res !== null) {
- _target.$off(event, onceHandler);
- }
- }
- }
- function updateComponentListeners (
- vm,
- listeners,
- oldListeners
- ) {
- target = vm;
- updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
- target = undefined;
- }
- function eventsMixin (Vue) {
- var hookRE = /^hook:/;
- Vue.prototype.$on = function (event, fn) {
- var vm = this;
- if (Array.isArray(event)) {
- for (var i = 0, l = event.length; i < l; i++) {
- vm.$on(event[i], fn);
- }
- } else {
- (vm._events[event] || (vm._events[event] = [])).push(fn);
- // optimize hook:event cost by using a boolean flag marked at registration
- // instead of a hash lookup
- if (hookRE.test(event)) {
- vm._hasHookEvent = true;
- }
- }
- return vm
- };
- Vue.prototype.$once = function (event, fn) {
- var vm = this;
- function on () {
- vm.$off(event, on);
- fn.apply(vm, arguments);
- }
- on.fn = fn;
- vm.$on(event, on);
- return vm
- };
- Vue.prototype.$off = function (event, fn) {
- var vm = this;
- // all
- if (!arguments.length) {
- vm._events = Object.create(null);
- return vm
- }
- // array of events
- if (Array.isArray(event)) {
- for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
- vm.$off(event[i$1], fn);
- }
- return vm
- }
- // specific event
- var cbs = vm._events[event];
- if (!cbs) {
- return vm
- }
- if (!fn) {
- vm._events[event] = null;
- return vm
- }
- // specific handler
- var cb;
- var i = cbs.length;
- while (i--) {
- cb = cbs[i];
- if (cb === fn || cb.fn === fn) {
- cbs.splice(i, 1);
- break
- }
- }
- return vm
- };
- Vue.prototype.$emit = function (event) {
- var vm = this;
- if (true) {
- var lowerCaseEvent = event.toLowerCase();
- if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
- tip(
- "Event \"" + lowerCaseEvent + "\" is emitted in component " +
- (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
- "Note that HTML attributes are case-insensitive and you cannot use " +
- "v-on to listen to camelCase events when using in-DOM templates. " +
- "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
- );
- }
- }
- var cbs = vm._events[event];
- if (cbs) {
- cbs = cbs.length > 1 ? toArray(cbs) : cbs;
- var args = toArray(arguments, 1);
- var info = "event handler for \"" + event + "\"";
- for (var i = 0, l = cbs.length; i < l; i++) {
- invokeWithErrorHandling(cbs[i], vm, args, vm, info);
- }
- }
- return vm
- };
- }
- /* */
- var activeInstance = null;
- var isUpdatingChildComponent = false;
- function setActiveInstance(vm) {
- var prevActiveInstance = activeInstance;
- activeInstance = vm;
- return function () {
- activeInstance = prevActiveInstance;
- }
- }
- function initLifecycle (vm) {
- var options = vm.$options;
- // locate first non-abstract parent
- var parent = options.parent;
- if (parent && !options.abstract) {
- while (parent.$options.abstract && parent.$parent) {
- parent = parent.$parent;
- }
- parent.$children.push(vm);
- }
- vm.$parent = parent;
- vm.$root = parent ? parent.$root : vm;
- vm.$children = [];
- vm.$refs = {};
- vm._watcher = null;
- vm._inactive = null;
- vm._directInactive = false;
- vm._isMounted = false;
- vm._isDestroyed = false;
- vm._isBeingDestroyed = false;
- }
- function lifecycleMixin (Vue) {
- Vue.prototype._update = function (vnode, hydrating) {
- var vm = this;
- var prevEl = vm.$el;
- var prevVnode = vm._vnode;
- var restoreActiveInstance = setActiveInstance(vm);
- vm._vnode = vnode;
- // Vue.prototype.__patch__ is injected in entry points
- // based on the rendering backend used.
- if (!prevVnode) {
- // initial render
- vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
- } else {
- // updates
- vm.$el = vm.__patch__(prevVnode, vnode);
- }
- restoreActiveInstance();
- // update __vue__ reference
- if (prevEl) {
- prevEl.__vue__ = null;
- }
- if (vm.$el) {
- vm.$el.__vue__ = vm;
- }
- // if parent is an HOC, update its $el as well
- if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
- vm.$parent.$el = vm.$el;
- }
- // updated hook is called by the scheduler to ensure that children are
- // updated in a parent's updated hook.
- };
- Vue.prototype.$forceUpdate = function () {
- var vm = this;
- if (vm._watcher) {
- vm._watcher.update();
- }
- };
- Vue.prototype.$destroy = function () {
- var vm = this;
- if (vm._isBeingDestroyed) {
- return
- }
- callHook(vm, 'beforeDestroy');
- vm._isBeingDestroyed = true;
- // remove self from parent
- var parent = vm.$parent;
- if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
- remove(parent.$children, vm);
- }
- // teardown watchers
- if (vm._watcher) {
- vm._watcher.teardown();
- }
- var i = vm._watchers.length;
- while (i--) {
- vm._watchers[i].teardown();
- }
- // remove reference from data ob
- // frozen object may not have observer.
- if (vm._data.__ob__) {
- vm._data.__ob__.vmCount--;
- }
- // call the last hook...
- vm._isDestroyed = true;
- // invoke destroy hooks on current rendered tree
- vm.__patch__(vm._vnode, null);
- // fire destroyed hook
- callHook(vm, 'destroyed');
- // turn off all instance listeners.
- vm.$off();
- // remove __vue__ reference
- if (vm.$el) {
- vm.$el.__vue__ = null;
- }
- // release circular reference (#6759)
- if (vm.$vnode) {
- vm.$vnode.parent = null;
- }
- };
- }
- function updateChildComponent (
- vm,
- propsData,
- listeners,
- parentVnode,
- renderChildren
- ) {
- if (true) {
- isUpdatingChildComponent = true;
- }
- // determine whether component has slot children
- // we need to do this before overwriting $options._renderChildren.
- // check if there are dynamic scopedSlots (hand-written or compiled but with
- // dynamic slot names). Static scoped slots compiled from template has the
- // "$stable" marker.
- var newScopedSlots = parentVnode.data.scopedSlots;
- var oldScopedSlots = vm.$scopedSlots;
- var hasDynamicScopedSlot = !!(
- (newScopedSlots && !newScopedSlots.$stable) ||
- (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
- (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
- );
- // Any static slot children from the parent may have changed during parent's
- // update. Dynamic scoped slots may also have changed. In such cases, a forced
- // update is necessary to ensure correctness.
- var needsForceUpdate = !!(
- renderChildren || // has new static slots
- vm.$options._renderChildren || // has old static slots
- hasDynamicScopedSlot
- );
- vm.$options._parentVnode = parentVnode;
- vm.$vnode = parentVnode; // update vm's placeholder node without re-render
- if (vm._vnode) { // update child tree's parent
- vm._vnode.parent = parentVnode;
- }
- vm.$options._renderChildren = renderChildren;
- // update $attrs and $listeners hash
- // these are also reactive so they may trigger child update if the child
- // used them during render
- vm.$attrs = parentVnode.data.attrs || emptyObject;
- vm.$listeners = listeners || emptyObject;
- // update props
- if (propsData && vm.$options.props) {
- toggleObserving(false);
- var props = vm._props;
- var propKeys = vm.$options._propKeys || [];
- for (var i = 0; i < propKeys.length; i++) {
- var key = propKeys[i];
- var propOptions = vm.$options.props; // wtf flow?
- props[key] = validateProp(key, propOptions, propsData, vm);
- }
- toggleObserving(true);
- // keep a copy of raw propsData
- vm.$options.propsData = propsData;
- }
-
- // fixed by xxxxxx update properties(mp runtime)
- vm._$updateProperties && vm._$updateProperties(vm);
-
- // update listeners
- listeners = listeners || emptyObject;
- var oldListeners = vm.$options._parentListeners;
- vm.$options._parentListeners = listeners;
- updateComponentListeners(vm, listeners, oldListeners);
- // resolve slots + force update if has children
- if (needsForceUpdate) {
- vm.$slots = resolveSlots(renderChildren, parentVnode.context);
- vm.$forceUpdate();
- }
- if (true) {
- isUpdatingChildComponent = false;
- }
- }
- function isInInactiveTree (vm) {
- while (vm && (vm = vm.$parent)) {
- if (vm._inactive) { return true }
- }
- return false
- }
- function activateChildComponent (vm, direct) {
- if (direct) {
- vm._directInactive = false;
- if (isInInactiveTree(vm)) {
- return
- }
- } else if (vm._directInactive) {
- return
- }
- if (vm._inactive || vm._inactive === null) {
- vm._inactive = false;
- for (var i = 0; i < vm.$children.length; i++) {
- activateChildComponent(vm.$children[i]);
- }
- callHook(vm, 'activated');
- }
- }
- function deactivateChildComponent (vm, direct) {
- if (direct) {
- vm._directInactive = true;
- if (isInInactiveTree(vm)) {
- return
- }
- }
- if (!vm._inactive) {
- vm._inactive = true;
- for (var i = 0; i < vm.$children.length; i++) {
- deactivateChildComponent(vm.$children[i]);
- }
- callHook(vm, 'deactivated');
- }
- }
- function callHook (vm, hook) {
- // #7573 disable dep collection when invoking lifecycle hooks
- pushTarget();
- var handlers = vm.$options[hook];
- var info = hook + " hook";
- if (handlers) {
- for (var i = 0, j = handlers.length; i < j; i++) {
- invokeWithErrorHandling(handlers[i], vm, null, vm, info);
- }
- }
- if (vm._hasHookEvent) {
- vm.$emit('hook:' + hook);
- }
- popTarget();
- }
- /* */
- var MAX_UPDATE_COUNT = 100;
- var queue = [];
- var activatedChildren = [];
- var has = {};
- var circular = {};
- var waiting = false;
- var flushing = false;
- var index = 0;
- /**
- * Reset the scheduler's state.
- */
- function resetSchedulerState () {
- index = queue.length = activatedChildren.length = 0;
- has = {};
- if (true) {
- circular = {};
- }
- waiting = flushing = false;
- }
- // Async edge case #6566 requires saving the timestamp when event listeners are
- // attached. However, calling performance.now() has a perf overhead especially
- // if the page has thousands of event listeners. Instead, we take a timestamp
- // every time the scheduler flushes and use that for all event listeners
- // attached during that flush.
- var currentFlushTimestamp = 0;
- // Async edge case fix requires storing an event listener's attach timestamp.
- var getNow = Date.now;
- // Determine what event timestamp the browser is using. Annoyingly, the
- // timestamp can either be hi-res (relative to page load) or low-res
- // (relative to UNIX epoch), so in order to compare time we have to use the
- // same timestamp type when saving the flush timestamp.
- // All IE versions use low-res event timestamps, and have problematic clock
- // implementations (#9632)
- if (inBrowser && !isIE) {
- var performance = window.performance;
- if (
- performance &&
- typeof performance.now === 'function' &&
- getNow() > document.createEvent('Event').timeStamp
- ) {
- // if the event timestamp, although evaluated AFTER the Date.now(), is
- // smaller than it, it means the event is using a hi-res timestamp,
- // and we need to use the hi-res version for event listener timestamps as
- // well.
- getNow = function () { return performance.now(); };
- }
- }
- /**
- * Flush both queues and run the watchers.
- */
- function flushSchedulerQueue () {
- currentFlushTimestamp = getNow();
- flushing = true;
- var watcher, id;
- // Sort queue before flush.
- // This ensures that:
- // 1. Components are updated from parent to child. (because parent is always
- // created before the child)
- // 2. A component's user watchers are run before its render watcher (because
- // user watchers are created before the render watcher)
- // 3. If a component is destroyed during a parent component's watcher run,
- // its watchers can be skipped.
- queue.sort(function (a, b) { return a.id - b.id; });
- // do not cache length because more watchers might be pushed
- // as we run existing watchers
- for (index = 0; index < queue.length; index++) {
- watcher = queue[index];
- if (watcher.before) {
- watcher.before();
- }
- id = watcher.id;
- has[id] = null;
- watcher.run();
- // in dev build, check and stop circular updates.
- if ( true && has[id] != null) {
- circular[id] = (circular[id] || 0) + 1;
- if (circular[id] > MAX_UPDATE_COUNT) {
- warn(
- 'You may have an infinite update loop ' + (
- watcher.user
- ? ("in watcher with expression \"" + (watcher.expression) + "\"")
- : "in a component render function."
- ),
- watcher.vm
- );
- break
- }
- }
- }
- // keep copies of post queues before resetting state
- var activatedQueue = activatedChildren.slice();
- var updatedQueue = queue.slice();
- resetSchedulerState();
- // call component updated and activated hooks
- callActivatedHooks(activatedQueue);
- callUpdatedHooks(updatedQueue);
- // devtool hook
- /* istanbul ignore if */
- if (devtools && config.devtools) {
- devtools.emit('flush');
- }
- }
- function callUpdatedHooks (queue) {
- var i = queue.length;
- while (i--) {
- var watcher = queue[i];
- var vm = watcher.vm;
- if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
- callHook(vm, 'updated');
- }
- }
- }
- /**
- * Queue a kept-alive component that was activated during patch.
- * The queue will be processed after the entire tree has been patched.
- */
- function queueActivatedComponent (vm) {
- // setting _inactive to false here so that a render function can
- // rely on checking whether it's in an inactive tree (e.g. router-view)
- vm._inactive = false;
- activatedChildren.push(vm);
- }
- function callActivatedHooks (queue) {
- for (var i = 0; i < queue.length; i++) {
- queue[i]._inactive = true;
- activateChildComponent(queue[i], true /* true */);
- }
- }
- /**
- * Push a watcher into the watcher queue.
- * Jobs with duplicate IDs will be skipped unless it's
- * pushed when the queue is being flushed.
- */
- function queueWatcher (watcher) {
- var id = watcher.id;
- if (has[id] == null) {
- has[id] = true;
- if (!flushing) {
- queue.push(watcher);
- } else {
- // if already flushing, splice the watcher based on its id
- // if already past its id, it will be run next immediately.
- var i = queue.length - 1;
- while (i > index && queue[i].id > watcher.id) {
- i--;
- }
- queue.splice(i + 1, 0, watcher);
- }
- // queue the flush
- if (!waiting) {
- waiting = true;
- if ( true && !config.async) {
- flushSchedulerQueue();
- return
- }
- nextTick(flushSchedulerQueue);
- }
- }
- }
- /* */
- var uid$2 = 0;
- /**
- * A watcher parses an expression, collects dependencies,
- * and fires callback when the expression value changes.
- * This is used for both the $watch() api and directives.
- */
- var Watcher = function Watcher (
- vm,
- expOrFn,
- cb,
- options,
- isRenderWatcher
- ) {
- this.vm = vm;
- if (isRenderWatcher) {
- vm._watcher = this;
- }
- vm._watchers.push(this);
- // options
- if (options) {
- this.deep = !!options.deep;
- this.user = !!options.user;
- this.lazy = !!options.lazy;
- this.sync = !!options.sync;
- this.before = options.before;
- } else {
- this.deep = this.user = this.lazy = this.sync = false;
- }
- this.cb = cb;
- this.id = ++uid$2; // uid for batching
- this.active = true;
- this.dirty = this.lazy; // for lazy watchers
- this.deps = [];
- this.newDeps = [];
- this.depIds = new _Set();
- this.newDepIds = new _Set();
- this.expression = true
- ? expOrFn.toString()
- : undefined;
- // parse expression for getter
- if (typeof expOrFn === 'function') {
- this.getter = expOrFn;
- } else {
- this.getter = parsePath(expOrFn);
- if (!this.getter) {
- this.getter = noop;
- true && warn(
- "Failed watching path: \"" + expOrFn + "\" " +
- 'Watcher only accepts simple dot-delimited paths. ' +
- 'For full control, use a function instead.',
- vm
- );
- }
- }
- this.value = this.lazy
- ? undefined
- : this.get();
- };
- /**
- * Evaluate the getter, and re-collect dependencies.
- */
- Watcher.prototype.get = function get () {
- pushTarget(this);
- var value;
- var vm = this.vm;
- try {
- value = this.getter.call(vm, vm);
- } catch (e) {
- if (this.user) {
- handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
- } else {
- throw e
- }
- } finally {
- // "touch" every property so they are all tracked as
- // dependencies for deep watching
- if (this.deep) {
- traverse(value);
- }
- popTarget();
- this.cleanupDeps();
- }
- return value
- };
- /**
- * Add a dependency to this directive.
- */
- Watcher.prototype.addDep = function addDep (dep) {
- var id = dep.id;
- if (!this.newDepIds.has(id)) {
- this.newDepIds.add(id);
- this.newDeps.push(dep);
- if (!this.depIds.has(id)) {
- dep.addSub(this);
- }
- }
- };
- /**
- * Clean up for dependency collection.
- */
- Watcher.prototype.cleanupDeps = function cleanupDeps () {
- var i = this.deps.length;
- while (i--) {
- var dep = this.deps[i];
- if (!this.newDepIds.has(dep.id)) {
- dep.removeSub(this);
- }
- }
- var tmp = this.depIds;
- this.depIds = this.newDepIds;
- this.newDepIds = tmp;
- this.newDepIds.clear();
- tmp = this.deps;
- this.deps = this.newDeps;
- this.newDeps = tmp;
- this.newDeps.length = 0;
- };
- /**
- * Subscriber interface.
- * Will be called when a dependency changes.
- */
- Watcher.prototype.update = function update () {
- /* istanbul ignore else */
- if (this.lazy) {
- this.dirty = true;
- } else if (this.sync) {
- this.run();
- } else {
- queueWatcher(this);
- }
- };
- /**
- * Scheduler job interface.
- * Will be called by the scheduler.
- */
- Watcher.prototype.run = function run () {
- if (this.active) {
- var value = this.get();
- if (
- value !== this.value ||
- // Deep watchers and watchers on Object/Arrays should fire even
- // when the value is the same, because the value may
- // have mutated.
- isObject(value) ||
- this.deep
- ) {
- // set new value
- var oldValue = this.value;
- this.value = value;
- if (this.user) {
- try {
- this.cb.call(this.vm, value, oldValue);
- } catch (e) {
- handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
- }
- } else {
- this.cb.call(this.vm, value, oldValue);
- }
- }
- }
- };
- /**
- * Evaluate the value of the watcher.
- * This only gets called for lazy watchers.
- */
- Watcher.prototype.evaluate = function evaluate () {
- this.value = this.get();
- this.dirty = false;
- };
- /**
- * Depend on all deps collected by this watcher.
- */
- Watcher.prototype.depend = function depend () {
- var i = this.deps.length;
- while (i--) {
- this.deps[i].depend();
- }
- };
- /**
- * Remove self from all dependencies' subscriber list.
- */
- Watcher.prototype.teardown = function teardown () {
- if (this.active) {
- // remove self from vm's watcher list
- // this is a somewhat expensive operation so we skip it
- // if the vm is being destroyed.
- if (!this.vm._isBeingDestroyed) {
- remove(this.vm._watchers, this);
- }
- var i = this.deps.length;
- while (i--) {
- this.deps[i].removeSub(this);
- }
- this.active = false;
- }
- };
- /* */
- var sharedPropertyDefinition = {
- enumerable: true,
- configurable: true,
- get: noop,
- set: noop
- };
- function proxy (target, sourceKey, key) {
- sharedPropertyDefinition.get = function proxyGetter () {
- return this[sourceKey][key]
- };
- sharedPropertyDefinition.set = function proxySetter (val) {
- this[sourceKey][key] = val;
- };
- Object.defineProperty(target, key, sharedPropertyDefinition);
- }
- function initState (vm) {
- vm._watchers = [];
- var opts = vm.$options;
- if (opts.props) { initProps(vm, opts.props); }
- if (opts.methods) { initMethods(vm, opts.methods); }
- if (opts.data) {
- initData(vm);
- } else {
- observe(vm._data = {}, true /* asRootData */);
- }
- if (opts.computed) { initComputed(vm, opts.computed); }
- if (opts.watch && opts.watch !== nativeWatch) {
- initWatch(vm, opts.watch);
- }
- }
- function initProps (vm, propsOptions) {
- var propsData = vm.$options.propsData || {};
- var props = vm._props = {};
- // cache prop keys so that future props updates can iterate using Array
- // instead of dynamic object key enumeration.
- var keys = vm.$options._propKeys = [];
- var isRoot = !vm.$parent;
- // root instance props should be converted
- if (!isRoot) {
- toggleObserving(false);
- }
- var loop = function ( key ) {
- keys.push(key);
- var value = validateProp(key, propsOptions, propsData, vm);
- /* istanbul ignore else */
- if (true) {
- var hyphenatedKey = hyphenate(key);
- if (isReservedAttribute(hyphenatedKey) ||
- config.isReservedAttr(hyphenatedKey)) {
- warn(
- ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
- vm
- );
- }
- defineReactive$$1(props, key, value, function () {
- if (!isRoot && !isUpdatingChildComponent) {
- {
- if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
- return
- }
- //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
- if(
- key === 'value' &&
- Array.isArray(vm.$options.behaviors) &&
- vm.$options.behaviors.indexOf('uni://form-field') !== -1
- ){
- return
- }
- if(vm._getFormData){
- return
- }
- var $parent = vm.$parent;
- while($parent){
- if($parent.__next_tick_pending){
- return
- }
- $parent = $parent.$parent;
- }
- }
- warn(
- "Avoid mutating a prop directly since the value will be " +
- "overwritten whenever the parent component re-renders. " +
- "Instead, use a data or computed property based on the prop's " +
- "value. Prop being mutated: \"" + key + "\"",
- vm
- );
- }
- });
- } else {}
- // static props are already proxied on the component's prototype
- // during Vue.extend(). We only need to proxy props defined at
- // instantiation here.
- if (!(key in vm)) {
- proxy(vm, "_props", key);
- }
- };
- for (var key in propsOptions) loop( key );
- toggleObserving(true);
- }
- function initData (vm) {
- var data = vm.$options.data;
- data = vm._data = typeof data === 'function'
- ? getData(data, vm)
- : data || {};
- if (!isPlainObject(data)) {
- data = {};
- true && warn(
- 'data functions should return an object:\n' +
- 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
- vm
- );
- }
- // proxy data on instance
- var keys = Object.keys(data);
- var props = vm.$options.props;
- var methods = vm.$options.methods;
- var i = keys.length;
- while (i--) {
- var key = keys[i];
- if (true) {
- if (methods && hasOwn(methods, key)) {
- warn(
- ("Method \"" + key + "\" has already been defined as a data property."),
- vm
- );
- }
- }
- if (props && hasOwn(props, key)) {
- true && warn(
- "The data property \"" + key + "\" is already declared as a prop. " +
- "Use prop default value instead.",
- vm
- );
- } else if (!isReserved(key)) {
- proxy(vm, "_data", key);
- }
- }
- // observe data
- observe(data, true /* asRootData */);
- }
- function getData (data, vm) {
- // #7573 disable dep collection when invoking data getters
- pushTarget();
- try {
- return data.call(vm, vm)
- } catch (e) {
- handleError(e, vm, "data()");
- return {}
- } finally {
- popTarget();
- }
- }
- var computedWatcherOptions = { lazy: true };
- function initComputed (vm, computed) {
- // $flow-disable-line
- var watchers = vm._computedWatchers = Object.create(null);
- // computed properties are just getters during SSR
- var isSSR = isServerRendering();
- for (var key in computed) {
- var userDef = computed[key];
- var getter = typeof userDef === 'function' ? userDef : userDef.get;
- if ( true && getter == null) {
- warn(
- ("Getter is missing for computed property \"" + key + "\"."),
- vm
- );
- }
- if (!isSSR) {
- // create internal watcher for the computed property.
- watchers[key] = new Watcher(
- vm,
- getter || noop,
- noop,
- computedWatcherOptions
- );
- }
- // component-defined computed properties are already defined on the
- // component prototype. We only need to define computed properties defined
- // at instantiation here.
- if (!(key in vm)) {
- defineComputed(vm, key, userDef);
- } else if (true) {
- if (key in vm.$data) {
- warn(("The computed property \"" + key + "\" is already defined in data."), vm);
- } else if (vm.$options.props && key in vm.$options.props) {
- warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
- }
- }
- }
- }
- function defineComputed (
- target,
- key,
- userDef
- ) {
- var shouldCache = !isServerRendering();
- if (typeof userDef === 'function') {
- sharedPropertyDefinition.get = shouldCache
- ? createComputedGetter(key)
- : createGetterInvoker(userDef);
- sharedPropertyDefinition.set = noop;
- } else {
- sharedPropertyDefinition.get = userDef.get
- ? shouldCache && userDef.cache !== false
- ? createComputedGetter(key)
- : createGetterInvoker(userDef.get)
- : noop;
- sharedPropertyDefinition.set = userDef.set || noop;
- }
- if ( true &&
- sharedPropertyDefinition.set === noop) {
- sharedPropertyDefinition.set = function () {
- warn(
- ("Computed property \"" + key + "\" was assigned to but it has no setter."),
- this
- );
- };
- }
- Object.defineProperty(target, key, sharedPropertyDefinition);
- }
- function createComputedGetter (key) {
- return function computedGetter () {
- var watcher = this._computedWatchers && this._computedWatchers[key];
- if (watcher) {
- if (watcher.dirty) {
- watcher.evaluate();
- }
- if (Dep.SharedObject.target) {// fixed by xxxxxx
- watcher.depend();
- }
- return watcher.value
- }
- }
- }
- function createGetterInvoker(fn) {
- return function computedGetter () {
- return fn.call(this, this)
- }
- }
- function initMethods (vm, methods) {
- var props = vm.$options.props;
- for (var key in methods) {
- if (true) {
- if (typeof methods[key] !== 'function') {
- warn(
- "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
- "Did you reference the function correctly?",
- vm
- );
- }
- if (props && hasOwn(props, key)) {
- warn(
- ("Method \"" + key + "\" has already been defined as a prop."),
- vm
- );
- }
- if ((key in vm) && isReserved(key)) {
- warn(
- "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
- "Avoid defining component methods that start with _ or $."
- );
- }
- }
- vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
- }
- }
- function initWatch (vm, watch) {
- for (var key in watch) {
- var handler = watch[key];
- if (Array.isArray(handler)) {
- for (var i = 0; i < handler.length; i++) {
- createWatcher(vm, key, handler[i]);
- }
- } else {
- createWatcher(vm, key, handler);
- }
- }
- }
- function createWatcher (
- vm,
- expOrFn,
- handler,
- options
- ) {
- if (isPlainObject(handler)) {
- options = handler;
- handler = handler.handler;
- }
- if (typeof handler === 'string') {
- handler = vm[handler];
- }
- return vm.$watch(expOrFn, handler, options)
- }
- function stateMixin (Vue) {
- // flow somehow has problems with directly declared definition object
- // when using Object.defineProperty, so we have to procedurally build up
- // the object here.
- var dataDef = {};
- dataDef.get = function () { return this._data };
- var propsDef = {};
- propsDef.get = function () { return this._props };
- if (true) {
- dataDef.set = function () {
- warn(
- 'Avoid replacing instance root $data. ' +
- 'Use nested data properties instead.',
- this
- );
- };
- propsDef.set = function () {
- warn("$props is readonly.", this);
- };
- }
- Object.defineProperty(Vue.prototype, '$data', dataDef);
- Object.defineProperty(Vue.prototype, '$props', propsDef);
- Vue.prototype.$set = set;
- Vue.prototype.$delete = del;
- Vue.prototype.$watch = function (
- expOrFn,
- cb,
- options
- ) {
- var vm = this;
- if (isPlainObject(cb)) {
- return createWatcher(vm, expOrFn, cb, options)
- }
- options = options || {};
- options.user = true;
- var watcher = new Watcher(vm, expOrFn, cb, options);
- if (options.immediate) {
- try {
- cb.call(vm, watcher.value);
- } catch (error) {
- handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
- }
- }
- return function unwatchFn () {
- watcher.teardown();
- }
- };
- }
- /* */
- var uid$3 = 0;
- function initMixin (Vue) {
- Vue.prototype._init = function (options) {
- var vm = this;
- // a uid
- vm._uid = uid$3++;
- var startTag, endTag;
- /* istanbul ignore if */
- if ( true && config.performance && mark) {
- startTag = "vue-perf-start:" + (vm._uid);
- endTag = "vue-perf-end:" + (vm._uid);
- mark(startTag);
- }
- // a flag to avoid this being observed
- vm._isVue = true;
- // merge options
- if (options && options._isComponent) {
- // optimize internal component instantiation
- // since dynamic options merging is pretty slow, and none of the
- // internal component options needs special treatment.
- initInternalComponent(vm, options);
- } else {
- vm.$options = mergeOptions(
- resolveConstructorOptions(vm.constructor),
- options || {},
- vm
- );
- }
- /* istanbul ignore else */
- if (true) {
- initProxy(vm);
- } else {}
- // expose real self
- vm._self = vm;
- initLifecycle(vm);
- initEvents(vm);
- initRender(vm);
- callHook(vm, 'beforeCreate');
- !vm._$fallback && initInjections(vm); // resolve injections before data/props
- initState(vm);
- !vm._$fallback && initProvide(vm); // resolve provide after data/props
- !vm._$fallback && callHook(vm, 'created');
- /* istanbul ignore if */
- if ( true && config.performance && mark) {
- vm._name = formatComponentName(vm, false);
- mark(endTag);
- measure(("vue " + (vm._name) + " init"), startTag, endTag);
- }
- if (vm.$options.el) {
- vm.$mount(vm.$options.el);
- }
- };
- }
- function initInternalComponent (vm, options) {
- var opts = vm.$options = Object.create(vm.constructor.options);
- // doing this because it's faster than dynamic enumeration.
- var parentVnode = options._parentVnode;
- opts.parent = options.parent;
- opts._parentVnode = parentVnode;
- var vnodeComponentOptions = parentVnode.componentOptions;
- opts.propsData = vnodeComponentOptions.propsData;
- opts._parentListeners = vnodeComponentOptions.listeners;
- opts._renderChildren = vnodeComponentOptions.children;
- opts._componentTag = vnodeComponentOptions.tag;
- if (options.render) {
- opts.render = options.render;
- opts.staticRenderFns = options.staticRenderFns;
- }
- }
- function resolveConstructorOptions (Ctor) {
- var options = Ctor.options;
- if (Ctor.super) {
- var superOptions = resolveConstructorOptions(Ctor.super);
- var cachedSuperOptions = Ctor.superOptions;
- if (superOptions !== cachedSuperOptions) {
- // super option changed,
- // need to resolve new options.
- Ctor.superOptions = superOptions;
- // check if there are any late-modified/attached options (#4976)
- var modifiedOptions = resolveModifiedOptions(Ctor);
- // update base extend options
- if (modifiedOptions) {
- extend(Ctor.extendOptions, modifiedOptions);
- }
- options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
- if (options.name) {
- options.components[options.name] = Ctor;
- }
- }
- }
- return options
- }
- function resolveModifiedOptions (Ctor) {
- var modified;
- var latest = Ctor.options;
- var sealed = Ctor.sealedOptions;
- for (var key in latest) {
- if (latest[key] !== sealed[key]) {
- if (!modified) { modified = {}; }
- modified[key] = latest[key];
- }
- }
- return modified
- }
- function Vue (options) {
- if ( true &&
- !(this instanceof Vue)
- ) {
- warn('Vue is a constructor and should be called with the `new` keyword');
- }
- this._init(options);
- }
- initMixin(Vue);
- stateMixin(Vue);
- eventsMixin(Vue);
- lifecycleMixin(Vue);
- renderMixin(Vue);
- /* */
- function initUse (Vue) {
- Vue.use = function (plugin) {
- var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
- if (installedPlugins.indexOf(plugin) > -1) {
- return this
- }
- // additional parameters
- var args = toArray(arguments, 1);
- args.unshift(this);
- if (typeof plugin.install === 'function') {
- plugin.install.apply(plugin, args);
- } else if (typeof plugin === 'function') {
- plugin.apply(null, args);
- }
- installedPlugins.push(plugin);
- return this
- };
- }
- /* */
- function initMixin$1 (Vue) {
- Vue.mixin = function (mixin) {
- this.options = mergeOptions(this.options, mixin);
- return this
- };
- }
- /* */
- function initExtend (Vue) {
- /**
- * Each instance constructor, including Vue, has a unique
- * cid. This enables us to create wrapped "child
- * constructors" for prototypal inheritance and cache them.
- */
- Vue.cid = 0;
- var cid = 1;
- /**
- * Class inheritance
- */
- Vue.extend = function (extendOptions) {
- extendOptions = extendOptions || {};
- var Super = this;
- var SuperId = Super.cid;
- var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
- if (cachedCtors[SuperId]) {
- return cachedCtors[SuperId]
- }
- var name = extendOptions.name || Super.options.name;
- if ( true && name) {
- validateComponentName(name);
- }
- var Sub = function VueComponent (options) {
- this._init(options);
- };
- Sub.prototype = Object.create(Super.prototype);
- Sub.prototype.constructor = Sub;
- Sub.cid = cid++;
- Sub.options = mergeOptions(
- Super.options,
- extendOptions
- );
- Sub['super'] = Super;
- // For props and computed properties, we define the proxy getters on
- // the Vue instances at extension time, on the extended prototype. This
- // avoids Object.defineProperty calls for each instance created.
- if (Sub.options.props) {
- initProps$1(Sub);
- }
- if (Sub.options.computed) {
- initComputed$1(Sub);
- }
- // allow further extension/mixin/plugin usage
- Sub.extend = Super.extend;
- Sub.mixin = Super.mixin;
- Sub.use = Super.use;
- // create asset registers, so extended classes
- // can have their private assets too.
- ASSET_TYPES.forEach(function (type) {
- Sub[type] = Super[type];
- });
- // enable recursive self-lookup
- if (name) {
- Sub.options.components[name] = Sub;
- }
- // keep a reference to the super options at extension time.
- // later at instantiation we can check if Super's options have
- // been updated.
- Sub.superOptions = Super.options;
- Sub.extendOptions = extendOptions;
- Sub.sealedOptions = extend({}, Sub.options);
- // cache constructor
- cachedCtors[SuperId] = Sub;
- return Sub
- };
- }
- function initProps$1 (Comp) {
- var props = Comp.options.props;
- for (var key in props) {
- proxy(Comp.prototype, "_props", key);
- }
- }
- function initComputed$1 (Comp) {
- var computed = Comp.options.computed;
- for (var key in computed) {
- defineComputed(Comp.prototype, key, computed[key]);
- }
- }
- /* */
- function initAssetRegisters (Vue) {
- /**
- * Create asset registration methods.
- */
- ASSET_TYPES.forEach(function (type) {
- Vue[type] = function (
- id,
- definition
- ) {
- if (!definition) {
- return this.options[type + 's'][id]
- } else {
- /* istanbul ignore if */
- if ( true && type === 'component') {
- validateComponentName(id);
- }
- if (type === 'component' && isPlainObject(definition)) {
- definition.name = definition.name || id;
- definition = this.options._base.extend(definition);
- }
- if (type === 'directive' && typeof definition === 'function') {
- definition = { bind: definition, update: definition };
- }
- this.options[type + 's'][id] = definition;
- return definition
- }
- };
- });
- }
- /* */
- function getComponentName (opts) {
- return opts && (opts.Ctor.options.name || opts.tag)
- }
- function matches (pattern, name) {
- if (Array.isArray(pattern)) {
- return pattern.indexOf(name) > -1
- } else if (typeof pattern === 'string') {
- return pattern.split(',').indexOf(name) > -1
- } else if (isRegExp(pattern)) {
- return pattern.test(name)
- }
- /* istanbul ignore next */
- return false
- }
- function pruneCache (keepAliveInstance, filter) {
- var cache = keepAliveInstance.cache;
- var keys = keepAliveInstance.keys;
- var _vnode = keepAliveInstance._vnode;
- for (var key in cache) {
- var cachedNode = cache[key];
- if (cachedNode) {
- var name = getComponentName(cachedNode.componentOptions);
- if (name && !filter(name)) {
- pruneCacheEntry(cache, key, keys, _vnode);
- }
- }
- }
- }
- function pruneCacheEntry (
- cache,
- key,
- keys,
- current
- ) {
- var cached$$1 = cache[key];
- if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
- cached$$1.componentInstance.$destroy();
- }
- cache[key] = null;
- remove(keys, key);
- }
- var patternTypes = [String, RegExp, Array];
- var KeepAlive = {
- name: 'keep-alive',
- abstract: true,
- props: {
- include: patternTypes,
- exclude: patternTypes,
- max: [String, Number]
- },
- created: function created () {
- this.cache = Object.create(null);
- this.keys = [];
- },
- destroyed: function destroyed () {
- for (var key in this.cache) {
- pruneCacheEntry(this.cache, key, this.keys);
- }
- },
- mounted: function mounted () {
- var this$1 = this;
- this.$watch('include', function (val) {
- pruneCache(this$1, function (name) { return matches(val, name); });
- });
- this.$watch('exclude', function (val) {
- pruneCache(this$1, function (name) { return !matches(val, name); });
- });
- },
- render: function render () {
- var slot = this.$slots.default;
- var vnode = getFirstComponentChild(slot);
- var componentOptions = vnode && vnode.componentOptions;
- if (componentOptions) {
- // check pattern
- var name = getComponentName(componentOptions);
- var ref = this;
- var include = ref.include;
- var exclude = ref.exclude;
- if (
- // not included
- (include && (!name || !matches(include, name))) ||
- // excluded
- (exclude && name && matches(exclude, name))
- ) {
- return vnode
- }
- var ref$1 = this;
- var cache = ref$1.cache;
- var keys = ref$1.keys;
- var key = vnode.key == null
- // same constructor may get registered as different local components
- // so cid alone is not enough (#3269)
- ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
- : vnode.key;
- if (cache[key]) {
- vnode.componentInstance = cache[key].componentInstance;
- // make current key freshest
- remove(keys, key);
- keys.push(key);
- } else {
- cache[key] = vnode;
- keys.push(key);
- // prune oldest entry
- if (this.max && keys.length > parseInt(this.max)) {
- pruneCacheEntry(cache, keys[0], keys, this._vnode);
- }
- }
- vnode.data.keepAlive = true;
- }
- return vnode || (slot && slot[0])
- }
- };
- var builtInComponents = {
- KeepAlive: KeepAlive
- };
- /* */
- function initGlobalAPI (Vue) {
- // config
- var configDef = {};
- configDef.get = function () { return config; };
- if (true) {
- configDef.set = function () {
- warn(
- 'Do not replace the Vue.config object, set individual fields instead.'
- );
- };
- }
- Object.defineProperty(Vue, 'config', configDef);
- // exposed util methods.
- // NOTE: these are not considered part of the public API - avoid relying on
- // them unless you are aware of the risk.
- Vue.util = {
- warn: warn,
- extend: extend,
- mergeOptions: mergeOptions,
- defineReactive: defineReactive$$1
- };
- Vue.set = set;
- Vue.delete = del;
- Vue.nextTick = nextTick;
- // 2.6 explicit observable API
- Vue.observable = function (obj) {
- observe(obj);
- return obj
- };
- Vue.options = Object.create(null);
- ASSET_TYPES.forEach(function (type) {
- Vue.options[type + 's'] = Object.create(null);
- });
- // this is used to identify the "base" constructor to extend all plain-object
- // components with in Weex's multi-instance scenarios.
- Vue.options._base = Vue;
- extend(Vue.options.components, builtInComponents);
- initUse(Vue);
- initMixin$1(Vue);
- initExtend(Vue);
- initAssetRegisters(Vue);
- }
- initGlobalAPI(Vue);
- Object.defineProperty(Vue.prototype, '$isServer', {
- get: isServerRendering
- });
- Object.defineProperty(Vue.prototype, '$ssrContext', {
- get: function get () {
- /* istanbul ignore next */
- return this.$vnode && this.$vnode.ssrContext
- }
- });
- // expose FunctionalRenderContext for ssr runtime helper installation
- Object.defineProperty(Vue, 'FunctionalRenderContext', {
- value: FunctionalRenderContext
- });
- Vue.version = '2.6.11';
- /**
- * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
- */
- var ARRAYTYPE = '[object Array]';
- var OBJECTTYPE = '[object Object]';
- // const FUNCTIONTYPE = '[object Function]'
- function diff(current, pre) {
- var result = {};
- syncKeys(current, pre);
- _diff(current, pre, '', result);
- return result
- }
- function syncKeys(current, pre) {
- if (current === pre) { return }
- var rootCurrentType = type(current);
- var rootPreType = type(pre);
- if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
- if(Object.keys(current).length >= Object.keys(pre).length){
- for (var key in pre) {
- var currentValue = current[key];
- if (currentValue === undefined) {
- current[key] = null;
- } else {
- syncKeys(currentValue, pre[key]);
- }
- }
- }
- } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
- if (current.length >= pre.length) {
- pre.forEach(function (item, index) {
- syncKeys(current[index], item);
- });
- }
- }
- }
- function _diff(current, pre, path, result) {
- if (current === pre) { return }
- var rootCurrentType = type(current);
- var rootPreType = type(pre);
- if (rootCurrentType == OBJECTTYPE) {
- if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
- setResult(result, path, current);
- } else {
- var loop = function ( key ) {
- var currentValue = current[key];
- var preValue = pre[key];
- var currentType = type(currentValue);
- var preType = type(preValue);
- if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
- if (currentValue !== pre[key]) {
- setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
- }
- } else if (currentType == ARRAYTYPE) {
- if (preType != ARRAYTYPE) {
- setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
- } else {
- if (currentValue.length < preValue.length) {
- setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
- } else {
- currentValue.forEach(function (item, index) {
- _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
- });
- }
- }
- } else if (currentType == OBJECTTYPE) {
- if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
- setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
- } else {
- for (var subKey in currentValue) {
- _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
- }
- }
- }
- };
- for (var key in current) loop( key );
- }
- } else if (rootCurrentType == ARRAYTYPE) {
- if (rootPreType != ARRAYTYPE) {
- setResult(result, path, current);
- } else {
- if (current.length < pre.length) {
- setResult(result, path, current);
- } else {
- current.forEach(function (item, index) {
- _diff(item, pre[index], path + '[' + index + ']', result);
- });
- }
- }
- } else {
- setResult(result, path, current);
- }
- }
- function setResult(result, k, v) {
- // if (type(v) != FUNCTIONTYPE) {
- result[k] = v;
- // }
- }
- function type(obj) {
- return Object.prototype.toString.call(obj)
- }
- /* */
- function flushCallbacks$1(vm) {
- if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
- if (Object({"VUE_APP_NAME":"project1","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
- var mpInstance = vm.$scope;
- console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
- ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
- }
- var copies = vm.__next_tick_callbacks.slice(0);
- vm.__next_tick_callbacks.length = 0;
- for (var i = 0; i < copies.length; i++) {
- copies[i]();
- }
- }
- }
- function hasRenderWatcher(vm) {
- return queue.find(function (watcher) { return vm._watcher === watcher; })
- }
- function nextTick$1(vm, cb) {
- //1.nextTick 之前 已 setData 且 setData 还未回调完成
- //2.nextTick 之前存在 render watcher
- if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
- if(Object({"VUE_APP_NAME":"project1","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
- var mpInstance = vm.$scope;
- console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
- ']:nextVueTick');
- }
- return nextTick(cb, vm)
- }else{
- if(Object({"VUE_APP_NAME":"project1","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
- var mpInstance$1 = vm.$scope;
- console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
- ']:nextMPTick');
- }
- }
- var _resolve;
- if (!vm.__next_tick_callbacks) {
- vm.__next_tick_callbacks = [];
- }
- vm.__next_tick_callbacks.push(function () {
- if (cb) {
- try {
- cb.call(vm);
- } catch (e) {
- handleError(e, vm, 'nextTick');
- }
- } else if (_resolve) {
- _resolve(vm);
- }
- });
- // $flow-disable-line
- if (!cb && typeof Promise !== 'undefined') {
- return new Promise(function (resolve) {
- _resolve = resolve;
- })
- }
- }
- /* */
- function cloneWithData(vm) {
- // 确保当前 vm 所有数据被同步
- var ret = Object.create(null);
- var dataKeys = [].concat(
- Object.keys(vm._data || {}),
- Object.keys(vm._computedWatchers || {}));
- dataKeys.reduce(function(ret, key) {
- ret[key] = vm[key];
- return ret
- }, ret);
- // vue-composition-api
- var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
- var rawBindings = compositionApiState && compositionApiState.rawBindings;
- if (rawBindings) {
- Object.keys(rawBindings).forEach(function (key) {
- ret[key] = vm[key];
- });
- }
- //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
- Object.assign(ret, vm.$mp.data || {});
- if (
- Array.isArray(vm.$options.behaviors) &&
- vm.$options.behaviors.indexOf('uni://form-field') !== -1
- ) { //form-field
- ret['name'] = vm.name;
- ret['value'] = vm.value;
- }
- return JSON.parse(JSON.stringify(ret))
- }
- var patch = function(oldVnode, vnode) {
- var this$1 = this;
- if (vnode === null) { //destroy
- return
- }
- if (this.mpType === 'page' || this.mpType === 'component') {
- var mpInstance = this.$scope;
- var data = Object.create(null);
- try {
- data = cloneWithData(this);
- } catch (err) {
- console.error(err);
- }
- data.__webviewId__ = mpInstance.data.__webviewId__;
- var mpData = Object.create(null);
- Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
- mpData[key] = mpInstance.data[key];
- });
- var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
- if (Object.keys(diffData).length) {
- if (Object({"VUE_APP_NAME":"project1","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
- console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
- ']差量更新',
- JSON.stringify(diffData));
- }
- this.__next_tick_pending = true;
- mpInstance.setData(diffData, function () {
- this$1.__next_tick_pending = false;
- flushCallbacks$1(this$1);
- });
- } else {
- flushCallbacks$1(this);
- }
- }
- };
- /* */
- function createEmptyRender() {
- }
- function mountComponent$1(
- vm,
- el,
- hydrating
- ) {
- if (!vm.mpType) {//main.js 中的 new Vue
- return vm
- }
- if (vm.mpType === 'app') {
- vm.$options.render = createEmptyRender;
- }
- if (!vm.$options.render) {
- vm.$options.render = createEmptyRender;
- if (true) {
- /* istanbul ignore if */
- if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
- vm.$options.el || el) {
- warn(
- 'You are using the runtime-only build of Vue where the template ' +
- 'compiler is not available. Either pre-compile the templates into ' +
- 'render functions, or use the compiler-included build.',
- vm
- );
- } else {
- warn(
- 'Failed to mount component: template or render function not defined.',
- vm
- );
- }
- }
- }
-
- !vm._$fallback && callHook(vm, 'beforeMount');
- var updateComponent = function () {
- vm._update(vm._render(), hydrating);
- };
- // we set this to vm._watcher inside the watcher's constructor
- // since the watcher's initial patch may call $forceUpdate (e.g. inside child
- // component's mounted hook), which relies on vm._watcher being already defined
- new Watcher(vm, updateComponent, noop, {
- before: function before() {
- if (vm._isMounted && !vm._isDestroyed) {
- callHook(vm, 'beforeUpdate');
- }
- }
- }, true /* isRenderWatcher */);
- hydrating = false;
- return vm
- }
- /* */
- function renderClass (
- staticClass,
- dynamicClass
- ) {
- if (isDef(staticClass) || isDef(dynamicClass)) {
- return concat(staticClass, stringifyClass(dynamicClass))
- }
- /* istanbul ignore next */
- return ''
- }
- function concat (a, b) {
- return a ? b ? (a + ' ' + b) : a : (b || '')
- }
- function stringifyClass (value) {
- if (Array.isArray(value)) {
- return stringifyArray(value)
- }
- if (isObject(value)) {
- return stringifyObject(value)
- }
- if (typeof value === 'string') {
- return value
- }
- /* istanbul ignore next */
- return ''
- }
- function stringifyArray (value) {
- var res = '';
- var stringified;
- for (var i = 0, l = value.length; i < l; i++) {
- if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
- if (res) { res += ' '; }
- res += stringified;
- }
- }
- return res
- }
- function stringifyObject (value) {
- var res = '';
- for (var key in value) {
- if (value[key]) {
- if (res) { res += ' '; }
- res += key;
- }
- }
- return res
- }
- /* */
- var parseStyleText = cached(function (cssText) {
- var res = {};
- var listDelimiter = /;(?![^(]*\))/g;
- var propertyDelimiter = /:(.+)/;
- cssText.split(listDelimiter).forEach(function (item) {
- if (item) {
- var tmp = item.split(propertyDelimiter);
- tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
- }
- });
- return res
- });
- // normalize possible array / string values into Object
- function normalizeStyleBinding (bindingStyle) {
- if (Array.isArray(bindingStyle)) {
- return toObject(bindingStyle)
- }
- if (typeof bindingStyle === 'string') {
- return parseStyleText(bindingStyle)
- }
- return bindingStyle
- }
- /* */
- var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
- function getTarget(obj, path) {
- var parts = path.split('.');
- var key = parts[0];
- if (key.indexOf('__$n') === 0) { //number index
- key = parseInt(key.replace('__$n', ''));
- }
- if (parts.length === 1) {
- return obj[key]
- }
- return getTarget(obj[key], parts.slice(1).join('.'))
- }
- function internalMixin(Vue) {
- Vue.config.errorHandler = function(err, vm, info) {
- Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
- console.error(err);
- /* eslint-disable no-undef */
- var app = typeof getApp === 'function' && getApp();
- if (app && app.onError) {
- app.onError(err);
- }
- };
- var oldEmit = Vue.prototype.$emit;
- Vue.prototype.$emit = function(event) {
- if (this.$scope && event) {
- (this.$scope['_triggerEvent'] || this.$scope['triggerEvent']).call(this.$scope, event, {
- __args__: toArray(arguments, 1)
- });
- }
- return oldEmit.apply(this, arguments)
- };
- Vue.prototype.$nextTick = function(fn) {
- return nextTick$1(this, fn)
- };
- MP_METHODS.forEach(function (method) {
- Vue.prototype[method] = function(args) {
- if (this.$scope && this.$scope[method]) {
- return this.$scope[method](args)
- }
- // mp-alipay
- if (typeof my === 'undefined') {
- return
- }
- if (method === 'createSelectorQuery') {
- /* eslint-disable no-undef */
- return my.createSelectorQuery(args)
- } else if (method === 'createIntersectionObserver') {
- /* eslint-disable no-undef */
- return my.createIntersectionObserver(args)
- }
- // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
- };
- });
- Vue.prototype.__init_provide = initProvide;
- Vue.prototype.__init_injections = initInjections;
- Vue.prototype.__call_hook = function(hook, args) {
- var vm = this;
- // #7573 disable dep collection when invoking lifecycle hooks
- pushTarget();
- var handlers = vm.$options[hook];
- var info = hook + " hook";
- var ret;
- if (handlers) {
- for (var i = 0, j = handlers.length; i < j; i++) {
- ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
- }
- }
- if (vm._hasHookEvent) {
- vm.$emit('hook:' + hook, args);
- }
- popTarget();
- return ret
- };
- Vue.prototype.__set_model = function(target, key, value, modifiers) {
- if (Array.isArray(modifiers)) {
- if (modifiers.indexOf('trim') !== -1) {
- value = value.trim();
- }
- if (modifiers.indexOf('number') !== -1) {
- value = this._n(value);
- }
- }
- if (!target) {
- target = this;
- }
- // 解决动态属性添加
- Vue.set(target, key, value);
- };
- Vue.prototype.__set_sync = function(target, key, value) {
- if (!target) {
- target = this;
- }
- // 解决动态属性添加
- Vue.set(target, key, value);
- };
- Vue.prototype.__get_orig = function(item) {
- if (isPlainObject(item)) {
- return item['$orig'] || item
- }
- return item
- };
- Vue.prototype.__get_value = function(dataPath, target) {
- return getTarget(target || this, dataPath)
- };
- Vue.prototype.__get_class = function(dynamicClass, staticClass) {
- return renderClass(staticClass, dynamicClass)
- };
- Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
- if (!dynamicStyle && !staticStyle) {
- return ''
- }
- var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
- var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
- return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
- };
- Vue.prototype.__map = function(val, iteratee) {
- //TODO 暂不考虑 string
- var ret, i, l, keys, key;
- if (Array.isArray(val)) {
- ret = new Array(val.length);
- for (i = 0, l = val.length; i < l; i++) {
- ret[i] = iteratee(val[i], i);
- }
- return ret
- } else if (isObject(val)) {
- keys = Object.keys(val);
- ret = Object.create(null);
- for (i = 0, l = keys.length; i < l; i++) {
- key = keys[i];
- ret[key] = iteratee(val[key], key, i);
- }
- return ret
- } else if (typeof val === 'number') {
- ret = new Array(val);
- for (i = 0, l = val; i < l; i++) {
- // 第一个参数暂时仍和小程序一致
- ret[i] = iteratee(i, i);
- }
- return ret
- }
- return []
- };
- }
- /* */
- var LIFECYCLE_HOOKS$1 = [
- //App
- 'onLaunch',
- 'onShow',
- 'onHide',
- 'onUniNViewMessage',
- 'onPageNotFound',
- 'onThemeChange',
- 'onError',
- 'onUnhandledRejection',
- //Page
- 'onInit',
- 'onLoad',
- // 'onShow',
- 'onReady',
- // 'onHide',
- 'onUnload',
- 'onPullDownRefresh',
- 'onReachBottom',
- 'onTabItemTap',
- 'onAddToFavorites',
- 'onShareTimeline',
- 'onShareAppMessage',
- 'onResize',
- 'onPageScroll',
- 'onNavigationBarButtonTap',
- 'onBackPress',
- 'onNavigationBarSearchInputChanged',
- 'onNavigationBarSearchInputConfirmed',
- 'onNavigationBarSearchInputClicked',
- //Component
- // 'onReady', // 兼容旧版本,应该移除该事件
- 'onPageShow',
- 'onPageHide',
- 'onPageResize'
- ];
- function lifecycleMixin$1(Vue) {
- //fixed vue-class-component
- var oldExtend = Vue.extend;
- Vue.extend = function(extendOptions) {
- extendOptions = extendOptions || {};
- var methods = extendOptions.methods;
- if (methods) {
- Object.keys(methods).forEach(function (methodName) {
- if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
- extendOptions[methodName] = methods[methodName];
- delete methods[methodName];
- }
- });
- }
- return oldExtend.call(this, extendOptions)
- };
- var strategies = Vue.config.optionMergeStrategies;
- var mergeHook = strategies.created;
- LIFECYCLE_HOOKS$1.forEach(function (hook) {
- strategies[hook] = mergeHook;
- });
- Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
- }
- /* */
- // install platform patch function
- Vue.prototype.__patch__ = patch;
- // public mount method
- Vue.prototype.$mount = function(
- el ,
- hydrating
- ) {
- return mountComponent$1(this, el, hydrating)
- };
- lifecycleMixin$1(Vue);
- internalMixin(Vue);
- /* */
- /* harmony default export */ __webpack_exports__["default"] = (Vue);
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 2)))
- /***/ }),
- /* 5 */
- /*!************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/pages.json ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- /***/ }),
- /* 6 */,
- /* 7 */,
- /* 8 */,
- /* 9 */,
- /* 10 */,
- /* 11 */
- /*!**********************************************************************************************************!*\
- !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
- \**********************************************************************************************************/
- /*! exports provided: default */
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
- /* globals __VUE_SSR_CONTEXT__ */
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
- // This module is a runtime utility for cleaner component module output and will
- // be included in the final webpack user bundle.
- function normalizeComponent (
- scriptExports,
- render,
- staticRenderFns,
- functionalTemplate,
- injectStyles,
- scopeId,
- moduleIdentifier, /* server only */
- shadowMode, /* vue-cli only */
- components, // fixed by xxxxxx auto components
- renderjs // fixed by xxxxxx renderjs
- ) {
- // Vue.extend constructor export interop
- var options = typeof scriptExports === 'function'
- ? scriptExports.options
- : scriptExports
- // fixed by xxxxxx auto components
- if (components) {
- if (!options.components) {
- options.components = {}
- }
- var hasOwn = Object.prototype.hasOwnProperty
- for (var name in components) {
- if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
- options.components[name] = components[name]
- }
- }
- }
- // fixed by xxxxxx renderjs
- if (renderjs) {
- (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
- this[renderjs.__module] = this
- });
- (options.mixins || (options.mixins = [])).push(renderjs)
- }
- // render functions
- if (render) {
- options.render = render
- options.staticRenderFns = staticRenderFns
- options._compiled = true
- }
- // functional template
- if (functionalTemplate) {
- options.functional = true
- }
- // scopedId
- if (scopeId) {
- options._scopeId = 'data-v-' + scopeId
- }
- var hook
- if (moduleIdentifier) { // server build
- hook = function (context) {
- // 2.3 injection
- context =
- context || // cached call
- (this.$vnode && this.$vnode.ssrContext) || // stateful
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
- // 2.2 with runInNewContext: true
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
- context = __VUE_SSR_CONTEXT__
- }
- // inject component styles
- if (injectStyles) {
- injectStyles.call(this, context)
- }
- // register component module identifier for async chunk inferrence
- if (context && context._registeredComponents) {
- context._registeredComponents.add(moduleIdentifier)
- }
- }
- // used by ssr in case component is cached and beforeCreate
- // never gets called
- options._ssrRegister = hook
- } else if (injectStyles) {
- hook = shadowMode
- ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
- : injectStyles
- }
- if (hook) {
- if (options.functional) {
- // for template-only hot-reload because in that case the render fn doesn't
- // go through the normalizer
- options._injectStyles = hook
- // register for functioal component in vue file
- var originalRender = options.render
- options.render = function renderWithStyleInjection (h, context) {
- hook.call(context)
- return originalRender(h, context)
- }
- } else {
- // inject component registration as beforeCreate hook
- var existing = options.beforeCreate
- options.beforeCreate = existing
- ? [].concat(existing, hook)
- : [hook]
- }
- }
- return {
- exports: scriptExports,
- options: options
- }
- }
- /***/ }),
- /* 12 */
- /*!******************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/utils/request.js ***!
- \******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 4));
- var _axios = _interopRequireDefault(__webpack_require__(/*! axios */ 13));
- var _coreJs = __webpack_require__(/*! core-js */ 44);
- var _axiosMiniprogramAdapter = _interopRequireDefault(__webpack_require__(/*! axios-miniprogram-adapter */ 589));
- var _notify = __webpack_require__(/*! ../wxcomponents/dist/notify/notify */ 590);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- _axios.default.defaults.adapter = _axiosMiniprogramAdapter.default;
- var request = _axios.default.create({
- baseURL: 'http://shop-api.edu.koobietech.com' });
- request.interceptors.request.use(
- function (config) {
- var token = uni.getStorageSync("token");
- if (token) {
- config.headers.Authorization = token;
- }
- return config;
- },
- function (error) {
- return _coreJs.Promise.reject(error);
- });
- request.interceptors.response.use(function (response) {
- var data = response.data;
- if (data.code == "00000") {
- return data.data;
- }
- if (data.code === "A00004") {
- (0, _notify.Notify)('请登录后操作!');
- uni.navigateTo({
- url: "/pages/login/login" });
- return _coreJs.Promise.reject("当前页面需要登录!");
- }
- (0, _notify.Notify)(data.msg);
- return _coreJs.Promise.reject(data.msg);
- }, function (error) {
- return _coreJs.Promise.reject(error);
- });var _default =
- request;exports.default = _default;
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
- /***/ }),
- /* 13 */
- /*!**************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/index.js ***!
- \**************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(/*! ./lib/axios */ 14);
- /***/ }),
- /* 14 */
- /*!******************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/axios.js ***!
- \******************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./utils */ 15);
- var bind = __webpack_require__(/*! ./helpers/bind */ 16);
- var Axios = __webpack_require__(/*! ./core/Axios */ 17);
- var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ 38);
- var defaults = __webpack_require__(/*! ./defaults */ 22);
- /**
- * Create an instance of Axios
- *
- * @param {Object} defaultConfig The default config for the instance
- * @return {Axios} A new instance of Axios
- */
- function createInstance(defaultConfig) {
- var context = new Axios(defaultConfig);
- var instance = bind(Axios.prototype.request, context);
- // Copy axios.prototype to instance
- utils.extend(instance, Axios.prototype, context);
- // Copy context to instance
- utils.extend(instance, context);
- // Factory for creating new instances
- instance.create = function create(instanceConfig) {
- return createInstance(mergeConfig(defaultConfig, instanceConfig));
- };
- return instance;
- }
- // Create the default instance to be exported
- var axios = createInstance(defaults);
- // Expose Axios class to allow class inheritance
- axios.Axios = Axios;
- // Expose Cancel & CancelToken
- axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ 36);
- axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ 41);
- axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ 37);
- axios.VERSION = __webpack_require__(/*! ./env/data */ 40).version;
- // Expose all/spread
- axios.all = function all(promises) {
- return Promise.all(promises);
- };
- axios.spread = __webpack_require__(/*! ./helpers/spread */ 42);
- // Expose isAxiosError
- axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ 43);
- module.exports = axios;
- // Allow use of default import syntax in TypeScript
- module.exports.default = axios;
- /***/ }),
- /* 15 */
- /*!******************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/utils.js ***!
- \******************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var bind = __webpack_require__(/*! ./helpers/bind */ 16);
- // utils is a library of generic helper functions non-specific to axios
- var toString = Object.prototype.toString;
- /**
- * Determine if a value is an Array
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is an Array, otherwise false
- */
- function isArray(val) {
- return Array.isArray(val);
- }
- /**
- * Determine if a value is undefined
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if the value is undefined, otherwise false
- */
- function isUndefined(val) {
- return typeof val === 'undefined';
- }
- /**
- * Determine if a value is a Buffer
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Buffer, otherwise false
- */
- function isBuffer(val) {
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) &&
- typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
- }
- /**
- * Determine if a value is an ArrayBuffer
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is an ArrayBuffer, otherwise false
- */
- function isArrayBuffer(val) {
- return toString.call(val) === '[object ArrayBuffer]';
- }
- /**
- * Determine if a value is a FormData
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is an FormData, otherwise false
- */
- function isFormData(val) {
- return toString.call(val) === '[object FormData]';
- }
- /**
- * Determine if a value is a view on an ArrayBuffer
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
- */
- function isArrayBufferView(val) {
- var result;
- if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
- result = ArrayBuffer.isView(val);
- } else {
- result = val && val.buffer && isArrayBuffer(val.buffer);
- }
- return result;
- }
- /**
- * Determine if a value is a String
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a String, otherwise false
- */
- function isString(val) {
- return typeof val === 'string';
- }
- /**
- * Determine if a value is a Number
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Number, otherwise false
- */
- function isNumber(val) {
- return typeof val === 'number';
- }
- /**
- * Determine if a value is an Object
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is an Object, otherwise false
- */
- function isObject(val) {
- return val !== null && typeof val === 'object';
- }
- /**
- * Determine if a value is a plain Object
- *
- * @param {Object} val The value to test
- * @return {boolean} True if value is a plain Object, otherwise false
- */
- function isPlainObject(val) {
- if (toString.call(val) !== '[object Object]') {
- return false;
- }
- var prototype = Object.getPrototypeOf(val);
- return prototype === null || prototype === Object.prototype;
- }
- /**
- * Determine if a value is a Date
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Date, otherwise false
- */
- function isDate(val) {
- return toString.call(val) === '[object Date]';
- }
- /**
- * Determine if a value is a File
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a File, otherwise false
- */
- function isFile(val) {
- return toString.call(val) === '[object File]';
- }
- /**
- * Determine if a value is a Blob
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Blob, otherwise false
- */
- function isBlob(val) {
- return toString.call(val) === '[object Blob]';
- }
- /**
- * Determine if a value is a Function
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Function, otherwise false
- */
- function isFunction(val) {
- return toString.call(val) === '[object Function]';
- }
- /**
- * Determine if a value is a Stream
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a Stream, otherwise false
- */
- function isStream(val) {
- return isObject(val) && isFunction(val.pipe);
- }
- /**
- * Determine if a value is a URLSearchParams object
- *
- * @param {Object} val The value to test
- * @returns {boolean} True if value is a URLSearchParams object, otherwise false
- */
- function isURLSearchParams(val) {
- return toString.call(val) === '[object URLSearchParams]';
- }
- /**
- * Trim excess whitespace off the beginning and end of a string
- *
- * @param {String} str The String to trim
- * @returns {String} The String freed of excess whitespace
- */
- function trim(str) {
- return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
- }
- /**
- * Determine if we're running in a standard browser environment
- *
- * This allows axios to run in a web worker, and react-native.
- * Both environments support XMLHttpRequest, but not fully standard globals.
- *
- * web workers:
- * typeof window -> undefined
- * typeof document -> undefined
- *
- * react-native:
- * navigator.product -> 'ReactNative'
- * nativescript
- * navigator.product -> 'NativeScript' or 'NS'
- */
- function isStandardBrowserEnv() {
- if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
- navigator.product === 'NativeScript' ||
- navigator.product === 'NS')) {
- return false;
- }
- return (
- typeof window !== 'undefined' &&
- typeof document !== 'undefined');
- }
- /**
- * Iterate over an Array or an Object invoking a function for each item.
- *
- * If `obj` is an Array callback will be called passing
- * the value, index, and complete array for each item.
- *
- * If 'obj' is an Object callback will be called passing
- * the value, key, and complete object for each property.
- *
- * @param {Object|Array} obj The object to iterate
- * @param {Function} fn The callback to invoke for each item
- */
- function forEach(obj, fn) {
- // Don't bother if no value provided
- if (obj === null || typeof obj === 'undefined') {
- return;
- }
- // Force an array if not already something iterable
- if (typeof obj !== 'object') {
- /*eslint no-param-reassign:0*/
- obj = [obj];
- }
- if (isArray(obj)) {
- // Iterate over array values
- for (var i = 0, l = obj.length; i < l; i++) {
- fn.call(null, obj[i], i, obj);
- }
- } else {
- // Iterate over object keys
- for (var key in obj) {
- if (Object.prototype.hasOwnProperty.call(obj, key)) {
- fn.call(null, obj[key], key, obj);
- }
- }
- }
- }
- /**
- * Accepts varargs expecting each argument to be an object, then
- * immutably merges the properties of each object and returns result.
- *
- * When multiple objects contain the same key the later object in
- * the arguments list will take precedence.
- *
- * Example:
- *
- * ```js
- * var result = merge({foo: 123}, {foo: 456});
- * console.log(result.foo); // outputs 456
- * ```
- *
- * @param {Object} obj1 Object to merge
- * @returns {Object} Result of all merge properties
- */
- function merge() /* obj1, obj2, obj3, ... */{
- var result = {};
- function assignValue(val, key) {
- if (isPlainObject(result[key]) && isPlainObject(val)) {
- result[key] = merge(result[key], val);
- } else if (isPlainObject(val)) {
- result[key] = merge({}, val);
- } else if (isArray(val)) {
- result[key] = val.slice();
- } else {
- result[key] = val;
- }
- }
- for (var i = 0, l = arguments.length; i < l; i++) {
- forEach(arguments[i], assignValue);
- }
- return result;
- }
- /**
- * Extends object a by mutably adding to it the properties of object b.
- *
- * @param {Object} a The object to be extended
- * @param {Object} b The object to copy properties from
- * @param {Object} thisArg The object to bind function to
- * @return {Object} The resulting value of object a
- */
- function extend(a, b, thisArg) {
- forEach(b, function assignValue(val, key) {
- if (thisArg && typeof val === 'function') {
- a[key] = bind(val, thisArg);
- } else {
- a[key] = val;
- }
- });
- return a;
- }
- /**
- * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
- *
- * @param {string} content with BOM
- * @return {string} content value without BOM
- */
- function stripBOM(content) {
- if (content.charCodeAt(0) === 0xFEFF) {
- content = content.slice(1);
- }
- return content;
- }
- module.exports = {
- isArray: isArray,
- isArrayBuffer: isArrayBuffer,
- isBuffer: isBuffer,
- isFormData: isFormData,
- isArrayBufferView: isArrayBufferView,
- isString: isString,
- isNumber: isNumber,
- isObject: isObject,
- isPlainObject: isPlainObject,
- isUndefined: isUndefined,
- isDate: isDate,
- isFile: isFile,
- isBlob: isBlob,
- isFunction: isFunction,
- isStream: isStream,
- isURLSearchParams: isURLSearchParams,
- isStandardBrowserEnv: isStandardBrowserEnv,
- forEach: forEach,
- merge: merge,
- extend: extend,
- trim: trim,
- stripBOM: stripBOM };
- /***/ }),
- /* 16 */
- /*!*************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/bind.js ***!
- \*************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- module.exports = function bind(fn, thisArg) {
- return function wrap() {
- var args = new Array(arguments.length);
- for (var i = 0; i < args.length; i++) {
- args[i] = arguments[i];
- }
- return fn.apply(thisArg, args);
- };
- };
- /***/ }),
- /* 17 */
- /*!***********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/Axios.js ***!
- \***********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- var buildURL = __webpack_require__(/*! ../helpers/buildURL */ 18);
- var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ 19);
- var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ 20);
- var mergeConfig = __webpack_require__(/*! ./mergeConfig */ 38);
- var validator = __webpack_require__(/*! ../helpers/validator */ 39);
- var validators = validator.validators;
- /**
- * Create a new instance of Axios
- *
- * @param {Object} instanceConfig The default config for the instance
- */
- function Axios(instanceConfig) {
- this.defaults = instanceConfig;
- this.interceptors = {
- request: new InterceptorManager(),
- response: new InterceptorManager() };
- }
- /**
- * Dispatch a request
- *
- * @param {Object} config The config specific for this request (merged with this.defaults)
- */
- Axios.prototype.request = function request(configOrUrl, config) {
- /*eslint no-param-reassign:0*/
- // Allow for axios('example/url'[, config]) a la fetch API
- if (typeof configOrUrl === 'string') {
- config = config || {};
- config.url = configOrUrl;
- } else {
- config = configOrUrl || {};
- }
- if (!config.url) {
- throw new Error('Provided config url is not valid');
- }
- config = mergeConfig(this.defaults, config);
- // Set config.method
- if (config.method) {
- config.method = config.method.toLowerCase();
- } else if (this.defaults.method) {
- config.method = this.defaults.method.toLowerCase();
- } else {
- config.method = 'get';
- }
- var transitional = config.transitional;
- if (transitional !== undefined) {
- validator.assertOptions(transitional, {
- silentJSONParsing: validators.transitional(validators.boolean),
- forcedJSONParsing: validators.transitional(validators.boolean),
- clarifyTimeoutError: validators.transitional(validators.boolean) },
- false);
- }
- // filter out skipped interceptors
- var requestInterceptorChain = [];
- var synchronousRequestInterceptors = true;
- this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
- if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
- return;
- }
- synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
- });
- var responseInterceptorChain = [];
- this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
- responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
- });
- var promise;
- if (!synchronousRequestInterceptors) {
- var chain = [dispatchRequest, undefined];
- Array.prototype.unshift.apply(chain, requestInterceptorChain);
- chain = chain.concat(responseInterceptorChain);
- promise = Promise.resolve(config);
- while (chain.length) {
- promise = promise.then(chain.shift(), chain.shift());
- }
- return promise;
- }
- var newConfig = config;
- while (requestInterceptorChain.length) {
- var onFulfilled = requestInterceptorChain.shift();
- var onRejected = requestInterceptorChain.shift();
- try {
- newConfig = onFulfilled(newConfig);
- } catch (error) {
- onRejected(error);
- break;
- }
- }
- try {
- promise = dispatchRequest(newConfig);
- } catch (error) {
- return Promise.reject(error);
- }
- while (responseInterceptorChain.length) {
- promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
- }
- return promise;
- };
- Axios.prototype.getUri = function getUri(config) {
- if (!config.url) {
- throw new Error('Provided config url is not valid');
- }
- config = mergeConfig(this.defaults, config);
- return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
- };
- // Provide aliases for supported request methods
- utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
- /*eslint func-names:0*/
- Axios.prototype[method] = function (url, config) {
- return this.request(mergeConfig(config || {}, {
- method: method,
- url: url,
- data: (config || {}).data }));
- };
- });
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
- /*eslint func-names:0*/
- Axios.prototype[method] = function (url, data, config) {
- return this.request(mergeConfig(config || {}, {
- method: method,
- url: url,
- data: data }));
- };
- });
- module.exports = Axios;
- /***/ }),
- /* 18 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/buildURL.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- function encode(val) {
- return encodeURIComponent(val).
- replace(/%3A/gi, ':').
- replace(/%24/g, '$').
- replace(/%2C/gi, ',').
- replace(/%20/g, '+').
- replace(/%5B/gi, '[').
- replace(/%5D/gi, ']');
- }
- /**
- * Build a URL by appending params to the end
- *
- * @param {string} url The base of the url (e.g., http://www.google.com)
- * @param {object} [params] The params to be appended
- * @returns {string} The formatted url
- */
- module.exports = function buildURL(url, params, paramsSerializer) {
- /*eslint no-param-reassign:0*/
- if (!params) {
- return url;
- }
- var serializedParams;
- if (paramsSerializer) {
- serializedParams = paramsSerializer(params);
- } else if (utils.isURLSearchParams(params)) {
- serializedParams = params.toString();
- } else {
- var parts = [];
- utils.forEach(params, function serialize(val, key) {
- if (val === null || typeof val === 'undefined') {
- return;
- }
- if (utils.isArray(val)) {
- key = key + '[]';
- } else {
- val = [val];
- }
- utils.forEach(val, function parseValue(v) {
- if (utils.isDate(v)) {
- v = v.toISOString();
- } else if (utils.isObject(v)) {
- v = JSON.stringify(v);
- }
- parts.push(encode(key) + '=' + encode(v));
- });
- });
- serializedParams = parts.join('&');
- }
- if (serializedParams) {
- var hashmarkIndex = url.indexOf('#');
- if (hashmarkIndex !== -1) {
- url = url.slice(0, hashmarkIndex);
- }
- url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
- }
- return url;
- };
- /***/ }),
- /* 19 */
- /*!************************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/InterceptorManager.js ***!
- \************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- function InterceptorManager() {
- this.handlers = [];
- }
- /**
- * Add a new interceptor to the stack
- *
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
- * @param {Function} rejected The function to handle `reject` for a `Promise`
- *
- * @return {Number} An ID used to remove interceptor later
- */
- InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
- this.handlers.push({
- fulfilled: fulfilled,
- rejected: rejected,
- synchronous: options ? options.synchronous : false,
- runWhen: options ? options.runWhen : null });
- return this.handlers.length - 1;
- };
- /**
- * Remove an interceptor from the stack
- *
- * @param {Number} id The ID that was returned by `use`
- */
- InterceptorManager.prototype.eject = function eject(id) {
- if (this.handlers[id]) {
- this.handlers[id] = null;
- }
- };
- /**
- * Iterate over all the registered interceptors
- *
- * This method is particularly useful for skipping over any
- * interceptors that may have become `null` calling `eject`.
- *
- * @param {Function} fn The function to call for each interceptor
- */
- InterceptorManager.prototype.forEach = function forEach(fn) {
- utils.forEach(this.handlers, function forEachHandler(h) {
- if (h !== null) {
- fn(h);
- }
- });
- };
- module.exports = InterceptorManager;
- /***/ }),
- /* 20 */
- /*!*********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/dispatchRequest.js ***!
- \*********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- var transformData = __webpack_require__(/*! ./transformData */ 21);
- var isCancel = __webpack_require__(/*! ../cancel/isCancel */ 37);
- var defaults = __webpack_require__(/*! ../defaults */ 22);
- var Cancel = __webpack_require__(/*! ../cancel/Cancel */ 36);
- /**
- * Throws a `Cancel` if cancellation has been requested.
- */
- function throwIfCancellationRequested(config) {
- if (config.cancelToken) {
- config.cancelToken.throwIfRequested();
- }
- if (config.signal && config.signal.aborted) {
- throw new Cancel('canceled');
- }
- }
- /**
- * Dispatch a request to the server using the configured adapter.
- *
- * @param {object} config The config that is to be used for the request
- * @returns {Promise} The Promise to be fulfilled
- */
- module.exports = function dispatchRequest(config) {
- throwIfCancellationRequested(config);
- // Ensure headers exist
- config.headers = config.headers || {};
- // Transform request data
- config.data = transformData.call(
- config,
- config.data,
- config.headers,
- config.transformRequest);
- // Flatten headers
- config.headers = utils.merge(
- config.headers.common || {},
- config.headers[config.method] || {},
- config.headers);
- utils.forEach(
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
- function cleanHeaderConfig(method) {
- delete config.headers[method];
- });
- var adapter = config.adapter || defaults.adapter;
- return adapter(config).then(function onAdapterResolution(response) {
- throwIfCancellationRequested(config);
- // Transform response data
- response.data = transformData.call(
- config,
- response.data,
- response.headers,
- config.transformResponse);
- return response;
- }, function onAdapterRejection(reason) {
- if (!isCancel(reason)) {
- throwIfCancellationRequested(config);
- // Transform response data
- if (reason && reason.response) {
- reason.response.data = transformData.call(
- config,
- reason.response.data,
- reason.response.headers,
- config.transformResponse);
- }
- }
- return Promise.reject(reason);
- });
- };
- /***/ }),
- /* 21 */
- /*!*******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/transformData.js ***!
- \*******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- var defaults = __webpack_require__(/*! ./../defaults */ 22);
- /**
- * Transform the data for a request or a response
- *
- * @param {Object|String} data The data to be transformed
- * @param {Array} headers The headers for the request or response
- * @param {Array|Function} fns A single function or Array of functions
- * @returns {*} The resulting transformed data
- */
- module.exports = function transformData(data, headers, fns) {
- var context = this || defaults;
- /*eslint no-param-reassign:0*/
- utils.forEach(fns, function transform(fn) {
- data = fn.call(context, data, headers);
- });
- return data;
- };
- /***/ }),
- /* 22 */
- /*!*********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/defaults.js ***!
- \*********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /* WEBPACK VAR INJECTION */(function(process) {
- var utils = __webpack_require__(/*! ./utils */ 15);
- var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ 25);
- var enhanceError = __webpack_require__(/*! ./core/enhanceError */ 26);
- var DEFAULT_CONTENT_TYPE = {
- 'Content-Type': 'application/x-www-form-urlencoded' };
- function setContentTypeIfUnset(headers, value) {
- if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
- headers['Content-Type'] = value;
- }
- }
- function getDefaultAdapter() {
- var adapter;
- if (typeof XMLHttpRequest !== 'undefined') {
- // For browsers use XHR adapter
- adapter = __webpack_require__(/*! ./adapters/xhr */ 27);
- } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
- // For node use HTTP adapter
- adapter = __webpack_require__(/*! ./adapters/http */ 27);
- }
- return adapter;
- }
- function stringifySafely(rawValue, parser, encoder) {
- if (utils.isString(rawValue)) {
- try {
- (parser || JSON.parse)(rawValue);
- return utils.trim(rawValue);
- } catch (e) {
- if (e.name !== 'SyntaxError') {
- throw e;
- }
- }
- }
- return (encoder || JSON.stringify)(rawValue);
- }
- var defaults = {
- transitional: {
- silentJSONParsing: true,
- forcedJSONParsing: true,
- clarifyTimeoutError: false },
- adapter: getDefaultAdapter(),
- transformRequest: [function transformRequest(data, headers) {
- normalizeHeaderName(headers, 'Accept');
- normalizeHeaderName(headers, 'Content-Type');
- if (utils.isFormData(data) ||
- utils.isArrayBuffer(data) ||
- utils.isBuffer(data) ||
- utils.isStream(data) ||
- utils.isFile(data) ||
- utils.isBlob(data))
- {
- return data;
- }
- if (utils.isArrayBufferView(data)) {
- return data.buffer;
- }
- if (utils.isURLSearchParams(data)) {
- setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
- return data.toString();
- }
- if (utils.isObject(data) || headers && headers['Content-Type'] === 'application/json') {
- setContentTypeIfUnset(headers, 'application/json');
- return stringifySafely(data);
- }
- return data;
- }],
- transformResponse: [function transformResponse(data) {
- var transitional = this.transitional || defaults.transitional;
- var silentJSONParsing = transitional && transitional.silentJSONParsing;
- var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
- var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
- if (strictJSONParsing || forcedJSONParsing && utils.isString(data) && data.length) {
- try {
- return JSON.parse(data);
- } catch (e) {
- if (strictJSONParsing) {
- if (e.name === 'SyntaxError') {
- throw enhanceError(e, this, 'E_JSON_PARSE');
- }
- throw e;
- }
- }
- }
- return data;
- }],
- /**
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
- * timeout is not created.
- */
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- maxBodyLength: -1,
- validateStatus: function validateStatus(status) {
- return status >= 200 && status < 300;
- },
- headers: {
- common: {
- 'Accept': 'application/json, text/plain, */*' } } };
- utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
- defaults.headers[method] = {};
- });
- utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
- defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
- });
- module.exports = defaults;
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 23)))
- /***/ }),
- /* 23 */
- /*!********************************************************!*\
- !*** ./node_modules/node-libs-browser/mock/process.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- exports.nextTick = function nextTick(fn) {
- var args = Array.prototype.slice.call(arguments);
- args.shift();
- setTimeout(function () {
- fn.apply(null, args);
- }, 0);
- };
- exports.platform = exports.arch =
- exports.execPath = exports.title = 'browser';
- exports.pid = 1;
- exports.browser = true;
- exports.env = {};
- exports.argv = [];
- exports.binding = function (name) {
- throw new Error('No such module. (Possibly not yet loaded)')
- };
- (function () {
- var cwd = '/';
- var path;
- exports.cwd = function () { return cwd };
- exports.chdir = function (dir) {
- if (!path) path = __webpack_require__(/*! path */ 24);
- cwd = path.resolve(dir, cwd);
- };
- })();
- exports.exit = exports.kill =
- exports.umask = exports.dlopen =
- exports.uptime = exports.memoryUsage =
- exports.uvCounters = function() {};
- exports.features = {};
- /***/ }),
- /* 24 */
- /*!***********************************************!*\
- !*** ./node_modules/path-browserify/index.js ***!
- \***********************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
- // backported and transplited with Babel, with backwards-compat fixes
- // Copyright Joyent, Inc. and other Node contributors.
- //
- // Permission is hereby granted, free of charge, to any person obtaining a
- // copy of this software and associated documentation files (the
- // "Software"), to deal in the Software without restriction, including
- // without limitation the rights to use, copy, modify, merge, publish,
- // distribute, sublicense, and/or sell copies of the Software, and to permit
- // persons to whom the Software is furnished to do so, subject to the
- // following conditions:
- //
- // The above copyright notice and this permission notice shall be included
- // in all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
- // resolves . and .. elements in a path array with directory names there
- // must be no slashes, empty elements, or device names (c:\) in the array
- // (so also no leading and trailing slashes - it does not distinguish
- // relative and absolute paths)
- function normalizeArray(parts, allowAboveRoot) {
- // if the path tries to go above the root, `up` ends up > 0
- var up = 0;
- for (var i = parts.length - 1; i >= 0; i--) {
- var last = parts[i];
- if (last === '.') {
- parts.splice(i, 1);
- } else if (last === '..') {
- parts.splice(i, 1);
- up++;
- } else if (up) {
- parts.splice(i, 1);
- up--;
- }
- }
- // if the path is allowed to go above the root, restore leading ..s
- if (allowAboveRoot) {
- for (; up--; up) {
- parts.unshift('..');
- }
- }
- return parts;
- }
- // path.resolve([from ...], to)
- // posix version
- exports.resolve = function() {
- var resolvedPath = '',
- resolvedAbsolute = false;
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
- var path = (i >= 0) ? arguments[i] : process.cwd();
- // Skip empty and invalid entries
- if (typeof path !== 'string') {
- throw new TypeError('Arguments to path.resolve must be strings');
- } else if (!path) {
- continue;
- }
- resolvedPath = path + '/' + resolvedPath;
- resolvedAbsolute = path.charAt(0) === '/';
- }
- // At this point the path should be resolved to a full absolute path, but
- // handle relative paths to be safe (might happen when process.cwd() fails)
- // Normalize the path
- resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
- return !!p;
- }), !resolvedAbsolute).join('/');
- return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
- };
- // path.normalize(path)
- // posix version
- exports.normalize = function(path) {
- var isAbsolute = exports.isAbsolute(path),
- trailingSlash = substr(path, -1) === '/';
- // Normalize the path
- path = normalizeArray(filter(path.split('/'), function(p) {
- return !!p;
- }), !isAbsolute).join('/');
- if (!path && !isAbsolute) {
- path = '.';
- }
- if (path && trailingSlash) {
- path += '/';
- }
- return (isAbsolute ? '/' : '') + path;
- };
- // posix version
- exports.isAbsolute = function(path) {
- return path.charAt(0) === '/';
- };
- // posix version
- exports.join = function() {
- var paths = Array.prototype.slice.call(arguments, 0);
- return exports.normalize(filter(paths, function(p, index) {
- if (typeof p !== 'string') {
- throw new TypeError('Arguments to path.join must be strings');
- }
- return p;
- }).join('/'));
- };
- // path.relative(from, to)
- // posix version
- exports.relative = function(from, to) {
- from = exports.resolve(from).substr(1);
- to = exports.resolve(to).substr(1);
- function trim(arr) {
- var start = 0;
- for (; start < arr.length; start++) {
- if (arr[start] !== '') break;
- }
- var end = arr.length - 1;
- for (; end >= 0; end--) {
- if (arr[end] !== '') break;
- }
- if (start > end) return [];
- return arr.slice(start, end - start + 1);
- }
- var fromParts = trim(from.split('/'));
- var toParts = trim(to.split('/'));
- var length = Math.min(fromParts.length, toParts.length);
- var samePartsLength = length;
- for (var i = 0; i < length; i++) {
- if (fromParts[i] !== toParts[i]) {
- samePartsLength = i;
- break;
- }
- }
- var outputParts = [];
- for (var i = samePartsLength; i < fromParts.length; i++) {
- outputParts.push('..');
- }
- outputParts = outputParts.concat(toParts.slice(samePartsLength));
- return outputParts.join('/');
- };
- exports.sep = '/';
- exports.delimiter = ':';
- exports.dirname = function (path) {
- if (typeof path !== 'string') path = path + '';
- if (path.length === 0) return '.';
- var code = path.charCodeAt(0);
- var hasRoot = code === 47 /*/*/;
- var end = -1;
- var matchedSlash = true;
- for (var i = path.length - 1; i >= 1; --i) {
- code = path.charCodeAt(i);
- if (code === 47 /*/*/) {
- if (!matchedSlash) {
- end = i;
- break;
- }
- } else {
- // We saw the first non-path separator
- matchedSlash = false;
- }
- }
- if (end === -1) return hasRoot ? '/' : '.';
- if (hasRoot && end === 1) {
- // return '//';
- // Backwards-compat fix:
- return '/';
- }
- return path.slice(0, end);
- };
- function basename(path) {
- if (typeof path !== 'string') path = path + '';
- var start = 0;
- var end = -1;
- var matchedSlash = true;
- var i;
- for (i = path.length - 1; i >= 0; --i) {
- if (path.charCodeAt(i) === 47 /*/*/) {
- // If we reached a path separator that was not part of a set of path
- // separators at the end of the string, stop now
- if (!matchedSlash) {
- start = i + 1;
- break;
- }
- } else if (end === -1) {
- // We saw the first non-path separator, mark this as the end of our
- // path component
- matchedSlash = false;
- end = i + 1;
- }
- }
- if (end === -1) return '';
- return path.slice(start, end);
- }
- // Uses a mixed approach for backwards-compatibility, as ext behavior changed
- // in new Node.js versions, so only basename() above is backported here
- exports.basename = function (path, ext) {
- var f = basename(path);
- if (ext && f.substr(-1 * ext.length) === ext) {
- f = f.substr(0, f.length - ext.length);
- }
- return f;
- };
- exports.extname = function (path) {
- if (typeof path !== 'string') path = path + '';
- var startDot = -1;
- var startPart = 0;
- var end = -1;
- var matchedSlash = true;
- // Track the state of characters (if any) we see before our first dot and
- // after any path separator we find
- var preDotState = 0;
- for (var i = path.length - 1; i >= 0; --i) {
- var code = path.charCodeAt(i);
- if (code === 47 /*/*/) {
- // If we reached a path separator that was not part of a set of path
- // separators at the end of the string, stop now
- if (!matchedSlash) {
- startPart = i + 1;
- break;
- }
- continue;
- }
- if (end === -1) {
- // We saw the first non-path separator, mark this as the end of our
- // extension
- matchedSlash = false;
- end = i + 1;
- }
- if (code === 46 /*.*/) {
- // If this is our first dot, mark it as the start of our extension
- if (startDot === -1)
- startDot = i;
- else if (preDotState !== 1)
- preDotState = 1;
- } else if (startDot !== -1) {
- // We saw a non-dot and non-path separator before our dot, so we should
- // have a good chance at having a non-empty extension
- preDotState = -1;
- }
- }
- if (startDot === -1 || end === -1 ||
- // We saw a non-dot character immediately before the dot
- preDotState === 0 ||
- // The (right-most) trimmed path component is exactly '..'
- preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
- return '';
- }
- return path.slice(startDot, end);
- };
- function filter (xs, f) {
- if (xs.filter) return xs.filter(f);
- var res = [];
- for (var i = 0; i < xs.length; i++) {
- if (f(xs[i], i, xs)) res.push(xs[i]);
- }
- return res;
- }
- // String.prototype.substr - negative index don't work in IE8
- var substr = 'ab'.substr(-1) === 'b'
- ? function (str, start, len) { return str.substr(start, len) }
- : function (str, start, len) {
- if (start < 0) start = str.length + start;
- return str.substr(start, len);
- }
- ;
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 23)))
- /***/ }),
- /* 25 */
- /*!****************************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/normalizeHeaderName.js ***!
- \****************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ../utils */ 15);
- module.exports = function normalizeHeaderName(headers, normalizedName) {
- utils.forEach(headers, function processHeader(value, name) {
- if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
- headers[normalizedName] = value;
- delete headers[name];
- }
- });
- };
- /***/ }),
- /* 26 */
- /*!******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/enhanceError.js ***!
- \******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /**
- * Update an Error with the specified config, error code, and response.
- *
- * @param {Error} error The error to update.
- * @param {Object} config The config.
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
- * @param {Object} [request] The request.
- * @param {Object} [response] The response.
- * @returns {Error} The error.
- */
- module.exports = function enhanceError(error, config, code, request, response) {
- error.config = config;
- if (code) {
- error.code = code;
- }
- error.request = request;
- error.response = response;
- error.isAxiosError = true;
- error.toJSON = function toJSON() {
- return {
- // Standard
- message: this.message,
- name: this.name,
- // Microsoft
- description: this.description,
- number: this.number,
- // Mozilla
- fileName: this.fileName,
- lineNumber: this.lineNumber,
- columnNumber: this.columnNumber,
- stack: this.stack,
- // Axios
- config: this.config,
- code: this.code,
- status: this.response && this.response.status ? this.response.status : null };
- };
- return error;
- };
- /***/ }),
- /* 27 */
- /*!*************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/adapters/xhr.js ***!
- \*************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- var settle = __webpack_require__(/*! ./../core/settle */ 28);
- var cookies = __webpack_require__(/*! ./../helpers/cookies */ 30);
- var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ 18);
- var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ 31);
- var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ 34);
- var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ 35);
- var createError = __webpack_require__(/*! ../core/createError */ 29);
- var defaults = __webpack_require__(/*! ../defaults */ 22);
- var Cancel = __webpack_require__(/*! ../cancel/Cancel */ 36);
- module.exports = function xhrAdapter(config) {
- return new Promise(function dispatchXhrRequest(resolve, reject) {
- var requestData = config.data;
- var requestHeaders = config.headers;
- var responseType = config.responseType;
- var onCanceled;
- function done() {
- if (config.cancelToken) {
- config.cancelToken.unsubscribe(onCanceled);
- }
- if (config.signal) {
- config.signal.removeEventListener('abort', onCanceled);
- }
- }
- if (utils.isFormData(requestData)) {
- delete requestHeaders['Content-Type']; // Let the browser set it
- }
- var request = new XMLHttpRequest();
- // HTTP basic authentication
- if (config.auth) {
- var username = config.auth.username || '';
- var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
- requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
- }
- var fullPath = buildFullPath(config.baseURL, config.url);
- request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
- // Set the request timeout in MS
- request.timeout = config.timeout;
- function onloadend() {
- if (!request) {
- return;
- }
- // Prepare the response
- var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
- var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
- request.responseText : request.response;
- var response = {
- data: responseData,
- status: request.status,
- statusText: request.statusText,
- headers: responseHeaders,
- config: config,
- request: request };
- settle(function _resolve(value) {
- resolve(value);
- done();
- }, function _reject(err) {
- reject(err);
- done();
- }, response);
- // Clean up request
- request = null;
- }
- if ('onloadend' in request) {
- // Use onloadend if available
- request.onloadend = onloadend;
- } else {
- // Listen for ready state to emulate onloadend
- request.onreadystatechange = function handleLoad() {
- if (!request || request.readyState !== 4) {
- return;
- }
- // The request errored out and we didn't get a response, this will be
- // handled by onerror instead
- // With one exception: request that using file: protocol, most browsers
- // will return status as 0 even though it's a successful request
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
- return;
- }
- // readystate handler is calling before onerror or ontimeout handlers,
- // so we should call onloadend on the next 'tick'
- setTimeout(onloadend);
- };
- }
- // Handle browser request cancellation (as opposed to a manual cancellation)
- request.onabort = function handleAbort() {
- if (!request) {
- return;
- }
- reject(createError('Request aborted', config, 'ECONNABORTED', request));
- // Clean up request
- request = null;
- };
- // Handle low level network errors
- request.onerror = function handleError() {
- // Real errors are hidden from us by the browser
- // onerror should only fire if it's a network error
- reject(createError('Network Error', config, null, request));
- // Clean up request
- request = null;
- };
- // Handle timeout
- request.ontimeout = function handleTimeout() {
- var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
- var transitional = config.transitional || defaults.transitional;
- if (config.timeoutErrorMessage) {
- timeoutErrorMessage = config.timeoutErrorMessage;
- }
- reject(createError(
- timeoutErrorMessage,
- config,
- transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
- request));
- // Clean up request
- request = null;
- };
- // Add xsrf header
- // This is only done if running in a standard browser environment.
- // Specifically not if we're in a web worker, or react-native.
- if (utils.isStandardBrowserEnv()) {
- // Add xsrf header
- var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
- cookies.read(config.xsrfCookieName) :
- undefined;
- if (xsrfValue) {
- requestHeaders[config.xsrfHeaderName] = xsrfValue;
- }
- }
- // Add headers to the request
- if ('setRequestHeader' in request) {
- utils.forEach(requestHeaders, function setRequestHeader(val, key) {
- if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
- // Remove Content-Type if data is undefined
- delete requestHeaders[key];
- } else {
- // Otherwise add header to the request
- request.setRequestHeader(key, val);
- }
- });
- }
- // Add withCredentials to request if needed
- if (!utils.isUndefined(config.withCredentials)) {
- request.withCredentials = !!config.withCredentials;
- }
- // Add responseType to request if needed
- if (responseType && responseType !== 'json') {
- request.responseType = config.responseType;
- }
- // Handle progress if needed
- if (typeof config.onDownloadProgress === 'function') {
- request.addEventListener('progress', config.onDownloadProgress);
- }
- // Not all browsers support upload events
- if (typeof config.onUploadProgress === 'function' && request.upload) {
- request.upload.addEventListener('progress', config.onUploadProgress);
- }
- if (config.cancelToken || config.signal) {
- // Handle cancellation
- // eslint-disable-next-line func-names
- onCanceled = function onCanceled(cancel) {
- if (!request) {
- return;
- }
- reject(!cancel || cancel && cancel.type ? new Cancel('canceled') : cancel);
- request.abort();
- request = null;
- };
- config.cancelToken && config.cancelToken.subscribe(onCanceled);
- if (config.signal) {
- config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
- }
- }
- if (!requestData) {
- requestData = null;
- }
- // Send the request
- request.send(requestData);
- });
- };
- /***/ }),
- /* 28 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/settle.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var createError = __webpack_require__(/*! ./createError */ 29);
- /**
- * Resolve or reject a Promise based on response status.
- *
- * @param {Function} resolve A function that resolves the promise.
- * @param {Function} reject A function that rejects the promise.
- * @param {object} response The response.
- */
- module.exports = function settle(resolve, reject, response) {
- var validateStatus = response.config.validateStatus;
- if (!response.status || !validateStatus || validateStatus(response.status)) {
- resolve(response);
- } else {
- reject(createError(
- 'Request failed with status code ' + response.status,
- response.config,
- null,
- response.request,
- response));
- }
- };
- /***/ }),
- /* 29 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/createError.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var enhanceError = __webpack_require__(/*! ./enhanceError */ 26);
- /**
- * Create an Error with the specified message, config, error code, request and response.
- *
- * @param {string} message The error message.
- * @param {Object} config The config.
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
- * @param {Object} [request] The request.
- * @param {Object} [response] The response.
- * @returns {Error} The created error.
- */
- module.exports = function createError(message, config, code, request, response) {
- var error = new Error(message);
- return enhanceError(error, config, code, request, response);
- };
- /***/ }),
- /* 30 */
- /*!****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/cookies.js ***!
- \****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- module.exports =
- utils.isStandardBrowserEnv() ?
- // Standard browser envs support document.cookie
- function standardBrowserEnv() {
- return {
- write: function write(name, value, expires, path, domain, secure) {
- var cookie = [];
- cookie.push(name + '=' + encodeURIComponent(value));
- if (utils.isNumber(expires)) {
- cookie.push('expires=' + new Date(expires).toGMTString());
- }
- if (utils.isString(path)) {
- cookie.push('path=' + path);
- }
- if (utils.isString(domain)) {
- cookie.push('domain=' + domain);
- }
- if (secure === true) {
- cookie.push('secure');
- }
- document.cookie = cookie.join('; ');
- },
- read: function read(name) {
- var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
- return match ? decodeURIComponent(match[3]) : null;
- },
- remove: function remove(name) {
- this.write(name, '', Date.now() - 86400000);
- } };
- }() :
- // Non standard browser env (web workers, react-native) lack needed support.
- function nonStandardBrowserEnv() {
- return {
- write: function write() {},
- read: function read() {return null;},
- remove: function remove() {} };
- }();
- /***/ }),
- /* 31 */
- /*!*******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/buildFullPath.js ***!
- \*******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ 32);
- var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ 33);
- /**
- * Creates a new URL by combining the baseURL with the requestedURL,
- * only when the requestedURL is not already an absolute URL.
- * If the requestURL is absolute, this function returns the requestedURL untouched.
- *
- * @param {string} baseURL The base URL
- * @param {string} requestedURL Absolute or relative URL to combine
- * @returns {string} The combined full path
- */
- module.exports = function buildFullPath(baseURL, requestedURL) {
- if (baseURL && !isAbsoluteURL(requestedURL)) {
- return combineURLs(baseURL, requestedURL);
- }
- return requestedURL;
- };
- /***/ }),
- /* 32 */
- /*!**********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
- \**********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /**
- * Determines whether the specified URL is absolute
- *
- * @param {string} url The URL to test
- * @returns {boolean} True if the specified URL is absolute, otherwise false
- */
- module.exports = function isAbsoluteURL(url) {
- // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
- // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
- // by any combination of letters, digits, plus, period, or hyphen.
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
- };
- /***/ }),
- /* 33 */
- /*!********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/combineURLs.js ***!
- \********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /**
- * Creates a new URL by combining the specified URLs
- *
- * @param {string} baseURL The base URL
- * @param {string} relativeURL The relative URL
- * @returns {string} The combined URL
- */
- module.exports = function combineURLs(baseURL, relativeURL) {
- return relativeURL ?
- baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') :
- baseURL;
- };
- /***/ }),
- /* 34 */
- /*!*********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/parseHeaders.js ***!
- \*********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- // Headers whose duplicates are ignored by node
- // c.f. https://nodejs.org/api/http.html#http_message_headers
- var ignoreDuplicateOf = [
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
- 'referer', 'retry-after', 'user-agent'];
- /**
- * Parse headers into an object
- *
- * ```
- * Date: Wed, 27 Aug 2014 08:58:49 GMT
- * Content-Type: application/json
- * Connection: keep-alive
- * Transfer-Encoding: chunked
- * ```
- *
- * @param {String} headers Headers needing to be parsed
- * @returns {Object} Headers parsed into an object
- */
- module.exports = function parseHeaders(headers) {
- var parsed = {};
- var key;
- var val;
- var i;
- if (!headers) {return parsed;}
- utils.forEach(headers.split('\n'), function parser(line) {
- i = line.indexOf(':');
- key = utils.trim(line.substr(0, i)).toLowerCase();
- val = utils.trim(line.substr(i + 1));
- if (key) {
- if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
- return;
- }
- if (key === 'set-cookie') {
- parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
- } else {
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
- }
- }
- });
- return parsed;
- };
- /***/ }),
- /* 35 */
- /*!************************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
- \************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- module.exports =
- utils.isStandardBrowserEnv() ?
- // Standard browser envs have full support of the APIs needed to test
- // whether the request URL is of the same origin as current location.
- function standardBrowserEnv() {
- var msie = /(msie|trident)/i.test(navigator.userAgent);
- var urlParsingNode = document.createElement('a');
- var originURL;
- /**
- * Parse a URL to discover it's components
- *
- * @param {String} url The URL to be parsed
- * @returns {Object}
- */
- function resolveURL(url) {
- var href = url;
- if (msie) {
- // IE needs attribute set twice to normalize properties
- urlParsingNode.setAttribute('href', href);
- href = urlParsingNode.href;
- }
- urlParsingNode.setAttribute('href', href);
- // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
- return {
- href: urlParsingNode.href,
- protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
- host: urlParsingNode.host,
- search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
- hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
- hostname: urlParsingNode.hostname,
- port: urlParsingNode.port,
- pathname: urlParsingNode.pathname.charAt(0) === '/' ?
- urlParsingNode.pathname :
- '/' + urlParsingNode.pathname };
- }
- originURL = resolveURL(window.location.href);
- /**
- * Determine if a URL shares the same origin as the current location
- *
- * @param {String} requestURL The URL to test
- * @returns {boolean} True if URL shares the same origin, otherwise false
- */
- return function isURLSameOrigin(requestURL) {
- var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;
- return parsed.protocol === originURL.protocol &&
- parsed.host === originURL.host;
- };
- }() :
- // Non standard browser envs (web workers, react-native) lack needed support.
- function nonStandardBrowserEnv() {
- return function isURLSameOrigin() {
- return true;
- };
- }();
- /***/ }),
- /* 36 */
- /*!**************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/cancel/Cancel.js ***!
- \**************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /**
- * A `Cancel` is an object that is thrown when an operation is canceled.
- *
- * @class
- * @param {string=} message The message.
- */
- function Cancel(message) {
- this.message = message;
- }
- Cancel.prototype.toString = function toString() {
- return 'Cancel' + (this.message ? ': ' + this.message : '');
- };
- Cancel.prototype.__CANCEL__ = true;
- module.exports = Cancel;
- /***/ }),
- /* 37 */
- /*!****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/cancel/isCancel.js ***!
- \****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- module.exports = function isCancel(value) {
- return !!(value && value.__CANCEL__);
- };
- /***/ }),
- /* 38 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/core/mergeConfig.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ../utils */ 15);
- /**
- * Config-specific merge-function which creates a new config-object
- * by merging two configuration objects together.
- *
- * @param {Object} config1
- * @param {Object} config2
- * @returns {Object} New object resulting from merging config2 to config1
- */
- module.exports = function mergeConfig(config1, config2) {
- // eslint-disable-next-line no-param-reassign
- config2 = config2 || {};
- var config = {};
- function getMergedValue(target, source) {
- if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
- return utils.merge(target, source);
- } else if (utils.isPlainObject(source)) {
- return utils.merge({}, source);
- } else if (utils.isArray(source)) {
- return source.slice();
- }
- return source;
- }
- // eslint-disable-next-line consistent-return
- function mergeDeepProperties(prop) {
- if (!utils.isUndefined(config2[prop])) {
- return getMergedValue(config1[prop], config2[prop]);
- } else if (!utils.isUndefined(config1[prop])) {
- return getMergedValue(undefined, config1[prop]);
- }
- }
- // eslint-disable-next-line consistent-return
- function valueFromConfig2(prop) {
- if (!utils.isUndefined(config2[prop])) {
- return getMergedValue(undefined, config2[prop]);
- }
- }
- // eslint-disable-next-line consistent-return
- function defaultToConfig2(prop) {
- if (!utils.isUndefined(config2[prop])) {
- return getMergedValue(undefined, config2[prop]);
- } else if (!utils.isUndefined(config1[prop])) {
- return getMergedValue(undefined, config1[prop]);
- }
- }
- // eslint-disable-next-line consistent-return
- function mergeDirectKeys(prop) {
- if (prop in config2) {
- return getMergedValue(config1[prop], config2[prop]);
- } else if (prop in config1) {
- return getMergedValue(undefined, config1[prop]);
- }
- }
- var mergeMap = {
- 'url': valueFromConfig2,
- 'method': valueFromConfig2,
- 'data': valueFromConfig2,
- 'baseURL': defaultToConfig2,
- 'transformRequest': defaultToConfig2,
- 'transformResponse': defaultToConfig2,
- 'paramsSerializer': defaultToConfig2,
- 'timeout': defaultToConfig2,
- 'timeoutMessage': defaultToConfig2,
- 'withCredentials': defaultToConfig2,
- 'adapter': defaultToConfig2,
- 'responseType': defaultToConfig2,
- 'xsrfCookieName': defaultToConfig2,
- 'xsrfHeaderName': defaultToConfig2,
- 'onUploadProgress': defaultToConfig2,
- 'onDownloadProgress': defaultToConfig2,
- 'decompress': defaultToConfig2,
- 'maxContentLength': defaultToConfig2,
- 'maxBodyLength': defaultToConfig2,
- 'transport': defaultToConfig2,
- 'httpAgent': defaultToConfig2,
- 'httpsAgent': defaultToConfig2,
- 'cancelToken': defaultToConfig2,
- 'socketPath': defaultToConfig2,
- 'responseEncoding': defaultToConfig2,
- 'validateStatus': mergeDirectKeys };
- utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
- var merge = mergeMap[prop] || mergeDeepProperties;
- var configValue = merge(prop);
- utils.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
- });
- return config;
- };
- /***/ }),
- /* 39 */
- /*!******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/validator.js ***!
- \******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var VERSION = __webpack_require__(/*! ../env/data */ 40).version;
- var validators = {};
- // eslint-disable-next-line func-names
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function (type, i) {
- validators[type] = function validator(thing) {
- return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
- };
- });
- var deprecatedWarnings = {};
- /**
- * Transitional option validator
- * @param {function|boolean?} validator - set to false if the transitional option has been removed
- * @param {string?} version - deprecated version / removed since version
- * @param {string?} message - some message with additional info
- * @returns {function}
- */
- validators.transitional = function transitional(validator, version, message) {
- function formatMessage(opt, desc) {
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
- }
- // eslint-disable-next-line func-names
- return function (value, opt, opts) {
- if (validator === false) {
- throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));
- }
- if (version && !deprecatedWarnings[opt]) {
- deprecatedWarnings[opt] = true;
- // eslint-disable-next-line no-console
- console.warn(
- formatMessage(
- opt,
- ' has been deprecated since v' + version + ' and will be removed in the near future'));
- }
- return validator ? validator(value, opt, opts) : true;
- };
- };
- /**
- * Assert object's properties type
- * @param {object} options
- * @param {object} schema
- * @param {boolean?} allowUnknown
- */
- function assertOptions(options, schema, allowUnknown) {
- if (typeof options !== 'object') {
- throw new TypeError('options must be an object');
- }
- var keys = Object.keys(options);
- var i = keys.length;
- while (i-- > 0) {
- var opt = keys[i];
- var validator = schema[opt];
- if (validator) {
- var value = options[opt];
- var result = value === undefined || validator(value, opt, options);
- if (result !== true) {
- throw new TypeError('option ' + opt + ' must be ' + result);
- }
- continue;
- }
- if (allowUnknown !== true) {
- throw Error('Unknown option ' + opt);
- }
- }
- }
- module.exports = {
- assertOptions: assertOptions,
- validators: validators };
- /***/ }),
- /* 40 */
- /*!*********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/env/data.js ***!
- \*********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = {
- "version": "0.25.0" };
- /***/ }),
- /* 41 */
- /*!*******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/cancel/CancelToken.js ***!
- \*******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var Cancel = __webpack_require__(/*! ./Cancel */ 36);
- /**
- * A `CancelToken` is an object that can be used to request cancellation of an operation.
- *
- * @class
- * @param {Function} executor The executor function.
- */
- function CancelToken(executor) {
- if (typeof executor !== 'function') {
- throw new TypeError('executor must be a function.');
- }
- var resolvePromise;
- this.promise = new Promise(function promiseExecutor(resolve) {
- resolvePromise = resolve;
- });
- var token = this;
- // eslint-disable-next-line func-names
- this.promise.then(function (cancel) {
- if (!token._listeners) return;
- var i;
- var l = token._listeners.length;
- for (i = 0; i < l; i++) {
- token._listeners[i](cancel);
- }
- token._listeners = null;
- });
- // eslint-disable-next-line func-names
- this.promise.then = function (onfulfilled) {
- var _resolve;
- // eslint-disable-next-line func-names
- var promise = new Promise(function (resolve) {
- token.subscribe(resolve);
- _resolve = resolve;
- }).then(onfulfilled);
- promise.cancel = function reject() {
- token.unsubscribe(_resolve);
- };
- return promise;
- };
- executor(function cancel(message) {
- if (token.reason) {
- // Cancellation has already been requested
- return;
- }
- token.reason = new Cancel(message);
- resolvePromise(token.reason);
- });
- }
- /**
- * Throws a `Cancel` if cancellation has been requested.
- */
- CancelToken.prototype.throwIfRequested = function throwIfRequested() {
- if (this.reason) {
- throw this.reason;
- }
- };
- /**
- * Subscribe to the cancel signal
- */
- CancelToken.prototype.subscribe = function subscribe(listener) {
- if (this.reason) {
- listener(this.reason);
- return;
- }
- if (this._listeners) {
- this._listeners.push(listener);
- } else {
- this._listeners = [listener];
- }
- };
- /**
- * Unsubscribe from the cancel signal
- */
- CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
- if (!this._listeners) {
- return;
- }
- var index = this._listeners.indexOf(listener);
- if (index !== -1) {
- this._listeners.splice(index, 1);
- }
- };
- /**
- * Returns an object that contains a new `CancelToken` and a function that, when called,
- * cancels the `CancelToken`.
- */
- CancelToken.source = function source() {
- var cancel;
- var token = new CancelToken(function executor(c) {
- cancel = c;
- });
- return {
- token: token,
- cancel: cancel };
- };
- module.exports = CancelToken;
- /***/ }),
- /* 42 */
- /*!***************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/spread.js ***!
- \***************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- /**
- * Syntactic sugar for invoking a function and expanding an array for arguments.
- *
- * Common use case would be to use `Function.prototype.apply`.
- *
- * ```js
- * function f(x, y, z) {}
- * var args = [1, 2, 3];
- * f.apply(null, args);
- * ```
- *
- * With `spread` this example can be re-written.
- *
- * ```js
- * spread(function(x, y, z) {})([1, 2, 3]);
- * ```
- *
- * @param {Function} callback
- * @returns {Function}
- */
- module.exports = function spread(callback) {
- return function wrap(arr) {
- return callback.apply(null, arr);
- };
- };
- /***/ }),
- /* 43 */
- /*!*********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios@0.25.0/node_modules/axios/lib/helpers/isAxiosError.js ***!
- \*********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var utils = __webpack_require__(/*! ./../utils */ 15);
- /**
- * Determines whether the payload is an error thrown by Axios
- *
- * @param {*} payload The value to test
- * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
- */
- module.exports = function isAxiosError(payload) {
- return utils.isObject(payload) && payload.isAxiosError === true;
- };
- /***/ }),
- /* 44 */
- /*!***************************************!*\
- !*** ./node_modules/core-js/index.js ***!
- \***************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ./es */ 45);
- __webpack_require__(/*! ./proposals */ 405);
- __webpack_require__(/*! ./web */ 582);
- var path = __webpack_require__(/*! ./internals/path */ 80);
- module.exports = path;
- /***/ }),
- /* 45 */
- /*!******************************************!*\
- !*** ./node_modules/core-js/es/index.js ***!
- \******************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/es.symbol */ 46);
- __webpack_require__(/*! ../modules/es.symbol.async-iterator */ 107);
- __webpack_require__(/*! ../modules/es.symbol.description */ 108);
- __webpack_require__(/*! ../modules/es.symbol.has-instance */ 109);
- __webpack_require__(/*! ../modules/es.symbol.is-concat-spreadable */ 110);
- __webpack_require__(/*! ../modules/es.symbol.iterator */ 111);
- __webpack_require__(/*! ../modules/es.symbol.match */ 112);
- __webpack_require__(/*! ../modules/es.symbol.match-all */ 113);
- __webpack_require__(/*! ../modules/es.symbol.replace */ 114);
- __webpack_require__(/*! ../modules/es.symbol.search */ 115);
- __webpack_require__(/*! ../modules/es.symbol.species */ 116);
- __webpack_require__(/*! ../modules/es.symbol.split */ 117);
- __webpack_require__(/*! ../modules/es.symbol.to-primitive */ 118);
- __webpack_require__(/*! ../modules/es.symbol.to-string-tag */ 119);
- __webpack_require__(/*! ../modules/es.symbol.unscopables */ 120);
- __webpack_require__(/*! ../modules/es.object.assign */ 121);
- __webpack_require__(/*! ../modules/es.object.create */ 123);
- __webpack_require__(/*! ../modules/es.object.define-property */ 124);
- __webpack_require__(/*! ../modules/es.object.define-properties */ 125);
- __webpack_require__(/*! ../modules/es.object.entries */ 126);
- __webpack_require__(/*! ../modules/es.object.freeze */ 128);
- __webpack_require__(/*! ../modules/es.object.from-entries */ 131);
- __webpack_require__(/*! ../modules/es.object.get-own-property-descriptor */ 140);
- __webpack_require__(/*! ../modules/es.object.get-own-property-descriptors */ 141);
- __webpack_require__(/*! ../modules/es.object.get-own-property-names */ 142);
- __webpack_require__(/*! ../modules/es.object.get-prototype-of */ 143);
- __webpack_require__(/*! ../modules/es.object.is */ 146);
- __webpack_require__(/*! ../modules/es.object.is-extensible */ 148);
- __webpack_require__(/*! ../modules/es.object.is-frozen */ 149);
- __webpack_require__(/*! ../modules/es.object.is-sealed */ 150);
- __webpack_require__(/*! ../modules/es.object.keys */ 151);
- __webpack_require__(/*! ../modules/es.object.prevent-extensions */ 152);
- __webpack_require__(/*! ../modules/es.object.seal */ 153);
- __webpack_require__(/*! ../modules/es.object.set-prototype-of */ 154);
- __webpack_require__(/*! ../modules/es.object.values */ 157);
- __webpack_require__(/*! ../modules/es.object.to-string */ 158);
- __webpack_require__(/*! ../modules/es.object.define-getter */ 160);
- __webpack_require__(/*! ../modules/es.object.define-setter */ 162);
- __webpack_require__(/*! ../modules/es.object.lookup-getter */ 163);
- __webpack_require__(/*! ../modules/es.object.lookup-setter */ 164);
- __webpack_require__(/*! ../modules/es.function.bind */ 165);
- __webpack_require__(/*! ../modules/es.function.name */ 167);
- __webpack_require__(/*! ../modules/es.function.has-instance */ 168);
- __webpack_require__(/*! ../modules/es.global-this */ 169);
- __webpack_require__(/*! ../modules/es.array.from */ 170);
- __webpack_require__(/*! ../modules/es.array.is-array */ 173);
- __webpack_require__(/*! ../modules/es.array.of */ 174);
- __webpack_require__(/*! ../modules/es.array.concat */ 175);
- __webpack_require__(/*! ../modules/es.array.copy-within */ 179);
- __webpack_require__(/*! ../modules/es.array.every */ 182);
- __webpack_require__(/*! ../modules/es.array.fill */ 185);
- __webpack_require__(/*! ../modules/es.array.filter */ 187);
- __webpack_require__(/*! ../modules/es.array.find */ 188);
- __webpack_require__(/*! ../modules/es.array.find-index */ 189);
- __webpack_require__(/*! ../modules/es.array.flat */ 190);
- __webpack_require__(/*! ../modules/es.array.flat-map */ 192);
- __webpack_require__(/*! ../modules/es.array.for-each */ 193);
- __webpack_require__(/*! ../modules/es.array.includes */ 195);
- __webpack_require__(/*! ../modules/es.array.index-of */ 196);
- __webpack_require__(/*! ../modules/es.array.join */ 197);
- __webpack_require__(/*! ../modules/es.array.last-index-of */ 198);
- __webpack_require__(/*! ../modules/es.array.map */ 200);
- __webpack_require__(/*! ../modules/es.array.reduce */ 201);
- __webpack_require__(/*! ../modules/es.array.reduce-right */ 203);
- __webpack_require__(/*! ../modules/es.array.reverse */ 204);
- __webpack_require__(/*! ../modules/es.array.slice */ 205);
- __webpack_require__(/*! ../modules/es.array.some */ 206);
- __webpack_require__(/*! ../modules/es.array.sort */ 207);
- __webpack_require__(/*! ../modules/es.array.splice */ 208);
- __webpack_require__(/*! ../modules/es.array.species */ 209);
- __webpack_require__(/*! ../modules/es.array.unscopables.flat */ 211);
- __webpack_require__(/*! ../modules/es.array.unscopables.flat-map */ 212);
- __webpack_require__(/*! ../modules/es.array.iterator */ 213);
- __webpack_require__(/*! ../modules/es.string.from-code-point */ 217);
- __webpack_require__(/*! ../modules/es.string.raw */ 218);
- __webpack_require__(/*! ../modules/es.string.code-point-at */ 219);
- __webpack_require__(/*! ../modules/es.string.ends-with */ 221);
- __webpack_require__(/*! ../modules/es.string.includes */ 225);
- __webpack_require__(/*! ../modules/es.string.match */ 226);
- __webpack_require__(/*! ../modules/es.string.match-all */ 234);
- __webpack_require__(/*! ../modules/es.string.pad-end */ 236);
- __webpack_require__(/*! ../modules/es.string.pad-start */ 240);
- __webpack_require__(/*! ../modules/es.string.repeat */ 241);
- __webpack_require__(/*! ../modules/es.string.replace */ 242);
- __webpack_require__(/*! ../modules/es.string.search */ 243);
- __webpack_require__(/*! ../modules/es.string.split */ 244);
- __webpack_require__(/*! ../modules/es.string.starts-with */ 245);
- __webpack_require__(/*! ../modules/es.string.trim */ 246);
- __webpack_require__(/*! ../modules/es.string.trim-start */ 250);
- __webpack_require__(/*! ../modules/es.string.trim-end */ 251);
- __webpack_require__(/*! ../modules/es.string.iterator */ 252);
- __webpack_require__(/*! ../modules/es.string.anchor */ 253);
- __webpack_require__(/*! ../modules/es.string.big */ 256);
- __webpack_require__(/*! ../modules/es.string.blink */ 257);
- __webpack_require__(/*! ../modules/es.string.bold */ 258);
- __webpack_require__(/*! ../modules/es.string.fixed */ 259);
- __webpack_require__(/*! ../modules/es.string.fontcolor */ 260);
- __webpack_require__(/*! ../modules/es.string.fontsize */ 261);
- __webpack_require__(/*! ../modules/es.string.italics */ 262);
- __webpack_require__(/*! ../modules/es.string.link */ 263);
- __webpack_require__(/*! ../modules/es.string.small */ 264);
- __webpack_require__(/*! ../modules/es.string.strike */ 265);
- __webpack_require__(/*! ../modules/es.string.sub */ 266);
- __webpack_require__(/*! ../modules/es.string.sup */ 267);
- __webpack_require__(/*! ../modules/es.regexp.constructor */ 268);
- __webpack_require__(/*! ../modules/es.regexp.exec */ 228);
- __webpack_require__(/*! ../modules/es.regexp.flags */ 270);
- __webpack_require__(/*! ../modules/es.regexp.sticky */ 271);
- __webpack_require__(/*! ../modules/es.regexp.test */ 272);
- __webpack_require__(/*! ../modules/es.regexp.to-string */ 273);
- __webpack_require__(/*! ../modules/es.parse-int */ 274);
- __webpack_require__(/*! ../modules/es.parse-float */ 276);
- __webpack_require__(/*! ../modules/es.number.constructor */ 278);
- __webpack_require__(/*! ../modules/es.number.epsilon */ 279);
- __webpack_require__(/*! ../modules/es.number.is-finite */ 280);
- __webpack_require__(/*! ../modules/es.number.is-integer */ 282);
- __webpack_require__(/*! ../modules/es.number.is-nan */ 284);
- __webpack_require__(/*! ../modules/es.number.is-safe-integer */ 285);
- __webpack_require__(/*! ../modules/es.number.max-safe-integer */ 286);
- __webpack_require__(/*! ../modules/es.number.min-safe-integer */ 287);
- __webpack_require__(/*! ../modules/es.number.parse-float */ 288);
- __webpack_require__(/*! ../modules/es.number.parse-int */ 289);
- __webpack_require__(/*! ../modules/es.number.to-fixed */ 290);
- __webpack_require__(/*! ../modules/es.number.to-precision */ 292);
- __webpack_require__(/*! ../modules/es.math.acosh */ 293);
- __webpack_require__(/*! ../modules/es.math.asinh */ 295);
- __webpack_require__(/*! ../modules/es.math.atanh */ 296);
- __webpack_require__(/*! ../modules/es.math.cbrt */ 297);
- __webpack_require__(/*! ../modules/es.math.clz32 */ 299);
- __webpack_require__(/*! ../modules/es.math.cosh */ 300);
- __webpack_require__(/*! ../modules/es.math.expm1 */ 302);
- __webpack_require__(/*! ../modules/es.math.fround */ 303);
- __webpack_require__(/*! ../modules/es.math.hypot */ 305);
- __webpack_require__(/*! ../modules/es.math.imul */ 306);
- __webpack_require__(/*! ../modules/es.math.log10 */ 307);
- __webpack_require__(/*! ../modules/es.math.log1p */ 308);
- __webpack_require__(/*! ../modules/es.math.log2 */ 309);
- __webpack_require__(/*! ../modules/es.math.sign */ 310);
- __webpack_require__(/*! ../modules/es.math.sinh */ 311);
- __webpack_require__(/*! ../modules/es.math.tanh */ 312);
- __webpack_require__(/*! ../modules/es.math.to-string-tag */ 313);
- __webpack_require__(/*! ../modules/es.math.trunc */ 314);
- __webpack_require__(/*! ../modules/es.date.now */ 315);
- __webpack_require__(/*! ../modules/es.date.to-json */ 316);
- __webpack_require__(/*! ../modules/es.date.to-iso-string */ 317);
- __webpack_require__(/*! ../modules/es.date.to-string */ 319);
- __webpack_require__(/*! ../modules/es.date.to-primitive */ 320);
- __webpack_require__(/*! ../modules/es.json.stringify */ 322);
- __webpack_require__(/*! ../modules/es.json.to-string-tag */ 323);
- __webpack_require__(/*! ../modules/es.promise */ 324);
- __webpack_require__(/*! ../modules/es.promise.all-settled */ 335);
- __webpack_require__(/*! ../modules/es.promise.finally */ 336);
- __webpack_require__(/*! ../modules/es.map */ 337);
- __webpack_require__(/*! ../modules/es.set */ 340);
- __webpack_require__(/*! ../modules/es.weak-map */ 341);
- __webpack_require__(/*! ../modules/es.weak-set */ 343);
- __webpack_require__(/*! ../modules/es.array-buffer.constructor */ 344);
- __webpack_require__(/*! ../modules/es.array-buffer.is-view */ 349);
- __webpack_require__(/*! ../modules/es.array-buffer.slice */ 351);
- __webpack_require__(/*! ../modules/es.data-view */ 352);
- __webpack_require__(/*! ../modules/es.typed-array.int8-array */ 353);
- __webpack_require__(/*! ../modules/es.typed-array.uint8-array */ 359);
- __webpack_require__(/*! ../modules/es.typed-array.uint8-clamped-array */ 360);
- __webpack_require__(/*! ../modules/es.typed-array.int16-array */ 361);
- __webpack_require__(/*! ../modules/es.typed-array.uint16-array */ 362);
- __webpack_require__(/*! ../modules/es.typed-array.int32-array */ 363);
- __webpack_require__(/*! ../modules/es.typed-array.uint32-array */ 364);
- __webpack_require__(/*! ../modules/es.typed-array.float32-array */ 365);
- __webpack_require__(/*! ../modules/es.typed-array.float64-array */ 366);
- __webpack_require__(/*! ../modules/es.typed-array.from */ 367);
- __webpack_require__(/*! ../modules/es.typed-array.of */ 368);
- __webpack_require__(/*! ../modules/es.typed-array.copy-within */ 369);
- __webpack_require__(/*! ../modules/es.typed-array.every */ 370);
- __webpack_require__(/*! ../modules/es.typed-array.fill */ 371);
- __webpack_require__(/*! ../modules/es.typed-array.filter */ 372);
- __webpack_require__(/*! ../modules/es.typed-array.find */ 373);
- __webpack_require__(/*! ../modules/es.typed-array.find-index */ 374);
- __webpack_require__(/*! ../modules/es.typed-array.for-each */ 375);
- __webpack_require__(/*! ../modules/es.typed-array.includes */ 376);
- __webpack_require__(/*! ../modules/es.typed-array.index-of */ 377);
- __webpack_require__(/*! ../modules/es.typed-array.iterator */ 378);
- __webpack_require__(/*! ../modules/es.typed-array.join */ 379);
- __webpack_require__(/*! ../modules/es.typed-array.last-index-of */ 380);
- __webpack_require__(/*! ../modules/es.typed-array.map */ 381);
- __webpack_require__(/*! ../modules/es.typed-array.reduce */ 382);
- __webpack_require__(/*! ../modules/es.typed-array.reduce-right */ 383);
- __webpack_require__(/*! ../modules/es.typed-array.reverse */ 384);
- __webpack_require__(/*! ../modules/es.typed-array.set */ 385);
- __webpack_require__(/*! ../modules/es.typed-array.slice */ 386);
- __webpack_require__(/*! ../modules/es.typed-array.some */ 387);
- __webpack_require__(/*! ../modules/es.typed-array.sort */ 388);
- __webpack_require__(/*! ../modules/es.typed-array.subarray */ 389);
- __webpack_require__(/*! ../modules/es.typed-array.to-locale-string */ 390);
- __webpack_require__(/*! ../modules/es.typed-array.to-string */ 391);
- __webpack_require__(/*! ../modules/es.reflect.apply */ 392);
- __webpack_require__(/*! ../modules/es.reflect.construct */ 393);
- __webpack_require__(/*! ../modules/es.reflect.define-property */ 394);
- __webpack_require__(/*! ../modules/es.reflect.delete-property */ 395);
- __webpack_require__(/*! ../modules/es.reflect.get */ 396);
- __webpack_require__(/*! ../modules/es.reflect.get-own-property-descriptor */ 397);
- __webpack_require__(/*! ../modules/es.reflect.get-prototype-of */ 398);
- __webpack_require__(/*! ../modules/es.reflect.has */ 399);
- __webpack_require__(/*! ../modules/es.reflect.is-extensible */ 400);
- __webpack_require__(/*! ../modules/es.reflect.own-keys */ 401);
- __webpack_require__(/*! ../modules/es.reflect.prevent-extensions */ 402);
- __webpack_require__(/*! ../modules/es.reflect.set */ 403);
- __webpack_require__(/*! ../modules/es.reflect.set-prototype-of */ 404);
- var path = __webpack_require__(/*! ../internals/path */ 80);
- module.exports = path;
- /***/ }),
- /* 46 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ 90);
- var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 91);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ 94);
- var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81);
- var getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 98);
- var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 88);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 52);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var shared = __webpack_require__(/*! ../internals/shared */ 73);
- var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 72);
- var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 76);
- var uid = __webpack_require__(/*! ../internals/uid */ 75);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 100);
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var $forEach = __webpack_require__(/*! ../internals/array-iteration */ 103).forEach;
- var HIDDEN = sharedKey('hidden');
- var SYMBOL = 'Symbol';
- var PROTOTYPE = 'prototype';
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(SYMBOL);
- var ObjectPrototype = Object[PROTOTYPE];
- var $Symbol = global.Symbol;
- var $stringify = getBuiltIn('JSON', 'stringify');
- var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- var nativeDefineProperty = definePropertyModule.f;
- var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
- var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
- var AllSymbols = shared('symbols');
- var ObjectPrototypeSymbols = shared('op-symbols');
- var StringToSymbolRegistry = shared('string-to-symbol-registry');
- var SymbolToStringRegistry = shared('symbol-to-string-registry');
- var WellKnownSymbolsStore = shared('wks');
- var QObject = global.QObject;
- // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
- var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
- // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
- var setSymbolDescriptor = DESCRIPTORS && fails(function () {
- return nativeObjectCreate(nativeDefineProperty({}, 'a', {
- get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
- })).a != 7;
- }) ? function (O, P, Attributes) {
- var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
- if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
- nativeDefineProperty(O, P, Attributes);
- if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
- nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
- }
- } : nativeDefineProperty;
- var wrap = function (tag, description) {
- var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
- setInternalState(symbol, {
- type: SYMBOL,
- tag: tag,
- description: description
- });
- if (!DESCRIPTORS) symbol.description = description;
- return symbol;
- };
- var isSymbol = USE_SYMBOL_AS_UID ? function (it) {
- return typeof it == 'symbol';
- } : function (it) {
- return Object(it) instanceof $Symbol;
- };
- var $defineProperty = function defineProperty(O, P, Attributes) {
- if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
- anObject(O);
- var key = toPrimitive(P, true);
- anObject(Attributes);
- if (has(AllSymbols, key)) {
- if (!Attributes.enumerable) {
- if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
- O[HIDDEN][key] = true;
- } else {
- if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
- Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
- } return setSymbolDescriptor(O, key, Attributes);
- } return nativeDefineProperty(O, key, Attributes);
- };
- var $defineProperties = function defineProperties(O, Properties) {
- anObject(O);
- var properties = toIndexedObject(Properties);
- var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
- $forEach(keys, function (key) {
- if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
- });
- return O;
- };
- var $create = function create(O, Properties) {
- return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
- };
- var $propertyIsEnumerable = function propertyIsEnumerable(V) {
- var P = toPrimitive(V, true);
- var enumerable = nativePropertyIsEnumerable.call(this, P);
- if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
- return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
- };
- var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
- var it = toIndexedObject(O);
- var key = toPrimitive(P, true);
- if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
- var descriptor = nativeGetOwnPropertyDescriptor(it, key);
- if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
- descriptor.enumerable = true;
- }
- return descriptor;
- };
- var $getOwnPropertyNames = function getOwnPropertyNames(O) {
- var names = nativeGetOwnPropertyNames(toIndexedObject(O));
- var result = [];
- $forEach(names, function (key) {
- if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
- });
- return result;
- };
- var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
- var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
- var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
- var result = [];
- $forEach(names, function (key) {
- if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
- result.push(AllSymbols[key]);
- }
- });
- return result;
- };
- // `Symbol` constructor
- // https://tc39.github.io/ecma262/#sec-symbol-constructor
- if (!NATIVE_SYMBOL) {
- $Symbol = function Symbol() {
- if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
- var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
- var tag = uid(description);
- var setter = function (value) {
- if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
- if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
- setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
- };
- if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
- return wrap(tag, description);
- };
- redefine($Symbol[PROTOTYPE], 'toString', function toString() {
- return getInternalState(this).tag;
- });
- redefine($Symbol, 'withoutSetter', function (description) {
- return wrap(uid(description), description);
- });
- propertyIsEnumerableModule.f = $propertyIsEnumerable;
- definePropertyModule.f = $defineProperty;
- getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
- getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
- getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
- wrappedWellKnownSymbolModule.f = function (name) {
- return wrap(wellKnownSymbol(name), name);
- };
- if (DESCRIPTORS) {
- // https://github.com/tc39/proposal-Symbol-description
- nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
- configurable: true,
- get: function description() {
- return getInternalState(this).description;
- }
- });
- if (!IS_PURE) {
- redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
- }
- }
- }
- $({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
- Symbol: $Symbol
- });
- $forEach(objectKeys(WellKnownSymbolsStore), function (name) {
- defineWellKnownSymbol(name);
- });
- $({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
- // `Symbol.for` method
- // https://tc39.github.io/ecma262/#sec-symbol.for
- 'for': function (key) {
- var string = String(key);
- if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
- var symbol = $Symbol(string);
- StringToSymbolRegistry[string] = symbol;
- SymbolToStringRegistry[symbol] = string;
- return symbol;
- },
- // `Symbol.keyFor` method
- // https://tc39.github.io/ecma262/#sec-symbol.keyfor
- keyFor: function keyFor(sym) {
- if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
- if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
- },
- useSetter: function () { USE_SETTER = true; },
- useSimple: function () { USE_SETTER = false; }
- });
- $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
- // `Object.create` method
- // https://tc39.github.io/ecma262/#sec-object.create
- create: $create,
- // `Object.defineProperty` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
- defineProperty: $defineProperty,
- // `Object.defineProperties` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
- defineProperties: $defineProperties,
- // `Object.getOwnPropertyDescriptor` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
- getOwnPropertyDescriptor: $getOwnPropertyDescriptor
- });
- $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
- // `Object.getOwnPropertyNames` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
- getOwnPropertyNames: $getOwnPropertyNames,
- // `Object.getOwnPropertySymbols` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
- getOwnPropertySymbols: $getOwnPropertySymbols
- });
- // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
- // https://bugs.chromium.org/p/v8/issues/detail?id=3443
- $({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
- getOwnPropertySymbols: function getOwnPropertySymbols(it) {
- return getOwnPropertySymbolsModule.f(toObject(it));
- }
- });
- // `JSON.stringify` method behavior with symbols
- // https://tc39.github.io/ecma262/#sec-json.stringify
- if ($stringify) {
- var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
- var symbol = $Symbol();
- // MS Edge converts symbol values to JSON as {}
- return $stringify([symbol]) != '[null]'
- // WebKit converts symbol values to JSON as null
- || $stringify({ a: symbol }) != '{}'
- // V8 throws on boxed symbols
- || $stringify(Object(symbol)) != '{}';
- });
- $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
- // eslint-disable-next-line no-unused-vars
- stringify: function stringify(it, replacer, space) {
- var args = [it];
- var index = 1;
- var $replacer;
- while (arguments.length > index) args.push(arguments[index++]);
- $replacer = replacer;
- if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
- if (!isArray(replacer)) replacer = function (key, value) {
- if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
- if (!isSymbol(value)) return value;
- };
- args[1] = replacer;
- return $stringify.apply(null, args);
- }
- });
- }
- // `Symbol.prototype[@@toPrimitive]` method
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
- if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
- createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
- }
- // `Symbol.prototype[@@toStringTag]` property
- // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
- setToStringTag($Symbol, SYMBOL);
- hiddenKeys[HIDDEN] = true;
- /***/ }),
- /* 47 */
- /*!**************************************************!*\
- !*** ./node_modules/core-js/internals/export.js ***!
- \**************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var setGlobal = __webpack_require__(/*! ../internals/set-global */ 67);
- var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 77);
- var isForced = __webpack_require__(/*! ../internals/is-forced */ 89);
- /*
- options.target - name of the target object
- options.global - target is the global object
- options.stat - export as static methods of target
- options.proto - export as prototype methods of target
- options.real - real prototype method for the `pure` version
- options.forced - export even if the native feature is available
- options.bind - bind methods to the target, required for the `pure` version
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
- options.sham - add a flag to not completely full polyfills
- options.enumerable - export as enumerable property
- options.noTargetGet - prevent calling a getter on target
- */
- module.exports = function (options, source) {
- var TARGET = options.target;
- var GLOBAL = options.global;
- var STATIC = options.stat;
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
- if (GLOBAL) {
- target = global;
- } else if (STATIC) {
- target = global[TARGET] || setGlobal(TARGET, {});
- } else {
- target = (global[TARGET] || {}).prototype;
- }
- if (target) for (key in source) {
- sourceProperty = source[key];
- if (options.noTargetGet) {
- descriptor = getOwnPropertyDescriptor(target, key);
- targetProperty = descriptor && descriptor.value;
- } else targetProperty = target[key];
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
- // contained in target
- if (!FORCED && targetProperty !== undefined) {
- if (typeof sourceProperty === typeof targetProperty) continue;
- copyConstructorProperties(sourceProperty, targetProperty);
- }
- // add a flag to not completely full polyfills
- if (options.sham || (targetProperty && targetProperty.sham)) {
- createNonEnumerableProperty(sourceProperty, 'sham', true);
- }
- // extend global
- redefine(target, key, sourceProperty, options);
- }
- };
- /***/ }),
- /* 48 */
- /*!**************************************************!*\
- !*** ./node_modules/core-js/internals/global.js ***!
- \**************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
- return it && it.Math == Math && it;
- };
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
- module.exports =
- // eslint-disable-next-line no-undef
- check(typeof globalThis == 'object' && globalThis) ||
- check(typeof window == 'object' && window) ||
- check(typeof self == 'object' && self) ||
- check(typeof global == 'object' && global) ||
- // eslint-disable-next-line no-new-func
- Function('return this')();
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ 2)))
- /***/ }),
- /* 49 */
- /*!******************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
- \******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 52);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 61);
- var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
- // `Object.getOwnPropertyDescriptor` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
- exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
- O = toIndexedObject(O);
- P = toPrimitive(P, true);
- if (IE8_DOM_DEFINE) try {
- return nativeGetOwnPropertyDescriptor(O, P);
- } catch (error) { /* empty */ }
- if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
- };
- /***/ }),
- /* 50 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/descriptors.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- // Thank's IE8 for his funny defineProperty
- module.exports = !fails(function () {
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
- });
- /***/ }),
- /* 51 */
- /*!*************************************************!*\
- !*** ./node_modules/core-js/internals/fails.js ***!
- \*************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (exec) {
- try {
- return !!exec();
- } catch (error) {
- return true;
- }
- };
- /***/ }),
- /* 52 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
- // Nashorn ~ JDK8 bug
- var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
- // `Object.prototype.propertyIsEnumerable` method implementation
- // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
- var descriptor = getOwnPropertyDescriptor(this, V);
- return !!descriptor && descriptor.enumerable;
- } : nativePropertyIsEnumerable;
- /***/ }),
- /* 53 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/internals/create-property-descriptor.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (bitmap, value) {
- return {
- enumerable: !(bitmap & 1),
- configurable: !(bitmap & 2),
- writable: !(bitmap & 4),
- value: value
- };
- };
- /***/ }),
- /* 54 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/to-indexed-object.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // toObject with fallback for non-array-like ES3 strings
- var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 55);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- module.exports = function (it) {
- return IndexedObject(requireObjectCoercible(it));
- };
- /***/ }),
- /* 55 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/indexed-object.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var split = ''.split;
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
- module.exports = fails(function () {
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
- // eslint-disable-next-line no-prototype-builtins
- return !Object('z').propertyIsEnumerable(0);
- }) ? function (it) {
- return classof(it) == 'String' ? split.call(it, '') : Object(it);
- } : Object;
- /***/ }),
- /* 56 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/classof-raw.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var toString = {}.toString;
- module.exports = function (it) {
- return toString.call(it).slice(8, -1);
- };
- /***/ }),
- /* 57 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/require-object-coercible.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // `RequireObjectCoercible` abstract operation
- // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
- module.exports = function (it) {
- if (it == undefined) throw TypeError("Can't call method on " + it);
- return it;
- };
- /***/ }),
- /* 58 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/to-primitive.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- // `ToPrimitive` abstract operation
- // https://tc39.github.io/ecma262/#sec-toprimitive
- // instead of the ES6 spec version, we didn't implement @@toPrimitive case
- // and the second argument - flag - preferred type is a string
- module.exports = function (input, PREFERRED_STRING) {
- if (!isObject(input)) return input;
- var fn, val;
- if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
- if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
- if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
- throw TypeError("Can't convert object to primitive value");
- };
- /***/ }),
- /* 59 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/is-object.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (it) {
- return typeof it === 'object' ? it !== null : typeof it === 'function';
- };
- /***/ }),
- /* 60 */
- /*!***********************************************!*\
- !*** ./node_modules/core-js/internals/has.js ***!
- \***********************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var hasOwnProperty = {}.hasOwnProperty;
- module.exports = function (it, key) {
- return hasOwnProperty.call(it, key);
- };
- /***/ }),
- /* 61 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/ie8-dom-define.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var createElement = __webpack_require__(/*! ../internals/document-create-element */ 62);
- // Thank's IE8 for his funny defineProperty
- module.exports = !DESCRIPTORS && !fails(function () {
- return Object.defineProperty(createElement('div'), 'a', {
- get: function () { return 7; }
- }).a != 7;
- });
- /***/ }),
- /* 62 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/document-create-element.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var document = global.document;
- // typeof document.createElement is 'object' in old IE
- var EXISTS = isObject(document) && isObject(document.createElement);
- module.exports = function (it) {
- return EXISTS ? document.createElement(it) : {};
- };
- /***/ }),
- /* 63 */
- /*!**************************************************************************!*\
- !*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- module.exports = DESCRIPTORS ? function (object, key, value) {
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
- } : function (object, key, value) {
- object[key] = value;
- return object;
- };
- /***/ }),
- /* 64 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/internals/object-define-property.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 61);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var nativeDefineProperty = Object.defineProperty;
- // `Object.defineProperty` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
- exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
- anObject(O);
- P = toPrimitive(P, true);
- anObject(Attributes);
- if (IE8_DOM_DEFINE) try {
- return nativeDefineProperty(O, P, Attributes);
- } catch (error) { /* empty */ }
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
- if ('value' in Attributes) O[P] = Attributes.value;
- return O;
- };
- /***/ }),
- /* 65 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/an-object.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- module.exports = function (it) {
- if (!isObject(it)) {
- throw TypeError(String(it) + ' is not an object');
- } return it;
- };
- /***/ }),
- /* 66 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/internals/redefine.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var setGlobal = __webpack_require__(/*! ../internals/set-global */ 67);
- var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 68);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var getInternalState = InternalStateModule.get;
- var enforceInternalState = InternalStateModule.enforce;
- var TEMPLATE = String(String).split('String');
- (module.exports = function (O, key, value, options) {
- var unsafe = options ? !!options.unsafe : false;
- var simple = options ? !!options.enumerable : false;
- var noTargetGet = options ? !!options.noTargetGet : false;
- if (typeof value == 'function') {
- if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
- enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
- }
- if (O === global) {
- if (simple) O[key] = value;
- else setGlobal(key, value);
- return;
- } else if (!unsafe) {
- delete O[key];
- } else if (!noTargetGet && O[key]) {
- simple = true;
- }
- if (simple) O[key] = value;
- else createNonEnumerableProperty(O, key, value);
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
- })(Function.prototype, 'toString', function toString() {
- return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
- });
- /***/ }),
- /* 67 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/set-global.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- module.exports = function (key, value) {
- try {
- createNonEnumerableProperty(global, key, value);
- } catch (error) {
- global[key] = value;
- } return value;
- };
- /***/ }),
- /* 68 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/inspect-source.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var store = __webpack_require__(/*! ../internals/shared-store */ 69);
- var functionToString = Function.toString;
- // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
- if (typeof store.inspectSource != 'function') {
- store.inspectSource = function (it) {
- return functionToString.call(it);
- };
- }
- module.exports = store.inspectSource;
- /***/ }),
- /* 69 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/shared-store.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var setGlobal = __webpack_require__(/*! ../internals/set-global */ 67);
- var SHARED = '__core-js_shared__';
- var store = global[SHARED] || setGlobal(SHARED, {});
- module.exports = store;
- /***/ }),
- /* 70 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/internal-state.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ 71);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var objectHas = __webpack_require__(/*! ../internals/has */ 60);
- var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 72);
- var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 76);
- var WeakMap = global.WeakMap;
- var set, get, has;
- var enforce = function (it) {
- return has(it) ? get(it) : set(it, {});
- };
- var getterFor = function (TYPE) {
- return function (it) {
- var state;
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
- } return state;
- };
- };
- if (NATIVE_WEAK_MAP) {
- var store = new WeakMap();
- var wmget = store.get;
- var wmhas = store.has;
- var wmset = store.set;
- set = function (it, metadata) {
- wmset.call(store, it, metadata);
- return metadata;
- };
- get = function (it) {
- return wmget.call(store, it) || {};
- };
- has = function (it) {
- return wmhas.call(store, it);
- };
- } else {
- var STATE = sharedKey('state');
- hiddenKeys[STATE] = true;
- set = function (it, metadata) {
- createNonEnumerableProperty(it, STATE, metadata);
- return metadata;
- };
- get = function (it) {
- return objectHas(it, STATE) ? it[STATE] : {};
- };
- has = function (it) {
- return objectHas(it, STATE);
- };
- }
- module.exports = {
- set: set,
- get: get,
- has: has,
- enforce: enforce,
- getterFor: getterFor
- };
- /***/ }),
- /* 71 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/native-weak-map.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 68);
- var WeakMap = global.WeakMap;
- module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
- /***/ }),
- /* 72 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/shared-key.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var shared = __webpack_require__(/*! ../internals/shared */ 73);
- var uid = __webpack_require__(/*! ../internals/uid */ 75);
- var keys = shared('keys');
- module.exports = function (key) {
- return keys[key] || (keys[key] = uid(key));
- };
- /***/ }),
- /* 73 */
- /*!**************************************************!*\
- !*** ./node_modules/core-js/internals/shared.js ***!
- \**************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var store = __webpack_require__(/*! ../internals/shared-store */ 69);
- (module.exports = function (key, value) {
- return store[key] || (store[key] = value !== undefined ? value : {});
- })('versions', []).push({
- version: '3.6.5',
- mode: IS_PURE ? 'pure' : 'global',
- copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
- });
- /***/ }),
- /* 74 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/internals/is-pure.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = false;
- /***/ }),
- /* 75 */
- /*!***********************************************!*\
- !*** ./node_modules/core-js/internals/uid.js ***!
- \***********************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var id = 0;
- var postfix = Math.random();
- module.exports = function (key) {
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
- };
- /***/ }),
- /* 76 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/hidden-keys.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = {};
- /***/ }),
- /* 77 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 78);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- module.exports = function (target, source) {
- var keys = ownKeys(source);
- var defineProperty = definePropertyModule.f;
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- for (var i = 0; i < keys.length; i++) {
- var key = keys[i];
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
- }
- };
- /***/ }),
- /* 78 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/internals/own-keys.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81);
- var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 88);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- // all object keys, includes non-enumerable and symbols
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
- var keys = getOwnPropertyNamesModule.f(anObject(it));
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
- };
- /***/ }),
- /* 79 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/get-built-in.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var aFunction = function (variable) {
- return typeof variable == 'function' ? variable : undefined;
- };
- module.exports = function (namespace, method) {
- return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
- : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
- };
- /***/ }),
- /* 80 */
- /*!************************************************!*\
- !*** ./node_modules/core-js/internals/path.js ***!
- \************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- module.exports = global;
- /***/ }),
- /* 81 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 82);
- var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 87);
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
- // `Object.getOwnPropertyNames` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
- return internalObjectKeys(O, hiddenKeys);
- };
- /***/ }),
- /* 82 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/internals/object-keys-internal.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var indexOf = __webpack_require__(/*! ../internals/array-includes */ 83).indexOf;
- var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 76);
- module.exports = function (object, names) {
- var O = toIndexedObject(object);
- var i = 0;
- var result = [];
- var key;
- for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
- // Don't enum bug & hidden keys
- while (names.length > i) if (has(O, key = names[i++])) {
- ~indexOf(result, key) || result.push(key);
- }
- return result;
- };
- /***/ }),
- /* 83 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/array-includes.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- // `Array.prototype.{ indexOf, includes }` methods implementation
- var createMethod = function (IS_INCLUDES) {
- return function ($this, el, fromIndex) {
- var O = toIndexedObject($this);
- var length = toLength(O.length);
- var index = toAbsoluteIndex(fromIndex, length);
- var value;
- // Array#includes uses SameValueZero equality algorithm
- // eslint-disable-next-line no-self-compare
- if (IS_INCLUDES && el != el) while (length > index) {
- value = O[index++];
- // eslint-disable-next-line no-self-compare
- if (value != value) return true;
- // Array#indexOf ignores holes, Array#includes - not
- } else for (;length > index; index++) {
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
- } return !IS_INCLUDES && -1;
- };
- };
- module.exports = {
- // `Array.prototype.includes` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.includes
- includes: createMethod(true),
- // `Array.prototype.indexOf` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
- indexOf: createMethod(false)
- };
- /***/ }),
- /* 84 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/to-length.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var min = Math.min;
- // `ToLength` abstract operation
- // https://tc39.github.io/ecma262/#sec-tolength
- module.exports = function (argument) {
- return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
- };
- /***/ }),
- /* 85 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/to-integer.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var ceil = Math.ceil;
- var floor = Math.floor;
- // `ToInteger` abstract operation
- // https://tc39.github.io/ecma262/#sec-tointeger
- module.exports = function (argument) {
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
- };
- /***/ }),
- /* 86 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/to-absolute-index.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var max = Math.max;
- var min = Math.min;
- // Helper for a popular repeating case of the spec:
- // Let integer be ? ToInteger(index).
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
- module.exports = function (index, length) {
- var integer = toInteger(index);
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
- };
- /***/ }),
- /* 87 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/enum-bug-keys.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // IE8- don't enum bug keys
- module.exports = [
- 'constructor',
- 'hasOwnProperty',
- 'isPrototypeOf',
- 'propertyIsEnumerable',
- 'toLocaleString',
- 'toString',
- 'valueOf'
- ];
- /***/ }),
- /* 88 */
- /*!***************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***!
- \***************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- exports.f = Object.getOwnPropertySymbols;
- /***/ }),
- /* 89 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/is-forced.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var replacement = /#|\.prototype\./;
- var isForced = function (feature, detection) {
- var value = data[normalize(feature)];
- return value == POLYFILL ? true
- : value == NATIVE ? false
- : typeof detection == 'function' ? fails(detection)
- : !!detection;
- };
- var normalize = isForced.normalize = function (string) {
- return String(string).replace(replacement, '.').toLowerCase();
- };
- var data = isForced.data = {};
- var NATIVE = isForced.NATIVE = 'N';
- var POLYFILL = isForced.POLYFILL = 'P';
- module.exports = isForced;
- /***/ }),
- /* 90 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/native-symbol.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
- // Chrome 38 Symbol has incorrect toString conversion
- // eslint-disable-next-line no-undef
- return !String(Symbol());
- });
- /***/ }),
- /* 91 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ 90);
- module.exports = NATIVE_SYMBOL
- // eslint-disable-next-line no-undef
- && !Symbol.sham
- // eslint-disable-next-line no-undef
- && typeof Symbol.iterator == 'symbol';
- /***/ }),
- /* 92 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/internals/is-array.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- // `IsArray` abstract operation
- // https://tc39.github.io/ecma262/#sec-isarray
- module.exports = Array.isArray || function isArray(arg) {
- return classof(arg) == 'Array';
- };
- /***/ }),
- /* 93 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/to-object.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- // `ToObject` abstract operation
- // https://tc39.github.io/ecma262/#sec-toobject
- module.exports = function (argument) {
- return Object(requireObjectCoercible(argument));
- };
- /***/ }),
- /* 94 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/object-create.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ 95);
- var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 87);
- var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 76);
- var html = __webpack_require__(/*! ../internals/html */ 97);
- var documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ 62);
- var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 72);
- var GT = '>';
- var LT = '<';
- var PROTOTYPE = 'prototype';
- var SCRIPT = 'script';
- var IE_PROTO = sharedKey('IE_PROTO');
- var EmptyConstructor = function () { /* empty */ };
- var scriptTag = function (content) {
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
- };
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
- var NullProtoObjectViaActiveX = function (activeXDocument) {
- activeXDocument.write(scriptTag(''));
- activeXDocument.close();
- var temp = activeXDocument.parentWindow.Object;
- activeXDocument = null; // avoid memory leak
- return temp;
- };
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
- var NullProtoObjectViaIFrame = function () {
- // Thrash, waste and sodomy: IE GC bug
- var iframe = documentCreateElement('iframe');
- var JS = 'java' + SCRIPT + ':';
- var iframeDocument;
- iframe.style.display = 'none';
- html.appendChild(iframe);
- // https://github.com/zloirock/core-js/issues/475
- iframe.src = String(JS);
- iframeDocument = iframe.contentWindow.document;
- iframeDocument.open();
- iframeDocument.write(scriptTag('document.F=Object'));
- iframeDocument.close();
- return iframeDocument.F;
- };
- // Check for document.domain and active x support
- // No need to use active x approach when document.domain is not set
- // see https://github.com/es-shims/es5-shim/issues/150
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
- // avoid IE GC bug
- var activeXDocument;
- var NullProtoObject = function () {
- try {
- /* global ActiveXObject */
- activeXDocument = document.domain && new ActiveXObject('htmlfile');
- } catch (error) { /* ignore */ }
- NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
- var length = enumBugKeys.length;
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
- return NullProtoObject();
- };
- hiddenKeys[IE_PROTO] = true;
- // `Object.create` method
- // https://tc39.github.io/ecma262/#sec-object.create
- module.exports = Object.create || function create(O, Properties) {
- var result;
- if (O !== null) {
- EmptyConstructor[PROTOTYPE] = anObject(O);
- result = new EmptyConstructor();
- EmptyConstructor[PROTOTYPE] = null;
- // add "__proto__" for Object.getPrototypeOf polyfill
- result[IE_PROTO] = O;
- } else result = NullProtoObject();
- return Properties === undefined ? result : defineProperties(result, Properties);
- };
- /***/ }),
- /* 95 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/object-define-properties.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- // `Object.defineProperties` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
- module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
- anObject(O);
- var keys = objectKeys(Properties);
- var length = keys.length;
- var index = 0;
- var key;
- while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
- return O;
- };
- /***/ }),
- /* 96 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/object-keys.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 82);
- var enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 87);
- // `Object.keys` method
- // https://tc39.github.io/ecma262/#sec-object.keys
- module.exports = Object.keys || function keys(O) {
- return internalObjectKeys(O, enumBugKeys);
- };
- /***/ }),
- /* 97 */
- /*!************************************************!*\
- !*** ./node_modules/core-js/internals/html.js ***!
- \************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- module.exports = getBuiltIn('document', 'documentElement');
- /***/ }),
- /* 98 */
- /*!**********************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***!
- \**********************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var nativeGetOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81).f;
- var toString = {}.toString;
- var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
- ? Object.getOwnPropertyNames(window) : [];
- var getWindowNames = function (it) {
- try {
- return nativeGetOwnPropertyNames(it);
- } catch (error) {
- return windowNames.slice();
- }
- };
- // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
- module.exports.f = function getOwnPropertyNames(it) {
- return windowNames && toString.call(it) == '[object Window]'
- ? getWindowNames(it)
- : nativeGetOwnPropertyNames(toIndexedObject(it));
- };
- /***/ }),
- /* 99 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/well-known-symbol.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var shared = __webpack_require__(/*! ../internals/shared */ 73);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var uid = __webpack_require__(/*! ../internals/uid */ 75);
- var NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ 90);
- var USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 91);
- var WellKnownSymbolsStore = shared('wks');
- var Symbol = global.Symbol;
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
- module.exports = function (name) {
- if (!has(WellKnownSymbolsStore, name)) {
- if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
- else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
- } return WellKnownSymbolsStore[name];
- };
- /***/ }),
- /* 100 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/internals/well-known-symbol-wrapped.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- exports.f = wellKnownSymbol;
- /***/ }),
- /* 101 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/define-well-known-symbol.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 100);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- module.exports = function (NAME) {
- var Symbol = path.Symbol || (path.Symbol = {});
- if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
- value: wrappedWellKnownSymbolModule.f(NAME)
- });
- };
- /***/ }),
- /* 102 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/set-to-string-tag.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- module.exports = function (it, TAG, STATIC) {
- if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
- defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
- }
- };
- /***/ }),
- /* 103 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/array-iteration.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 55);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 106);
- var push = [].push;
- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
- var createMethod = function (TYPE) {
- var IS_MAP = TYPE == 1;
- var IS_FILTER = TYPE == 2;
- var IS_SOME = TYPE == 3;
- var IS_EVERY = TYPE == 4;
- var IS_FIND_INDEX = TYPE == 6;
- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
- return function ($this, callbackfn, that, specificCreate) {
- var O = toObject($this);
- var self = IndexedObject(O);
- var boundFunction = bind(callbackfn, that, 3);
- var length = toLength(self.length);
- var index = 0;
- var create = specificCreate || arraySpeciesCreate;
- var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
- var value, result;
- for (;length > index; index++) if (NO_HOLES || index in self) {
- value = self[index];
- result = boundFunction(value, index, O);
- if (TYPE) {
- if (IS_MAP) target[index] = result; // map
- else if (result) switch (TYPE) {
- case 3: return true; // some
- case 5: return value; // find
- case 6: return index; // findIndex
- case 2: push.call(target, value); // filter
- } else if (IS_EVERY) return false; // every
- }
- }
- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
- };
- };
- module.exports = {
- // `Array.prototype.forEach` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
- forEach: createMethod(0),
- // `Array.prototype.map` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
- map: createMethod(1),
- // `Array.prototype.filter` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
- filter: createMethod(2),
- // `Array.prototype.some` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
- some: createMethod(3),
- // `Array.prototype.every` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
- every: createMethod(4),
- // `Array.prototype.find` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
- find: createMethod(5),
- // `Array.prototype.findIndex` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
- findIndex: createMethod(6)
- };
- /***/ }),
- /* 104 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/function-bind-context.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // optional / simple context binding
- module.exports = function (fn, that, length) {
- aFunction(fn);
- if (that === undefined) return fn;
- switch (length) {
- case 0: return function () {
- return fn.call(that);
- };
- case 1: return function (a) {
- return fn.call(that, a);
- };
- case 2: return function (a, b) {
- return fn.call(that, a, b);
- };
- case 3: return function (a, b, c) {
- return fn.call(that, a, b, c);
- };
- }
- return function (/* ...args */) {
- return fn.apply(that, arguments);
- };
- };
- /***/ }),
- /* 105 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/a-function.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (it) {
- if (typeof it != 'function') {
- throw TypeError(String(it) + ' is not a function');
- } return it;
- };
- /***/ }),
- /* 106 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/internals/array-species-create.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var SPECIES = wellKnownSymbol('species');
- // `ArraySpeciesCreate` abstract operation
- // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
- module.exports = function (originalArray, length) {
- var C;
- if (isArray(originalArray)) {
- C = originalArray.constructor;
- // cross-realm fallback
- if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
- else if (isObject(C)) {
- C = C[SPECIES];
- if (C === null) C = undefined;
- }
- } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
- };
- /***/ }),
- /* 107 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.async-iterator.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.asyncIterator` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.asynciterator
- defineWellKnownSymbol('asyncIterator');
- /***/ }),
- /* 108 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.description.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // `Symbol.prototype.description` getter
- // https://tc39.github.io/ecma262/#sec-symbol.prototype.description
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 77);
- var NativeSymbol = global.Symbol;
- if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) ||
- // Safari 12 bug
- NativeSymbol().description !== undefined
- )) {
- var EmptyStringDescriptionStore = {};
- // wrap Symbol constructor for correct work with undefined description
- var SymbolWrapper = function Symbol() {
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]);
- var result = this instanceof SymbolWrapper
- ? new NativeSymbol(description)
- // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
- : description === undefined ? NativeSymbol() : NativeSymbol(description);
- if (description === '') EmptyStringDescriptionStore[result] = true;
- return result;
- };
- copyConstructorProperties(SymbolWrapper, NativeSymbol);
- var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype;
- symbolPrototype.constructor = SymbolWrapper;
- var symbolToString = symbolPrototype.toString;
- var native = String(NativeSymbol('test')) == 'Symbol(test)';
- var regexp = /^Symbol\((.*)\)[^)]+$/;
- defineProperty(symbolPrototype, 'description', {
- configurable: true,
- get: function description() {
- var symbol = isObject(this) ? this.valueOf() : this;
- var string = symbolToString.call(symbol);
- if (has(EmptyStringDescriptionStore, symbol)) return '';
- var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1');
- return desc === '' ? undefined : desc;
- }
- });
- $({ global: true, forced: true }, {
- Symbol: SymbolWrapper
- });
- }
- /***/ }),
- /* 109 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.has-instance.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.hasInstance` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.hasinstance
- defineWellKnownSymbol('hasInstance');
- /***/ }),
- /* 110 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.is-concat-spreadable.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.isConcatSpreadable` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.isconcatspreadable
- defineWellKnownSymbol('isConcatSpreadable');
- /***/ }),
- /* 111 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.iterator.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.iterator` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.iterator
- defineWellKnownSymbol('iterator');
- /***/ }),
- /* 112 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.match.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.match` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.match
- defineWellKnownSymbol('match');
- /***/ }),
- /* 113 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.match-all.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.matchAll` well-known symbol
- defineWellKnownSymbol('matchAll');
- /***/ }),
- /* 114 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.replace.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.replace` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.replace
- defineWellKnownSymbol('replace');
- /***/ }),
- /* 115 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.search.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.search` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.search
- defineWellKnownSymbol('search');
- /***/ }),
- /* 116 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.species.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.species` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.species
- defineWellKnownSymbol('species');
- /***/ }),
- /* 117 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.split.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.split` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.split
- defineWellKnownSymbol('split');
- /***/ }),
- /* 118 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.to-primitive.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.toPrimitive` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.toprimitive
- defineWellKnownSymbol('toPrimitive');
- /***/ }),
- /* 119 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.to-string-tag.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.toStringTag` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.tostringtag
- defineWellKnownSymbol('toStringTag');
- /***/ }),
- /* 120 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.symbol.unscopables.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.unscopables` well-known symbol
- // https://tc39.github.io/ecma262/#sec-symbol.unscopables
- defineWellKnownSymbol('unscopables');
- /***/ }),
- /* 121 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.assign.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var assign = __webpack_require__(/*! ../internals/object-assign */ 122);
- // `Object.assign` method
- // https://tc39.github.io/ecma262/#sec-object.assign
- $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
- assign: assign
- });
- /***/ }),
- /* 122 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/object-assign.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- var getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 88);
- var propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 52);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 55);
- var nativeAssign = Object.assign;
- var defineProperty = Object.defineProperty;
- // `Object.assign` method
- // https://tc39.github.io/ecma262/#sec-object.assign
- module.exports = !nativeAssign || fails(function () {
- // should have correct order of operations (Edge bug)
- if (DESCRIPTORS && nativeAssign({ b: 1 }, nativeAssign(defineProperty({}, 'a', {
- enumerable: true,
- get: function () {
- defineProperty(this, 'b', {
- value: 3,
- enumerable: false
- });
- }
- }), { b: 2 })).b !== 1) return true;
- // should work with symbols and should have deterministic property order (V8 bug)
- var A = {};
- var B = {};
- // eslint-disable-next-line no-undef
- var symbol = Symbol();
- var alphabet = 'abcdefghijklmnopqrst';
- A[symbol] = 7;
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
- return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet;
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
- var T = toObject(target);
- var argumentsLength = arguments.length;
- var index = 1;
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
- while (argumentsLength > index) {
- var S = IndexedObject(arguments[index++]);
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
- var length = keys.length;
- var j = 0;
- var key;
- while (length > j) {
- key = keys[j++];
- if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
- }
- } return T;
- } : nativeAssign;
- /***/ }),
- /* 123 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.create.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- // `Object.create` method
- // https://tc39.github.io/ecma262/#sec-object.create
- $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
- create: create
- });
- /***/ }),
- /* 124 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.define-property.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var objectDefinePropertyModile = __webpack_require__(/*! ../internals/object-define-property */ 64);
- // `Object.defineProperty` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperty
- $({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
- defineProperty: objectDefinePropertyModile.f
- });
- /***/ }),
- /* 125 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.define-properties.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ 95);
- // `Object.defineProperties` method
- // https://tc39.github.io/ecma262/#sec-object.defineproperties
- $({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
- defineProperties: defineProperties
- });
- /***/ }),
- /* 126 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.entries.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $entries = __webpack_require__(/*! ../internals/object-to-array */ 127).entries;
- // `Object.entries` method
- // https://tc39.github.io/ecma262/#sec-object.entries
- $({ target: 'Object', stat: true }, {
- entries: function entries(O) {
- return $entries(O);
- }
- });
- /***/ }),
- /* 127 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/object-to-array.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var propertyIsEnumerable = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 52).f;
- // `Object.{ entries, values }` methods implementation
- var createMethod = function (TO_ENTRIES) {
- return function (it) {
- var O = toIndexedObject(it);
- var keys = objectKeys(O);
- var length = keys.length;
- var i = 0;
- var result = [];
- var key;
- while (length > i) {
- key = keys[i++];
- if (!DESCRIPTORS || propertyIsEnumerable.call(O, key)) {
- result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
- }
- }
- return result;
- };
- };
- module.exports = {
- // `Object.entries` method
- // https://tc39.github.io/ecma262/#sec-object.entries
- entries: createMethod(true),
- // `Object.values` method
- // https://tc39.github.io/ecma262/#sec-object.values
- values: createMethod(false)
- };
- /***/ }),
- /* 128 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.freeze.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var FREEZING = __webpack_require__(/*! ../internals/freezing */ 129);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ 130).onFreeze;
- var nativeFreeze = Object.freeze;
- var FAILS_ON_PRIMITIVES = fails(function () { nativeFreeze(1); });
- // `Object.freeze` method
- // https://tc39.github.io/ecma262/#sec-object.freeze
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
- freeze: function freeze(it) {
- return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it;
- }
- });
- /***/ }),
- /* 129 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/internals/freezing.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- module.exports = !fails(function () {
- return Object.isExtensible(Object.preventExtensions({}));
- });
- /***/ }),
- /* 130 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/internal-metadata.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 76);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var uid = __webpack_require__(/*! ../internals/uid */ 75);
- var FREEZING = __webpack_require__(/*! ../internals/freezing */ 129);
- var METADATA = uid('meta');
- var id = 0;
- var isExtensible = Object.isExtensible || function () {
- return true;
- };
- var setMetadata = function (it) {
- defineProperty(it, METADATA, { value: {
- objectID: 'O' + ++id, // object ID
- weakData: {} // weak collections IDs
- } });
- };
- var fastKey = function (it, create) {
- // return a primitive with prefix
- if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
- if (!has(it, METADATA)) {
- // can't set metadata to uncaught frozen object
- if (!isExtensible(it)) return 'F';
- // not necessary to add metadata
- if (!create) return 'E';
- // add missing metadata
- setMetadata(it);
- // return object ID
- } return it[METADATA].objectID;
- };
- var getWeakData = function (it, create) {
- if (!has(it, METADATA)) {
- // can't set metadata to uncaught frozen object
- if (!isExtensible(it)) return true;
- // not necessary to add metadata
- if (!create) return false;
- // add missing metadata
- setMetadata(it);
- // return the store of weak collections IDs
- } return it[METADATA].weakData;
- };
- // add metadata on freeze-family methods calling
- var onFreeze = function (it) {
- if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it);
- return it;
- };
- var meta = module.exports = {
- REQUIRED: false,
- fastKey: fastKey,
- getWeakData: getWeakData,
- onFreeze: onFreeze
- };
- hiddenKeys[METADATA] = true;
- /***/ }),
- /* 131 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.from-entries.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- // `Object.fromEntries` method
- // https://github.com/tc39/proposal-object-from-entries
- $({ target: 'Object', stat: true }, {
- fromEntries: function fromEntries(iterable) {
- var obj = {};
- iterate(iterable, function (k, v) {
- createProperty(obj, k, v);
- }, undefined, true);
- return obj;
- }
- });
- /***/ }),
- /* 132 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/internals/iterate.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 133);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 138);
- var Result = function (stopped, result) {
- this.stopped = stopped;
- this.result = result;
- };
- var iterate = module.exports = function (iterable, fn, that, AS_ENTRIES, IS_ITERATOR) {
- var boundFunction = bind(fn, that, AS_ENTRIES ? 2 : 1);
- var iterator, iterFn, index, length, result, next, step;
- if (IS_ITERATOR) {
- iterator = iterable;
- } else {
- iterFn = getIteratorMethod(iterable);
- if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
- // optimisation for array iterators
- if (isArrayIteratorMethod(iterFn)) {
- for (index = 0, length = toLength(iterable.length); length > index; index++) {
- result = AS_ENTRIES
- ? boundFunction(anObject(step = iterable[index])[0], step[1])
- : boundFunction(iterable[index]);
- if (result && result instanceof Result) return result;
- } return new Result(false);
- }
- iterator = iterFn.call(iterable);
- }
- next = iterator.next;
- while (!(step = next.call(iterator)).done) {
- result = callWithSafeIterationClosing(iterator, boundFunction, step.value, AS_ENTRIES);
- if (typeof result == 'object' && result && result instanceof Result) return result;
- } return new Result(false);
- };
- iterate.stop = function (result) {
- return new Result(true, result);
- };
- /***/ }),
- /* 133 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var Iterators = __webpack_require__(/*! ../internals/iterators */ 134);
- var ITERATOR = wellKnownSymbol('iterator');
- var ArrayPrototype = Array.prototype;
- // check on default Array iterator
- module.exports = function (it) {
- return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
- };
- /***/ }),
- /* 134 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/iterators.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = {};
- /***/ }),
- /* 135 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/get-iterator-method.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(/*! ../internals/classof */ 136);
- var Iterators = __webpack_require__(/*! ../internals/iterators */ 134);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var ITERATOR = wellKnownSymbol('iterator');
- module.exports = function (it) {
- if (it != undefined) return it[ITERATOR]
- || it['@@iterator']
- || Iterators[classof(it)];
- };
- /***/ }),
- /* 136 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/internals/classof.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 137);
- var classofRaw = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- // ES3 wrong here
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
- // fallback for IE11 Script Access Denied error
- var tryGet = function (it, key) {
- try {
- return it[key];
- } catch (error) { /* empty */ }
- };
- // getting tag from ES6+ `Object.prototype.toString`
- module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
- var O, tag, result;
- return it === undefined ? 'Undefined' : it === null ? 'Null'
- // @@toStringTag case
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
- // builtinTag case
- : CORRECT_ARGUMENTS ? classofRaw(O)
- // ES3 arguments fallback
- : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result;
- };
- /***/ }),
- /* 137 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/to-string-tag-support.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var test = {};
- test[TO_STRING_TAG] = 'z';
- module.exports = String(test) === '[object z]';
- /***/ }),
- /* 138 */
- /*!****************************************************************************!*\
- !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!
- \****************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- // call something on iterator step with safe closing on error
- module.exports = function (iterator, fn, value, ENTRIES) {
- try {
- return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
- // 7.4.6 IteratorClose(iterator, completion)
- } catch (error) {
- var returnMethod = iterator['return'];
- if (returnMethod !== undefined) anObject(returnMethod.call(iterator));
- throw error;
- }
- };
- /***/ }),
- /* 139 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/create-property.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- module.exports = function (object, key, value) {
- var propertyKey = toPrimitive(key);
- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
- else object[propertyKey] = value;
- };
- /***/ }),
- /* 140 */
- /*!*******************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js ***!
- \*******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var nativeGetOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });
- var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;
- // `Object.getOwnPropertyDescriptor` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
- $({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
- getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
- return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
- }
- });
- /***/ }),
- /* 141 */
- /*!********************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js ***!
- \********************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 78);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- // `Object.getOwnPropertyDescriptors` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
- $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
- getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
- var O = toIndexedObject(object);
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- var keys = ownKeys(O);
- var result = {};
- var index = 0;
- var key, descriptor;
- while (keys.length > index) {
- descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
- if (descriptor !== undefined) createProperty(result, key, descriptor);
- }
- return result;
- }
- });
- /***/ }),
- /* 142 */
- /*!**************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.get-own-property-names.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeGetOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 98).f;
- var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });
- // `Object.getOwnPropertyNames` method
- // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- getOwnPropertyNames: nativeGetOwnPropertyNames
- });
- /***/ }),
- /* 143 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.get-prototype-of.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var nativeGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 145);
- var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
- // `Object.getPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-object.getprototypeof
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
- getPrototypeOf: function getPrototypeOf(it) {
- return nativeGetPrototypeOf(toObject(it));
- }
- });
- /***/ }),
- /* 144 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var sharedKey = __webpack_require__(/*! ../internals/shared-key */ 72);
- var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 145);
- var IE_PROTO = sharedKey('IE_PROTO');
- var ObjectPrototype = Object.prototype;
- // `Object.getPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-object.getprototypeof
- module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
- O = toObject(O);
- if (has(O, IE_PROTO)) return O[IE_PROTO];
- if (typeof O.constructor == 'function' && O instanceof O.constructor) {
- return O.constructor.prototype;
- } return O instanceof Object ? ObjectPrototype : null;
- };
- /***/ }),
- /* 145 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- module.exports = !fails(function () {
- function F() { /* empty */ }
- F.prototype.constructor = null;
- return Object.getPrototypeOf(new F()) !== F.prototype;
- });
- /***/ }),
- /* 146 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.is.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var is = __webpack_require__(/*! ../internals/same-value */ 147);
- // `Object.is` method
- // https://tc39.github.io/ecma262/#sec-object.is
- $({ target: 'Object', stat: true }, {
- is: is
- });
- /***/ }),
- /* 147 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/same-value.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // `SameValue` abstract operation
- // https://tc39.github.io/ecma262/#sec-samevalue
- module.exports = Object.is || function is(x, y) {
- // eslint-disable-next-line no-self-compare
- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
- };
- /***/ }),
- /* 148 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.is-extensible.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var nativeIsExtensible = Object.isExtensible;
- var FAILS_ON_PRIMITIVES = fails(function () { nativeIsExtensible(1); });
- // `Object.isExtensible` method
- // https://tc39.github.io/ecma262/#sec-object.isextensible
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- isExtensible: function isExtensible(it) {
- return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false;
- }
- });
- /***/ }),
- /* 149 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.is-frozen.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var nativeIsFrozen = Object.isFrozen;
- var FAILS_ON_PRIMITIVES = fails(function () { nativeIsFrozen(1); });
- // `Object.isFrozen` method
- // https://tc39.github.io/ecma262/#sec-object.isfrozen
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- isFrozen: function isFrozen(it) {
- return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true;
- }
- });
- /***/ }),
- /* 150 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.is-sealed.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var nativeIsSealed = Object.isSealed;
- var FAILS_ON_PRIMITIVES = fails(function () { nativeIsSealed(1); });
- // `Object.isSealed` method
- // https://tc39.github.io/ecma262/#sec-object.issealed
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- isSealed: function isSealed(it) {
- return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true;
- }
- });
- /***/ }),
- /* 151 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.keys.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var nativeKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
- // `Object.keys` method
- // https://tc39.github.io/ecma262/#sec-object.keys
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
- keys: function keys(it) {
- return nativeKeys(toObject(it));
- }
- });
- /***/ }),
- /* 152 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.prevent-extensions.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ 130).onFreeze;
- var FREEZING = __webpack_require__(/*! ../internals/freezing */ 129);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativePreventExtensions = Object.preventExtensions;
- var FAILS_ON_PRIMITIVES = fails(function () { nativePreventExtensions(1); });
- // `Object.preventExtensions` method
- // https://tc39.github.io/ecma262/#sec-object.preventextensions
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
- preventExtensions: function preventExtensions(it) {
- return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it;
- }
- });
- /***/ }),
- /* 153 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.seal.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var onFreeze = __webpack_require__(/*! ../internals/internal-metadata */ 130).onFreeze;
- var FREEZING = __webpack_require__(/*! ../internals/freezing */ 129);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeSeal = Object.seal;
- var FAILS_ON_PRIMITIVES = fails(function () { nativeSeal(1); });
- // `Object.seal` method
- // https://tc39.github.io/ecma262/#sec-object.seal
- $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
- seal: function seal(it) {
- return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it;
- }
- });
- /***/ }),
- /* 154 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.set-prototype-of.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- // `Object.setPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-object.setprototypeof
- $({ target: 'Object', stat: true }, {
- setPrototypeOf: setPrototypeOf
- });
- /***/ }),
- /* 155 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ 156);
- // `Object.setPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-object.setprototypeof
- // Works with __proto__ only. Old v8 can't work with null proto objects.
- /* eslint-disable no-proto */
- module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
- var CORRECT_SETTER = false;
- var test = {};
- var setter;
- try {
- setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;
- setter.call(test, []);
- CORRECT_SETTER = test instanceof Array;
- } catch (error) { /* empty */ }
- return function setPrototypeOf(O, proto) {
- anObject(O);
- aPossiblePrototype(proto);
- if (CORRECT_SETTER) setter.call(O, proto);
- else O.__proto__ = proto;
- return O;
- };
- }() : undefined);
- /***/ }),
- /* 156 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/internals/a-possible-prototype.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- module.exports = function (it) {
- if (!isObject(it) && it !== null) {
- throw TypeError("Can't set " + String(it) + ' as a prototype');
- } return it;
- };
- /***/ }),
- /* 157 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.values.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $values = __webpack_require__(/*! ../internals/object-to-array */ 127).values;
- // `Object.values` method
- // https://tc39.github.io/ecma262/#sec-object.values
- $({ target: 'Object', stat: true }, {
- values: function values(O) {
- return $values(O);
- }
- });
- /***/ }),
- /* 158 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.to-string.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 137);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var toString = __webpack_require__(/*! ../internals/object-to-string */ 159);
- // `Object.prototype.toString` method
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
- if (!TO_STRING_TAG_SUPPORT) {
- redefine(Object.prototype, 'toString', toString, { unsafe: true });
- }
- /***/ }),
- /* 159 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/object-to-string.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 137);
- var classof = __webpack_require__(/*! ../internals/classof */ 136);
- // `Object.prototype.toString` method implementation
- // https://tc39.github.io/ecma262/#sec-object.prototype.tostring
- module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
- return '[object ' + classof(this) + ']';
- };
- /***/ }),
- /* 160 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.define-getter.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 161);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- // `Object.prototype.__defineGetter__` method
- // https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__
- if (DESCRIPTORS) {
- $({ target: 'Object', proto: true, forced: FORCED }, {
- __defineGetter__: function __defineGetter__(P, getter) {
- definePropertyModule.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true });
- }
- });
- }
- /***/ }),
- /* 161 */
- /*!*****************************************************************************!*\
- !*** ./node_modules/core-js/internals/object-prototype-accessors-forced.js ***!
- \*****************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- // Forced replacement object prototype accessors methods
- module.exports = IS_PURE || !fails(function () {
- var key = Math.random();
- // In FF throws only define methods
- // eslint-disable-next-line no-undef, no-useless-call
- __defineSetter__.call(null, key, function () { /* empty */ });
- delete global[key];
- });
- /***/ }),
- /* 162 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.define-setter.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 161);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- // `Object.prototype.__defineSetter__` method
- // https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__
- if (DESCRIPTORS) {
- $({ target: 'Object', proto: true, forced: FORCED }, {
- __defineSetter__: function __defineSetter__(P, setter) {
- definePropertyModule.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true });
- }
- });
- }
- /***/ }),
- /* 163 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.lookup-getter.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 161);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- // `Object.prototype.__lookupGetter__` method
- // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__
- if (DESCRIPTORS) {
- $({ target: 'Object', proto: true, forced: FORCED }, {
- __lookupGetter__: function __lookupGetter__(P) {
- var O = toObject(this);
- var key = toPrimitive(P, true);
- var desc;
- do {
- if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;
- } while (O = getPrototypeOf(O));
- }
- });
- }
- /***/ }),
- /* 164 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.object.lookup-setter.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var FORCED = __webpack_require__(/*! ../internals/object-prototype-accessors-forced */ 161);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- // `Object.prototype.__lookupSetter__` method
- // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__
- if (DESCRIPTORS) {
- $({ target: 'Object', proto: true, forced: FORCED }, {
- __lookupSetter__: function __lookupSetter__(P) {
- var O = toObject(this);
- var key = toPrimitive(P, true);
- var desc;
- do {
- if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;
- } while (O = getPrototypeOf(O));
- }
- });
- }
- /***/ }),
- /* 165 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.function.bind.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var bind = __webpack_require__(/*! ../internals/function-bind */ 166);
- // `Function.prototype.bind` method
- // https://tc39.github.io/ecma262/#sec-function.prototype.bind
- $({ target: 'Function', proto: true }, {
- bind: bind
- });
- /***/ }),
- /* 166 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/function-bind.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var slice = [].slice;
- var factories = {};
- var construct = function (C, argsLength, args) {
- if (!(argsLength in factories)) {
- for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';
- // eslint-disable-next-line no-new-func
- factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');
- } return factories[argsLength](C, args);
- };
- // `Function.prototype.bind` method implementation
- // https://tc39.github.io/ecma262/#sec-function.prototype.bind
- module.exports = Function.bind || function bind(that /* , ...args */) {
- var fn = aFunction(this);
- var partArgs = slice.call(arguments, 1);
- var boundFunction = function bound(/* args... */) {
- var args = partArgs.concat(slice.call(arguments));
- return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);
- };
- if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;
- return boundFunction;
- };
- /***/ }),
- /* 167 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.function.name.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var FunctionPrototype = Function.prototype;
- var FunctionPrototypeToString = FunctionPrototype.toString;
- var nameRE = /^\s*function ([^ (]*)/;
- var NAME = 'name';
- // Function instances `.name` property
- // https://tc39.github.io/ecma262/#sec-function-instances-name
- if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
- defineProperty(FunctionPrototype, NAME, {
- configurable: true,
- get: function () {
- try {
- return FunctionPrototypeToString.call(this).match(nameRE)[1];
- } catch (error) {
- return '';
- }
- }
- });
- }
- /***/ }),
- /* 168 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.function.has-instance.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var HAS_INSTANCE = wellKnownSymbol('hasInstance');
- var FunctionPrototype = Function.prototype;
- // `Function.prototype[@@hasInstance]` method
- // https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance
- if (!(HAS_INSTANCE in FunctionPrototype)) {
- definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) {
- if (typeof this != 'function' || !isObject(O)) return false;
- if (!isObject(this.prototype)) return O instanceof this;
- // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
- while (O = getPrototypeOf(O)) if (this.prototype === O) return true;
- return false;
- } });
- }
- /***/ }),
- /* 169 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.global-this.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- // `globalThis` object
- // https://github.com/tc39/proposal-global
- $({ global: true }, {
- globalThis: global
- });
- /***/ }),
- /* 170 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.from.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var from = __webpack_require__(/*! ../internals/array-from */ 171);
- var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 172);
- var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
- Array.from(iterable);
- });
- // `Array.from` method
- // https://tc39.github.io/ecma262/#sec-array.from
- $({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
- from: from
- });
- /***/ }),
- /* 171 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/array-from.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 138);
- var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 133);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- // `Array.from` method implementation
- // https://tc39.github.io/ecma262/#sec-array.from
- module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
- var O = toObject(arrayLike);
- var C = typeof this == 'function' ? this : Array;
- var argumentsLength = arguments.length;
- var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
- var mapping = mapfn !== undefined;
- var iteratorMethod = getIteratorMethod(O);
- var index = 0;
- var length, result, step, iterator, next, value;
- if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);
- // if the target is not iterable or it's an array with the default iterator - use a simple case
- if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {
- iterator = iteratorMethod.call(O);
- next = iterator.next;
- result = new C();
- for (;!(step = next.call(iterator)).done; index++) {
- value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
- createProperty(result, index, value);
- }
- } else {
- length = toLength(O.length);
- result = new C(length);
- for (;length > index; index++) {
- value = mapping ? mapfn(O[index], index) : O[index];
- createProperty(result, index, value);
- }
- }
- result.length = index;
- return result;
- };
- /***/ }),
- /* 172 */
- /*!**************************************************************************!*\
- !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var ITERATOR = wellKnownSymbol('iterator');
- var SAFE_CLOSING = false;
- try {
- var called = 0;
- var iteratorWithReturn = {
- next: function () {
- return { done: !!called++ };
- },
- 'return': function () {
- SAFE_CLOSING = true;
- }
- };
- iteratorWithReturn[ITERATOR] = function () {
- return this;
- };
- // eslint-disable-next-line no-throw-literal
- Array.from(iteratorWithReturn, function () { throw 2; });
- } catch (error) { /* empty */ }
- module.exports = function (exec, SKIP_CLOSING) {
- if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
- var ITERATION_SUPPORT = false;
- try {
- var object = {};
- object[ITERATOR] = function () {
- return {
- next: function () {
- return { done: ITERATION_SUPPORT = true };
- }
- };
- };
- exec(object);
- } catch (error) { /* empty */ }
- return ITERATION_SUPPORT;
- };
- /***/ }),
- /* 173 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.is-array.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- // `Array.isArray` method
- // https://tc39.github.io/ecma262/#sec-array.isarray
- $({ target: 'Array', stat: true }, {
- isArray: isArray
- });
- /***/ }),
- /* 174 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.of.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- var ISNT_GENERIC = fails(function () {
- function F() { /* empty */ }
- return !(Array.of.call(F) instanceof F);
- });
- // `Array.of` method
- // https://tc39.github.io/ecma262/#sec-array.of
- // WebKit Array.of isn't generic
- $({ target: 'Array', stat: true, forced: ISNT_GENERIC }, {
- of: function of(/* ...args */) {
- var index = 0;
- var argumentsLength = arguments.length;
- var result = new (typeof this == 'function' ? this : Array)(argumentsLength);
- while (argumentsLength > index) createProperty(result, index, arguments[index++]);
- result.length = argumentsLength;
- return result;
- }
- });
- /***/ }),
- /* 175 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.concat.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 106);
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 176);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 177);
- var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
- var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
- // We can't use this feature detection in V8 since it causes
- // deoptimization and serious performance degradation
- // https://github.com/zloirock/core-js/issues/679
- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
- var array = [];
- array[IS_CONCAT_SPREADABLE] = false;
- return array.concat()[0] !== array;
- });
- var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
- var isConcatSpreadable = function (O) {
- if (!isObject(O)) return false;
- var spreadable = O[IS_CONCAT_SPREADABLE];
- return spreadable !== undefined ? !!spreadable : isArray(O);
- };
- var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
- // `Array.prototype.concat` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.concat
- // with adding support of @@isConcatSpreadable and @@species
- $({ target: 'Array', proto: true, forced: FORCED }, {
- concat: function concat(arg) { // eslint-disable-line no-unused-vars
- var O = toObject(this);
- var A = arraySpeciesCreate(O, 0);
- var n = 0;
- var i, k, length, len, E;
- for (i = -1, length = arguments.length; i < length; i++) {
- E = i === -1 ? O : arguments[i];
- if (isConcatSpreadable(E)) {
- len = toLength(E.length);
- if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
- } else {
- if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
- createProperty(A, n++, E);
- }
- }
- A.length = n;
- return A;
- }
- });
- /***/ }),
- /* 176 */
- /*!****************************************************************************!*\
- !*** ./node_modules/core-js/internals/array-method-has-species-support.js ***!
- \****************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 177);
- var SPECIES = wellKnownSymbol('species');
- module.exports = function (METHOD_NAME) {
- // We can't use this feature detection in V8 since it causes
- // deoptimization and serious performance degradation
- // https://github.com/zloirock/core-js/issues/677
- return V8_VERSION >= 51 || !fails(function () {
- var array = [];
- var constructor = array.constructor = {};
- constructor[SPECIES] = function () {
- return { foo: 1 };
- };
- return array[METHOD_NAME](Boolean).foo !== 1;
- });
- };
- /***/ }),
- /* 177 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/engine-v8-version.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 178);
- var process = global.process;
- var versions = process && process.versions;
- var v8 = versions && versions.v8;
- var match, version;
- if (v8) {
- match = v8.split('.');
- version = match[0] + match[1];
- } else if (userAgent) {
- match = userAgent.match(/Edge\/(\d+)/);
- if (!match || match[1] >= 74) {
- match = userAgent.match(/Chrome\/(\d+)/);
- if (match) version = match[1];
- }
- }
- module.exports = version && +version;
- /***/ }),
- /* 178 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/engine-user-agent.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- module.exports = getBuiltIn('navigator', 'userAgent') || '';
- /***/ }),
- /* 179 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.copy-within.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var copyWithin = __webpack_require__(/*! ../internals/array-copy-within */ 180);
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- // `Array.prototype.copyWithin` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin
- $({ target: 'Array', proto: true }, {
- copyWithin: copyWithin
- });
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables('copyWithin');
- /***/ }),
- /* 180 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/array-copy-within.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var min = Math.min;
- // `Array.prototype.copyWithin` method implementation
- // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin
- module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
- var O = toObject(this);
- var len = toLength(O.length);
- var to = toAbsoluteIndex(target, len);
- var from = toAbsoluteIndex(start, len);
- var end = arguments.length > 2 ? arguments[2] : undefined;
- var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
- var inc = 1;
- if (from < to && to < from + count) {
- inc = -1;
- from += count - 1;
- to += count - 1;
- }
- while (count-- > 0) {
- if (from in O) O[to] = O[from];
- else delete O[to];
- to += inc;
- from += inc;
- } return O;
- };
- /***/ }),
- /* 181 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/add-to-unscopables.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var UNSCOPABLES = wellKnownSymbol('unscopables');
- var ArrayPrototype = Array.prototype;
- // Array.prototype[@@unscopables]
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
- configurable: true,
- value: create(null)
- });
- }
- // add a key to Array.prototype[@@unscopables]
- module.exports = function (key) {
- ArrayPrototype[UNSCOPABLES][key] = true;
- };
- /***/ }),
- /* 182 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.every.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $every = __webpack_require__(/*! ../internals/array-iteration */ 103).every;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var STRICT_METHOD = arrayMethodIsStrict('every');
- var USES_TO_LENGTH = arrayMethodUsesToLength('every');
- // `Array.prototype.every` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.every
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- every: function every(callbackfn /* , thisArg */) {
- return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 183 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/internals/array-method-is-strict.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- module.exports = function (METHOD_NAME, argument) {
- var method = [][METHOD_NAME];
- return !!method && fails(function () {
- // eslint-disable-next-line no-useless-call,no-throw-literal
- method.call(null, argument || function () { throw 1; }, 1);
- });
- };
- /***/ }),
- /* 184 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/internals/array-method-uses-to-length.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var defineProperty = Object.defineProperty;
- var cache = {};
- var thrower = function (it) { throw it; };
- module.exports = function (METHOD_NAME, options) {
- if (has(cache, METHOD_NAME)) return cache[METHOD_NAME];
- if (!options) options = {};
- var method = [][METHOD_NAME];
- var ACCESSORS = has(options, 'ACCESSORS') ? options.ACCESSORS : false;
- var argument0 = has(options, 0) ? options[0] : thrower;
- var argument1 = has(options, 1) ? options[1] : undefined;
- return cache[METHOD_NAME] = !!method && !fails(function () {
- if (ACCESSORS && !DESCRIPTORS) return true;
- var O = { length: -1 };
- if (ACCESSORS) defineProperty(O, 1, { enumerable: true, get: thrower });
- else O[1] = 1;
- method.call(O, argument0, argument1);
- });
- };
- /***/ }),
- /* 185 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.fill.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fill = __webpack_require__(/*! ../internals/array-fill */ 186);
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- // `Array.prototype.fill` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.fill
- $({ target: 'Array', proto: true }, {
- fill: fill
- });
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables('fill');
- /***/ }),
- /* 186 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/array-fill.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- // `Array.prototype.fill` method implementation
- // https://tc39.github.io/ecma262/#sec-array.prototype.fill
- module.exports = function fill(value /* , start = 0, end = @length */) {
- var O = toObject(this);
- var length = toLength(O.length);
- var argumentsLength = arguments.length;
- var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);
- var end = argumentsLength > 2 ? arguments[2] : undefined;
- var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
- while (endPos > index) O[index++] = value;
- return O;
- };
- /***/ }),
- /* 187 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.filter.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $filter = __webpack_require__(/*! ../internals/array-iteration */ 103).filter;
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 176);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
- // Edge 14- issue
- var USES_TO_LENGTH = arrayMethodUsesToLength('filter');
- // `Array.prototype.filter` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.filter
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- filter: function filter(callbackfn /* , thisArg */) {
- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 188 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.find.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $find = __webpack_require__(/*! ../internals/array-iteration */ 103).find;
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var FIND = 'find';
- var SKIPS_HOLES = true;
- var USES_TO_LENGTH = arrayMethodUsesToLength(FIND);
- // Shouldn't skip holes
- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
- // `Array.prototype.find` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.find
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
- find: function find(callbackfn /* , that = undefined */) {
- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables(FIND);
- /***/ }),
- /* 189 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.find-index.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $findIndex = __webpack_require__(/*! ../internals/array-iteration */ 103).findIndex;
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var FIND_INDEX = 'findIndex';
- var SKIPS_HOLES = true;
- var USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);
- // Shouldn't skip holes
- if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
- // `Array.prototype.findIndex` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.findindex
- $({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {
- findIndex: function findIndex(callbackfn /* , that = undefined */) {
- return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables(FIND_INDEX);
- /***/ }),
- /* 190 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.flat.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ 191);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 106);
- // `Array.prototype.flat` method
- // https://github.com/tc39/proposal-flatMap
- $({ target: 'Array', proto: true }, {
- flat: function flat(/* depthArg = 1 */) {
- var depthArg = arguments.length ? arguments[0] : undefined;
- var O = toObject(this);
- var sourceLen = toLength(O.length);
- var A = arraySpeciesCreate(O, 0);
- A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));
- return A;
- }
- });
- /***/ }),
- /* 191 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/flatten-into-array.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- // `FlattenIntoArray` abstract operation
- // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
- var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
- var targetIndex = start;
- var sourceIndex = 0;
- var mapFn = mapper ? bind(mapper, thisArg, 3) : false;
- var element;
- while (sourceIndex < sourceLen) {
- if (sourceIndex in source) {
- element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
- if (depth > 0 && isArray(element)) {
- targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
- } else {
- if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length');
- target[targetIndex] = element;
- }
- targetIndex++;
- }
- sourceIndex++;
- }
- return targetIndex;
- };
- module.exports = flattenIntoArray;
- /***/ }),
- /* 192 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.flat-map.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var flattenIntoArray = __webpack_require__(/*! ../internals/flatten-into-array */ 191);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 106);
- // `Array.prototype.flatMap` method
- // https://github.com/tc39/proposal-flatMap
- $({ target: 'Array', proto: true }, {
- flatMap: function flatMap(callbackfn /* , thisArg */) {
- var O = toObject(this);
- var sourceLen = toLength(O.length);
- var A;
- aFunction(callbackfn);
- A = arraySpeciesCreate(O, 0);
- A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- return A;
- }
- });
- /***/ }),
- /* 193 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.for-each.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var forEach = __webpack_require__(/*! ../internals/array-for-each */ 194);
- // `Array.prototype.forEach` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
- $({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
- forEach: forEach
- });
- /***/ }),
- /* 194 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/array-for-each.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $forEach = __webpack_require__(/*! ../internals/array-iteration */ 103).forEach;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var STRICT_METHOD = arrayMethodIsStrict('forEach');
- var USES_TO_LENGTH = arrayMethodUsesToLength('forEach');
- // `Array.prototype.forEach` method implementation
- // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
- module.exports = (!STRICT_METHOD || !USES_TO_LENGTH) ? function forEach(callbackfn /* , thisArg */) {
- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- } : [].forEach;
- /***/ }),
- /* 195 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.includes.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $includes = __webpack_require__(/*! ../internals/array-includes */ 83).includes;
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
- // `Array.prototype.includes` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.includes
- $({ target: 'Array', proto: true, forced: !USES_TO_LENGTH }, {
- includes: function includes(el /* , fromIndex = 0 */) {
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables('includes');
- /***/ }),
- /* 196 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.index-of.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $indexOf = __webpack_require__(/*! ../internals/array-includes */ 83).indexOf;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var nativeIndexOf = [].indexOf;
- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;
- var STRICT_METHOD = arrayMethodIsStrict('indexOf');
- var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
- // `Array.prototype.indexOf` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
- $({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH }, {
- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
- return NEGATIVE_ZERO
- // convert -0 to +0
- ? nativeIndexOf.apply(this, arguments) || 0
- : $indexOf(this, searchElement, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 197 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.join.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 55);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var nativeJoin = [].join;
- var ES3_STRINGS = IndexedObject != Object;
- var STRICT_METHOD = arrayMethodIsStrict('join', ',');
- // `Array.prototype.join` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.join
- $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
- join: function join(separator) {
- return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);
- }
- });
- /***/ }),
- /* 198 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.last-index-of.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ 199);
- // `Array.prototype.lastIndexOf` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof
- $({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {
- lastIndexOf: lastIndexOf
- });
- /***/ }),
- /* 199 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/array-last-index-of.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var min = Math.min;
- var nativeLastIndexOf = [].lastIndexOf;
- var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;
- var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');
- // For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method
- var USES_TO_LENGTH = arrayMethodUsesToLength('indexOf', { ACCESSORS: true, 1: 0 });
- var FORCED = NEGATIVE_ZERO || !STRICT_METHOD || !USES_TO_LENGTH;
- // `Array.prototype.lastIndexOf` method implementation
- // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof
- module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
- // convert -0 to +0
- if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0;
- var O = toIndexedObject(this);
- var length = toLength(O.length);
- var index = length - 1;
- if (arguments.length > 1) index = min(index, toInteger(arguments[1]));
- if (index < 0) index = length + index;
- for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;
- return -1;
- } : nativeLastIndexOf;
- /***/ }),
- /* 200 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.map.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $map = __webpack_require__(/*! ../internals/array-iteration */ 103).map;
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 176);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
- // FF49- issue
- var USES_TO_LENGTH = arrayMethodUsesToLength('map');
- // `Array.prototype.map` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.map
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- map: function map(callbackfn /* , thisArg */) {
- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 201 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.reduce.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $reduce = __webpack_require__(/*! ../internals/array-reduce */ 202).left;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var STRICT_METHOD = arrayMethodIsStrict('reduce');
- var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });
- // `Array.prototype.reduce` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.reduce
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- reduce: function reduce(callbackfn /* , initialValue */) {
- return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 202 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/array-reduce.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 55);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- // `Array.prototype.{ reduce, reduceRight }` methods implementation
- var createMethod = function (IS_RIGHT) {
- return function (that, callbackfn, argumentsLength, memo) {
- aFunction(callbackfn);
- var O = toObject(that);
- var self = IndexedObject(O);
- var length = toLength(O.length);
- var index = IS_RIGHT ? length - 1 : 0;
- var i = IS_RIGHT ? -1 : 1;
- if (argumentsLength < 2) while (true) {
- if (index in self) {
- memo = self[index];
- index += i;
- break;
- }
- index += i;
- if (IS_RIGHT ? index < 0 : length <= index) {
- throw TypeError('Reduce of empty array with no initial value');
- }
- }
- for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
- memo = callbackfn(memo, self[index], index, O);
- }
- return memo;
- };
- };
- module.exports = {
- // `Array.prototype.reduce` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.reduce
- left: createMethod(false),
- // `Array.prototype.reduceRight` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright
- right: createMethod(true)
- };
- /***/ }),
- /* 203 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.reduce-right.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $reduceRight = __webpack_require__(/*! ../internals/array-reduce */ 202).right;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var STRICT_METHOD = arrayMethodIsStrict('reduceRight');
- // For preventing possible almost infinite loop in non-standard implementations, test the forward version of the method
- var USES_TO_LENGTH = arrayMethodUsesToLength('reduce', { 1: 0 });
- // `Array.prototype.reduceRight` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- reduceRight: function reduceRight(callbackfn /* , initialValue */) {
- return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 204 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.reverse.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var nativeReverse = [].reverse;
- var test = [1, 2];
- // `Array.prototype.reverse` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.reverse
- // fix for Safari 12.0 bug
- // https://bugs.webkit.org/show_bug.cgi?id=188794
- $({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {
- reverse: function reverse() {
- // eslint-disable-next-line no-self-assign
- if (isArray(this)) this.length = this.length;
- return nativeReverse.call(this);
- }
- });
- /***/ }),
- /* 205 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.slice.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 176);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
- var USES_TO_LENGTH = arrayMethodUsesToLength('slice', { ACCESSORS: true, 0: 0, 1: 2 });
- var SPECIES = wellKnownSymbol('species');
- var nativeSlice = [].slice;
- var max = Math.max;
- // `Array.prototype.slice` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.slice
- // fallback for not array-like ES3 strings and DOM objects
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- slice: function slice(start, end) {
- var O = toIndexedObject(this);
- var length = toLength(O.length);
- var k = toAbsoluteIndex(start, length);
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
- var Constructor, result, n;
- if (isArray(O)) {
- Constructor = O.constructor;
- // cross-realm fallback
- if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {
- Constructor = undefined;
- } else if (isObject(Constructor)) {
- Constructor = Constructor[SPECIES];
- if (Constructor === null) Constructor = undefined;
- }
- if (Constructor === Array || Constructor === undefined) {
- return nativeSlice.call(O, k, fin);
- }
- }
- result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
- for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
- result.length = n;
- return result;
- }
- });
- /***/ }),
- /* 206 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.some.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $some = __webpack_require__(/*! ../internals/array-iteration */ 103).some;
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var STRICT_METHOD = arrayMethodIsStrict('some');
- var USES_TO_LENGTH = arrayMethodUsesToLength('some');
- // `Array.prototype.some` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.some
- $({ target: 'Array', proto: true, forced: !STRICT_METHOD || !USES_TO_LENGTH }, {
- some: function some(callbackfn /* , thisArg */) {
- return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 207 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.sort.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 183);
- var test = [];
- var nativeSort = test.sort;
- // IE8-
- var FAILS_ON_UNDEFINED = fails(function () {
- test.sort(undefined);
- });
- // V8 bug
- var FAILS_ON_NULL = fails(function () {
- test.sort(null);
- });
- // Old WebKit
- var STRICT_METHOD = arrayMethodIsStrict('sort');
- var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD;
- // `Array.prototype.sort` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.sort
- $({ target: 'Array', proto: true, forced: FORCED }, {
- sort: function sort(comparefn) {
- return comparefn === undefined
- ? nativeSort.call(toObject(this))
- : nativeSort.call(toObject(this), aFunction(comparefn));
- }
- });
- /***/ }),
- /* 208 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.splice.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 106);
- var createProperty = __webpack_require__(/*! ../internals/create-property */ 139);
- var arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 176);
- var arrayMethodUsesToLength = __webpack_require__(/*! ../internals/array-method-uses-to-length */ 184);
- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');
- var USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });
- var max = Math.max;
- var min = Math.min;
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
- var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
- // `Array.prototype.splice` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.splice
- // with adding support of @@species
- $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
- splice: function splice(start, deleteCount /* , ...items */) {
- var O = toObject(this);
- var len = toLength(O.length);
- var actualStart = toAbsoluteIndex(start, len);
- var argumentsLength = arguments.length;
- var insertCount, actualDeleteCount, A, k, from, to;
- if (argumentsLength === 0) {
- insertCount = actualDeleteCount = 0;
- } else if (argumentsLength === 1) {
- insertCount = 0;
- actualDeleteCount = len - actualStart;
- } else {
- insertCount = argumentsLength - 2;
- actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
- }
- if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
- throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
- }
- A = arraySpeciesCreate(O, actualDeleteCount);
- for (k = 0; k < actualDeleteCount; k++) {
- from = actualStart + k;
- if (from in O) createProperty(A, k, O[from]);
- }
- A.length = actualDeleteCount;
- if (insertCount < actualDeleteCount) {
- for (k = actualStart; k < len - actualDeleteCount; k++) {
- from = k + actualDeleteCount;
- to = k + insertCount;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
- } else if (insertCount > actualDeleteCount) {
- for (k = len - actualDeleteCount; k > actualStart; k--) {
- from = k + actualDeleteCount - 1;
- to = k + insertCount - 1;
- if (from in O) O[to] = O[from];
- else delete O[to];
- }
- }
- for (k = 0; k < insertCount; k++) {
- O[k + actualStart] = arguments[k + 2];
- }
- O.length = len - actualDeleteCount + insertCount;
- return A;
- }
- });
- /***/ }),
- /* 209 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.species.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- // `Array[@@species]` getter
- // https://tc39.github.io/ecma262/#sec-get-array-@@species
- setSpecies('Array');
- /***/ }),
- /* 210 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/set-species.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var SPECIES = wellKnownSymbol('species');
- module.exports = function (CONSTRUCTOR_NAME) {
- var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
- var defineProperty = definePropertyModule.f;
- if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
- defineProperty(Constructor, SPECIES, {
- configurable: true,
- get: function () { return this; }
- });
- }
- };
- /***/ }),
- /* 211 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.unscopables.flat.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // this method was added to unscopables after implementation
- // in popular engines, so it's moved to a separate module
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- addToUnscopables('flat');
- /***/ }),
- /* 212 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.unscopables.flat-map.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // this method was added to unscopables after implementation
- // in popular engines, so it's moved to a separate module
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- addToUnscopables('flatMap');
- /***/ }),
- /* 213 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.array.iterator.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var Iterators = __webpack_require__(/*! ../internals/iterators */ 134);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ 214);
- var ARRAY_ITERATOR = 'Array Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
- // `Array.prototype.entries` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.entries
- // `Array.prototype.keys` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.keys
- // `Array.prototype.values` method
- // https://tc39.github.io/ecma262/#sec-array.prototype.values
- // `Array.prototype[@@iterator]` method
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator
- // `CreateArrayIterator` internal method
- // https://tc39.github.io/ecma262/#sec-createarrayiterator
- module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
- setInternalState(this, {
- type: ARRAY_ITERATOR,
- target: toIndexedObject(iterated), // target
- index: 0, // next index
- kind: kind // kind
- });
- // `%ArrayIteratorPrototype%.next` method
- // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next
- }, function () {
- var state = getInternalState(this);
- var target = state.target;
- var kind = state.kind;
- var index = state.index++;
- if (!target || index >= target.length) {
- state.target = undefined;
- return { value: undefined, done: true };
- }
- if (kind == 'keys') return { value: index, done: false };
- if (kind == 'values') return { value: target[index], done: false };
- return { value: [index, target[index]], done: false };
- }, 'values');
- // argumentsList[@@iterator] is %ArrayProto_values%
- // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject
- // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject
- Iterators.Arguments = Iterators.Array;
- // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables
- addToUnscopables('keys');
- addToUnscopables('values');
- addToUnscopables('entries');
- /***/ }),
- /* 214 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/define-iterator.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var Iterators = __webpack_require__(/*! ../internals/iterators */ 134);
- var IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ 216);
- var IteratorPrototype = IteratorsCore.IteratorPrototype;
- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
- var ITERATOR = wellKnownSymbol('iterator');
- var KEYS = 'keys';
- var VALUES = 'values';
- var ENTRIES = 'entries';
- var returnThis = function () { return this; };
- module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
- createIteratorConstructor(IteratorConstructor, NAME, next);
- var getIterationMethod = function (KIND) {
- if (KIND === DEFAULT && defaultIterator) return defaultIterator;
- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
- switch (KIND) {
- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
- } return function () { return new IteratorConstructor(this); };
- };
- var TO_STRING_TAG = NAME + ' Iterator';
- var INCORRECT_VALUES_NAME = false;
- var IterablePrototype = Iterable.prototype;
- var nativeIterator = IterablePrototype[ITERATOR]
- || IterablePrototype['@@iterator']
- || DEFAULT && IterablePrototype[DEFAULT];
- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
- var CurrentIteratorPrototype, methods, KEY;
- // fix native
- if (anyNativeIterator) {
- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
- if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
- if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
- if (setPrototypeOf) {
- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
- } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {
- createNonEnumerableProperty(CurrentIteratorPrototype, ITERATOR, returnThis);
- }
- }
- // Set @@toStringTag to native iterators
- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
- if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
- }
- }
- // fix Array#{values, @@iterator}.name in V8 / FF
- if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
- INCORRECT_VALUES_NAME = true;
- defaultIterator = function values() { return nativeIterator.call(this); };
- }
- // define iterator
- if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
- createNonEnumerableProperty(IterablePrototype, ITERATOR, defaultIterator);
- }
- Iterators[NAME] = defaultIterator;
- // export additional methods
- if (DEFAULT) {
- methods = {
- values: getIterationMethod(VALUES),
- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
- entries: getIterationMethod(ENTRIES)
- };
- if (FORCED) for (KEY in methods) {
- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
- redefine(IterablePrototype, KEY, methods[KEY]);
- }
- } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
- }
- return methods;
- };
- /***/ }),
- /* 215 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ 216).IteratorPrototype;
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var Iterators = __webpack_require__(/*! ../internals/iterators */ 134);
- var returnThis = function () { return this; };
- module.exports = function (IteratorConstructor, NAME, next) {
- var TO_STRING_TAG = NAME + ' Iterator';
- IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
- setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
- Iterators[TO_STRING_TAG] = returnThis;
- return IteratorConstructor;
- };
- /***/ }),
- /* 216 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/internals/iterators-core.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var ITERATOR = wellKnownSymbol('iterator');
- var BUGGY_SAFARI_ITERATORS = false;
- var returnThis = function () { return this; };
- // `%IteratorPrototype%` object
- // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
- var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
- if ([].keys) {
- arrayIterator = [].keys();
- // Safari 8 has buggy iterators w/o `next`
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
- else {
- PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
- }
- }
- if (IteratorPrototype == undefined) IteratorPrototype = {};
- // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
- if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) {
- createNonEnumerableProperty(IteratorPrototype, ITERATOR, returnThis);
- }
- module.exports = {
- IteratorPrototype: IteratorPrototype,
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
- };
- /***/ }),
- /* 217 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.from-code-point.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var fromCharCode = String.fromCharCode;
- var nativeFromCodePoint = String.fromCodePoint;
- // length should be 1, old FF problem
- var INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1;
- // `String.fromCodePoint` method
- // https://tc39.github.io/ecma262/#sec-string.fromcodepoint
- $({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {
- fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars
- var elements = [];
- var length = arguments.length;
- var i = 0;
- var code;
- while (length > i) {
- code = +arguments[i++];
- if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');
- elements.push(code < 0x10000
- ? fromCharCode(code)
- : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00)
- );
- } return elements.join('');
- }
- });
- /***/ }),
- /* 218 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.raw.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 54);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- // `String.raw` method
- // https://tc39.github.io/ecma262/#sec-string.raw
- $({ target: 'String', stat: true }, {
- raw: function raw(template) {
- var rawTemplate = toIndexedObject(template.raw);
- var literalSegments = toLength(rawTemplate.length);
- var argumentsLength = arguments.length;
- var elements = [];
- var i = 0;
- while (literalSegments > i) {
- elements.push(String(rawTemplate[i++]));
- if (i < argumentsLength) elements.push(String(arguments[i]));
- } return elements.join('');
- }
- });
- /***/ }),
- /* 219 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.code-point-at.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var codeAt = __webpack_require__(/*! ../internals/string-multibyte */ 220).codeAt;
- // `String.prototype.codePointAt` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
- $({ target: 'String', proto: true }, {
- codePointAt: function codePointAt(pos) {
- return codeAt(this, pos);
- }
- });
- /***/ }),
- /* 220 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/string-multibyte.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- // `String.prototype.{ codePointAt, at }` methods implementation
- var createMethod = function (CONVERT_TO_STRING) {
- return function ($this, pos) {
- var S = String(requireObjectCoercible($this));
- var position = toInteger(pos);
- var size = S.length;
- var first, second;
- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
- first = S.charCodeAt(position);
- return first < 0xD800 || first > 0xDBFF || position + 1 === size
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
- ? CONVERT_TO_STRING ? S.charAt(position) : first
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
- };
- };
- module.exports = {
- // `String.prototype.codePointAt` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat
- codeAt: createMethod(false),
- // `String.prototype.at` method
- // https://github.com/mathiasbynens/String.prototype.at
- charAt: createMethod(true)
- };
- /***/ }),
- /* 221 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.ends-with.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 222);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 224);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var nativeEndsWith = ''.endsWith;
- var min = Math.min;
- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
- // https://github.com/zloirock/core-js/pull/702
- var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
- var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
- return descriptor && !descriptor.writable;
- }();
- // `String.prototype.endsWith` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.endswith
- $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
- endsWith: function endsWith(searchString /* , endPosition = @length */) {
- var that = String(requireObjectCoercible(this));
- notARegExp(searchString);
- var endPosition = arguments.length > 1 ? arguments[1] : undefined;
- var len = toLength(that.length);
- var end = endPosition === undefined ? len : min(toLength(endPosition), len);
- var search = String(searchString);
- return nativeEndsWith
- ? nativeEndsWith.call(that, search, end)
- : that.slice(end - search.length, end) === search;
- }
- });
- /***/ }),
- /* 222 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/not-a-regexp.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 223);
- module.exports = function (it) {
- if (isRegExp(it)) {
- throw TypeError("The method doesn't accept regular expressions");
- } return it;
- };
- /***/ }),
- /* 223 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/is-regexp.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var MATCH = wellKnownSymbol('match');
- // `IsRegExp` abstract operation
- // https://tc39.github.io/ecma262/#sec-isregexp
- module.exports = function (it) {
- var isRegExp;
- return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
- };
- /***/ }),
- /* 224 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/correct-is-regexp-logic.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var MATCH = wellKnownSymbol('match');
- module.exports = function (METHOD_NAME) {
- var regexp = /./;
- try {
- '/./'[METHOD_NAME](regexp);
- } catch (e) {
- try {
- regexp[MATCH] = false;
- return '/./'[METHOD_NAME](regexp);
- } catch (f) { /* empty */ }
- } return false;
- };
- /***/ }),
- /* 225 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.includes.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 222);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 224);
- // `String.prototype.includes` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.includes
- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
- includes: function includes(searchString /* , position = 0 */) {
- return !!~String(requireObjectCoercible(this))
- .indexOf(notARegExp(searchString), arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 226 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.match.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 227);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 232);
- var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 233);
- // @@match logic
- fixRegExpWellKnownSymbolLogic('match', 1, function (MATCH, nativeMatch, maybeCallNative) {
- return [
- // `String.prototype.match` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.match
- function match(regexp) {
- var O = requireObjectCoercible(this);
- var matcher = regexp == undefined ? undefined : regexp[MATCH];
- return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
- },
- // `RegExp.prototype[@@match]` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
- function (regexp) {
- var res = maybeCallNative(nativeMatch, regexp, this);
- if (res.done) return res.value;
- var rx = anObject(regexp);
- var S = String(this);
- if (!rx.global) return regExpExec(rx, S);
- var fullUnicode = rx.unicode;
- rx.lastIndex = 0;
- var A = [];
- var n = 0;
- var result;
- while ((result = regExpExec(rx, S)) !== null) {
- var matchStr = String(result[0]);
- A[n] = matchStr;
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
- n++;
- }
- return n === 0 ? null : A;
- }
- ];
- });
- /***/ }),
- /* 227 */
- /*!******************************************************************************!*\
- !*** ./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js ***!
- \******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // TODO: Remove from `core-js@4` since it's moved to entry points
- __webpack_require__(/*! ../modules/es.regexp.exec */ 228);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ 229);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var SPECIES = wellKnownSymbol('species');
- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
- // #replace needs built-in support for named groups.
- // #match works fine because it just return the exec results, even if it has
- // a "grops" property.
- var re = /./;
- re.exec = function () {
- var result = [];
- result.groups = { a: '7' };
- return result;
- };
- return ''.replace(re, '$<a>') !== '7';
- });
- // IE <= 11 replaces $0 with the whole match, as if it was $&
- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
- var REPLACE_KEEPS_$0 = (function () {
- return 'a'.replace(/./, '$0') === '$0';
- })();
- var REPLACE = wellKnownSymbol('replace');
- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
- if (/./[REPLACE]) {
- return /./[REPLACE]('a', '$0') === '';
- }
- return false;
- })();
- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
- // Weex JS has frozen built-in prototypes, so use try / catch wrapper
- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
- var re = /(?:)/;
- var originalExec = re.exec;
- re.exec = function () { return originalExec.apply(this, arguments); };
- var result = 'ab'.split(re);
- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
- });
- module.exports = function (KEY, length, exec, sham) {
- var SYMBOL = wellKnownSymbol(KEY);
- var DELEGATES_TO_SYMBOL = !fails(function () {
- // String methods call symbol-named RegEp methods
- var O = {};
- O[SYMBOL] = function () { return 7; };
- return ''[KEY](O) != 7;
- });
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
- // Symbol-named RegExp methods call .exec
- var execCalled = false;
- var re = /a/;
- if (KEY === 'split') {
- // We can't use real regex here since it causes deoptimization
- // and serious performance degradation in V8
- // https://github.com/zloirock/core-js/issues/306
- re = {};
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
- // a new one. We need to return the patched regex when creating the new one.
- re.constructor = {};
- re.constructor[SPECIES] = function () { return re; };
- re.flags = '';
- re[SYMBOL] = /./[SYMBOL];
- }
- re.exec = function () { execCalled = true; return null; };
- re[SYMBOL]('');
- return !execCalled;
- });
- if (
- !DELEGATES_TO_SYMBOL ||
- !DELEGATES_TO_EXEC ||
- (KEY === 'replace' && !(
- REPLACE_SUPPORTS_NAMED_GROUPS &&
- REPLACE_KEEPS_$0 &&
- !REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
- )) ||
- (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
- ) {
- var nativeRegExpMethod = /./[SYMBOL];
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
- if (regexp.exec === regexpExec) {
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
- // The native String method already delegates to @@method (this
- // polyfilled function), leasing to infinite recursion.
- // We avoid it by directly calling the native @@method method.
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
- }
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
- }
- return { done: false };
- }, {
- REPLACE_KEEPS_$0: REPLACE_KEEPS_$0,
- REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE: REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE
- });
- var stringMethod = methods[0];
- var regexMethod = methods[1];
- redefine(String.prototype, KEY, stringMethod);
- redefine(RegExp.prototype, SYMBOL, length == 2
- // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
- // 21.2.5.11 RegExp.prototype[@@split](string, limit)
- ? function (string, arg) { return regexMethod.call(string, this, arg); }
- // 21.2.5.6 RegExp.prototype[@@match](string)
- // 21.2.5.9 RegExp.prototype[@@search](string)
- : function (string) { return regexMethod.call(string, this); }
- );
- }
- if (sham) createNonEnumerableProperty(RegExp.prototype[SYMBOL], 'sham', true);
- };
- /***/ }),
- /* 228 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.exec.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var exec = __webpack_require__(/*! ../internals/regexp-exec */ 229);
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
- exec: exec
- });
- /***/ }),
- /* 229 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/regexp-exec.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var regexpFlags = __webpack_require__(/*! ./regexp-flags */ 230);
- var stickyHelpers = __webpack_require__(/*! ./regexp-sticky-helpers */ 231);
- var nativeExec = RegExp.prototype.exec;
- // This always refers to the native implementation, because the
- // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
- // which loads this file before patching the method.
- var nativeReplace = String.prototype.replace;
- var patchedExec = nativeExec;
- var UPDATES_LAST_INDEX_WRONG = (function () {
- var re1 = /a/;
- var re2 = /b*/g;
- nativeExec.call(re1, 'a');
- nativeExec.call(re2, 'a');
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
- })();
- var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y;
- if (PATCH) {
- patchedExec = function exec(str) {
- var re = this;
- var lastIndex, reCopy, match, i;
- var sticky = UNSUPPORTED_Y && re.sticky;
- var flags = regexpFlags.call(re);
- var source = re.source;
- var charsAdded = 0;
- var strCopy = str;
- if (sticky) {
- flags = flags.replace('y', '');
- if (flags.indexOf('g') === -1) {
- flags += 'g';
- }
- strCopy = String(str).slice(re.lastIndex);
- // Support anchored sticky behavior.
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str[re.lastIndex - 1] !== '\n')) {
- source = '(?: ' + source + ')';
- strCopy = ' ' + strCopy;
- charsAdded++;
- }
- // ^(? + rx + ) is needed, in combination with some str slicing, to
- // simulate the 'y' flag.
- reCopy = new RegExp('^(?:' + source + ')', flags);
- }
- if (NPCG_INCLUDED) {
- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
- }
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
- if (sticky) {
- if (match) {
- match.input = match.input.slice(charsAdded);
- match[0] = match[0].slice(charsAdded);
- match.index = re.lastIndex;
- re.lastIndex += match[0].length;
- } else re.lastIndex = 0;
- } else if (UPDATES_LAST_INDEX_WRONG && match) {
- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
- }
- if (NPCG_INCLUDED && match && match.length > 1) {
- // Fix browsers whose `exec` methods don't consistently return `undefined`
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
- nativeReplace.call(match[0], reCopy, function () {
- for (i = 1; i < arguments.length - 2; i++) {
- if (arguments[i] === undefined) match[i] = undefined;
- }
- });
- }
- return match;
- };
- }
- module.exports = patchedExec;
- /***/ }),
- /* 230 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/regexp-flags.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- // `RegExp.prototype.flags` getter implementation
- // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
- module.exports = function () {
- var that = anObject(this);
- var result = '';
- if (that.global) result += 'g';
- if (that.ignoreCase) result += 'i';
- if (that.multiline) result += 'm';
- if (that.dotAll) result += 's';
- if (that.unicode) result += 'u';
- if (that.sticky) result += 'y';
- return result;
- };
- /***/ }),
- /* 231 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/regexp-sticky-helpers.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fails = __webpack_require__(/*! ./fails */ 51);
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
- // so we use an intermediate function.
- function RE(s, f) {
- return RegExp(s, f);
- }
- exports.UNSUPPORTED_Y = fails(function () {
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
- var re = RE('a', 'y');
- re.lastIndex = 2;
- return re.exec('abcd') != null;
- });
- exports.BROKEN_CARET = fails(function () {
- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
- var re = RE('^r', 'gy');
- re.lastIndex = 2;
- return re.exec('str') != null;
- });
- /***/ }),
- /* 232 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/internals/advance-string-index.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var charAt = __webpack_require__(/*! ../internals/string-multibyte */ 220).charAt;
- // `AdvanceStringIndex` abstract operation
- // https://tc39.github.io/ecma262/#sec-advancestringindex
- module.exports = function (S, index, unicode) {
- return index + (unicode ? charAt(S, index).length : 1);
- };
- /***/ }),
- /* 233 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/internals/regexp-exec-abstract.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(/*! ./classof-raw */ 56);
- var regexpExec = __webpack_require__(/*! ./regexp-exec */ 229);
- // `RegExpExec` abstract operation
- // https://tc39.github.io/ecma262/#sec-regexpexec
- module.exports = function (R, S) {
- var exec = R.exec;
- if (typeof exec === 'function') {
- var result = exec.call(R, S);
- if (typeof result !== 'object') {
- throw TypeError('RegExp exec method returned something other than an Object or null');
- }
- return result;
- }
- if (classof(R) !== 'RegExp') {
- throw TypeError('RegExp#exec called on incompatible receiver');
- }
- return regexpExec.call(R, S);
- };
- /***/ }),
- /* 234 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.match-all.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 223);
- var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 230);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 232);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var MATCH_ALL = wellKnownSymbol('matchAll');
- var REGEXP_STRING = 'RegExp String';
- var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);
- var RegExpPrototype = RegExp.prototype;
- var regExpBuiltinExec = RegExpPrototype.exec;
- var nativeMatchAll = ''.matchAll;
- var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () {
- 'a'.matchAll(/./);
- });
- var regExpExec = function (R, S) {
- var exec = R.exec;
- var result;
- if (typeof exec == 'function') {
- result = exec.call(R, S);
- if (typeof result != 'object') throw TypeError('Incorrect exec result');
- return result;
- } return regExpBuiltinExec.call(R, S);
- };
- // eslint-disable-next-line max-len
- var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, global, fullUnicode) {
- setInternalState(this, {
- type: REGEXP_STRING_ITERATOR,
- regexp: regexp,
- string: string,
- global: global,
- unicode: fullUnicode,
- done: false
- });
- }, REGEXP_STRING, function next() {
- var state = getInternalState(this);
- if (state.done) return { value: undefined, done: true };
- var R = state.regexp;
- var S = state.string;
- var match = regExpExec(R, S);
- if (match === null) return { value: undefined, done: state.done = true };
- if (state.global) {
- if (String(match[0]) == '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);
- return { value: match, done: false };
- }
- state.done = true;
- return { value: match, done: false };
- });
- var $matchAll = function (string) {
- var R = anObject(this);
- var S = String(string);
- var C, flagsValue, flags, matcher, global, fullUnicode;
- C = speciesConstructor(R, RegExp);
- flagsValue = R.flags;
- if (flagsValue === undefined && R instanceof RegExp && !('flags' in RegExpPrototype)) {
- flagsValue = getRegExpFlags.call(R);
- }
- flags = flagsValue === undefined ? '' : String(flagsValue);
- matcher = new C(C === RegExp ? R.source : R, flags);
- global = !!~flags.indexOf('g');
- fullUnicode = !!~flags.indexOf('u');
- matcher.lastIndex = toLength(R.lastIndex);
- return new $RegExpStringIterator(matcher, S, global, fullUnicode);
- };
- // `String.prototype.matchAll` method
- // https://github.com/tc39/proposal-string-matchall
- $({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, {
- matchAll: function matchAll(regexp) {
- var O = requireObjectCoercible(this);
- var flags, S, matcher, rx;
- if (regexp != null) {
- if (isRegExp(regexp)) {
- flags = String(requireObjectCoercible('flags' in RegExpPrototype
- ? regexp.flags
- : getRegExpFlags.call(regexp)
- ));
- if (!~flags.indexOf('g')) throw TypeError('`.matchAll` does not allow non-global regexes');
- }
- if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments);
- matcher = regexp[MATCH_ALL];
- if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;
- if (matcher != null) return aFunction(matcher).call(regexp, O);
- } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments);
- S = String(O);
- rx = new RegExp(regexp, 'g');
- return IS_PURE ? $matchAll.call(rx, S) : rx[MATCH_ALL](S);
- }
- });
- IS_PURE || MATCH_ALL in RegExpPrototype || createNonEnumerableProperty(RegExpPrototype, MATCH_ALL, $matchAll);
- /***/ }),
- /* 235 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/species-constructor.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var SPECIES = wellKnownSymbol('species');
- // `SpeciesConstructor` abstract operation
- // https://tc39.github.io/ecma262/#sec-speciesconstructor
- module.exports = function (O, defaultConstructor) {
- var C = anObject(O).constructor;
- var S;
- return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S);
- };
- /***/ }),
- /* 236 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.pad-end.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $padEnd = __webpack_require__(/*! ../internals/string-pad */ 237).end;
- var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ 239);
- // `String.prototype.padEnd` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.padend
- $({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
- padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
- return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 237 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/string-pad.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-string-pad-start-end
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var repeat = __webpack_require__(/*! ../internals/string-repeat */ 238);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var ceil = Math.ceil;
- // `String.prototype.{ padStart, padEnd }` methods implementation
- var createMethod = function (IS_END) {
- return function ($this, maxLength, fillString) {
- var S = String(requireObjectCoercible($this));
- var stringLength = S.length;
- var fillStr = fillString === undefined ? ' ' : String(fillString);
- var intMaxLength = toLength(maxLength);
- var fillLen, stringFiller;
- if (intMaxLength <= stringLength || fillStr == '') return S;
- fillLen = intMaxLength - stringLength;
- stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length));
- if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
- return IS_END ? S + stringFiller : stringFiller + S;
- };
- };
- module.exports = {
- // `String.prototype.padStart` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.padstart
- start: createMethod(false),
- // `String.prototype.padEnd` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.padend
- end: createMethod(true)
- };
- /***/ }),
- /* 238 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/string-repeat.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- // `String.prototype.repeat` method implementation
- // https://tc39.github.io/ecma262/#sec-string.prototype.repeat
- module.exports = ''.repeat || function repeat(count) {
- var str = String(requireObjectCoercible(this));
- var result = '';
- var n = toInteger(count);
- if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions');
- for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
- return result;
- };
- /***/ }),
- /* 239 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/string-pad-webkit-bug.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/zloirock/core-js/issues/280
- var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 178);
- // eslint-disable-next-line unicorn/no-unsafe-regex
- module.exports = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
- /***/ }),
- /* 240 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.pad-start.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $padStart = __webpack_require__(/*! ../internals/string-pad */ 237).start;
- var WEBKIT_BUG = __webpack_require__(/*! ../internals/string-pad-webkit-bug */ 239);
- // `String.prototype.padStart` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.padstart
- $({ target: 'String', proto: true, forced: WEBKIT_BUG }, {
- padStart: function padStart(maxLength /* , fillString = ' ' */) {
- return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);
- }
- });
- /***/ }),
- /* 241 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.repeat.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var repeat = __webpack_require__(/*! ../internals/string-repeat */ 238);
- // `String.prototype.repeat` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.repeat
- $({ target: 'String', proto: true }, {
- repeat: repeat
- });
- /***/ }),
- /* 242 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.replace.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 227);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 232);
- var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 233);
- var max = Math.max;
- var min = Math.min;
- var floor = Math.floor;
- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d\d?|<[^>]*>)/g;
- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d\d?)/g;
- var maybeToString = function (it) {
- return it === undefined ? it : String(it);
- };
- // @@replace logic
- fixRegExpWellKnownSymbolLogic('replace', 2, function (REPLACE, nativeReplace, maybeCallNative, reason) {
- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = reason.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE;
- var REPLACE_KEEPS_$0 = reason.REPLACE_KEEPS_$0;
- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
- return [
- // `String.prototype.replace` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.replace
- function replace(searchValue, replaceValue) {
- var O = requireObjectCoercible(this);
- var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];
- return replacer !== undefined
- ? replacer.call(searchValue, O, replaceValue)
- : nativeReplace.call(String(O), searchValue, replaceValue);
- },
- // `RegExp.prototype[@@replace]` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
- function (regexp, replaceValue) {
- if (
- (!REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE && REPLACE_KEEPS_$0) ||
- (typeof replaceValue === 'string' && replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1)
- ) {
- var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);
- if (res.done) return res.value;
- }
- var rx = anObject(regexp);
- var S = String(this);
- var functionalReplace = typeof replaceValue === 'function';
- if (!functionalReplace) replaceValue = String(replaceValue);
- var global = rx.global;
- if (global) {
- var fullUnicode = rx.unicode;
- rx.lastIndex = 0;
- }
- var results = [];
- while (true) {
- var result = regExpExec(rx, S);
- if (result === null) break;
- results.push(result);
- if (!global) break;
- var matchStr = String(result[0]);
- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
- }
- var accumulatedResult = '';
- var nextSourcePosition = 0;
- for (var i = 0; i < results.length; i++) {
- result = results[i];
- var matched = String(result[0]);
- var position = max(min(toInteger(result.index), S.length), 0);
- var captures = [];
- // NOTE: This is equivalent to
- // captures = result.slice(1).map(maybeToString)
- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
- var namedCaptures = result.groups;
- if (functionalReplace) {
- var replacerArgs = [matched].concat(captures, position, S);
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
- var replacement = String(replaceValue.apply(undefined, replacerArgs));
- } else {
- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
- }
- if (position >= nextSourcePosition) {
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
- nextSourcePosition = position + matched.length;
- }
- }
- return accumulatedResult + S.slice(nextSourcePosition);
- }
- ];
- // https://tc39.github.io/ecma262/#sec-getsubstitution
- function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
- var tailPos = position + matched.length;
- var m = captures.length;
- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
- if (namedCaptures !== undefined) {
- namedCaptures = toObject(namedCaptures);
- symbols = SUBSTITUTION_SYMBOLS;
- }
- return nativeReplace.call(replacement, symbols, function (match, ch) {
- var capture;
- switch (ch.charAt(0)) {
- case '$': return '$';
- case '&': return matched;
- case '`': return str.slice(0, position);
- case "'": return str.slice(tailPos);
- case '<':
- capture = namedCaptures[ch.slice(1, -1)];
- break;
- default: // \d\d?
- var n = +ch;
- if (n === 0) return match;
- if (n > m) {
- var f = floor(n / 10);
- if (f === 0) return match;
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
- return match;
- }
- capture = captures[n - 1];
- }
- return capture === undefined ? '' : capture;
- });
- }
- });
- /***/ }),
- /* 243 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.search.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 227);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var sameValue = __webpack_require__(/*! ../internals/same-value */ 147);
- var regExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 233);
- // @@search logic
- fixRegExpWellKnownSymbolLogic('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {
- return [
- // `String.prototype.search` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.search
- function search(regexp) {
- var O = requireObjectCoercible(this);
- var searcher = regexp == undefined ? undefined : regexp[SEARCH];
- return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
- },
- // `RegExp.prototype[@@search]` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
- function (regexp) {
- var res = maybeCallNative(nativeSearch, regexp, this);
- if (res.done) return res.value;
- var rx = anObject(regexp);
- var S = String(this);
- var previousLastIndex = rx.lastIndex;
- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
- var result = regExpExec(rx, S);
- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
- return result === null ? -1 : result.index;
- }
- ];
- });
- /***/ }),
- /* 244 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.split.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fixRegExpWellKnownSymbolLogic = __webpack_require__(/*! ../internals/fix-regexp-well-known-symbol-logic */ 227);
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 223);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var advanceStringIndex = __webpack_require__(/*! ../internals/advance-string-index */ 232);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var callRegExpExec = __webpack_require__(/*! ../internals/regexp-exec-abstract */ 233);
- var regexpExec = __webpack_require__(/*! ../internals/regexp-exec */ 229);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var arrayPush = [].push;
- var min = Math.min;
- var MAX_UINT32 = 0xFFFFFFFF;
- // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
- var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); });
- // @@split logic
- fixRegExpWellKnownSymbolLogic('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {
- var internalSplit;
- if (
- 'abbc'.split(/(b)*/)[1] == 'c' ||
- 'test'.split(/(?:)/, -1).length != 4 ||
- 'ab'.split(/(?:ab)*/).length != 2 ||
- '.'.split(/(.?)(.?)/).length != 4 ||
- '.'.split(/()()/).length > 1 ||
- ''.split(/.?/).length
- ) {
- // based on es5-shim implementation, need to rework it
- internalSplit = function (separator, limit) {
- var string = String(requireObjectCoercible(this));
- var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
- if (lim === 0) return [];
- if (separator === undefined) return [string];
- // If `separator` is not a regex, use native split
- if (!isRegExp(separator)) {
- return nativeSplit.call(string, separator, lim);
- }
- var output = [];
- var flags = (separator.ignoreCase ? 'i' : '') +
- (separator.multiline ? 'm' : '') +
- (separator.unicode ? 'u' : '') +
- (separator.sticky ? 'y' : '');
- var lastLastIndex = 0;
- // Make `global` and avoid `lastIndex` issues by working with a copy
- var separatorCopy = new RegExp(separator.source, flags + 'g');
- var match, lastIndex, lastLength;
- while (match = regexpExec.call(separatorCopy, string)) {
- lastIndex = separatorCopy.lastIndex;
- if (lastIndex > lastLastIndex) {
- output.push(string.slice(lastLastIndex, match.index));
- if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
- lastLength = match[0].length;
- lastLastIndex = lastIndex;
- if (output.length >= lim) break;
- }
- if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
- }
- if (lastLastIndex === string.length) {
- if (lastLength || !separatorCopy.test('')) output.push('');
- } else output.push(string.slice(lastLastIndex));
- return output.length > lim ? output.slice(0, lim) : output;
- };
- // Chakra, V8
- } else if ('0'.split(undefined, 0).length) {
- internalSplit = function (separator, limit) {
- return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
- };
- } else internalSplit = nativeSplit;
- return [
- // `String.prototype.split` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.split
- function split(separator, limit) {
- var O = requireObjectCoercible(this);
- var splitter = separator == undefined ? undefined : separator[SPLIT];
- return splitter !== undefined
- ? splitter.call(separator, O, limit)
- : internalSplit.call(String(O), separator, limit);
- },
- // `RegExp.prototype[@@split]` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
- //
- // NOTE: This cannot be properly polyfilled in engines that don't support
- // the 'y' flag.
- function (regexp, limit) {
- var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);
- if (res.done) return res.value;
- var rx = anObject(regexp);
- var S = String(this);
- var C = speciesConstructor(rx, RegExp);
- var unicodeMatching = rx.unicode;
- var flags = (rx.ignoreCase ? 'i' : '') +
- (rx.multiline ? 'm' : '') +
- (rx.unicode ? 'u' : '') +
- (SUPPORTS_Y ? 'y' : 'g');
- // ^(? + rx + ) is needed, in combination with some S slicing, to
- // simulate the 'y' flag.
- var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
- var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
- if (lim === 0) return [];
- if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
- var p = 0;
- var q = 0;
- var A = [];
- while (q < S.length) {
- splitter.lastIndex = SUPPORTS_Y ? q : 0;
- var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
- var e;
- if (
- z === null ||
- (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
- ) {
- q = advanceStringIndex(S, q, unicodeMatching);
- } else {
- A.push(S.slice(p, q));
- if (A.length === lim) return A;
- for (var i = 1; i <= z.length - 1; i++) {
- A.push(z[i]);
- if (A.length === lim) return A;
- }
- q = p = e;
- }
- }
- A.push(S.slice(p));
- return A;
- }
- ];
- }, !SUPPORTS_Y);
- /***/ }),
- /* 245 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.starts-with.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 222);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 224);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var nativeStartsWith = ''.startsWith;
- var min = Math.min;
- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
- // https://github.com/zloirock/core-js/pull/702
- var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
- var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
- return descriptor && !descriptor.writable;
- }();
- // `String.prototype.startsWith` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.startswith
- $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
- startsWith: function startsWith(searchString /* , position = 0 */) {
- var that = String(requireObjectCoercible(this));
- notARegExp(searchString);
- var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
- var search = String(searchString);
- return nativeStartsWith
- ? nativeStartsWith.call(that, search, index)
- : that.slice(index, index + search.length) === search;
- }
- });
- /***/ }),
- /* 246 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.trim.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $trim = __webpack_require__(/*! ../internals/string-trim */ 247).trim;
- var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 249);
- // `String.prototype.trim` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.trim
- $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
- trim: function trim() {
- return $trim(this);
- }
- });
- /***/ }),
- /* 247 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/string-trim.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 248);
- var whitespace = '[' + whitespaces + ']';
- var ltrim = RegExp('^' + whitespace + whitespace + '*');
- var rtrim = RegExp(whitespace + whitespace + '*$');
- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
- var createMethod = function (TYPE) {
- return function ($this) {
- var string = String(requireObjectCoercible($this));
- if (TYPE & 1) string = string.replace(ltrim, '');
- if (TYPE & 2) string = string.replace(rtrim, '');
- return string;
- };
- };
- module.exports = {
- // `String.prototype.{ trimLeft, trimStart }` methods
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimstart
- start: createMethod(1),
- // `String.prototype.{ trimRight, trimEnd }` methods
- // https://tc39.github.io/ecma262/#sec-string.prototype.trimend
- end: createMethod(2),
- // `String.prototype.trim` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.trim
- trim: createMethod(3)
- };
- /***/ }),
- /* 248 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/whitespaces.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // a string of all valid unicode whitespaces
- // eslint-disable-next-line max-len
- module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
- /***/ }),
- /* 249 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/string-trim-forced.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 248);
- var non = '\u200B\u0085\u180E';
- // check that a method works with the correct list
- // of whitespaces and has a correct name
- module.exports = function (METHOD_NAME) {
- return fails(function () {
- return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME;
- });
- };
- /***/ }),
- /* 250 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.trim-start.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $trimStart = __webpack_require__(/*! ../internals/string-trim */ 247).start;
- var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 249);
- var FORCED = forcedStringTrimMethod('trimStart');
- var trimStart = FORCED ? function trimStart() {
- return $trimStart(this);
- } : ''.trimStart;
- // `String.prototype.{ trimStart, trimLeft }` methods
- // https://github.com/tc39/ecmascript-string-left-right-trim
- $({ target: 'String', proto: true, forced: FORCED }, {
- trimStart: trimStart,
- trimLeft: trimStart
- });
- /***/ }),
- /* 251 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.trim-end.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $trimEnd = __webpack_require__(/*! ../internals/string-trim */ 247).end;
- var forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 249);
- var FORCED = forcedStringTrimMethod('trimEnd');
- var trimEnd = FORCED ? function trimEnd() {
- return $trimEnd(this);
- } : ''.trimEnd;
- // `String.prototype.{ trimEnd, trimRight }` methods
- // https://github.com/tc39/ecmascript-string-left-right-trim
- $({ target: 'String', proto: true, forced: FORCED }, {
- trimEnd: trimEnd,
- trimRight: trimEnd
- });
- /***/ }),
- /* 252 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.iterator.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var charAt = __webpack_require__(/*! ../internals/string-multibyte */ 220).charAt;
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ 214);
- var STRING_ITERATOR = 'String Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
- // `String.prototype[@@iterator]` method
- // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator
- defineIterator(String, 'String', function (iterated) {
- setInternalState(this, {
- type: STRING_ITERATOR,
- string: String(iterated),
- index: 0
- });
- // `%StringIteratorPrototype%.next` method
- // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next
- }, function next() {
- var state = getInternalState(this);
- var string = state.string;
- var index = state.index;
- var point;
- if (index >= string.length) return { value: undefined, done: true };
- point = charAt(string, index);
- state.index += point.length;
- return { value: point, done: false };
- });
- /***/ }),
- /* 253 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.anchor.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.anchor` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.anchor
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, {
- anchor: function anchor(name) {
- return createHTML(this, 'a', 'name', name);
- }
- });
- /***/ }),
- /* 254 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/create-html.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var quot = /"/g;
- // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
- // https://tc39.github.io/ecma262/#sec-createhtml
- module.exports = function (string, tag, attribute, value) {
- var S = String(requireObjectCoercible(string));
- var p1 = '<' + tag;
- if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"';
- return p1 + '>' + S + '</' + tag + '>';
- };
- /***/ }),
- /* 255 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/string-html-forced.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- // check the existence of a method, lowercase
- // of a tag and escaping quotes in arguments
- module.exports = function (METHOD_NAME) {
- return fails(function () {
- var test = ''[METHOD_NAME]('"');
- return test !== test.toLowerCase() || test.split('"').length > 3;
- });
- };
- /***/ }),
- /* 256 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.big.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.big` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.big
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {
- big: function big() {
- return createHTML(this, 'big', '', '');
- }
- });
- /***/ }),
- /* 257 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.blink.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.blink` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.blink
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, {
- blink: function blink() {
- return createHTML(this, 'blink', '', '');
- }
- });
- /***/ }),
- /* 258 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.bold.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.bold` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.bold
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, {
- bold: function bold() {
- return createHTML(this, 'b', '', '');
- }
- });
- /***/ }),
- /* 259 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.fixed.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.fixed` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.fixed
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, {
- fixed: function fixed() {
- return createHTML(this, 'tt', '', '');
- }
- });
- /***/ }),
- /* 260 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.fontcolor.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.fontcolor` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {
- fontcolor: function fontcolor(color) {
- return createHTML(this, 'font', 'color', color);
- }
- });
- /***/ }),
- /* 261 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.fontsize.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.fontsize` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.fontsize
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, {
- fontsize: function fontsize(size) {
- return createHTML(this, 'font', 'size', size);
- }
- });
- /***/ }),
- /* 262 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.italics.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.italics` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.italics
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, {
- italics: function italics() {
- return createHTML(this, 'i', '', '');
- }
- });
- /***/ }),
- /* 263 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.link.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.link` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.link
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
- link: function link(url) {
- return createHTML(this, 'a', 'href', url);
- }
- });
- /***/ }),
- /* 264 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.small.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.small` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.small
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, {
- small: function small() {
- return createHTML(this, 'small', '', '');
- }
- });
- /***/ }),
- /* 265 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.strike.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.strike` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.strike
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, {
- strike: function strike() {
- return createHTML(this, 'strike', '', '');
- }
- });
- /***/ }),
- /* 266 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.sub.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.sub` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.sub
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, {
- sub: function sub() {
- return createHTML(this, 'sub', '', '');
- }
- });
- /***/ }),
- /* 267 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.string.sup.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createHTML = __webpack_require__(/*! ../internals/create-html */ 254);
- var forcedStringHTMLMethod = __webpack_require__(/*! ../internals/string-html-forced */ 255);
- // `String.prototype.sup` method
- // https://tc39.github.io/ecma262/#sec-string.prototype.sup
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, {
- sup: function sup() {
- return createHTML(this, 'sup', '', '');
- }
- });
- /***/ }),
- /* 268 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.constructor.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isForced = __webpack_require__(/*! ../internals/is-forced */ 89);
- var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 269);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81).f;
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 223);
- var getFlags = __webpack_require__(/*! ../internals/regexp-flags */ 230);
- var stickyHelpers = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 231);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var setInternalState = __webpack_require__(/*! ../internals/internal-state */ 70).set;
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var MATCH = wellKnownSymbol('match');
- var NativeRegExp = global.RegExp;
- var RegExpPrototype = NativeRegExp.prototype;
- var re1 = /a/g;
- var re2 = /a/g;
- // "new" should create a new object, old webkit bug
- var CORRECT_NEW = new NativeRegExp(re1) !== re1;
- var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
- var FORCED = DESCRIPTORS && isForced('RegExp', (!CORRECT_NEW || UNSUPPORTED_Y || fails(function () {
- re2[MATCH] = false;
- // RegExp constructor can alter flags and IsRegExp works correct with @@match
- return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';
- })));
- // `RegExp` constructor
- // https://tc39.github.io/ecma262/#sec-regexp-constructor
- if (FORCED) {
- var RegExpWrapper = function RegExp(pattern, flags) {
- var thisIsRegExp = this instanceof RegExpWrapper;
- var patternIsRegExp = isRegExp(pattern);
- var flagsAreUndefined = flags === undefined;
- var sticky;
- if (!thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined) {
- return pattern;
- }
- if (CORRECT_NEW) {
- if (patternIsRegExp && !flagsAreUndefined) pattern = pattern.source;
- } else if (pattern instanceof RegExpWrapper) {
- if (flagsAreUndefined) flags = getFlags.call(pattern);
- pattern = pattern.source;
- }
- if (UNSUPPORTED_Y) {
- sticky = !!flags && flags.indexOf('y') > -1;
- if (sticky) flags = flags.replace(/y/g, '');
- }
- var result = inheritIfRequired(
- CORRECT_NEW ? new NativeRegExp(pattern, flags) : NativeRegExp(pattern, flags),
- thisIsRegExp ? this : RegExpPrototype,
- RegExpWrapper
- );
- if (UNSUPPORTED_Y && sticky) setInternalState(result, { sticky: sticky });
- return result;
- };
- var proxy = function (key) {
- key in RegExpWrapper || defineProperty(RegExpWrapper, key, {
- configurable: true,
- get: function () { return NativeRegExp[key]; },
- set: function (it) { NativeRegExp[key] = it; }
- });
- };
- var keys = getOwnPropertyNames(NativeRegExp);
- var index = 0;
- while (keys.length > index) proxy(keys[index++]);
- RegExpPrototype.constructor = RegExpWrapper;
- RegExpWrapper.prototype = RegExpPrototype;
- redefine(global, 'RegExp', RegExpWrapper);
- }
- // https://tc39.github.io/ecma262/#sec-get-regexp-@@species
- setSpecies('RegExp');
- /***/ }),
- /* 269 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/inherit-if-required.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- // makes subclassing work correct for wrapped built-ins
- module.exports = function ($this, dummy, Wrapper) {
- var NewTarget, NewTargetPrototype;
- if (
- // it can work only with native `setPrototypeOf`
- setPrototypeOf &&
- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
- typeof (NewTarget = dummy.constructor) == 'function' &&
- NewTarget !== Wrapper &&
- isObject(NewTargetPrototype = NewTarget.prototype) &&
- NewTargetPrototype !== Wrapper.prototype
- ) setPrototypeOf($this, NewTargetPrototype);
- return $this;
- };
- /***/ }),
- /* 270 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.flags.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var objectDefinePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var regExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 230);
- var UNSUPPORTED_Y = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 231).UNSUPPORTED_Y;
- // `RegExp.prototype.flags` getter
- // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags
- if (DESCRIPTORS && (/./g.flags != 'g' || UNSUPPORTED_Y)) {
- objectDefinePropertyModule.f(RegExp.prototype, 'flags', {
- configurable: true,
- get: regExpFlags
- });
- }
- /***/ }),
- /* 271 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.sticky.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var UNSUPPORTED_Y = __webpack_require__(/*! ../internals/regexp-sticky-helpers */ 231).UNSUPPORTED_Y;
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var getInternalState = __webpack_require__(/*! ../internals/internal-state */ 70).get;
- var RegExpPrototype = RegExp.prototype;
- // `RegExp.prototype.sticky` getter
- if (DESCRIPTORS && UNSUPPORTED_Y) {
- defineProperty(RegExp.prototype, 'sticky', {
- configurable: true,
- get: function () {
- if (this === RegExpPrototype) return undefined;
- // We can't use InternalStateModule.getterFor because
- // we don't add metadata for regexps created by a literal.
- if (this instanceof RegExp) {
- return !!getInternalState(this).sticky;
- }
- throw TypeError('Incompatible receiver, RegExp required');
- }
- });
- }
- /***/ }),
- /* 272 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.test.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // TODO: Remove from `core-js@4` since it's moved to entry points
- __webpack_require__(/*! ../modules/es.regexp.exec */ 228);
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var DELEGATES_TO_EXEC = function () {
- var execCalled = false;
- var re = /[ac]/;
- re.exec = function () {
- execCalled = true;
- return /./.exec.apply(this, arguments);
- };
- return re.test('abc') === true && execCalled;
- }();
- var nativeTest = /./.test;
- $({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
- test: function (str) {
- if (typeof this.exec !== 'function') {
- return nativeTest.call(this, str);
- }
- var result = this.exec(str);
- if (result !== null && !isObject(result)) {
- throw new Error('RegExp exec method returned something other than an Object or null');
- }
- return !!result;
- }
- });
- /***/ }),
- /* 273 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.regexp.to-string.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var flags = __webpack_require__(/*! ../internals/regexp-flags */ 230);
- var TO_STRING = 'toString';
- var RegExpPrototype = RegExp.prototype;
- var nativeToString = RegExpPrototype[TO_STRING];
- var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
- // FF44- RegExp#toString has a wrong name
- var INCORRECT_NAME = nativeToString.name != TO_STRING;
- // `RegExp.prototype.toString` method
- // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring
- if (NOT_GENERIC || INCORRECT_NAME) {
- redefine(RegExp.prototype, TO_STRING, function toString() {
- var R = anObject(this);
- var p = String(R.source);
- var rf = R.flags;
- var f = String(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype) ? flags.call(R) : rf);
- return '/' + p + '/' + f;
- }, { unsafe: true });
- }
- /***/ }),
- /* 274 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.parse-int.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var parseIntImplementation = __webpack_require__(/*! ../internals/number-parse-int */ 275);
- // `parseInt` method
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
- $({ global: true, forced: parseInt != parseIntImplementation }, {
- parseInt: parseIntImplementation
- });
- /***/ }),
- /* 275 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/number-parse-int.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var trim = __webpack_require__(/*! ../internals/string-trim */ 247).trim;
- var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 248);
- var $parseInt = global.parseInt;
- var hex = /^[+-]?0[Xx]/;
- var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22;
- // `parseInt` method
- // https://tc39.github.io/ecma262/#sec-parseint-string-radix
- module.exports = FORCED ? function parseInt(string, radix) {
- var S = trim(String(string));
- return $parseInt(S, (radix >>> 0) || (hex.test(S) ? 16 : 10));
- } : $parseInt;
- /***/ }),
- /* 276 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.parse-float.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var parseFloatImplementation = __webpack_require__(/*! ../internals/number-parse-float */ 277);
- // `parseFloat` method
- // https://tc39.github.io/ecma262/#sec-parsefloat-string
- $({ global: true, forced: parseFloat != parseFloatImplementation }, {
- parseFloat: parseFloatImplementation
- });
- /***/ }),
- /* 277 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/number-parse-float.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var trim = __webpack_require__(/*! ../internals/string-trim */ 247).trim;
- var whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 248);
- var $parseFloat = global.parseFloat;
- var FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity;
- // `parseFloat` method
- // https://tc39.github.io/ecma262/#sec-parsefloat-string
- module.exports = FORCED ? function parseFloat(string) {
- var trimmedString = trim(String(string));
- var result = $parseFloat(trimmedString);
- return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result;
- } : $parseFloat;
- /***/ }),
- /* 278 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.constructor.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isForced = __webpack_require__(/*! ../internals/is-forced */ 89);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 269);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81).f;
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var trim = __webpack_require__(/*! ../internals/string-trim */ 247).trim;
- var NUMBER = 'Number';
- var NativeNumber = global[NUMBER];
- var NumberPrototype = NativeNumber.prototype;
- // Opera ~12 has broken Object#toString
- var BROKEN_CLASSOF = classof(create(NumberPrototype)) == NUMBER;
- // `ToNumber` abstract operation
- // https://tc39.github.io/ecma262/#sec-tonumber
- var toNumber = function (argument) {
- var it = toPrimitive(argument, false);
- var first, third, radix, maxCode, digits, length, index, code;
- if (typeof it == 'string' && it.length > 2) {
- it = trim(it);
- first = it.charCodeAt(0);
- if (first === 43 || first === 45) {
- third = it.charCodeAt(2);
- if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
- } else if (first === 48) {
- switch (it.charCodeAt(1)) {
- case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i
- case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i
- default: return +it;
- }
- digits = it.slice(2);
- length = digits.length;
- for (index = 0; index < length; index++) {
- code = digits.charCodeAt(index);
- // parseInt parses a string to a first unavailable symbol
- // but ToNumber should return NaN if a string contains unavailable symbols
- if (code < 48 || code > maxCode) return NaN;
- } return parseInt(digits, radix);
- }
- } return +it;
- };
- // `Number` constructor
- // https://tc39.github.io/ecma262/#sec-number-constructor
- if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
- var NumberWrapper = function Number(value) {
- var it = arguments.length < 1 ? 0 : value;
- var dummy = this;
- return dummy instanceof NumberWrapper
- // check on 1..constructor(foo) case
- && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(dummy); }) : classof(dummy) != NUMBER)
- ? inheritIfRequired(new NativeNumber(toNumber(it)), dummy, NumberWrapper) : toNumber(it);
- };
- for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (
- // ES3:
- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
- // ES2015 (in case, if modules with ES2015 Number statics required before):
- 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
- 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
- ).split(','), j = 0, key; keys.length > j; j++) {
- if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {
- defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));
- }
- }
- NumberWrapper.prototype = NumberPrototype;
- NumberPrototype.constructor = NumberWrapper;
- redefine(global, NUMBER, NumberWrapper);
- }
- /***/ }),
- /* 279 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.epsilon.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Number.EPSILON` constant
- // https://tc39.github.io/ecma262/#sec-number.epsilon
- $({ target: 'Number', stat: true }, {
- EPSILON: Math.pow(2, -52)
- });
- /***/ }),
- /* 280 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.is-finite.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ 281);
- // `Number.isFinite` method
- // https://tc39.github.io/ecma262/#sec-number.isfinite
- $({ target: 'Number', stat: true }, { isFinite: numberIsFinite });
- /***/ }),
- /* 281 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/number-is-finite.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var globalIsFinite = global.isFinite;
- // `Number.isFinite` method
- // https://tc39.github.io/ecma262/#sec-number.isfinite
- module.exports = Number.isFinite || function isFinite(it) {
- return typeof it == 'number' && globalIsFinite(it);
- };
- /***/ }),
- /* 282 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.is-integer.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isInteger = __webpack_require__(/*! ../internals/is-integer */ 283);
- // `Number.isInteger` method
- // https://tc39.github.io/ecma262/#sec-number.isinteger
- $({ target: 'Number', stat: true }, {
- isInteger: isInteger
- });
- /***/ }),
- /* 283 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/is-integer.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var floor = Math.floor;
- // `Number.isInteger` method implementation
- // https://tc39.github.io/ecma262/#sec-number.isinteger
- module.exports = function isInteger(it) {
- return !isObject(it) && isFinite(it) && floor(it) === it;
- };
- /***/ }),
- /* 284 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.is-nan.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Number.isNaN` method
- // https://tc39.github.io/ecma262/#sec-number.isnan
- $({ target: 'Number', stat: true }, {
- isNaN: function isNaN(number) {
- // eslint-disable-next-line no-self-compare
- return number != number;
- }
- });
- /***/ }),
- /* 285 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.is-safe-integer.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isInteger = __webpack_require__(/*! ../internals/is-integer */ 283);
- var abs = Math.abs;
- // `Number.isSafeInteger` method
- // https://tc39.github.io/ecma262/#sec-number.issafeinteger
- $({ target: 'Number', stat: true }, {
- isSafeInteger: function isSafeInteger(number) {
- return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF;
- }
- });
- /***/ }),
- /* 286 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.max-safe-integer.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Number.MAX_SAFE_INTEGER` constant
- // https://tc39.github.io/ecma262/#sec-number.max_safe_integer
- $({ target: 'Number', stat: true }, {
- MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF
- });
- /***/ }),
- /* 287 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.min-safe-integer.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Number.MIN_SAFE_INTEGER` constant
- // https://tc39.github.io/ecma262/#sec-number.min_safe_integer
- $({ target: 'Number', stat: true }, {
- MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF
- });
- /***/ }),
- /* 288 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.parse-float.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ 277);
- // `Number.parseFloat` method
- // https://tc39.github.io/ecma262/#sec-number.parseFloat
- $({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, {
- parseFloat: parseFloat
- });
- /***/ }),
- /* 289 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.parse-int.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var parseInt = __webpack_require__(/*! ../internals/number-parse-int */ 275);
- // `Number.parseInt` method
- // https://tc39.github.io/ecma262/#sec-number.parseint
- $({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {
- parseInt: parseInt
- });
- /***/ }),
- /* 290 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.to-fixed.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ 291);
- var repeat = __webpack_require__(/*! ../internals/string-repeat */ 238);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeToFixed = 1.0.toFixed;
- var floor = Math.floor;
- var pow = function (x, n, acc) {
- return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
- };
- var log = function (x) {
- var n = 0;
- var x2 = x;
- while (x2 >= 4096) {
- n += 12;
- x2 /= 4096;
- }
- while (x2 >= 2) {
- n += 1;
- x2 /= 2;
- } return n;
- };
- var FORCED = nativeToFixed && (
- 0.00008.toFixed(3) !== '0.000' ||
- 0.9.toFixed(0) !== '1' ||
- 1.255.toFixed(2) !== '1.25' ||
- 1000000000000000128.0.toFixed(0) !== '1000000000000000128'
- ) || !fails(function () {
- // V8 ~ Android 4.3-
- nativeToFixed.call({});
- });
- // `Number.prototype.toFixed` method
- // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed
- $({ target: 'Number', proto: true, forced: FORCED }, {
- // eslint-disable-next-line max-statements
- toFixed: function toFixed(fractionDigits) {
- var number = thisNumberValue(this);
- var fractDigits = toInteger(fractionDigits);
- var data = [0, 0, 0, 0, 0, 0];
- var sign = '';
- var result = '0';
- var e, z, j, k;
- var multiply = function (n, c) {
- var index = -1;
- var c2 = c;
- while (++index < 6) {
- c2 += n * data[index];
- data[index] = c2 % 1e7;
- c2 = floor(c2 / 1e7);
- }
- };
- var divide = function (n) {
- var index = 6;
- var c = 0;
- while (--index >= 0) {
- c += data[index];
- data[index] = floor(c / n);
- c = (c % n) * 1e7;
- }
- };
- var dataToString = function () {
- var index = 6;
- var s = '';
- while (--index >= 0) {
- if (s !== '' || index === 0 || data[index] !== 0) {
- var t = String(data[index]);
- s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;
- }
- } return s;
- };
- if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits');
- // eslint-disable-next-line no-self-compare
- if (number != number) return 'NaN';
- if (number <= -1e21 || number >= 1e21) return String(number);
- if (number < 0) {
- sign = '-';
- number = -number;
- }
- if (number > 1e-21) {
- e = log(number * pow(2, 69, 1)) - 69;
- z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);
- z *= 0x10000000000000;
- e = 52 - e;
- if (e > 0) {
- multiply(0, z);
- j = fractDigits;
- while (j >= 7) {
- multiply(1e7, 0);
- j -= 7;
- }
- multiply(pow(10, j, 1), 0);
- j = e - 1;
- while (j >= 23) {
- divide(1 << 23);
- j -= 23;
- }
- divide(1 << j);
- multiply(1, 1);
- divide(2);
- result = dataToString();
- } else {
- multiply(0, z);
- multiply(1 << -e, 0);
- result = dataToString() + repeat.call('0', fractDigits);
- }
- }
- if (fractDigits > 0) {
- k = result.length;
- result = sign + (k <= fractDigits
- ? '0.' + repeat.call('0', fractDigits - k) + result
- : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits));
- } else {
- result = sign + result;
- } return result;
- }
- });
- /***/ }),
- /* 291 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/this-number-value.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- // `thisNumberValue` abstract operation
- // https://tc39.github.io/ecma262/#sec-thisnumbervalue
- module.exports = function (value) {
- if (typeof value != 'number' && classof(value) != 'Number') {
- throw TypeError('Incorrect invocation');
- }
- return +value;
- };
- /***/ }),
- /* 292 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.number.to-precision.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var thisNumberValue = __webpack_require__(/*! ../internals/this-number-value */ 291);
- var nativeToPrecision = 1.0.toPrecision;
- var FORCED = fails(function () {
- // IE7-
- return nativeToPrecision.call(1, undefined) !== '1';
- }) || !fails(function () {
- // V8 ~ Android 4.3-
- nativeToPrecision.call({});
- });
- // `Number.prototype.toPrecision` method
- // https://tc39.github.io/ecma262/#sec-number.prototype.toprecision
- $({ target: 'Number', proto: true, forced: FORCED }, {
- toPrecision: function toPrecision(precision) {
- return precision === undefined
- ? nativeToPrecision.call(thisNumberValue(this))
- : nativeToPrecision.call(thisNumberValue(this), precision);
- }
- });
- /***/ }),
- /* 293 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.acosh.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var log1p = __webpack_require__(/*! ../internals/math-log1p */ 294);
- var nativeAcosh = Math.acosh;
- var log = Math.log;
- var sqrt = Math.sqrt;
- var LN2 = Math.LN2;
- var FORCED = !nativeAcosh
- // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
- || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710
- // Tor Browser bug: Math.acosh(Infinity) -> NaN
- || nativeAcosh(Infinity) != Infinity;
- // `Math.acosh` method
- // https://tc39.github.io/ecma262/#sec-math.acosh
- $({ target: 'Math', stat: true, forced: FORCED }, {
- acosh: function acosh(x) {
- return (x = +x) < 1 ? NaN : x > 94906265.62425156
- ? log(x) + LN2
- : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
- }
- });
- /***/ }),
- /* 294 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/math-log1p.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var log = Math.log;
- // `Math.log1p` method implementation
- // https://tc39.github.io/ecma262/#sec-math.log1p
- module.exports = Math.log1p || function log1p(x) {
- return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);
- };
- /***/ }),
- /* 295 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.asinh.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var nativeAsinh = Math.asinh;
- var log = Math.log;
- var sqrt = Math.sqrt;
- function asinh(x) {
- return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));
- }
- // `Math.asinh` method
- // https://tc39.github.io/ecma262/#sec-math.asinh
- // Tor Browser bug: Math.asinh(0) -> -0
- $({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, {
- asinh: asinh
- });
- /***/ }),
- /* 296 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.atanh.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var nativeAtanh = Math.atanh;
- var log = Math.log;
- // `Math.atanh` method
- // https://tc39.github.io/ecma262/#sec-math.atanh
- // Tor Browser bug: Math.atanh(-0) -> 0
- $({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, {
- atanh: function atanh(x) {
- return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;
- }
- });
- /***/ }),
- /* 297 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.cbrt.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var sign = __webpack_require__(/*! ../internals/math-sign */ 298);
- var abs = Math.abs;
- var pow = Math.pow;
- // `Math.cbrt` method
- // https://tc39.github.io/ecma262/#sec-math.cbrt
- $({ target: 'Math', stat: true }, {
- cbrt: function cbrt(x) {
- return sign(x = +x) * pow(abs(x), 1 / 3);
- }
- });
- /***/ }),
- /* 298 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/math-sign.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // `Math.sign` method implementation
- // https://tc39.github.io/ecma262/#sec-math.sign
- module.exports = Math.sign || function sign(x) {
- // eslint-disable-next-line no-self-compare
- return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
- };
- /***/ }),
- /* 299 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.clz32.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var floor = Math.floor;
- var log = Math.log;
- var LOG2E = Math.LOG2E;
- // `Math.clz32` method
- // https://tc39.github.io/ecma262/#sec-math.clz32
- $({ target: 'Math', stat: true }, {
- clz32: function clz32(x) {
- return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;
- }
- });
- /***/ }),
- /* 300 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.cosh.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 301);
- var nativeCosh = Math.cosh;
- var abs = Math.abs;
- var E = Math.E;
- // `Math.cosh` method
- // https://tc39.github.io/ecma262/#sec-math.cosh
- $({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, {
- cosh: function cosh(x) {
- var t = expm1(abs(x) - 1) + 1;
- return (t + 1 / (t * E * E)) * (E / 2);
- }
- });
- /***/ }),
- /* 301 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/math-expm1.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- var nativeExpm1 = Math.expm1;
- var exp = Math.exp;
- // `Math.expm1` method implementation
- // https://tc39.github.io/ecma262/#sec-math.expm1
- module.exports = (!nativeExpm1
- // Old FF bug
- || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168
- // Tor Browser bug
- || nativeExpm1(-2e-17) != -2e-17
- ) ? function expm1(x) {
- return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;
- } : nativeExpm1;
- /***/ }),
- /* 302 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.expm1.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 301);
- // `Math.expm1` method
- // https://tc39.github.io/ecma262/#sec-math.expm1
- $({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 });
- /***/ }),
- /* 303 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.fround.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fround = __webpack_require__(/*! ../internals/math-fround */ 304);
- // `Math.fround` method
- // https://tc39.github.io/ecma262/#sec-math.fround
- $({ target: 'Math', stat: true }, { fround: fround });
- /***/ }),
- /* 304 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/math-fround.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var sign = __webpack_require__(/*! ../internals/math-sign */ 298);
- var abs = Math.abs;
- var pow = Math.pow;
- var EPSILON = pow(2, -52);
- var EPSILON32 = pow(2, -23);
- var MAX32 = pow(2, 127) * (2 - EPSILON32);
- var MIN32 = pow(2, -126);
- var roundTiesToEven = function (n) {
- return n + 1 / EPSILON - 1 / EPSILON;
- };
- // `Math.fround` method implementation
- // https://tc39.github.io/ecma262/#sec-math.fround
- module.exports = Math.fround || function fround(x) {
- var $abs = abs(x);
- var $sign = sign(x);
- var a, result;
- if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
- a = (1 + EPSILON32 / EPSILON) * $abs;
- result = a - (a - $abs);
- // eslint-disable-next-line no-self-compare
- if (result > MAX32 || result != result) return $sign * Infinity;
- return $sign * result;
- };
- /***/ }),
- /* 305 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.hypot.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $hypot = Math.hypot;
- var abs = Math.abs;
- var sqrt = Math.sqrt;
- // Chrome 77 bug
- // https://bugs.chromium.org/p/v8/issues/detail?id=9546
- var BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;
- // `Math.hypot` method
- // https://tc39.github.io/ecma262/#sec-math.hypot
- $({ target: 'Math', stat: true, forced: BUGGY }, {
- hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
- var sum = 0;
- var i = 0;
- var aLen = arguments.length;
- var larg = 0;
- var arg, div;
- while (i < aLen) {
- arg = abs(arguments[i++]);
- if (larg < arg) {
- div = larg / arg;
- sum = sum * div * div + 1;
- larg = arg;
- } else if (arg > 0) {
- div = arg / larg;
- sum += div * div;
- } else sum += arg;
- }
- return larg === Infinity ? Infinity : larg * sqrt(sum);
- }
- });
- /***/ }),
- /* 306 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.imul.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeImul = Math.imul;
- var FORCED = fails(function () {
- return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2;
- });
- // `Math.imul` method
- // https://tc39.github.io/ecma262/#sec-math.imul
- // some WebKit versions fails with big numbers, some has wrong arity
- $({ target: 'Math', stat: true, forced: FORCED }, {
- imul: function imul(x, y) {
- var UINT16 = 0xFFFF;
- var xn = +x;
- var yn = +y;
- var xl = UINT16 & xn;
- var yl = UINT16 & yn;
- return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
- }
- });
- /***/ }),
- /* 307 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.log10.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var log = Math.log;
- var LOG10E = Math.LOG10E;
- // `Math.log10` method
- // https://tc39.github.io/ecma262/#sec-math.log10
- $({ target: 'Math', stat: true }, {
- log10: function log10(x) {
- return log(x) * LOG10E;
- }
- });
- /***/ }),
- /* 308 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.log1p.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var log1p = __webpack_require__(/*! ../internals/math-log1p */ 294);
- // `Math.log1p` method
- // https://tc39.github.io/ecma262/#sec-math.log1p
- $({ target: 'Math', stat: true }, { log1p: log1p });
- /***/ }),
- /* 309 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.log2.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var log = Math.log;
- var LN2 = Math.LN2;
- // `Math.log2` method
- // https://tc39.github.io/ecma262/#sec-math.log2
- $({ target: 'Math', stat: true }, {
- log2: function log2(x) {
- return log(x) / LN2;
- }
- });
- /***/ }),
- /* 310 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.sign.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var sign = __webpack_require__(/*! ../internals/math-sign */ 298);
- // `Math.sign` method
- // https://tc39.github.io/ecma262/#sec-math.sign
- $({ target: 'Math', stat: true }, {
- sign: sign
- });
- /***/ }),
- /* 311 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.sinh.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 301);
- var abs = Math.abs;
- var exp = Math.exp;
- var E = Math.E;
- var FORCED = fails(function () {
- return Math.sinh(-2e-17) != -2e-17;
- });
- // `Math.sinh` method
- // https://tc39.github.io/ecma262/#sec-math.sinh
- // V8 near Chromium 38 has a problem with very small numbers
- $({ target: 'Math', stat: true, forced: FORCED }, {
- sinh: function sinh(x) {
- return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);
- }
- });
- /***/ }),
- /* 312 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.tanh.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 301);
- var exp = Math.exp;
- // `Math.tanh` method
- // https://tc39.github.io/ecma262/#sec-math.tanh
- $({ target: 'Math', stat: true }, {
- tanh: function tanh(x) {
- var a = expm1(x = +x);
- var b = expm1(-x);
- return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
- }
- });
- /***/ }),
- /* 313 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.to-string-tag.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- // Math[@@toStringTag] property
- // https://tc39.github.io/ecma262/#sec-math-@@tostringtag
- setToStringTag(Math, 'Math', true);
- /***/ }),
- /* 314 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/es.math.trunc.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ceil = Math.ceil;
- var floor = Math.floor;
- // `Math.trunc` method
- // https://tc39.github.io/ecma262/#sec-math.trunc
- $({ target: 'Math', stat: true }, {
- trunc: function trunc(it) {
- return (it > 0 ? floor : ceil)(it);
- }
- });
- /***/ }),
- /* 315 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/modules/es.date.now.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Date.now` method
- // https://tc39.github.io/ecma262/#sec-date.now
- $({ target: 'Date', stat: true }, {
- now: function now() {
- return new Date().getTime();
- }
- });
- /***/ }),
- /* 316 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/es.date.to-json.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var FORCED = fails(function () {
- return new Date(NaN).toJSON() !== null
- || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
- });
- // `Date.prototype.toJSON` method
- // https://tc39.github.io/ecma262/#sec-date.prototype.tojson
- $({ target: 'Date', proto: true, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars
- toJSON: function toJSON(key) {
- var O = toObject(this);
- var pv = toPrimitive(O);
- return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
- }
- });
- /***/ }),
- /* 317 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.date.to-iso-string.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toISOString = __webpack_require__(/*! ../internals/date-to-iso-string */ 318);
- // `Date.prototype.toISOString` method
- // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring
- // PhantomJS / old WebKit has a broken implementations
- $({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, {
- toISOString: toISOString
- });
- /***/ }),
- /* 318 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/date-to-iso-string.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var padStart = __webpack_require__(/*! ../internals/string-pad */ 237).start;
- var abs = Math.abs;
- var DatePrototype = Date.prototype;
- var getTime = DatePrototype.getTime;
- var nativeDateToISOString = DatePrototype.toISOString;
- // `Date.prototype.toISOString` method implementation
- // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring
- // PhantomJS / old WebKit fails here:
- module.exports = (fails(function () {
- return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
- }) || !fails(function () {
- nativeDateToISOString.call(new Date(NaN));
- })) ? function toISOString() {
- if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
- var date = this;
- var year = date.getUTCFullYear();
- var milliseconds = date.getUTCMilliseconds();
- var sign = year < 0 ? '-' : year > 9999 ? '+' : '';
- return sign + padStart(abs(year), sign ? 6 : 4, 0) +
- '-' + padStart(date.getUTCMonth() + 1, 2, 0) +
- '-' + padStart(date.getUTCDate(), 2, 0) +
- 'T' + padStart(date.getUTCHours(), 2, 0) +
- ':' + padStart(date.getUTCMinutes(), 2, 0) +
- ':' + padStart(date.getUTCSeconds(), 2, 0) +
- '.' + padStart(milliseconds, 3, 0) +
- 'Z';
- } : nativeDateToISOString;
- /***/ }),
- /* 319 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.date.to-string.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var DatePrototype = Date.prototype;
- var INVALID_DATE = 'Invalid Date';
- var TO_STRING = 'toString';
- var nativeDateToString = DatePrototype[TO_STRING];
- var getTime = DatePrototype.getTime;
- // `Date.prototype.toString` method
- // https://tc39.github.io/ecma262/#sec-date.prototype.tostring
- if (new Date(NaN) + '' != INVALID_DATE) {
- redefine(DatePrototype, TO_STRING, function toString() {
- var value = getTime.call(this);
- // eslint-disable-next-line no-self-compare
- return value === value ? nativeDateToString.call(this) : INVALID_DATE;
- });
- }
- /***/ }),
- /* 320 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.date.to-primitive.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var dateToPrimitive = __webpack_require__(/*! ../internals/date-to-primitive */ 321);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
- var DatePrototype = Date.prototype;
- // `Date.prototype[@@toPrimitive]` method
- // https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive
- if (!(TO_PRIMITIVE in DatePrototype)) {
- createNonEnumerableProperty(DatePrototype, TO_PRIMITIVE, dateToPrimitive);
- }
- /***/ }),
- /* 321 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/date-to-primitive.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- module.exports = function (hint) {
- if (hint !== 'string' && hint !== 'number' && hint !== 'default') {
- throw TypeError('Incorrect hint');
- } return toPrimitive(anObject(this), hint !== 'number');
- };
- /***/ }),
- /* 322 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.json.stringify.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var $stringify = getBuiltIn('JSON', 'stringify');
- var re = /[\uD800-\uDFFF]/g;
- var low = /^[\uD800-\uDBFF]$/;
- var hi = /^[\uDC00-\uDFFF]$/;
- var fix = function (match, offset, string) {
- var prev = string.charAt(offset - 1);
- var next = string.charAt(offset + 1);
- if ((low.test(match) && !hi.test(next)) || (hi.test(match) && !low.test(prev))) {
- return '\\u' + match.charCodeAt(0).toString(16);
- } return match;
- };
- var FORCED = fails(function () {
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
- || $stringify('\uDEAD') !== '"\\udead"';
- });
- if ($stringify) {
- // https://github.com/tc39/proposal-well-formed-stringify
- $({ target: 'JSON', stat: true, forced: FORCED }, {
- // eslint-disable-next-line no-unused-vars
- stringify: function stringify(it, replacer, space) {
- var result = $stringify.apply(null, arguments);
- return typeof result == 'string' ? result.replace(re, fix) : result;
- }
- });
- }
- /***/ }),
- /* 323 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.json.to-string-tag.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- // JSON[@@toStringTag] property
- // https://tc39.github.io/ecma262/#sec-json-@@tostringtag
- setToStringTag(global.JSON, 'JSON', true);
- /***/ }),
- /* 324 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/modules/es.promise.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var NativePromise = __webpack_require__(/*! ../internals/native-promise-constructor */ 325);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 68);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 172);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var task = __webpack_require__(/*! ../internals/task */ 328).set;
- var microtask = __webpack_require__(/*! ../internals/microtask */ 330);
- var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 331);
- var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ 333);
- var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 332);
- var perform = __webpack_require__(/*! ../internals/perform */ 334);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var isForced = __webpack_require__(/*! ../internals/is-forced */ 89);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 177);
- var SPECIES = wellKnownSymbol('species');
- var PROMISE = 'Promise';
- var getInternalState = InternalStateModule.get;
- var setInternalState = InternalStateModule.set;
- var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
- var PromiseConstructor = NativePromise;
- var TypeError = global.TypeError;
- var document = global.document;
- var process = global.process;
- var $fetch = getBuiltIn('fetch');
- var newPromiseCapability = newPromiseCapabilityModule.f;
- var newGenericPromiseCapability = newPromiseCapability;
- var IS_NODE = classof(process) == 'process';
- var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
- var UNHANDLED_REJECTION = 'unhandledrejection';
- var REJECTION_HANDLED = 'rejectionhandled';
- var PENDING = 0;
- var FULFILLED = 1;
- var REJECTED = 2;
- var HANDLED = 1;
- var UNHANDLED = 2;
- var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
- var FORCED = isForced(PROMISE, function () {
- var GLOBAL_CORE_JS_PROMISE = inspectSource(PromiseConstructor) !== String(PromiseConstructor);
- if (!GLOBAL_CORE_JS_PROMISE) {
- // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
- // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
- // We can't detect it synchronously, so just check versions
- if (V8_VERSION === 66) return true;
- // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
- if (!IS_NODE && typeof PromiseRejectionEvent != 'function') return true;
- }
- // We need Promise#finally in the pure version for preventing prototype pollution
- if (IS_PURE && !PromiseConstructor.prototype['finally']) return true;
- // We can't use @@species feature detection in V8 since it causes
- // deoptimization and performance degradation
- // https://github.com/zloirock/core-js/issues/679
- if (V8_VERSION >= 51 && /native code/.test(PromiseConstructor)) return false;
- // Detect correctness of subclassing with @@species support
- var promise = PromiseConstructor.resolve(1);
- var FakePromise = function (exec) {
- exec(function () { /* empty */ }, function () { /* empty */ });
- };
- var constructor = promise.constructor = {};
- constructor[SPECIES] = FakePromise;
- return !(promise.then(function () { /* empty */ }) instanceof FakePromise);
- });
- var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
- PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
- });
- // helpers
- var isThenable = function (it) {
- var then;
- return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
- };
- var notify = function (promise, state, isReject) {
- if (state.notified) return;
- state.notified = true;
- var chain = state.reactions;
- microtask(function () {
- var value = state.value;
- var ok = state.state == FULFILLED;
- var index = 0;
- // variable length - can't use forEach
- while (chain.length > index) {
- var reaction = chain[index++];
- var handler = ok ? reaction.ok : reaction.fail;
- var resolve = reaction.resolve;
- var reject = reaction.reject;
- var domain = reaction.domain;
- var result, then, exited;
- try {
- if (handler) {
- if (!ok) {
- if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);
- state.rejection = HANDLED;
- }
- if (handler === true) result = value;
- else {
- if (domain) domain.enter();
- result = handler(value); // can throw
- if (domain) {
- domain.exit();
- exited = true;
- }
- }
- if (result === reaction.promise) {
- reject(TypeError('Promise-chain cycle'));
- } else if (then = isThenable(result)) {
- then.call(result, resolve, reject);
- } else resolve(result);
- } else reject(value);
- } catch (error) {
- if (domain && !exited) domain.exit();
- reject(error);
- }
- }
- state.reactions = [];
- state.notified = false;
- if (isReject && !state.rejection) onUnhandled(promise, state);
- });
- };
- var dispatchEvent = function (name, promise, reason) {
- var event, handler;
- if (DISPATCH_EVENT) {
- event = document.createEvent('Event');
- event.promise = promise;
- event.reason = reason;
- event.initEvent(name, false, true);
- global.dispatchEvent(event);
- } else event = { promise: promise, reason: reason };
- if (handler = global['on' + name]) handler(event);
- else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
- };
- var onUnhandled = function (promise, state) {
- task.call(global, function () {
- var value = state.value;
- var IS_UNHANDLED = isUnhandled(state);
- var result;
- if (IS_UNHANDLED) {
- result = perform(function () {
- if (IS_NODE) {
- process.emit('unhandledRejection', value, promise);
- } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
- });
- // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
- state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
- if (result.error) throw result.value;
- }
- });
- };
- var isUnhandled = function (state) {
- return state.rejection !== HANDLED && !state.parent;
- };
- var onHandleUnhandled = function (promise, state) {
- task.call(global, function () {
- if (IS_NODE) {
- process.emit('rejectionHandled', promise);
- } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
- });
- };
- var bind = function (fn, promise, state, unwrap) {
- return function (value) {
- fn(promise, state, value, unwrap);
- };
- };
- var internalReject = function (promise, state, value, unwrap) {
- if (state.done) return;
- state.done = true;
- if (unwrap) state = unwrap;
- state.value = value;
- state.state = REJECTED;
- notify(promise, state, true);
- };
- var internalResolve = function (promise, state, value, unwrap) {
- if (state.done) return;
- state.done = true;
- if (unwrap) state = unwrap;
- try {
- if (promise === value) throw TypeError("Promise can't be resolved itself");
- var then = isThenable(value);
- if (then) {
- microtask(function () {
- var wrapper = { done: false };
- try {
- then.call(value,
- bind(internalResolve, promise, wrapper, state),
- bind(internalReject, promise, wrapper, state)
- );
- } catch (error) {
- internalReject(promise, wrapper, error, state);
- }
- });
- } else {
- state.value = value;
- state.state = FULFILLED;
- notify(promise, state, false);
- }
- } catch (error) {
- internalReject(promise, { done: false }, error, state);
- }
- };
- // constructor polyfill
- if (FORCED) {
- // 25.4.3.1 Promise(executor)
- PromiseConstructor = function Promise(executor) {
- anInstance(this, PromiseConstructor, PROMISE);
- aFunction(executor);
- Internal.call(this);
- var state = getInternalState(this);
- try {
- executor(bind(internalResolve, this, state), bind(internalReject, this, state));
- } catch (error) {
- internalReject(this, state, error);
- }
- };
- // eslint-disable-next-line no-unused-vars
- Internal = function Promise(executor) {
- setInternalState(this, {
- type: PROMISE,
- done: false,
- notified: false,
- parent: false,
- reactions: [],
- rejection: false,
- state: PENDING,
- value: undefined
- });
- };
- Internal.prototype = redefineAll(PromiseConstructor.prototype, {
- // `Promise.prototype.then` method
- // https://tc39.github.io/ecma262/#sec-promise.prototype.then
- then: function then(onFulfilled, onRejected) {
- var state = getInternalPromiseState(this);
- var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
- reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
- reaction.fail = typeof onRejected == 'function' && onRejected;
- reaction.domain = IS_NODE ? process.domain : undefined;
- state.parent = true;
- state.reactions.push(reaction);
- if (state.state != PENDING) notify(this, state, false);
- return reaction.promise;
- },
- // `Promise.prototype.catch` method
- // https://tc39.github.io/ecma262/#sec-promise.prototype.catch
- 'catch': function (onRejected) {
- return this.then(undefined, onRejected);
- }
- });
- OwnPromiseCapability = function () {
- var promise = new Internal();
- var state = getInternalState(promise);
- this.promise = promise;
- this.resolve = bind(internalResolve, promise, state);
- this.reject = bind(internalReject, promise, state);
- };
- newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
- return C === PromiseConstructor || C === PromiseWrapper
- ? new OwnPromiseCapability(C)
- : newGenericPromiseCapability(C);
- };
- if (!IS_PURE && typeof NativePromise == 'function') {
- nativeThen = NativePromise.prototype.then;
- // wrap native Promise#then for native async functions
- redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {
- var that = this;
- return new PromiseConstructor(function (resolve, reject) {
- nativeThen.call(that, resolve, reject);
- }).then(onFulfilled, onRejected);
- // https://github.com/zloirock/core-js/issues/640
- }, { unsafe: true });
- // wrap fetch result
- if (typeof $fetch == 'function') $({ global: true, enumerable: true, forced: true }, {
- // eslint-disable-next-line no-unused-vars
- fetch: function fetch(input /* , init */) {
- return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));
- }
- });
- }
- }
- $({ global: true, wrap: true, forced: FORCED }, {
- Promise: PromiseConstructor
- });
- setToStringTag(PromiseConstructor, PROMISE, false, true);
- setSpecies(PROMISE);
- PromiseWrapper = getBuiltIn(PROMISE);
- // statics
- $({ target: PROMISE, stat: true, forced: FORCED }, {
- // `Promise.reject` method
- // https://tc39.github.io/ecma262/#sec-promise.reject
- reject: function reject(r) {
- var capability = newPromiseCapability(this);
- capability.reject.call(undefined, r);
- return capability.promise;
- }
- });
- $({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
- // `Promise.resolve` method
- // https://tc39.github.io/ecma262/#sec-promise.resolve
- resolve: function resolve(x) {
- return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
- }
- });
- $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
- // `Promise.all` method
- // https://tc39.github.io/ecma262/#sec-promise.all
- all: function all(iterable) {
- var C = this;
- var capability = newPromiseCapability(C);
- var resolve = capability.resolve;
- var reject = capability.reject;
- var result = perform(function () {
- var $promiseResolve = aFunction(C.resolve);
- var values = [];
- var counter = 0;
- var remaining = 1;
- iterate(iterable, function (promise) {
- var index = counter++;
- var alreadyCalled = false;
- values.push(undefined);
- remaining++;
- $promiseResolve.call(C, promise).then(function (value) {
- if (alreadyCalled) return;
- alreadyCalled = true;
- values[index] = value;
- --remaining || resolve(values);
- }, reject);
- });
- --remaining || resolve(values);
- });
- if (result.error) reject(result.value);
- return capability.promise;
- },
- // `Promise.race` method
- // https://tc39.github.io/ecma262/#sec-promise.race
- race: function race(iterable) {
- var C = this;
- var capability = newPromiseCapability(C);
- var reject = capability.reject;
- var result = perform(function () {
- var $promiseResolve = aFunction(C.resolve);
- iterate(iterable, function (promise) {
- $promiseResolve.call(C, promise).then(capability.resolve, reject);
- });
- });
- if (result.error) reject(result.value);
- return capability.promise;
- }
- });
- /***/ }),
- /* 325 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/internals/native-promise-constructor.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- module.exports = global.Promise;
- /***/ }),
- /* 326 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/redefine-all.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- module.exports = function (target, src, options) {
- for (var key in src) redefine(target, key, src[key], options);
- return target;
- };
- /***/ }),
- /* 327 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/internals/an-instance.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (it, Constructor, name) {
- if (!(it instanceof Constructor)) {
- throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');
- } return it;
- };
- /***/ }),
- /* 328 */
- /*!************************************************!*\
- !*** ./node_modules/core-js/internals/task.js ***!
- \************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var html = __webpack_require__(/*! ../internals/html */ 97);
- var createElement = __webpack_require__(/*! ../internals/document-create-element */ 62);
- var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 329);
- var location = global.location;
- var set = global.setImmediate;
- var clear = global.clearImmediate;
- var process = global.process;
- var MessageChannel = global.MessageChannel;
- var Dispatch = global.Dispatch;
- var counter = 0;
- var queue = {};
- var ONREADYSTATECHANGE = 'onreadystatechange';
- var defer, channel, port;
- var run = function (id) {
- // eslint-disable-next-line no-prototype-builtins
- if (queue.hasOwnProperty(id)) {
- var fn = queue[id];
- delete queue[id];
- fn();
- }
- };
- var runner = function (id) {
- return function () {
- run(id);
- };
- };
- var listener = function (event) {
- run(event.data);
- };
- var post = function (id) {
- // old engines have not location.origin
- global.postMessage(id + '', location.protocol + '//' + location.host);
- };
- // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
- if (!set || !clear) {
- set = function setImmediate(fn) {
- var args = [];
- var i = 1;
- while (arguments.length > i) args.push(arguments[i++]);
- queue[++counter] = function () {
- // eslint-disable-next-line no-new-func
- (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args);
- };
- defer(counter);
- return counter;
- };
- clear = function clearImmediate(id) {
- delete queue[id];
- };
- // Node.js 0.8-
- if (classof(process) == 'process') {
- defer = function (id) {
- process.nextTick(runner(id));
- };
- // Sphere (JS game engine) Dispatch API
- } else if (Dispatch && Dispatch.now) {
- defer = function (id) {
- Dispatch.now(runner(id));
- };
- // Browsers with MessageChannel, includes WebWorkers
- // except iOS - https://github.com/zloirock/core-js/issues/624
- } else if (MessageChannel && !IS_IOS) {
- channel = new MessageChannel();
- port = channel.port2;
- channel.port1.onmessage = listener;
- defer = bind(port.postMessage, port, 1);
- // Browsers with postMessage, skip WebWorkers
- // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
- } else if (
- global.addEventListener &&
- typeof postMessage == 'function' &&
- !global.importScripts &&
- !fails(post) &&
- location.protocol !== 'file:'
- ) {
- defer = post;
- global.addEventListener('message', listener, false);
- // IE8-
- } else if (ONREADYSTATECHANGE in createElement('script')) {
- defer = function (id) {
- html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
- html.removeChild(this);
- run(id);
- };
- };
- // Rest old browsers
- } else {
- defer = function (id) {
- setTimeout(runner(id), 0);
- };
- }
- }
- module.exports = {
- set: set,
- clear: clear
- };
- /***/ }),
- /* 329 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/engine-is-ios.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 178);
- module.exports = /(iphone|ipod|ipad).*applewebkit/i.test(userAgent);
- /***/ }),
- /* 330 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/microtask.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var macrotask = __webpack_require__(/*! ../internals/task */ 328).set;
- var IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 329);
- var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
- var process = global.process;
- var Promise = global.Promise;
- var IS_NODE = classof(process) == 'process';
- // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
- var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
- var flush, head, last, notify, toggle, node, promise, then;
- // modern engines have queueMicrotask method
- if (!queueMicrotask) {
- flush = function () {
- var parent, fn;
- if (IS_NODE && (parent = process.domain)) parent.exit();
- while (head) {
- fn = head.fn;
- head = head.next;
- try {
- fn();
- } catch (error) {
- if (head) notify();
- else last = undefined;
- throw error;
- }
- } last = undefined;
- if (parent) parent.enter();
- };
- // Node.js
- if (IS_NODE) {
- notify = function () {
- process.nextTick(flush);
- };
- // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
- } else if (MutationObserver && !IS_IOS) {
- toggle = true;
- node = document.createTextNode('');
- new MutationObserver(flush).observe(node, { characterData: true });
- notify = function () {
- node.data = toggle = !toggle;
- };
- // environments with maybe non-completely correct, but existent Promise
- } else if (Promise && Promise.resolve) {
- // Promise.resolve without an argument throws an error in LG WebOS 2
- promise = Promise.resolve(undefined);
- then = promise.then;
- notify = function () {
- then.call(promise, flush);
- };
- // for other environments - macrotask based on:
- // - setImmediate
- // - MessageChannel
- // - window.postMessag
- // - onreadystatechange
- // - setTimeout
- } else {
- notify = function () {
- // strange IE + webpack dev server bug - use .call(global)
- macrotask.call(global, flush);
- };
- }
- }
- module.exports = queueMicrotask || function (fn) {
- var task = { fn: fn, next: undefined };
- if (last) last.next = task;
- if (!head) {
- head = task;
- notify();
- } last = task;
- };
- /***/ }),
- /* 331 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/promise-resolve.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ 332);
- module.exports = function (C, x) {
- anObject(C);
- if (isObject(x) && x.constructor === C) return x;
- var promiseCapability = newPromiseCapability.f(C);
- var resolve = promiseCapability.resolve;
- resolve(x);
- return promiseCapability.promise;
- };
- /***/ }),
- /* 332 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/internals/new-promise-capability.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var PromiseCapability = function (C) {
- var resolve, reject;
- this.promise = new C(function ($$resolve, $$reject) {
- if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
- resolve = $$resolve;
- reject = $$reject;
- });
- this.resolve = aFunction(resolve);
- this.reject = aFunction(reject);
- };
- // 25.4.1.5 NewPromiseCapability(C)
- module.exports.f = function (C) {
- return new PromiseCapability(C);
- };
- /***/ }),
- /* 333 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/host-report-errors.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- module.exports = function (a, b) {
- var console = global.console;
- if (console && console.error) {
- arguments.length === 1 ? console.error(a) : console.error(a, b);
- }
- };
- /***/ }),
- /* 334 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/internals/perform.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = function (exec) {
- try {
- return { error: false, value: exec() };
- } catch (error) {
- return { error: true, value: error };
- }
- };
- /***/ }),
- /* 335 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.promise.all-settled.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 332);
- var perform = __webpack_require__(/*! ../internals/perform */ 334);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Promise.allSettled` method
- // https://github.com/tc39/proposal-promise-allSettled
- $({ target: 'Promise', stat: true }, {
- allSettled: function allSettled(iterable) {
- var C = this;
- var capability = newPromiseCapabilityModule.f(C);
- var resolve = capability.resolve;
- var reject = capability.reject;
- var result = perform(function () {
- var promiseResolve = aFunction(C.resolve);
- var values = [];
- var counter = 0;
- var remaining = 1;
- iterate(iterable, function (promise) {
- var index = counter++;
- var alreadyCalled = false;
- values.push(undefined);
- remaining++;
- promiseResolve.call(C, promise).then(function (value) {
- if (alreadyCalled) return;
- alreadyCalled = true;
- values[index] = { status: 'fulfilled', value: value };
- --remaining || resolve(values);
- }, function (e) {
- if (alreadyCalled) return;
- alreadyCalled = true;
- values[index] = { status: 'rejected', reason: e };
- --remaining || resolve(values);
- });
- });
- --remaining || resolve(values);
- });
- if (result.error) reject(result.value);
- return capability.promise;
- }
- });
- /***/ }),
- /* 336 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.promise.finally.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var NativePromise = __webpack_require__(/*! ../internals/native-promise-constructor */ 325);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 331);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829
- var NON_GENERIC = !!NativePromise && fails(function () {
- NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });
- });
- // `Promise.prototype.finally` method
- // https://tc39.github.io/ecma262/#sec-promise.prototype.finally
- $({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
- 'finally': function (onFinally) {
- var C = speciesConstructor(this, getBuiltIn('Promise'));
- var isFunction = typeof onFinally == 'function';
- return this.then(
- isFunction ? function (x) {
- return promiseResolve(C, onFinally()).then(function () { return x; });
- } : onFinally,
- isFunction ? function (e) {
- return promiseResolve(C, onFinally()).then(function () { throw e; });
- } : onFinally
- );
- }
- });
- // patch native Promise.prototype for native async functions
- if (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {
- redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);
- }
- /***/ }),
- /* 337 */
- /*!************************************************!*\
- !*** ./node_modules/core-js/modules/es.map.js ***!
- \************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var collection = __webpack_require__(/*! ../internals/collection */ 338);
- var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 339);
- // `Map` constructor
- // https://tc39.github.io/ecma262/#sec-map-objects
- module.exports = collection('Map', function (init) {
- return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
- }, collectionStrong);
- /***/ }),
- /* 338 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/collection.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isForced = __webpack_require__(/*! ../internals/is-forced */ 89);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ 130);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 172);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 269);
- module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
- var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
- var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
- var ADDER = IS_MAP ? 'set' : 'add';
- var NativeConstructor = global[CONSTRUCTOR_NAME];
- var NativePrototype = NativeConstructor && NativeConstructor.prototype;
- var Constructor = NativeConstructor;
- var exported = {};
- var fixMethod = function (KEY) {
- var nativeMethod = NativePrototype[KEY];
- redefine(NativePrototype, KEY,
- KEY == 'add' ? function add(value) {
- nativeMethod.call(this, value === 0 ? 0 : value);
- return this;
- } : KEY == 'delete' ? function (key) {
- return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
- } : KEY == 'get' ? function get(key) {
- return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);
- } : KEY == 'has' ? function has(key) {
- return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);
- } : function set(key, value) {
- nativeMethod.call(this, key === 0 ? 0 : key, value);
- return this;
- }
- );
- };
- // eslint-disable-next-line max-len
- if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
- new NativeConstructor().entries().next();
- })))) {
- // create collection constructor
- Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
- InternalMetadataModule.REQUIRED = true;
- } else if (isForced(CONSTRUCTOR_NAME, true)) {
- var instance = new Constructor();
- // early implementations not supports chaining
- var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
- // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
- var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
- // most early implementations doesn't supports iterables, most modern - not close it correctly
- // eslint-disable-next-line no-new
- var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
- // for early implementations -0 and +0 not the same
- var BUGGY_ZERO = !IS_WEAK && fails(function () {
- // V8 ~ Chromium 42- fails only with 5+ elements
- var $instance = new NativeConstructor();
- var index = 5;
- while (index--) $instance[ADDER](index, index);
- return !$instance.has(-0);
- });
- if (!ACCEPT_ITERABLES) {
- Constructor = wrapper(function (dummy, iterable) {
- anInstance(dummy, Constructor, CONSTRUCTOR_NAME);
- var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
- if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);
- return that;
- });
- Constructor.prototype = NativePrototype;
- NativePrototype.constructor = Constructor;
- }
- if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
- fixMethod('delete');
- fixMethod('has');
- IS_MAP && fixMethod('get');
- }
- if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
- // weak collections should not contains .clear method
- if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
- }
- exported[CONSTRUCTOR_NAME] = Constructor;
- $({ global: true, forced: Constructor != NativeConstructor }, exported);
- setToStringTag(Constructor, CONSTRUCTOR_NAME);
- if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
- return Constructor;
- };
- /***/ }),
- /* 339 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/internals/collection-strong.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var defineIterator = __webpack_require__(/*! ../internals/define-iterator */ 214);
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var fastKey = __webpack_require__(/*! ../internals/internal-metadata */ 130).fastKey;
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var setInternalState = InternalStateModule.set;
- var internalStateGetterFor = InternalStateModule.getterFor;
- module.exports = {
- getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
- var C = wrapper(function (that, iterable) {
- anInstance(that, C, CONSTRUCTOR_NAME);
- setInternalState(that, {
- type: CONSTRUCTOR_NAME,
- index: create(null),
- first: undefined,
- last: undefined,
- size: 0
- });
- if (!DESCRIPTORS) that.size = 0;
- if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);
- });
- var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
- var define = function (that, key, value) {
- var state = getInternalState(that);
- var entry = getEntry(that, key);
- var previous, index;
- // change existing entry
- if (entry) {
- entry.value = value;
- // create new entry
- } else {
- state.last = entry = {
- index: index = fastKey(key, true),
- key: key,
- value: value,
- previous: previous = state.last,
- next: undefined,
- removed: false
- };
- if (!state.first) state.first = entry;
- if (previous) previous.next = entry;
- if (DESCRIPTORS) state.size++;
- else that.size++;
- // add to index
- if (index !== 'F') state.index[index] = entry;
- } return that;
- };
- var getEntry = function (that, key) {
- var state = getInternalState(that);
- // fast case
- var index = fastKey(key);
- var entry;
- if (index !== 'F') return state.index[index];
- // frozen object case
- for (entry = state.first; entry; entry = entry.next) {
- if (entry.key == key) return entry;
- }
- };
- redefineAll(C.prototype, {
- // 23.1.3.1 Map.prototype.clear()
- // 23.2.3.2 Set.prototype.clear()
- clear: function clear() {
- var that = this;
- var state = getInternalState(that);
- var data = state.index;
- var entry = state.first;
- while (entry) {
- entry.removed = true;
- if (entry.previous) entry.previous = entry.previous.next = undefined;
- delete data[entry.index];
- entry = entry.next;
- }
- state.first = state.last = undefined;
- if (DESCRIPTORS) state.size = 0;
- else that.size = 0;
- },
- // 23.1.3.3 Map.prototype.delete(key)
- // 23.2.3.4 Set.prototype.delete(value)
- 'delete': function (key) {
- var that = this;
- var state = getInternalState(that);
- var entry = getEntry(that, key);
- if (entry) {
- var next = entry.next;
- var prev = entry.previous;
- delete state.index[entry.index];
- entry.removed = true;
- if (prev) prev.next = next;
- if (next) next.previous = prev;
- if (state.first == entry) state.first = next;
- if (state.last == entry) state.last = prev;
- if (DESCRIPTORS) state.size--;
- else that.size--;
- } return !!entry;
- },
- // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
- // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
- forEach: function forEach(callbackfn /* , that = undefined */) {
- var state = getInternalState(this);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var entry;
- while (entry = entry ? entry.next : state.first) {
- boundFunction(entry.value, entry.key, this);
- // revert to the last existing entry
- while (entry && entry.removed) entry = entry.previous;
- }
- },
- // 23.1.3.7 Map.prototype.has(key)
- // 23.2.3.7 Set.prototype.has(value)
- has: function has(key) {
- return !!getEntry(this, key);
- }
- });
- redefineAll(C.prototype, IS_MAP ? {
- // 23.1.3.6 Map.prototype.get(key)
- get: function get(key) {
- var entry = getEntry(this, key);
- return entry && entry.value;
- },
- // 23.1.3.9 Map.prototype.set(key, value)
- set: function set(key, value) {
- return define(this, key === 0 ? 0 : key, value);
- }
- } : {
- // 23.2.3.1 Set.prototype.add(value)
- add: function add(value) {
- return define(this, value = value === 0 ? 0 : value, value);
- }
- });
- if (DESCRIPTORS) defineProperty(C.prototype, 'size', {
- get: function () {
- return getInternalState(this).size;
- }
- });
- return C;
- },
- setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) {
- var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
- var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
- var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
- // add .keys, .values, .entries, [@@iterator]
- // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
- defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) {
- setInternalState(this, {
- type: ITERATOR_NAME,
- target: iterated,
- state: getInternalCollectionState(iterated),
- kind: kind,
- last: undefined
- });
- }, function () {
- var state = getInternalIteratorState(this);
- var kind = state.kind;
- var entry = state.last;
- // revert to the last existing entry
- while (entry && entry.removed) entry = entry.previous;
- // get next entry
- if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
- // or finish the iteration
- state.target = undefined;
- return { value: undefined, done: true };
- }
- // return step by kind
- if (kind == 'keys') return { value: entry.key, done: false };
- if (kind == 'values') return { value: entry.value, done: false };
- return { value: [entry.key, entry.value], done: false };
- }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
- // add [@@species], 23.1.2.2, 23.2.2.2
- setSpecies(CONSTRUCTOR_NAME);
- }
- };
- /***/ }),
- /* 340 */
- /*!************************************************!*\
- !*** ./node_modules/core-js/modules/es.set.js ***!
- \************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var collection = __webpack_require__(/*! ../internals/collection */ 338);
- var collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 339);
- // `Set` constructor
- // https://tc39.github.io/ecma262/#sec-set-objects
- module.exports = collection('Set', function (init) {
- return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
- }, collectionStrong);
- /***/ }),
- /* 341 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/modules/es.weak-map.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ 130);
- var collection = __webpack_require__(/*! ../internals/collection */ 338);
- var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ 342);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var enforceIternalState = __webpack_require__(/*! ../internals/internal-state */ 70).enforce;
- var NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ 71);
- var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
- var isExtensible = Object.isExtensible;
- var InternalWeakMap;
- var wrapper = function (init) {
- return function WeakMap() {
- return init(this, arguments.length ? arguments[0] : undefined);
- };
- };
- // `WeakMap` constructor
- // https://tc39.github.io/ecma262/#sec-weakmap-constructor
- var $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);
- // IE11 WeakMap frozen keys fix
- // We can't use feature detection because it crash some old IE builds
- // https://github.com/zloirock/core-js/issues/485
- if (NATIVE_WEAK_MAP && IS_IE11) {
- InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
- InternalMetadataModule.REQUIRED = true;
- var WeakMapPrototype = $WeakMap.prototype;
- var nativeDelete = WeakMapPrototype['delete'];
- var nativeHas = WeakMapPrototype.has;
- var nativeGet = WeakMapPrototype.get;
- var nativeSet = WeakMapPrototype.set;
- redefineAll(WeakMapPrototype, {
- 'delete': function (key) {
- if (isObject(key) && !isExtensible(key)) {
- var state = enforceIternalState(this);
- if (!state.frozen) state.frozen = new InternalWeakMap();
- return nativeDelete.call(this, key) || state.frozen['delete'](key);
- } return nativeDelete.call(this, key);
- },
- has: function has(key) {
- if (isObject(key) && !isExtensible(key)) {
- var state = enforceIternalState(this);
- if (!state.frozen) state.frozen = new InternalWeakMap();
- return nativeHas.call(this, key) || state.frozen.has(key);
- } return nativeHas.call(this, key);
- },
- get: function get(key) {
- if (isObject(key) && !isExtensible(key)) {
- var state = enforceIternalState(this);
- if (!state.frozen) state.frozen = new InternalWeakMap();
- return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);
- } return nativeGet.call(this, key);
- },
- set: function set(key, value) {
- if (isObject(key) && !isExtensible(key)) {
- var state = enforceIternalState(this);
- if (!state.frozen) state.frozen = new InternalWeakMap();
- nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);
- } else nativeSet.call(this, key, value);
- return this;
- }
- });
- }
- /***/ }),
- /* 342 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/collection-weak.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var getWeakData = __webpack_require__(/*! ../internals/internal-metadata */ 130).getWeakData;
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var ArrayIterationModule = __webpack_require__(/*! ../internals/array-iteration */ 103);
- var $has = __webpack_require__(/*! ../internals/has */ 60);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var setInternalState = InternalStateModule.set;
- var internalStateGetterFor = InternalStateModule.getterFor;
- var find = ArrayIterationModule.find;
- var findIndex = ArrayIterationModule.findIndex;
- var id = 0;
- // fallback for uncaught frozen keys
- var uncaughtFrozenStore = function (store) {
- return store.frozen || (store.frozen = new UncaughtFrozenStore());
- };
- var UncaughtFrozenStore = function () {
- this.entries = [];
- };
- var findUncaughtFrozen = function (store, key) {
- return find(store.entries, function (it) {
- return it[0] === key;
- });
- };
- UncaughtFrozenStore.prototype = {
- get: function (key) {
- var entry = findUncaughtFrozen(this, key);
- if (entry) return entry[1];
- },
- has: function (key) {
- return !!findUncaughtFrozen(this, key);
- },
- set: function (key, value) {
- var entry = findUncaughtFrozen(this, key);
- if (entry) entry[1] = value;
- else this.entries.push([key, value]);
- },
- 'delete': function (key) {
- var index = findIndex(this.entries, function (it) {
- return it[0] === key;
- });
- if (~index) this.entries.splice(index, 1);
- return !!~index;
- }
- };
- module.exports = {
- getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
- var C = wrapper(function (that, iterable) {
- anInstance(that, C, CONSTRUCTOR_NAME);
- setInternalState(that, {
- type: CONSTRUCTOR_NAME,
- id: id++,
- frozen: undefined
- });
- if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP);
- });
- var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
- var define = function (that, key, value) {
- var state = getInternalState(that);
- var data = getWeakData(anObject(key), true);
- if (data === true) uncaughtFrozenStore(state).set(key, value);
- else data[state.id] = value;
- return that;
- };
- redefineAll(C.prototype, {
- // 23.3.3.2 WeakMap.prototype.delete(key)
- // 23.4.3.3 WeakSet.prototype.delete(value)
- 'delete': function (key) {
- var state = getInternalState(this);
- if (!isObject(key)) return false;
- var data = getWeakData(key);
- if (data === true) return uncaughtFrozenStore(state)['delete'](key);
- return data && $has(data, state.id) && delete data[state.id];
- },
- // 23.3.3.4 WeakMap.prototype.has(key)
- // 23.4.3.4 WeakSet.prototype.has(value)
- has: function has(key) {
- var state = getInternalState(this);
- if (!isObject(key)) return false;
- var data = getWeakData(key);
- if (data === true) return uncaughtFrozenStore(state).has(key);
- return data && $has(data, state.id);
- }
- });
- redefineAll(C.prototype, IS_MAP ? {
- // 23.3.3.3 WeakMap.prototype.get(key)
- get: function get(key) {
- var state = getInternalState(this);
- if (isObject(key)) {
- var data = getWeakData(key);
- if (data === true) return uncaughtFrozenStore(state).get(key);
- return data ? data[state.id] : undefined;
- }
- },
- // 23.3.3.5 WeakMap.prototype.set(key, value)
- set: function set(key, value) {
- return define(this, key, value);
- }
- } : {
- // 23.4.3.1 WeakSet.prototype.add(value)
- add: function add(value) {
- return define(this, value, true);
- }
- });
- return C;
- }
- };
- /***/ }),
- /* 343 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/modules/es.weak-set.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var collection = __webpack_require__(/*! ../internals/collection */ 338);
- var collectionWeak = __webpack_require__(/*! ../internals/collection-weak */ 342);
- // `WeakSet` constructor
- // https://tc39.github.io/ecma262/#sec-weakset-constructor
- collection('WeakSet', function (init) {
- return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };
- }, collectionWeak);
- /***/ }),
- /* 344 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array-buffer.constructor.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var arrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 345);
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var ARRAY_BUFFER = 'ArrayBuffer';
- var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];
- var NativeArrayBuffer = global[ARRAY_BUFFER];
- // `ArrayBuffer` constructor
- // https://tc39.github.io/ecma262/#sec-arraybuffer-constructor
- $({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, {
- ArrayBuffer: ArrayBuffer
- });
- setSpecies(ARRAY_BUFFER);
- /***/ }),
- /* 345 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/array-buffer.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-native */ 346);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toIndex = __webpack_require__(/*! ../internals/to-index */ 347);
- var IEEE754 = __webpack_require__(/*! ../internals/ieee754 */ 348);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81).f;
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var arrayFill = __webpack_require__(/*! ../internals/array-fill */ 186);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var getInternalState = InternalStateModule.get;
- var setInternalState = InternalStateModule.set;
- var ARRAY_BUFFER = 'ArrayBuffer';
- var DATA_VIEW = 'DataView';
- var PROTOTYPE = 'prototype';
- var WRONG_LENGTH = 'Wrong length';
- var WRONG_INDEX = 'Wrong index';
- var NativeArrayBuffer = global[ARRAY_BUFFER];
- var $ArrayBuffer = NativeArrayBuffer;
- var $DataView = global[DATA_VIEW];
- var $DataViewPrototype = $DataView && $DataView[PROTOTYPE];
- var ObjectPrototype = Object.prototype;
- var RangeError = global.RangeError;
- var packIEEE754 = IEEE754.pack;
- var unpackIEEE754 = IEEE754.unpack;
- var packInt8 = function (number) {
- return [number & 0xFF];
- };
- var packInt16 = function (number) {
- return [number & 0xFF, number >> 8 & 0xFF];
- };
- var packInt32 = function (number) {
- return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];
- };
- var unpackInt32 = function (buffer) {
- return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];
- };
- var packFloat32 = function (number) {
- return packIEEE754(number, 23, 4);
- };
- var packFloat64 = function (number) {
- return packIEEE754(number, 52, 8);
- };
- var addGetter = function (Constructor, key) {
- defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } });
- };
- var get = function (view, count, index, isLittleEndian) {
- var intIndex = toIndex(index);
- var store = getInternalState(view);
- if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);
- var bytes = getInternalState(store.buffer).bytes;
- var start = intIndex + store.byteOffset;
- var pack = bytes.slice(start, start + count);
- return isLittleEndian ? pack : pack.reverse();
- };
- var set = function (view, count, index, conversion, value, isLittleEndian) {
- var intIndex = toIndex(index);
- var store = getInternalState(view);
- if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);
- var bytes = getInternalState(store.buffer).bytes;
- var start = intIndex + store.byteOffset;
- var pack = conversion(+value);
- for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];
- };
- if (!NATIVE_ARRAY_BUFFER) {
- $ArrayBuffer = function ArrayBuffer(length) {
- anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
- var byteLength = toIndex(length);
- setInternalState(this, {
- bytes: arrayFill.call(new Array(byteLength), 0),
- byteLength: byteLength
- });
- if (!DESCRIPTORS) this.byteLength = byteLength;
- };
- $DataView = function DataView(buffer, byteOffset, byteLength) {
- anInstance(this, $DataView, DATA_VIEW);
- anInstance(buffer, $ArrayBuffer, DATA_VIEW);
- var bufferLength = getInternalState(buffer).byteLength;
- var offset = toInteger(byteOffset);
- if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');
- byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
- if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
- setInternalState(this, {
- buffer: buffer,
- byteLength: byteLength,
- byteOffset: offset
- });
- if (!DESCRIPTORS) {
- this.buffer = buffer;
- this.byteLength = byteLength;
- this.byteOffset = offset;
- }
- };
- if (DESCRIPTORS) {
- addGetter($ArrayBuffer, 'byteLength');
- addGetter($DataView, 'buffer');
- addGetter($DataView, 'byteLength');
- addGetter($DataView, 'byteOffset');
- }
- redefineAll($DataView[PROTOTYPE], {
- getInt8: function getInt8(byteOffset) {
- return get(this, 1, byteOffset)[0] << 24 >> 24;
- },
- getUint8: function getUint8(byteOffset) {
- return get(this, 1, byteOffset)[0];
- },
- getInt16: function getInt16(byteOffset /* , littleEndian */) {
- var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);
- return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
- },
- getUint16: function getUint16(byteOffset /* , littleEndian */) {
- var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);
- return bytes[1] << 8 | bytes[0];
- },
- getInt32: function getInt32(byteOffset /* , littleEndian */) {
- return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));
- },
- getUint32: function getUint32(byteOffset /* , littleEndian */) {
- return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;
- },
- getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
- return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);
- },
- getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
- return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);
- },
- setInt8: function setInt8(byteOffset, value) {
- set(this, 1, byteOffset, packInt8, value);
- },
- setUint8: function setUint8(byteOffset, value) {
- set(this, 1, byteOffset, packInt8, value);
- },
- setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);
- },
- setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
- set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);
- },
- setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);
- },
- setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
- set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);
- },
- setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
- set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);
- },
- setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
- set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);
- }
- });
- } else {
- if (!fails(function () {
- NativeArrayBuffer(1);
- }) || !fails(function () {
- new NativeArrayBuffer(-1); // eslint-disable-line no-new
- }) || fails(function () {
- new NativeArrayBuffer(); // eslint-disable-line no-new
- new NativeArrayBuffer(1.5); // eslint-disable-line no-new
- new NativeArrayBuffer(NaN); // eslint-disable-line no-new
- return NativeArrayBuffer.name != ARRAY_BUFFER;
- })) {
- $ArrayBuffer = function ArrayBuffer(length) {
- anInstance(this, $ArrayBuffer);
- return new NativeArrayBuffer(toIndex(length));
- };
- var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer[PROTOTYPE];
- for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {
- if (!((key = keys[j++]) in $ArrayBuffer)) {
- createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);
- }
- }
- ArrayBufferPrototype.constructor = $ArrayBuffer;
- }
- // WebKit bug - the same parent prototype for typed arrays and data view
- if (setPrototypeOf && getPrototypeOf($DataViewPrototype) !== ObjectPrototype) {
- setPrototypeOf($DataViewPrototype, ObjectPrototype);
- }
- // iOS Safari 7.x bug
- var testView = new $DataView(new $ArrayBuffer(2));
- var nativeSetInt8 = $DataViewPrototype.setInt8;
- testView.setInt8(0, 2147483648);
- testView.setInt8(1, 2147483649);
- if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataViewPrototype, {
- setInt8: function setInt8(byteOffset, value) {
- nativeSetInt8.call(this, byteOffset, value << 24 >> 24);
- },
- setUint8: function setUint8(byteOffset, value) {
- nativeSetInt8.call(this, byteOffset, value << 24 >> 24);
- }
- }, { unsafe: true });
- }
- setToStringTag($ArrayBuffer, ARRAY_BUFFER);
- setToStringTag($DataView, DATA_VIEW);
- module.exports = {
- ArrayBuffer: $ArrayBuffer,
- DataView: $DataView
- };
- /***/ }),
- /* 346 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/array-buffer-native.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- module.exports = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined';
- /***/ }),
- /* 347 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/internals/to-index.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- // `ToIndex` abstract operation
- // https://tc39.github.io/ecma262/#sec-toindex
- module.exports = function (it) {
- if (it === undefined) return 0;
- var number = toInteger(it);
- var length = toLength(number);
- if (number !== length) throw RangeError('Wrong length or index');
- return length;
- };
- /***/ }),
- /* 348 */
- /*!***************************************************!*\
- !*** ./node_modules/core-js/internals/ieee754.js ***!
- \***************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // IEEE754 conversions based on https://github.com/feross/ieee754
- // eslint-disable-next-line no-shadow-restricted-names
- var Infinity = 1 / 0;
- var abs = Math.abs;
- var pow = Math.pow;
- var floor = Math.floor;
- var log = Math.log;
- var LN2 = Math.LN2;
- var pack = function (number, mantissaLength, bytes) {
- var buffer = new Array(bytes);
- var exponentLength = bytes * 8 - mantissaLength - 1;
- var eMax = (1 << exponentLength) - 1;
- var eBias = eMax >> 1;
- var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;
- var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;
- var index = 0;
- var exponent, mantissa, c;
- number = abs(number);
- // eslint-disable-next-line no-self-compare
- if (number != number || number === Infinity) {
- // eslint-disable-next-line no-self-compare
- mantissa = number != number ? 1 : 0;
- exponent = eMax;
- } else {
- exponent = floor(log(number) / LN2);
- if (number * (c = pow(2, -exponent)) < 1) {
- exponent--;
- c *= 2;
- }
- if (exponent + eBias >= 1) {
- number += rt / c;
- } else {
- number += rt * pow(2, 1 - eBias);
- }
- if (number * c >= 2) {
- exponent++;
- c /= 2;
- }
- if (exponent + eBias >= eMax) {
- mantissa = 0;
- exponent = eMax;
- } else if (exponent + eBias >= 1) {
- mantissa = (number * c - 1) * pow(2, mantissaLength);
- exponent = exponent + eBias;
- } else {
- mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);
- exponent = 0;
- }
- }
- for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8);
- exponent = exponent << mantissaLength | mantissa;
- exponentLength += mantissaLength;
- for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8);
- buffer[--index] |= sign * 128;
- return buffer;
- };
- var unpack = function (buffer, mantissaLength) {
- var bytes = buffer.length;
- var exponentLength = bytes * 8 - mantissaLength - 1;
- var eMax = (1 << exponentLength) - 1;
- var eBias = eMax >> 1;
- var nBits = exponentLength - 7;
- var index = bytes - 1;
- var sign = buffer[index--];
- var exponent = sign & 127;
- var mantissa;
- sign >>= 7;
- for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8);
- mantissa = exponent & (1 << -nBits) - 1;
- exponent >>= -nBits;
- nBits += mantissaLength;
- for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8);
- if (exponent === 0) {
- exponent = 1 - eBias;
- } else if (exponent === eMax) {
- return mantissa ? NaN : sign ? -Infinity : Infinity;
- } else {
- mantissa = mantissa + pow(2, mantissaLength);
- exponent = exponent - eBias;
- } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);
- };
- module.exports = {
- pack: pack,
- unpack: unpack
- };
- /***/ }),
- /* 349 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array-buffer.is-view.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
- // `ArrayBuffer.isView` method
- // https://tc39.github.io/ecma262/#sec-arraybuffer.isview
- $({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
- isView: ArrayBufferViewCore.isView
- });
- /***/ }),
- /* 350 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/internals/array-buffer-view-core.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-native */ 346);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var classof = __webpack_require__(/*! ../internals/classof */ 136);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var uid = __webpack_require__(/*! ../internals/uid */ 75);
- var Int8Array = global.Int8Array;
- var Int8ArrayPrototype = Int8Array && Int8Array.prototype;
- var Uint8ClampedArray = global.Uint8ClampedArray;
- var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
- var TypedArray = Int8Array && getPrototypeOf(Int8Array);
- var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);
- var ObjectPrototype = Object.prototype;
- var isPrototypeOf = ObjectPrototype.isPrototypeOf;
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
- // Fixing native typed arrays in Opera Presto crashes the browser, see #595
- var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';
- var TYPED_ARRAY_TAG_REQIRED = false;
- var NAME;
- var TypedArrayConstructorsList = {
- Int8Array: 1,
- Uint8Array: 1,
- Uint8ClampedArray: 1,
- Int16Array: 2,
- Uint16Array: 2,
- Int32Array: 4,
- Uint32Array: 4,
- Float32Array: 4,
- Float64Array: 8
- };
- var isView = function isView(it) {
- var klass = classof(it);
- return klass === 'DataView' || has(TypedArrayConstructorsList, klass);
- };
- var isTypedArray = function (it) {
- return isObject(it) && has(TypedArrayConstructorsList, classof(it));
- };
- var aTypedArray = function (it) {
- if (isTypedArray(it)) return it;
- throw TypeError('Target is not a typed array');
- };
- var aTypedArrayConstructor = function (C) {
- if (setPrototypeOf) {
- if (isPrototypeOf.call(TypedArray, C)) return C;
- } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME)) {
- var TypedArrayConstructor = global[ARRAY];
- if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) {
- return C;
- }
- } throw TypeError('Target is not a typed array constructor');
- };
- var exportTypedArrayMethod = function (KEY, property, forced) {
- if (!DESCRIPTORS) return;
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
- var TypedArrayConstructor = global[ARRAY];
- if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) {
- delete TypedArrayConstructor.prototype[KEY];
- }
- }
- if (!TypedArrayPrototype[KEY] || forced) {
- redefine(TypedArrayPrototype, KEY, forced ? property
- : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property);
- }
- };
- var exportTypedArrayStaticMethod = function (KEY, property, forced) {
- var ARRAY, TypedArrayConstructor;
- if (!DESCRIPTORS) return;
- if (setPrototypeOf) {
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = global[ARRAY];
- if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) {
- delete TypedArrayConstructor[KEY];
- }
- }
- if (!TypedArray[KEY] || forced) {
- // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable
- try {
- return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array[KEY] || property);
- } catch (error) { /* empty */ }
- } else return;
- }
- for (ARRAY in TypedArrayConstructorsList) {
- TypedArrayConstructor = global[ARRAY];
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {
- redefine(TypedArrayConstructor, KEY, property);
- }
- }
- };
- for (NAME in TypedArrayConstructorsList) {
- if (!global[NAME]) NATIVE_ARRAY_BUFFER_VIEWS = false;
- }
- // WebKit bug - typed arrays constructors prototype is Object.prototype
- if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) {
- // eslint-disable-next-line no-shadow
- TypedArray = function TypedArray() {
- throw TypeError('Incorrect invocation');
- };
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);
- }
- }
- if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
- TypedArrayPrototype = TypedArray.prototype;
- if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
- if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);
- }
- }
- // WebKit bug - one more object in Uint8ClampedArray prototype chain
- if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {
- setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);
- }
- if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) {
- TYPED_ARRAY_TAG_REQIRED = true;
- defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () {
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
- } });
- for (NAME in TypedArrayConstructorsList) if (global[NAME]) {
- createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);
- }
- }
- module.exports = {
- NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG,
- aTypedArray: aTypedArray,
- aTypedArrayConstructor: aTypedArrayConstructor,
- exportTypedArrayMethod: exportTypedArrayMethod,
- exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,
- isView: isView,
- isTypedArray: isTypedArray,
- TypedArray: TypedArray,
- TypedArrayPrototype: TypedArrayPrototype
- };
- /***/ }),
- /* 351 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.array-buffer.slice.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 345);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
- var DataView = ArrayBufferModule.DataView;
- var nativeArrayBufferSlice = ArrayBuffer.prototype.slice;
- var INCORRECT_SLICE = fails(function () {
- return !new ArrayBuffer(2).slice(1, undefined).byteLength;
- });
- // `ArrayBuffer.prototype.slice` method
- // https://tc39.github.io/ecma262/#sec-arraybuffer.prototype.slice
- $({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, {
- slice: function slice(start, end) {
- if (nativeArrayBufferSlice !== undefined && end === undefined) {
- return nativeArrayBufferSlice.call(anObject(this), start); // FF fix
- }
- var length = anObject(this).byteLength;
- var first = toAbsoluteIndex(start, length);
- var fin = toAbsoluteIndex(end === undefined ? length : end, length);
- var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));
- var viewSource = new DataView(this);
- var viewTarget = new DataView(result);
- var index = 0;
- while (first < fin) {
- viewTarget.setUint8(index++, viewSource.getUint8(first++));
- } return result;
- }
- });
- /***/ }),
- /* 352 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/modules/es.data-view.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 345);
- var NATIVE_ARRAY_BUFFER = __webpack_require__(/*! ../internals/array-buffer-native */ 346);
- // `DataView` constructor
- // https://tc39.github.io/ecma262/#sec-dataview-constructor
- $({ global: true, forced: !NATIVE_ARRAY_BUFFER }, {
- DataView: ArrayBufferModule.DataView
- });
- /***/ }),
- /* 353 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.int8-array.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Int8Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Int8', function (init) {
- return function Int8Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 354 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/internals/typed-array-constructor.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 355);
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var ArrayBufferModule = __webpack_require__(/*! ../internals/array-buffer */ 345);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toIndex = __webpack_require__(/*! ../internals/to-index */ 347);
- var toOffset = __webpack_require__(/*! ../internals/to-offset */ 356);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var classof = __webpack_require__(/*! ../internals/classof */ 136);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- var getOwnPropertyNames = __webpack_require__(/*! ../internals/object-get-own-property-names */ 81).f;
- var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ 358);
- var forEach = __webpack_require__(/*! ../internals/array-iteration */ 103).forEach;
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var inheritIfRequired = __webpack_require__(/*! ../internals/inherit-if-required */ 269);
- var getInternalState = InternalStateModule.get;
- var setInternalState = InternalStateModule.set;
- var nativeDefineProperty = definePropertyModule.f;
- var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
- var round = Math.round;
- var RangeError = global.RangeError;
- var ArrayBuffer = ArrayBufferModule.ArrayBuffer;
- var DataView = ArrayBufferModule.DataView;
- var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;
- var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;
- var TypedArray = ArrayBufferViewCore.TypedArray;
- var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;
- var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
- var isTypedArray = ArrayBufferViewCore.isTypedArray;
- var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
- var WRONG_LENGTH = 'Wrong length';
- var fromList = function (C, list) {
- var index = 0;
- var length = list.length;
- var result = new (aTypedArrayConstructor(C))(length);
- while (length > index) result[index] = list[index++];
- return result;
- };
- var addGetter = function (it, key) {
- nativeDefineProperty(it, key, { get: function () {
- return getInternalState(this)[key];
- } });
- };
- var isArrayBuffer = function (it) {
- var klass;
- return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';
- };
- var isTypedArrayIndex = function (target, key) {
- return isTypedArray(target)
- && typeof key != 'symbol'
- && key in target
- && String(+key) == String(key);
- };
- var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {
- return isTypedArrayIndex(target, key = toPrimitive(key, true))
- ? createPropertyDescriptor(2, target[key])
- : nativeGetOwnPropertyDescriptor(target, key);
- };
- var wrappedDefineProperty = function defineProperty(target, key, descriptor) {
- if (isTypedArrayIndex(target, key = toPrimitive(key, true))
- && isObject(descriptor)
- && has(descriptor, 'value')
- && !has(descriptor, 'get')
- && !has(descriptor, 'set')
- // TODO: add validation descriptor w/o calling accessors
- && !descriptor.configurable
- && (!has(descriptor, 'writable') || descriptor.writable)
- && (!has(descriptor, 'enumerable') || descriptor.enumerable)
- ) {
- target[key] = descriptor.value;
- return target;
- } return nativeDefineProperty(target, key, descriptor);
- };
- if (DESCRIPTORS) {
- if (!NATIVE_ARRAY_BUFFER_VIEWS) {
- getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;
- definePropertyModule.f = wrappedDefineProperty;
- addGetter(TypedArrayPrototype, 'buffer');
- addGetter(TypedArrayPrototype, 'byteOffset');
- addGetter(TypedArrayPrototype, 'byteLength');
- addGetter(TypedArrayPrototype, 'length');
- }
- $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, {
- getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,
- defineProperty: wrappedDefineProperty
- });
- module.exports = function (TYPE, wrapper, CLAMPED) {
- var BYTES = TYPE.match(/\d+$/)[0] / 8;
- var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';
- var GETTER = 'get' + TYPE;
- var SETTER = 'set' + TYPE;
- var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];
- var TypedArrayConstructor = NativeTypedArrayConstructor;
- var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;
- var exported = {};
- var getter = function (that, index) {
- var data = getInternalState(that);
- return data.view[GETTER](index * BYTES + data.byteOffset, true);
- };
- var setter = function (that, index, value) {
- var data = getInternalState(that);
- if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;
- data.view[SETTER](index * BYTES + data.byteOffset, value, true);
- };
- var addElement = function (that, index) {
- nativeDefineProperty(that, index, {
- get: function () {
- return getter(this, index);
- },
- set: function (value) {
- return setter(this, index, value);
- },
- enumerable: true
- });
- };
- if (!NATIVE_ARRAY_BUFFER_VIEWS) {
- TypedArrayConstructor = wrapper(function (that, data, offset, $length) {
- anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME);
- var index = 0;
- var byteOffset = 0;
- var buffer, byteLength, length;
- if (!isObject(data)) {
- length = toIndex(data);
- byteLength = length * BYTES;
- buffer = new ArrayBuffer(byteLength);
- } else if (isArrayBuffer(data)) {
- buffer = data;
- byteOffset = toOffset(offset, BYTES);
- var $len = data.byteLength;
- if ($length === undefined) {
- if ($len % BYTES) throw RangeError(WRONG_LENGTH);
- byteLength = $len - byteOffset;
- if (byteLength < 0) throw RangeError(WRONG_LENGTH);
- } else {
- byteLength = toLength($length) * BYTES;
- if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);
- }
- length = byteLength / BYTES;
- } else if (isTypedArray(data)) {
- return fromList(TypedArrayConstructor, data);
- } else {
- return typedArrayFrom.call(TypedArrayConstructor, data);
- }
- setInternalState(that, {
- buffer: buffer,
- byteOffset: byteOffset,
- byteLength: byteLength,
- length: length,
- view: new DataView(buffer)
- });
- while (index < length) addElement(that, index++);
- });
- if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
- TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);
- } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {
- TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {
- anInstance(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME);
- return inheritIfRequired(function () {
- if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));
- if (isArrayBuffer(data)) return $length !== undefined
- ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length)
- : typedArrayOffset !== undefined
- ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))
- : new NativeTypedArrayConstructor(data);
- if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
- return typedArrayFrom.call(TypedArrayConstructor, data);
- }(), dummy, TypedArrayConstructor);
- });
- if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);
- forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {
- if (!(key in TypedArrayConstructor)) {
- createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);
- }
- });
- TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;
- }
- if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {
- createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);
- }
- if (TYPED_ARRAY_TAG) {
- createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);
- }
- exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;
- $({
- global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS
- }, exported);
- if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {
- createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);
- }
- if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {
- createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);
- }
- setSpecies(CONSTRUCTOR_NAME);
- };
- } else module.exports = function () { /* empty */ };
- /***/ }),
- /* 355 */
- /*!*************************************************************************************!*\
- !*** ./node_modules/core-js/internals/typed-array-constructors-require-wrappers.js ***!
- \*************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- /* eslint-disable no-new */
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 172);
- var NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350).NATIVE_ARRAY_BUFFER_VIEWS;
- var ArrayBuffer = global.ArrayBuffer;
- var Int8Array = global.Int8Array;
- module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {
- Int8Array(1);
- }) || !fails(function () {
- new Int8Array(-1);
- }) || !checkCorrectnessOfIteration(function (iterable) {
- new Int8Array();
- new Int8Array(null);
- new Int8Array(1.5);
- new Int8Array(iterable);
- }, true) || fails(function () {
- // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill
- return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;
- });
- /***/ }),
- /* 356 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/internals/to-offset.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 357);
- module.exports = function (it, BYTES) {
- var offset = toPositiveInteger(it);
- if (offset % BYTES) throw RangeError('Wrong offset');
- return offset;
- };
- /***/ }),
- /* 357 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/internals/to-positive-integer.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- module.exports = function (it) {
- var result = toInteger(it);
- if (result < 0) throw RangeError("The argument can't be less than 0");
- return result;
- };
- /***/ }),
- /* 358 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/typed-array-from.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 133);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var aTypedArrayConstructor = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350).aTypedArrayConstructor;
- module.exports = function from(source /* , mapfn, thisArg */) {
- var O = toObject(source);
- var argumentsLength = arguments.length;
- var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
- var mapping = mapfn !== undefined;
- var iteratorMethod = getIteratorMethod(O);
- var i, length, result, step, iterator, next;
- if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) {
- iterator = iteratorMethod.call(O);
- next = iterator.next;
- O = [];
- while (!(step = next.call(iterator)).done) {
- O.push(step.value);
- }
- }
- if (mapping && argumentsLength > 2) {
- mapfn = bind(mapfn, arguments[2], 2);
- }
- length = toLength(O.length);
- result = new (aTypedArrayConstructor(this))(length);
- for (i = 0; length > i; i++) {
- result[i] = mapping ? mapfn(O[i], i) : O[i];
- }
- return result;
- };
- /***/ }),
- /* 359 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.uint8-array.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Uint8Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Uint8', function (init) {
- return function Uint8Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 360 */
- /*!****************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js ***!
- \****************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Uint8ClampedArray` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Uint8', function (init) {
- return function Uint8ClampedArray(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- }, true);
- /***/ }),
- /* 361 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.int16-array.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Int16Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Int16', function (init) {
- return function Int16Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 362 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.uint16-array.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Uint16Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Uint16', function (init) {
- return function Uint16Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 363 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.int32-array.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Int32Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Int32', function (init) {
- return function Int32Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 364 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.uint32-array.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Uint32Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Uint32', function (init) {
- return function Uint32Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 365 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.float32-array.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Float32Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Float32', function (init) {
- return function Float32Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 366 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.float64-array.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var createTypedArrayConstructor = __webpack_require__(/*! ../internals/typed-array-constructor */ 354);
- // `Float64Array` constructor
- // https://tc39.github.io/ecma262/#sec-typedarray-objects
- createTypedArrayConstructor('Float64', function (init) {
- return function Float64Array(data, byteOffset, length) {
- return init(this, data, byteOffset, length);
- };
- });
- /***/ }),
- /* 367 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.from.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 355);
- var exportTypedArrayStaticMethod = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350).exportTypedArrayStaticMethod;
- var typedArrayFrom = __webpack_require__(/*! ../internals/typed-array-from */ 358);
- // `%TypedArray%.from` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.from
- exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
- /***/ }),
- /* 368 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.of.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(/*! ../internals/typed-array-constructors-require-wrappers */ 355);
- var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
- var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;
- // `%TypedArray%.of` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.of
- exportTypedArrayStaticMethod('of', function of(/* ...items */) {
- var index = 0;
- var length = arguments.length;
- var result = new (aTypedArrayConstructor(this))(length);
- while (length > index) result[index] = arguments[index++];
- return result;
- }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);
- /***/ }),
- /* 369 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.copy-within.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $copyWithin = __webpack_require__(/*! ../internals/array-copy-within */ 180);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.copyWithin` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin
- exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {
- return $copyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
- });
- /***/ }),
- /* 370 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.every.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $every = __webpack_require__(/*! ../internals/array-iteration */ 103).every;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.every` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.every
- exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {
- return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 371 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.fill.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $fill = __webpack_require__(/*! ../internals/array-fill */ 186);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.fill` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.fill
- // eslint-disable-next-line no-unused-vars
- exportTypedArrayMethod('fill', function fill(value /* , start, end */) {
- return $fill.apply(aTypedArray(this), arguments);
- });
- /***/ }),
- /* 372 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.filter.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $filter = __webpack_require__(/*! ../internals/array-iteration */ 103).filter;
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.filter` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.filter
- exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {
- var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- var C = speciesConstructor(this, this.constructor);
- var index = 0;
- var length = list.length;
- var result = new (aTypedArrayConstructor(C))(length);
- while (length > index) result[index] = list[index++];
- return result;
- });
- /***/ }),
- /* 373 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.find.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $find = __webpack_require__(/*! ../internals/array-iteration */ 103).find;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.find` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.find
- exportTypedArrayMethod('find', function find(predicate /* , thisArg */) {
- return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 374 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.find-index.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $findIndex = __webpack_require__(/*! ../internals/array-iteration */ 103).findIndex;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.findIndex` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex
- exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {
- return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 375 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.for-each.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $forEach = __webpack_require__(/*! ../internals/array-iteration */ 103).forEach;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.forEach` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.foreach
- exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {
- $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 376 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.includes.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $includes = __webpack_require__(/*! ../internals/array-includes */ 83).includes;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.includes` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.includes
- exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {
- return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 377 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.index-of.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $indexOf = __webpack_require__(/*! ../internals/array-includes */ 83).indexOf;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.indexOf` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.indexof
- exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {
- return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 378 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.iterator.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var ArrayIterators = __webpack_require__(/*! ../modules/es.array.iterator */ 213);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var ITERATOR = wellKnownSymbol('iterator');
- var Uint8Array = global.Uint8Array;
- var arrayValues = ArrayIterators.values;
- var arrayKeys = ArrayIterators.keys;
- var arrayEntries = ArrayIterators.entries;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR];
- var CORRECT_ITER_NAME = !!nativeTypedArrayIterator
- && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined);
- var typedArrayValues = function values() {
- return arrayValues.call(aTypedArray(this));
- };
- // `%TypedArray%.prototype.entries` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.entries
- exportTypedArrayMethod('entries', function entries() {
- return arrayEntries.call(aTypedArray(this));
- });
- // `%TypedArray%.prototype.keys` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.keys
- exportTypedArrayMethod('keys', function keys() {
- return arrayKeys.call(aTypedArray(this));
- });
- // `%TypedArray%.prototype.values` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.values
- exportTypedArrayMethod('values', typedArrayValues, !CORRECT_ITER_NAME);
- // `%TypedArray%.prototype[@@iterator]` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator
- exportTypedArrayMethod(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME);
- /***/ }),
- /* 379 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.join.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var $join = [].join;
- // `%TypedArray%.prototype.join` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.join
- // eslint-disable-next-line no-unused-vars
- exportTypedArrayMethod('join', function join(separator) {
- return $join.apply(aTypedArray(this), arguments);
- });
- /***/ }),
- /* 380 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.last-index-of.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ 199);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.lastIndexOf` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof
- // eslint-disable-next-line no-unused-vars
- exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {
- return $lastIndexOf.apply(aTypedArray(this), arguments);
- });
- /***/ }),
- /* 381 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.map.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $map = __webpack_require__(/*! ../internals/array-iteration */ 103).map;
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.map` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.map
- exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {
- return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {
- return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length);
- });
- });
- /***/ }),
- /* 382 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.reduce.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $reduce = __webpack_require__(/*! ../internals/array-reduce */ 202).left;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.reduce` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduce
- exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {
- return $reduce(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 383 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.reduce-right.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $reduceRight = __webpack_require__(/*! ../internals/array-reduce */ 202).right;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.reduceRicht` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduceright
- exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {
- return $reduceRight(aTypedArray(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 384 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.reverse.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var floor = Math.floor;
- // `%TypedArray%.prototype.reverse` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reverse
- exportTypedArrayMethod('reverse', function reverse() {
- var that = this;
- var length = aTypedArray(that).length;
- var middle = floor(length / 2);
- var index = 0;
- var value;
- while (index < middle) {
- value = that[index];
- that[index++] = that[--length];
- that[length] = value;
- } return that;
- });
- /***/ }),
- /* 385 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.set.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toOffset = __webpack_require__(/*! ../internals/to-offset */ 356);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var FORCED = fails(function () {
- // eslint-disable-next-line no-undef
- new Int8Array(1).set({});
- });
- // `%TypedArray%.prototype.set` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.set
- exportTypedArrayMethod('set', function set(arrayLike /* , offset */) {
- aTypedArray(this);
- var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);
- var length = this.length;
- var src = toObject(arrayLike);
- var len = toLength(src.length);
- var index = 0;
- if (len + offset > length) throw RangeError('Wrong length');
- while (index < len) this[offset + index] = src[index++];
- }, FORCED);
- /***/ }),
- /* 386 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.slice.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var $slice = [].slice;
- var FORCED = fails(function () {
- // eslint-disable-next-line no-undef
- new Int8Array(1).slice();
- });
- // `%TypedArray%.prototype.slice` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.slice
- exportTypedArrayMethod('slice', function slice(start, end) {
- var list = $slice.call(aTypedArray(this), start, end);
- var C = speciesConstructor(this, this.constructor);
- var index = 0;
- var length = list.length;
- var result = new (aTypedArrayConstructor(C))(length);
- while (length > index) result[index] = list[index++];
- return result;
- }, FORCED);
- /***/ }),
- /* 387 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.some.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var $some = __webpack_require__(/*! ../internals/array-iteration */ 103).some;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.some` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some
- exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {
- return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
- });
- /***/ }),
- /* 388 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.sort.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var $sort = [].sort;
- // `%TypedArray%.prototype.sort` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.sort
- exportTypedArrayMethod('sort', function sort(comparefn) {
- return $sort.call(aTypedArray(this), comparefn);
- });
- /***/ }),
- /* 389 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.subarray.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 86);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- // `%TypedArray%.prototype.subarray` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.subarray
- exportTypedArrayMethod('subarray', function subarray(begin, end) {
- var O = aTypedArray(this);
- var length = O.length;
- var beginIndex = toAbsoluteIndex(begin, length);
- return new (speciesConstructor(O, O.constructor))(
- O.buffer,
- O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT,
- toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex)
- );
- });
- /***/ }),
- /* 390 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.to-locale-string.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var ArrayBufferViewCore = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var Int8Array = global.Int8Array;
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
- var $toLocaleString = [].toLocaleString;
- var $slice = [].slice;
- // iOS Safari 6.x fails here
- var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {
- $toLocaleString.call(new Int8Array(1));
- });
- var FORCED = fails(function () {
- return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();
- }) || !fails(function () {
- Int8Array.prototype.toLocaleString.call([1, 2]);
- });
- // `%TypedArray%.prototype.toLocaleString` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring
- exportTypedArrayMethod('toLocaleString', function toLocaleString() {
- return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray(this)) : aTypedArray(this), arguments);
- }, FORCED);
- /***/ }),
- /* 391 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.typed-array.to-string.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var exportTypedArrayMethod = __webpack_require__(/*! ../internals/array-buffer-view-core */ 350).exportTypedArrayMethod;
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var Uint8Array = global.Uint8Array;
- var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};
- var arrayToString = [].toString;
- var arrayJoin = [].join;
- if (fails(function () { arrayToString.call({}); })) {
- arrayToString = function toString() {
- return arrayJoin.call(this);
- };
- }
- var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;
- // `%TypedArray%.prototype.toString` method
- // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring
- exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);
- /***/ }),
- /* 392 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.apply.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeApply = getBuiltIn('Reflect', 'apply');
- var functionApply = Function.apply;
- // MS Edge argumentsList argument is optional
- var OPTIONAL_ARGUMENTS_LIST = !fails(function () {
- nativeApply(function () { /* empty */ });
- });
- // `Reflect.apply` method
- // https://tc39.github.io/ecma262/#sec-reflect.apply
- $({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, {
- apply: function apply(target, thisArgument, argumentsList) {
- aFunction(target);
- anObject(argumentsList);
- return nativeApply
- ? nativeApply(target, thisArgument, argumentsList)
- : functionApply.call(target, thisArgument, argumentsList);
- }
- });
- /***/ }),
- /* 393 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.construct.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var bind = __webpack_require__(/*! ../internals/function-bind */ 166);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var nativeConstruct = getBuiltIn('Reflect', 'construct');
- // `Reflect.construct` method
- // https://tc39.github.io/ecma262/#sec-reflect.construct
- // MS Edge supports only 2 arguments and argumentsList argument is optional
- // FF Nightly sets third argument as `new.target`, but does not create `this` from it
- var NEW_TARGET_BUG = fails(function () {
- function F() { /* empty */ }
- return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
- });
- var ARGS_BUG = !fails(function () {
- nativeConstruct(function () { /* empty */ });
- });
- var FORCED = NEW_TARGET_BUG || ARGS_BUG;
- $({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
- construct: function construct(Target, args /* , newTarget */) {
- aFunction(Target);
- anObject(args);
- var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
- if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
- if (Target == newTarget) {
- // w/o altered newTarget, optimization for 0-4 arguments
- switch (args.length) {
- case 0: return new Target();
- case 1: return new Target(args[0]);
- case 2: return new Target(args[0], args[1]);
- case 3: return new Target(args[0], args[1], args[2]);
- case 4: return new Target(args[0], args[1], args[2], args[3]);
- }
- // w/o altered newTarget, lot of arguments case
- var $args = [null];
- $args.push.apply($args, args);
- return new (bind.apply(Target, $args))();
- }
- // with altered newTarget, not support built-in constructors
- var proto = newTarget.prototype;
- var instance = create(isObject(proto) ? proto : Object.prototype);
- var result = Function.apply.call(Target, instance, args);
- return isObject(result) ? result : instance;
- }
- });
- /***/ }),
- /* 394 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.define-property.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 58);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
- var ERROR_INSTEAD_OF_FALSE = fails(function () {
- // eslint-disable-next-line no-undef
- Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 });
- });
- // `Reflect.defineProperty` method
- // https://tc39.github.io/ecma262/#sec-reflect.defineproperty
- $({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, {
- defineProperty: function defineProperty(target, propertyKey, attributes) {
- anObject(target);
- var key = toPrimitive(propertyKey, true);
- anObject(attributes);
- try {
- definePropertyModule.f(target, key, attributes);
- return true;
- } catch (error) {
- return false;
- }
- }
- });
- /***/ }),
- /* 395 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.delete-property.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49).f;
- // `Reflect.deleteProperty` method
- // https://tc39.github.io/ecma262/#sec-reflect.deleteproperty
- $({ target: 'Reflect', stat: true }, {
- deleteProperty: function deleteProperty(target, propertyKey) {
- var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);
- return descriptor && !descriptor.configurable ? false : delete target[propertyKey];
- }
- });
- /***/ }),
- /* 396 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.get.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- // `Reflect.get` method
- // https://tc39.github.io/ecma262/#sec-reflect.get
- function get(target, propertyKey /* , receiver */) {
- var receiver = arguments.length < 3 ? target : arguments[2];
- var descriptor, prototype;
- if (anObject(target) === receiver) return target[propertyKey];
- if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value')
- ? descriptor.value
- : descriptor.get === undefined
- ? undefined
- : descriptor.get.call(receiver);
- if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);
- }
- $({ target: 'Reflect', stat: true }, {
- get: get
- });
- /***/ }),
- /* 397 */
- /*!********************************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.get-own-property-descriptor.js ***!
- \********************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- // `Reflect.getOwnPropertyDescriptor` method
- // https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor
- $({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {
- getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
- return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);
- }
- });
- /***/ }),
- /* 398 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.get-prototype-of.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 145);
- // `Reflect.getPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-reflect.getprototypeof
- $({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, {
- getPrototypeOf: function getPrototypeOf(target) {
- return objectGetPrototypeOf(anObject(target));
- }
- });
- /***/ }),
- /* 399 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.has.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Reflect.has` method
- // https://tc39.github.io/ecma262/#sec-reflect.has
- $({ target: 'Reflect', stat: true }, {
- has: function has(target, propertyKey) {
- return propertyKey in target;
- }
- });
- /***/ }),
- /* 400 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.is-extensible.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var objectIsExtensible = Object.isExtensible;
- // `Reflect.isExtensible` method
- // https://tc39.github.io/ecma262/#sec-reflect.isextensible
- $({ target: 'Reflect', stat: true }, {
- isExtensible: function isExtensible(target) {
- anObject(target);
- return objectIsExtensible ? objectIsExtensible(target) : true;
- }
- });
- /***/ }),
- /* 401 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.own-keys.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ownKeys = __webpack_require__(/*! ../internals/own-keys */ 78);
- // `Reflect.ownKeys` method
- // https://tc39.github.io/ecma262/#sec-reflect.ownkeys
- $({ target: 'Reflect', stat: true }, {
- ownKeys: ownKeys
- });
- /***/ }),
- /* 402 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.prevent-extensions.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var FREEZING = __webpack_require__(/*! ../internals/freezing */ 129);
- // `Reflect.preventExtensions` method
- // https://tc39.github.io/ecma262/#sec-reflect.preventextensions
- $({ target: 'Reflect', stat: true, sham: !FREEZING }, {
- preventExtensions: function preventExtensions(target) {
- anObject(target);
- try {
- var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');
- if (objectPreventExtensions) objectPreventExtensions(target);
- return true;
- } catch (error) {
- return false;
- }
- }
- });
- /***/ }),
- /* 403 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.set.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 49);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- // `Reflect.set` method
- // https://tc39.github.io/ecma262/#sec-reflect.set
- function set(target, propertyKey, V /* , receiver */) {
- var receiver = arguments.length < 4 ? target : arguments[3];
- var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);
- var existingDescriptor, prototype;
- if (!ownDescriptor) {
- if (isObject(prototype = getPrototypeOf(target))) {
- return set(prototype, propertyKey, V, receiver);
- }
- ownDescriptor = createPropertyDescriptor(0);
- }
- if (has(ownDescriptor, 'value')) {
- if (ownDescriptor.writable === false || !isObject(receiver)) return false;
- if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {
- if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
- existingDescriptor.value = V;
- definePropertyModule.f(receiver, propertyKey, existingDescriptor);
- } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));
- return true;
- }
- return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true);
- }
- // MS Edge 17-18 Reflect.set allows setting the property to object
- // with non-writable property on the prototype
- var MS_EDGE_BUG = fails(function () {
- var object = definePropertyModule.f({}, 'a', { configurable: true });
- // eslint-disable-next-line no-undef
- return Reflect.set(getPrototypeOf(object), 'a', 1, object) !== false;
- });
- $({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, {
- set: set
- });
- /***/ }),
- /* 404 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/es.reflect.set-prototype-of.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ 156);
- var objectSetPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- // `Reflect.setPrototypeOf` method
- // https://tc39.github.io/ecma262/#sec-reflect.setprototypeof
- if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, {
- setPrototypeOf: function setPrototypeOf(target, proto) {
- anObject(target);
- aPossiblePrototype(proto);
- try {
- objectSetPrototypeOf(target, proto);
- return true;
- } catch (error) {
- return false;
- }
- }
- });
- /***/ }),
- /* 405 */
- /*!*************************************************!*\
- !*** ./node_modules/core-js/proposals/index.js ***!
- \*************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../stage */ 406);
- /***/ }),
- /* 406 */
- /*!*********************************************!*\
- !*** ./node_modules/core-js/stage/index.js ***!
- \*********************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var proposals = __webpack_require__(/*! ./pre */ 407);
- module.exports = proposals;
- /***/ }),
- /* 407 */
- /*!*******************************************!*\
- !*** ./node_modules/core-js/stage/pre.js ***!
- \*******************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/reflect-metadata */ 408);
- var parent = __webpack_require__(/*! ./0 */ 419);
- module.exports = parent;
- /***/ }),
- /* 408 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/reflect-metadata.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.reflect.define-metadata */ 409);
- __webpack_require__(/*! ../modules/esnext.reflect.delete-metadata */ 411);
- __webpack_require__(/*! ../modules/esnext.reflect.get-metadata */ 412);
- __webpack_require__(/*! ../modules/esnext.reflect.get-metadata-keys */ 413);
- __webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata */ 414);
- __webpack_require__(/*! ../modules/esnext.reflect.get-own-metadata-keys */ 415);
- __webpack_require__(/*! ../modules/esnext.reflect.has-metadata */ 416);
- __webpack_require__(/*! ../modules/esnext.reflect.has-own-metadata */ 417);
- __webpack_require__(/*! ../modules/esnext.reflect.metadata */ 418);
- /***/ }),
- /* 409 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.define-metadata.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toMetadataKey = ReflectMetadataModule.toKey;
- var ordinaryDefineOwnMetadata = ReflectMetadataModule.set;
- // `Reflect.defineMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {
- var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);
- ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 410 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/reflect-metadata.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
- var Map = __webpack_require__(/*! ../modules/es.map */ 337);
- var WeakMap = __webpack_require__(/*! ../modules/es.weak-map */ 341);
- var shared = __webpack_require__(/*! ../internals/shared */ 73);
- var metadata = shared('metadata');
- var store = metadata.store || (metadata.store = new WeakMap());
- var getOrCreateMetadataMap = function (target, targetKey, create) {
- var targetMetadata = store.get(target);
- if (!targetMetadata) {
- if (!create) return;
- store.set(target, targetMetadata = new Map());
- }
- var keyMetadata = targetMetadata.get(targetKey);
- if (!keyMetadata) {
- if (!create) return;
- targetMetadata.set(targetKey, keyMetadata = new Map());
- } return keyMetadata;
- };
- var ordinaryHasOwnMetadata = function (MetadataKey, O, P) {
- var metadataMap = getOrCreateMetadataMap(O, P, false);
- return metadataMap === undefined ? false : metadataMap.has(MetadataKey);
- };
- var ordinaryGetOwnMetadata = function (MetadataKey, O, P) {
- var metadataMap = getOrCreateMetadataMap(O, P, false);
- return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);
- };
- var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) {
- getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);
- };
- var ordinaryOwnMetadataKeys = function (target, targetKey) {
- var metadataMap = getOrCreateMetadataMap(target, targetKey, false);
- var keys = [];
- if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); });
- return keys;
- };
- var toMetadataKey = function (it) {
- return it === undefined || typeof it == 'symbol' ? it : String(it);
- };
- module.exports = {
- store: store,
- getMap: getOrCreateMetadataMap,
- has: ordinaryHasOwnMetadata,
- get: ordinaryGetOwnMetadata,
- set: ordinaryDefineOwnMetadata,
- keys: ordinaryOwnMetadataKeys,
- toKey: toMetadataKey
- };
- /***/ }),
- /* 411 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.delete-metadata.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toMetadataKey = ReflectMetadataModule.toKey;
- var getOrCreateMetadataMap = ReflectMetadataModule.getMap;
- var store = ReflectMetadataModule.store;
- // `Reflect.deleteMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {
- var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
- var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);
- if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;
- if (metadataMap.size) return true;
- var targetMetadata = store.get(target);
- targetMetadata['delete'](targetKey);
- return !!targetMetadata.size || store['delete'](target);
- }
- });
- /***/ }),
- /* 412 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
- var ordinaryGetOwnMetadata = ReflectMetadataModule.get;
- var toMetadataKey = ReflectMetadataModule.toKey;
- var ordinaryGetMetadata = function (MetadataKey, O, P) {
- var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
- if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);
- var parent = getPrototypeOf(O);
- return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;
- };
- // `Reflect.getMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {
- var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
- return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 413 */
- /*!**************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
- var Set = __webpack_require__(/*! ../modules/es.set */ 340);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;
- var toMetadataKey = ReflectMetadataModule.toKey;
- var from = function (iter) {
- var result = [];
- iterate(iter, result.push, result);
- return result;
- };
- var ordinaryMetadataKeys = function (O, P) {
- var oKeys = ordinaryOwnMetadataKeys(O, P);
- var parent = getPrototypeOf(O);
- if (parent === null) return oKeys;
- var pKeys = ordinaryMetadataKeys(parent, P);
- return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;
- };
- // `Reflect.getMetadataKeys` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {
- var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);
- return ordinaryMetadataKeys(anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 414 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var ordinaryGetOwnMetadata = ReflectMetadataModule.get;
- var toMetadataKey = ReflectMetadataModule.toKey;
- // `Reflect.getOwnMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {
- var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
- return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 415 */
- /*!******************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.get-own-metadata-keys.js ***!
- \******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;
- var toMetadataKey = ReflectMetadataModule.toKey;
- // `Reflect.getOwnMetadataKeys` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {
- var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);
- return ordinaryOwnMetadataKeys(anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 416 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.has-metadata.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
- var toMetadataKey = ReflectMetadataModule.toKey;
- var ordinaryHasMetadata = function (MetadataKey, O, P) {
- var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);
- if (hasOwn) return true;
- var parent = getPrototypeOf(O);
- return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;
- };
- // `Reflect.hasMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {
- var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
- return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 417 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.has-own-metadata.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var ordinaryHasOwnMetadata = ReflectMetadataModule.has;
- var toMetadataKey = ReflectMetadataModule.toKey;
- // `Reflect.hasOwnMetadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {
- var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);
- return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);
- }
- });
- /***/ }),
- /* 418 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.reflect.metadata.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ReflectMetadataModule = __webpack_require__(/*! ../internals/reflect-metadata */ 410);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toMetadataKey = ReflectMetadataModule.toKey;
- var ordinaryDefineOwnMetadata = ReflectMetadataModule.set;
- // `Reflect.metadata` method
- // https://github.com/rbuckton/reflect-metadata
- $({ target: 'Reflect', stat: true }, {
- metadata: function metadata(metadataKey, metadataValue) {
- return function decorator(target, key) {
- ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));
- };
- }
- });
- /***/ }),
- /* 419 */
- /*!*****************************************!*\
- !*** ./node_modules/core-js/stage/0.js ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/efficient-64-bit-arithmetic */ 420);
- __webpack_require__(/*! ../proposals/string-at */ 425);
- __webpack_require__(/*! ../proposals/url */ 427);
- var parent = __webpack_require__(/*! ./1 */ 434);
- module.exports = parent;
- /***/ }),
- /* 420 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/proposals/efficient-64-bit-arithmetic.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.math.iaddh */ 421);
- __webpack_require__(/*! ../modules/esnext.math.isubh */ 422);
- __webpack_require__(/*! ../modules/esnext.math.imulh */ 423);
- __webpack_require__(/*! ../modules/esnext.math.umulh */ 424);
- /***/ }),
- /* 421 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.iaddh.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.iaddh` method
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
- // TODO: Remove from `core-js@4`
- $({ target: 'Math', stat: true }, {
- iaddh: function iaddh(x0, x1, y0, y1) {
- var $x0 = x0 >>> 0;
- var $x1 = x1 >>> 0;
- var $y0 = y0 >>> 0;
- return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;
- }
- });
- /***/ }),
- /* 422 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.isubh.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.isubh` method
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
- // TODO: Remove from `core-js@4`
- $({ target: 'Math', stat: true }, {
- isubh: function isubh(x0, x1, y0, y1) {
- var $x0 = x0 >>> 0;
- var $x1 = x1 >>> 0;
- var $y0 = y0 >>> 0;
- return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;
- }
- });
- /***/ }),
- /* 423 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.imulh.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.imulh` method
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
- // TODO: Remove from `core-js@4`
- $({ target: 'Math', stat: true }, {
- imulh: function imulh(u, v) {
- var UINT16 = 0xFFFF;
- var $u = +u;
- var $v = +v;
- var u0 = $u & UINT16;
- var v0 = $v & UINT16;
- var u1 = $u >> 16;
- var v1 = $v >> 16;
- var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
- return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);
- }
- });
- /***/ }),
- /* 424 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.umulh.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.umulh` method
- // https://gist.github.com/BrendanEich/4294d5c212a6d2254703
- // TODO: Remove from `core-js@4`
- $({ target: 'Math', stat: true }, {
- umulh: function umulh(u, v) {
- var UINT16 = 0xFFFF;
- var $u = +u;
- var $v = +v;
- var u0 = $u & UINT16;
- var v0 = $v & UINT16;
- var u1 = $u >>> 16;
- var v1 = $v >>> 16;
- var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);
- return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);
- }
- });
- /***/ }),
- /* 425 */
- /*!*****************************************************!*\
- !*** ./node_modules/core-js/proposals/string-at.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.string.at */ 426);
- /***/ }),
- /* 426 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.string.at.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var charAt = __webpack_require__(/*! ../internals/string-multibyte */ 220).charAt;
- // `String.prototype.at` method
- // https://github.com/mathiasbynens/String.prototype.at
- $({ target: 'String', proto: true }, {
- at: function at(pos) {
- return charAt(this, pos);
- }
- });
- /***/ }),
- /* 427 */
- /*!***********************************************!*\
- !*** ./node_modules/core-js/proposals/url.js ***!
- \***********************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/web.url */ 428);
- __webpack_require__(/*! ../modules/web.url.to-json */ 433);
- __webpack_require__(/*! ../modules/web.url-search-params */ 431);
- /***/ }),
- /* 428 */
- /*!*************************************************!*\
- !*** ./node_modules/core-js/modules/web.url.js ***!
- \*************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
- __webpack_require__(/*! ../modules/es.string.iterator */ 252);
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var USE_NATIVE_URL = __webpack_require__(/*! ../internals/native-url */ 429);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ 95);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var assign = __webpack_require__(/*! ../internals/object-assign */ 122);
- var arrayFrom = __webpack_require__(/*! ../internals/array-from */ 171);
- var codeAt = __webpack_require__(/*! ../internals/string-multibyte */ 220).codeAt;
- var toASCII = __webpack_require__(/*! ../internals/string-punycode-to-ascii */ 430);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var URLSearchParamsModule = __webpack_require__(/*! ../modules/web.url-search-params */ 431);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var NativeURL = global.URL;
- var URLSearchParams = URLSearchParamsModule.URLSearchParams;
- var getInternalSearchParamsState = URLSearchParamsModule.getState;
- var setInternalState = InternalStateModule.set;
- var getInternalURLState = InternalStateModule.getterFor('URL');
- var floor = Math.floor;
- var pow = Math.pow;
- var INVALID_AUTHORITY = 'Invalid authority';
- var INVALID_SCHEME = 'Invalid scheme';
- var INVALID_HOST = 'Invalid host';
- var INVALID_PORT = 'Invalid port';
- var ALPHA = /[A-Za-z]/;
- var ALPHANUMERIC = /[\d+-.A-Za-z]/;
- var DIGIT = /\d/;
- var HEX_START = /^(0x|0X)/;
- var OCT = /^[0-7]+$/;
- var DEC = /^\d+$/;
- var HEX = /^[\dA-Fa-f]+$/;
- // eslint-disable-next-line no-control-regex
- var FORBIDDEN_HOST_CODE_POINT = /[\u0000\u0009\u000A\u000D #%/:?@[\\]]/;
- // eslint-disable-next-line no-control-regex
- var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\u0000\u0009\u000A\u000D #/:?@[\\]]/;
- // eslint-disable-next-line no-control-regex
- var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g;
- // eslint-disable-next-line no-control-regex
- var TAB_AND_NEW_LINE = /[\u0009\u000A\u000D]/g;
- var EOF;
- var parseHost = function (url, input) {
- var result, codePoints, index;
- if (input.charAt(0) == '[') {
- if (input.charAt(input.length - 1) != ']') return INVALID_HOST;
- result = parseIPv6(input.slice(1, -1));
- if (!result) return INVALID_HOST;
- url.host = result;
- // opaque host
- } else if (!isSpecial(url)) {
- if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST;
- result = '';
- codePoints = arrayFrom(input);
- for (index = 0; index < codePoints.length; index++) {
- result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
- }
- url.host = result;
- } else {
- input = toASCII(input);
- if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST;
- result = parseIPv4(input);
- if (result === null) return INVALID_HOST;
- url.host = result;
- }
- };
- var parseIPv4 = function (input) {
- var parts = input.split('.');
- var partsLength, numbers, index, part, radix, number, ipv4;
- if (parts.length && parts[parts.length - 1] == '') {
- parts.pop();
- }
- partsLength = parts.length;
- if (partsLength > 4) return input;
- numbers = [];
- for (index = 0; index < partsLength; index++) {
- part = parts[index];
- if (part == '') return input;
- radix = 10;
- if (part.length > 1 && part.charAt(0) == '0') {
- radix = HEX_START.test(part) ? 16 : 8;
- part = part.slice(radix == 8 ? 1 : 2);
- }
- if (part === '') {
- number = 0;
- } else {
- if (!(radix == 10 ? DEC : radix == 8 ? OCT : HEX).test(part)) return input;
- number = parseInt(part, radix);
- }
- numbers.push(number);
- }
- for (index = 0; index < partsLength; index++) {
- number = numbers[index];
- if (index == partsLength - 1) {
- if (number >= pow(256, 5 - partsLength)) return null;
- } else if (number > 255) return null;
- }
- ipv4 = numbers.pop();
- for (index = 0; index < numbers.length; index++) {
- ipv4 += numbers[index] * pow(256, 3 - index);
- }
- return ipv4;
- };
- // eslint-disable-next-line max-statements
- var parseIPv6 = function (input) {
- var address = [0, 0, 0, 0, 0, 0, 0, 0];
- var pieceIndex = 0;
- var compress = null;
- var pointer = 0;
- var value, length, numbersSeen, ipv4Piece, number, swaps, swap;
- var char = function () {
- return input.charAt(pointer);
- };
- if (char() == ':') {
- if (input.charAt(1) != ':') return;
- pointer += 2;
- pieceIndex++;
- compress = pieceIndex;
- }
- while (char()) {
- if (pieceIndex == 8) return;
- if (char() == ':') {
- if (compress !== null) return;
- pointer++;
- pieceIndex++;
- compress = pieceIndex;
- continue;
- }
- value = length = 0;
- while (length < 4 && HEX.test(char())) {
- value = value * 16 + parseInt(char(), 16);
- pointer++;
- length++;
- }
- if (char() == '.') {
- if (length == 0) return;
- pointer -= length;
- if (pieceIndex > 6) return;
- numbersSeen = 0;
- while (char()) {
- ipv4Piece = null;
- if (numbersSeen > 0) {
- if (char() == '.' && numbersSeen < 4) pointer++;
- else return;
- }
- if (!DIGIT.test(char())) return;
- while (DIGIT.test(char())) {
- number = parseInt(char(), 10);
- if (ipv4Piece === null) ipv4Piece = number;
- else if (ipv4Piece == 0) return;
- else ipv4Piece = ipv4Piece * 10 + number;
- if (ipv4Piece > 255) return;
- pointer++;
- }
- address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
- numbersSeen++;
- if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;
- }
- if (numbersSeen != 4) return;
- break;
- } else if (char() == ':') {
- pointer++;
- if (!char()) return;
- } else if (char()) return;
- address[pieceIndex++] = value;
- }
- if (compress !== null) {
- swaps = pieceIndex - compress;
- pieceIndex = 7;
- while (pieceIndex != 0 && swaps > 0) {
- swap = address[pieceIndex];
- address[pieceIndex--] = address[compress + swaps - 1];
- address[compress + --swaps] = swap;
- }
- } else if (pieceIndex != 8) return;
- return address;
- };
- var findLongestZeroSequence = function (ipv6) {
- var maxIndex = null;
- var maxLength = 1;
- var currStart = null;
- var currLength = 0;
- var index = 0;
- for (; index < 8; index++) {
- if (ipv6[index] !== 0) {
- if (currLength > maxLength) {
- maxIndex = currStart;
- maxLength = currLength;
- }
- currStart = null;
- currLength = 0;
- } else {
- if (currStart === null) currStart = index;
- ++currLength;
- }
- }
- if (currLength > maxLength) {
- maxIndex = currStart;
- maxLength = currLength;
- }
- return maxIndex;
- };
- var serializeHost = function (host) {
- var result, index, compress, ignore0;
- // ipv4
- if (typeof host == 'number') {
- result = [];
- for (index = 0; index < 4; index++) {
- result.unshift(host % 256);
- host = floor(host / 256);
- } return result.join('.');
- // ipv6
- } else if (typeof host == 'object') {
- result = '';
- compress = findLongestZeroSequence(host);
- for (index = 0; index < 8; index++) {
- if (ignore0 && host[index] === 0) continue;
- if (ignore0) ignore0 = false;
- if (compress === index) {
- result += index ? ':' : '::';
- ignore0 = true;
- } else {
- result += host[index].toString(16);
- if (index < 7) result += ':';
- }
- }
- return '[' + result + ']';
- } return host;
- };
- var C0ControlPercentEncodeSet = {};
- var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
- ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
- });
- var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
- '#': 1, '?': 1, '{': 1, '}': 1
- });
- var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
- '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
- });
- var percentEncode = function (char, set) {
- var code = codeAt(char, 0);
- return code > 0x20 && code < 0x7F && !has(set, char) ? char : encodeURIComponent(char);
- };
- var specialSchemes = {
- ftp: 21,
- file: null,
- http: 80,
- https: 443,
- ws: 80,
- wss: 443
- };
- var isSpecial = function (url) {
- return has(specialSchemes, url.scheme);
- };
- var includesCredentials = function (url) {
- return url.username != '' || url.password != '';
- };
- var cannotHaveUsernamePasswordPort = function (url) {
- return !url.host || url.cannotBeABaseURL || url.scheme == 'file';
- };
- var isWindowsDriveLetter = function (string, normalized) {
- var second;
- return string.length == 2 && ALPHA.test(string.charAt(0))
- && ((second = string.charAt(1)) == ':' || (!normalized && second == '|'));
- };
- var startsWithWindowsDriveLetter = function (string) {
- var third;
- return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && (
- string.length == 2 ||
- ((third = string.charAt(2)) === '/' || third === '\\' || third === '?' || third === '#')
- );
- };
- var shortenURLsPath = function (url) {
- var path = url.path;
- var pathSize = path.length;
- if (pathSize && (url.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {
- path.pop();
- }
- };
- var isSingleDot = function (segment) {
- return segment === '.' || segment.toLowerCase() === '%2e';
- };
- var isDoubleDot = function (segment) {
- segment = segment.toLowerCase();
- return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
- };
- // States:
- var SCHEME_START = {};
- var SCHEME = {};
- var NO_SCHEME = {};
- var SPECIAL_RELATIVE_OR_AUTHORITY = {};
- var PATH_OR_AUTHORITY = {};
- var RELATIVE = {};
- var RELATIVE_SLASH = {};
- var SPECIAL_AUTHORITY_SLASHES = {};
- var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
- var AUTHORITY = {};
- var HOST = {};
- var HOSTNAME = {};
- var PORT = {};
- var FILE = {};
- var FILE_SLASH = {};
- var FILE_HOST = {};
- var PATH_START = {};
- var PATH = {};
- var CANNOT_BE_A_BASE_URL_PATH = {};
- var QUERY = {};
- var FRAGMENT = {};
- // eslint-disable-next-line max-statements
- var parseURL = function (url, input, stateOverride, base) {
- var state = stateOverride || SCHEME_START;
- var pointer = 0;
- var buffer = '';
- var seenAt = false;
- var seenBracket = false;
- var seenPasswordToken = false;
- var codePoints, char, bufferCodePoints, failure;
- if (!stateOverride) {
- url.scheme = '';
- url.username = '';
- url.password = '';
- url.host = null;
- url.port = null;
- url.path = [];
- url.query = null;
- url.fragment = null;
- url.cannotBeABaseURL = false;
- input = input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');
- }
- input = input.replace(TAB_AND_NEW_LINE, '');
- codePoints = arrayFrom(input);
- while (pointer <= codePoints.length) {
- char = codePoints[pointer];
- switch (state) {
- case SCHEME_START:
- if (char && ALPHA.test(char)) {
- buffer += char.toLowerCase();
- state = SCHEME;
- } else if (!stateOverride) {
- state = NO_SCHEME;
- continue;
- } else return INVALID_SCHEME;
- break;
- case SCHEME:
- if (char && (ALPHANUMERIC.test(char) || char == '+' || char == '-' || char == '.')) {
- buffer += char.toLowerCase();
- } else if (char == ':') {
- if (stateOverride && (
- (isSpecial(url) != has(specialSchemes, buffer)) ||
- (buffer == 'file' && (includesCredentials(url) || url.port !== null)) ||
- (url.scheme == 'file' && !url.host)
- )) return;
- url.scheme = buffer;
- if (stateOverride) {
- if (isSpecial(url) && specialSchemes[url.scheme] == url.port) url.port = null;
- return;
- }
- buffer = '';
- if (url.scheme == 'file') {
- state = FILE;
- } else if (isSpecial(url) && base && base.scheme == url.scheme) {
- state = SPECIAL_RELATIVE_OR_AUTHORITY;
- } else if (isSpecial(url)) {
- state = SPECIAL_AUTHORITY_SLASHES;
- } else if (codePoints[pointer + 1] == '/') {
- state = PATH_OR_AUTHORITY;
- pointer++;
- } else {
- url.cannotBeABaseURL = true;
- url.path.push('');
- state = CANNOT_BE_A_BASE_URL_PATH;
- }
- } else if (!stateOverride) {
- buffer = '';
- state = NO_SCHEME;
- pointer = 0;
- continue;
- } else return INVALID_SCHEME;
- break;
- case NO_SCHEME:
- if (!base || (base.cannotBeABaseURL && char != '#')) return INVALID_SCHEME;
- if (base.cannotBeABaseURL && char == '#') {
- url.scheme = base.scheme;
- url.path = base.path.slice();
- url.query = base.query;
- url.fragment = '';
- url.cannotBeABaseURL = true;
- state = FRAGMENT;
- break;
- }
- state = base.scheme == 'file' ? FILE : RELATIVE;
- continue;
- case SPECIAL_RELATIVE_OR_AUTHORITY:
- if (char == '/' && codePoints[pointer + 1] == '/') {
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
- pointer++;
- } else {
- state = RELATIVE;
- continue;
- } break;
- case PATH_OR_AUTHORITY:
- if (char == '/') {
- state = AUTHORITY;
- break;
- } else {
- state = PATH;
- continue;
- }
- case RELATIVE:
- url.scheme = base.scheme;
- if (char == EOF) {
- url.username = base.username;
- url.password = base.password;
- url.host = base.host;
- url.port = base.port;
- url.path = base.path.slice();
- url.query = base.query;
- } else if (char == '/' || (char == '\\' && isSpecial(url))) {
- state = RELATIVE_SLASH;
- } else if (char == '?') {
- url.username = base.username;
- url.password = base.password;
- url.host = base.host;
- url.port = base.port;
- url.path = base.path.slice();
- url.query = '';
- state = QUERY;
- } else if (char == '#') {
- url.username = base.username;
- url.password = base.password;
- url.host = base.host;
- url.port = base.port;
- url.path = base.path.slice();
- url.query = base.query;
- url.fragment = '';
- state = FRAGMENT;
- } else {
- url.username = base.username;
- url.password = base.password;
- url.host = base.host;
- url.port = base.port;
- url.path = base.path.slice();
- url.path.pop();
- state = PATH;
- continue;
- } break;
- case RELATIVE_SLASH:
- if (isSpecial(url) && (char == '/' || char == '\\')) {
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
- } else if (char == '/') {
- state = AUTHORITY;
- } else {
- url.username = base.username;
- url.password = base.password;
- url.host = base.host;
- url.port = base.port;
- state = PATH;
- continue;
- } break;
- case SPECIAL_AUTHORITY_SLASHES:
- state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
- if (char != '/' || buffer.charAt(pointer + 1) != '/') continue;
- pointer++;
- break;
- case SPECIAL_AUTHORITY_IGNORE_SLASHES:
- if (char != '/' && char != '\\') {
- state = AUTHORITY;
- continue;
- } break;
- case AUTHORITY:
- if (char == '@') {
- if (seenAt) buffer = '%40' + buffer;
- seenAt = true;
- bufferCodePoints = arrayFrom(buffer);
- for (var i = 0; i < bufferCodePoints.length; i++) {
- var codePoint = bufferCodePoints[i];
- if (codePoint == ':' && !seenPasswordToken) {
- seenPasswordToken = true;
- continue;
- }
- var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
- if (seenPasswordToken) url.password += encodedCodePoints;
- else url.username += encodedCodePoints;
- }
- buffer = '';
- } else if (
- char == EOF || char == '/' || char == '?' || char == '#' ||
- (char == '\\' && isSpecial(url))
- ) {
- if (seenAt && buffer == '') return INVALID_AUTHORITY;
- pointer -= arrayFrom(buffer).length + 1;
- buffer = '';
- state = HOST;
- } else buffer += char;
- break;
- case HOST:
- case HOSTNAME:
- if (stateOverride && url.scheme == 'file') {
- state = FILE_HOST;
- continue;
- } else if (char == ':' && !seenBracket) {
- if (buffer == '') return INVALID_HOST;
- failure = parseHost(url, buffer);
- if (failure) return failure;
- buffer = '';
- state = PORT;
- if (stateOverride == HOSTNAME) return;
- } else if (
- char == EOF || char == '/' || char == '?' || char == '#' ||
- (char == '\\' && isSpecial(url))
- ) {
- if (isSpecial(url) && buffer == '') return INVALID_HOST;
- if (stateOverride && buffer == '' && (includesCredentials(url) || url.port !== null)) return;
- failure = parseHost(url, buffer);
- if (failure) return failure;
- buffer = '';
- state = PATH_START;
- if (stateOverride) return;
- continue;
- } else {
- if (char == '[') seenBracket = true;
- else if (char == ']') seenBracket = false;
- buffer += char;
- } break;
- case PORT:
- if (DIGIT.test(char)) {
- buffer += char;
- } else if (
- char == EOF || char == '/' || char == '?' || char == '#' ||
- (char == '\\' && isSpecial(url)) ||
- stateOverride
- ) {
- if (buffer != '') {
- var port = parseInt(buffer, 10);
- if (port > 0xFFFF) return INVALID_PORT;
- url.port = (isSpecial(url) && port === specialSchemes[url.scheme]) ? null : port;
- buffer = '';
- }
- if (stateOverride) return;
- state = PATH_START;
- continue;
- } else return INVALID_PORT;
- break;
- case FILE:
- url.scheme = 'file';
- if (char == '/' || char == '\\') state = FILE_SLASH;
- else if (base && base.scheme == 'file') {
- if (char == EOF) {
- url.host = base.host;
- url.path = base.path.slice();
- url.query = base.query;
- } else if (char == '?') {
- url.host = base.host;
- url.path = base.path.slice();
- url.query = '';
- state = QUERY;
- } else if (char == '#') {
- url.host = base.host;
- url.path = base.path.slice();
- url.query = base.query;
- url.fragment = '';
- state = FRAGMENT;
- } else {
- if (!startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {
- url.host = base.host;
- url.path = base.path.slice();
- shortenURLsPath(url);
- }
- state = PATH;
- continue;
- }
- } else {
- state = PATH;
- continue;
- } break;
- case FILE_SLASH:
- if (char == '/' || char == '\\') {
- state = FILE_HOST;
- break;
- }
- if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {
- if (isWindowsDriveLetter(base.path[0], true)) url.path.push(base.path[0]);
- else url.host = base.host;
- }
- state = PATH;
- continue;
- case FILE_HOST:
- if (char == EOF || char == '/' || char == '\\' || char == '?' || char == '#') {
- if (!stateOverride && isWindowsDriveLetter(buffer)) {
- state = PATH;
- } else if (buffer == '') {
- url.host = '';
- if (stateOverride) return;
- state = PATH_START;
- } else {
- failure = parseHost(url, buffer);
- if (failure) return failure;
- if (url.host == 'localhost') url.host = '';
- if (stateOverride) return;
- buffer = '';
- state = PATH_START;
- } continue;
- } else buffer += char;
- break;
- case PATH_START:
- if (isSpecial(url)) {
- state = PATH;
- if (char != '/' && char != '\\') continue;
- } else if (!stateOverride && char == '?') {
- url.query = '';
- state = QUERY;
- } else if (!stateOverride && char == '#') {
- url.fragment = '';
- state = FRAGMENT;
- } else if (char != EOF) {
- state = PATH;
- if (char != '/') continue;
- } break;
- case PATH:
- if (
- char == EOF || char == '/' ||
- (char == '\\' && isSpecial(url)) ||
- (!stateOverride && (char == '?' || char == '#'))
- ) {
- if (isDoubleDot(buffer)) {
- shortenURLsPath(url);
- if (char != '/' && !(char == '\\' && isSpecial(url))) {
- url.path.push('');
- }
- } else if (isSingleDot(buffer)) {
- if (char != '/' && !(char == '\\' && isSpecial(url))) {
- url.path.push('');
- }
- } else {
- if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
- if (url.host) url.host = '';
- buffer = buffer.charAt(0) + ':'; // normalize windows drive letter
- }
- url.path.push(buffer);
- }
- buffer = '';
- if (url.scheme == 'file' && (char == EOF || char == '?' || char == '#')) {
- while (url.path.length > 1 && url.path[0] === '') {
- url.path.shift();
- }
- }
- if (char == '?') {
- url.query = '';
- state = QUERY;
- } else if (char == '#') {
- url.fragment = '';
- state = FRAGMENT;
- }
- } else {
- buffer += percentEncode(char, pathPercentEncodeSet);
- } break;
- case CANNOT_BE_A_BASE_URL_PATH:
- if (char == '?') {
- url.query = '';
- state = QUERY;
- } else if (char == '#') {
- url.fragment = '';
- state = FRAGMENT;
- } else if (char != EOF) {
- url.path[0] += percentEncode(char, C0ControlPercentEncodeSet);
- } break;
- case QUERY:
- if (!stateOverride && char == '#') {
- url.fragment = '';
- state = FRAGMENT;
- } else if (char != EOF) {
- if (char == "'" && isSpecial(url)) url.query += '%27';
- else if (char == '#') url.query += '%23';
- else url.query += percentEncode(char, C0ControlPercentEncodeSet);
- } break;
- case FRAGMENT:
- if (char != EOF) url.fragment += percentEncode(char, fragmentPercentEncodeSet);
- break;
- }
- pointer++;
- }
- };
- // `URL` constructor
- // https://url.spec.whatwg.org/#url-class
- var URLConstructor = function URL(url /* , base */) {
- var that = anInstance(this, URLConstructor, 'URL');
- var base = arguments.length > 1 ? arguments[1] : undefined;
- var urlString = String(url);
- var state = setInternalState(that, { type: 'URL' });
- var baseState, failure;
- if (base !== undefined) {
- if (base instanceof URLConstructor) baseState = getInternalURLState(base);
- else {
- failure = parseURL(baseState = {}, String(base));
- if (failure) throw TypeError(failure);
- }
- }
- failure = parseURL(state, urlString, null, baseState);
- if (failure) throw TypeError(failure);
- var searchParams = state.searchParams = new URLSearchParams();
- var searchParamsState = getInternalSearchParamsState(searchParams);
- searchParamsState.updateSearchParams(state.query);
- searchParamsState.updateURL = function () {
- state.query = String(searchParams) || null;
- };
- if (!DESCRIPTORS) {
- that.href = serializeURL.call(that);
- that.origin = getOrigin.call(that);
- that.protocol = getProtocol.call(that);
- that.username = getUsername.call(that);
- that.password = getPassword.call(that);
- that.host = getHost.call(that);
- that.hostname = getHostname.call(that);
- that.port = getPort.call(that);
- that.pathname = getPathname.call(that);
- that.search = getSearch.call(that);
- that.searchParams = getSearchParams.call(that);
- that.hash = getHash.call(that);
- }
- };
- var URLPrototype = URLConstructor.prototype;
- var serializeURL = function () {
- var url = getInternalURLState(this);
- var scheme = url.scheme;
- var username = url.username;
- var password = url.password;
- var host = url.host;
- var port = url.port;
- var path = url.path;
- var query = url.query;
- var fragment = url.fragment;
- var output = scheme + ':';
- if (host !== null) {
- output += '//';
- if (includesCredentials(url)) {
- output += username + (password ? ':' + password : '') + '@';
- }
- output += serializeHost(host);
- if (port !== null) output += ':' + port;
- } else if (scheme == 'file') output += '//';
- output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';
- if (query !== null) output += '?' + query;
- if (fragment !== null) output += '#' + fragment;
- return output;
- };
- var getOrigin = function () {
- var url = getInternalURLState(this);
- var scheme = url.scheme;
- var port = url.port;
- if (scheme == 'blob') try {
- return new URL(scheme.path[0]).origin;
- } catch (error) {
- return 'null';
- }
- if (scheme == 'file' || !isSpecial(url)) return 'null';
- return scheme + '://' + serializeHost(url.host) + (port !== null ? ':' + port : '');
- };
- var getProtocol = function () {
- return getInternalURLState(this).scheme + ':';
- };
- var getUsername = function () {
- return getInternalURLState(this).username;
- };
- var getPassword = function () {
- return getInternalURLState(this).password;
- };
- var getHost = function () {
- var url = getInternalURLState(this);
- var host = url.host;
- var port = url.port;
- return host === null ? ''
- : port === null ? serializeHost(host)
- : serializeHost(host) + ':' + port;
- };
- var getHostname = function () {
- var host = getInternalURLState(this).host;
- return host === null ? '' : serializeHost(host);
- };
- var getPort = function () {
- var port = getInternalURLState(this).port;
- return port === null ? '' : String(port);
- };
- var getPathname = function () {
- var url = getInternalURLState(this);
- var path = url.path;
- return url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';
- };
- var getSearch = function () {
- var query = getInternalURLState(this).query;
- return query ? '?' + query : '';
- };
- var getSearchParams = function () {
- return getInternalURLState(this).searchParams;
- };
- var getHash = function () {
- var fragment = getInternalURLState(this).fragment;
- return fragment ? '#' + fragment : '';
- };
- var accessorDescriptor = function (getter, setter) {
- return { get: getter, set: setter, configurable: true, enumerable: true };
- };
- if (DESCRIPTORS) {
- defineProperties(URLPrototype, {
- // `URL.prototype.href` accessors pair
- // https://url.spec.whatwg.org/#dom-url-href
- href: accessorDescriptor(serializeURL, function (href) {
- var url = getInternalURLState(this);
- var urlString = String(href);
- var failure = parseURL(url, urlString);
- if (failure) throw TypeError(failure);
- getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);
- }),
- // `URL.prototype.origin` getter
- // https://url.spec.whatwg.org/#dom-url-origin
- origin: accessorDescriptor(getOrigin),
- // `URL.prototype.protocol` accessors pair
- // https://url.spec.whatwg.org/#dom-url-protocol
- protocol: accessorDescriptor(getProtocol, function (protocol) {
- var url = getInternalURLState(this);
- parseURL(url, String(protocol) + ':', SCHEME_START);
- }),
- // `URL.prototype.username` accessors pair
- // https://url.spec.whatwg.org/#dom-url-username
- username: accessorDescriptor(getUsername, function (username) {
- var url = getInternalURLState(this);
- var codePoints = arrayFrom(String(username));
- if (cannotHaveUsernamePasswordPort(url)) return;
- url.username = '';
- for (var i = 0; i < codePoints.length; i++) {
- url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
- }
- }),
- // `URL.prototype.password` accessors pair
- // https://url.spec.whatwg.org/#dom-url-password
- password: accessorDescriptor(getPassword, function (password) {
- var url = getInternalURLState(this);
- var codePoints = arrayFrom(String(password));
- if (cannotHaveUsernamePasswordPort(url)) return;
- url.password = '';
- for (var i = 0; i < codePoints.length; i++) {
- url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
- }
- }),
- // `URL.prototype.host` accessors pair
- // https://url.spec.whatwg.org/#dom-url-host
- host: accessorDescriptor(getHost, function (host) {
- var url = getInternalURLState(this);
- if (url.cannotBeABaseURL) return;
- parseURL(url, String(host), HOST);
- }),
- // `URL.prototype.hostname` accessors pair
- // https://url.spec.whatwg.org/#dom-url-hostname
- hostname: accessorDescriptor(getHostname, function (hostname) {
- var url = getInternalURLState(this);
- if (url.cannotBeABaseURL) return;
- parseURL(url, String(hostname), HOSTNAME);
- }),
- // `URL.prototype.port` accessors pair
- // https://url.spec.whatwg.org/#dom-url-port
- port: accessorDescriptor(getPort, function (port) {
- var url = getInternalURLState(this);
- if (cannotHaveUsernamePasswordPort(url)) return;
- port = String(port);
- if (port == '') url.port = null;
- else parseURL(url, port, PORT);
- }),
- // `URL.prototype.pathname` accessors pair
- // https://url.spec.whatwg.org/#dom-url-pathname
- pathname: accessorDescriptor(getPathname, function (pathname) {
- var url = getInternalURLState(this);
- if (url.cannotBeABaseURL) return;
- url.path = [];
- parseURL(url, pathname + '', PATH_START);
- }),
- // `URL.prototype.search` accessors pair
- // https://url.spec.whatwg.org/#dom-url-search
- search: accessorDescriptor(getSearch, function (search) {
- var url = getInternalURLState(this);
- search = String(search);
- if (search == '') {
- url.query = null;
- } else {
- if ('?' == search.charAt(0)) search = search.slice(1);
- url.query = '';
- parseURL(url, search, QUERY);
- }
- getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);
- }),
- // `URL.prototype.searchParams` getter
- // https://url.spec.whatwg.org/#dom-url-searchparams
- searchParams: accessorDescriptor(getSearchParams),
- // `URL.prototype.hash` accessors pair
- // https://url.spec.whatwg.org/#dom-url-hash
- hash: accessorDescriptor(getHash, function (hash) {
- var url = getInternalURLState(this);
- hash = String(hash);
- if (hash == '') {
- url.fragment = null;
- return;
- }
- if ('#' == hash.charAt(0)) hash = hash.slice(1);
- url.fragment = '';
- parseURL(url, hash, FRAGMENT);
- })
- });
- }
- // `URL.prototype.toJSON` method
- // https://url.spec.whatwg.org/#dom-url-tojson
- redefine(URLPrototype, 'toJSON', function toJSON() {
- return serializeURL.call(this);
- }, { enumerable: true });
- // `URL.prototype.toString` method
- // https://url.spec.whatwg.org/#URL-stringification-behavior
- redefine(URLPrototype, 'toString', function toString() {
- return serializeURL.call(this);
- }, { enumerable: true });
- if (NativeURL) {
- var nativeCreateObjectURL = NativeURL.createObjectURL;
- var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
- // `URL.createObjectURL` method
- // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
- // eslint-disable-next-line no-unused-vars
- if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) {
- return nativeCreateObjectURL.apply(NativeURL, arguments);
- });
- // `URL.revokeObjectURL` method
- // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
- // eslint-disable-next-line no-unused-vars
- if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) {
- return nativeRevokeObjectURL.apply(NativeURL, arguments);
- });
- }
- setToStringTag(URLConstructor, 'URL');
- $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
- URL: URLConstructor
- });
- /***/ }),
- /* 429 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/native-url.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var ITERATOR = wellKnownSymbol('iterator');
- module.exports = !fails(function () {
- var url = new URL('b?a=1&b=2&c=3', 'http://a');
- var searchParams = url.searchParams;
- var result = '';
- url.pathname = 'c%20d';
- searchParams.forEach(function (value, key) {
- searchParams['delete']('b');
- result += key + value;
- });
- return (IS_PURE && !url.toJSON)
- || !searchParams.sort
- || url.href !== 'http://a/c%20d?a=1&c=3'
- || searchParams.get('c') !== '3'
- || String(new URLSearchParams('?a=1')) !== 'a=1'
- || !searchParams[ITERATOR]
- // throws in Edge
- || new URL('https://a@b').username !== 'a'
- || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
- // not punycoded in Edge
- || new URL('http://тест').host !== 'xn--e1aybc'
- // not escaped in Chrome 62-
- || new URL('http://a#б').hash !== '#%D0%B1'
- // fails in Chrome 66-
- || result !== 'a1c3'
- // throws in Safari
- || new URL('http://x', undefined).host !== 'x';
- });
- /***/ }),
- /* 430 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/string-punycode-to-ascii.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
- var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
- var base = 36;
- var tMin = 1;
- var tMax = 26;
- var skew = 38;
- var damp = 700;
- var initialBias = 72;
- var initialN = 128; // 0x80
- var delimiter = '-'; // '\x2D'
- var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
- var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
- var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
- var baseMinusTMin = base - tMin;
- var floor = Math.floor;
- var stringFromCharCode = String.fromCharCode;
- /**
- * Creates an array containing the numeric code points of each Unicode
- * character in the string. While JavaScript uses UCS-2 internally,
- * this function will convert a pair of surrogate halves (each of which
- * UCS-2 exposes as separate characters) into a single code point,
- * matching UTF-16.
- */
- var ucs2decode = function (string) {
- var output = [];
- var counter = 0;
- var length = string.length;
- while (counter < length) {
- var value = string.charCodeAt(counter++);
- if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
- // It's a high surrogate, and there is a next character.
- var extra = string.charCodeAt(counter++);
- if ((extra & 0xFC00) == 0xDC00) { // Low surrogate.
- output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
- } else {
- // It's an unmatched surrogate; only append this code unit, in case the
- // next code unit is the high surrogate of a surrogate pair.
- output.push(value);
- counter--;
- }
- } else {
- output.push(value);
- }
- }
- return output;
- };
- /**
- * Converts a digit/integer into a basic code point.
- */
- var digitToBasic = function (digit) {
- // 0..25 map to ASCII a..z or A..Z
- // 26..35 map to ASCII 0..9
- return digit + 22 + 75 * (digit < 26);
- };
- /**
- * Bias adaptation function as per section 3.4 of RFC 3492.
- * https://tools.ietf.org/html/rfc3492#section-3.4
- */
- var adapt = function (delta, numPoints, firstTime) {
- var k = 0;
- delta = firstTime ? floor(delta / damp) : delta >> 1;
- delta += floor(delta / numPoints);
- for (; delta > baseMinusTMin * tMax >> 1; k += base) {
- delta = floor(delta / baseMinusTMin);
- }
- return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
- };
- /**
- * Converts a string of Unicode symbols (e.g. a domain name label) to a
- * Punycode string of ASCII-only symbols.
- */
- // eslint-disable-next-line max-statements
- var encode = function (input) {
- var output = [];
- // Convert the input in UCS-2 to an array of Unicode code points.
- input = ucs2decode(input);
- // Cache the length.
- var inputLength = input.length;
- // Initialize the state.
- var n = initialN;
- var delta = 0;
- var bias = initialBias;
- var i, currentValue;
- // Handle the basic code points.
- for (i = 0; i < input.length; i++) {
- currentValue = input[i];
- if (currentValue < 0x80) {
- output.push(stringFromCharCode(currentValue));
- }
- }
- var basicLength = output.length; // number of basic code points.
- var handledCPCount = basicLength; // number of code points that have been handled;
- // Finish the basic string with a delimiter unless it's empty.
- if (basicLength) {
- output.push(delimiter);
- }
- // Main encoding loop:
- while (handledCPCount < inputLength) {
- // All non-basic code points < n have been handled already. Find the next larger one:
- var m = maxInt;
- for (i = 0; i < input.length; i++) {
- currentValue = input[i];
- if (currentValue >= n && currentValue < m) {
- m = currentValue;
- }
- }
- // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
- var handledCPCountPlusOne = handledCPCount + 1;
- if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
- throw RangeError(OVERFLOW_ERROR);
- }
- delta += (m - n) * handledCPCountPlusOne;
- n = m;
- for (i = 0; i < input.length; i++) {
- currentValue = input[i];
- if (currentValue < n && ++delta > maxInt) {
- throw RangeError(OVERFLOW_ERROR);
- }
- if (currentValue == n) {
- // Represent delta as a generalized variable-length integer.
- var q = delta;
- for (var k = base; /* no condition */; k += base) {
- var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);
- if (q < t) break;
- var qMinusT = q - t;
- var baseMinusT = base - t;
- output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
- q = floor(qMinusT / baseMinusT);
- }
- output.push(stringFromCharCode(digitToBasic(q)));
- bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);
- delta = 0;
- ++handledCPCount;
- }
- }
- ++delta;
- ++n;
- }
- return output.join('');
- };
- module.exports = function (input) {
- var encoded = [];
- var labels = input.toLowerCase().replace(regexSeparators, '\u002E').split('.');
- var i, label;
- for (i = 0; i < labels.length; i++) {
- label = labels[i];
- encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label);
- }
- return encoded.join('.');
- };
- /***/ }),
- /* 431 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/web.url-search-params.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
- __webpack_require__(/*! ../modules/es.array.iterator */ 213);
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var USE_NATIVE_URL = __webpack_require__(/*! ../internals/native-url */ 429);
- var redefine = __webpack_require__(/*! ../internals/redefine */ 66);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 102);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var hasOwn = __webpack_require__(/*! ../internals/has */ 60);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var classof = __webpack_require__(/*! ../internals/classof */ 136);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 432);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var $fetch = getBuiltIn('fetch');
- var Headers = getBuiltIn('Headers');
- var ITERATOR = wellKnownSymbol('iterator');
- var URL_SEARCH_PARAMS = 'URLSearchParams';
- var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);
- var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);
- var plus = /\+/g;
- var sequences = Array(4);
- var percentSequence = function (bytes) {
- return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi'));
- };
- var percentDecode = function (sequence) {
- try {
- return decodeURIComponent(sequence);
- } catch (error) {
- return sequence;
- }
- };
- var deserialize = function (it) {
- var result = it.replace(plus, ' ');
- var bytes = 4;
- try {
- return decodeURIComponent(result);
- } catch (error) {
- while (bytes) {
- result = result.replace(percentSequence(bytes--), percentDecode);
- }
- return result;
- }
- };
- var find = /[!'()~]|%20/g;
- var replace = {
- '!': '%21',
- "'": '%27',
- '(': '%28',
- ')': '%29',
- '~': '%7E',
- '%20': '+'
- };
- var replacer = function (match) {
- return replace[match];
- };
- var serialize = function (it) {
- return encodeURIComponent(it).replace(find, replacer);
- };
- var parseSearchParams = function (result, query) {
- if (query) {
- var attributes = query.split('&');
- var index = 0;
- var attribute, entry;
- while (index < attributes.length) {
- attribute = attributes[index++];
- if (attribute.length) {
- entry = attribute.split('=');
- result.push({
- key: deserialize(entry.shift()),
- value: deserialize(entry.join('='))
- });
- }
- }
- }
- };
- var updateSearchParams = function (query) {
- this.entries.length = 0;
- parseSearchParams(this.entries, query);
- };
- var validateArgumentsLength = function (passed, required) {
- if (passed < required) throw TypeError('Not enough arguments');
- };
- var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
- setInternalState(this, {
- type: URL_SEARCH_PARAMS_ITERATOR,
- iterator: getIterator(getInternalParamsState(params).entries),
- kind: kind
- });
- }, 'Iterator', function next() {
- var state = getInternalIteratorState(this);
- var kind = state.kind;
- var step = state.iterator.next();
- var entry = step.value;
- if (!step.done) {
- step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];
- } return step;
- });
- // `URLSearchParams` constructor
- // https://url.spec.whatwg.org/#interface-urlsearchparams
- var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
- anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS);
- var init = arguments.length > 0 ? arguments[0] : undefined;
- var that = this;
- var entries = [];
- var iteratorMethod, iterator, next, step, entryIterator, entryNext, first, second, key;
- setInternalState(that, {
- type: URL_SEARCH_PARAMS,
- entries: entries,
- updateURL: function () { /* empty */ },
- updateSearchParams: updateSearchParams
- });
- if (init !== undefined) {
- if (isObject(init)) {
- iteratorMethod = getIteratorMethod(init);
- if (typeof iteratorMethod === 'function') {
- iterator = iteratorMethod.call(init);
- next = iterator.next;
- while (!(step = next.call(iterator)).done) {
- entryIterator = getIterator(anObject(step.value));
- entryNext = entryIterator.next;
- if (
- (first = entryNext.call(entryIterator)).done ||
- (second = entryNext.call(entryIterator)).done ||
- !entryNext.call(entryIterator).done
- ) throw TypeError('Expected sequence with length 2');
- entries.push({ key: first.value + '', value: second.value + '' });
- }
- } else for (key in init) if (hasOwn(init, key)) entries.push({ key: key, value: init[key] + '' });
- } else {
- parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + '');
- }
- }
- };
- var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
- redefineAll(URLSearchParamsPrototype, {
- // `URLSearchParams.prototype.appent` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-append
- append: function append(name, value) {
- validateArgumentsLength(arguments.length, 2);
- var state = getInternalParamsState(this);
- state.entries.push({ key: name + '', value: value + '' });
- state.updateURL();
- },
- // `URLSearchParams.prototype.delete` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
- 'delete': function (name) {
- validateArgumentsLength(arguments.length, 1);
- var state = getInternalParamsState(this);
- var entries = state.entries;
- var key = name + '';
- var index = 0;
- while (index < entries.length) {
- if (entries[index].key === key) entries.splice(index, 1);
- else index++;
- }
- state.updateURL();
- },
- // `URLSearchParams.prototype.get` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-get
- get: function get(name) {
- validateArgumentsLength(arguments.length, 1);
- var entries = getInternalParamsState(this).entries;
- var key = name + '';
- var index = 0;
- for (; index < entries.length; index++) {
- if (entries[index].key === key) return entries[index].value;
- }
- return null;
- },
- // `URLSearchParams.prototype.getAll` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
- getAll: function getAll(name) {
- validateArgumentsLength(arguments.length, 1);
- var entries = getInternalParamsState(this).entries;
- var key = name + '';
- var result = [];
- var index = 0;
- for (; index < entries.length; index++) {
- if (entries[index].key === key) result.push(entries[index].value);
- }
- return result;
- },
- // `URLSearchParams.prototype.has` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-has
- has: function has(name) {
- validateArgumentsLength(arguments.length, 1);
- var entries = getInternalParamsState(this).entries;
- var key = name + '';
- var index = 0;
- while (index < entries.length) {
- if (entries[index++].key === key) return true;
- }
- return false;
- },
- // `URLSearchParams.prototype.set` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-set
- set: function set(name, value) {
- validateArgumentsLength(arguments.length, 1);
- var state = getInternalParamsState(this);
- var entries = state.entries;
- var found = false;
- var key = name + '';
- var val = value + '';
- var index = 0;
- var entry;
- for (; index < entries.length; index++) {
- entry = entries[index];
- if (entry.key === key) {
- if (found) entries.splice(index--, 1);
- else {
- found = true;
- entry.value = val;
- }
- }
- }
- if (!found) entries.push({ key: key, value: val });
- state.updateURL();
- },
- // `URLSearchParams.prototype.sort` method
- // https://url.spec.whatwg.org/#dom-urlsearchparams-sort
- sort: function sort() {
- var state = getInternalParamsState(this);
- var entries = state.entries;
- // Array#sort is not stable in some engines
- var slice = entries.slice();
- var entry, entriesIndex, sliceIndex;
- entries.length = 0;
- for (sliceIndex = 0; sliceIndex < slice.length; sliceIndex++) {
- entry = slice[sliceIndex];
- for (entriesIndex = 0; entriesIndex < sliceIndex; entriesIndex++) {
- if (entries[entriesIndex].key > entry.key) {
- entries.splice(entriesIndex, 0, entry);
- break;
- }
- }
- if (entriesIndex === sliceIndex) entries.push(entry);
- }
- state.updateURL();
- },
- // `URLSearchParams.prototype.forEach` method
- forEach: function forEach(callback /* , thisArg */) {
- var entries = getInternalParamsState(this).entries;
- var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined, 3);
- var index = 0;
- var entry;
- while (index < entries.length) {
- entry = entries[index++];
- boundFunction(entry.value, entry.key, this);
- }
- },
- // `URLSearchParams.prototype.keys` method
- keys: function keys() {
- return new URLSearchParamsIterator(this, 'keys');
- },
- // `URLSearchParams.prototype.values` method
- values: function values() {
- return new URLSearchParamsIterator(this, 'values');
- },
- // `URLSearchParams.prototype.entries` method
- entries: function entries() {
- return new URLSearchParamsIterator(this, 'entries');
- }
- }, { enumerable: true });
- // `URLSearchParams.prototype[@@iterator]` method
- redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries);
- // `URLSearchParams.prototype.toString` method
- // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
- redefine(URLSearchParamsPrototype, 'toString', function toString() {
- var entries = getInternalParamsState(this).entries;
- var result = [];
- var index = 0;
- var entry;
- while (index < entries.length) {
- entry = entries[index++];
- result.push(serialize(entry.key) + '=' + serialize(entry.value));
- } return result.join('&');
- }, { enumerable: true });
- setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
- $({ global: true, forced: !USE_NATIVE_URL }, {
- URLSearchParams: URLSearchParamsConstructor
- });
- // Wrap `fetch` for correct work with polyfilled `URLSearchParams`
- // https://github.com/zloirock/core-js/issues/674
- if (!USE_NATIVE_URL && typeof $fetch == 'function' && typeof Headers == 'function') {
- $({ global: true, enumerable: true, forced: true }, {
- fetch: function fetch(input /* , init */) {
- var args = [input];
- var init, body, headers;
- if (arguments.length > 1) {
- init = arguments[1];
- if (isObject(init)) {
- body = init.body;
- if (classof(body) === URL_SEARCH_PARAMS) {
- headers = init.headers ? new Headers(init.headers) : new Headers();
- if (!headers.has('content-type')) {
- headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
- }
- init = create(init, {
- body: createPropertyDescriptor(0, String(body)),
- headers: createPropertyDescriptor(0, headers)
- });
- }
- }
- args.push(init);
- } return $fetch.apply(this, args);
- }
- });
- }
- module.exports = {
- URLSearchParams: URLSearchParamsConstructor,
- getState: getInternalParamsState
- };
- /***/ }),
- /* 432 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/internals/get-iterator.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- module.exports = function (it) {
- var iteratorMethod = getIteratorMethod(it);
- if (typeof iteratorMethod != 'function') {
- throw TypeError(String(it) + ' is not iterable');
- } return anObject(iteratorMethod.call(it));
- };
- /***/ }),
- /* 433 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/web.url.to-json.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `URL.prototype.toJSON` method
- // https://url.spec.whatwg.org/#dom-url-tojson
- $({ target: 'URL', proto: true, enumerable: true }, {
- toJSON: function toJSON() {
- return URL.prototype.toString.call(this);
- }
- });
- /***/ }),
- /* 434 */
- /*!*****************************************!*\
- !*** ./node_modules/core-js/stage/1.js ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/array-last */ 435);
- __webpack_require__(/*! ../proposals/collection-methods */ 438);
- __webpack_require__(/*! ../proposals/collection-of-from */ 471);
- __webpack_require__(/*! ../proposals/keys-composition */ 482);
- __webpack_require__(/*! ../proposals/math-extensions */ 486);
- __webpack_require__(/*! ../proposals/math-signbit */ 495);
- __webpack_require__(/*! ../proposals/number-from-string */ 497);
- __webpack_require__(/*! ../proposals/object-iteration */ 499);
- __webpack_require__(/*! ../proposals/observable */ 504);
- __webpack_require__(/*! ../proposals/pattern-matching */ 507);
- __webpack_require__(/*! ../proposals/promise-try */ 509);
- __webpack_require__(/*! ../proposals/seeded-random */ 511);
- __webpack_require__(/*! ../proposals/string-code-points */ 513);
- var parent = __webpack_require__(/*! ./2 */ 515);
- module.exports = parent;
- /***/ }),
- /* 435 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/proposals/array-last.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.array.last-index */ 436);
- __webpack_require__(/*! ../modules/esnext.array.last-item */ 437);
- /***/ }),
- /* 436 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.array.last-index.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- // `Array.prototype.lastIndex` getter
- // https://github.com/keithamus/proposal-array-last
- if (DESCRIPTORS && !('lastIndex' in [])) {
- defineProperty(Array.prototype, 'lastIndex', {
- configurable: true,
- get: function lastIndex() {
- var O = toObject(this);
- var len = toLength(O.length);
- return len == 0 ? 0 : len - 1;
- }
- });
- addToUnscopables('lastIndex');
- }
- /***/ }),
- /* 437 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.array.last-item.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 181);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var toLength = __webpack_require__(/*! ../internals/to-length */ 84);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- // `Array.prototype.lastIndex` accessor
- // https://github.com/keithamus/proposal-array-last
- if (DESCRIPTORS && !('lastItem' in [])) {
- defineProperty(Array.prototype, 'lastItem', {
- configurable: true,
- get: function lastItem() {
- var O = toObject(this);
- var len = toLength(O.length);
- return len == 0 ? undefined : O[len - 1];
- },
- set: function lastItem(value) {
- var O = toObject(this);
- var len = toLength(O.length);
- return O[len == 0 ? 0 : len - 1] = value;
- }
- });
- addToUnscopables('lastItem');
- }
- /***/ }),
- /* 438 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/proposals/collection-methods.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.map.group-by */ 439);
- __webpack_require__(/*! ../modules/esnext.map.key-by */ 440);
- __webpack_require__(/*! ../modules/esnext.map.delete-all */ 441);
- __webpack_require__(/*! ../modules/esnext.map.every */ 443);
- __webpack_require__(/*! ../modules/esnext.map.filter */ 445);
- __webpack_require__(/*! ../modules/esnext.map.find */ 446);
- __webpack_require__(/*! ../modules/esnext.map.find-key */ 447);
- __webpack_require__(/*! ../modules/esnext.map.includes */ 448);
- __webpack_require__(/*! ../modules/esnext.map.key-of */ 450);
- __webpack_require__(/*! ../modules/esnext.map.map-keys */ 451);
- __webpack_require__(/*! ../modules/esnext.map.map-values */ 452);
- __webpack_require__(/*! ../modules/esnext.map.merge */ 453);
- __webpack_require__(/*! ../modules/esnext.map.reduce */ 454);
- __webpack_require__(/*! ../modules/esnext.map.some */ 455);
- __webpack_require__(/*! ../modules/esnext.map.update */ 456);
- __webpack_require__(/*! ../modules/esnext.set.add-all */ 457);
- __webpack_require__(/*! ../modules/esnext.set.delete-all */ 459);
- __webpack_require__(/*! ../modules/esnext.set.every */ 460);
- __webpack_require__(/*! ../modules/esnext.set.filter */ 462);
- __webpack_require__(/*! ../modules/esnext.set.find */ 463);
- __webpack_require__(/*! ../modules/esnext.set.join */ 464);
- __webpack_require__(/*! ../modules/esnext.set.map */ 465);
- __webpack_require__(/*! ../modules/esnext.set.reduce */ 466);
- __webpack_require__(/*! ../modules/esnext.set.some */ 467);
- __webpack_require__(/*! ../modules/esnext.weak-map.delete-all */ 468);
- __webpack_require__(/*! ../modules/esnext.weak-set.add-all */ 469);
- __webpack_require__(/*! ../modules/esnext.weak-set.delete-all */ 470);
- /***/ }),
- /* 439 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.group-by.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // `Map.groupBy` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', stat: true }, {
- groupBy: function groupBy(iterable, keyDerivative) {
- var newMap = new this();
- aFunction(keyDerivative);
- var has = aFunction(newMap.has);
- var get = aFunction(newMap.get);
- var set = aFunction(newMap.set);
- iterate(iterable, function (element) {
- var derivedKey = keyDerivative(element);
- if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]);
- else get.call(newMap, derivedKey).push(element);
- });
- return newMap;
- }
- });
- /***/ }),
- /* 440 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.key-by.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // `Map.keyBy` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', stat: true }, {
- keyBy: function keyBy(iterable, keyDerivative) {
- var newMap = new this();
- aFunction(keyDerivative);
- var setter = aFunction(newMap.set);
- iterate(iterable, function (element) {
- setter.call(newMap, keyDerivative(element), element);
- });
- return newMap;
- }
- });
- /***/ }),
- /* 441 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.delete-all.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionDeleteAll = __webpack_require__(/*! ../internals/collection-delete-all */ 442);
- // `Map.prototype.deleteAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- deleteAll: function deleteAll(/* ...elements */) {
- return collectionDeleteAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 442 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/collection-delete-all.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // https://github.com/tc39/collection-methods
- module.exports = function (/* ...elements */) {
- var collection = anObject(this);
- var remover = aFunction(collection['delete']);
- var allDeleted = true;
- var wasDeleted;
- for (var k = 0, len = arguments.length; k < len; k++) {
- wasDeleted = remover.call(collection, arguments[k]);
- allDeleted = allDeleted && wasDeleted;
- }
- return !!allDeleted;
- };
- /***/ }),
- /* 443 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.every.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.every` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- every: function every(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return !iterate(iterator, function (key, value) {
- if (!boundFunction(value, key, map)) return iterate.stop();
- }, undefined, true, true).stopped;
- }
- });
- /***/ }),
- /* 444 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/get-map-iterator.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 432);
- module.exports = IS_PURE ? getIterator : function (it) {
- // eslint-disable-next-line no-undef
- return Map.prototype.entries.call(it);
- };
- /***/ }),
- /* 445 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.filter.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.filter` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- filter: function filter(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();
- var setter = aFunction(newMap.set);
- iterate(iterator, function (key, value) {
- if (boundFunction(value, key, map)) setter.call(newMap, key, value);
- }, undefined, true, true);
- return newMap;
- }
- });
- /***/ }),
- /* 446 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.find.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.find` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- find: function find(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return iterate(iterator, function (key, value) {
- if (boundFunction(value, key, map)) return iterate.stop(value);
- }, undefined, true, true).result;
- }
- });
- /***/ }),
- /* 447 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.find-key.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.findKey` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- findKey: function findKey(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return iterate(iterator, function (key, value) {
- if (boundFunction(value, key, map)) return iterate.stop(key);
- }, undefined, true, true).result;
- }
- });
- /***/ }),
- /* 448 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.includes.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var sameValueZero = __webpack_require__(/*! ../internals/same-value-zero */ 449);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.includes` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- includes: function includes(searchElement) {
- return iterate(getMapIterator(anObject(this)), function (key, value) {
- if (sameValueZero(value, searchElement)) return iterate.stop();
- }, undefined, true, true).stopped;
- }
- });
- /***/ }),
- /* 449 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/same-value-zero.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // `SameValueZero` abstract operation
- // https://tc39.github.io/ecma262/#sec-samevaluezero
- module.exports = function (x, y) {
- // eslint-disable-next-line no-self-compare
- return x === y || x != x && y != y;
- };
- /***/ }),
- /* 450 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.key-of.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.includes` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- keyOf: function keyOf(searchElement) {
- return iterate(getMapIterator(anObject(this)), function (key, value) {
- if (value === searchElement) return iterate.stop(key);
- }, undefined, true, true).result;
- }
- });
- /***/ }),
- /* 451 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.map-keys.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.mapKeys` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- mapKeys: function mapKeys(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();
- var setter = aFunction(newMap.set);
- iterate(iterator, function (key, value) {
- setter.call(newMap, boundFunction(value, key, map), value);
- }, undefined, true, true);
- return newMap;
- }
- });
- /***/ }),
- /* 452 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.map-values.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.mapValues` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- mapValues: function mapValues(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();
- var setter = aFunction(newMap.set);
- iterate(iterator, function (key, value) {
- setter.call(newMap, key, boundFunction(value, key, map));
- }, undefined, true, true);
- return newMap;
- }
- });
- /***/ }),
- /* 453 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.merge.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.merge` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- // eslint-disable-next-line no-unused-vars
- merge: function merge(iterable /* ...iterbles */) {
- var map = anObject(this);
- var setter = aFunction(map.set);
- var i = 0;
- while (i < arguments.length) {
- iterate(arguments[i++], setter, map, true);
- }
- return map;
- }
- });
- /***/ }),
- /* 454 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.reduce.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Map.prototype.reduce` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- reduce: function reduce(callbackfn /* , initialValue */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var noInitial = arguments.length < 2;
- var accumulator = noInitial ? undefined : arguments[1];
- aFunction(callbackfn);
- iterate(iterator, function (key, value) {
- if (noInitial) {
- noInitial = false;
- accumulator = value;
- } else {
- accumulator = callbackfn(accumulator, value, key, map);
- }
- }, undefined, true, true);
- if (noInitial) throw TypeError('Reduce of empty map with no initial value');
- return accumulator;
- }
- });
- /***/ }),
- /* 455 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.some.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getMapIterator = __webpack_require__(/*! ../internals/get-map-iterator */ 444);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.some` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- some: function some(callbackfn /* , thisArg */) {
- var map = anObject(this);
- var iterator = getMapIterator(map);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return iterate(iterator, function (key, value) {
- if (boundFunction(value, key, map)) return iterate.stop();
- }, undefined, true, true).stopped;
- }
- });
- /***/ }),
- /* 456 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.update.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // `Set.prototype.update` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- update: function update(key, callback /* , thunk */) {
- var map = anObject(this);
- var length = arguments.length;
- aFunction(callback);
- var isPresentInMap = map.has(key);
- if (!isPresentInMap && length < 3) {
- throw TypeError('Updating absent value');
- }
- var value = isPresentInMap ? map.get(key) : aFunction(length > 2 ? arguments[2] : undefined)(key, map);
- map.set(key, callback(value, key, map));
- return map;
- }
- });
- /***/ }),
- /* 457 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.add-all.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionAddAll = __webpack_require__(/*! ../internals/collection-add-all */ 458);
- // `Set.prototype.addAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- addAll: function addAll(/* ...elements */) {
- return collectionAddAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 458 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/internals/collection-add-all.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- // https://github.com/tc39/collection-methods
- module.exports = function (/* ...elements */) {
- var set = anObject(this);
- var adder = aFunction(set.add);
- for (var k = 0, len = arguments.length; k < len; k++) {
- adder.call(set, arguments[k]);
- }
- return set;
- };
- /***/ }),
- /* 459 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.delete-all.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionDeleteAll = __webpack_require__(/*! ../internals/collection-delete-all */ 442);
- // `Set.prototype.deleteAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- deleteAll: function deleteAll(/* ...elements */) {
- return collectionDeleteAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 460 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.every.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.every` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- every: function every(callbackfn /* , thisArg */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return !iterate(iterator, function (value) {
- if (!boundFunction(value, value, set)) return iterate.stop();
- }, undefined, false, true).stopped;
- }
- });
- /***/ }),
- /* 461 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/internals/get-set-iterator.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 432);
- module.exports = IS_PURE ? getIterator : function (it) {
- // eslint-disable-next-line no-undef
- return Set.prototype.values.call(it);
- };
- /***/ }),
- /* 462 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.filter.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.filter` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- filter: function filter(callbackfn /* , thisArg */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
- var adder = aFunction(newSet.add);
- iterate(iterator, function (value) {
- if (boundFunction(value, value, set)) adder.call(newSet, value);
- }, undefined, false, true);
- return newSet;
- }
- });
- /***/ }),
- /* 463 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.find.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.find` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- find: function find(callbackfn /* , thisArg */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return iterate(iterator, function (value) {
- if (boundFunction(value, value, set)) return iterate.stop(value);
- }, undefined, false, true).result;
- }
- });
- /***/ }),
- /* 464 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.join.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.join` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- join: function join(separator) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var sep = separator === undefined ? ',' : String(separator);
- var result = [];
- iterate(iterator, result.push, result, false, true);
- return result.join(sep);
- }
- });
- /***/ }),
- /* 465 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.map.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.map` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- map: function map(callbackfn /* , thisArg */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
- var adder = aFunction(newSet.add);
- iterate(iterator, function (value) {
- adder.call(newSet, boundFunction(value, value, set));
- }, undefined, false, true);
- return newSet;
- }
- });
- /***/ }),
- /* 466 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.reduce.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.reduce` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- reduce: function reduce(callbackfn /* , initialValue */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var noInitial = arguments.length < 2;
- var accumulator = noInitial ? undefined : arguments[1];
- aFunction(callbackfn);
- iterate(iterator, function (value) {
- if (noInitial) {
- noInitial = false;
- accumulator = value;
- } else {
- accumulator = callbackfn(accumulator, value, value, set);
- }
- }, undefined, false, true);
- if (noInitial) throw TypeError('Reduce of empty set with no initial value');
- return accumulator;
- }
- });
- /***/ }),
- /* 467 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.some.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var getSetIterator = __webpack_require__(/*! ../internals/get-set-iterator */ 461);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.some` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- some: function some(callbackfn /* , thisArg */) {
- var set = anObject(this);
- var iterator = getSetIterator(set);
- var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
- return iterate(iterator, function (value) {
- if (boundFunction(value, value, set)) return iterate.stop();
- }, undefined, false, true).stopped;
- }
- });
- /***/ }),
- /* 468 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-map.delete-all.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionDeleteAll = __webpack_require__(/*! ../internals/collection-delete-all */ 442);
- // `WeakMap.prototype.deleteAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- deleteAll: function deleteAll(/* ...elements */) {
- return collectionDeleteAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 469 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-set.add-all.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionAddAll = __webpack_require__(/*! ../internals/collection-add-all */ 458);
- // `WeakSet.prototype.addAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, {
- addAll: function addAll(/* ...elements */) {
- return collectionAddAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 470 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-set.delete-all.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var collectionDeleteAll = __webpack_require__(/*! ../internals/collection-delete-all */ 442);
- // `WeakSet.prototype.deleteAll` method
- // https://github.com/tc39/proposal-collection-methods
- $({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, {
- deleteAll: function deleteAll(/* ...elements */) {
- return collectionDeleteAll.apply(this, arguments);
- }
- });
- /***/ }),
- /* 471 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/proposals/collection-of-from.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.map.from */ 472);
- __webpack_require__(/*! ../modules/esnext.map.of */ 474);
- __webpack_require__(/*! ../modules/esnext.set.from */ 476);
- __webpack_require__(/*! ../modules/esnext.set.of */ 477);
- __webpack_require__(/*! ../modules/esnext.weak-map.from */ 478);
- __webpack_require__(/*! ../modules/esnext.weak-map.of */ 479);
- __webpack_require__(/*! ../modules/esnext.weak-set.from */ 480);
- __webpack_require__(/*! ../modules/esnext.weak-set.of */ 481);
- /***/ }),
- /* 472 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.from.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var from = __webpack_require__(/*! ../internals/collection-from */ 473);
- // `Map.from` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from
- $({ target: 'Map', stat: true }, {
- from: from
- });
- /***/ }),
- /* 473 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/collection-from.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://tc39.github.io/proposal-setmap-offrom/
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var bind = __webpack_require__(/*! ../internals/function-bind-context */ 104);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- module.exports = function from(source /* , mapFn, thisArg */) {
- var length = arguments.length;
- var mapFn = length > 1 ? arguments[1] : undefined;
- var mapping, A, n, boundFunction;
- aFunction(this);
- mapping = mapFn !== undefined;
- if (mapping) aFunction(mapFn);
- if (source == undefined) return new this();
- A = [];
- if (mapping) {
- n = 0;
- boundFunction = bind(mapFn, length > 2 ? arguments[2] : undefined, 2);
- iterate(source, function (nextItem) {
- A.push(boundFunction(nextItem, n++));
- });
- } else {
- iterate(source, A.push, A);
- }
- return new this(A);
- };
- /***/ }),
- /* 474 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.of.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var of = __webpack_require__(/*! ../internals/collection-of */ 475);
- // `Map.of` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of
- $({ target: 'Map', stat: true }, {
- of: of
- });
- /***/ }),
- /* 475 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/collection-of.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://tc39.github.io/proposal-setmap-offrom/
- module.exports = function of() {
- var length = arguments.length;
- var A = new Array(length);
- while (length--) A[length] = arguments[length];
- return new this(A);
- };
- /***/ }),
- /* 476 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.from.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var from = __webpack_require__(/*! ../internals/collection-from */ 473);
- // `Set.from` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
- $({ target: 'Set', stat: true }, {
- from: from
- });
- /***/ }),
- /* 477 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.of.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var of = __webpack_require__(/*! ../internals/collection-of */ 475);
- // `Set.of` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of
- $({ target: 'Set', stat: true }, {
- of: of
- });
- /***/ }),
- /* 478 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-map.from.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var from = __webpack_require__(/*! ../internals/collection-from */ 473);
- // `WeakMap.from` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from
- $({ target: 'WeakMap', stat: true }, {
- from: from
- });
- /***/ }),
- /* 479 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-map.of.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var of = __webpack_require__(/*! ../internals/collection-of */ 475);
- // `WeakMap.of` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of
- $({ target: 'WeakMap', stat: true }, {
- of: of
- });
- /***/ }),
- /* 480 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-set.from.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var from = __webpack_require__(/*! ../internals/collection-from */ 473);
- // `WeakSet.from` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from
- $({ target: 'WeakSet', stat: true }, {
- from: from
- });
- /***/ }),
- /* 481 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-set.of.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var of = __webpack_require__(/*! ../internals/collection-of */ 475);
- // `WeakSet.of` method
- // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of
- $({ target: 'WeakSet', stat: true }, {
- of: of
- });
- /***/ }),
- /* 482 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/keys-composition.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.composite-key */ 483);
- __webpack_require__(/*! ../modules/esnext.composite-symbol */ 485);
- /***/ }),
- /* 483 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.composite-key.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getCompositeKeyNode = __webpack_require__(/*! ../internals/composite-key */ 484);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var initializer = function () {
- var freeze = getBuiltIn('Object', 'freeze');
- return freeze ? freeze(create(null)) : create(null);
- };
- // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
- $({ global: true }, {
- compositeKey: function compositeKey() {
- return getCompositeKeyNode.apply(Object, arguments).get('object', initializer);
- }
- });
- /***/ }),
- /* 484 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/composite-key.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
- var Map = __webpack_require__(/*! ../modules/es.map */ 337);
- var WeakMap = __webpack_require__(/*! ../modules/es.weak-map */ 341);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var Node = function () {
- // keys
- this.object = null;
- this.symbol = null;
- // child nodes
- this.primitives = null;
- this.objectsByIndex = create(null);
- };
- Node.prototype.get = function (key, initializer) {
- return this[key] || (this[key] = initializer());
- };
- Node.prototype.next = function (i, it, IS_OBJECT) {
- var store = IS_OBJECT
- ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap())
- : this.primitives || (this.primitives = new Map());
- var entry = store.get(it);
- if (!entry) store.set(it, entry = new Node());
- return entry;
- };
- var root = new Node();
- module.exports = function () {
- var active = root;
- var length = arguments.length;
- var i, it;
- // for prevent leaking, start from objects
- for (i = 0; i < length; i++) {
- if (isObject(it = arguments[i])) active = active.next(i, it, true);
- }
- if (this === Object && active === root) throw TypeError('Composite keys must contain a non-primitive component');
- for (i = 0; i < length; i++) {
- if (!isObject(it = arguments[i])) active = active.next(i, it, false);
- } return active;
- };
- /***/ }),
- /* 485 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.composite-symbol.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var getCompositeKeyNode = __webpack_require__(/*! ../internals/composite-key */ 484);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
- $({ global: true }, {
- compositeSymbol: function compositeSymbol() {
- if (arguments.length === 1 && typeof arguments[0] === 'string') return getBuiltIn('Symbol')['for'](arguments[0]);
- return getCompositeKeyNode.apply(null, arguments).get('symbol', getBuiltIn('Symbol'));
- }
- });
- /***/ }),
- /* 486 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/proposals/math-extensions.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.math.clamp */ 487);
- __webpack_require__(/*! ../modules/esnext.math.deg-per-rad */ 488);
- __webpack_require__(/*! ../modules/esnext.math.degrees */ 489);
- __webpack_require__(/*! ../modules/esnext.math.fscale */ 490);
- __webpack_require__(/*! ../modules/esnext.math.rad-per-deg */ 492);
- __webpack_require__(/*! ../modules/esnext.math.radians */ 493);
- __webpack_require__(/*! ../modules/esnext.math.scale */ 494);
- /***/ }),
- /* 487 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.clamp.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var min = Math.min;
- var max = Math.max;
- // `Math.clamp` method
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- clamp: function clamp(x, lower, upper) {
- return min(upper, max(lower, x));
- }
- });
- /***/ }),
- /* 488 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.deg-per-rad.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.DEG_PER_RAD` constant
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- DEG_PER_RAD: Math.PI / 180
- });
- /***/ }),
- /* 489 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.degrees.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var RAD_PER_DEG = 180 / Math.PI;
- // `Math.degrees` method
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- degrees: function degrees(radians) {
- return radians * RAD_PER_DEG;
- }
- });
- /***/ }),
- /* 490 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.fscale.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var scale = __webpack_require__(/*! ../internals/math-scale */ 491);
- var fround = __webpack_require__(/*! ../internals/math-fround */ 304);
- // `Math.fscale` method
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {
- return fround(scale(x, inLow, inHigh, outLow, outHigh));
- }
- });
- /***/ }),
- /* 491 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/math-scale.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // `Math.scale` method implementation
- // https://rwaldron.github.io/proposal-math-extensions/
- module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {
- if (
- arguments.length === 0
- /* eslint-disable no-self-compare */
- || x != x
- || inLow != inLow
- || inHigh != inHigh
- || outLow != outLow
- || outHigh != outHigh
- /* eslint-enable no-self-compare */
- ) return NaN;
- if (x === Infinity || x === -Infinity) return x;
- return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow;
- };
- /***/ }),
- /* 492 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.rad-per-deg.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.RAD_PER_DEG` constant
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- RAD_PER_DEG: 180 / Math.PI
- });
- /***/ }),
- /* 493 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.radians.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DEG_PER_RAD = Math.PI / 180;
- // `Math.radians` method
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- radians: function radians(degrees) {
- return degrees * DEG_PER_RAD;
- }
- });
- /***/ }),
- /* 494 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.scale.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var scale = __webpack_require__(/*! ../internals/math-scale */ 491);
- // `Math.scale` method
- // https://rwaldron.github.io/proposal-math-extensions/
- $({ target: 'Math', stat: true }, {
- scale: scale
- });
- /***/ }),
- /* 495 */
- /*!********************************************************!*\
- !*** ./node_modules/core-js/proposals/math-signbit.js ***!
- \********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.math.signbit */ 496);
- /***/ }),
- /* 496 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.signbit.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- // `Math.signbit` method
- // https://github.com/tc39/proposal-Math.signbit
- $({ target: 'Math', stat: true }, {
- signbit: function signbit(x) {
- return (x = +x) == x && x == 0 ? 1 / x == -Infinity : x < 0;
- }
- });
- /***/ }),
- /* 497 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/proposals/number-from-string.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.number.from-string */ 498);
- /***/ }),
- /* 498 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.number.from-string.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var toInteger = __webpack_require__(/*! ../internals/to-integer */ 85);
- var parseInt = __webpack_require__(/*! ../internals/number-parse-int */ 275);
- var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation';
- var INVALID_RADIX = 'Invalid radix';
- var valid = /^[\da-z]+$/;
- // `Number.fromString` method
- // https://github.com/tc39/proposal-number-fromstring
- $({ target: 'Number', stat: true }, {
- fromString: function fromString(string, radix) {
- var sign = 1;
- var R, mathNum;
- if (typeof string != 'string') throw TypeError(INVALID_NUMBER_REPRESENTATION);
- if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION);
- if (string.charAt(0) == '-') {
- sign = -1;
- string = string.slice(1);
- if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION);
- }
- R = radix === undefined ? 10 : toInteger(radix);
- if (R < 2 || R > 36) throw RangeError(INVALID_RADIX);
- if (!valid.test(string) || (mathNum = parseInt(string, R)).toString(R) !== string) {
- throw SyntaxError(INVALID_NUMBER_REPRESENTATION);
- }
- return sign * mathNum;
- }
- });
- /***/ }),
- /* 499 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/object-iteration.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.object.iterate-entries */ 500);
- __webpack_require__(/*! ../modules/esnext.object.iterate-keys */ 502);
- __webpack_require__(/*! ../modules/esnext.object.iterate-values */ 503);
- /***/ }),
- /* 500 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.object.iterate-entries.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 501);
- // `Object.iterateEntries` method
- // https://github.com/tc39/proposal-object-iteration
- $({ target: 'Object', stat: true }, {
- iterateEntries: function iterateEntries(object) {
- return new ObjectIterator(object, 'entries');
- }
- });
- /***/ }),
- /* 501 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/internals/object-iterator.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var objectKeys = __webpack_require__(/*! ../internals/object-keys */ 96);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var OBJECT_ITERATOR = 'Object Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(OBJECT_ITERATOR);
- module.exports = createIteratorConstructor(function ObjectIterator(source, mode) {
- var object = toObject(source);
- setInternalState(this, {
- type: OBJECT_ITERATOR,
- mode: mode,
- object: object,
- keys: objectKeys(object),
- index: 0
- });
- }, 'Object', function next() {
- var state = getInternalState(this);
- var keys = state.keys;
- while (true) {
- if (keys === null || state.index >= keys.length) {
- state.object = state.keys = null;
- return { value: undefined, done: true };
- }
- var key = keys[state.index++];
- var object = state.object;
- if (!has(object, key)) continue;
- switch (state.mode) {
- case 'keys': return { value: key, done: false };
- case 'values': return { value: object[key], done: false };
- } /* entries */ return { value: [key, object[key]], done: false };
- }
- });
- /***/ }),
- /* 502 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.object.iterate-keys.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 501);
- // `Object.iterateKeys` method
- // https://github.com/tc39/proposal-object-iteration
- $({ target: 'Object', stat: true }, {
- iterateKeys: function iterateKeys(object) {
- return new ObjectIterator(object, 'keys');
- }
- });
- /***/ }),
- /* 503 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.object.iterate-values.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var ObjectIterator = __webpack_require__(/*! ../internals/object-iterator */ 501);
- // `Object.iterateValues` method
- // https://github.com/tc39/proposal-object-iteration
- $({ target: 'Object', stat: true }, {
- iterateValues: function iterateValues(object) {
- return new ObjectIterator(object, 'values');
- }
- });
- /***/ }),
- /* 504 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/proposals/observable.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.observable */ 505);
- __webpack_require__(/*! ../modules/esnext.symbol.observable */ 506);
- /***/ }),
- /* 505 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.observable.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-observable
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var setSpecies = __webpack_require__(/*! ../internals/set-species */ 210);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var isObject = __webpack_require__(/*! ../internals/is-object */ 59);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64).f;
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 432);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ 333);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var OBSERVABLE = wellKnownSymbol('observable');
- var getInternalState = InternalStateModule.get;
- var setInternalState = InternalStateModule.set;
- var getMethod = function (fn) {
- return fn == null ? undefined : aFunction(fn);
- };
- var cleanupSubscription = function (subscriptionState) {
- var cleanup = subscriptionState.cleanup;
- if (cleanup) {
- subscriptionState.cleanup = undefined;
- try {
- cleanup();
- } catch (error) {
- hostReportErrors(error);
- }
- }
- };
- var subscriptionClosed = function (subscriptionState) {
- return subscriptionState.observer === undefined;
- };
- var close = function (subscription, subscriptionState) {
- if (!DESCRIPTORS) {
- subscription.closed = true;
- var subscriptionObserver = subscriptionState.subscriptionObserver;
- if (subscriptionObserver) subscriptionObserver.closed = true;
- } subscriptionState.observer = undefined;
- };
- var Subscription = function (observer, subscriber) {
- var subscriptionState = setInternalState(this, {
- cleanup: undefined,
- observer: anObject(observer),
- subscriptionObserver: undefined
- });
- var start;
- if (!DESCRIPTORS) this.closed = false;
- try {
- if (start = getMethod(observer.start)) start.call(observer, this);
- } catch (error) {
- hostReportErrors(error);
- }
- if (subscriptionClosed(subscriptionState)) return;
- var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(this);
- try {
- var cleanup = subscriber(subscriptionObserver);
- var subscription = cleanup;
- if (cleanup != null) subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function'
- ? function () { subscription.unsubscribe(); }
- : aFunction(cleanup);
- } catch (error) {
- subscriptionObserver.error(error);
- return;
- } if (subscriptionClosed(subscriptionState)) cleanupSubscription(subscriptionState);
- };
- Subscription.prototype = redefineAll({}, {
- unsubscribe: function unsubscribe() {
- var subscriptionState = getInternalState(this);
- if (!subscriptionClosed(subscriptionState)) {
- close(this, subscriptionState);
- cleanupSubscription(subscriptionState);
- }
- }
- });
- if (DESCRIPTORS) defineProperty(Subscription.prototype, 'closed', {
- configurable: true,
- get: function () {
- return subscriptionClosed(getInternalState(this));
- }
- });
- var SubscriptionObserver = function (subscription) {
- setInternalState(this, { subscription: subscription });
- if (!DESCRIPTORS) this.closed = false;
- };
- SubscriptionObserver.prototype = redefineAll({}, {
- next: function next(value) {
- var subscriptionState = getInternalState(getInternalState(this).subscription);
- if (!subscriptionClosed(subscriptionState)) {
- var observer = subscriptionState.observer;
- try {
- var nextMethod = getMethod(observer.next);
- if (nextMethod) nextMethod.call(observer, value);
- } catch (error) {
- hostReportErrors(error);
- }
- }
- },
- error: function error(value) {
- var subscription = getInternalState(this).subscription;
- var subscriptionState = getInternalState(subscription);
- if (!subscriptionClosed(subscriptionState)) {
- var observer = subscriptionState.observer;
- close(subscription, subscriptionState);
- try {
- var errorMethod = getMethod(observer.error);
- if (errorMethod) errorMethod.call(observer, value);
- else hostReportErrors(value);
- } catch (err) {
- hostReportErrors(err);
- } cleanupSubscription(subscriptionState);
- }
- },
- complete: function complete() {
- var subscription = getInternalState(this).subscription;
- var subscriptionState = getInternalState(subscription);
- if (!subscriptionClosed(subscriptionState)) {
- var observer = subscriptionState.observer;
- close(subscription, subscriptionState);
- try {
- var completeMethod = getMethod(observer.complete);
- if (completeMethod) completeMethod.call(observer);
- } catch (error) {
- hostReportErrors(error);
- } cleanupSubscription(subscriptionState);
- }
- }
- });
- if (DESCRIPTORS) defineProperty(SubscriptionObserver.prototype, 'closed', {
- configurable: true,
- get: function () {
- return subscriptionClosed(getInternalState(getInternalState(this).subscription));
- }
- });
- var $Observable = function Observable(subscriber) {
- anInstance(this, $Observable, 'Observable');
- setInternalState(this, { subscriber: aFunction(subscriber) });
- };
- redefineAll($Observable.prototype, {
- subscribe: function subscribe(observer) {
- var length = arguments.length;
- return new Subscription(typeof observer === 'function' ? {
- next: observer,
- error: length > 1 ? arguments[1] : undefined,
- complete: length > 2 ? arguments[2] : undefined
- } : isObject(observer) ? observer : {}, getInternalState(this).subscriber);
- }
- });
- redefineAll($Observable, {
- from: function from(x) {
- var C = typeof this === 'function' ? this : $Observable;
- var observableMethod = getMethod(anObject(x)[OBSERVABLE]);
- if (observableMethod) {
- var observable = anObject(observableMethod.call(x));
- return observable.constructor === C ? observable : new C(function (observer) {
- return observable.subscribe(observer);
- });
- }
- var iterator = getIterator(x);
- return new C(function (observer) {
- iterate(iterator, function (it) {
- observer.next(it);
- if (observer.closed) return iterate.stop();
- }, undefined, false, true);
- observer.complete();
- });
- },
- of: function of() {
- var C = typeof this === 'function' ? this : $Observable;
- var length = arguments.length;
- var items = new Array(length);
- var index = 0;
- while (index < length) items[index] = arguments[index++];
- return new C(function (observer) {
- for (var i = 0; i < length; i++) {
- observer.next(items[i]);
- if (observer.closed) return;
- } observer.complete();
- });
- }
- });
- createNonEnumerableProperty($Observable.prototype, OBSERVABLE, function () { return this; });
- $({ global: true }, {
- Observable: $Observable
- });
- setSpecies('Observable');
- /***/ }),
- /* 506 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.symbol.observable.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.observable` well-known symbol
- // https://github.com/tc39/proposal-observable
- defineWellKnownSymbol('observable');
- /***/ }),
- /* 507 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/pattern-matching.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.symbol.pattern-match */ 508);
- /***/ }),
- /* 508 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.symbol.pattern-match.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.patternMatch` well-known symbol
- // https://github.com/tc39/proposal-pattern-matching
- defineWellKnownSymbol('patternMatch');
- /***/ }),
- /* 509 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/proposals/promise-try.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.promise.try */ 510);
- /***/ }),
- /* 510 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.promise.try.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 332);
- var perform = __webpack_require__(/*! ../internals/perform */ 334);
- // `Promise.try` method
- // https://github.com/tc39/proposal-promise-try
- $({ target: 'Promise', stat: true }, {
- 'try': function (callbackfn) {
- var promiseCapability = newPromiseCapabilityModule.f(this);
- var result = perform(callbackfn);
- (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
- return promiseCapability.promise;
- }
- });
- /***/ }),
- /* 511 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/proposals/seeded-random.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.math.seeded-prng */ 512);
- /***/ }),
- /* 512 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.math.seeded-prng.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var numberIsFinite = __webpack_require__(/*! ../internals/number-is-finite */ 281);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var SEEDED_RANDOM = 'Seeded Random';
- var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR);
- var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.';
- var $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) {
- setInternalState(this, {
- type: SEEDED_RANDOM_GENERATOR,
- seed: seed % 2147483647
- });
- }, SEEDED_RANDOM, function next() {
- var state = getInternalState(this);
- var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647;
- return { value: (seed & 1073741823) / 1073741823, done: false };
- });
- // `Math.seededPRNG` method
- // https://github.com/tc39/proposal-seeded-random
- // based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html
- $({ target: 'Math', stat: true, forced: true }, {
- seededPRNG: function seededPRNG(it) {
- var seed = anObject(it).seed;
- if (!numberIsFinite(seed)) throw TypeError(SEED_TYPE_ERROR);
- return new $SeededRandomGenerator(seed);
- }
- });
- /***/ }),
- /* 513 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/proposals/string-code-points.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.string.code-points */ 514);
- /***/ }),
- /* 514 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.string.code-points.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ 215);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var StringMultibyteModule = __webpack_require__(/*! ../internals/string-multibyte */ 220);
- var codeAt = StringMultibyteModule.codeAt;
- var charAt = StringMultibyteModule.charAt;
- var STRING_ITERATOR = 'String Iterator';
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
- // TODO: unify with String#@@iterator
- var $StringIterator = createIteratorConstructor(function StringIterator(string) {
- setInternalState(this, {
- type: STRING_ITERATOR,
- string: string,
- index: 0
- });
- }, 'String', function next() {
- var state = getInternalState(this);
- var string = state.string;
- var index = state.index;
- var point;
- if (index >= string.length) return { value: undefined, done: true };
- point = charAt(string, index);
- state.index += point.length;
- return { value: { codePoint: codeAt(point, 0), position: index }, done: false };
- });
- // `String.prototype.codePoints` method
- // https://github.com/tc39/proposal-string-prototype-codepoints
- $({ target: 'String', proto: true }, {
- codePoints: function codePoints() {
- return new $StringIterator(String(requireObjectCoercible(this)));
- }
- });
- /***/ }),
- /* 515 */
- /*!*****************************************!*\
- !*** ./node_modules/core-js/stage/2.js ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/array-is-template-object */ 516);
- __webpack_require__(/*! ../proposals/iterator-helpers */ 518);
- __webpack_require__(/*! ../proposals/map-upsert */ 552);
- __webpack_require__(/*! ../proposals/set-methods */ 557);
- __webpack_require__(/*! ../proposals/using-statement */ 565);
- var parent = __webpack_require__(/*! ./3 */ 568);
- module.exports = parent;
- /***/ }),
- /* 516 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/proposals/array-is-template-object.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.array.is-template-object */ 517);
- /***/ }),
- /* 517 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.array.is-template-object.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var isArray = __webpack_require__(/*! ../internals/is-array */ 92);
- var isFrozen = Object.isFrozen;
- var isFrozenStringArray = function (array, allowUndefined) {
- if (!isFrozen || !isArray(array) || !isFrozen(array)) return false;
- var index = 0;
- var length = array.length;
- var element;
- while (index < length) {
- element = array[index++];
- if (!(typeof element === 'string' || (allowUndefined && typeof element === 'undefined'))) {
- return false;
- }
- } return length !== 0;
- };
- // `Array.isTemplateObject` method
- // https://github.com/tc39/proposal-array-is-template-object
- $({ target: 'Array', stat: true }, {
- isTemplateObject: function isTemplateObject(value) {
- if (!isFrozenStringArray(value, true)) return false;
- var raw = value.raw;
- if (raw.length !== value.length || !isFrozenStringArray(raw, false)) return false;
- return true;
- }
- });
- /***/ }),
- /* 518 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/iterator-helpers.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.async-iterator.constructor */ 519);
- __webpack_require__(/*! ../modules/esnext.async-iterator.as-indexed-pairs */ 521);
- __webpack_require__(/*! ../modules/esnext.async-iterator.drop */ 523);
- __webpack_require__(/*! ../modules/esnext.async-iterator.every */ 524);
- __webpack_require__(/*! ../modules/esnext.async-iterator.filter */ 526);
- __webpack_require__(/*! ../modules/esnext.async-iterator.find */ 527);
- __webpack_require__(/*! ../modules/esnext.async-iterator.flat-map */ 528);
- __webpack_require__(/*! ../modules/esnext.async-iterator.for-each */ 530);
- __webpack_require__(/*! ../modules/esnext.async-iterator.from */ 531);
- __webpack_require__(/*! ../modules/esnext.async-iterator.map */ 532);
- __webpack_require__(/*! ../modules/esnext.async-iterator.reduce */ 533);
- __webpack_require__(/*! ../modules/esnext.async-iterator.some */ 534);
- __webpack_require__(/*! ../modules/esnext.async-iterator.take */ 535);
- __webpack_require__(/*! ../modules/esnext.async-iterator.to-array */ 536);
- __webpack_require__(/*! ../modules/esnext.iterator.constructor */ 537);
- __webpack_require__(/*! ../modules/esnext.iterator.as-indexed-pairs */ 538);
- __webpack_require__(/*! ../modules/esnext.iterator.drop */ 540);
- __webpack_require__(/*! ../modules/esnext.iterator.every */ 541);
- __webpack_require__(/*! ../modules/esnext.iterator.filter */ 542);
- __webpack_require__(/*! ../modules/esnext.iterator.find */ 543);
- __webpack_require__(/*! ../modules/esnext.iterator.flat-map */ 544);
- __webpack_require__(/*! ../modules/esnext.iterator.for-each */ 545);
- __webpack_require__(/*! ../modules/esnext.iterator.from */ 546);
- __webpack_require__(/*! ../modules/esnext.iterator.map */ 547);
- __webpack_require__(/*! ../modules/esnext.iterator.reduce */ 548);
- __webpack_require__(/*! ../modules/esnext.iterator.some */ 549);
- __webpack_require__(/*! ../modules/esnext.iterator.take */ 550);
- __webpack_require__(/*! ../modules/esnext.iterator.to-array */ 551);
- /***/ }),
- /* 519 */
- /*!***************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.constructor.js ***!
- \***************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var AsyncIteratorPrototype = __webpack_require__(/*! ../internals/async-iterator-prototype */ 520);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var AsyncIteratorConstructor = function AsyncIterator() {
- anInstance(this, AsyncIteratorConstructor);
- };
- AsyncIteratorConstructor.prototype = AsyncIteratorPrototype;
- if (!has(AsyncIteratorPrototype, TO_STRING_TAG)) {
- createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator');
- }
- if (!has(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {
- createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor);
- }
- $({ global: true, forced: IS_PURE }, {
- AsyncIterator: AsyncIteratorConstructor
- });
- /***/ }),
- /* 520 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/async-iterator-prototype.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var shared = __webpack_require__(/*! ../internals/shared-store */ 69);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';
- var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
- var AsyncIterator = global.AsyncIterator;
- var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype;
- var AsyncIteratorPrototype, prototype;
- if (!IS_PURE) {
- if (PassedAsyncIteratorPrototype) {
- AsyncIteratorPrototype = PassedAsyncIteratorPrototype;
- } else if (typeof AsyncIterator == 'function') {
- AsyncIteratorPrototype = AsyncIterator.prototype;
- } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) {
- try {
- // eslint-disable-next-line no-new-func
- prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')())));
- if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype;
- } catch (error) { /* empty */ }
- }
- }
- if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {};
- if (!has(AsyncIteratorPrototype, ASYNC_ITERATOR)) {
- createNonEnumerableProperty(AsyncIteratorPrototype, ASYNC_ITERATOR, function () {
- return this;
- });
- }
- module.exports = AsyncIteratorPrototype;
- /***/ }),
- /* 521 */
- /*!********************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.as-indexed-pairs.js ***!
- \********************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {
- var state = this;
- var iterator = state.iterator;
- return Promise.resolve(anObject(state.next.call(iterator, arg))).then(function (step) {
- if (anObject(step).done) {
- state.done = true;
- return { done: true, value: undefined };
- }
- return { done: false, value: [state.index++, step.value] };
- });
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- asIndexedPairs: function asIndexedPairs() {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- index: 0
- });
- }
- });
- /***/ }),
- /* 522 */
- /*!***********************************************************************!*\
- !*** ./node_modules/core-js/internals/async-iterator-create-proxy.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var Promise = getBuiltIn('Promise');
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.get;
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var $return = function (value) {
- var iterator = getInternalState(this).iterator;
- var $$return = iterator['return'];
- return $$return === undefined
- ? Promise.resolve({ done: true, value: value })
- : anObject($$return.call(iterator, value));
- };
- var $throw = function (value) {
- var iterator = getInternalState(this).iterator;
- var $$throw = iterator['throw'];
- return $$throw === undefined
- ? Promise.reject(value)
- : $$throw.call(iterator, value);
- };
- module.exports = function (nextHandler, IS_ITERATOR) {
- var AsyncIteratorProxy = function AsyncIterator(state) {
- state.next = aFunction(state.iterator.next);
- state.done = false;
- setInternalState(this, state);
- };
- AsyncIteratorProxy.prototype = redefineAll(create(path.AsyncIterator.prototype), {
- next: function next(arg) {
- var state = getInternalState(this);
- if (state.done) return Promise.resolve({ done: true, value: undefined });
- try {
- return Promise.resolve(anObject(nextHandler.call(state, arg, Promise)));
- } catch (error) {
- return Promise.reject(error);
- }
- },
- 'return': $return,
- 'throw': $throw
- });
- if (!IS_ITERATOR) {
- createNonEnumerableProperty(AsyncIteratorProxy.prototype, TO_STRING_TAG, 'Generator');
- }
- return AsyncIteratorProxy;
- };
- /***/ }),
- /* 523 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.drop.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 357);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {
- var state = this;
- return new Promise(function (resolve, reject) {
- var loop = function () {
- try {
- Promise.resolve(
- anObject(state.next.call(state.iterator, state.remaining ? undefined : arg))
- ).then(function (step) {
- try {
- if (anObject(step).done) {
- state.done = true;
- resolve({ done: true, value: undefined });
- } else if (state.remaining) {
- state.remaining--;
- loop();
- } else resolve({ done: false, value: step.value });
- } catch (err) { reject(err); }
- }, reject);
- } catch (error) { reject(error); }
- };
- loop();
- });
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- drop: function drop(limit) {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- remaining: toPositiveInteger(limit)
- });
- }
- });
- /***/ }),
- /* 524 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.every.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $every = __webpack_require__(/*! ../internals/async-iterator-iteration */ 525).every;
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- every: function every(fn) {
- return $every(this, fn);
- }
- });
- /***/ }),
- /* 525 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/internals/async-iterator-iteration.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var Promise = getBuiltIn('Promise');
- var push = [].push;
- var createMethod = function (TYPE) {
- var IS_TO_ARRAY = TYPE == 0;
- var IS_FOR_EACH = TYPE == 1;
- var IS_EVERY = TYPE == 2;
- var IS_SOME = TYPE == 3;
- return function (iterator, fn) {
- anObject(iterator);
- var next = aFunction(iterator.next);
- var array = IS_TO_ARRAY ? [] : undefined;
- if (!IS_TO_ARRAY) aFunction(fn);
- return new Promise(function (resolve, reject) {
- var loop = function () {
- try {
- Promise.resolve(anObject(next.call(iterator))).then(function (step) {
- try {
- if (anObject(step).done) {
- resolve(IS_TO_ARRAY ? array : IS_SOME ? false : IS_EVERY || undefined);
- } else {
- var value = step.value;
- if (IS_TO_ARRAY) {
- push.call(array, value);
- loop();
- } else {
- Promise.resolve(fn(value)).then(function (result) {
- if (IS_FOR_EACH) {
- loop();
- } else if (IS_EVERY) {
- result ? loop() : resolve(false);
- } else {
- result ? resolve(IS_SOME || value) : loop();
- }
- }, reject);
- }
- }
- } catch (err) { reject(err); }
- }, reject);
- } catch (error) { reject(error); }
- };
- loop();
- });
- };
- };
- module.exports = {
- toArray: createMethod(0),
- forEach: createMethod(1),
- every: createMethod(2),
- some: createMethod(3),
- find: createMethod(4)
- };
- /***/ }),
- /* 526 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.filter.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {
- var state = this;
- var filterer = state.filterer;
- return new Promise(function (resolve, reject) {
- var loop = function () {
- try {
- Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {
- try {
- if (anObject(step).done) {
- state.done = true;
- resolve({ done: true, value: undefined });
- } else {
- var value = step.value;
- Promise.resolve(filterer(value)).then(function (selected) {
- selected ? resolve({ done: false, value: value }) : loop();
- }, reject);
- }
- } catch (err) { reject(err); }
- }, reject);
- } catch (error) { reject(error); }
- };
- loop();
- });
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- filter: function filter(filterer) {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- filterer: aFunction(filterer)
- });
- }
- });
- /***/ }),
- /* 527 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.find.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $find = __webpack_require__(/*! ../internals/async-iterator-iteration */ 525).find;
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- find: function find(fn) {
- return $find(this, fn);
- }
- });
- /***/ }),
- /* 528 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.flat-map.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var getAsyncIteratorMethod = __webpack_require__(/*! ../internals/get-async-iterator-method */ 529);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {
- var state = this;
- var mapper = state.mapper;
- var innerIterator, iteratorMethod;
- return new Promise(function (resolve, reject) {
- var outerLoop = function () {
- try {
- Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {
- try {
- if (anObject(step).done) {
- state.done = true;
- resolve({ done: true, value: undefined });
- } else {
- Promise.resolve(mapper(step.value)).then(function (mapped) {
- try {
- iteratorMethod = getAsyncIteratorMethod(mapped);
- if (iteratorMethod !== undefined) {
- state.innerIterator = innerIterator = anObject(iteratorMethod.call(mapped));
- state.innerNext = aFunction(innerIterator.next);
- return innerLoop();
- } reject(TypeError('.flatMap callback should return an iterable object'));
- } catch (error2) { reject(error2); }
- }, reject);
- }
- } catch (error1) { reject(error1); }
- }, reject);
- } catch (error) { reject(error); }
- };
- var innerLoop = function () {
- if (innerIterator = state.innerIterator) {
- try {
- Promise.resolve(anObject(state.innerNext.call(innerIterator))).then(function (result) {
- try {
- if (anObject(result).done) {
- state.innerIterator = state.innerNext = null;
- outerLoop();
- } else resolve({ done: false, value: result.value });
- } catch (error1) { reject(error1); }
- }, reject);
- } catch (error) { reject(error); }
- } else outerLoop();
- };
- innerLoop();
- });
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- flatMap: function flatMap(mapper) {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- mapper: aFunction(mapper),
- innerIterator: null,
- innerNext: null
- });
- }
- });
- /***/ }),
- /* 529 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/internals/get-async-iterator-method.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');
- module.exports = function (it) {
- var method = it[ASYNC_ITERATOR];
- return method === undefined ? getIteratorMethod(it) : method;
- };
- /***/ }),
- /* 530 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.for-each.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $forEach = __webpack_require__(/*! ../internals/async-iterator-iteration */ 525).forEach;
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- forEach: function forEach(fn) {
- return $forEach(this, fn);
- }
- });
- /***/ }),
- /* 531 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.from.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var getAsyncIteratorMethod = __webpack_require__(/*! ../internals/get-async-iterator-method */ 529);
- var AsyncIterator = path.AsyncIterator;
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg) {
- return anObject(this.next.call(this.iterator, arg));
- }, true);
- $({ target: 'AsyncIterator', stat: true }, {
- from: function from(O) {
- var object = toObject(O);
- var usingIterator = getAsyncIteratorMethod(object);
- var iterator;
- if (usingIterator != null) {
- iterator = aFunction(usingIterator).call(object);
- if (iterator instanceof AsyncIterator) return iterator;
- } else {
- iterator = object;
- } return new AsyncIteratorProxy({
- iterator: iterator
- });
- }
- });
- /***/ }),
- /* 532 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.map.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg, Promise) {
- var state = this;
- var mapper = state.mapper;
- return Promise.resolve(anObject(state.next.call(state.iterator, arg))).then(function (step) {
- if (anObject(step).done) {
- state.done = true;
- return { done: true, value: undefined };
- }
- return Promise.resolve(mapper(step.value)).then(function (value) {
- return { done: false, value: value };
- });
- });
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- map: function map(mapper) {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- mapper: aFunction(mapper)
- });
- }
- });
- /***/ }),
- /* 533 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.reduce.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var Promise = getBuiltIn('Promise');
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- reduce: function reduce(reducer /* , initialValue */) {
- var iterator = anObject(this);
- var next = aFunction(iterator.next);
- var noInitial = arguments.length < 2;
- var accumulator = noInitial ? undefined : arguments[1];
- aFunction(reducer);
- return new Promise(function (resolve, reject) {
- var loop = function () {
- try {
- Promise.resolve(anObject(next.call(iterator))).then(function (step) {
- try {
- if (anObject(step).done) {
- noInitial ? reject(TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator);
- } else {
- var value = step.value;
- if (noInitial) {
- noInitial = false;
- accumulator = value;
- loop();
- } else {
- Promise.resolve(reducer(accumulator, value)).then(function (result) {
- accumulator = result;
- loop();
- }, reject);
- }
- }
- } catch (err) { reject(err); }
- }, reject);
- } catch (error) { reject(error); }
- };
- loop();
- });
- }
- });
- /***/ }),
- /* 534 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.some.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $some = __webpack_require__(/*! ../internals/async-iterator-iteration */ 525).some;
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- some: function some(fn) {
- return $some(this, fn);
- }
- });
- /***/ }),
- /* 535 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.take.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 357);
- var createAsyncIteratorProxy = __webpack_require__(/*! ../internals/async-iterator-create-proxy */ 522);
- var AsyncIteratorProxy = createAsyncIteratorProxy(function (arg) {
- if (!this.remaining--) {
- this.done = true;
- return { done: true, value: undefined };
- } return this.next.call(this.iterator, arg);
- });
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- take: function take(limit) {
- return new AsyncIteratorProxy({
- iterator: anObject(this),
- remaining: toPositiveInteger(limit)
- });
- }
- });
- /***/ }),
- /* 536 */
- /*!************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.async-iterator.to-array.js ***!
- \************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var $toArray = __webpack_require__(/*! ../internals/async-iterator-iteration */ 525).toArray;
- $({ target: 'AsyncIterator', proto: true, real: true }, {
- toArray: function toArray() {
- return $toArray(this);
- }
- });
- /***/ }),
- /* 537 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.constructor.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var anInstance = __webpack_require__(/*! ../internals/an-instance */ 327);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var fails = __webpack_require__(/*! ../internals/fails */ 51);
- var has = __webpack_require__(/*! ../internals/has */ 60);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ 216).IteratorPrototype;
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var ITERATOR = wellKnownSymbol('iterator');
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var NativeIterator = global.Iterator;
- // FF56- have non-standard global helper `Iterator`
- var FORCED = IS_PURE
- || typeof NativeIterator != 'function'
- || NativeIterator.prototype !== IteratorPrototype
- // FF44- non-standard `Iterator` passes previous tests
- || !fails(function () { NativeIterator({}); });
- var IteratorConstructor = function Iterator() {
- anInstance(this, IteratorConstructor);
- };
- if (IS_PURE) {
- IteratorPrototype = {};
- createNonEnumerableProperty(IteratorPrototype, ITERATOR, function () {
- return this;
- });
- }
- if (!has(IteratorPrototype, TO_STRING_TAG)) {
- createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, 'Iterator');
- }
- if (FORCED || !has(IteratorPrototype, 'constructor') || IteratorPrototype.constructor === Object) {
- createNonEnumerableProperty(IteratorPrototype, 'constructor', IteratorConstructor);
- }
- IteratorConstructor.prototype = IteratorPrototype;
- $({ global: true, forced: FORCED }, {
- Iterator: IteratorConstructor
- });
- /***/ }),
- /* 538 */
- /*!**************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.as-indexed-pairs.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var IteratorProxy = createIteratorProxy(function (arg) {
- var result = anObject(this.next.call(this.iterator, arg));
- var done = this.done = !!result.done;
- if (!done) return [this.index++, result.value];
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- asIndexedPairs: function asIndexedPairs() {
- return new IteratorProxy({
- iterator: anObject(this),
- index: 0
- });
- }
- });
- /***/ }),
- /* 539 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/internals/iterator-create-proxy.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var redefineAll = __webpack_require__(/*! ../internals/redefine-all */ 326);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var setInternalState = InternalStateModule.set;
- var getInternalState = InternalStateModule.get;
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var $return = function (value) {
- var iterator = getInternalState(this).iterator;
- var $$return = iterator['return'];
- return $$return === undefined ? { done: true, value: value } : anObject($$return.call(iterator, value));
- };
- var $throw = function (value) {
- var iterator = getInternalState(this).iterator;
- var $$throw = iterator['throw'];
- if ($$throw === undefined) throw value;
- return $$throw.call(iterator, value);
- };
- module.exports = function (nextHandler, IS_ITERATOR) {
- var IteratorProxy = function Iterator(state) {
- state.next = aFunction(state.iterator.next);
- state.done = false;
- setInternalState(this, state);
- };
- IteratorProxy.prototype = redefineAll(create(path.Iterator.prototype), {
- next: function next() {
- var state = getInternalState(this);
- var result = state.done ? undefined : nextHandler.apply(state, arguments);
- return { done: state.done, value: result };
- },
- 'return': $return,
- 'throw': $throw
- });
- if (!IS_ITERATOR) {
- createNonEnumerableProperty(IteratorProxy.prototype, TO_STRING_TAG, 'Generator');
- }
- return IteratorProxy;
- };
- /***/ }),
- /* 540 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.drop.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 357);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var IteratorProxy = createIteratorProxy(function (arg) {
- var iterator = this.iterator;
- var next = this.next;
- var result, done;
- while (this.remaining) {
- this.remaining--;
- result = anObject(next.call(iterator));
- done = this.done = !!result.done;
- if (done) return;
- }
- result = anObject(next.call(iterator, arg));
- done = this.done = !!result.done;
- if (!done) return result.value;
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- drop: function drop(limit) {
- return new IteratorProxy({
- iterator: anObject(this),
- remaining: toPositiveInteger(limit)
- });
- }
- });
- /***/ }),
- /* 541 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.every.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- $({ target: 'Iterator', proto: true, real: true }, {
- every: function every(fn) {
- anObject(this);
- aFunction(fn);
- return !iterate(this, function (value) {
- if (!fn(value)) return iterate.stop();
- }, undefined, false, true).stopped;
- }
- });
- /***/ }),
- /* 542 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.filter.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 138);
- var IteratorProxy = createIteratorProxy(function (arg) {
- var iterator = this.iterator;
- var filterer = this.filterer;
- var next = this.next;
- var result, done, value;
- while (true) {
- result = anObject(next.call(iterator, arg));
- done = this.done = !!result.done;
- if (done) return;
- value = result.value;
- if (callWithSafeIterationClosing(iterator, filterer, value)) return value;
- }
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- filter: function filter(filterer) {
- return new IteratorProxy({
- iterator: anObject(this),
- filterer: aFunction(filterer)
- });
- }
- });
- /***/ }),
- /* 543 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.find.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- $({ target: 'Iterator', proto: true, real: true }, {
- find: function find(fn) {
- anObject(this);
- aFunction(fn);
- return iterate(this, function (value) {
- if (fn(value)) return iterate.stop(value);
- }, undefined, false, true).result;
- }
- });
- /***/ }),
- /* 544 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.flat-map.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 138);
- var IteratorProxy = createIteratorProxy(function (arg) {
- var iterator = this.iterator;
- var result, mapped, iteratorMethod, innerIterator;
- while (true) {
- if (innerIterator = this.innerIterator) {
- result = anObject(this.innerNext.call(innerIterator));
- if (!result.done) return result.value;
- this.innerIterator = this.innerNext = null;
- }
- result = anObject(this.next.call(iterator, arg));
- if (this.done = !!result.done) return;
- mapped = callWithSafeIterationClosing(iterator, this.mapper, result.value);
- iteratorMethod = getIteratorMethod(mapped);
- if (iteratorMethod === undefined) {
- throw TypeError('.flatMap callback should return an iterable object');
- }
- this.innerIterator = innerIterator = anObject(iteratorMethod.call(mapped));
- this.innerNext = aFunction(innerIterator.next);
- }
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- flatMap: function flatMap(mapper) {
- return new IteratorProxy({
- iterator: anObject(this),
- mapper: aFunction(mapper),
- innerIterator: null,
- innerNext: null
- });
- }
- });
- /***/ }),
- /* 545 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.for-each.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- $({ target: 'Iterator', proto: true, real: true }, {
- forEach: function forEach(fn) {
- iterate(anObject(this), fn, undefined, false, true);
- }
- });
- /***/ }),
- /* 546 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.from.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var path = __webpack_require__(/*! ../internals/path */ 80);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toObject = __webpack_require__(/*! ../internals/to-object */ 93);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 135);
- var Iterator = path.Iterator;
- var IteratorProxy = createIteratorProxy(function (arg) {
- var result = anObject(this.next.call(this.iterator, arg));
- var done = this.done = !!result.done;
- if (!done) return result.value;
- }, true);
- $({ target: 'Iterator', stat: true }, {
- from: function from(O) {
- var object = toObject(O);
- var usingIterator = getIteratorMethod(object);
- var iterator;
- if (usingIterator != null) {
- iterator = aFunction(usingIterator).call(object);
- if (iterator instanceof Iterator) return iterator;
- } else {
- iterator = object;
- } return new IteratorProxy({
- iterator: iterator
- });
- }
- });
- /***/ }),
- /* 547 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.map.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 138);
- var IteratorProxy = createIteratorProxy(function (arg) {
- var iterator = this.iterator;
- var result = anObject(this.next.call(iterator, arg));
- var done = this.done = !!result.done;
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, result.value);
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- map: function map(mapper) {
- return new IteratorProxy({
- iterator: anObject(this),
- mapper: aFunction(mapper)
- });
- }
- });
- /***/ }),
- /* 548 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.reduce.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- $({ target: 'Iterator', proto: true, real: true }, {
- reduce: function reduce(reducer /* , initialValue */) {
- anObject(this);
- aFunction(reducer);
- var noInitial = arguments.length < 2;
- var accumulator = noInitial ? undefined : arguments[1];
- iterate(this, function (value) {
- if (noInitial) {
- noInitial = false;
- accumulator = value;
- } else {
- accumulator = reducer(accumulator, value);
- }
- }, undefined, false, true);
- if (noInitial) throw TypeError('Reduce of empty iterator with no initial value');
- return accumulator;
- }
- });
- /***/ }),
- /* 549 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.some.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- $({ target: 'Iterator', proto: true, real: true }, {
- some: function some(fn) {
- anObject(this);
- aFunction(fn);
- return iterate(this, function (value) {
- if (fn(value)) return iterate.stop();
- }, undefined, false, true).stopped;
- }
- });
- /***/ }),
- /* 550 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.take.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var toPositiveInteger = __webpack_require__(/*! ../internals/to-positive-integer */ 357);
- var createIteratorProxy = __webpack_require__(/*! ../internals/iterator-create-proxy */ 539);
- var IteratorProxy = createIteratorProxy(function (arg) {
- if (!this.remaining--) {
- this.done = true;
- return;
- }
- var result = anObject(this.next.call(this.iterator, arg));
- var done = this.done = !!result.done;
- if (!done) return result.value;
- });
- $({ target: 'Iterator', proto: true, real: true }, {
- take: function take(limit) {
- return new IteratorProxy({
- iterator: anObject(this),
- remaining: toPositiveInteger(limit)
- });
- }
- });
- /***/ }),
- /* 551 */
- /*!******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.iterator.to-array.js ***!
- \******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // https://github.com/tc39/proposal-iterator-helpers
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var push = [].push;
- $({ target: 'Iterator', proto: true, real: true }, {
- toArray: function toArray() {
- var result = [];
- iterate(anObject(this), push, result, false, true);
- return result;
- }
- });
- /***/ }),
- /* 552 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/proposals/map-upsert.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/thumbsupep/proposal-upsert
- // TODO: remove from `core-js@4`
- __webpack_require__(/*! ../modules/esnext.map.update-or-insert */ 553);
- __webpack_require__(/*! ../modules/esnext.map.upsert */ 555);
- __webpack_require__(/*! ../modules/esnext.weak-map.upsert */ 556);
- /***/ }),
- /* 553 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.update-or-insert.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- // TODO: remove from `core-js@4`
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var $upsert = __webpack_require__(/*! ../internals/map-upsert */ 554);
- // `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.upsert`)
- // https://github.com/thumbsupep/proposal-upsert
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- updateOrInsert: $upsert
- });
- /***/ }),
- /* 554 */
- /*!******************************************************!*\
- !*** ./node_modules/core-js/internals/map-upsert.js ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- // `Map.prototype.upsert` method
- // https://github.com/thumbsupep/proposal-upsert
- module.exports = function upsert(key, updateFn /* , insertFn */) {
- var map = anObject(this);
- var insertFn = arguments.length > 2 ? arguments[2] : undefined;
- var value;
- if (typeof updateFn != 'function' && typeof insertFn != 'function') {
- throw TypeError('At least one callback required');
- }
- if (map.has(key)) {
- value = map.get(key);
- if (typeof updateFn == 'function') {
- value = updateFn(value);
- map.set(key, value);
- }
- } else if (typeof insertFn == 'function') {
- value = insertFn();
- map.set(key, value);
- } return value;
- };
- /***/ }),
- /* 555 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.map.upsert.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var $upsert = __webpack_require__(/*! ../internals/map-upsert */ 554);
- // `Map.prototype.upsert` method
- // https://github.com/thumbsupep/proposal-upsert
- $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
- upsert: $upsert
- });
- /***/ }),
- /* 556 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.weak-map.upsert.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var $upsert = __webpack_require__(/*! ../internals/map-upsert */ 554);
- // `WeakMap.prototype.upsert` method
- // https://github.com/thumbsupep/proposal-upsert
- $({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE }, {
- upsert: $upsert
- });
- /***/ }),
- /* 557 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/proposals/set-methods.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.set.difference */ 558);
- __webpack_require__(/*! ../modules/esnext.set.intersection */ 559);
- __webpack_require__(/*! ../modules/esnext.set.is-disjoint-from */ 560);
- __webpack_require__(/*! ../modules/esnext.set.is-subset-of */ 561);
- __webpack_require__(/*! ../modules/esnext.set.is-superset-of */ 562);
- __webpack_require__(/*! ../modules/esnext.set.union */ 563);
- __webpack_require__(/*! ../modules/esnext.set.symmetric-difference */ 564);
- /***/ }),
- /* 558 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.difference.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.difference` method
- // https://github.com/tc39/proposal-set-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- difference: function difference(iterable) {
- var set = anObject(this);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
- var remover = aFunction(newSet['delete']);
- iterate(iterable, function (value) {
- remover.call(newSet, value);
- });
- return newSet;
- }
- });
- /***/ }),
- /* 559 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.intersection.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.intersection` method
- // https://github.com/tc39/proposal-set-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- intersection: function intersection(iterable) {
- var set = anObject(this);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
- var hasCheck = aFunction(set.has);
- var adder = aFunction(newSet.add);
- iterate(iterable, function (value) {
- if (hasCheck.call(set, value)) adder.call(newSet, value);
- });
- return newSet;
- }
- });
- /***/ }),
- /* 560 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.is-disjoint-from.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.isDisjointFrom` method
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- isDisjointFrom: function isDisjointFrom(iterable) {
- var set = anObject(this);
- var hasCheck = aFunction(set.has);
- return !iterate(iterable, function (value) {
- if (hasCheck.call(set, value) === true) return iterate.stop();
- }).stopped;
- }
- });
- /***/ }),
- /* 561 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.is-subset-of.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var getIterator = __webpack_require__(/*! ../internals/get-iterator */ 432);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.isSubsetOf` method
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- isSubsetOf: function isSubsetOf(iterable) {
- var iterator = getIterator(this);
- var otherSet = anObject(iterable);
- var hasCheck = otherSet.has;
- if (typeof hasCheck != 'function') {
- otherSet = new (getBuiltIn('Set'))(iterable);
- hasCheck = aFunction(otherSet.has);
- }
- return !iterate(iterator, function (value) {
- if (hasCheck.call(otherSet, value) === false) return iterate.stop();
- }, undefined, false, true).stopped;
- }
- });
- /***/ }),
- /* 562 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.is-superset-of.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.isSupersetOf` method
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- isSupersetOf: function isSupersetOf(iterable) {
- var set = anObject(this);
- var hasCheck = aFunction(set.has);
- return !iterate(iterable, function (value) {
- if (hasCheck.call(set, value) === false) return iterate.stop();
- }).stopped;
- }
- });
- /***/ }),
- /* 563 */
- /*!**********************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.union.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.union` method
- // https://github.com/tc39/proposal-set-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- union: function union(iterable) {
- var set = anObject(this);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
- iterate(iterable, aFunction(newSet.add), newSet);
- return newSet;
- }
- });
- /***/ }),
- /* 564 */
- /*!*************************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.set.symmetric-difference.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var anObject = __webpack_require__(/*! ../internals/an-object */ 65);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 235);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- // `Set.prototype.symmetricDifference` method
- // https://github.com/tc39/proposal-set-methods
- $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
- symmetricDifference: function symmetricDifference(iterable) {
- var set = anObject(this);
- var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
- var remover = aFunction(newSet['delete']);
- var adder = aFunction(newSet.add);
- iterate(iterable, function (value) {
- remover.call(newSet, value) || adder.call(newSet, value);
- });
- return newSet;
- }
- });
- /***/ }),
- /* 565 */
- /*!***********************************************************!*\
- !*** ./node_modules/core-js/proposals/using-statement.js ***!
- \***********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // https://github.com/tc39/proposal-using-statement
- __webpack_require__(/*! ../modules/esnext.symbol.async-dispose */ 566);
- __webpack_require__(/*! ../modules/esnext.symbol.dispose */ 567);
- /***/ }),
- /* 566 */
- /*!*********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.symbol.async-dispose.js ***!
- \*********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.asyncDispose` well-known symbol
- // https://github.com/tc39/proposal-using-statement
- defineWellKnownSymbol('asyncDispose');
- /***/ }),
- /* 567 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.symbol.dispose.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- // `Symbol.dispose` well-known symbol
- // https://github.com/tc39/proposal-using-statement
- defineWellKnownSymbol('dispose');
- /***/ }),
- /* 568 */
- /*!*****************************************!*\
- !*** ./node_modules/core-js/stage/3.js ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/promise-any */ 569);
- __webpack_require__(/*! ../proposals/string-replace-all */ 572);
- var parent = __webpack_require__(/*! ./4 */ 575);
- module.exports = parent;
- /***/ }),
- /* 569 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/proposals/promise-any.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.aggregate-error */ 570);
- __webpack_require__(/*! ../modules/esnext.promise.any */ 571);
- /***/ }),
- /* 570 */
- /*!****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.aggregate-error.js ***!
- \****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 50);
- var getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 144);
- var setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 155);
- var create = __webpack_require__(/*! ../internals/object-create */ 94);
- var defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 64);
- var createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 53);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 70);
- var setInternalState = InternalStateModule.set;
- var getInternalAggregateErrorState = InternalStateModule.getterFor('AggregateError');
- var $AggregateError = function AggregateError(errors, message) {
- var that = this;
- if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message);
- if (setPrototypeOf) {
- that = setPrototypeOf(new Error(message), getPrototypeOf(that));
- }
- var errorsArray = [];
- iterate(errors, errorsArray.push, errorsArray);
- if (DESCRIPTORS) setInternalState(that, { errors: errorsArray, type: 'AggregateError' });
- else that.errors = errorsArray;
- if (message !== undefined) createNonEnumerableProperty(that, 'message', String(message));
- return that;
- };
- $AggregateError.prototype = create(Error.prototype, {
- constructor: createPropertyDescriptor(5, $AggregateError),
- message: createPropertyDescriptor(5, ''),
- name: createPropertyDescriptor(5, 'AggregateError')
- });
- if (DESCRIPTORS) defineProperty.f($AggregateError.prototype, 'errors', {
- get: function () {
- return getInternalAggregateErrorState(this).errors;
- },
- configurable: true
- });
- $({ global: true }, {
- AggregateError: $AggregateError
- });
- /***/ }),
- /* 571 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.promise.any.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var aFunction = __webpack_require__(/*! ../internals/a-function */ 105);
- var getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 79);
- var newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 332);
- var perform = __webpack_require__(/*! ../internals/perform */ 334);
- var iterate = __webpack_require__(/*! ../internals/iterate */ 132);
- var PROMISE_ANY_ERROR = 'No one promise resolved';
- // `Promise.any` method
- // https://github.com/tc39/proposal-promise-any
- $({ target: 'Promise', stat: true }, {
- any: function any(iterable) {
- var C = this;
- var capability = newPromiseCapabilityModule.f(C);
- var resolve = capability.resolve;
- var reject = capability.reject;
- var result = perform(function () {
- var promiseResolve = aFunction(C.resolve);
- var errors = [];
- var counter = 0;
- var remaining = 1;
- var alreadyResolved = false;
- iterate(iterable, function (promise) {
- var index = counter++;
- var alreadyRejected = false;
- errors.push(undefined);
- remaining++;
- promiseResolve.call(C, promise).then(function (value) {
- if (alreadyRejected || alreadyResolved) return;
- alreadyResolved = true;
- resolve(value);
- }, function (e) {
- if (alreadyRejected || alreadyResolved) return;
- alreadyRejected = true;
- errors[index] = e;
- --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));
- });
- });
- --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR));
- });
- if (result.error) reject(result.value);
- return capability.promise;
- }
- });
- /***/ }),
- /* 572 */
- /*!**************************************************************!*\
- !*** ./node_modules/core-js/proposals/string-replace-all.js ***!
- \**************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.string.replace-all */ 573);
- __webpack_require__(/*! ../modules/esnext.symbol.replace-all */ 574);
- /***/ }),
- /* 573 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.string.replace-all.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 57);
- var isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 223);
- var getRegExpFlags = __webpack_require__(/*! ../internals/regexp-flags */ 230);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 74);
- var REPLACE = wellKnownSymbol('replace');
- var RegExpPrototype = RegExp.prototype;
- // `String.prototype.replaceAll` method
- // https://github.com/tc39/proposal-string-replace-all
- $({ target: 'String', proto: true }, {
- replaceAll: function replaceAll(searchValue, replaceValue) {
- var O = requireObjectCoercible(this);
- var IS_REG_EXP, flags, replacer, string, searchString, template, result, position, index;
- if (searchValue != null) {
- IS_REG_EXP = isRegExp(searchValue);
- if (IS_REG_EXP) {
- flags = String(requireObjectCoercible('flags' in RegExpPrototype
- ? searchValue.flags
- : getRegExpFlags.call(searchValue)
- ));
- if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes');
- }
- replacer = searchValue[REPLACE];
- if (replacer !== undefined) {
- return replacer.call(searchValue, O, replaceValue);
- } else if (IS_PURE && IS_REG_EXP) {
- return String(O).replace(searchValue, replaceValue);
- }
- }
- string = String(O);
- searchString = String(searchValue);
- if (searchString === '') return replaceAll.call(string, /(?:)/g, replaceValue);
- template = string.split(searchString);
- if (typeof replaceValue !== 'function') {
- return template.join(String(replaceValue));
- }
- result = template[0];
- position = result.length;
- for (index = 1; index < template.length; index++) {
- result += String(replaceValue(searchString, position, string));
- position += searchString.length + template[index].length;
- result += template[index];
- }
- return result;
- }
- });
- /***/ }),
- /* 574 */
- /*!*******************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.symbol.replace-all.js ***!
- \*******************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: remove from `core-js@4`
- var defineWellKnownSymbol = __webpack_require__(/*! ../internals/define-well-known-symbol */ 101);
- defineWellKnownSymbol('replaceAll');
- /***/ }),
- /* 575 */
- /*!*****************************************!*\
- !*** ./node_modules/core-js/stage/4.js ***!
- \*****************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../proposals/global-this */ 576);
- __webpack_require__(/*! ../proposals/promise-all-settled */ 578);
- __webpack_require__(/*! ../proposals/string-match-all */ 580);
- var path = __webpack_require__(/*! ../internals/path */ 80);
- module.exports = path;
- /***/ }),
- /* 576 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/proposals/global-this.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/esnext.global-this */ 577);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- module.exports = global;
- /***/ }),
- /* 577 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.global-this.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: Remove from `core-js@4`
- __webpack_require__(/*! ./es.global-this */ 169);
- /***/ }),
- /* 578 */
- /*!***************************************************************!*\
- !*** ./node_modules/core-js/proposals/promise-all-settled.js ***!
- \***************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: Remove from `core-js@4`
- __webpack_require__(/*! ../modules/esnext.promise.all-settled */ 579);
- /***/ }),
- /* 579 */
- /*!********************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.promise.all-settled.js ***!
- \********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: Remove from `core-js@4`
- __webpack_require__(/*! ./es.promise.all-settled.js */ 335);
- /***/ }),
- /* 580 */
- /*!************************************************************!*\
- !*** ./node_modules/core-js/proposals/string-match-all.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: Remove from `core-js@4`
- __webpack_require__(/*! ../modules/esnext.string.match-all */ 581);
- /***/ }),
- /* 581 */
- /*!*****************************************************************!*\
- !*** ./node_modules/core-js/modules/esnext.string.match-all.js ***!
- \*****************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- // TODO: Remove from `core-js@4`
- __webpack_require__(/*! ./es.string.match-all */ 234);
- /***/ }),
- /* 582 */
- /*!*******************************************!*\
- !*** ./node_modules/core-js/web/index.js ***!
- \*******************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- __webpack_require__(/*! ../modules/web.dom-collections.for-each */ 583);
- __webpack_require__(/*! ../modules/web.dom-collections.iterator */ 585);
- __webpack_require__(/*! ../modules/web.immediate */ 586);
- __webpack_require__(/*! ../modules/web.queue-microtask */ 587);
- __webpack_require__(/*! ../modules/web.timers */ 588);
- __webpack_require__(/*! ../modules/web.url */ 428);
- __webpack_require__(/*! ../modules/web.url.to-json */ 433);
- __webpack_require__(/*! ../modules/web.url-search-params */ 431);
- var path = __webpack_require__(/*! ../internals/path */ 80);
- module.exports = path;
- /***/ }),
- /* 583 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/web.dom-collections.for-each.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ 584);
- var forEach = __webpack_require__(/*! ../internals/array-for-each */ 194);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- for (var COLLECTION_NAME in DOMIterables) {
- var Collection = global[COLLECTION_NAME];
- var CollectionPrototype = Collection && Collection.prototype;
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
- } catch (error) {
- CollectionPrototype.forEach = forEach;
- }
- }
- /***/ }),
- /* 584 */
- /*!*********************************************************!*\
- !*** ./node_modules/core-js/internals/dom-iterables.js ***!
- \*********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- // iterable DOM collections
- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
- module.exports = {
- CSSRuleList: 0,
- CSSStyleDeclaration: 0,
- CSSValueList: 0,
- ClientRectList: 0,
- DOMRectList: 0,
- DOMStringList: 0,
- DOMTokenList: 1,
- DataTransferItemList: 0,
- FileList: 0,
- HTMLAllCollection: 0,
- HTMLCollection: 0,
- HTMLFormElement: 0,
- HTMLSelectElement: 0,
- MediaList: 0,
- MimeTypeArray: 0,
- NamedNodeMap: 0,
- NodeList: 1,
- PaintRequestList: 0,
- Plugin: 0,
- PluginArray: 0,
- SVGLengthList: 0,
- SVGNumberList: 0,
- SVGPathSegList: 0,
- SVGPointList: 0,
- SVGStringList: 0,
- SVGTransformList: 0,
- SourceBufferList: 0,
- StyleSheetList: 0,
- TextTrackCueList: 0,
- TextTrackList: 0,
- TouchList: 0
- };
- /***/ }),
- /* 585 */
- /*!**********************************************************************!*\
- !*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***!
- \**********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ 584);
- var ArrayIteratorMethods = __webpack_require__(/*! ../modules/es.array.iterator */ 213);
- var createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 63);
- var wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 99);
- var ITERATOR = wellKnownSymbol('iterator');
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
- var ArrayValues = ArrayIteratorMethods.values;
- for (var COLLECTION_NAME in DOMIterables) {
- var Collection = global[COLLECTION_NAME];
- var CollectionPrototype = Collection && Collection.prototype;
- if (CollectionPrototype) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
- } catch (error) {
- CollectionPrototype[ITERATOR] = ArrayValues;
- }
- if (!CollectionPrototype[TO_STRING_TAG]) {
- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
- }
- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
- // some Chrome versions have non-configurable methods on DOMTokenList
- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
- } catch (error) {
- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
- }
- }
- }
- }
- /***/ }),
- /* 586 */
- /*!*******************************************************!*\
- !*** ./node_modules/core-js/modules/web.immediate.js ***!
- \*******************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var task = __webpack_require__(/*! ../internals/task */ 328);
- var FORCED = !global.setImmediate || !global.clearImmediate;
- // http://w3c.github.io/setImmediate/
- $({ global: true, bind: true, enumerable: true, forced: FORCED }, {
- // `setImmediate` method
- // http://w3c.github.io/setImmediate/#si-setImmediate
- setImmediate: task.set,
- // `clearImmediate` method
- // http://w3c.github.io/setImmediate/#si-clearImmediate
- clearImmediate: task.clear
- });
- /***/ }),
- /* 587 */
- /*!*************************************************************!*\
- !*** ./node_modules/core-js/modules/web.queue-microtask.js ***!
- \*************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var microtask = __webpack_require__(/*! ../internals/microtask */ 330);
- var classof = __webpack_require__(/*! ../internals/classof-raw */ 56);
- var process = global.process;
- var isNode = classof(process) == 'process';
- // `queueMicrotask` method
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask
- $({ global: true, enumerable: true, noTargetGet: true }, {
- queueMicrotask: function queueMicrotask(fn) {
- var domain = isNode && process.domain;
- microtask(domain ? domain.bind(fn) : fn);
- }
- });
- /***/ }),
- /* 588 */
- /*!****************************************************!*\
- !*** ./node_modules/core-js/modules/web.timers.js ***!
- \****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- var $ = __webpack_require__(/*! ../internals/export */ 47);
- var global = __webpack_require__(/*! ../internals/global */ 48);
- var userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 178);
- var slice = [].slice;
- var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
- var wrap = function (scheduler) {
- return function (handler, timeout /* , ...arguments */) {
- var boundArgs = arguments.length > 2;
- var args = boundArgs ? slice.call(arguments, 2) : undefined;
- return scheduler(boundArgs ? function () {
- // eslint-disable-next-line no-new-func
- (typeof handler == 'function' ? handler : Function(handler)).apply(this, args);
- } : handler, timeout);
- };
- };
- // ie9- setTimeout & setInterval additional parameters fix
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
- $({ global: true, bind: true, forced: MSIE }, {
- // `setTimeout` method
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
- setTimeout: wrap(global.setTimeout),
- // `setInterval` method
- // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
- setInterval: wrap(global.setInterval)
- });
- /***/ }),
- /* 589 */
- /*!**************************************************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/axios-miniprogram-adapter@0.3.5/node_modules/axios-miniprogram-adapter/dist/index.esm.js ***!
- \**************************************************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
- var _utils = _interopRequireDefault(__webpack_require__(/*! axios/lib/utils */ 15));
- var _settle = _interopRequireDefault(__webpack_require__(/*! axios/lib/core/settle */ 28));
- var _buildURL = _interopRequireDefault(__webpack_require__(/*! axios/lib/helpers/buildURL */ 18));
- var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! axios/lib/core/buildFullPath */ 31));
- var _createError = _interopRequireDefault(__webpack_require__(/*! axios/lib/core/createError */ 29));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} /*!
- * axios-miniprogram-adapter 0.3.5 (https://github.com/bigMeow/axios-miniprogram-adapter)
- * API https://github.com/bigMeow/axios-miniprogram-adapter/blob/master/doc/api.md
- * Copyright 2018-2022 bigMeow. All Rights Reserved
- * Licensed under MIT (https://github.com/bigMeow/axios-miniprogram-adapter/blob/master/LICENSE)
- */var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; // encoder
- function encoder(input) {var str = String(input); // initialize result and counter
- var block;
- var charCode;
- var idx = 0;
- var map = chars;
- var output = '';
- for (;
- // if the next str index does not exist:
- // change the mapping table to "="
- // check if d has no fractional digits
- str.charAt(idx | 0) || (map = '=', idx % 1);
- // "8 - idx % 1 * 8" generates the sequence 2, 4, 6, 8
- output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {
- charCode = str.charCodeAt(idx += 3 / 4);
- if (charCode > 0xFF) {
- throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");
- }
- block = block << 8 | charCode;
- }
- return output;
- }
- var platFormName = "wechat" /* 微信 */;
- /**
- * 获取各个平台的请求函数
- */
- function getRequest() {
- switch (true) {
- case typeof wx === 'object':
- platFormName = "wechat" /* 微信 */;
- return wx.request.bind(wx);
- case typeof swan === 'object':
- platFormName = "baidu" /* 百度 */;
- return swan.request.bind(swan);
- case typeof dd === 'object':
- platFormName = "dd" /* 钉钉 */;
- // https://open.dingtalk.com/document/orgapp-client/send-network-requests
- return dd.httpRequest.bind(dd);
- case typeof my === 'object':
- /**
- * remark:
- * 支付宝客户端已不再维护 my.httpRequest,建议使用 my.request。另外,钉钉客户端尚不支持 my.request。若在钉钉客户端开发小程序,则需要使用 my.httpRequest。
- * my.httpRequest的请求头默认值为{'content-type': 'application/x-www-form-urlencoded'}。
- * my.request的请求头默认值为{'content-type': 'application/json'}。
- * 还有个 dd.httpRequest
- */
- platFormName = "alipay" /* 支付宝 */;
- return (my.request || my.httpRequest).bind(my);
- default:
- return wx.request.bind(wx);}
- }
- /**
- * 处理各平台返回的响应数据,抹平差异
- * @param mpResponse
- * @param config axios处理过的请求配置对象
- * @param request 小程序的调用发起请求时,传递给小程序api的实际配置
- */
- function transformResponse(mpResponse, config, mpRequestOption) {
- var headers = mpResponse.header || mpResponse.headers;
- var status = mpResponse.statusCode || mpResponse.status;
- var statusText = '';
- if (status === 200) {
- statusText = 'OK';
- } else
- if (status === 400) {
- statusText = 'Bad Request';
- }
- var response = {
- data: mpResponse.data,
- status: status,
- statusText: statusText,
- headers: headers,
- config: config,
- request: mpRequestOption };
- return response;
- }
- /**
- * 处理各平台返回的错误信息,抹平差异
- * @param error 小程序api返回的错误对象
- * @param reject 上层的promise reject 函数
- * @param config
- */
- function transformError(error, reject, config) {
- switch (platFormName) {
- case "wechat" /* 微信 */:
- if (error.errMsg.indexOf('request:fail abort') !== -1) {
- // Handle request cancellation (as opposed to a manual cancellation)
- reject((0, _createError.default)('Request aborted', config, 'ECONNABORTED', ''));
- } else
- if (error.errMsg.indexOf('timeout') !== -1) {
- // timeout
- reject((0, _createError.default)('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED', ''));
- } else
- {
- // NetWordError
- reject((0, _createError.default)('Network Error', config, null, ''));
- }
- break;
- case "dd" /* 钉钉 */:
- case "alipay" /* 支付宝 */:
- // https://docs.alipay.com/mini/api/network
- if ([14, 19].includes(error.error)) {
- reject((0, _createError.default)('Request aborted', config, 'ECONNABORTED', '', error));
- } else
- if ([13].includes(error.error)) {
- // timeout
- reject((0, _createError.default)('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED', '', error));
- } else
- {
- // NetWordError
- reject((0, _createError.default)('Network Error', config, null, '', error));
- }
- break;
- case "baidu" /* 百度 */:
- // TODO error.errCode
- reject((0, _createError.default)('Network Error', config, null, ''));
- break;}
- }
- /**
- * 将axios的请求配置,转换成各个平台都支持的请求config
- * @param config
- */
- function transformConfig(config) {
- var _a;
- if (["alipay" /* 支付宝 */, "dd" /* 钉钉 */].includes(platFormName)) {
- config.headers = config.header;
- delete config.header;
- if ("dd" /* 钉钉 */ === platFormName && config.method !== 'GET' && ((_a = config.headers) === null || _a === void 0 ? void 0 : _a['Content-Type']) === 'application/json' && Object.prototype.toString.call(config.data) === '[object Object]') {
- // Content-Type为application/json时,data参数只支持json字符串,需要手动调用JSON.stringify进行序列化
- config.data = JSON.stringify(config.data);
- }
- }
- return config;
- }
- var isJSONstr = function isJSONstr(str) {
- try {
- return typeof str === 'string' && str.length && (str = JSON.parse(str)) && Object.prototype.toString.call(str) === '[object Object]';
- }
- catch (error) {
- return false;
- }
- };
- function mpAdapter(config, _a) {
- var _b = (_a === void 0 ? {} : _a).transformRequestOption,transformRequestOption = _b === void 0 ? function (requestOption) {return requestOption;} : _b;
- var request = getRequest();
- return new Promise(function (resolve, reject) {
- var requestTask;
- var requestData = config.data;
- var requestHeaders = config.headers;
- // baidu miniprogram only support upperCase
- var requestMethod = config.method && config.method.toUpperCase() || 'GET';
- // miniprogram network request config
- var mpRequestOption = {
- method: requestMethod,
- url: (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params, config.paramsSerializer),
- timeout: config.timeout,
- // Listen for success
- success: function success(mpResponse) {
- var response = transformResponse(mpResponse, config, mpRequestOption);
- (0, _settle.default)(resolve, reject, response);
- },
- // Handle request Exception
- fail: function fail(error) {
- transformError(error, reject, config);
- },
- complete: function complete() {
- requestTask = undefined;
- } };
- // HTTP basic authentication
- if (config.auth) {
- var _a = [config.auth.username || '', config.auth.password || ''],username = _a[0],password = _a[1];
- requestHeaders.Authorization = 'Basic ' + encoder(username + ':' + password);
- }
- // Add headers to the request
- _utils.default.forEach(requestHeaders, function setRequestHeader(val, key) {
- var _header = key.toLowerCase();
- if (typeof requestData === 'undefined' && _header === 'content-type' || _header === 'referer') {
- // Remove Content-Type if data is undefined
- // And the miniprogram document said that '设置请求的 header,header 中不能设置 Referer'
- delete requestHeaders[key];
- }
- });
- mpRequestOption.header = requestHeaders;
- // Add responseType to request if needed
- if (config.responseType) {
- mpRequestOption.responseType = config.responseType;
- }
- if (config.cancelToken) {
- // Handle cancellation
- config.cancelToken.promise.then(function onCanceled(cancel) {
- if (!requestTask) {
- return;
- }
- requestTask.abort();
- reject(cancel);
- // Clean up request
- requestTask = undefined;
- });
- }
- // Converting JSON strings to objects is handed over to the MiniPrograme
- if (isJSONstr(requestData)) {
- requestData = JSON.parse(requestData);
- }
- if (requestData !== undefined) {
- mpRequestOption.data = requestData;
- }
- requestTask = request(transformRequestOption(transformConfig(mpRequestOption)));
- });
- }var _default =
- mpAdapter;exports.default = _default;
- /***/ }),
- /* 590 */
- /*!************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/wxcomponents/dist/notify/notify.js ***!
- \************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.default = Notify;var _color = __webpack_require__(/*! ../common/color */ 591);
- var defaultOptions = {
- selector: '#van-notify',
- type: 'danger',
- message: '',
- background: '',
- duration: 3000,
- zIndex: 110,
- top: 0,
- color: _color.WHITE,
- safeAreaInsetTop: false,
- onClick: function onClick() {},
- onOpened: function onOpened() {},
- onClose: function onClose() {} };
- var currentOptions = Object.assign({}, defaultOptions);
- function parseOptions(message) {
- if (message == null) {
- return {};
- }
- return typeof message === 'string' ? { message: message } : message;
- }
- function getContext() {
- var pages = getCurrentPages();
- return pages[pages.length - 1];
- }
- function Notify(options) {
- options = Object.assign(Object.assign({}, currentOptions), parseOptions(options));
- var context = options.context || getContext();
- var notify = context.selectComponent(options.selector);
- delete options.context;
- delete options.selector;
- if (notify) {
- notify.setData(options);
- notify.showNotify();
- return notify;
- }
- console.warn('未找到 van-notify 节点,请确认 selector 及 context 是否正确');
- }
- Notify.clear = function (options) {
- options = Object.assign(Object.assign({}, defaultOptions), parseOptions(options));
- var context = options.context || getContext();
- var notify = context.selectComponent(options.selector);
- if (notify) {
- notify.hide();
- }
- };
- Notify.setDefaultOptions = function (options) {
- Object.assign(currentOptions, options);
- };
- Notify.resetDefaultOptions = function () {
- currentOptions = Object.assign({}, defaultOptions);
- };
- /***/ }),
- /* 591 */
- /*!***********************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/wxcomponents/dist/common/color.js ***!
- \***********************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.GRAY_DARK = exports.GRAY = exports.ORANGE = exports.GREEN = exports.WHITE = exports.BLUE = exports.RED = void 0;var RED = '#ee0a24';exports.RED = RED;
- var BLUE = '#1989fa';exports.BLUE = BLUE;
- var WHITE = '#fff';exports.WHITE = WHITE;
- var GREEN = '#07c160';exports.GREEN = GREEN;
- var ORANGE = '#ff976a';exports.ORANGE = ORANGE;
- var GRAY = '#323233';exports.GRAY = GRAY;
- var GRAY_DARK = '#969799';exports.GRAY_DARK = GRAY_DARK;
- /***/ }),
- /* 592 */,
- /* 593 */,
- /* 594 */,
- /* 595 */,
- /* 596 */,
- /* 597 */,
- /* 598 */
- /*!**********************************************************!*\
- !*** ./node_modules/@babel/runtime/regenerator/index.js ***!
- \**********************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(/*! regenerator-runtime */ 599);
- /***/ }),
- /* 599 */
- /*!************************************************************!*\
- !*** ./node_modules/regenerator-runtime/runtime-module.js ***!
- \************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- /**
- * Copyright (c) 2014-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
- // This method of obtaining a reference to the global object needs to be
- // kept identical to the way it is obtained in runtime.js
- var g = (function() {
- return this || (typeof self === "object" && self);
- })() || Function("return this")();
- // Use `getOwnPropertyNames` because not all browsers support calling
- // `hasOwnProperty` on the global `self` object in a worker. See #183.
- var hadRuntime = g.regeneratorRuntime &&
- Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
- // Save the old regeneratorRuntime in case it needs to be restored later.
- var oldRuntime = hadRuntime && g.regeneratorRuntime;
- // Force reevalutation of runtime.js.
- g.regeneratorRuntime = undefined;
- module.exports = __webpack_require__(/*! ./runtime */ 600);
- if (hadRuntime) {
- // Restore the original runtime.
- g.regeneratorRuntime = oldRuntime;
- } else {
- // Remove the global property added by runtime.js.
- try {
- delete g.regeneratorRuntime;
- } catch(e) {
- g.regeneratorRuntime = undefined;
- }
- }
- /***/ }),
- /* 600 */
- /*!*****************************************************!*\
- !*** ./node_modules/regenerator-runtime/runtime.js ***!
- \*****************************************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- /**
- * Copyright (c) 2014-present, Facebook, Inc.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
- !(function(global) {
- "use strict";
- var Op = Object.prototype;
- var hasOwn = Op.hasOwnProperty;
- var undefined; // More compressible than void 0.
- var $Symbol = typeof Symbol === "function" ? Symbol : {};
- var iteratorSymbol = $Symbol.iterator || "@@iterator";
- var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
- var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
- var inModule = typeof module === "object";
- var runtime = global.regeneratorRuntime;
- if (runtime) {
- if (inModule) {
- // If regeneratorRuntime is defined globally and we're in a module,
- // make the exports object identical to regeneratorRuntime.
- module.exports = runtime;
- }
- // Don't bother evaluating the rest of this file if the runtime was
- // already defined globally.
- return;
- }
- // Define the runtime globally (as expected by generated code) as either
- // module.exports (if we're in a module) or a new, empty object.
- runtime = global.regeneratorRuntime = inModule ? module.exports : {};
- function wrap(innerFn, outerFn, self, tryLocsList) {
- // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
- var generator = Object.create(protoGenerator.prototype);
- var context = new Context(tryLocsList || []);
- // The ._invoke method unifies the implementations of the .next,
- // .throw, and .return methods.
- generator._invoke = makeInvokeMethod(innerFn, self, context);
- return generator;
- }
- runtime.wrap = wrap;
- // Try/catch helper to minimize deoptimizations. Returns a completion
- // record like context.tryEntries[i].completion. This interface could
- // have been (and was previously) designed to take a closure to be
- // invoked without arguments, but in all the cases we care about we
- // already have an existing method we want to call, so there's no need
- // to create a new function object. We can even get away with assuming
- // the method takes exactly one argument, since that happens to be true
- // in every case, so we don't have to touch the arguments object. The
- // only additional allocation required is the completion record, which
- // has a stable shape and so hopefully should be cheap to allocate.
- function tryCatch(fn, obj, arg) {
- try {
- return { type: "normal", arg: fn.call(obj, arg) };
- } catch (err) {
- return { type: "throw", arg: err };
- }
- }
- var GenStateSuspendedStart = "suspendedStart";
- var GenStateSuspendedYield = "suspendedYield";
- var GenStateExecuting = "executing";
- var GenStateCompleted = "completed";
- // Returning this object from the innerFn has the same effect as
- // breaking out of the dispatch switch statement.
- var ContinueSentinel = {};
- // Dummy constructor functions that we use as the .constructor and
- // .constructor.prototype properties for functions that return Generator
- // objects. For full spec compliance, you may wish to configure your
- // minifier not to mangle the names of these two functions.
- function Generator() {}
- function GeneratorFunction() {}
- function GeneratorFunctionPrototype() {}
- // This is a polyfill for %IteratorPrototype% for environments that
- // don't natively support it.
- var IteratorPrototype = {};
- IteratorPrototype[iteratorSymbol] = function () {
- return this;
- };
- var getProto = Object.getPrototypeOf;
- var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
- if (NativeIteratorPrototype &&
- NativeIteratorPrototype !== Op &&
- hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
- // This environment has a native %IteratorPrototype%; use it instead
- // of the polyfill.
- IteratorPrototype = NativeIteratorPrototype;
- }
- var Gp = GeneratorFunctionPrototype.prototype =
- Generator.prototype = Object.create(IteratorPrototype);
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
- GeneratorFunctionPrototype[toStringTagSymbol] =
- GeneratorFunction.displayName = "GeneratorFunction";
- // Helper for defining the .next, .throw, and .return methods of the
- // Iterator interface in terms of a single ._invoke method.
- function defineIteratorMethods(prototype) {
- ["next", "throw", "return"].forEach(function(method) {
- prototype[method] = function(arg) {
- return this._invoke(method, arg);
- };
- });
- }
- runtime.isGeneratorFunction = function(genFun) {
- var ctor = typeof genFun === "function" && genFun.constructor;
- return ctor
- ? ctor === GeneratorFunction ||
- // For the native GeneratorFunction constructor, the best we can
- // do is to check its .name property.
- (ctor.displayName || ctor.name) === "GeneratorFunction"
- : false;
- };
- runtime.mark = function(genFun) {
- if (Object.setPrototypeOf) {
- Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
- } else {
- genFun.__proto__ = GeneratorFunctionPrototype;
- if (!(toStringTagSymbol in genFun)) {
- genFun[toStringTagSymbol] = "GeneratorFunction";
- }
- }
- genFun.prototype = Object.create(Gp);
- return genFun;
- };
- // Within the body of any async function, `await x` is transformed to
- // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
- // `hasOwn.call(value, "__await")` to determine if the yielded value is
- // meant to be awaited.
- runtime.awrap = function(arg) {
- return { __await: arg };
- };
- function AsyncIterator(generator) {
- function invoke(method, arg, resolve, reject) {
- var record = tryCatch(generator[method], generator, arg);
- if (record.type === "throw") {
- reject(record.arg);
- } else {
- var result = record.arg;
- var value = result.value;
- if (value &&
- typeof value === "object" &&
- hasOwn.call(value, "__await")) {
- return Promise.resolve(value.__await).then(function(value) {
- invoke("next", value, resolve, reject);
- }, function(err) {
- invoke("throw", err, resolve, reject);
- });
- }
- return Promise.resolve(value).then(function(unwrapped) {
- // When a yielded Promise is resolved, its final value becomes
- // the .value of the Promise<{value,done}> result for the
- // current iteration.
- result.value = unwrapped;
- resolve(result);
- }, function(error) {
- // If a rejected Promise was yielded, throw the rejection back
- // into the async generator function so it can be handled there.
- return invoke("throw", error, resolve, reject);
- });
- }
- }
- var previousPromise;
- function enqueue(method, arg) {
- function callInvokeWithMethodAndArg() {
- return new Promise(function(resolve, reject) {
- invoke(method, arg, resolve, reject);
- });
- }
- return previousPromise =
- // If enqueue has been called before, then we want to wait until
- // all previous Promises have been resolved before calling invoke,
- // so that results are always delivered in the correct order. If
- // enqueue has not been called before, then it is important to
- // call invoke immediately, without waiting on a callback to fire,
- // so that the async generator function has the opportunity to do
- // any necessary setup in a predictable way. This predictability
- // is why the Promise constructor synchronously invokes its
- // executor callback, and why async functions synchronously
- // execute code before the first await. Since we implement simple
- // async functions in terms of async generators, it is especially
- // important to get this right, even though it requires care.
- previousPromise ? previousPromise.then(
- callInvokeWithMethodAndArg,
- // Avoid propagating failures to Promises returned by later
- // invocations of the iterator.
- callInvokeWithMethodAndArg
- ) : callInvokeWithMethodAndArg();
- }
- // Define the unified helper method that is used to implement .next,
- // .throw, and .return (see defineIteratorMethods).
- this._invoke = enqueue;
- }
- defineIteratorMethods(AsyncIterator.prototype);
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
- return this;
- };
- runtime.AsyncIterator = AsyncIterator;
- // Note that simple async functions are implemented on top of
- // AsyncIterator objects; they just return a Promise for the value of
- // the final result produced by the iterator.
- runtime.async = function(innerFn, outerFn, self, tryLocsList) {
- var iter = new AsyncIterator(
- wrap(innerFn, outerFn, self, tryLocsList)
- );
- return runtime.isGeneratorFunction(outerFn)
- ? iter // If outerFn is a generator, return the full iterator.
- : iter.next().then(function(result) {
- return result.done ? result.value : iter.next();
- });
- };
- function makeInvokeMethod(innerFn, self, context) {
- var state = GenStateSuspendedStart;
- return function invoke(method, arg) {
- if (state === GenStateExecuting) {
- throw new Error("Generator is already running");
- }
- if (state === GenStateCompleted) {
- if (method === "throw") {
- throw arg;
- }
- // Be forgiving, per 25.3.3.3.3 of the spec:
- // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
- return doneResult();
- }
- context.method = method;
- context.arg = arg;
- while (true) {
- var delegate = context.delegate;
- if (delegate) {
- var delegateResult = maybeInvokeDelegate(delegate, context);
- if (delegateResult) {
- if (delegateResult === ContinueSentinel) continue;
- return delegateResult;
- }
- }
- if (context.method === "next") {
- // Setting context._sent for legacy support of Babel's
- // function.sent implementation.
- context.sent = context._sent = context.arg;
- } else if (context.method === "throw") {
- if (state === GenStateSuspendedStart) {
- state = GenStateCompleted;
- throw context.arg;
- }
- context.dispatchException(context.arg);
- } else if (context.method === "return") {
- context.abrupt("return", context.arg);
- }
- state = GenStateExecuting;
- var record = tryCatch(innerFn, self, context);
- if (record.type === "normal") {
- // If an exception is thrown from innerFn, we leave state ===
- // GenStateExecuting and loop back for another invocation.
- state = context.done
- ? GenStateCompleted
- : GenStateSuspendedYield;
- if (record.arg === ContinueSentinel) {
- continue;
- }
- return {
- value: record.arg,
- done: context.done
- };
- } else if (record.type === "throw") {
- state = GenStateCompleted;
- // Dispatch the exception by looping back around to the
- // context.dispatchException(context.arg) call above.
- context.method = "throw";
- context.arg = record.arg;
- }
- }
- };
- }
- // Call delegate.iterator[context.method](context.arg) and handle the
- // result, either by returning a { value, done } result from the
- // delegate iterator, or by modifying context.method and context.arg,
- // setting context.delegate to null, and returning the ContinueSentinel.
- function maybeInvokeDelegate(delegate, context) {
- var method = delegate.iterator[context.method];
- if (method === undefined) {
- // A .throw or .return when the delegate iterator has no .throw
- // method always terminates the yield* loop.
- context.delegate = null;
- if (context.method === "throw") {
- if (delegate.iterator.return) {
- // If the delegate iterator has a return method, give it a
- // chance to clean up.
- context.method = "return";
- context.arg = undefined;
- maybeInvokeDelegate(delegate, context);
- if (context.method === "throw") {
- // If maybeInvokeDelegate(context) changed context.method from
- // "return" to "throw", let that override the TypeError below.
- return ContinueSentinel;
- }
- }
- context.method = "throw";
- context.arg = new TypeError(
- "The iterator does not provide a 'throw' method");
- }
- return ContinueSentinel;
- }
- var record = tryCatch(method, delegate.iterator, context.arg);
- if (record.type === "throw") {
- context.method = "throw";
- context.arg = record.arg;
- context.delegate = null;
- return ContinueSentinel;
- }
- var info = record.arg;
- if (! info) {
- context.method = "throw";
- context.arg = new TypeError("iterator result is not an object");
- context.delegate = null;
- return ContinueSentinel;
- }
- if (info.done) {
- // Assign the result of the finished delegate to the temporary
- // variable specified by delegate.resultName (see delegateYield).
- context[delegate.resultName] = info.value;
- // Resume execution at the desired location (see delegateYield).
- context.next = delegate.nextLoc;
- // If context.method was "throw" but the delegate handled the
- // exception, let the outer generator proceed normally. If
- // context.method was "next", forget context.arg since it has been
- // "consumed" by the delegate iterator. If context.method was
- // "return", allow the original .return call to continue in the
- // outer generator.
- if (context.method !== "return") {
- context.method = "next";
- context.arg = undefined;
- }
- } else {
- // Re-yield the result returned by the delegate method.
- return info;
- }
- // The delegate iterator is finished, so forget it and continue with
- // the outer generator.
- context.delegate = null;
- return ContinueSentinel;
- }
- // Define Generator.prototype.{next,throw,return} in terms of the
- // unified ._invoke helper method.
- defineIteratorMethods(Gp);
- Gp[toStringTagSymbol] = "Generator";
- // A Generator should always return itself as the iterator object when the
- // @@iterator function is called on it. Some browsers' implementations of the
- // iterator prototype chain incorrectly implement this, causing the Generator
- // object to not be returned from this call. This ensures that doesn't happen.
- // See https://github.com/facebook/regenerator/issues/274 for more details.
- Gp[iteratorSymbol] = function() {
- return this;
- };
- Gp.toString = function() {
- return "[object Generator]";
- };
- function pushTryEntry(locs) {
- var entry = { tryLoc: locs[0] };
- if (1 in locs) {
- entry.catchLoc = locs[1];
- }
- if (2 in locs) {
- entry.finallyLoc = locs[2];
- entry.afterLoc = locs[3];
- }
- this.tryEntries.push(entry);
- }
- function resetTryEntry(entry) {
- var record = entry.completion || {};
- record.type = "normal";
- delete record.arg;
- entry.completion = record;
- }
- function Context(tryLocsList) {
- // The root entry object (effectively a try statement without a catch
- // or a finally block) gives us a place to store values thrown from
- // locations where there is no enclosing try statement.
- this.tryEntries = [{ tryLoc: "root" }];
- tryLocsList.forEach(pushTryEntry, this);
- this.reset(true);
- }
- runtime.keys = function(object) {
- var keys = [];
- for (var key in object) {
- keys.push(key);
- }
- keys.reverse();
- // Rather than returning an object with a next method, we keep
- // things simple and return the next function itself.
- return function next() {
- while (keys.length) {
- var key = keys.pop();
- if (key in object) {
- next.value = key;
- next.done = false;
- return next;
- }
- }
- // To avoid creating an additional object, we just hang the .value
- // and .done properties off the next function object itself. This
- // also ensures that the minifier will not anonymize the function.
- next.done = true;
- return next;
- };
- };
- function values(iterable) {
- if (iterable) {
- var iteratorMethod = iterable[iteratorSymbol];
- if (iteratorMethod) {
- return iteratorMethod.call(iterable);
- }
- if (typeof iterable.next === "function") {
- return iterable;
- }
- if (!isNaN(iterable.length)) {
- var i = -1, next = function next() {
- while (++i < iterable.length) {
- if (hasOwn.call(iterable, i)) {
- next.value = iterable[i];
- next.done = false;
- return next;
- }
- }
- next.value = undefined;
- next.done = true;
- return next;
- };
- return next.next = next;
- }
- }
- // Return an iterator with no values.
- return { next: doneResult };
- }
- runtime.values = values;
- function doneResult() {
- return { value: undefined, done: true };
- }
- Context.prototype = {
- constructor: Context,
- reset: function(skipTempReset) {
- this.prev = 0;
- this.next = 0;
- // Resetting context._sent for legacy support of Babel's
- // function.sent implementation.
- this.sent = this._sent = undefined;
- this.done = false;
- this.delegate = null;
- this.method = "next";
- this.arg = undefined;
- this.tryEntries.forEach(resetTryEntry);
- if (!skipTempReset) {
- for (var name in this) {
- // Not sure about the optimal order of these conditions:
- if (name.charAt(0) === "t" &&
- hasOwn.call(this, name) &&
- !isNaN(+name.slice(1))) {
- this[name] = undefined;
- }
- }
- }
- },
- stop: function() {
- this.done = true;
- var rootEntry = this.tryEntries[0];
- var rootRecord = rootEntry.completion;
- if (rootRecord.type === "throw") {
- throw rootRecord.arg;
- }
- return this.rval;
- },
- dispatchException: function(exception) {
- if (this.done) {
- throw exception;
- }
- var context = this;
- function handle(loc, caught) {
- record.type = "throw";
- record.arg = exception;
- context.next = loc;
- if (caught) {
- // If the dispatched exception was caught by a catch block,
- // then let that catch block handle the exception normally.
- context.method = "next";
- context.arg = undefined;
- }
- return !! caught;
- }
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- var record = entry.completion;
- if (entry.tryLoc === "root") {
- // Exception thrown outside of any try block that could handle
- // it, so set the completion value of the entire function to
- // throw the exception.
- return handle("end");
- }
- if (entry.tryLoc <= this.prev) {
- var hasCatch = hasOwn.call(entry, "catchLoc");
- var hasFinally = hasOwn.call(entry, "finallyLoc");
- if (hasCatch && hasFinally) {
- if (this.prev < entry.catchLoc) {
- return handle(entry.catchLoc, true);
- } else if (this.prev < entry.finallyLoc) {
- return handle(entry.finallyLoc);
- }
- } else if (hasCatch) {
- if (this.prev < entry.catchLoc) {
- return handle(entry.catchLoc, true);
- }
- } else if (hasFinally) {
- if (this.prev < entry.finallyLoc) {
- return handle(entry.finallyLoc);
- }
- } else {
- throw new Error("try statement without catch or finally");
- }
- }
- }
- },
- abrupt: function(type, arg) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.tryLoc <= this.prev &&
- hasOwn.call(entry, "finallyLoc") &&
- this.prev < entry.finallyLoc) {
- var finallyEntry = entry;
- break;
- }
- }
- if (finallyEntry &&
- (type === "break" ||
- type === "continue") &&
- finallyEntry.tryLoc <= arg &&
- arg <= finallyEntry.finallyLoc) {
- // Ignore the finally entry if control is not jumping to a
- // location outside the try/catch block.
- finallyEntry = null;
- }
- var record = finallyEntry ? finallyEntry.completion : {};
- record.type = type;
- record.arg = arg;
- if (finallyEntry) {
- this.method = "next";
- this.next = finallyEntry.finallyLoc;
- return ContinueSentinel;
- }
- return this.complete(record);
- },
- complete: function(record, afterLoc) {
- if (record.type === "throw") {
- throw record.arg;
- }
- if (record.type === "break" ||
- record.type === "continue") {
- this.next = record.arg;
- } else if (record.type === "return") {
- this.rval = this.arg = record.arg;
- this.method = "return";
- this.next = "end";
- } else if (record.type === "normal" && afterLoc) {
- this.next = afterLoc;
- }
- return ContinueSentinel;
- },
- finish: function(finallyLoc) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.finallyLoc === finallyLoc) {
- this.complete(entry.completion, entry.afterLoc);
- resetTryEntry(entry);
- return ContinueSentinel;
- }
- }
- },
- "catch": function(tryLoc) {
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
- var entry = this.tryEntries[i];
- if (entry.tryLoc === tryLoc) {
- var record = entry.completion;
- if (record.type === "throw") {
- var thrown = record.arg;
- resetTryEntry(entry);
- }
- return thrown;
- }
- }
- // The context.catch method must only be called with a location
- // argument that corresponds to a known catch block.
- throw new Error("illegal catch attempt");
- },
- delegateYield: function(iterable, resultName, nextLoc) {
- this.delegate = {
- iterator: values(iterable),
- resultName: resultName,
- nextLoc: nextLoc
- };
- if (this.method === "next") {
- // Deliberately forget the last sent value so that we don't
- // accidentally pass it on to the delegate.
- this.arg = undefined;
- }
- return ContinueSentinel;
- }
- };
- })(
- // In sloppy mode, unbound `this` refers to the global object, fallback to
- // Function constructor if we're in global strict mode. That is sadly a form
- // of indirect eval which violates Content Security Policy.
- (function() {
- return this || (typeof self === "object" && self);
- })() || Function("return this")()
- );
- /***/ }),
- /* 601 */
- /*!*************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/user.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.toLogin = toLogin;exports.toRegister = toRegister;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 登录
- function toLogin(data) {
- return (0, _request.default)({
- url: '/login',
- method: 'post',
- data: data });
- }
- // 注册
- function toRegister(data) {
- return (0, _request.default)({
- url: '/user/register',
- method: 'post',
- data: data });
- }
- /***/ }),
- /* 602 */
- /*!*******************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/utils/cryptojs.js ***!
- \*******************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.decrypto = exports.encrypto = void 0;var _cryptoJs = _interopRequireDefault(__webpack_require__(/*! crypto-js */ 603));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- var keyword = "shopkey-password";
- var encrypto = function encrypto(word) {
- var time = Date.now();
- //转码
- var wordStr = _cryptoJs.default.enc.Utf8.parse(time + "" + word);
- var key = _cryptoJs.default.enc.Utf8.parse(keyword);
- //加密操作
- var cryptoStr = _cryptoJs.default.AES.encrypt(wordStr, key, {
- mode: _cryptoJs.default.mode.ECB, //加密模式
- padding: _cryptoJs.default.pad.Pkcs7 //如何补零
- });
- return cryptoStr.toString();
- };exports.encrypto = encrypto;
- var decrypto = function decrypto(word) {
- var key = _cryptoJs.default.enc.Utf8.parse(keyword);
- //加密操作
- var cryptoStr = _cryptoJs.default.AES.decrypt(word, key, {
- mode: _cryptoJs.default.mode.ECB, //加密模式
- padding: _cryptoJs.default.pad.Pkcs7 //如何补零
- });
- return _cryptoJs.default.enc.Utf8.stringify(cryptoStr).toString();
- };exports.decrypto = decrypto;
- /***/ }),
- /* 603 */
- /*!*********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/index.js ***!
- \*********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./x64-core */ 606), __webpack_require__(/*! ./lib-typedarrays */ 607), __webpack_require__(/*! ./enc-utf16 */ 608), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./enc-base64url */ 610), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./sha1 */ 612), __webpack_require__(/*! ./sha256 */ 613), __webpack_require__(/*! ./sha224 */ 614), __webpack_require__(/*! ./sha512 */ 615), __webpack_require__(/*! ./sha384 */ 616), __webpack_require__(/*! ./sha3 */ 617), __webpack_require__(/*! ./ripemd160 */ 618), __webpack_require__(/*! ./hmac */ 619), __webpack_require__(/*! ./pbkdf2 */ 620), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622), __webpack_require__(/*! ./mode-cfb */ 623), __webpack_require__(/*! ./mode-ctr */ 624), __webpack_require__(/*! ./mode-ctr-gladman */ 625), __webpack_require__(/*! ./mode-ofb */ 626), __webpack_require__(/*! ./mode-ecb */ 627), __webpack_require__(/*! ./pad-ansix923 */ 628), __webpack_require__(/*! ./pad-iso10126 */ 629), __webpack_require__(/*! ./pad-iso97971 */ 630), __webpack_require__(/*! ./pad-zeropadding */ 631), __webpack_require__(/*! ./pad-nopadding */ 632), __webpack_require__(/*! ./format-hex */ 633), __webpack_require__(/*! ./aes */ 634), __webpack_require__(/*! ./tripledes */ 635), __webpack_require__(/*! ./rc4 */ 636), __webpack_require__(/*! ./rabbit */ 637), __webpack_require__(/*! ./rabbit-legacy */ 638), __webpack_require__(/*! ./blowfish */ 639));
- } else
- {}
- })(this, function (CryptoJS) {
- return CryptoJS;
- });
- /***/ }),
- /* 604 */
- /*!********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/core.js ***!
- \********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- /* WEBPACK VAR INJECTION */(function(global) {;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory();
- } else
- {}
- })(this, function () {
- /*globals window, global, require*/
- /**
- * CryptoJS core components.
- */
- var CryptoJS = CryptoJS || function (Math, undefined) {
- var crypto;
- // Native crypto from window (Browser)
- if (typeof window !== 'undefined' && window.crypto) {
- crypto = window.crypto;
- }
- // Native crypto in web worker (Browser)
- if (typeof self !== 'undefined' && self.crypto) {
- crypto = self.crypto;
- }
- // Native crypto from worker
- if (typeof globalThis !== 'undefined' && globalThis.crypto) {
- crypto = globalThis.crypto;
- }
- // Native (experimental IE 11) crypto from window (Browser)
- if (!crypto && typeof window !== 'undefined' && window.msCrypto) {
- crypto = window.msCrypto;
- }
- // Native crypto from global (NodeJS)
- if (!crypto && typeof global !== 'undefined' && global.crypto) {
- crypto = global.crypto;
- }
- // Native crypto import via require (NodeJS)
- if (!crypto && "function" === 'function') {
- try {
- crypto = __webpack_require__(/*! crypto */ 605);
- } catch (err) {}
- }
- /*
- * Cryptographically secure pseudorandom number generator
- *
- * As Math.random() is cryptographically not safe to use
- */
- var cryptoSecureRandomInt = function cryptoSecureRandomInt() {
- if (crypto) {
- // Use getRandomValues method (Browser)
- if (typeof crypto.getRandomValues === 'function') {
- try {
- return crypto.getRandomValues(new Uint32Array(1))[0];
- } catch (err) {}
- }
- // Use randomBytes method (NodeJS)
- if (typeof crypto.randomBytes === 'function') {
- try {
- return crypto.randomBytes(4).readInt32LE();
- } catch (err) {}
- }
- }
- throw new Error('Native crypto module could not be used to get secure random number.');
- };
- /*
- * Local polyfill of Object.create
- */
- var create = Object.create || function () {
- function F() {}
- return function (obj) {
- var subtype;
- F.prototype = obj;
- subtype = new F();
- F.prototype = null;
- return subtype;
- };
- }();
- /**
- * CryptoJS namespace.
- */
- var C = {};
- /**
- * Library namespace.
- */
- var C_lib = C.lib = {};
- /**
- * Base object for prototypal inheritance.
- */
- var Base = C_lib.Base = function () {
- return {
- /**
- * Creates a new object that inherits from this object.
- *
- * @param {Object} overrides Properties to copy into the new object.
- *
- * @return {Object} The new object.
- *
- * @static
- *
- * @example
- *
- * var MyType = CryptoJS.lib.Base.extend({
- * field: 'value',
- *
- * method: function () {
- * }
- * });
- */
- extend: function extend(overrides) {
- // Spawn
- var subtype = create(this);
- // Augment
- if (overrides) {
- subtype.mixIn(overrides);
- }
- // Create default initializer
- if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {
- subtype.init = function () {
- subtype.$super.init.apply(this, arguments);
- };
- }
- // Initializer's prototype is the subtype object
- subtype.init.prototype = subtype;
- // Reference supertype
- subtype.$super = this;
- return subtype;
- },
- /**
- * Extends this object and runs the init method.
- * Arguments to create() will be passed to init().
- *
- * @return {Object} The new object.
- *
- * @static
- *
- * @example
- *
- * var instance = MyType.create();
- */
- create: function create() {
- var instance = this.extend();
- instance.init.apply(instance, arguments);
- return instance;
- },
- /**
- * Initializes a newly created object.
- * Override this method to add some logic when your objects are created.
- *
- * @example
- *
- * var MyType = CryptoJS.lib.Base.extend({
- * init: function () {
- * // ...
- * }
- * });
- */
- init: function init() {
- },
- /**
- * Copies properties into this object.
- *
- * @param {Object} properties The properties to mix in.
- *
- * @example
- *
- * MyType.mixIn({
- * field: 'value'
- * });
- */
- mixIn: function mixIn(properties) {
- for (var propertyName in properties) {
- if (properties.hasOwnProperty(propertyName)) {
- this[propertyName] = properties[propertyName];
- }
- }
- // IE won't copy toString using the loop above
- if (properties.hasOwnProperty('toString')) {
- this.toString = properties.toString;
- }
- },
- /**
- * Creates a copy of this object.
- *
- * @return {Object} The clone.
- *
- * @example
- *
- * var clone = instance.clone();
- */
- clone: function clone() {
- return this.init.prototype.extend(this);
- } };
- }();
- /**
- * An array of 32-bit words.
- *
- * @property {Array} words The array of 32-bit words.
- * @property {number} sigBytes The number of significant bytes in this word array.
- */
- var WordArray = C_lib.WordArray = Base.extend({
- /**
- * Initializes a newly created word array.
- *
- * @param {Array} words (Optional) An array of 32-bit words.
- * @param {number} sigBytes (Optional) The number of significant bytes in the words.
- *
- * @example
- *
- * var wordArray = CryptoJS.lib.WordArray.create();
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
- * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
- */
- init: function init(words, sigBytes) {
- words = this.words = words || [];
- if (sigBytes != undefined) {
- this.sigBytes = sigBytes;
- } else {
- this.sigBytes = words.length * 4;
- }
- },
- /**
- * Converts this word array to a string.
- *
- * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex
- *
- * @return {string} The stringified word array.
- *
- * @example
- *
- * var string = wordArray + '';
- * var string = wordArray.toString();
- * var string = wordArray.toString(CryptoJS.enc.Utf8);
- */
- toString: function toString(encoder) {
- return (encoder || Hex).stringify(this);
- },
- /**
- * Concatenates a word array to this word array.
- *
- * @param {WordArray} wordArray The word array to append.
- *
- * @return {WordArray} This word array.
- *
- * @example
- *
- * wordArray1.concat(wordArray2);
- */
- concat: function concat(wordArray) {
- // Shortcuts
- var thisWords = this.words;
- var thatWords = wordArray.words;
- var thisSigBytes = this.sigBytes;
- var thatSigBytes = wordArray.sigBytes;
- // Clamp excess bits
- this.clamp();
- // Concat
- if (thisSigBytes % 4) {
- // Copy one byte at a time
- for (var i = 0; i < thatSigBytes; i++) {
- var thatByte = thatWords[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;
- thisWords[thisSigBytes + i >>> 2] |= thatByte << 24 - (thisSigBytes + i) % 4 * 8;
- }
- } else {
- // Copy one word at a time
- for (var j = 0; j < thatSigBytes; j += 4) {
- thisWords[thisSigBytes + j >>> 2] = thatWords[j >>> 2];
- }
- }
- this.sigBytes += thatSigBytes;
- // Chainable
- return this;
- },
- /**
- * Removes insignificant bits.
- *
- * @example
- *
- * wordArray.clamp();
- */
- clamp: function clamp() {
- // Shortcuts
- var words = this.words;
- var sigBytes = this.sigBytes;
- // Clamp
- words[sigBytes >>> 2] &= 0xffffffff << 32 - sigBytes % 4 * 8;
- words.length = Math.ceil(sigBytes / 4);
- },
- /**
- * Creates a copy of this word array.
- *
- * @return {WordArray} The clone.
- *
- * @example
- *
- * var clone = wordArray.clone();
- */
- clone: function clone() {
- var clone = Base.clone.call(this);
- clone.words = this.words.slice(0);
- return clone;
- },
- /**
- * Creates a word array filled with random bytes.
- *
- * @param {number} nBytes The number of random bytes to generate.
- *
- * @return {WordArray} The random word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.lib.WordArray.random(16);
- */
- random: function random(nBytes) {
- var words = [];
- for (var i = 0; i < nBytes; i += 4) {
- words.push(cryptoSecureRandomInt());
- }
- return new WordArray.init(words, nBytes);
- } });
- /**
- * Encoder namespace.
- */
- var C_enc = C.enc = {};
- /**
- * Hex encoding strategy.
- */
- var Hex = C_enc.Hex = {
- /**
- * Converts a word array to a hex string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The hex string.
- *
- * @static
- *
- * @example
- *
- * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- // Convert
- var hexChars = [];
- for (var i = 0; i < sigBytes; i++) {
- var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;
- hexChars.push((bite >>> 4).toString(16));
- hexChars.push((bite & 0x0f).toString(16));
- }
- return hexChars.join('');
- },
- /**
- * Converts a hex string to a word array.
- *
- * @param {string} hexStr The hex string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Hex.parse(hexString);
- */
- parse: function parse(hexStr) {
- // Shortcut
- var hexStrLength = hexStr.length;
- // Convert
- var words = [];
- for (var i = 0; i < hexStrLength; i += 2) {
- words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << 24 - i % 8 * 4;
- }
- return new WordArray.init(words, hexStrLength / 2);
- } };
- /**
- * Latin1 encoding strategy.
- */
- var Latin1 = C_enc.Latin1 = {
- /**
- * Converts a word array to a Latin1 string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The Latin1 string.
- *
- * @static
- *
- * @example
- *
- * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- // Convert
- var latin1Chars = [];
- for (var i = 0; i < sigBytes; i++) {
- var bite = words[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;
- latin1Chars.push(String.fromCharCode(bite));
- }
- return latin1Chars.join('');
- },
- /**
- * Converts a Latin1 string to a word array.
- *
- * @param {string} latin1Str The Latin1 string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
- */
- parse: function parse(latin1Str) {
- // Shortcut
- var latin1StrLength = latin1Str.length;
- // Convert
- var words = [];
- for (var i = 0; i < latin1StrLength; i++) {
- words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << 24 - i % 4 * 8;
- }
- return new WordArray.init(words, latin1StrLength);
- } };
- /**
- * UTF-8 encoding strategy.
- */
- var Utf8 = C_enc.Utf8 = {
- /**
- * Converts a word array to a UTF-8 string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The UTF-8 string.
- *
- * @static
- *
- * @example
- *
- * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- try {
- return decodeURIComponent(escape(Latin1.stringify(wordArray)));
- } catch (e) {
- throw new Error('Malformed UTF-8 data');
- }
- },
- /**
- * Converts a UTF-8 string to a word array.
- *
- * @param {string} utf8Str The UTF-8 string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
- */
- parse: function parse(utf8Str) {
- return Latin1.parse(unescape(encodeURIComponent(utf8Str)));
- } };
- /**
- * Abstract buffered block algorithm template.
- *
- * The property blockSize must be implemented in a concrete subtype.
- *
- * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0
- */
- var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({
- /**
- * Resets this block algorithm's data buffer to its initial state.
- *
- * @example
- *
- * bufferedBlockAlgorithm.reset();
- */
- reset: function reset() {
- // Initial values
- this._data = new WordArray.init();
- this._nDataBytes = 0;
- },
- /**
- * Adds new data to this block algorithm's buffer.
- *
- * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.
- *
- * @example
- *
- * bufferedBlockAlgorithm._append('data');
- * bufferedBlockAlgorithm._append(wordArray);
- */
- _append: function _append(data) {
- // Convert string to WordArray, else assume WordArray already
- if (typeof data == 'string') {
- data = Utf8.parse(data);
- }
- // Append
- this._data.concat(data);
- this._nDataBytes += data.sigBytes;
- },
- /**
- * Processes available data blocks.
- *
- * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.
- *
- * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.
- *
- * @return {WordArray} The processed data.
- *
- * @example
- *
- * var processedData = bufferedBlockAlgorithm._process();
- * var processedData = bufferedBlockAlgorithm._process(!!'flush');
- */
- _process: function _process(doFlush) {
- var processedWords;
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var dataSigBytes = data.sigBytes;
- var blockSize = this.blockSize;
- var blockSizeBytes = blockSize * 4;
- // Count blocks ready
- var nBlocksReady = dataSigBytes / blockSizeBytes;
- if (doFlush) {
- // Round up to include partial blocks
- nBlocksReady = Math.ceil(nBlocksReady);
- } else {
- // Round down to include only full blocks,
- // less the number of blocks that must remain in the buffer
- nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);
- }
- // Count words ready
- var nWordsReady = nBlocksReady * blockSize;
- // Count bytes ready
- var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);
- // Process blocks
- if (nWordsReady) {
- for (var offset = 0; offset < nWordsReady; offset += blockSize) {
- // Perform concrete-algorithm logic
- this._doProcessBlock(dataWords, offset);
- }
- // Remove processed words
- processedWords = dataWords.splice(0, nWordsReady);
- data.sigBytes -= nBytesReady;
- }
- // Return processed words
- return new WordArray.init(processedWords, nBytesReady);
- },
- /**
- * Creates a copy of this object.
- *
- * @return {Object} The clone.
- *
- * @example
- *
- * var clone = bufferedBlockAlgorithm.clone();
- */
- clone: function clone() {
- var clone = Base.clone.call(this);
- clone._data = this._data.clone();
- return clone;
- },
- _minBufferSize: 0 });
- /**
- * Abstract hasher template.
- *
- * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)
- */
- var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({
- /**
- * Configuration options.
- */
- cfg: Base.extend(),
- /**
- * Initializes a newly created hasher.
- *
- * @param {Object} cfg (Optional) The configuration options to use for this hash computation.
- *
- * @example
- *
- * var hasher = CryptoJS.algo.SHA256.create();
- */
- init: function init(cfg) {
- // Apply config defaults
- this.cfg = this.cfg.extend(cfg);
- // Set initial values
- this.reset();
- },
- /**
- * Resets this hasher to its initial state.
- *
- * @example
- *
- * hasher.reset();
- */
- reset: function reset() {
- // Reset data buffer
- BufferedBlockAlgorithm.reset.call(this);
- // Perform concrete-hasher logic
- this._doReset();
- },
- /**
- * Updates this hasher with a message.
- *
- * @param {WordArray|string} messageUpdate The message to append.
- *
- * @return {Hasher} This hasher.
- *
- * @example
- *
- * hasher.update('message');
- * hasher.update(wordArray);
- */
- update: function update(messageUpdate) {
- // Append
- this._append(messageUpdate);
- // Update the hash
- this._process();
- // Chainable
- return this;
- },
- /**
- * Finalizes the hash computation.
- * Note that the finalize operation is effectively a destructive, read-once operation.
- *
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
- *
- * @return {WordArray} The hash.
- *
- * @example
- *
- * var hash = hasher.finalize();
- * var hash = hasher.finalize('message');
- * var hash = hasher.finalize(wordArray);
- */
- finalize: function finalize(messageUpdate) {
- // Final message update
- if (messageUpdate) {
- this._append(messageUpdate);
- }
- // Perform concrete-hasher logic
- var hash = this._doFinalize();
- return hash;
- },
- blockSize: 512 / 32,
- /**
- * Creates a shortcut function to a hasher's object interface.
- *
- * @param {Hasher} hasher The hasher to create a helper for.
- *
- * @return {Function} The shortcut function.
- *
- * @static
- *
- * @example
- *
- * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
- */
- _createHelper: function _createHelper(hasher) {
- return function (message, cfg) {
- return new hasher.init(cfg).finalize(message);
- };
- },
- /**
- * Creates a shortcut function to the HMAC's object interface.
- *
- * @param {Hasher} hasher The hasher to use in this HMAC helper.
- *
- * @return {Function} The shortcut function.
- *
- * @static
- *
- * @example
- *
- * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
- */
- _createHmacHelper: function _createHmacHelper(hasher) {
- return function (message, key) {
- return new C_algo.HMAC.init(hasher, key).finalize(message);
- };
- } });
- /**
- * Algorithm namespace.
- */
- var C_algo = C.algo = {};
- return C;
- }(Math);
- return CryptoJS;
- });
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/global.js */ 2)))
- /***/ }),
- /* 605 */
- /*!************************!*\
- !*** crypto (ignored) ***!
- \************************/
- /*! no static exports found */
- /***/ (function(module, exports) {
- /* (ignored) */
- /***/ }),
- /* 606 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/x64-core.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function (undefined) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Base = C_lib.Base;
- var X32WordArray = C_lib.WordArray;
- /**
- * x64 namespace.
- */
- var C_x64 = C.x64 = {};
- /**
- * A 64-bit word.
- */
- var X64Word = C_x64.Word = Base.extend({
- /**
- * Initializes a newly created 64-bit word.
- *
- * @param {number} high The high 32 bits.
- * @param {number} low The low 32 bits.
- *
- * @example
- *
- * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
- */
- init: function init(high, low) {
- this.high = high;
- this.low = low;
- }
- /**
- * Bitwise NOTs this word.
- *
- * @return {X64Word} A new x64-Word object after negating.
- *
- * @example
- *
- * var negated = x64Word.not();
- */
- // not: function () {
- // var high = ~this.high;
- // var low = ~this.low;
- // return X64Word.create(high, low);
- // },
- /**
- * Bitwise ANDs this word with the passed word.
- *
- * @param {X64Word} word The x64-Word to AND with this word.
- *
- * @return {X64Word} A new x64-Word object after ANDing.
- *
- * @example
- *
- * var anded = x64Word.and(anotherX64Word);
- */
- // and: function (word) {
- // var high = this.high & word.high;
- // var low = this.low & word.low;
- // return X64Word.create(high, low);
- // },
- /**
- * Bitwise ORs this word with the passed word.
- *
- * @param {X64Word} word The x64-Word to OR with this word.
- *
- * @return {X64Word} A new x64-Word object after ORing.
- *
- * @example
- *
- * var ored = x64Word.or(anotherX64Word);
- */
- // or: function (word) {
- // var high = this.high | word.high;
- // var low = this.low | word.low;
- // return X64Word.create(high, low);
- // },
- /**
- * Bitwise XORs this word with the passed word.
- *
- * @param {X64Word} word The x64-Word to XOR with this word.
- *
- * @return {X64Word} A new x64-Word object after XORing.
- *
- * @example
- *
- * var xored = x64Word.xor(anotherX64Word);
- */
- // xor: function (word) {
- // var high = this.high ^ word.high;
- // var low = this.low ^ word.low;
- // return X64Word.create(high, low);
- // },
- /**
- * Shifts this word n bits to the left.
- *
- * @param {number} n The number of bits to shift.
- *
- * @return {X64Word} A new x64-Word object after shifting.
- *
- * @example
- *
- * var shifted = x64Word.shiftL(25);
- */
- // shiftL: function (n) {
- // if (n < 32) {
- // var high = (this.high << n) | (this.low >>> (32 - n));
- // var low = this.low << n;
- // } else {
- // var high = this.low << (n - 32);
- // var low = 0;
- // }
- // return X64Word.create(high, low);
- // },
- /**
- * Shifts this word n bits to the right.
- *
- * @param {number} n The number of bits to shift.
- *
- * @return {X64Word} A new x64-Word object after shifting.
- *
- * @example
- *
- * var shifted = x64Word.shiftR(7);
- */
- // shiftR: function (n) {
- // if (n < 32) {
- // var low = (this.low >>> n) | (this.high << (32 - n));
- // var high = this.high >>> n;
- // } else {
- // var low = this.high >>> (n - 32);
- // var high = 0;
- // }
- // return X64Word.create(high, low);
- // },
- /**
- * Rotates this word n bits to the left.
- *
- * @param {number} n The number of bits to rotate.
- *
- * @return {X64Word} A new x64-Word object after rotating.
- *
- * @example
- *
- * var rotated = x64Word.rotL(25);
- */
- // rotL: function (n) {
- // return this.shiftL(n).or(this.shiftR(64 - n));
- // },
- /**
- * Rotates this word n bits to the right.
- *
- * @param {number} n The number of bits to rotate.
- *
- * @return {X64Word} A new x64-Word object after rotating.
- *
- * @example
- *
- * var rotated = x64Word.rotR(7);
- */
- // rotR: function (n) {
- // return this.shiftR(n).or(this.shiftL(64 - n));
- // },
- /**
- * Adds this word with the passed word.
- *
- * @param {X64Word} word The x64-Word to add with this word.
- *
- * @return {X64Word} A new x64-Word object after adding.
- *
- * @example
- *
- * var added = x64Word.add(anotherX64Word);
- */
- // add: function (word) {
- // var low = (this.low + word.low) | 0;
- // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
- // var high = (this.high + word.high + carry) | 0;
- // return X64Word.create(high, low);
- // }
- });
- /**
- * An array of 64-bit words.
- *
- * @property {Array} words The array of CryptoJS.x64.Word objects.
- * @property {number} sigBytes The number of significant bytes in this word array.
- */
- var X64WordArray = C_x64.WordArray = Base.extend({
- /**
- * Initializes a newly created word array.
- *
- * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
- * @param {number} sigBytes (Optional) The number of significant bytes in the words.
- *
- * @example
- *
- * var wordArray = CryptoJS.x64.WordArray.create();
- *
- * var wordArray = CryptoJS.x64.WordArray.create([
- * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
- * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
- * ]);
- *
- * var wordArray = CryptoJS.x64.WordArray.create([
- * CryptoJS.x64.Word.create(0x00010203, 0x04050607),
- * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
- * ], 10);
- */
- init: function init(words, sigBytes) {
- words = this.words = words || [];
- if (sigBytes != undefined) {
- this.sigBytes = sigBytes;
- } else {
- this.sigBytes = words.length * 8;
- }
- },
- /**
- * Converts this 64-bit word array to a 32-bit word array.
- *
- * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
- *
- * @example
- *
- * var x32WordArray = x64WordArray.toX32();
- */
- toX32: function toX32() {
- // Shortcuts
- var x64Words = this.words;
- var x64WordsLength = x64Words.length;
- // Convert
- var x32Words = [];
- for (var i = 0; i < x64WordsLength; i++) {
- var x64Word = x64Words[i];
- x32Words.push(x64Word.high);
- x32Words.push(x64Word.low);
- }
- return X32WordArray.create(x32Words, this.sigBytes);
- },
- /**
- * Creates a copy of this word array.
- *
- * @return {X64WordArray} The clone.
- *
- * @example
- *
- * var clone = x64WordArray.clone();
- */
- clone: function clone() {
- var clone = Base.clone.call(this);
- // Clone "words" array
- var words = clone.words = this.words.slice(0);
- // Clone each X64Word object
- var wordsLength = words.length;
- for (var i = 0; i < wordsLength; i++) {
- words[i] = words[i].clone();
- }
- return clone;
- } });
- })();
- return CryptoJS;
- });
- /***/ }),
- /* 607 */
- /*!*******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/lib-typedarrays.js ***!
- \*******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Check if typed arrays are supported
- if (typeof ArrayBuffer != 'function') {
- return;
- }
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- // Reference original init
- var superInit = WordArray.init;
- // Augment WordArray.init to handle typed arrays
- var subInit = WordArray.init = function (typedArray) {
- // Convert buffers to uint8
- if (typedArray instanceof ArrayBuffer) {
- typedArray = new Uint8Array(typedArray);
- }
- // Convert other array views to uint8
- if (
- typedArray instanceof Int8Array ||
- typeof Uint8ClampedArray !== "undefined" && typedArray instanceof Uint8ClampedArray ||
- typedArray instanceof Int16Array ||
- typedArray instanceof Uint16Array ||
- typedArray instanceof Int32Array ||
- typedArray instanceof Uint32Array ||
- typedArray instanceof Float32Array ||
- typedArray instanceof Float64Array)
- {
- typedArray = new Uint8Array(typedArray.buffer, typedArray.byteOffset, typedArray.byteLength);
- }
- // Handle Uint8Array
- if (typedArray instanceof Uint8Array) {
- // Shortcut
- var typedArrayByteLength = typedArray.byteLength;
- // Extract bytes
- var words = [];
- for (var i = 0; i < typedArrayByteLength; i++) {
- words[i >>> 2] |= typedArray[i] << 24 - i % 4 * 8;
- }
- // Initialize this word array
- superInit.call(this, words, typedArrayByteLength);
- } else {
- // Else call normal init
- superInit.apply(this, arguments);
- }
- };
- subInit.prototype = WordArray;
- })();
- return CryptoJS.lib.WordArray;
- });
- /***/ }),
- /* 608 */
- /*!*************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/enc-utf16.js ***!
- \*************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var C_enc = C.enc;
- /**
- * UTF-16 BE encoding strategy.
- */
- var Utf16BE = C_enc.Utf16 = C_enc.Utf16BE = {
- /**
- * Converts a word array to a UTF-16 BE string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The UTF-16 BE string.
- *
- * @static
- *
- * @example
- *
- * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- // Convert
- var utf16Chars = [];
- for (var i = 0; i < sigBytes; i += 2) {
- var codePoint = words[i >>> 2] >>> 16 - i % 4 * 8 & 0xffff;
- utf16Chars.push(String.fromCharCode(codePoint));
- }
- return utf16Chars.join('');
- },
- /**
- * Converts a UTF-16 BE string to a word array.
- *
- * @param {string} utf16Str The UTF-16 BE string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
- */
- parse: function parse(utf16Str) {
- // Shortcut
- var utf16StrLength = utf16Str.length;
- // Convert
- var words = [];
- for (var i = 0; i < utf16StrLength; i++) {
- words[i >>> 1] |= utf16Str.charCodeAt(i) << 16 - i % 2 * 16;
- }
- return WordArray.create(words, utf16StrLength * 2);
- } };
- /**
- * UTF-16 LE encoding strategy.
- */
- C_enc.Utf16LE = {
- /**
- * Converts a word array to a UTF-16 LE string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The UTF-16 LE string.
- *
- * @static
- *
- * @example
- *
- * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- // Convert
- var utf16Chars = [];
- for (var i = 0; i < sigBytes; i += 2) {
- var codePoint = swapEndian(words[i >>> 2] >>> 16 - i % 4 * 8 & 0xffff);
- utf16Chars.push(String.fromCharCode(codePoint));
- }
- return utf16Chars.join('');
- },
- /**
- * Converts a UTF-16 LE string to a word array.
- *
- * @param {string} utf16Str The UTF-16 LE string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
- */
- parse: function parse(utf16Str) {
- // Shortcut
- var utf16StrLength = utf16Str.length;
- // Convert
- var words = [];
- for (var i = 0; i < utf16StrLength; i++) {
- words[i >>> 1] |= swapEndian(utf16Str.charCodeAt(i) << 16 - i % 2 * 16);
- }
- return WordArray.create(words, utf16StrLength * 2);
- } };
- function swapEndian(word) {
- return word << 8 & 0xff00ff00 | word >>> 8 & 0x00ff00ff;
- }
- })();
- return CryptoJS.enc.Utf16;
- });
- /***/ }),
- /* 609 */
- /*!**************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/enc-base64.js ***!
- \**************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var C_enc = C.enc;
- /**
- * Base64 encoding strategy.
- */
- var Base64 = C_enc.Base64 = {
- /**
- * Converts a word array to a Base64 string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @return {string} The Base64 string.
- *
- * @static
- *
- * @example
- *
- * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
- */
- stringify: function stringify(wordArray) {
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- var map = this._map;
- // Clamp excess bits
- wordArray.clamp();
- // Convert
- var base64Chars = [];
- for (var i = 0; i < sigBytes; i += 3) {
- var byte1 = words[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;
- var byte2 = words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 0xff;
- var byte3 = words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 0xff;
- var triplet = byte1 << 16 | byte2 << 8 | byte3;
- for (var j = 0; j < 4 && i + j * 0.75 < sigBytes; j++) {
- base64Chars.push(map.charAt(triplet >>> 6 * (3 - j) & 0x3f));
- }
- }
- // Add padding
- var paddingChar = map.charAt(64);
- if (paddingChar) {
- while (base64Chars.length % 4) {
- base64Chars.push(paddingChar);
- }
- }
- return base64Chars.join('');
- },
- /**
- * Converts a Base64 string to a word array.
- *
- * @param {string} base64Str The Base64 string.
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Base64.parse(base64String);
- */
- parse: function parse(base64Str) {
- // Shortcuts
- var base64StrLength = base64Str.length;
- var map = this._map;
- var reverseMap = this._reverseMap;
- if (!reverseMap) {
- reverseMap = this._reverseMap = [];
- for (var j = 0; j < map.length; j++) {
- reverseMap[map.charCodeAt(j)] = j;
- }
- }
- // Ignore padding
- var paddingChar = map.charAt(64);
- if (paddingChar) {
- var paddingIndex = base64Str.indexOf(paddingChar);
- if (paddingIndex !== -1) {
- base64StrLength = paddingIndex;
- }
- }
- // Convert
- return parseLoop(base64Str, base64StrLength, reverseMap);
- },
- _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=' };
- function parseLoop(base64Str, base64StrLength, reverseMap) {
- var words = [];
- var nBytes = 0;
- for (var i = 0; i < base64StrLength; i++) {
- if (i % 4) {
- var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << i % 4 * 2;
- var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> 6 - i % 4 * 2;
- var bitsCombined = bits1 | bits2;
- words[nBytes >>> 2] |= bitsCombined << 24 - nBytes % 4 * 8;
- nBytes++;
- }
- }
- return WordArray.create(words, nBytes);
- }
- })();
- return CryptoJS.enc.Base64;
- });
- /***/ }),
- /* 610 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/enc-base64url.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var C_enc = C.enc;
- /**
- * Base64url encoding strategy.
- */
- var Base64url = C_enc.Base64url = {
- /**
- * Converts a word array to a Base64url string.
- *
- * @param {WordArray} wordArray The word array.
- *
- * @param {boolean} urlSafe Whether to use url safe
- *
- * @return {string} The Base64url string.
- *
- * @static
- *
- * @example
- *
- * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
- */
- stringify: function stringify(wordArray, urlSafe) {
- if (urlSafe === undefined) {
- urlSafe = true;
- }
- // Shortcuts
- var words = wordArray.words;
- var sigBytes = wordArray.sigBytes;
- var map = urlSafe ? this._safe_map : this._map;
- // Clamp excess bits
- wordArray.clamp();
- // Convert
- var base64Chars = [];
- for (var i = 0; i < sigBytes; i += 3) {
- var byte1 = words[i >>> 2] >>> 24 - i % 4 * 8 & 0xff;
- var byte2 = words[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 0xff;
- var byte3 = words[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 0xff;
- var triplet = byte1 << 16 | byte2 << 8 | byte3;
- for (var j = 0; j < 4 && i + j * 0.75 < sigBytes; j++) {
- base64Chars.push(map.charAt(triplet >>> 6 * (3 - j) & 0x3f));
- }
- }
- // Add padding
- var paddingChar = map.charAt(64);
- if (paddingChar) {
- while (base64Chars.length % 4) {
- base64Chars.push(paddingChar);
- }
- }
- return base64Chars.join('');
- },
- /**
- * Converts a Base64url string to a word array.
- *
- * @param {string} base64Str The Base64url string.
- *
- * @param {boolean} urlSafe Whether to use url safe
- *
- * @return {WordArray} The word array.
- *
- * @static
- *
- * @example
- *
- * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
- */
- parse: function parse(base64Str, urlSafe) {
- if (urlSafe === undefined) {
- urlSafe = true;
- }
- // Shortcuts
- var base64StrLength = base64Str.length;
- var map = urlSafe ? this._safe_map : this._map;
- var reverseMap = this._reverseMap;
- if (!reverseMap) {
- reverseMap = this._reverseMap = [];
- for (var j = 0; j < map.length; j++) {
- reverseMap[map.charCodeAt(j)] = j;
- }
- }
- // Ignore padding
- var paddingChar = map.charAt(64);
- if (paddingChar) {
- var paddingIndex = base64Str.indexOf(paddingChar);
- if (paddingIndex !== -1) {
- base64StrLength = paddingIndex;
- }
- }
- // Convert
- return parseLoop(base64Str, base64StrLength, reverseMap);
- },
- _map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',
- _safe_map: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_' };
- function parseLoop(base64Str, base64StrLength, reverseMap) {
- var words = [];
- var nBytes = 0;
- for (var i = 0; i < base64StrLength; i++) {
- if (i % 4) {
- var bits1 = reverseMap[base64Str.charCodeAt(i - 1)] << i % 4 * 2;
- var bits2 = reverseMap[base64Str.charCodeAt(i)] >>> 6 - i % 4 * 2;
- var bitsCombined = bits1 | bits2;
- words[nBytes >>> 2] |= bitsCombined << 24 - nBytes % 4 * 8;
- nBytes++;
- }
- }
- return WordArray.create(words, nBytes);
- }
- })();
- return CryptoJS.enc.Base64url;
- });
- /***/ }),
- /* 611 */
- /*!*******************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/md5.js ***!
- \*******************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function (Math) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var Hasher = C_lib.Hasher;
- var C_algo = C.algo;
- // Constants table
- var T = [];
- // Compute constants
- (function () {
- for (var i = 0; i < 64; i++) {
- T[i] = Math.abs(Math.sin(i + 1)) * 0x100000000 | 0;
- }
- })();
- /**
- * MD5 hash algorithm.
- */
- var MD5 = C_algo.MD5 = Hasher.extend({
- _doReset: function _doReset() {
- this._hash = new WordArray.init([
- 0x67452301, 0xefcdab89,
- 0x98badcfe, 0x10325476]);
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Swap endian
- for (var i = 0; i < 16; i++) {
- // Shortcuts
- var offset_i = offset + i;
- var M_offset_i = M[offset_i];
- M[offset_i] =
- (M_offset_i << 8 | M_offset_i >>> 24) & 0x00ff00ff |
- (M_offset_i << 24 | M_offset_i >>> 8) & 0xff00ff00;
- }
- // Shortcuts
- var H = this._hash.words;
- var M_offset_0 = M[offset + 0];
- var M_offset_1 = M[offset + 1];
- var M_offset_2 = M[offset + 2];
- var M_offset_3 = M[offset + 3];
- var M_offset_4 = M[offset + 4];
- var M_offset_5 = M[offset + 5];
- var M_offset_6 = M[offset + 6];
- var M_offset_7 = M[offset + 7];
- var M_offset_8 = M[offset + 8];
- var M_offset_9 = M[offset + 9];
- var M_offset_10 = M[offset + 10];
- var M_offset_11 = M[offset + 11];
- var M_offset_12 = M[offset + 12];
- var M_offset_13 = M[offset + 13];
- var M_offset_14 = M[offset + 14];
- var M_offset_15 = M[offset + 15];
- // Working variables
- var a = H[0];
- var b = H[1];
- var c = H[2];
- var d = H[3];
- // Computation
- a = FF(a, b, c, d, M_offset_0, 7, T[0]);
- d = FF(d, a, b, c, M_offset_1, 12, T[1]);
- c = FF(c, d, a, b, M_offset_2, 17, T[2]);
- b = FF(b, c, d, a, M_offset_3, 22, T[3]);
- a = FF(a, b, c, d, M_offset_4, 7, T[4]);
- d = FF(d, a, b, c, M_offset_5, 12, T[5]);
- c = FF(c, d, a, b, M_offset_6, 17, T[6]);
- b = FF(b, c, d, a, M_offset_7, 22, T[7]);
- a = FF(a, b, c, d, M_offset_8, 7, T[8]);
- d = FF(d, a, b, c, M_offset_9, 12, T[9]);
- c = FF(c, d, a, b, M_offset_10, 17, T[10]);
- b = FF(b, c, d, a, M_offset_11, 22, T[11]);
- a = FF(a, b, c, d, M_offset_12, 7, T[12]);
- d = FF(d, a, b, c, M_offset_13, 12, T[13]);
- c = FF(c, d, a, b, M_offset_14, 17, T[14]);
- b = FF(b, c, d, a, M_offset_15, 22, T[15]);
- a = GG(a, b, c, d, M_offset_1, 5, T[16]);
- d = GG(d, a, b, c, M_offset_6, 9, T[17]);
- c = GG(c, d, a, b, M_offset_11, 14, T[18]);
- b = GG(b, c, d, a, M_offset_0, 20, T[19]);
- a = GG(a, b, c, d, M_offset_5, 5, T[20]);
- d = GG(d, a, b, c, M_offset_10, 9, T[21]);
- c = GG(c, d, a, b, M_offset_15, 14, T[22]);
- b = GG(b, c, d, a, M_offset_4, 20, T[23]);
- a = GG(a, b, c, d, M_offset_9, 5, T[24]);
- d = GG(d, a, b, c, M_offset_14, 9, T[25]);
- c = GG(c, d, a, b, M_offset_3, 14, T[26]);
- b = GG(b, c, d, a, M_offset_8, 20, T[27]);
- a = GG(a, b, c, d, M_offset_13, 5, T[28]);
- d = GG(d, a, b, c, M_offset_2, 9, T[29]);
- c = GG(c, d, a, b, M_offset_7, 14, T[30]);
- b = GG(b, c, d, a, M_offset_12, 20, T[31]);
- a = HH(a, b, c, d, M_offset_5, 4, T[32]);
- d = HH(d, a, b, c, M_offset_8, 11, T[33]);
- c = HH(c, d, a, b, M_offset_11, 16, T[34]);
- b = HH(b, c, d, a, M_offset_14, 23, T[35]);
- a = HH(a, b, c, d, M_offset_1, 4, T[36]);
- d = HH(d, a, b, c, M_offset_4, 11, T[37]);
- c = HH(c, d, a, b, M_offset_7, 16, T[38]);
- b = HH(b, c, d, a, M_offset_10, 23, T[39]);
- a = HH(a, b, c, d, M_offset_13, 4, T[40]);
- d = HH(d, a, b, c, M_offset_0, 11, T[41]);
- c = HH(c, d, a, b, M_offset_3, 16, T[42]);
- b = HH(b, c, d, a, M_offset_6, 23, T[43]);
- a = HH(a, b, c, d, M_offset_9, 4, T[44]);
- d = HH(d, a, b, c, M_offset_12, 11, T[45]);
- c = HH(c, d, a, b, M_offset_15, 16, T[46]);
- b = HH(b, c, d, a, M_offset_2, 23, T[47]);
- a = II(a, b, c, d, M_offset_0, 6, T[48]);
- d = II(d, a, b, c, M_offset_7, 10, T[49]);
- c = II(c, d, a, b, M_offset_14, 15, T[50]);
- b = II(b, c, d, a, M_offset_5, 21, T[51]);
- a = II(a, b, c, d, M_offset_12, 6, T[52]);
- d = II(d, a, b, c, M_offset_3, 10, T[53]);
- c = II(c, d, a, b, M_offset_10, 15, T[54]);
- b = II(b, c, d, a, M_offset_1, 21, T[55]);
- a = II(a, b, c, d, M_offset_8, 6, T[56]);
- d = II(d, a, b, c, M_offset_15, 10, T[57]);
- c = II(c, d, a, b, M_offset_6, 15, T[58]);
- b = II(b, c, d, a, M_offset_13, 21, T[59]);
- a = II(a, b, c, d, M_offset_4, 6, T[60]);
- d = II(d, a, b, c, M_offset_11, 10, T[61]);
- c = II(c, d, a, b, M_offset_2, 15, T[62]);
- b = II(b, c, d, a, M_offset_9, 21, T[63]);
- // Intermediate hash value
- H[0] = H[0] + a | 0;
- H[1] = H[1] + b | 0;
- H[2] = H[2] + c | 0;
- H[3] = H[3] + d | 0;
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x80 << 24 - nBitsLeft % 32;
- var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);
- var nBitsTotalL = nBitsTotal;
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] =
- (nBitsTotalH << 8 | nBitsTotalH >>> 24) & 0x00ff00ff |
- (nBitsTotalH << 24 | nBitsTotalH >>> 8) & 0xff00ff00;
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] =
- (nBitsTotalL << 8 | nBitsTotalL >>> 24) & 0x00ff00ff |
- (nBitsTotalL << 24 | nBitsTotalL >>> 8) & 0xff00ff00;
- data.sigBytes = (dataWords.length + 1) * 4;
- // Hash final blocks
- this._process();
- // Shortcuts
- var hash = this._hash;
- var H = hash.words;
- // Swap endian
- for (var i = 0; i < 4; i++) {
- // Shortcut
- var H_i = H[i];
- H[i] = (H_i << 8 | H_i >>> 24) & 0x00ff00ff |
- (H_i << 24 | H_i >>> 8) & 0xff00ff00;
- }
- // Return final computed hash
- return hash;
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- clone._hash = this._hash.clone();
- return clone;
- } });
- function FF(a, b, c, d, x, s, t) {
- var n = a + (b & c | ~b & d) + x + t;
- return (n << s | n >>> 32 - s) + b;
- }
- function GG(a, b, c, d, x, s, t) {
- var n = a + (b & d | c & ~d) + x + t;
- return (n << s | n >>> 32 - s) + b;
- }
- function HH(a, b, c, d, x, s, t) {
- var n = a + (b ^ c ^ d) + x + t;
- return (n << s | n >>> 32 - s) + b;
- }
- function II(a, b, c, d, x, s, t) {
- var n = a + (c ^ (b | ~d)) + x + t;
- return (n << s | n >>> 32 - s) + b;
- }
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.MD5('message');
- * var hash = CryptoJS.MD5(wordArray);
- */
- C.MD5 = Hasher._createHelper(MD5);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacMD5(message, key);
- */
- C.HmacMD5 = Hasher._createHmacHelper(MD5);
- })(Math);
- return CryptoJS.MD5;
- });
- /***/ }),
- /* 612 */
- /*!********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha1.js ***!
- \********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var Hasher = C_lib.Hasher;
- var C_algo = C.algo;
- // Reusable object
- var W = [];
- /**
- * SHA-1 hash algorithm.
- */
- var SHA1 = C_algo.SHA1 = Hasher.extend({
- _doReset: function _doReset() {
- this._hash = new WordArray.init([
- 0x67452301, 0xefcdab89,
- 0x98badcfe, 0x10325476,
- 0xc3d2e1f0]);
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcut
- var H = this._hash.words;
- // Working variables
- var a = H[0];
- var b = H[1];
- var c = H[2];
- var d = H[3];
- var e = H[4];
- // Computation
- for (var i = 0; i < 80; i++) {
- if (i < 16) {
- W[i] = M[offset + i] | 0;
- } else {
- var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];
- W[i] = n << 1 | n >>> 31;
- }
- var t = (a << 5 | a >>> 27) + e + W[i];
- if (i < 20) {
- t += (b & c | ~b & d) + 0x5a827999;
- } else if (i < 40) {
- t += (b ^ c ^ d) + 0x6ed9eba1;
- } else if (i < 60) {
- t += (b & c | b & d | c & d) - 0x70e44324;
- } else /* if (i < 80) */{
- t += (b ^ c ^ d) - 0x359d3e2a;
- }
- e = d;
- d = c;
- c = b << 30 | b >>> 2;
- b = a;
- a = t;
- }
- // Intermediate hash value
- H[0] = H[0] + a | 0;
- H[1] = H[1] + b | 0;
- H[2] = H[2] + c | 0;
- H[3] = H[3] + d | 0;
- H[4] = H[4] + e | 0;
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x80 << 24 - nBitsLeft % 32;
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
- data.sigBytes = dataWords.length * 4;
- // Hash final blocks
- this._process();
- // Return final computed hash
- return this._hash;
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- clone._hash = this._hash.clone();
- return clone;
- } });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA1('message');
- * var hash = CryptoJS.SHA1(wordArray);
- */
- C.SHA1 = Hasher._createHelper(SHA1);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA1(message, key);
- */
- C.HmacSHA1 = Hasher._createHmacHelper(SHA1);
- })();
- return CryptoJS.SHA1;
- });
- /***/ }),
- /* 613 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha256.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function (Math) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var Hasher = C_lib.Hasher;
- var C_algo = C.algo;
- // Initialization and round constants tables
- var H = [];
- var K = [];
- // Compute constants
- (function () {
- function isPrime(n) {
- var sqrtN = Math.sqrt(n);
- for (var factor = 2; factor <= sqrtN; factor++) {
- if (!(n % factor)) {
- return false;
- }
- }
- return true;
- }
- function getFractionalBits(n) {
- return (n - (n | 0)) * 0x100000000 | 0;
- }
- var n = 2;
- var nPrime = 0;
- while (nPrime < 64) {
- if (isPrime(n)) {
- if (nPrime < 8) {
- H[nPrime] = getFractionalBits(Math.pow(n, 1 / 2));
- }
- K[nPrime] = getFractionalBits(Math.pow(n, 1 / 3));
- nPrime++;
- }
- n++;
- }
- })();
- // Reusable object
- var W = [];
- /**
- * SHA-256 hash algorithm.
- */
- var SHA256 = C_algo.SHA256 = Hasher.extend({
- _doReset: function _doReset() {
- this._hash = new WordArray.init(H.slice(0));
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcut
- var H = this._hash.words;
- // Working variables
- var a = H[0];
- var b = H[1];
- var c = H[2];
- var d = H[3];
- var e = H[4];
- var f = H[5];
- var g = H[6];
- var h = H[7];
- // Computation
- for (var i = 0; i < 64; i++) {
- if (i < 16) {
- W[i] = M[offset + i] | 0;
- } else {
- var gamma0x = W[i - 15];
- var gamma0 = (gamma0x << 25 | gamma0x >>> 7) ^ (
- gamma0x << 14 | gamma0x >>> 18) ^
- gamma0x >>> 3;
- var gamma1x = W[i - 2];
- var gamma1 = (gamma1x << 15 | gamma1x >>> 17) ^ (
- gamma1x << 13 | gamma1x >>> 19) ^
- gamma1x >>> 10;
- W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16];
- }
- var ch = e & f ^ ~e & g;
- var maj = a & b ^ a & c ^ b & c;
- var sigma0 = (a << 30 | a >>> 2) ^ (a << 19 | a >>> 13) ^ (a << 10 | a >>> 22);
- var sigma1 = (e << 26 | e >>> 6) ^ (e << 21 | e >>> 11) ^ (e << 7 | e >>> 25);
- var t1 = h + sigma1 + ch + K[i] + W[i];
- var t2 = sigma0 + maj;
- h = g;
- g = f;
- f = e;
- e = d + t1 | 0;
- d = c;
- c = b;
- b = a;
- a = t1 + t2 | 0;
- }
- // Intermediate hash value
- H[0] = H[0] + a | 0;
- H[1] = H[1] + b | 0;
- H[2] = H[2] + c | 0;
- H[3] = H[3] + d | 0;
- H[4] = H[4] + e | 0;
- H[5] = H[5] + f | 0;
- H[6] = H[6] + g | 0;
- H[7] = H[7] + h | 0;
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x80 << 24 - nBitsLeft % 32;
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 15] = nBitsTotal;
- data.sigBytes = dataWords.length * 4;
- // Hash final blocks
- this._process();
- // Return final computed hash
- return this._hash;
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- clone._hash = this._hash.clone();
- return clone;
- } });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA256('message');
- * var hash = CryptoJS.SHA256(wordArray);
- */
- C.SHA256 = Hasher._createHelper(SHA256);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA256(message, key);
- */
- C.HmacSHA256 = Hasher._createHmacHelper(SHA256);
- })(Math);
- return CryptoJS.SHA256;
- });
- /***/ }),
- /* 614 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha224.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./sha256 */ 613));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var C_algo = C.algo;
- var SHA256 = C_algo.SHA256;
- /**
- * SHA-224 hash algorithm.
- */
- var SHA224 = C_algo.SHA224 = SHA256.extend({
- _doReset: function _doReset() {
- this._hash = new WordArray.init([
- 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
- 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4]);
- },
- _doFinalize: function _doFinalize() {
- var hash = SHA256._doFinalize.call(this);
- hash.sigBytes -= 4;
- return hash;
- } });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA224('message');
- * var hash = CryptoJS.SHA224(wordArray);
- */
- C.SHA224 = SHA256._createHelper(SHA224);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA224(message, key);
- */
- C.HmacSHA224 = SHA256._createHmacHelper(SHA224);
- })();
- return CryptoJS.SHA224;
- });
- /***/ }),
- /* 615 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha512.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./x64-core */ 606));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Hasher = C_lib.Hasher;
- var C_x64 = C.x64;
- var X64Word = C_x64.Word;
- var X64WordArray = C_x64.WordArray;
- var C_algo = C.algo;
- function X64Word_create() {
- return X64Word.create.apply(X64Word, arguments);
- }
- // Constants
- var K = [
- X64Word_create(0x428a2f98, 0xd728ae22), X64Word_create(0x71374491, 0x23ef65cd),
- X64Word_create(0xb5c0fbcf, 0xec4d3b2f), X64Word_create(0xe9b5dba5, 0x8189dbbc),
- X64Word_create(0x3956c25b, 0xf348b538), X64Word_create(0x59f111f1, 0xb605d019),
- X64Word_create(0x923f82a4, 0xaf194f9b), X64Word_create(0xab1c5ed5, 0xda6d8118),
- X64Word_create(0xd807aa98, 0xa3030242), X64Word_create(0x12835b01, 0x45706fbe),
- X64Word_create(0x243185be, 0x4ee4b28c), X64Word_create(0x550c7dc3, 0xd5ffb4e2),
- X64Word_create(0x72be5d74, 0xf27b896f), X64Word_create(0x80deb1fe, 0x3b1696b1),
- X64Word_create(0x9bdc06a7, 0x25c71235), X64Word_create(0xc19bf174, 0xcf692694),
- X64Word_create(0xe49b69c1, 0x9ef14ad2), X64Word_create(0xefbe4786, 0x384f25e3),
- X64Word_create(0x0fc19dc6, 0x8b8cd5b5), X64Word_create(0x240ca1cc, 0x77ac9c65),
- X64Word_create(0x2de92c6f, 0x592b0275), X64Word_create(0x4a7484aa, 0x6ea6e483),
- X64Word_create(0x5cb0a9dc, 0xbd41fbd4), X64Word_create(0x76f988da, 0x831153b5),
- X64Word_create(0x983e5152, 0xee66dfab), X64Word_create(0xa831c66d, 0x2db43210),
- X64Word_create(0xb00327c8, 0x98fb213f), X64Word_create(0xbf597fc7, 0xbeef0ee4),
- X64Word_create(0xc6e00bf3, 0x3da88fc2), X64Word_create(0xd5a79147, 0x930aa725),
- X64Word_create(0x06ca6351, 0xe003826f), X64Word_create(0x14292967, 0x0a0e6e70),
- X64Word_create(0x27b70a85, 0x46d22ffc), X64Word_create(0x2e1b2138, 0x5c26c926),
- X64Word_create(0x4d2c6dfc, 0x5ac42aed), X64Word_create(0x53380d13, 0x9d95b3df),
- X64Word_create(0x650a7354, 0x8baf63de), X64Word_create(0x766a0abb, 0x3c77b2a8),
- X64Word_create(0x81c2c92e, 0x47edaee6), X64Word_create(0x92722c85, 0x1482353b),
- X64Word_create(0xa2bfe8a1, 0x4cf10364), X64Word_create(0xa81a664b, 0xbc423001),
- X64Word_create(0xc24b8b70, 0xd0f89791), X64Word_create(0xc76c51a3, 0x0654be30),
- X64Word_create(0xd192e819, 0xd6ef5218), X64Word_create(0xd6990624, 0x5565a910),
- X64Word_create(0xf40e3585, 0x5771202a), X64Word_create(0x106aa070, 0x32bbd1b8),
- X64Word_create(0x19a4c116, 0xb8d2d0c8), X64Word_create(0x1e376c08, 0x5141ab53),
- X64Word_create(0x2748774c, 0xdf8eeb99), X64Word_create(0x34b0bcb5, 0xe19b48a8),
- X64Word_create(0x391c0cb3, 0xc5c95a63), X64Word_create(0x4ed8aa4a, 0xe3418acb),
- X64Word_create(0x5b9cca4f, 0x7763e373), X64Word_create(0x682e6ff3, 0xd6b2b8a3),
- X64Word_create(0x748f82ee, 0x5defb2fc), X64Word_create(0x78a5636f, 0x43172f60),
- X64Word_create(0x84c87814, 0xa1f0ab72), X64Word_create(0x8cc70208, 0x1a6439ec),
- X64Word_create(0x90befffa, 0x23631e28), X64Word_create(0xa4506ceb, 0xde82bde9),
- X64Word_create(0xbef9a3f7, 0xb2c67915), X64Word_create(0xc67178f2, 0xe372532b),
- X64Word_create(0xca273ece, 0xea26619c), X64Word_create(0xd186b8c7, 0x21c0c207),
- X64Word_create(0xeada7dd6, 0xcde0eb1e), X64Word_create(0xf57d4f7f, 0xee6ed178),
- X64Word_create(0x06f067aa, 0x72176fba), X64Word_create(0x0a637dc5, 0xa2c898a6),
- X64Word_create(0x113f9804, 0xbef90dae), X64Word_create(0x1b710b35, 0x131c471b),
- X64Word_create(0x28db77f5, 0x23047d84), X64Word_create(0x32caab7b, 0x40c72493),
- X64Word_create(0x3c9ebe0a, 0x15c9bebc), X64Word_create(0x431d67c4, 0x9c100d4c),
- X64Word_create(0x4cc5d4be, 0xcb3e42b6), X64Word_create(0x597f299c, 0xfc657e2a),
- X64Word_create(0x5fcb6fab, 0x3ad6faec), X64Word_create(0x6c44198c, 0x4a475817)];
- // Reusable objects
- var W = [];
- (function () {
- for (var i = 0; i < 80; i++) {
- W[i] = X64Word_create();
- }
- })();
- /**
- * SHA-512 hash algorithm.
- */
- var SHA512 = C_algo.SHA512 = Hasher.extend({
- _doReset: function _doReset() {
- this._hash = new X64WordArray.init([
- new X64Word.init(0x6a09e667, 0xf3bcc908), new X64Word.init(0xbb67ae85, 0x84caa73b),
- new X64Word.init(0x3c6ef372, 0xfe94f82b), new X64Word.init(0xa54ff53a, 0x5f1d36f1),
- new X64Word.init(0x510e527f, 0xade682d1), new X64Word.init(0x9b05688c, 0x2b3e6c1f),
- new X64Word.init(0x1f83d9ab, 0xfb41bd6b), new X64Word.init(0x5be0cd19, 0x137e2179)]);
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcuts
- var H = this._hash.words;
- var H0 = H[0];
- var H1 = H[1];
- var H2 = H[2];
- var H3 = H[3];
- var H4 = H[4];
- var H5 = H[5];
- var H6 = H[6];
- var H7 = H[7];
- var H0h = H0.high;
- var H0l = H0.low;
- var H1h = H1.high;
- var H1l = H1.low;
- var H2h = H2.high;
- var H2l = H2.low;
- var H3h = H3.high;
- var H3l = H3.low;
- var H4h = H4.high;
- var H4l = H4.low;
- var H5h = H5.high;
- var H5l = H5.low;
- var H6h = H6.high;
- var H6l = H6.low;
- var H7h = H7.high;
- var H7l = H7.low;
- // Working variables
- var ah = H0h;
- var al = H0l;
- var bh = H1h;
- var bl = H1l;
- var ch = H2h;
- var cl = H2l;
- var dh = H3h;
- var dl = H3l;
- var eh = H4h;
- var el = H4l;
- var fh = H5h;
- var fl = H5l;
- var gh = H6h;
- var gl = H6l;
- var hh = H7h;
- var hl = H7l;
- // Rounds
- for (var i = 0; i < 80; i++) {
- var Wil;
- var Wih;
- // Shortcut
- var Wi = W[i];
- // Extend message
- if (i < 16) {
- Wih = Wi.high = M[offset + i * 2] | 0;
- Wil = Wi.low = M[offset + i * 2 + 1] | 0;
- } else {
- // Gamma0
- var gamma0x = W[i - 15];
- var gamma0xh = gamma0x.high;
- var gamma0xl = gamma0x.low;
- var gamma0h = (gamma0xh >>> 1 | gamma0xl << 31) ^ (gamma0xh >>> 8 | gamma0xl << 24) ^ gamma0xh >>> 7;
- var gamma0l = (gamma0xl >>> 1 | gamma0xh << 31) ^ (gamma0xl >>> 8 | gamma0xh << 24) ^ (gamma0xl >>> 7 | gamma0xh << 25);
- // Gamma1
- var gamma1x = W[i - 2];
- var gamma1xh = gamma1x.high;
- var gamma1xl = gamma1x.low;
- var gamma1h = (gamma1xh >>> 19 | gamma1xl << 13) ^ (gamma1xh << 3 | gamma1xl >>> 29) ^ gamma1xh >>> 6;
- var gamma1l = (gamma1xl >>> 19 | gamma1xh << 13) ^ (gamma1xl << 3 | gamma1xh >>> 29) ^ (gamma1xl >>> 6 | gamma1xh << 26);
- // W[i] = gamma0 + W[i - 7] + gamma1 + W[i - 16]
- var Wi7 = W[i - 7];
- var Wi7h = Wi7.high;
- var Wi7l = Wi7.low;
- var Wi16 = W[i - 16];
- var Wi16h = Wi16.high;
- var Wi16l = Wi16.low;
- Wil = gamma0l + Wi7l;
- Wih = gamma0h + Wi7h + (Wil >>> 0 < gamma0l >>> 0 ? 1 : 0);
- Wil = Wil + gamma1l;
- Wih = Wih + gamma1h + (Wil >>> 0 < gamma1l >>> 0 ? 1 : 0);
- Wil = Wil + Wi16l;
- Wih = Wih + Wi16h + (Wil >>> 0 < Wi16l >>> 0 ? 1 : 0);
- Wi.high = Wih;
- Wi.low = Wil;
- }
- var chh = eh & fh ^ ~eh & gh;
- var chl = el & fl ^ ~el & gl;
- var majh = ah & bh ^ ah & ch ^ bh & ch;
- var majl = al & bl ^ al & cl ^ bl & cl;
- var sigma0h = (ah >>> 28 | al << 4) ^ (ah << 30 | al >>> 2) ^ (ah << 25 | al >>> 7);
- var sigma0l = (al >>> 28 | ah << 4) ^ (al << 30 | ah >>> 2) ^ (al << 25 | ah >>> 7);
- var sigma1h = (eh >>> 14 | el << 18) ^ (eh >>> 18 | el << 14) ^ (eh << 23 | el >>> 9);
- var sigma1l = (el >>> 14 | eh << 18) ^ (el >>> 18 | eh << 14) ^ (el << 23 | eh >>> 9);
- // t1 = h + sigma1 + ch + K[i] + W[i]
- var Ki = K[i];
- var Kih = Ki.high;
- var Kil = Ki.low;
- var t1l = hl + sigma1l;
- var t1h = hh + sigma1h + (t1l >>> 0 < hl >>> 0 ? 1 : 0);
- var t1l = t1l + chl;
- var t1h = t1h + chh + (t1l >>> 0 < chl >>> 0 ? 1 : 0);
- var t1l = t1l + Kil;
- var t1h = t1h + Kih + (t1l >>> 0 < Kil >>> 0 ? 1 : 0);
- var t1l = t1l + Wil;
- var t1h = t1h + Wih + (t1l >>> 0 < Wil >>> 0 ? 1 : 0);
- // t2 = sigma0 + maj
- var t2l = sigma0l + majl;
- var t2h = sigma0h + majh + (t2l >>> 0 < sigma0l >>> 0 ? 1 : 0);
- // Update working variables
- hh = gh;
- hl = gl;
- gh = fh;
- gl = fl;
- fh = eh;
- fl = el;
- el = dl + t1l | 0;
- eh = dh + t1h + (el >>> 0 < dl >>> 0 ? 1 : 0) | 0;
- dh = ch;
- dl = cl;
- ch = bh;
- cl = bl;
- bh = ah;
- bl = al;
- al = t1l + t2l | 0;
- ah = t1h + t2h + (al >>> 0 < t1l >>> 0 ? 1 : 0) | 0;
- }
- // Intermediate hash value
- H0l = H0.low = H0l + al;
- H0.high = H0h + ah + (H0l >>> 0 < al >>> 0 ? 1 : 0);
- H1l = H1.low = H1l + bl;
- H1.high = H1h + bh + (H1l >>> 0 < bl >>> 0 ? 1 : 0);
- H2l = H2.low = H2l + cl;
- H2.high = H2h + ch + (H2l >>> 0 < cl >>> 0 ? 1 : 0);
- H3l = H3.low = H3l + dl;
- H3.high = H3h + dh + (H3l >>> 0 < dl >>> 0 ? 1 : 0);
- H4l = H4.low = H4l + el;
- H4.high = H4h + eh + (H4l >>> 0 < el >>> 0 ? 1 : 0);
- H5l = H5.low = H5l + fl;
- H5.high = H5h + fh + (H5l >>> 0 < fl >>> 0 ? 1 : 0);
- H6l = H6.low = H6l + gl;
- H6.high = H6h + gh + (H6l >>> 0 < gl >>> 0 ? 1 : 0);
- H7l = H7.low = H7l + hl;
- H7.high = H7h + hh + (H7l >>> 0 < hl >>> 0 ? 1 : 0);
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x80 << 24 - nBitsLeft % 32;
- dataWords[(nBitsLeft + 128 >>> 10 << 5) + 30] = Math.floor(nBitsTotal / 0x100000000);
- dataWords[(nBitsLeft + 128 >>> 10 << 5) + 31] = nBitsTotal;
- data.sigBytes = dataWords.length * 4;
- // Hash final blocks
- this._process();
- // Convert hash to 32-bit word array before returning
- var hash = this._hash.toX32();
- // Return final computed hash
- return hash;
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- clone._hash = this._hash.clone();
- return clone;
- },
- blockSize: 1024 / 32 });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA512('message');
- * var hash = CryptoJS.SHA512(wordArray);
- */
- C.SHA512 = Hasher._createHelper(SHA512);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA512(message, key);
- */
- C.HmacSHA512 = Hasher._createHmacHelper(SHA512);
- })();
- return CryptoJS.SHA512;
- });
- /***/ }),
- /* 616 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha384.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./x64-core */ 606), __webpack_require__(/*! ./sha512 */ 615));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_x64 = C.x64;
- var X64Word = C_x64.Word;
- var X64WordArray = C_x64.WordArray;
- var C_algo = C.algo;
- var SHA512 = C_algo.SHA512;
- /**
- * SHA-384 hash algorithm.
- */
- var SHA384 = C_algo.SHA384 = SHA512.extend({
- _doReset: function _doReset() {
- this._hash = new X64WordArray.init([
- new X64Word.init(0xcbbb9d5d, 0xc1059ed8), new X64Word.init(0x629a292a, 0x367cd507),
- new X64Word.init(0x9159015a, 0x3070dd17), new X64Word.init(0x152fecd8, 0xf70e5939),
- new X64Word.init(0x67332667, 0xffc00b31), new X64Word.init(0x8eb44a87, 0x68581511),
- new X64Word.init(0xdb0c2e0d, 0x64f98fa7), new X64Word.init(0x47b5481d, 0xbefa4fa4)]);
- },
- _doFinalize: function _doFinalize() {
- var hash = SHA512._doFinalize.call(this);
- hash.sigBytes -= 16;
- return hash;
- } });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA384('message');
- * var hash = CryptoJS.SHA384(wordArray);
- */
- C.SHA384 = SHA512._createHelper(SHA384);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA384(message, key);
- */
- C.HmacSHA384 = SHA512._createHmacHelper(SHA384);
- })();
- return CryptoJS.SHA384;
- });
- /***/ }),
- /* 617 */
- /*!********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/sha3.js ***!
- \********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./x64-core */ 606));
- } else
- {}
- })(this, function (CryptoJS) {
- (function (Math) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var Hasher = C_lib.Hasher;
- var C_x64 = C.x64;
- var X64Word = C_x64.Word;
- var C_algo = C.algo;
- // Constants tables
- var RHO_OFFSETS = [];
- var PI_INDEXES = [];
- var ROUND_CONSTANTS = [];
- // Compute Constants
- (function () {
- // Compute rho offset constants
- var x = 1,y = 0;
- for (var t = 0; t < 24; t++) {
- RHO_OFFSETS[x + 5 * y] = (t + 1) * (t + 2) / 2 % 64;
- var newX = y % 5;
- var newY = (2 * x + 3 * y) % 5;
- x = newX;
- y = newY;
- }
- // Compute pi index constants
- for (var x = 0; x < 5; x++) {
- for (var y = 0; y < 5; y++) {
- PI_INDEXES[x + 5 * y] = y + (2 * x + 3 * y) % 5 * 5;
- }
- }
- // Compute round constants
- var LFSR = 0x01;
- for (var i = 0; i < 24; i++) {
- var roundConstantMsw = 0;
- var roundConstantLsw = 0;
- for (var j = 0; j < 7; j++) {
- if (LFSR & 0x01) {
- var bitPosition = (1 << j) - 1;
- if (bitPosition < 32) {
- roundConstantLsw ^= 1 << bitPosition;
- } else /* if (bitPosition >= 32) */{
- roundConstantMsw ^= 1 << bitPosition - 32;
- }
- }
- // Compute next LFSR
- if (LFSR & 0x80) {
- // Primitive polynomial over GF(2): x^8 + x^6 + x^5 + x^4 + 1
- LFSR = LFSR << 1 ^ 0x71;
- } else {
- LFSR <<= 1;
- }
- }
- ROUND_CONSTANTS[i] = X64Word.create(roundConstantMsw, roundConstantLsw);
- }
- })();
- // Reusable objects for temporary values
- var T = [];
- (function () {
- for (var i = 0; i < 25; i++) {
- T[i] = X64Word.create();
- }
- })();
- /**
- * SHA-3 hash algorithm.
- */
- var SHA3 = C_algo.SHA3 = Hasher.extend({
- /**
- * Configuration options.
- *
- * @property {number} outputLength
- * The desired number of bits in the output hash.
- * Only values permitted are: 224, 256, 384, 512.
- * Default: 512
- */
- cfg: Hasher.cfg.extend({
- outputLength: 512 }),
- _doReset: function _doReset() {
- var state = this._state = [];
- for (var i = 0; i < 25; i++) {
- state[i] = new X64Word.init();
- }
- this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcuts
- var state = this._state;
- var nBlockSizeLanes = this.blockSize / 2;
- // Absorb
- for (var i = 0; i < nBlockSizeLanes; i++) {
- // Shortcuts
- var M2i = M[offset + 2 * i];
- var M2i1 = M[offset + 2 * i + 1];
- // Swap endian
- M2i =
- (M2i << 8 | M2i >>> 24) & 0x00ff00ff |
- (M2i << 24 | M2i >>> 8) & 0xff00ff00;
- M2i1 =
- (M2i1 << 8 | M2i1 >>> 24) & 0x00ff00ff |
- (M2i1 << 24 | M2i1 >>> 8) & 0xff00ff00;
- // Absorb message into state
- var lane = state[i];
- lane.high ^= M2i1;
- lane.low ^= M2i;
- }
- // Rounds
- for (var round = 0; round < 24; round++) {
- // Theta
- for (var x = 0; x < 5; x++) {
- // Mix column lanes
- var tMsw = 0,tLsw = 0;
- for (var y = 0; y < 5; y++) {
- var lane = state[x + 5 * y];
- tMsw ^= lane.high;
- tLsw ^= lane.low;
- }
- // Temporary values
- var Tx = T[x];
- Tx.high = tMsw;
- Tx.low = tLsw;
- }
- for (var x = 0; x < 5; x++) {
- // Shortcuts
- var Tx4 = T[(x + 4) % 5];
- var Tx1 = T[(x + 1) % 5];
- var Tx1Msw = Tx1.high;
- var Tx1Lsw = Tx1.low;
- // Mix surrounding columns
- var tMsw = Tx4.high ^ (Tx1Msw << 1 | Tx1Lsw >>> 31);
- var tLsw = Tx4.low ^ (Tx1Lsw << 1 | Tx1Msw >>> 31);
- for (var y = 0; y < 5; y++) {
- var lane = state[x + 5 * y];
- lane.high ^= tMsw;
- lane.low ^= tLsw;
- }
- }
- // Rho Pi
- for (var laneIndex = 1; laneIndex < 25; laneIndex++) {
- var tMsw;
- var tLsw;
- // Shortcuts
- var lane = state[laneIndex];
- var laneMsw = lane.high;
- var laneLsw = lane.low;
- var rhoOffset = RHO_OFFSETS[laneIndex];
- // Rotate lanes
- if (rhoOffset < 32) {
- tMsw = laneMsw << rhoOffset | laneLsw >>> 32 - rhoOffset;
- tLsw = laneLsw << rhoOffset | laneMsw >>> 32 - rhoOffset;
- } else /* if (rhoOffset >= 32) */{
- tMsw = laneLsw << rhoOffset - 32 | laneMsw >>> 64 - rhoOffset;
- tLsw = laneMsw << rhoOffset - 32 | laneLsw >>> 64 - rhoOffset;
- }
- // Transpose lanes
- var TPiLane = T[PI_INDEXES[laneIndex]];
- TPiLane.high = tMsw;
- TPiLane.low = tLsw;
- }
- // Rho pi at x = y = 0
- var T0 = T[0];
- var state0 = state[0];
- T0.high = state0.high;
- T0.low = state0.low;
- // Chi
- for (var x = 0; x < 5; x++) {
- for (var y = 0; y < 5; y++) {
- // Shortcuts
- var laneIndex = x + 5 * y;
- var lane = state[laneIndex];
- var TLane = T[laneIndex];
- var Tx1Lane = T[(x + 1) % 5 + 5 * y];
- var Tx2Lane = T[(x + 2) % 5 + 5 * y];
- // Mix rows
- lane.high = TLane.high ^ ~Tx1Lane.high & Tx2Lane.high;
- lane.low = TLane.low ^ ~Tx1Lane.low & Tx2Lane.low;
- }
- }
- // Iota
- var lane = state[0];
- var roundConstant = ROUND_CONSTANTS[round];
- lane.high ^= roundConstant.high;
- lane.low ^= roundConstant.low;
- }
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- var blockSizeBits = this.blockSize * 32;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x1 << 24 - nBitsLeft % 32;
- dataWords[(Math.ceil((nBitsLeft + 1) / blockSizeBits) * blockSizeBits >>> 5) - 1] |= 0x80;
- data.sigBytes = dataWords.length * 4;
- // Hash final blocks
- this._process();
- // Shortcuts
- var state = this._state;
- var outputLengthBytes = this.cfg.outputLength / 8;
- var outputLengthLanes = outputLengthBytes / 8;
- // Squeeze
- var hashWords = [];
- for (var i = 0; i < outputLengthLanes; i++) {
- // Shortcuts
- var lane = state[i];
- var laneMsw = lane.high;
- var laneLsw = lane.low;
- // Swap endian
- laneMsw =
- (laneMsw << 8 | laneMsw >>> 24) & 0x00ff00ff |
- (laneMsw << 24 | laneMsw >>> 8) & 0xff00ff00;
- laneLsw =
- (laneLsw << 8 | laneLsw >>> 24) & 0x00ff00ff |
- (laneLsw << 24 | laneLsw >>> 8) & 0xff00ff00;
- // Squeeze state to retrieve hash
- hashWords.push(laneLsw);
- hashWords.push(laneMsw);
- }
- // Return final computed hash
- return new WordArray.init(hashWords, outputLengthBytes);
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- var state = clone._state = this._state.slice(0);
- for (var i = 0; i < 25; i++) {
- state[i] = state[i].clone();
- }
- return clone;
- } });
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.SHA3('message');
- * var hash = CryptoJS.SHA3(wordArray);
- */
- C.SHA3 = Hasher._createHelper(SHA3);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacSHA3(message, key);
- */
- C.HmacSHA3 = Hasher._createHmacHelper(SHA3);
- })(Math);
- return CryptoJS.SHA3;
- });
- /***/ }),
- /* 618 */
- /*!*************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/ripemd160.js ***!
- \*************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- /** @preserve
- (c) 2012 by Cédric Mesnil. All rights reserved.
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
- (function (Math) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var Hasher = C_lib.Hasher;
- var C_algo = C.algo;
- // Constants table
- var _zl = WordArray.create([
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8,
- 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12,
- 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2,
- 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13]);
- var _zr = WordArray.create([
- 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12,
- 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2,
- 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13,
- 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14,
- 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11]);
- var _sl = WordArray.create([
- 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8,
- 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12,
- 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5,
- 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12,
- 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6]);
- var _sr = WordArray.create([
- 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6,
- 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11,
- 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5,
- 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8,
- 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]);
- var _hl = WordArray.create([0x00000000, 0x5A827999, 0x6ED9EBA1, 0x8F1BBCDC, 0xA953FD4E]);
- var _hr = WordArray.create([0x50A28BE6, 0x5C4DD124, 0x6D703EF3, 0x7A6D76E9, 0x00000000]);
- /**
- * RIPEMD160 hash algorithm.
- */
- var RIPEMD160 = C_algo.RIPEMD160 = Hasher.extend({
- _doReset: function _doReset() {
- this._hash = WordArray.create([0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476, 0xC3D2E1F0]);
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Swap endian
- for (var i = 0; i < 16; i++) {
- // Shortcuts
- var offset_i = offset + i;
- var M_offset_i = M[offset_i];
- // Swap
- M[offset_i] =
- (M_offset_i << 8 | M_offset_i >>> 24) & 0x00ff00ff |
- (M_offset_i << 24 | M_offset_i >>> 8) & 0xff00ff00;
- }
- // Shortcut
- var H = this._hash.words;
- var hl = _hl.words;
- var hr = _hr.words;
- var zl = _zl.words;
- var zr = _zr.words;
- var sl = _sl.words;
- var sr = _sr.words;
- // Working variables
- var al, bl, cl, dl, el;
- var ar, br, cr, dr, er;
- ar = al = H[0];
- br = bl = H[1];
- cr = cl = H[2];
- dr = dl = H[3];
- er = el = H[4];
- // Computation
- var t;
- for (var i = 0; i < 80; i += 1) {
- t = al + M[offset + zl[i]] | 0;
- if (i < 16) {
- t += f1(bl, cl, dl) + hl[0];
- } else if (i < 32) {
- t += f2(bl, cl, dl) + hl[1];
- } else if (i < 48) {
- t += f3(bl, cl, dl) + hl[2];
- } else if (i < 64) {
- t += f4(bl, cl, dl) + hl[3];
- } else {// if (i<80) {
- t += f5(bl, cl, dl) + hl[4];
- }
- t = t | 0;
- t = rotl(t, sl[i]);
- t = t + el | 0;
- al = el;
- el = dl;
- dl = rotl(cl, 10);
- cl = bl;
- bl = t;
- t = ar + M[offset + zr[i]] | 0;
- if (i < 16) {
- t += f5(br, cr, dr) + hr[0];
- } else if (i < 32) {
- t += f4(br, cr, dr) + hr[1];
- } else if (i < 48) {
- t += f3(br, cr, dr) + hr[2];
- } else if (i < 64) {
- t += f2(br, cr, dr) + hr[3];
- } else {// if (i<80) {
- t += f1(br, cr, dr) + hr[4];
- }
- t = t | 0;
- t = rotl(t, sr[i]);
- t = t + er | 0;
- ar = er;
- er = dr;
- dr = rotl(cr, 10);
- cr = br;
- br = t;
- }
- // Intermediate hash value
- t = H[1] + cl + dr | 0;
- H[1] = H[2] + dl + er | 0;
- H[2] = H[3] + el + ar | 0;
- H[3] = H[4] + al + br | 0;
- H[4] = H[0] + bl + cr | 0;
- H[0] = t;
- },
- _doFinalize: function _doFinalize() {
- // Shortcuts
- var data = this._data;
- var dataWords = data.words;
- var nBitsTotal = this._nDataBytes * 8;
- var nBitsLeft = data.sigBytes * 8;
- // Add padding
- dataWords[nBitsLeft >>> 5] |= 0x80 << 24 - nBitsLeft % 32;
- dataWords[(nBitsLeft + 64 >>> 9 << 4) + 14] =
- (nBitsTotal << 8 | nBitsTotal >>> 24) & 0x00ff00ff |
- (nBitsTotal << 24 | nBitsTotal >>> 8) & 0xff00ff00;
- data.sigBytes = (dataWords.length + 1) * 4;
- // Hash final blocks
- this._process();
- // Shortcuts
- var hash = this._hash;
- var H = hash.words;
- // Swap endian
- for (var i = 0; i < 5; i++) {
- // Shortcut
- var H_i = H[i];
- // Swap
- H[i] = (H_i << 8 | H_i >>> 24) & 0x00ff00ff |
- (H_i << 24 | H_i >>> 8) & 0xff00ff00;
- }
- // Return final computed hash
- return hash;
- },
- clone: function clone() {
- var clone = Hasher.clone.call(this);
- clone._hash = this._hash.clone();
- return clone;
- } });
- function f1(x, y, z) {
- return x ^ y ^ z;
- }
- function f2(x, y, z) {
- return x & y | ~x & z;
- }
- function f3(x, y, z) {
- return (x | ~y) ^ z;
- }
- function f4(x, y, z) {
- return x & z | y & ~z;
- }
- function f5(x, y, z) {
- return x ^ (y | ~z);
- }
- function rotl(x, n) {
- return x << n | x >>> 32 - n;
- }
- /**
- * Shortcut function to the hasher's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- *
- * @return {WordArray} The hash.
- *
- * @static
- *
- * @example
- *
- * var hash = CryptoJS.RIPEMD160('message');
- * var hash = CryptoJS.RIPEMD160(wordArray);
- */
- C.RIPEMD160 = Hasher._createHelper(RIPEMD160);
- /**
- * Shortcut function to the HMAC's object interface.
- *
- * @param {WordArray|string} message The message to hash.
- * @param {WordArray|string} key The secret key.
- *
- * @return {WordArray} The HMAC.
- *
- * @static
- *
- * @example
- *
- * var hmac = CryptoJS.HmacRIPEMD160(message, key);
- */
- C.HmacRIPEMD160 = Hasher._createHmacHelper(RIPEMD160);
- })(Math);
- return CryptoJS.RIPEMD160;
- });
- /***/ }),
- /* 619 */
- /*!********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/hmac.js ***!
- \********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Base = C_lib.Base;
- var C_enc = C.enc;
- var Utf8 = C_enc.Utf8;
- var C_algo = C.algo;
- /**
- * HMAC algorithm.
- */
- var HMAC = C_algo.HMAC = Base.extend({
- /**
- * Initializes a newly created HMAC.
- *
- * @param {Hasher} hasher The hash algorithm to use.
- * @param {WordArray|string} key The secret key.
- *
- * @example
- *
- * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
- */
- init: function init(hasher, key) {
- // Init hasher
- hasher = this._hasher = new hasher.init();
- // Convert string to WordArray, else assume WordArray already
- if (typeof key == 'string') {
- key = Utf8.parse(key);
- }
- // Shortcuts
- var hasherBlockSize = hasher.blockSize;
- var hasherBlockSizeBytes = hasherBlockSize * 4;
- // Allow arbitrary length keys
- if (key.sigBytes > hasherBlockSizeBytes) {
- key = hasher.finalize(key);
- }
- // Clamp excess bits
- key.clamp();
- // Clone key for inner and outer pads
- var oKey = this._oKey = key.clone();
- var iKey = this._iKey = key.clone();
- // Shortcuts
- var oKeyWords = oKey.words;
- var iKeyWords = iKey.words;
- // XOR keys with pad constants
- for (var i = 0; i < hasherBlockSize; i++) {
- oKeyWords[i] ^= 0x5c5c5c5c;
- iKeyWords[i] ^= 0x36363636;
- }
- oKey.sigBytes = iKey.sigBytes = hasherBlockSizeBytes;
- // Set initial values
- this.reset();
- },
- /**
- * Resets this HMAC to its initial state.
- *
- * @example
- *
- * hmacHasher.reset();
- */
- reset: function reset() {
- // Shortcut
- var hasher = this._hasher;
- // Reset
- hasher.reset();
- hasher.update(this._iKey);
- },
- /**
- * Updates this HMAC with a message.
- *
- * @param {WordArray|string} messageUpdate The message to append.
- *
- * @return {HMAC} This HMAC instance.
- *
- * @example
- *
- * hmacHasher.update('message');
- * hmacHasher.update(wordArray);
- */
- update: function update(messageUpdate) {
- this._hasher.update(messageUpdate);
- // Chainable
- return this;
- },
- /**
- * Finalizes the HMAC computation.
- * Note that the finalize operation is effectively a destructive, read-once operation.
- *
- * @param {WordArray|string} messageUpdate (Optional) A final message update.
- *
- * @return {WordArray} The HMAC.
- *
- * @example
- *
- * var hmac = hmacHasher.finalize();
- * var hmac = hmacHasher.finalize('message');
- * var hmac = hmacHasher.finalize(wordArray);
- */
- finalize: function finalize(messageUpdate) {
- // Shortcut
- var hasher = this._hasher;
- // Compute HMAC
- var innerHash = hasher.finalize(messageUpdate);
- hasher.reset();
- var hmac = hasher.finalize(this._oKey.clone().concat(innerHash));
- return hmac;
- } });
- })();
- });
- /***/ }),
- /* 620 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pbkdf2.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./sha256 */ 613), __webpack_require__(/*! ./hmac */ 619));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Base = C_lib.Base;
- var WordArray = C_lib.WordArray;
- var C_algo = C.algo;
- var SHA256 = C_algo.SHA256;
- var HMAC = C_algo.HMAC;
- /**
- * Password-Based Key Derivation Function 2 algorithm.
- */
- var PBKDF2 = C_algo.PBKDF2 = Base.extend({
- /**
- * Configuration options.
- *
- * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
- * @property {Hasher} hasher The hasher to use. Default: SHA256
- * @property {number} iterations The number of iterations to perform. Default: 250000
- */
- cfg: Base.extend({
- keySize: 128 / 32,
- hasher: SHA256,
- iterations: 250000 }),
- /**
- * Initializes a newly created key derivation function.
- *
- * @param {Object} cfg (Optional) The configuration options to use for the derivation.
- *
- * @example
- *
- * var kdf = CryptoJS.algo.PBKDF2.create();
- * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8 });
- * var kdf = CryptoJS.algo.PBKDF2.create({ keySize: 8, iterations: 1000 });
- */
- init: function init(cfg) {
- this.cfg = this.cfg.extend(cfg);
- },
- /**
- * Computes the Password-Based Key Derivation Function 2.
- *
- * @param {WordArray|string} password The password.
- * @param {WordArray|string} salt A salt.
- *
- * @return {WordArray} The derived key.
- *
- * @example
- *
- * var key = kdf.compute(password, salt);
- */
- compute: function compute(password, salt) {
- // Shortcut
- var cfg = this.cfg;
- // Init HMAC
- var hmac = HMAC.create(cfg.hasher, password);
- // Initial values
- var derivedKey = WordArray.create();
- var blockIndex = WordArray.create([0x00000001]);
- // Shortcuts
- var derivedKeyWords = derivedKey.words;
- var blockIndexWords = blockIndex.words;
- var keySize = cfg.keySize;
- var iterations = cfg.iterations;
- // Generate key
- while (derivedKeyWords.length < keySize) {
- var block = hmac.update(salt).finalize(blockIndex);
- hmac.reset();
- // Shortcuts
- var blockWords = block.words;
- var blockWordsLength = blockWords.length;
- // Iterations
- var intermediate = block;
- for (var i = 1; i < iterations; i++) {
- intermediate = hmac.finalize(intermediate);
- hmac.reset();
- // Shortcut
- var intermediateWords = intermediate.words;
- // XOR intermediate with block
- for (var j = 0; j < blockWordsLength; j++) {
- blockWords[j] ^= intermediateWords[j];
- }
- }
- derivedKey.concat(block);
- blockIndexWords[0]++;
- }
- derivedKey.sigBytes = keySize * 4;
- return derivedKey;
- } });
- /**
- * Computes the Password-Based Key Derivation Function 2.
- *
- * @param {WordArray|string} password The password.
- * @param {WordArray|string} salt A salt.
- * @param {Object} cfg (Optional) The configuration options to use for this computation.
- *
- * @return {WordArray} The derived key.
- *
- * @static
- *
- * @example
- *
- * var key = CryptoJS.PBKDF2(password, salt);
- * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8 });
- * var key = CryptoJS.PBKDF2(password, salt, { keySize: 8, iterations: 1000 });
- */
- C.PBKDF2 = function (password, salt, cfg) {
- return PBKDF2.create(cfg).compute(password, salt);
- };
- })();
- return CryptoJS.PBKDF2;
- });
- /***/ }),
- /* 621 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/evpkdf.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./sha1 */ 612), __webpack_require__(/*! ./hmac */ 619));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Base = C_lib.Base;
- var WordArray = C_lib.WordArray;
- var C_algo = C.algo;
- var MD5 = C_algo.MD5;
- /**
- * This key derivation function is meant to conform with EVP_BytesToKey.
- * www.openssl.org/docs/crypto/EVP_BytesToKey.html
- */
- var EvpKDF = C_algo.EvpKDF = Base.extend({
- /**
- * Configuration options.
- *
- * @property {number} keySize The key size in words to generate. Default: 4 (128 bits)
- * @property {Hasher} hasher The hash algorithm to use. Default: MD5
- * @property {number} iterations The number of iterations to perform. Default: 1
- */
- cfg: Base.extend({
- keySize: 128 / 32,
- hasher: MD5,
- iterations: 1 }),
- /**
- * Initializes a newly created key derivation function.
- *
- * @param {Object} cfg (Optional) The configuration options to use for the derivation.
- *
- * @example
- *
- * var kdf = CryptoJS.algo.EvpKDF.create();
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8 });
- * var kdf = CryptoJS.algo.EvpKDF.create({ keySize: 8, iterations: 1000 });
- */
- init: function init(cfg) {
- this.cfg = this.cfg.extend(cfg);
- },
- /**
- * Derives a key from a password.
- *
- * @param {WordArray|string} password The password.
- * @param {WordArray|string} salt A salt.
- *
- * @return {WordArray} The derived key.
- *
- * @example
- *
- * var key = kdf.compute(password, salt);
- */
- compute: function compute(password, salt) {
- var block;
- // Shortcut
- var cfg = this.cfg;
- // Init hasher
- var hasher = cfg.hasher.create();
- // Initial values
- var derivedKey = WordArray.create();
- // Shortcuts
- var derivedKeyWords = derivedKey.words;
- var keySize = cfg.keySize;
- var iterations = cfg.iterations;
- // Generate key
- while (derivedKeyWords.length < keySize) {
- if (block) {
- hasher.update(block);
- }
- block = hasher.update(password).finalize(salt);
- hasher.reset();
- // Iterations
- for (var i = 1; i < iterations; i++) {
- block = hasher.finalize(block);
- hasher.reset();
- }
- derivedKey.concat(block);
- }
- derivedKey.sigBytes = keySize * 4;
- return derivedKey;
- } });
- /**
- * Derives a key from a password.
- *
- * @param {WordArray|string} password The password.
- * @param {WordArray|string} salt A salt.
- * @param {Object} cfg (Optional) The configuration options to use for this computation.
- *
- * @return {WordArray} The derived key.
- *
- * @static
- *
- * @example
- *
- * var key = CryptoJS.EvpKDF(password, salt);
- * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8 });
- * var key = CryptoJS.EvpKDF(password, salt, { keySize: 8, iterations: 1000 });
- */
- C.EvpKDF = function (password, salt, cfg) {
- return EvpKDF.create(cfg).compute(password, salt);
- };
- })();
- return CryptoJS.EvpKDF;
- });
- /***/ }),
- /* 622 */
- /*!***************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/cipher-core.js ***!
- \***************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./evpkdf */ 621));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Cipher core components.
- */
- CryptoJS.lib.Cipher || function (undefined) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var Base = C_lib.Base;
- var WordArray = C_lib.WordArray;
- var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm;
- var C_enc = C.enc;
- var Utf8 = C_enc.Utf8;
- var Base64 = C_enc.Base64;
- var C_algo = C.algo;
- var EvpKDF = C_algo.EvpKDF;
- /**
- * Abstract base cipher template.
- *
- * @property {number} keySize This cipher's key size. Default: 4 (128 bits)
- * @property {number} ivSize This cipher's IV size. Default: 4 (128 bits)
- * @property {number} _ENC_XFORM_MODE A constant representing encryption mode.
- * @property {number} _DEC_XFORM_MODE A constant representing decryption mode.
- */
- var Cipher = C_lib.Cipher = BufferedBlockAlgorithm.extend({
- /**
- * Configuration options.
- *
- * @property {WordArray} iv The IV to use for this operation.
- */
- cfg: Base.extend(),
- /**
- * Creates this cipher in encryption mode.
- *
- * @param {WordArray} key The key.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {Cipher} A cipher instance.
- *
- * @static
- *
- * @example
- *
- * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
- */
- createEncryptor: function createEncryptor(key, cfg) {
- return this.create(this._ENC_XFORM_MODE, key, cfg);
- },
- /**
- * Creates this cipher in decryption mode.
- *
- * @param {WordArray} key The key.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {Cipher} A cipher instance.
- *
- * @static
- *
- * @example
- *
- * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
- */
- createDecryptor: function createDecryptor(key, cfg) {
- return this.create(this._DEC_XFORM_MODE, key, cfg);
- },
- /**
- * Initializes a newly created cipher.
- *
- * @param {number} xformMode Either the encryption or decryption transormation mode constant.
- * @param {WordArray} key The key.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @example
- *
- * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
- */
- init: function init(xformMode, key, cfg) {
- // Apply config defaults
- this.cfg = this.cfg.extend(cfg);
- // Store transform mode and key
- this._xformMode = xformMode;
- this._key = key;
- // Set initial values
- this.reset();
- },
- /**
- * Resets this cipher to its initial state.
- *
- * @example
- *
- * cipher.reset();
- */
- reset: function reset() {
- // Reset data buffer
- BufferedBlockAlgorithm.reset.call(this);
- // Perform concrete-cipher logic
- this._doReset();
- },
- /**
- * Adds data to be encrypted or decrypted.
- *
- * @param {WordArray|string} dataUpdate The data to encrypt or decrypt.
- *
- * @return {WordArray} The data after processing.
- *
- * @example
- *
- * var encrypted = cipher.process('data');
- * var encrypted = cipher.process(wordArray);
- */
- process: function process(dataUpdate) {
- // Append
- this._append(dataUpdate);
- // Process available blocks
- return this._process();
- },
- /**
- * Finalizes the encryption or decryption process.
- * Note that the finalize operation is effectively a destructive, read-once operation.
- *
- * @param {WordArray|string} dataUpdate The final data to encrypt or decrypt.
- *
- * @return {WordArray} The data after final processing.
- *
- * @example
- *
- * var encrypted = cipher.finalize();
- * var encrypted = cipher.finalize('data');
- * var encrypted = cipher.finalize(wordArray);
- */
- finalize: function finalize(dataUpdate) {
- // Final data update
- if (dataUpdate) {
- this._append(dataUpdate);
- }
- // Perform concrete-cipher logic
- var finalProcessedData = this._doFinalize();
- return finalProcessedData;
- },
- keySize: 128 / 32,
- ivSize: 128 / 32,
- _ENC_XFORM_MODE: 1,
- _DEC_XFORM_MODE: 2,
- /**
- * Creates shortcut functions to a cipher's object interface.
- *
- * @param {Cipher} cipher The cipher to create a helper for.
- *
- * @return {Object} An object with encrypt and decrypt shortcut functions.
- *
- * @static
- *
- * @example
- *
- * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
- */
- _createHelper: function () {
- function selectCipherStrategy(key) {
- if (typeof key == 'string') {
- return PasswordBasedCipher;
- } else {
- return SerializableCipher;
- }
- }
- return function (cipher) {
- return {
- encrypt: function encrypt(message, key, cfg) {
- return selectCipherStrategy(key).encrypt(cipher, message, key, cfg);
- },
- decrypt: function decrypt(ciphertext, key, cfg) {
- return selectCipherStrategy(key).decrypt(cipher, ciphertext, key, cfg);
- } };
- };
- }() });
- /**
- * Abstract base stream cipher template.
- *
- * @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 1 (32 bits)
- */
- var StreamCipher = C_lib.StreamCipher = Cipher.extend({
- _doFinalize: function _doFinalize() {
- // Process partial blocks
- var finalProcessedBlocks = this._process(!!'flush');
- return finalProcessedBlocks;
- },
- blockSize: 1 });
- /**
- * Mode namespace.
- */
- var C_mode = C.mode = {};
- /**
- * Abstract base block cipher mode template.
- */
- var BlockCipherMode = C_lib.BlockCipherMode = Base.extend({
- /**
- * Creates this mode for encryption.
- *
- * @param {Cipher} cipher A block cipher instance.
- * @param {Array} iv The IV words.
- *
- * @static
- *
- * @example
- *
- * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
- */
- createEncryptor: function createEncryptor(cipher, iv) {
- return this.Encryptor.create(cipher, iv);
- },
- /**
- * Creates this mode for decryption.
- *
- * @param {Cipher} cipher A block cipher instance.
- * @param {Array} iv The IV words.
- *
- * @static
- *
- * @example
- *
- * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
- */
- createDecryptor: function createDecryptor(cipher, iv) {
- return this.Decryptor.create(cipher, iv);
- },
- /**
- * Initializes a newly created mode.
- *
- * @param {Cipher} cipher A block cipher instance.
- * @param {Array} iv The IV words.
- *
- * @example
- *
- * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
- */
- init: function init(cipher, iv) {
- this._cipher = cipher;
- this._iv = iv;
- } });
- /**
- * Cipher Block Chaining mode.
- */
- var CBC = C_mode.CBC = function () {
- /**
- * Abstract base CBC mode.
- */
- var CBC = BlockCipherMode.extend();
- /**
- * CBC encryptor.
- */
- CBC.Encryptor = CBC.extend({
- /**
- * Processes the data block at offset.
- *
- * @param {Array} words The data words to operate on.
- * @param {number} offset The offset where the block starts.
- *
- * @example
- *
- * mode.processBlock(data.words, offset);
- */
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- // XOR and encrypt
- xorBlock.call(this, words, offset, blockSize);
- cipher.encryptBlock(words, offset);
- // Remember this block to use with next block
- this._prevBlock = words.slice(offset, offset + blockSize);
- } });
- /**
- * CBC decryptor.
- */
- CBC.Decryptor = CBC.extend({
- /**
- * Processes the data block at offset.
- *
- * @param {Array} words The data words to operate on.
- * @param {number} offset The offset where the block starts.
- *
- * @example
- *
- * mode.processBlock(data.words, offset);
- */
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- // Remember this block to use with next block
- var thisBlock = words.slice(offset, offset + blockSize);
- // Decrypt and XOR
- cipher.decryptBlock(words, offset);
- xorBlock.call(this, words, offset, blockSize);
- // This block becomes the previous block
- this._prevBlock = thisBlock;
- } });
- function xorBlock(words, offset, blockSize) {
- var block;
- // Shortcut
- var iv = this._iv;
- // Choose mixing block
- if (iv) {
- block = iv;
- // Remove IV for subsequent blocks
- this._iv = undefined;
- } else {
- block = this._prevBlock;
- }
- // XOR blocks
- for (var i = 0; i < blockSize; i++) {
- words[offset + i] ^= block[i];
- }
- }
- return CBC;
- }();
- /**
- * Padding namespace.
- */
- var C_pad = C.pad = {};
- /**
- * PKCS #5/7 padding strategy.
- */
- var Pkcs7 = C_pad.Pkcs7 = {
- /**
- * Pads data using the algorithm defined in PKCS #5/7.
- *
- * @param {WordArray} data The data to pad.
- * @param {number} blockSize The multiple that the data should be padded to.
- *
- * @static
- *
- * @example
- *
- * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
- */
- pad: function pad(data, blockSize) {
- // Shortcut
- var blockSizeBytes = blockSize * 4;
- // Count padding bytes
- var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;
- // Create padding word
- var paddingWord = nPaddingBytes << 24 | nPaddingBytes << 16 | nPaddingBytes << 8 | nPaddingBytes;
- // Create padding
- var paddingWords = [];
- for (var i = 0; i < nPaddingBytes; i += 4) {
- paddingWords.push(paddingWord);
- }
- var padding = WordArray.create(paddingWords, nPaddingBytes);
- // Add padding
- data.concat(padding);
- },
- /**
- * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
- *
- * @param {WordArray} data The data to unpad.
- *
- * @static
- *
- * @example
- *
- * CryptoJS.pad.Pkcs7.unpad(wordArray);
- */
- unpad: function unpad(data) {
- // Get number of padding bytes from last byte
- var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 0xff;
- // Remove padding
- data.sigBytes -= nPaddingBytes;
- } };
- /**
- * Abstract base block cipher template.
- *
- * @property {number} blockSize The number of 32-bit words this cipher operates on. Default: 4 (128 bits)
- */
- var BlockCipher = C_lib.BlockCipher = Cipher.extend({
- /**
- * Configuration options.
- *
- * @property {Mode} mode The block mode to use. Default: CBC
- * @property {Padding} padding The padding strategy to use. Default: Pkcs7
- */
- cfg: Cipher.cfg.extend({
- mode: CBC,
- padding: Pkcs7 }),
- reset: function reset() {
- var modeCreator;
- // Reset cipher
- Cipher.reset.call(this);
- // Shortcuts
- var cfg = this.cfg;
- var iv = cfg.iv;
- var mode = cfg.mode;
- // Reset block mode
- if (this._xformMode == this._ENC_XFORM_MODE) {
- modeCreator = mode.createEncryptor;
- } else /* if (this._xformMode == this._DEC_XFORM_MODE) */{
- modeCreator = mode.createDecryptor;
- // Keep at least one block in the buffer for unpadding
- this._minBufferSize = 1;
- }
- if (this._mode && this._mode.__creator == modeCreator) {
- this._mode.init(this, iv && iv.words);
- } else {
- this._mode = modeCreator.call(mode, this, iv && iv.words);
- this._mode.__creator = modeCreator;
- }
- },
- _doProcessBlock: function _doProcessBlock(words, offset) {
- this._mode.processBlock(words, offset);
- },
- _doFinalize: function _doFinalize() {
- var finalProcessedBlocks;
- // Shortcut
- var padding = this.cfg.padding;
- // Finalize
- if (this._xformMode == this._ENC_XFORM_MODE) {
- // Pad data
- padding.pad(this._data, this.blockSize);
- // Process final blocks
- finalProcessedBlocks = this._process(!!'flush');
- } else /* if (this._xformMode == this._DEC_XFORM_MODE) */{
- // Process final blocks
- finalProcessedBlocks = this._process(!!'flush');
- // Unpad data
- padding.unpad(finalProcessedBlocks);
- }
- return finalProcessedBlocks;
- },
- blockSize: 128 / 32 });
- /**
- * A collection of cipher parameters.
- *
- * @property {WordArray} ciphertext The raw ciphertext.
- * @property {WordArray} key The key to this ciphertext.
- * @property {WordArray} iv The IV used in the ciphering operation.
- * @property {WordArray} salt The salt used with a key derivation function.
- * @property {Cipher} algorithm The cipher algorithm.
- * @property {Mode} mode The block mode used in the ciphering operation.
- * @property {Padding} padding The padding scheme used in the ciphering operation.
- * @property {number} blockSize The block size of the cipher.
- * @property {Format} formatter The default formatting strategy to convert this cipher params object to a string.
- */
- var CipherParams = C_lib.CipherParams = Base.extend({
- /**
- * Initializes a newly created cipher params object.
- *
- * @param {Object} cipherParams An object with any of the possible cipher parameters.
- *
- * @example
- *
- * var cipherParams = CryptoJS.lib.CipherParams.create({
- * ciphertext: ciphertextWordArray,
- * key: keyWordArray,
- * iv: ivWordArray,
- * salt: saltWordArray,
- * algorithm: CryptoJS.algo.AES,
- * mode: CryptoJS.mode.CBC,
- * padding: CryptoJS.pad.PKCS7,
- * blockSize: 4,
- * formatter: CryptoJS.format.OpenSSL
- * });
- */
- init: function init(cipherParams) {
- this.mixIn(cipherParams);
- },
- /**
- * Converts this cipher params object to a string.
- *
- * @param {Format} formatter (Optional) The formatting strategy to use.
- *
- * @return {string} The stringified cipher params.
- *
- * @throws Error If neither the formatter nor the default formatter is set.
- *
- * @example
- *
- * var string = cipherParams + '';
- * var string = cipherParams.toString();
- * var string = cipherParams.toString(CryptoJS.format.OpenSSL);
- */
- toString: function toString(formatter) {
- return (formatter || this.formatter).stringify(this);
- } });
- /**
- * Format namespace.
- */
- var C_format = C.format = {};
- /**
- * OpenSSL formatting strategy.
- */
- var OpenSSLFormatter = C_format.OpenSSL = {
- /**
- * Converts a cipher params object to an OpenSSL-compatible string.
- *
- * @param {CipherParams} cipherParams The cipher params object.
- *
- * @return {string} The OpenSSL-compatible string.
- *
- * @static
- *
- * @example
- *
- * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
- */
- stringify: function stringify(cipherParams) {
- var wordArray;
- // Shortcuts
- var ciphertext = cipherParams.ciphertext;
- var salt = cipherParams.salt;
- // Format
- if (salt) {
- wordArray = WordArray.create([0x53616c74, 0x65645f5f]).concat(salt).concat(ciphertext);
- } else {
- wordArray = ciphertext;
- }
- return wordArray.toString(Base64);
- },
- /**
- * Converts an OpenSSL-compatible string to a cipher params object.
- *
- * @param {string} openSSLStr The OpenSSL-compatible string.
- *
- * @return {CipherParams} The cipher params object.
- *
- * @static
- *
- * @example
- *
- * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
- */
- parse: function parse(openSSLStr) {
- var salt;
- // Parse base64
- var ciphertext = Base64.parse(openSSLStr);
- // Shortcut
- var ciphertextWords = ciphertext.words;
- // Test for salt
- if (ciphertextWords[0] == 0x53616c74 && ciphertextWords[1] == 0x65645f5f) {
- // Extract salt
- salt = WordArray.create(ciphertextWords.slice(2, 4));
- // Remove salt from ciphertext
- ciphertextWords.splice(0, 4);
- ciphertext.sigBytes -= 16;
- }
- return CipherParams.create({ ciphertext: ciphertext, salt: salt });
- } };
- /**
- * A cipher wrapper that returns ciphertext as a serializable cipher params object.
- */
- var SerializableCipher = C_lib.SerializableCipher = Base.extend({
- /**
- * Configuration options.
- *
- * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
- */
- cfg: Base.extend({
- format: OpenSSLFormatter }),
- /**
- * Encrypts a message.
- *
- * @param {Cipher} cipher The cipher algorithm to use.
- * @param {WordArray|string} message The message to encrypt.
- * @param {WordArray} key The key.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {CipherParams} A cipher params object.
- *
- * @static
- *
- * @example
- *
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key);
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
- * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
- */
- encrypt: function encrypt(cipher, message, key, cfg) {
- // Apply config defaults
- cfg = this.cfg.extend(cfg);
- // Encrypt
- var encryptor = cipher.createEncryptor(key, cfg);
- var ciphertext = encryptor.finalize(message);
- // Shortcut
- var cipherCfg = encryptor.cfg;
- // Create and return serializable cipher params
- return CipherParams.create({
- ciphertext: ciphertext,
- key: key,
- iv: cipherCfg.iv,
- algorithm: cipher,
- mode: cipherCfg.mode,
- padding: cipherCfg.padding,
- blockSize: cipher.blockSize,
- formatter: cfg.format });
- },
- /**
- * Decrypts serialized ciphertext.
- *
- * @param {Cipher} cipher The cipher algorithm to use.
- * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
- * @param {WordArray} key The key.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {WordArray} The plaintext.
- *
- * @static
- *
- * @example
- *
- * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
- * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
- */
- decrypt: function decrypt(cipher, ciphertext, key, cfg) {
- // Apply config defaults
- cfg = this.cfg.extend(cfg);
- // Convert string to CipherParams
- ciphertext = this._parse(ciphertext, cfg.format);
- // Decrypt
- var plaintext = cipher.createDecryptor(key, cfg).finalize(ciphertext.ciphertext);
- return plaintext;
- },
- /**
- * Converts serialized ciphertext to CipherParams,
- * else assumed CipherParams already and returns ciphertext unchanged.
- *
- * @param {CipherParams|string} ciphertext The ciphertext.
- * @param {Formatter} format The formatting strategy to use to parse serialized ciphertext.
- *
- * @return {CipherParams} The unserialized ciphertext.
- *
- * @static
- *
- * @example
- *
- * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
- */
- _parse: function _parse(ciphertext, format) {
- if (typeof ciphertext == 'string') {
- return format.parse(ciphertext, this);
- } else {
- return ciphertext;
- }
- } });
- /**
- * Key derivation function namespace.
- */
- var C_kdf = C.kdf = {};
- /**
- * OpenSSL key derivation function.
- */
- var OpenSSLKdf = C_kdf.OpenSSL = {
- /**
- * Derives a key and IV from a password.
- *
- * @param {string} password The password to derive from.
- * @param {number} keySize The size in words of the key to generate.
- * @param {number} ivSize The size in words of the IV to generate.
- * @param {WordArray|string} salt (Optional) A 64-bit salt to use. If omitted, a salt will be generated randomly.
- *
- * @return {CipherParams} A cipher params object with the key, IV, and salt.
- *
- * @static
- *
- * @example
- *
- * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
- * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
- */
- execute: function execute(password, keySize, ivSize, salt, hasher) {
- // Generate random salt
- if (!salt) {
- salt = WordArray.random(64 / 8);
- }
- // Derive key and IV
- if (!hasher) {
- var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
- } else {
- var key = EvpKDF.create({ keySize: keySize + ivSize, hasher: hasher }).compute(password, salt);
- }
- // Separate key and IV
- var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
- key.sigBytes = keySize * 4;
- // Return params
- return CipherParams.create({ key: key, iv: iv, salt: salt });
- } };
- /**
- * A serializable cipher wrapper that derives the key from a password,
- * and returns ciphertext as a serializable cipher params object.
- */
- var PasswordBasedCipher = C_lib.PasswordBasedCipher = SerializableCipher.extend({
- /**
- * Configuration options.
- *
- * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
- */
- cfg: SerializableCipher.cfg.extend({
- kdf: OpenSSLKdf }),
- /**
- * Encrypts a message using a password.
- *
- * @param {Cipher} cipher The cipher algorithm to use.
- * @param {WordArray|string} message The message to encrypt.
- * @param {string} password The password.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {CipherParams} A cipher params object.
- *
- * @static
- *
- * @example
- *
- * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
- * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
- */
- encrypt: function encrypt(cipher, message, password, cfg) {
- // Apply config defaults
- cfg = this.cfg.extend(cfg);
- // Derive key and other params
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
- // Add IV to config
- cfg.iv = derivedParams.iv;
- // Encrypt
- var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
- // Mix in derived params
- ciphertext.mixIn(derivedParams);
- return ciphertext;
- },
- /**
- * Decrypts serialized ciphertext using a password.
- *
- * @param {Cipher} cipher The cipher algorithm to use.
- * @param {CipherParams|string} ciphertext The ciphertext to decrypt.
- * @param {string} password The password.
- * @param {Object} cfg (Optional) The configuration options to use for this operation.
- *
- * @return {WordArray} The plaintext.
- *
- * @static
- *
- * @example
- *
- * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
- * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
- */
- decrypt: function decrypt(cipher, ciphertext, password, cfg) {
- // Apply config defaults
- cfg = this.cfg.extend(cfg);
- // Convert string to CipherParams
- ciphertext = this._parse(ciphertext, cfg.format);
- // Derive key and other params
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
- // Add IV to config
- cfg.iv = derivedParams.iv;
- // Decrypt
- var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
- return plaintext;
- } });
- }();
- });
- /***/ }),
- /* 623 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/mode-cfb.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Cipher Feedback block mode.
- */
- CryptoJS.mode.CFB = function () {
- var CFB = CryptoJS.lib.BlockCipherMode.extend();
- CFB.Encryptor = CFB.extend({
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);
- // Remember this block to use with next block
- this._prevBlock = words.slice(offset, offset + blockSize);
- } });
- CFB.Decryptor = CFB.extend({
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- // Remember this block to use with next block
- var thisBlock = words.slice(offset, offset + blockSize);
- generateKeystreamAndEncrypt.call(this, words, offset, blockSize, cipher);
- // This block becomes the previous block
- this._prevBlock = thisBlock;
- } });
- function generateKeystreamAndEncrypt(words, offset, blockSize, cipher) {
- var keystream;
- // Shortcut
- var iv = this._iv;
- // Generate keystream
- if (iv) {
- keystream = iv.slice(0);
- // Remove IV for subsequent blocks
- this._iv = undefined;
- } else {
- keystream = this._prevBlock;
- }
- cipher.encryptBlock(keystream, 0);
- // Encrypt
- for (var i = 0; i < blockSize; i++) {
- words[offset + i] ^= keystream[i];
- }
- }
- return CFB;
- }();
- return CryptoJS.mode.CFB;
- });
- /***/ }),
- /* 624 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Counter block mode.
- */
- CryptoJS.mode.CTR = function () {
- var CTR = CryptoJS.lib.BlockCipherMode.extend();
- var Encryptor = CTR.Encryptor = CTR.extend({
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- var iv = this._iv;
- var counter = this._counter;
- // Generate keystream
- if (iv) {
- counter = this._counter = iv.slice(0);
- // Remove IV for subsequent blocks
- this._iv = undefined;
- }
- var keystream = counter.slice(0);
- cipher.encryptBlock(keystream, 0);
- // Increment counter
- counter[blockSize - 1] = counter[blockSize - 1] + 1 | 0;
- // Encrypt
- for (var i = 0; i < blockSize; i++) {
- words[offset + i] ^= keystream[i];
- }
- } });
- CTR.Decryptor = Encryptor;
- return CTR;
- }();
- return CryptoJS.mode.CTR;
- });
- /***/ }),
- /* 625 */
- /*!********************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr-gladman.js ***!
- \********************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /** @preserve
- * Counter block mode compatible with Dr Brian Gladman fileenc.c
- * derived from CryptoJS.mode.CTR
- * Jan Hruby jhruby.web@gmail.com
- */
- CryptoJS.mode.CTRGladman = function () {
- var CTRGladman = CryptoJS.lib.BlockCipherMode.extend();
- function incWord(word)
- {
- if ((word >> 24 & 0xff) === 0xff) {//overflow
- var b1 = word >> 16 & 0xff;
- var b2 = word >> 8 & 0xff;
- var b3 = word & 0xff;
- if (b1 === 0xff) // overflow b1
- {
- b1 = 0;
- if (b2 === 0xff)
- {
- b2 = 0;
- if (b3 === 0xff)
- {
- b3 = 0;
- } else
- {
- ++b3;
- }
- } else
- {
- ++b2;
- }
- } else
- {
- ++b1;
- }
- word = 0;
- word += b1 << 16;
- word += b2 << 8;
- word += b3;
- } else
- {
- word += 0x01 << 24;
- }
- return word;
- }
- function incCounter(counter)
- {
- if ((counter[0] = incWord(counter[0])) === 0)
- {
- // encr_data in fileenc.c from Dr Brian Gladman's counts only with DWORD j < 8
- counter[1] = incWord(counter[1]);
- }
- return counter;
- }
- var Encryptor = CTRGladman.Encryptor = CTRGladman.extend({
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- var iv = this._iv;
- var counter = this._counter;
- // Generate keystream
- if (iv) {
- counter = this._counter = iv.slice(0);
- // Remove IV for subsequent blocks
- this._iv = undefined;
- }
- incCounter(counter);
- var keystream = counter.slice(0);
- cipher.encryptBlock(keystream, 0);
- // Encrypt
- for (var i = 0; i < blockSize; i++) {
- words[offset + i] ^= keystream[i];
- }
- } });
- CTRGladman.Decryptor = Encryptor;
- return CTRGladman;
- }();
- return CryptoJS.mode.CTRGladman;
- });
- /***/ }),
- /* 626 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/mode-ofb.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Output Feedback block mode.
- */
- CryptoJS.mode.OFB = function () {
- var OFB = CryptoJS.lib.BlockCipherMode.extend();
- var Encryptor = OFB.Encryptor = OFB.extend({
- processBlock: function processBlock(words, offset) {
- // Shortcuts
- var cipher = this._cipher;
- var blockSize = cipher.blockSize;
- var iv = this._iv;
- var keystream = this._keystream;
- // Generate keystream
- if (iv) {
- keystream = this._keystream = iv.slice(0);
- // Remove IV for subsequent blocks
- this._iv = undefined;
- }
- cipher.encryptBlock(keystream, 0);
- // Encrypt
- for (var i = 0; i < blockSize; i++) {
- words[offset + i] ^= keystream[i];
- }
- } });
- OFB.Decryptor = Encryptor;
- return OFB;
- }();
- return CryptoJS.mode.OFB;
- });
- /***/ }),
- /* 627 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Electronic Codebook block mode.
- */
- CryptoJS.mode.ECB = function () {
- var ECB = CryptoJS.lib.BlockCipherMode.extend();
- ECB.Encryptor = ECB.extend({
- processBlock: function processBlock(words, offset) {
- this._cipher.encryptBlock(words, offset);
- } });
- ECB.Decryptor = ECB.extend({
- processBlock: function processBlock(words, offset) {
- this._cipher.decryptBlock(words, offset);
- } });
- return ECB;
- }();
- return CryptoJS.mode.ECB;
- });
- /***/ }),
- /* 628 */
- /*!****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pad-ansix923.js ***!
- \****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * ANSI X.923 padding strategy.
- */
- CryptoJS.pad.AnsiX923 = {
- pad: function pad(data, blockSize) {
- // Shortcuts
- var dataSigBytes = data.sigBytes;
- var blockSizeBytes = blockSize * 4;
- // Count padding bytes
- var nPaddingBytes = blockSizeBytes - dataSigBytes % blockSizeBytes;
- // Compute last byte position
- var lastBytePos = dataSigBytes + nPaddingBytes - 1;
- // Pad
- data.clamp();
- data.words[lastBytePos >>> 2] |= nPaddingBytes << 24 - lastBytePos % 4 * 8;
- data.sigBytes += nPaddingBytes;
- },
- unpad: function unpad(data) {
- // Get number of padding bytes from last byte
- var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 0xff;
- // Remove padding
- data.sigBytes -= nPaddingBytes;
- } };
- return CryptoJS.pad.Ansix923;
- });
- /***/ }),
- /* 629 */
- /*!****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pad-iso10126.js ***!
- \****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * ISO 10126 padding strategy.
- */
- CryptoJS.pad.Iso10126 = {
- pad: function pad(data, blockSize) {
- // Shortcut
- var blockSizeBytes = blockSize * 4;
- // Count padding bytes
- var nPaddingBytes = blockSizeBytes - data.sigBytes % blockSizeBytes;
- // Pad
- data.concat(CryptoJS.lib.WordArray.random(nPaddingBytes - 1)).
- concat(CryptoJS.lib.WordArray.create([nPaddingBytes << 24], 1));
- },
- unpad: function unpad(data) {
- // Get number of padding bytes from last byte
- var nPaddingBytes = data.words[data.sigBytes - 1 >>> 2] & 0xff;
- // Remove padding
- data.sigBytes -= nPaddingBytes;
- } };
- return CryptoJS.pad.Iso10126;
- });
- /***/ }),
- /* 630 */
- /*!****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pad-iso97971.js ***!
- \****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * ISO/IEC 9797-1 Padding Method 2.
- */
- CryptoJS.pad.Iso97971 = {
- pad: function pad(data, blockSize) {
- // Add 0x80 byte
- data.concat(CryptoJS.lib.WordArray.create([0x80000000], 1));
- // Zero pad the rest
- CryptoJS.pad.ZeroPadding.pad(data, blockSize);
- },
- unpad: function unpad(data) {
- // Remove zero padding
- CryptoJS.pad.ZeroPadding.unpad(data);
- // Remove one more byte -- the 0x80 byte
- data.sigBytes--;
- } };
- return CryptoJS.pad.Iso97971;
- });
- /***/ }),
- /* 631 */
- /*!*******************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pad-zeropadding.js ***!
- \*******************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * Zero padding strategy.
- */
- CryptoJS.pad.ZeroPadding = {
- pad: function pad(data, blockSize) {
- // Shortcut
- var blockSizeBytes = blockSize * 4;
- // Pad
- data.clamp();
- data.sigBytes += blockSizeBytes - (data.sigBytes % blockSizeBytes || blockSizeBytes);
- },
- unpad: function unpad(data) {
- // Shortcut
- var dataWords = data.words;
- // Unpad
- var i = data.sigBytes - 1;
- for (var i = data.sigBytes - 1; i >= 0; i--) {
- if (dataWords[i >>> 2] >>> 24 - i % 4 * 8 & 0xff) {
- data.sigBytes = i + 1;
- break;
- }
- }
- } };
- return CryptoJS.pad.ZeroPadding;
- });
- /***/ }),
- /* 632 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/pad-nopadding.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- /**
- * A noop padding strategy.
- */
- CryptoJS.pad.NoPadding = {
- pad: function pad() {
- },
- unpad: function unpad() {
- } };
- return CryptoJS.pad.NoPadding;
- });
- /***/ }),
- /* 633 */
- /*!**************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/format-hex.js ***!
- \**************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function (undefined) {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var CipherParams = C_lib.CipherParams;
- var C_enc = C.enc;
- var Hex = C_enc.Hex;
- var C_format = C.format;
- var HexFormatter = C_format.Hex = {
- /**
- * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
- *
- * @param {CipherParams} cipherParams The cipher params object.
- *
- * @return {string} The hexadecimally encoded string.
- *
- * @static
- *
- * @example
- *
- * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
- */
- stringify: function stringify(cipherParams) {
- return cipherParams.ciphertext.toString(Hex);
- },
- /**
- * Converts a hexadecimally encoded ciphertext string to a cipher params object.
- *
- * @param {string} input The hexadecimally encoded string.
- *
- * @return {CipherParams} The cipher params object.
- *
- * @static
- *
- * @example
- *
- * var cipherParams = CryptoJS.format.Hex.parse(hexString);
- */
- parse: function parse(input) {
- var ciphertext = Hex.parse(input);
- return CipherParams.create({ ciphertext: ciphertext });
- } };
- })();
- return CryptoJS.format.Hex;
- });
- /***/ }),
- /* 634 */
- /*!*******************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/aes.js ***!
- \*******************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var BlockCipher = C_lib.BlockCipher;
- var C_algo = C.algo;
- // Lookup tables
- var SBOX = [];
- var INV_SBOX = [];
- var SUB_MIX_0 = [];
- var SUB_MIX_1 = [];
- var SUB_MIX_2 = [];
- var SUB_MIX_3 = [];
- var INV_SUB_MIX_0 = [];
- var INV_SUB_MIX_1 = [];
- var INV_SUB_MIX_2 = [];
- var INV_SUB_MIX_3 = [];
- // Compute lookup tables
- (function () {
- // Compute double table
- var d = [];
- for (var i = 0; i < 256; i++) {
- if (i < 128) {
- d[i] = i << 1;
- } else {
- d[i] = i << 1 ^ 0x11b;
- }
- }
- // Walk GF(2^8)
- var x = 0;
- var xi = 0;
- for (var i = 0; i < 256; i++) {
- // Compute sbox
- var sx = xi ^ xi << 1 ^ xi << 2 ^ xi << 3 ^ xi << 4;
- sx = sx >>> 8 ^ sx & 0xff ^ 0x63;
- SBOX[x] = sx;
- INV_SBOX[sx] = x;
- // Compute multiplication
- var x2 = d[x];
- var x4 = d[x2];
- var x8 = d[x4];
- // Compute sub bytes, mix columns tables
- var t = d[sx] * 0x101 ^ sx * 0x1010100;
- SUB_MIX_0[x] = t << 24 | t >>> 8;
- SUB_MIX_1[x] = t << 16 | t >>> 16;
- SUB_MIX_2[x] = t << 8 | t >>> 24;
- SUB_MIX_3[x] = t;
- // Compute inv sub bytes, inv mix columns tables
- var t = x8 * 0x1010101 ^ x4 * 0x10001 ^ x2 * 0x101 ^ x * 0x1010100;
- INV_SUB_MIX_0[sx] = t << 24 | t >>> 8;
- INV_SUB_MIX_1[sx] = t << 16 | t >>> 16;
- INV_SUB_MIX_2[sx] = t << 8 | t >>> 24;
- INV_SUB_MIX_3[sx] = t;
- // Compute next counter
- if (!x) {
- x = xi = 1;
- } else {
- x = x2 ^ d[d[d[x8 ^ x2]]];
- xi ^= d[d[xi]];
- }
- }
- })();
- // Precomputed Rcon lookup
- var RCON = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];
- /**
- * AES block cipher algorithm.
- */
- var AES = C_algo.AES = BlockCipher.extend({
- _doReset: function _doReset() {
- var t;
- // Skip reset of nRounds has been set before and key did not change
- if (this._nRounds && this._keyPriorReset === this._key) {
- return;
- }
- // Shortcuts
- var key = this._keyPriorReset = this._key;
- var keyWords = key.words;
- var keySize = key.sigBytes / 4;
- // Compute number of rounds
- var nRounds = this._nRounds = keySize + 6;
- // Compute number of key schedule rows
- var ksRows = (nRounds + 1) * 4;
- // Compute key schedule
- var keySchedule = this._keySchedule = [];
- for (var ksRow = 0; ksRow < ksRows; ksRow++) {
- if (ksRow < keySize) {
- keySchedule[ksRow] = keyWords[ksRow];
- } else {
- t = keySchedule[ksRow - 1];
- if (!(ksRow % keySize)) {
- // Rot word
- t = t << 8 | t >>> 24;
- // Sub word
- t = SBOX[t >>> 24] << 24 | SBOX[t >>> 16 & 0xff] << 16 | SBOX[t >>> 8 & 0xff] << 8 | SBOX[t & 0xff];
- // Mix Rcon
- t ^= RCON[ksRow / keySize | 0] << 24;
- } else if (keySize > 6 && ksRow % keySize == 4) {
- // Sub word
- t = SBOX[t >>> 24] << 24 | SBOX[t >>> 16 & 0xff] << 16 | SBOX[t >>> 8 & 0xff] << 8 | SBOX[t & 0xff];
- }
- keySchedule[ksRow] = keySchedule[ksRow - keySize] ^ t;
- }
- }
- // Compute inv key schedule
- var invKeySchedule = this._invKeySchedule = [];
- for (var invKsRow = 0; invKsRow < ksRows; invKsRow++) {
- var ksRow = ksRows - invKsRow;
- if (invKsRow % 4) {
- var t = keySchedule[ksRow];
- } else {
- var t = keySchedule[ksRow - 4];
- }
- if (invKsRow < 4 || ksRow <= 4) {
- invKeySchedule[invKsRow] = t;
- } else {
- invKeySchedule[invKsRow] = INV_SUB_MIX_0[SBOX[t >>> 24]] ^ INV_SUB_MIX_1[SBOX[t >>> 16 & 0xff]] ^
- INV_SUB_MIX_2[SBOX[t >>> 8 & 0xff]] ^ INV_SUB_MIX_3[SBOX[t & 0xff]];
- }
- }
- },
- encryptBlock: function encryptBlock(M, offset) {
- this._doCryptBlock(M, offset, this._keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX);
- },
- decryptBlock: function decryptBlock(M, offset) {
- // Swap 2nd and 4th rows
- var t = M[offset + 1];
- M[offset + 1] = M[offset + 3];
- M[offset + 3] = t;
- this._doCryptBlock(M, offset, this._invKeySchedule, INV_SUB_MIX_0, INV_SUB_MIX_1, INV_SUB_MIX_2, INV_SUB_MIX_3, INV_SBOX);
- // Inv swap 2nd and 4th rows
- var t = M[offset + 1];
- M[offset + 1] = M[offset + 3];
- M[offset + 3] = t;
- },
- _doCryptBlock: function _doCryptBlock(M, offset, keySchedule, SUB_MIX_0, SUB_MIX_1, SUB_MIX_2, SUB_MIX_3, SBOX) {
- // Shortcut
- var nRounds = this._nRounds;
- // Get input, add round key
- var s0 = M[offset] ^ keySchedule[0];
- var s1 = M[offset + 1] ^ keySchedule[1];
- var s2 = M[offset + 2] ^ keySchedule[2];
- var s3 = M[offset + 3] ^ keySchedule[3];
- // Key schedule row counter
- var ksRow = 4;
- // Rounds
- for (var round = 1; round < nRounds; round++) {
- // Shift rows, sub bytes, mix columns, add round key
- var t0 = SUB_MIX_0[s0 >>> 24] ^ SUB_MIX_1[s1 >>> 16 & 0xff] ^ SUB_MIX_2[s2 >>> 8 & 0xff] ^ SUB_MIX_3[s3 & 0xff] ^ keySchedule[ksRow++];
- var t1 = SUB_MIX_0[s1 >>> 24] ^ SUB_MIX_1[s2 >>> 16 & 0xff] ^ SUB_MIX_2[s3 >>> 8 & 0xff] ^ SUB_MIX_3[s0 & 0xff] ^ keySchedule[ksRow++];
- var t2 = SUB_MIX_0[s2 >>> 24] ^ SUB_MIX_1[s3 >>> 16 & 0xff] ^ SUB_MIX_2[s0 >>> 8 & 0xff] ^ SUB_MIX_3[s1 & 0xff] ^ keySchedule[ksRow++];
- var t3 = SUB_MIX_0[s3 >>> 24] ^ SUB_MIX_1[s0 >>> 16 & 0xff] ^ SUB_MIX_2[s1 >>> 8 & 0xff] ^ SUB_MIX_3[s2 & 0xff] ^ keySchedule[ksRow++];
- // Update state
- s0 = t0;
- s1 = t1;
- s2 = t2;
- s3 = t3;
- }
- // Shift rows, sub bytes, add round key
- var t0 = (SBOX[s0 >>> 24] << 24 | SBOX[s1 >>> 16 & 0xff] << 16 | SBOX[s2 >>> 8 & 0xff] << 8 | SBOX[s3 & 0xff]) ^ keySchedule[ksRow++];
- var t1 = (SBOX[s1 >>> 24] << 24 | SBOX[s2 >>> 16 & 0xff] << 16 | SBOX[s3 >>> 8 & 0xff] << 8 | SBOX[s0 & 0xff]) ^ keySchedule[ksRow++];
- var t2 = (SBOX[s2 >>> 24] << 24 | SBOX[s3 >>> 16 & 0xff] << 16 | SBOX[s0 >>> 8 & 0xff] << 8 | SBOX[s1 & 0xff]) ^ keySchedule[ksRow++];
- var t3 = (SBOX[s3 >>> 24] << 24 | SBOX[s0 >>> 16 & 0xff] << 16 | SBOX[s1 >>> 8 & 0xff] << 8 | SBOX[s2 & 0xff]) ^ keySchedule[ksRow++];
- // Set output
- M[offset] = t0;
- M[offset + 1] = t1;
- M[offset + 2] = t2;
- M[offset + 3] = t3;
- },
- keySize: 256 / 32 });
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.AES.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.AES.decrypt(ciphertext, key, cfg);
- */
- C.AES = BlockCipher._createHelper(AES);
- })();
- return CryptoJS.AES;
- });
- /***/ }),
- /* 635 */
- /*!*************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/tripledes.js ***!
- \*************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var WordArray = C_lib.WordArray;
- var BlockCipher = C_lib.BlockCipher;
- var C_algo = C.algo;
- // Permuted Choice 1 constants
- var PC1 = [
- 57, 49, 41, 33, 25, 17, 9, 1,
- 58, 50, 42, 34, 26, 18, 10, 2,
- 59, 51, 43, 35, 27, 19, 11, 3,
- 60, 52, 44, 36, 63, 55, 47, 39,
- 31, 23, 15, 7, 62, 54, 46, 38,
- 30, 22, 14, 6, 61, 53, 45, 37,
- 29, 21, 13, 5, 28, 20, 12, 4];
- // Permuted Choice 2 constants
- var PC2 = [
- 14, 17, 11, 24, 1, 5,
- 3, 28, 15, 6, 21, 10,
- 23, 19, 12, 4, 26, 8,
- 16, 7, 27, 20, 13, 2,
- 41, 52, 31, 37, 47, 55,
- 30, 40, 51, 45, 33, 48,
- 44, 49, 39, 56, 34, 53,
- 46, 42, 50, 36, 29, 32];
- // Cumulative bit shift constants
- var BIT_SHIFTS = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28];
- // SBOXes and round permutation constants
- var SBOX_P = [
- {
- 0x0: 0x808200,
- 0x10000000: 0x8000,
- 0x20000000: 0x808002,
- 0x30000000: 0x2,
- 0x40000000: 0x200,
- 0x50000000: 0x808202,
- 0x60000000: 0x800202,
- 0x70000000: 0x800000,
- 0x80000000: 0x202,
- 0x90000000: 0x800200,
- 0xa0000000: 0x8200,
- 0xb0000000: 0x808000,
- 0xc0000000: 0x8002,
- 0xd0000000: 0x800002,
- 0xe0000000: 0x0,
- 0xf0000000: 0x8202,
- 0x8000000: 0x0,
- 0x18000000: 0x808202,
- 0x28000000: 0x8202,
- 0x38000000: 0x8000,
- 0x48000000: 0x808200,
- 0x58000000: 0x200,
- 0x68000000: 0x808002,
- 0x78000000: 0x2,
- 0x88000000: 0x800200,
- 0x98000000: 0x8200,
- 0xa8000000: 0x808000,
- 0xb8000000: 0x800202,
- 0xc8000000: 0x800002,
- 0xd8000000: 0x8002,
- 0xe8000000: 0x202,
- 0xf8000000: 0x800000,
- 0x1: 0x8000,
- 0x10000001: 0x2,
- 0x20000001: 0x808200,
- 0x30000001: 0x800000,
- 0x40000001: 0x808002,
- 0x50000001: 0x8200,
- 0x60000001: 0x200,
- 0x70000001: 0x800202,
- 0x80000001: 0x808202,
- 0x90000001: 0x808000,
- 0xa0000001: 0x800002,
- 0xb0000001: 0x8202,
- 0xc0000001: 0x202,
- 0xd0000001: 0x800200,
- 0xe0000001: 0x8002,
- 0xf0000001: 0x0,
- 0x8000001: 0x808202,
- 0x18000001: 0x808000,
- 0x28000001: 0x800000,
- 0x38000001: 0x200,
- 0x48000001: 0x8000,
- 0x58000001: 0x800002,
- 0x68000001: 0x2,
- 0x78000001: 0x8202,
- 0x88000001: 0x8002,
- 0x98000001: 0x800202,
- 0xa8000001: 0x202,
- 0xb8000001: 0x808200,
- 0xc8000001: 0x800200,
- 0xd8000001: 0x0,
- 0xe8000001: 0x8200,
- 0xf8000001: 0x808002 },
- {
- 0x0: 0x40084010,
- 0x1000000: 0x4000,
- 0x2000000: 0x80000,
- 0x3000000: 0x40080010,
- 0x4000000: 0x40000010,
- 0x5000000: 0x40084000,
- 0x6000000: 0x40004000,
- 0x7000000: 0x10,
- 0x8000000: 0x84000,
- 0x9000000: 0x40004010,
- 0xa000000: 0x40000000,
- 0xb000000: 0x84010,
- 0xc000000: 0x80010,
- 0xd000000: 0x0,
- 0xe000000: 0x4010,
- 0xf000000: 0x40080000,
- 0x800000: 0x40004000,
- 0x1800000: 0x84010,
- 0x2800000: 0x10,
- 0x3800000: 0x40004010,
- 0x4800000: 0x40084010,
- 0x5800000: 0x40000000,
- 0x6800000: 0x80000,
- 0x7800000: 0x40080010,
- 0x8800000: 0x80010,
- 0x9800000: 0x0,
- 0xa800000: 0x4000,
- 0xb800000: 0x40080000,
- 0xc800000: 0x40000010,
- 0xd800000: 0x84000,
- 0xe800000: 0x40084000,
- 0xf800000: 0x4010,
- 0x10000000: 0x0,
- 0x11000000: 0x40080010,
- 0x12000000: 0x40004010,
- 0x13000000: 0x40084000,
- 0x14000000: 0x40080000,
- 0x15000000: 0x10,
- 0x16000000: 0x84010,
- 0x17000000: 0x4000,
- 0x18000000: 0x4010,
- 0x19000000: 0x80000,
- 0x1a000000: 0x80010,
- 0x1b000000: 0x40000010,
- 0x1c000000: 0x84000,
- 0x1d000000: 0x40004000,
- 0x1e000000: 0x40000000,
- 0x1f000000: 0x40084010,
- 0x10800000: 0x84010,
- 0x11800000: 0x80000,
- 0x12800000: 0x40080000,
- 0x13800000: 0x4000,
- 0x14800000: 0x40004000,
- 0x15800000: 0x40084010,
- 0x16800000: 0x10,
- 0x17800000: 0x40000000,
- 0x18800000: 0x40084000,
- 0x19800000: 0x40000010,
- 0x1a800000: 0x40004010,
- 0x1b800000: 0x80010,
- 0x1c800000: 0x0,
- 0x1d800000: 0x4010,
- 0x1e800000: 0x40080010,
- 0x1f800000: 0x84000 },
- {
- 0x0: 0x104,
- 0x100000: 0x0,
- 0x200000: 0x4000100,
- 0x300000: 0x10104,
- 0x400000: 0x10004,
- 0x500000: 0x4000004,
- 0x600000: 0x4010104,
- 0x700000: 0x4010000,
- 0x800000: 0x4000000,
- 0x900000: 0x4010100,
- 0xa00000: 0x10100,
- 0xb00000: 0x4010004,
- 0xc00000: 0x4000104,
- 0xd00000: 0x10000,
- 0xe00000: 0x4,
- 0xf00000: 0x100,
- 0x80000: 0x4010100,
- 0x180000: 0x4010004,
- 0x280000: 0x0,
- 0x380000: 0x4000100,
- 0x480000: 0x4000004,
- 0x580000: 0x10000,
- 0x680000: 0x10004,
- 0x780000: 0x104,
- 0x880000: 0x4,
- 0x980000: 0x100,
- 0xa80000: 0x4010000,
- 0xb80000: 0x10104,
- 0xc80000: 0x10100,
- 0xd80000: 0x4000104,
- 0xe80000: 0x4010104,
- 0xf80000: 0x4000000,
- 0x1000000: 0x4010100,
- 0x1100000: 0x10004,
- 0x1200000: 0x10000,
- 0x1300000: 0x4000100,
- 0x1400000: 0x100,
- 0x1500000: 0x4010104,
- 0x1600000: 0x4000004,
- 0x1700000: 0x0,
- 0x1800000: 0x4000104,
- 0x1900000: 0x4000000,
- 0x1a00000: 0x4,
- 0x1b00000: 0x10100,
- 0x1c00000: 0x4010000,
- 0x1d00000: 0x104,
- 0x1e00000: 0x10104,
- 0x1f00000: 0x4010004,
- 0x1080000: 0x4000000,
- 0x1180000: 0x104,
- 0x1280000: 0x4010100,
- 0x1380000: 0x0,
- 0x1480000: 0x10004,
- 0x1580000: 0x4000100,
- 0x1680000: 0x100,
- 0x1780000: 0x4010004,
- 0x1880000: 0x10000,
- 0x1980000: 0x4010104,
- 0x1a80000: 0x10104,
- 0x1b80000: 0x4000004,
- 0x1c80000: 0x4000104,
- 0x1d80000: 0x4010000,
- 0x1e80000: 0x4,
- 0x1f80000: 0x10100 },
- {
- 0x0: 0x80401000,
- 0x10000: 0x80001040,
- 0x20000: 0x401040,
- 0x30000: 0x80400000,
- 0x40000: 0x0,
- 0x50000: 0x401000,
- 0x60000: 0x80000040,
- 0x70000: 0x400040,
- 0x80000: 0x80000000,
- 0x90000: 0x400000,
- 0xa0000: 0x40,
- 0xb0000: 0x80001000,
- 0xc0000: 0x80400040,
- 0xd0000: 0x1040,
- 0xe0000: 0x1000,
- 0xf0000: 0x80401040,
- 0x8000: 0x80001040,
- 0x18000: 0x40,
- 0x28000: 0x80400040,
- 0x38000: 0x80001000,
- 0x48000: 0x401000,
- 0x58000: 0x80401040,
- 0x68000: 0x0,
- 0x78000: 0x80400000,
- 0x88000: 0x1000,
- 0x98000: 0x80401000,
- 0xa8000: 0x400000,
- 0xb8000: 0x1040,
- 0xc8000: 0x80000000,
- 0xd8000: 0x400040,
- 0xe8000: 0x401040,
- 0xf8000: 0x80000040,
- 0x100000: 0x400040,
- 0x110000: 0x401000,
- 0x120000: 0x80000040,
- 0x130000: 0x0,
- 0x140000: 0x1040,
- 0x150000: 0x80400040,
- 0x160000: 0x80401000,
- 0x170000: 0x80001040,
- 0x180000: 0x80401040,
- 0x190000: 0x80000000,
- 0x1a0000: 0x80400000,
- 0x1b0000: 0x401040,
- 0x1c0000: 0x80001000,
- 0x1d0000: 0x400000,
- 0x1e0000: 0x40,
- 0x1f0000: 0x1000,
- 0x108000: 0x80400000,
- 0x118000: 0x80401040,
- 0x128000: 0x0,
- 0x138000: 0x401000,
- 0x148000: 0x400040,
- 0x158000: 0x80000000,
- 0x168000: 0x80001040,
- 0x178000: 0x40,
- 0x188000: 0x80000040,
- 0x198000: 0x1000,
- 0x1a8000: 0x80001000,
- 0x1b8000: 0x80400040,
- 0x1c8000: 0x1040,
- 0x1d8000: 0x80401000,
- 0x1e8000: 0x400000,
- 0x1f8000: 0x401040 },
- {
- 0x0: 0x80,
- 0x1000: 0x1040000,
- 0x2000: 0x40000,
- 0x3000: 0x20000000,
- 0x4000: 0x20040080,
- 0x5000: 0x1000080,
- 0x6000: 0x21000080,
- 0x7000: 0x40080,
- 0x8000: 0x1000000,
- 0x9000: 0x20040000,
- 0xa000: 0x20000080,
- 0xb000: 0x21040080,
- 0xc000: 0x21040000,
- 0xd000: 0x0,
- 0xe000: 0x1040080,
- 0xf000: 0x21000000,
- 0x800: 0x1040080,
- 0x1800: 0x21000080,
- 0x2800: 0x80,
- 0x3800: 0x1040000,
- 0x4800: 0x40000,
- 0x5800: 0x20040080,
- 0x6800: 0x21040000,
- 0x7800: 0x20000000,
- 0x8800: 0x20040000,
- 0x9800: 0x0,
- 0xa800: 0x21040080,
- 0xb800: 0x1000080,
- 0xc800: 0x20000080,
- 0xd800: 0x21000000,
- 0xe800: 0x1000000,
- 0xf800: 0x40080,
- 0x10000: 0x40000,
- 0x11000: 0x80,
- 0x12000: 0x20000000,
- 0x13000: 0x21000080,
- 0x14000: 0x1000080,
- 0x15000: 0x21040000,
- 0x16000: 0x20040080,
- 0x17000: 0x1000000,
- 0x18000: 0x21040080,
- 0x19000: 0x21000000,
- 0x1a000: 0x1040000,
- 0x1b000: 0x20040000,
- 0x1c000: 0x40080,
- 0x1d000: 0x20000080,
- 0x1e000: 0x0,
- 0x1f000: 0x1040080,
- 0x10800: 0x21000080,
- 0x11800: 0x1000000,
- 0x12800: 0x1040000,
- 0x13800: 0x20040080,
- 0x14800: 0x20000000,
- 0x15800: 0x1040080,
- 0x16800: 0x80,
- 0x17800: 0x21040000,
- 0x18800: 0x40080,
- 0x19800: 0x21040080,
- 0x1a800: 0x0,
- 0x1b800: 0x21000000,
- 0x1c800: 0x1000080,
- 0x1d800: 0x40000,
- 0x1e800: 0x20040000,
- 0x1f800: 0x20000080 },
- {
- 0x0: 0x10000008,
- 0x100: 0x2000,
- 0x200: 0x10200000,
- 0x300: 0x10202008,
- 0x400: 0x10002000,
- 0x500: 0x200000,
- 0x600: 0x200008,
- 0x700: 0x10000000,
- 0x800: 0x0,
- 0x900: 0x10002008,
- 0xa00: 0x202000,
- 0xb00: 0x8,
- 0xc00: 0x10200008,
- 0xd00: 0x202008,
- 0xe00: 0x2008,
- 0xf00: 0x10202000,
- 0x80: 0x10200000,
- 0x180: 0x10202008,
- 0x280: 0x8,
- 0x380: 0x200000,
- 0x480: 0x202008,
- 0x580: 0x10000008,
- 0x680: 0x10002000,
- 0x780: 0x2008,
- 0x880: 0x200008,
- 0x980: 0x2000,
- 0xa80: 0x10002008,
- 0xb80: 0x10200008,
- 0xc80: 0x0,
- 0xd80: 0x10202000,
- 0xe80: 0x202000,
- 0xf80: 0x10000000,
- 0x1000: 0x10002000,
- 0x1100: 0x10200008,
- 0x1200: 0x10202008,
- 0x1300: 0x2008,
- 0x1400: 0x200000,
- 0x1500: 0x10000000,
- 0x1600: 0x10000008,
- 0x1700: 0x202000,
- 0x1800: 0x202008,
- 0x1900: 0x0,
- 0x1a00: 0x8,
- 0x1b00: 0x10200000,
- 0x1c00: 0x2000,
- 0x1d00: 0x10002008,
- 0x1e00: 0x10202000,
- 0x1f00: 0x200008,
- 0x1080: 0x8,
- 0x1180: 0x202000,
- 0x1280: 0x200000,
- 0x1380: 0x10000008,
- 0x1480: 0x10002000,
- 0x1580: 0x2008,
- 0x1680: 0x10202008,
- 0x1780: 0x10200000,
- 0x1880: 0x10202000,
- 0x1980: 0x10200008,
- 0x1a80: 0x2000,
- 0x1b80: 0x202008,
- 0x1c80: 0x200008,
- 0x1d80: 0x0,
- 0x1e80: 0x10000000,
- 0x1f80: 0x10002008 },
- {
- 0x0: 0x100000,
- 0x10: 0x2000401,
- 0x20: 0x400,
- 0x30: 0x100401,
- 0x40: 0x2100401,
- 0x50: 0x0,
- 0x60: 0x1,
- 0x70: 0x2100001,
- 0x80: 0x2000400,
- 0x90: 0x100001,
- 0xa0: 0x2000001,
- 0xb0: 0x2100400,
- 0xc0: 0x2100000,
- 0xd0: 0x401,
- 0xe0: 0x100400,
- 0xf0: 0x2000000,
- 0x8: 0x2100001,
- 0x18: 0x0,
- 0x28: 0x2000401,
- 0x38: 0x2100400,
- 0x48: 0x100000,
- 0x58: 0x2000001,
- 0x68: 0x2000000,
- 0x78: 0x401,
- 0x88: 0x100401,
- 0x98: 0x2000400,
- 0xa8: 0x2100000,
- 0xb8: 0x100001,
- 0xc8: 0x400,
- 0xd8: 0x2100401,
- 0xe8: 0x1,
- 0xf8: 0x100400,
- 0x100: 0x2000000,
- 0x110: 0x100000,
- 0x120: 0x2000401,
- 0x130: 0x2100001,
- 0x140: 0x100001,
- 0x150: 0x2000400,
- 0x160: 0x2100400,
- 0x170: 0x100401,
- 0x180: 0x401,
- 0x190: 0x2100401,
- 0x1a0: 0x100400,
- 0x1b0: 0x1,
- 0x1c0: 0x0,
- 0x1d0: 0x2100000,
- 0x1e0: 0x2000001,
- 0x1f0: 0x400,
- 0x108: 0x100400,
- 0x118: 0x2000401,
- 0x128: 0x2100001,
- 0x138: 0x1,
- 0x148: 0x2000000,
- 0x158: 0x100000,
- 0x168: 0x401,
- 0x178: 0x2100400,
- 0x188: 0x2000001,
- 0x198: 0x2100000,
- 0x1a8: 0x0,
- 0x1b8: 0x2100401,
- 0x1c8: 0x100401,
- 0x1d8: 0x400,
- 0x1e8: 0x2000400,
- 0x1f8: 0x100001 },
- {
- 0x0: 0x8000820,
- 0x1: 0x20000,
- 0x2: 0x8000000,
- 0x3: 0x20,
- 0x4: 0x20020,
- 0x5: 0x8020820,
- 0x6: 0x8020800,
- 0x7: 0x800,
- 0x8: 0x8020000,
- 0x9: 0x8000800,
- 0xa: 0x20800,
- 0xb: 0x8020020,
- 0xc: 0x820,
- 0xd: 0x0,
- 0xe: 0x8000020,
- 0xf: 0x20820,
- 0x80000000: 0x800,
- 0x80000001: 0x8020820,
- 0x80000002: 0x8000820,
- 0x80000003: 0x8000000,
- 0x80000004: 0x8020000,
- 0x80000005: 0x20800,
- 0x80000006: 0x20820,
- 0x80000007: 0x20,
- 0x80000008: 0x8000020,
- 0x80000009: 0x820,
- 0x8000000a: 0x20020,
- 0x8000000b: 0x8020800,
- 0x8000000c: 0x0,
- 0x8000000d: 0x8020020,
- 0x8000000e: 0x8000800,
- 0x8000000f: 0x20000,
- 0x10: 0x20820,
- 0x11: 0x8020800,
- 0x12: 0x20,
- 0x13: 0x800,
- 0x14: 0x8000800,
- 0x15: 0x8000020,
- 0x16: 0x8020020,
- 0x17: 0x20000,
- 0x18: 0x0,
- 0x19: 0x20020,
- 0x1a: 0x8020000,
- 0x1b: 0x8000820,
- 0x1c: 0x8020820,
- 0x1d: 0x20800,
- 0x1e: 0x820,
- 0x1f: 0x8000000,
- 0x80000010: 0x20000,
- 0x80000011: 0x800,
- 0x80000012: 0x8020020,
- 0x80000013: 0x20820,
- 0x80000014: 0x20,
- 0x80000015: 0x8020000,
- 0x80000016: 0x8000000,
- 0x80000017: 0x8000820,
- 0x80000018: 0x8020820,
- 0x80000019: 0x8000020,
- 0x8000001a: 0x8000800,
- 0x8000001b: 0x0,
- 0x8000001c: 0x20800,
- 0x8000001d: 0x820,
- 0x8000001e: 0x20020,
- 0x8000001f: 0x8020800 }];
- // Masks that select the SBOX input
- var SBOX_MASK = [
- 0xf8000001, 0x1f800000, 0x01f80000, 0x001f8000,
- 0x0001f800, 0x00001f80, 0x000001f8, 0x8000001f];
- /**
- * DES block cipher algorithm.
- */
- var DES = C_algo.DES = BlockCipher.extend({
- _doReset: function _doReset() {
- // Shortcuts
- var key = this._key;
- var keyWords = key.words;
- // Select 56 bits according to PC1
- var keyBits = [];
- for (var i = 0; i < 56; i++) {
- var keyBitPos = PC1[i] - 1;
- keyBits[i] = keyWords[keyBitPos >>> 5] >>> 31 - keyBitPos % 32 & 1;
- }
- // Assemble 16 subkeys
- var subKeys = this._subKeys = [];
- for (var nSubKey = 0; nSubKey < 16; nSubKey++) {
- // Create subkey
- var subKey = subKeys[nSubKey] = [];
- // Shortcut
- var bitShift = BIT_SHIFTS[nSubKey];
- // Select 48 bits according to PC2
- for (var i = 0; i < 24; i++) {
- // Select from the left 28 key bits
- subKey[i / 6 | 0] |= keyBits[(PC2[i] - 1 + bitShift) % 28] << 31 - i % 6;
- // Select from the right 28 key bits
- subKey[4 + (i / 6 | 0)] |= keyBits[28 + (PC2[i + 24] - 1 + bitShift) % 28] << 31 - i % 6;
- }
- // Since each subkey is applied to an expanded 32-bit input,
- // the subkey can be broken into 8 values scaled to 32-bits,
- // which allows the key to be used without expansion
- subKey[0] = subKey[0] << 1 | subKey[0] >>> 31;
- for (var i = 1; i < 7; i++) {
- subKey[i] = subKey[i] >>> (i - 1) * 4 + 3;
- }
- subKey[7] = subKey[7] << 5 | subKey[7] >>> 27;
- }
- // Compute inverse subkeys
- var invSubKeys = this._invSubKeys = [];
- for (var i = 0; i < 16; i++) {
- invSubKeys[i] = subKeys[15 - i];
- }
- },
- encryptBlock: function encryptBlock(M, offset) {
- this._doCryptBlock(M, offset, this._subKeys);
- },
- decryptBlock: function decryptBlock(M, offset) {
- this._doCryptBlock(M, offset, this._invSubKeys);
- },
- _doCryptBlock: function _doCryptBlock(M, offset, subKeys) {
- // Get input
- this._lBlock = M[offset];
- this._rBlock = M[offset + 1];
- // Initial permutation
- exchangeLR.call(this, 4, 0x0f0f0f0f);
- exchangeLR.call(this, 16, 0x0000ffff);
- exchangeRL.call(this, 2, 0x33333333);
- exchangeRL.call(this, 8, 0x00ff00ff);
- exchangeLR.call(this, 1, 0x55555555);
- // Rounds
- for (var round = 0; round < 16; round++) {
- // Shortcuts
- var subKey = subKeys[round];
- var lBlock = this._lBlock;
- var rBlock = this._rBlock;
- // Feistel function
- var f = 0;
- for (var i = 0; i < 8; i++) {
- f |= SBOX_P[i][((rBlock ^ subKey[i]) & SBOX_MASK[i]) >>> 0];
- }
- this._lBlock = rBlock;
- this._rBlock = lBlock ^ f;
- }
- // Undo swap from last round
- var t = this._lBlock;
- this._lBlock = this._rBlock;
- this._rBlock = t;
- // Final permutation
- exchangeLR.call(this, 1, 0x55555555);
- exchangeRL.call(this, 8, 0x00ff00ff);
- exchangeRL.call(this, 2, 0x33333333);
- exchangeLR.call(this, 16, 0x0000ffff);
- exchangeLR.call(this, 4, 0x0f0f0f0f);
- // Set output
- M[offset] = this._lBlock;
- M[offset + 1] = this._rBlock;
- },
- keySize: 64 / 32,
- ivSize: 64 / 32,
- blockSize: 64 / 32 });
- // Swap bits across the left and right words
- function exchangeLR(offset, mask) {
- var t = (this._lBlock >>> offset ^ this._rBlock) & mask;
- this._rBlock ^= t;
- this._lBlock ^= t << offset;
- }
- function exchangeRL(offset, mask) {
- var t = (this._rBlock >>> offset ^ this._lBlock) & mask;
- this._lBlock ^= t;
- this._rBlock ^= t << offset;
- }
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.DES.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.DES.decrypt(ciphertext, key, cfg);
- */
- C.DES = BlockCipher._createHelper(DES);
- /**
- * Triple-DES block cipher algorithm.
- */
- var TripleDES = C_algo.TripleDES = BlockCipher.extend({
- _doReset: function _doReset() {
- // Shortcuts
- var key = this._key;
- var keyWords = key.words;
- // Make sure the key length is valid (64, 128 or >= 192 bit)
- if (keyWords.length !== 2 && keyWords.length !== 4 && keyWords.length < 6) {
- throw new Error('Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.');
- }
- // Extend the key according to the keying options defined in 3DES standard
- var key1 = keyWords.slice(0, 2);
- var key2 = keyWords.length < 4 ? keyWords.slice(0, 2) : keyWords.slice(2, 4);
- var key3 = keyWords.length < 6 ? keyWords.slice(0, 2) : keyWords.slice(4, 6);
- // Create DES instances
- this._des1 = DES.createEncryptor(WordArray.create(key1));
- this._des2 = DES.createEncryptor(WordArray.create(key2));
- this._des3 = DES.createEncryptor(WordArray.create(key3));
- },
- encryptBlock: function encryptBlock(M, offset) {
- this._des1.encryptBlock(M, offset);
- this._des2.decryptBlock(M, offset);
- this._des3.encryptBlock(M, offset);
- },
- decryptBlock: function decryptBlock(M, offset) {
- this._des3.decryptBlock(M, offset);
- this._des2.encryptBlock(M, offset);
- this._des1.decryptBlock(M, offset);
- },
- keySize: 192 / 32,
- ivSize: 64 / 32,
- blockSize: 64 / 32 });
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.TripleDES.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.TripleDES.decrypt(ciphertext, key, cfg);
- */
- C.TripleDES = BlockCipher._createHelper(TripleDES);
- })();
- return CryptoJS.TripleDES;
- });
- /***/ }),
- /* 636 */
- /*!*******************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/rc4.js ***!
- \*******************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var StreamCipher = C_lib.StreamCipher;
- var C_algo = C.algo;
- /**
- * RC4 stream cipher algorithm.
- */
- var RC4 = C_algo.RC4 = StreamCipher.extend({
- _doReset: function _doReset() {
- // Shortcuts
- var key = this._key;
- var keyWords = key.words;
- var keySigBytes = key.sigBytes;
- // Init sbox
- var S = this._S = [];
- for (var i = 0; i < 256; i++) {
- S[i] = i;
- }
- // Key setup
- for (var i = 0, j = 0; i < 256; i++) {
- var keyByteIndex = i % keySigBytes;
- var keyByte = keyWords[keyByteIndex >>> 2] >>> 24 - keyByteIndex % 4 * 8 & 0xff;
- j = (j + S[i] + keyByte) % 256;
- // Swap
- var t = S[i];
- S[i] = S[j];
- S[j] = t;
- }
- // Counters
- this._i = this._j = 0;
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- M[offset] ^= generateKeystreamWord.call(this);
- },
- keySize: 256 / 32,
- ivSize: 0 });
- function generateKeystreamWord() {
- // Shortcuts
- var S = this._S;
- var i = this._i;
- var j = this._j;
- // Generate keystream word
- var keystreamWord = 0;
- for (var n = 0; n < 4; n++) {
- i = (i + 1) % 256;
- j = (j + S[i]) % 256;
- // Swap
- var t = S[i];
- S[i] = S[j];
- S[j] = t;
- keystreamWord |= S[(S[i] + S[j]) % 256] << 24 - n * 8;
- }
- // Update counters
- this._i = i;
- this._j = j;
- return keystreamWord;
- }
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.RC4.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.RC4.decrypt(ciphertext, key, cfg);
- */
- C.RC4 = StreamCipher._createHelper(RC4);
- /**
- * Modified RC4 stream cipher algorithm.
- */
- var RC4Drop = C_algo.RC4Drop = RC4.extend({
- /**
- * Configuration options.
- *
- * @property {number} drop The number of keystream words to drop. Default 192
- */
- cfg: RC4.cfg.extend({
- drop: 192 }),
- _doReset: function _doReset() {
- RC4._doReset.call(this);
- // Drop
- for (var i = this.cfg.drop; i > 0; i--) {
- generateKeystreamWord.call(this);
- }
- } });
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.RC4Drop.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.RC4Drop.decrypt(ciphertext, key, cfg);
- */
- C.RC4Drop = StreamCipher._createHelper(RC4Drop);
- })();
- return CryptoJS.RC4;
- });
- /***/ }),
- /* 637 */
- /*!**********************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/rabbit.js ***!
- \**********************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var StreamCipher = C_lib.StreamCipher;
- var C_algo = C.algo;
- // Reusable objects
- var S = [];
- var C_ = [];
- var G = [];
- /**
- * Rabbit stream cipher algorithm
- */
- var Rabbit = C_algo.Rabbit = StreamCipher.extend({
- _doReset: function _doReset() {
- // Shortcuts
- var K = this._key.words;
- var iv = this.cfg.iv;
- // Swap endian
- for (var i = 0; i < 4; i++) {
- K[i] = (K[i] << 8 | K[i] >>> 24) & 0x00ff00ff |
- (K[i] << 24 | K[i] >>> 8) & 0xff00ff00;
- }
- // Generate initial state values
- var X = this._X = [
- K[0], K[3] << 16 | K[2] >>> 16,
- K[1], K[0] << 16 | K[3] >>> 16,
- K[2], K[1] << 16 | K[0] >>> 16,
- K[3], K[2] << 16 | K[1] >>> 16];
- // Generate initial counter values
- var C = this._C = [
- K[2] << 16 | K[2] >>> 16, K[0] & 0xffff0000 | K[1] & 0x0000ffff,
- K[3] << 16 | K[3] >>> 16, K[1] & 0xffff0000 | K[2] & 0x0000ffff,
- K[0] << 16 | K[0] >>> 16, K[2] & 0xffff0000 | K[3] & 0x0000ffff,
- K[1] << 16 | K[1] >>> 16, K[3] & 0xffff0000 | K[0] & 0x0000ffff];
- // Carry bit
- this._b = 0;
- // Iterate the system four times
- for (var i = 0; i < 4; i++) {
- nextState.call(this);
- }
- // Modify the counters
- for (var i = 0; i < 8; i++) {
- C[i] ^= X[i + 4 & 7];
- }
- // IV setup
- if (iv) {
- // Shortcuts
- var IV = iv.words;
- var IV_0 = IV[0];
- var IV_1 = IV[1];
- // Generate four subvectors
- var i0 = (IV_0 << 8 | IV_0 >>> 24) & 0x00ff00ff | (IV_0 << 24 | IV_0 >>> 8) & 0xff00ff00;
- var i2 = (IV_1 << 8 | IV_1 >>> 24) & 0x00ff00ff | (IV_1 << 24 | IV_1 >>> 8) & 0xff00ff00;
- var i1 = i0 >>> 16 | i2 & 0xffff0000;
- var i3 = i2 << 16 | i0 & 0x0000ffff;
- // Modify counter values
- C[0] ^= i0;
- C[1] ^= i1;
- C[2] ^= i2;
- C[3] ^= i3;
- C[4] ^= i0;
- C[5] ^= i1;
- C[6] ^= i2;
- C[7] ^= i3;
- // Iterate the system four times
- for (var i = 0; i < 4; i++) {
- nextState.call(this);
- }
- }
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcut
- var X = this._X;
- // Iterate the system
- nextState.call(this);
- // Generate four keystream words
- S[0] = X[0] ^ X[5] >>> 16 ^ X[3] << 16;
- S[1] = X[2] ^ X[7] >>> 16 ^ X[5] << 16;
- S[2] = X[4] ^ X[1] >>> 16 ^ X[7] << 16;
- S[3] = X[6] ^ X[3] >>> 16 ^ X[1] << 16;
- for (var i = 0; i < 4; i++) {
- // Swap endian
- S[i] = (S[i] << 8 | S[i] >>> 24) & 0x00ff00ff |
- (S[i] << 24 | S[i] >>> 8) & 0xff00ff00;
- // Encrypt
- M[offset + i] ^= S[i];
- }
- },
- blockSize: 128 / 32,
- ivSize: 64 / 32 });
- function nextState() {
- // Shortcuts
- var X = this._X;
- var C = this._C;
- // Save old counter values
- for (var i = 0; i < 8; i++) {
- C_[i] = C[i];
- }
- // Calculate new counter values
- C[0] = C[0] + 0x4d34d34d + this._b | 0;
- C[1] = C[1] + 0xd34d34d3 + (C[0] >>> 0 < C_[0] >>> 0 ? 1 : 0) | 0;
- C[2] = C[2] + 0x34d34d34 + (C[1] >>> 0 < C_[1] >>> 0 ? 1 : 0) | 0;
- C[3] = C[3] + 0x4d34d34d + (C[2] >>> 0 < C_[2] >>> 0 ? 1 : 0) | 0;
- C[4] = C[4] + 0xd34d34d3 + (C[3] >>> 0 < C_[3] >>> 0 ? 1 : 0) | 0;
- C[5] = C[5] + 0x34d34d34 + (C[4] >>> 0 < C_[4] >>> 0 ? 1 : 0) | 0;
- C[6] = C[6] + 0x4d34d34d + (C[5] >>> 0 < C_[5] >>> 0 ? 1 : 0) | 0;
- C[7] = C[7] + 0xd34d34d3 + (C[6] >>> 0 < C_[6] >>> 0 ? 1 : 0) | 0;
- this._b = C[7] >>> 0 < C_[7] >>> 0 ? 1 : 0;
- // Calculate the g-values
- for (var i = 0; i < 8; i++) {
- var gx = X[i] + C[i];
- // Construct high and low argument for squaring
- var ga = gx & 0xffff;
- var gb = gx >>> 16;
- // Calculate high and low result of squaring
- var gh = ((ga * ga >>> 17) + ga * gb >>> 15) + gb * gb;
- var gl = ((gx & 0xffff0000) * gx | 0) + ((gx & 0x0000ffff) * gx | 0);
- // High XOR low
- G[i] = gh ^ gl;
- }
- // Calculate new state values
- X[0] = G[0] + (G[7] << 16 | G[7] >>> 16) + (G[6] << 16 | G[6] >>> 16) | 0;
- X[1] = G[1] + (G[0] << 8 | G[0] >>> 24) + G[7] | 0;
- X[2] = G[2] + (G[1] << 16 | G[1] >>> 16) + (G[0] << 16 | G[0] >>> 16) | 0;
- X[3] = G[3] + (G[2] << 8 | G[2] >>> 24) + G[1] | 0;
- X[4] = G[4] + (G[3] << 16 | G[3] >>> 16) + (G[2] << 16 | G[2] >>> 16) | 0;
- X[5] = G[5] + (G[4] << 8 | G[4] >>> 24) + G[3] | 0;
- X[6] = G[6] + (G[5] << 16 | G[5] >>> 16) + (G[4] << 16 | G[4] >>> 16) | 0;
- X[7] = G[7] + (G[6] << 8 | G[6] >>> 24) + G[5] | 0;
- }
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.Rabbit.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.Rabbit.decrypt(ciphertext, key, cfg);
- */
- C.Rabbit = StreamCipher._createHelper(Rabbit);
- })();
- return CryptoJS.Rabbit;
- });
- /***/ }),
- /* 638 */
- /*!*****************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/rabbit-legacy.js ***!
- \*****************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var StreamCipher = C_lib.StreamCipher;
- var C_algo = C.algo;
- // Reusable objects
- var S = [];
- var C_ = [];
- var G = [];
- /**
- * Rabbit stream cipher algorithm.
- *
- * This is a legacy version that neglected to convert the key to little-endian.
- * This error doesn't affect the cipher's security,
- * but it does affect its compatibility with other implementations.
- */
- var RabbitLegacy = C_algo.RabbitLegacy = StreamCipher.extend({
- _doReset: function _doReset() {
- // Shortcuts
- var K = this._key.words;
- var iv = this.cfg.iv;
- // Generate initial state values
- var X = this._X = [
- K[0], K[3] << 16 | K[2] >>> 16,
- K[1], K[0] << 16 | K[3] >>> 16,
- K[2], K[1] << 16 | K[0] >>> 16,
- K[3], K[2] << 16 | K[1] >>> 16];
- // Generate initial counter values
- var C = this._C = [
- K[2] << 16 | K[2] >>> 16, K[0] & 0xffff0000 | K[1] & 0x0000ffff,
- K[3] << 16 | K[3] >>> 16, K[1] & 0xffff0000 | K[2] & 0x0000ffff,
- K[0] << 16 | K[0] >>> 16, K[2] & 0xffff0000 | K[3] & 0x0000ffff,
- K[1] << 16 | K[1] >>> 16, K[3] & 0xffff0000 | K[0] & 0x0000ffff];
- // Carry bit
- this._b = 0;
- // Iterate the system four times
- for (var i = 0; i < 4; i++) {
- nextState.call(this);
- }
- // Modify the counters
- for (var i = 0; i < 8; i++) {
- C[i] ^= X[i + 4 & 7];
- }
- // IV setup
- if (iv) {
- // Shortcuts
- var IV = iv.words;
- var IV_0 = IV[0];
- var IV_1 = IV[1];
- // Generate four subvectors
- var i0 = (IV_0 << 8 | IV_0 >>> 24) & 0x00ff00ff | (IV_0 << 24 | IV_0 >>> 8) & 0xff00ff00;
- var i2 = (IV_1 << 8 | IV_1 >>> 24) & 0x00ff00ff | (IV_1 << 24 | IV_1 >>> 8) & 0xff00ff00;
- var i1 = i0 >>> 16 | i2 & 0xffff0000;
- var i3 = i2 << 16 | i0 & 0x0000ffff;
- // Modify counter values
- C[0] ^= i0;
- C[1] ^= i1;
- C[2] ^= i2;
- C[3] ^= i3;
- C[4] ^= i0;
- C[5] ^= i1;
- C[6] ^= i2;
- C[7] ^= i3;
- // Iterate the system four times
- for (var i = 0; i < 4; i++) {
- nextState.call(this);
- }
- }
- },
- _doProcessBlock: function _doProcessBlock(M, offset) {
- // Shortcut
- var X = this._X;
- // Iterate the system
- nextState.call(this);
- // Generate four keystream words
- S[0] = X[0] ^ X[5] >>> 16 ^ X[3] << 16;
- S[1] = X[2] ^ X[7] >>> 16 ^ X[5] << 16;
- S[2] = X[4] ^ X[1] >>> 16 ^ X[7] << 16;
- S[3] = X[6] ^ X[3] >>> 16 ^ X[1] << 16;
- for (var i = 0; i < 4; i++) {
- // Swap endian
- S[i] = (S[i] << 8 | S[i] >>> 24) & 0x00ff00ff |
- (S[i] << 24 | S[i] >>> 8) & 0xff00ff00;
- // Encrypt
- M[offset + i] ^= S[i];
- }
- },
- blockSize: 128 / 32,
- ivSize: 64 / 32 });
- function nextState() {
- // Shortcuts
- var X = this._X;
- var C = this._C;
- // Save old counter values
- for (var i = 0; i < 8; i++) {
- C_[i] = C[i];
- }
- // Calculate new counter values
- C[0] = C[0] + 0x4d34d34d + this._b | 0;
- C[1] = C[1] + 0xd34d34d3 + (C[0] >>> 0 < C_[0] >>> 0 ? 1 : 0) | 0;
- C[2] = C[2] + 0x34d34d34 + (C[1] >>> 0 < C_[1] >>> 0 ? 1 : 0) | 0;
- C[3] = C[3] + 0x4d34d34d + (C[2] >>> 0 < C_[2] >>> 0 ? 1 : 0) | 0;
- C[4] = C[4] + 0xd34d34d3 + (C[3] >>> 0 < C_[3] >>> 0 ? 1 : 0) | 0;
- C[5] = C[5] + 0x34d34d34 + (C[4] >>> 0 < C_[4] >>> 0 ? 1 : 0) | 0;
- C[6] = C[6] + 0x4d34d34d + (C[5] >>> 0 < C_[5] >>> 0 ? 1 : 0) | 0;
- C[7] = C[7] + 0xd34d34d3 + (C[6] >>> 0 < C_[6] >>> 0 ? 1 : 0) | 0;
- this._b = C[7] >>> 0 < C_[7] >>> 0 ? 1 : 0;
- // Calculate the g-values
- for (var i = 0; i < 8; i++) {
- var gx = X[i] + C[i];
- // Construct high and low argument for squaring
- var ga = gx & 0xffff;
- var gb = gx >>> 16;
- // Calculate high and low result of squaring
- var gh = ((ga * ga >>> 17) + ga * gb >>> 15) + gb * gb;
- var gl = ((gx & 0xffff0000) * gx | 0) + ((gx & 0x0000ffff) * gx | 0);
- // High XOR low
- G[i] = gh ^ gl;
- }
- // Calculate new state values
- X[0] = G[0] + (G[7] << 16 | G[7] >>> 16) + (G[6] << 16 | G[6] >>> 16) | 0;
- X[1] = G[1] + (G[0] << 8 | G[0] >>> 24) + G[7] | 0;
- X[2] = G[2] + (G[1] << 16 | G[1] >>> 16) + (G[0] << 16 | G[0] >>> 16) | 0;
- X[3] = G[3] + (G[2] << 8 | G[2] >>> 24) + G[1] | 0;
- X[4] = G[4] + (G[3] << 16 | G[3] >>> 16) + (G[2] << 16 | G[2] >>> 16) | 0;
- X[5] = G[5] + (G[4] << 8 | G[4] >>> 24) + G[3] | 0;
- X[6] = G[6] + (G[5] << 16 | G[5] >>> 16) + (G[4] << 16 | G[4] >>> 16) | 0;
- X[7] = G[7] + (G[6] << 8 | G[6] >>> 24) + G[5] | 0;
- }
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.RabbitLegacy.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.RabbitLegacy.decrypt(ciphertext, key, cfg);
- */
- C.RabbitLegacy = StreamCipher._createHelper(RabbitLegacy);
- })();
- return CryptoJS.RabbitLegacy;
- });
- /***/ }),
- /* 639 */
- /*!************************************************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/node_modules/.store/crypto-js@4.2.0/node_modules/crypto-js/blowfish.js ***!
- \************************************************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- ;(function (root, factory, undef) {
- if (true) {
- // CommonJS
- module.exports = exports = factory(__webpack_require__(/*! ./core */ 604), __webpack_require__(/*! ./enc-base64 */ 609), __webpack_require__(/*! ./md5 */ 611), __webpack_require__(/*! ./evpkdf */ 621), __webpack_require__(/*! ./cipher-core */ 622));
- } else
- {}
- })(this, function (CryptoJS) {
- (function () {
- // Shortcuts
- var C = CryptoJS;
- var C_lib = C.lib;
- var BlockCipher = C_lib.BlockCipher;
- var C_algo = C.algo;
- var N = 16;
- //Origin pbox and sbox, derived from PI
- var ORIG_P = [
- 0x243F6A88, 0x85A308D3, 0x13198A2E, 0x03707344,
- 0xA4093822, 0x299F31D0, 0x082EFA98, 0xEC4E6C89,
- 0x452821E6, 0x38D01377, 0xBE5466CF, 0x34E90C6C,
- 0xC0AC29B7, 0xC97C50DD, 0x3F84D5B5, 0xB5470917,
- 0x9216D5D9, 0x8979FB1B];
- var ORIG_S = [
- [0xD1310BA6, 0x98DFB5AC, 0x2FFD72DB, 0xD01ADFB7,
- 0xB8E1AFED, 0x6A267E96, 0xBA7C9045, 0xF12C7F99,
- 0x24A19947, 0xB3916CF7, 0x0801F2E2, 0x858EFC16,
- 0x636920D8, 0x71574E69, 0xA458FEA3, 0xF4933D7E,
- 0x0D95748F, 0x728EB658, 0x718BCD58, 0x82154AEE,
- 0x7B54A41D, 0xC25A59B5, 0x9C30D539, 0x2AF26013,
- 0xC5D1B023, 0x286085F0, 0xCA417918, 0xB8DB38EF,
- 0x8E79DCB0, 0x603A180E, 0x6C9E0E8B, 0xB01E8A3E,
- 0xD71577C1, 0xBD314B27, 0x78AF2FDA, 0x55605C60,
- 0xE65525F3, 0xAA55AB94, 0x57489862, 0x63E81440,
- 0x55CA396A, 0x2AAB10B6, 0xB4CC5C34, 0x1141E8CE,
- 0xA15486AF, 0x7C72E993, 0xB3EE1411, 0x636FBC2A,
- 0x2BA9C55D, 0x741831F6, 0xCE5C3E16, 0x9B87931E,
- 0xAFD6BA33, 0x6C24CF5C, 0x7A325381, 0x28958677,
- 0x3B8F4898, 0x6B4BB9AF, 0xC4BFE81B, 0x66282193,
- 0x61D809CC, 0xFB21A991, 0x487CAC60, 0x5DEC8032,
- 0xEF845D5D, 0xE98575B1, 0xDC262302, 0xEB651B88,
- 0x23893E81, 0xD396ACC5, 0x0F6D6FF3, 0x83F44239,
- 0x2E0B4482, 0xA4842004, 0x69C8F04A, 0x9E1F9B5E,
- 0x21C66842, 0xF6E96C9A, 0x670C9C61, 0xABD388F0,
- 0x6A51A0D2, 0xD8542F68, 0x960FA728, 0xAB5133A3,
- 0x6EEF0B6C, 0x137A3BE4, 0xBA3BF050, 0x7EFB2A98,
- 0xA1F1651D, 0x39AF0176, 0x66CA593E, 0x82430E88,
- 0x8CEE8619, 0x456F9FB4, 0x7D84A5C3, 0x3B8B5EBE,
- 0xE06F75D8, 0x85C12073, 0x401A449F, 0x56C16AA6,
- 0x4ED3AA62, 0x363F7706, 0x1BFEDF72, 0x429B023D,
- 0x37D0D724, 0xD00A1248, 0xDB0FEAD3, 0x49F1C09B,
- 0x075372C9, 0x80991B7B, 0x25D479D8, 0xF6E8DEF7,
- 0xE3FE501A, 0xB6794C3B, 0x976CE0BD, 0x04C006BA,
- 0xC1A94FB6, 0x409F60C4, 0x5E5C9EC2, 0x196A2463,
- 0x68FB6FAF, 0x3E6C53B5, 0x1339B2EB, 0x3B52EC6F,
- 0x6DFC511F, 0x9B30952C, 0xCC814544, 0xAF5EBD09,
- 0xBEE3D004, 0xDE334AFD, 0x660F2807, 0x192E4BB3,
- 0xC0CBA857, 0x45C8740F, 0xD20B5F39, 0xB9D3FBDB,
- 0x5579C0BD, 0x1A60320A, 0xD6A100C6, 0x402C7279,
- 0x679F25FE, 0xFB1FA3CC, 0x8EA5E9F8, 0xDB3222F8,
- 0x3C7516DF, 0xFD616B15, 0x2F501EC8, 0xAD0552AB,
- 0x323DB5FA, 0xFD238760, 0x53317B48, 0x3E00DF82,
- 0x9E5C57BB, 0xCA6F8CA0, 0x1A87562E, 0xDF1769DB,
- 0xD542A8F6, 0x287EFFC3, 0xAC6732C6, 0x8C4F5573,
- 0x695B27B0, 0xBBCA58C8, 0xE1FFA35D, 0xB8F011A0,
- 0x10FA3D98, 0xFD2183B8, 0x4AFCB56C, 0x2DD1D35B,
- 0x9A53E479, 0xB6F84565, 0xD28E49BC, 0x4BFB9790,
- 0xE1DDF2DA, 0xA4CB7E33, 0x62FB1341, 0xCEE4C6E8,
- 0xEF20CADA, 0x36774C01, 0xD07E9EFE, 0x2BF11FB4,
- 0x95DBDA4D, 0xAE909198, 0xEAAD8E71, 0x6B93D5A0,
- 0xD08ED1D0, 0xAFC725E0, 0x8E3C5B2F, 0x8E7594B7,
- 0x8FF6E2FB, 0xF2122B64, 0x8888B812, 0x900DF01C,
- 0x4FAD5EA0, 0x688FC31C, 0xD1CFF191, 0xB3A8C1AD,
- 0x2F2F2218, 0xBE0E1777, 0xEA752DFE, 0x8B021FA1,
- 0xE5A0CC0F, 0xB56F74E8, 0x18ACF3D6, 0xCE89E299,
- 0xB4A84FE0, 0xFD13E0B7, 0x7CC43B81, 0xD2ADA8D9,
- 0x165FA266, 0x80957705, 0x93CC7314, 0x211A1477,
- 0xE6AD2065, 0x77B5FA86, 0xC75442F5, 0xFB9D35CF,
- 0xEBCDAF0C, 0x7B3E89A0, 0xD6411BD3, 0xAE1E7E49,
- 0x00250E2D, 0x2071B35E, 0x226800BB, 0x57B8E0AF,
- 0x2464369B, 0xF009B91E, 0x5563911D, 0x59DFA6AA,
- 0x78C14389, 0xD95A537F, 0x207D5BA2, 0x02E5B9C5,
- 0x83260376, 0x6295CFA9, 0x11C81968, 0x4E734A41,
- 0xB3472DCA, 0x7B14A94A, 0x1B510052, 0x9A532915,
- 0xD60F573F, 0xBC9BC6E4, 0x2B60A476, 0x81E67400,
- 0x08BA6FB5, 0x571BE91F, 0xF296EC6B, 0x2A0DD915,
- 0xB6636521, 0xE7B9F9B6, 0xFF34052E, 0xC5855664,
- 0x53B02D5D, 0xA99F8FA1, 0x08BA4799, 0x6E85076A],
- [0x4B7A70E9, 0xB5B32944, 0xDB75092E, 0xC4192623,
- 0xAD6EA6B0, 0x49A7DF7D, 0x9CEE60B8, 0x8FEDB266,
- 0xECAA8C71, 0x699A17FF, 0x5664526C, 0xC2B19EE1,
- 0x193602A5, 0x75094C29, 0xA0591340, 0xE4183A3E,
- 0x3F54989A, 0x5B429D65, 0x6B8FE4D6, 0x99F73FD6,
- 0xA1D29C07, 0xEFE830F5, 0x4D2D38E6, 0xF0255DC1,
- 0x4CDD2086, 0x8470EB26, 0x6382E9C6, 0x021ECC5E,
- 0x09686B3F, 0x3EBAEFC9, 0x3C971814, 0x6B6A70A1,
- 0x687F3584, 0x52A0E286, 0xB79C5305, 0xAA500737,
- 0x3E07841C, 0x7FDEAE5C, 0x8E7D44EC, 0x5716F2B8,
- 0xB03ADA37, 0xF0500C0D, 0xF01C1F04, 0x0200B3FF,
- 0xAE0CF51A, 0x3CB574B2, 0x25837A58, 0xDC0921BD,
- 0xD19113F9, 0x7CA92FF6, 0x94324773, 0x22F54701,
- 0x3AE5E581, 0x37C2DADC, 0xC8B57634, 0x9AF3DDA7,
- 0xA9446146, 0x0FD0030E, 0xECC8C73E, 0xA4751E41,
- 0xE238CD99, 0x3BEA0E2F, 0x3280BBA1, 0x183EB331,
- 0x4E548B38, 0x4F6DB908, 0x6F420D03, 0xF60A04BF,
- 0x2CB81290, 0x24977C79, 0x5679B072, 0xBCAF89AF,
- 0xDE9A771F, 0xD9930810, 0xB38BAE12, 0xDCCF3F2E,
- 0x5512721F, 0x2E6B7124, 0x501ADDE6, 0x9F84CD87,
- 0x7A584718, 0x7408DA17, 0xBC9F9ABC, 0xE94B7D8C,
- 0xEC7AEC3A, 0xDB851DFA, 0x63094366, 0xC464C3D2,
- 0xEF1C1847, 0x3215D908, 0xDD433B37, 0x24C2BA16,
- 0x12A14D43, 0x2A65C451, 0x50940002, 0x133AE4DD,
- 0x71DFF89E, 0x10314E55, 0x81AC77D6, 0x5F11199B,
- 0x043556F1, 0xD7A3C76B, 0x3C11183B, 0x5924A509,
- 0xF28FE6ED, 0x97F1FBFA, 0x9EBABF2C, 0x1E153C6E,
- 0x86E34570, 0xEAE96FB1, 0x860E5E0A, 0x5A3E2AB3,
- 0x771FE71C, 0x4E3D06FA, 0x2965DCB9, 0x99E71D0F,
- 0x803E89D6, 0x5266C825, 0x2E4CC978, 0x9C10B36A,
- 0xC6150EBA, 0x94E2EA78, 0xA5FC3C53, 0x1E0A2DF4,
- 0xF2F74EA7, 0x361D2B3D, 0x1939260F, 0x19C27960,
- 0x5223A708, 0xF71312B6, 0xEBADFE6E, 0xEAC31F66,
- 0xE3BC4595, 0xA67BC883, 0xB17F37D1, 0x018CFF28,
- 0xC332DDEF, 0xBE6C5AA5, 0x65582185, 0x68AB9802,
- 0xEECEA50F, 0xDB2F953B, 0x2AEF7DAD, 0x5B6E2F84,
- 0x1521B628, 0x29076170, 0xECDD4775, 0x619F1510,
- 0x13CCA830, 0xEB61BD96, 0x0334FE1E, 0xAA0363CF,
- 0xB5735C90, 0x4C70A239, 0xD59E9E0B, 0xCBAADE14,
- 0xEECC86BC, 0x60622CA7, 0x9CAB5CAB, 0xB2F3846E,
- 0x648B1EAF, 0x19BDF0CA, 0xA02369B9, 0x655ABB50,
- 0x40685A32, 0x3C2AB4B3, 0x319EE9D5, 0xC021B8F7,
- 0x9B540B19, 0x875FA099, 0x95F7997E, 0x623D7DA8,
- 0xF837889A, 0x97E32D77, 0x11ED935F, 0x16681281,
- 0x0E358829, 0xC7E61FD6, 0x96DEDFA1, 0x7858BA99,
- 0x57F584A5, 0x1B227263, 0x9B83C3FF, 0x1AC24696,
- 0xCDB30AEB, 0x532E3054, 0x8FD948E4, 0x6DBC3128,
- 0x58EBF2EF, 0x34C6FFEA, 0xFE28ED61, 0xEE7C3C73,
- 0x5D4A14D9, 0xE864B7E3, 0x42105D14, 0x203E13E0,
- 0x45EEE2B6, 0xA3AAABEA, 0xDB6C4F15, 0xFACB4FD0,
- 0xC742F442, 0xEF6ABBB5, 0x654F3B1D, 0x41CD2105,
- 0xD81E799E, 0x86854DC7, 0xE44B476A, 0x3D816250,
- 0xCF62A1F2, 0x5B8D2646, 0xFC8883A0, 0xC1C7B6A3,
- 0x7F1524C3, 0x69CB7492, 0x47848A0B, 0x5692B285,
- 0x095BBF00, 0xAD19489D, 0x1462B174, 0x23820E00,
- 0x58428D2A, 0x0C55F5EA, 0x1DADF43E, 0x233F7061,
- 0x3372F092, 0x8D937E41, 0xD65FECF1, 0x6C223BDB,
- 0x7CDE3759, 0xCBEE7460, 0x4085F2A7, 0xCE77326E,
- 0xA6078084, 0x19F8509E, 0xE8EFD855, 0x61D99735,
- 0xA969A7AA, 0xC50C06C2, 0x5A04ABFC, 0x800BCADC,
- 0x9E447A2E, 0xC3453484, 0xFDD56705, 0x0E1E9EC9,
- 0xDB73DBD3, 0x105588CD, 0x675FDA79, 0xE3674340,
- 0xC5C43465, 0x713E38D8, 0x3D28F89E, 0xF16DFF20,
- 0x153E21E7, 0x8FB03D4A, 0xE6E39F2B, 0xDB83ADF7],
- [0xE93D5A68, 0x948140F7, 0xF64C261C, 0x94692934,
- 0x411520F7, 0x7602D4F7, 0xBCF46B2E, 0xD4A20068,
- 0xD4082471, 0x3320F46A, 0x43B7D4B7, 0x500061AF,
- 0x1E39F62E, 0x97244546, 0x14214F74, 0xBF8B8840,
- 0x4D95FC1D, 0x96B591AF, 0x70F4DDD3, 0x66A02F45,
- 0xBFBC09EC, 0x03BD9785, 0x7FAC6DD0, 0x31CB8504,
- 0x96EB27B3, 0x55FD3941, 0xDA2547E6, 0xABCA0A9A,
- 0x28507825, 0x530429F4, 0x0A2C86DA, 0xE9B66DFB,
- 0x68DC1462, 0xD7486900, 0x680EC0A4, 0x27A18DEE,
- 0x4F3FFEA2, 0xE887AD8C, 0xB58CE006, 0x7AF4D6B6,
- 0xAACE1E7C, 0xD3375FEC, 0xCE78A399, 0x406B2A42,
- 0x20FE9E35, 0xD9F385B9, 0xEE39D7AB, 0x3B124E8B,
- 0x1DC9FAF7, 0x4B6D1856, 0x26A36631, 0xEAE397B2,
- 0x3A6EFA74, 0xDD5B4332, 0x6841E7F7, 0xCA7820FB,
- 0xFB0AF54E, 0xD8FEB397, 0x454056AC, 0xBA489527,
- 0x55533A3A, 0x20838D87, 0xFE6BA9B7, 0xD096954B,
- 0x55A867BC, 0xA1159A58, 0xCCA92963, 0x99E1DB33,
- 0xA62A4A56, 0x3F3125F9, 0x5EF47E1C, 0x9029317C,
- 0xFDF8E802, 0x04272F70, 0x80BB155C, 0x05282CE3,
- 0x95C11548, 0xE4C66D22, 0x48C1133F, 0xC70F86DC,
- 0x07F9C9EE, 0x41041F0F, 0x404779A4, 0x5D886E17,
- 0x325F51EB, 0xD59BC0D1, 0xF2BCC18F, 0x41113564,
- 0x257B7834, 0x602A9C60, 0xDFF8E8A3, 0x1F636C1B,
- 0x0E12B4C2, 0x02E1329E, 0xAF664FD1, 0xCAD18115,
- 0x6B2395E0, 0x333E92E1, 0x3B240B62, 0xEEBEB922,
- 0x85B2A20E, 0xE6BA0D99, 0xDE720C8C, 0x2DA2F728,
- 0xD0127845, 0x95B794FD, 0x647D0862, 0xE7CCF5F0,
- 0x5449A36F, 0x877D48FA, 0xC39DFD27, 0xF33E8D1E,
- 0x0A476341, 0x992EFF74, 0x3A6F6EAB, 0xF4F8FD37,
- 0xA812DC60, 0xA1EBDDF8, 0x991BE14C, 0xDB6E6B0D,
- 0xC67B5510, 0x6D672C37, 0x2765D43B, 0xDCD0E804,
- 0xF1290DC7, 0xCC00FFA3, 0xB5390F92, 0x690FED0B,
- 0x667B9FFB, 0xCEDB7D9C, 0xA091CF0B, 0xD9155EA3,
- 0xBB132F88, 0x515BAD24, 0x7B9479BF, 0x763BD6EB,
- 0x37392EB3, 0xCC115979, 0x8026E297, 0xF42E312D,
- 0x6842ADA7, 0xC66A2B3B, 0x12754CCC, 0x782EF11C,
- 0x6A124237, 0xB79251E7, 0x06A1BBE6, 0x4BFB6350,
- 0x1A6B1018, 0x11CAEDFA, 0x3D25BDD8, 0xE2E1C3C9,
- 0x44421659, 0x0A121386, 0xD90CEC6E, 0xD5ABEA2A,
- 0x64AF674E, 0xDA86A85F, 0xBEBFE988, 0x64E4C3FE,
- 0x9DBC8057, 0xF0F7C086, 0x60787BF8, 0x6003604D,
- 0xD1FD8346, 0xF6381FB0, 0x7745AE04, 0xD736FCCC,
- 0x83426B33, 0xF01EAB71, 0xB0804187, 0x3C005E5F,
- 0x77A057BE, 0xBDE8AE24, 0x55464299, 0xBF582E61,
- 0x4E58F48F, 0xF2DDFDA2, 0xF474EF38, 0x8789BDC2,
- 0x5366F9C3, 0xC8B38E74, 0xB475F255, 0x46FCD9B9,
- 0x7AEB2661, 0x8B1DDF84, 0x846A0E79, 0x915F95E2,
- 0x466E598E, 0x20B45770, 0x8CD55591, 0xC902DE4C,
- 0xB90BACE1, 0xBB8205D0, 0x11A86248, 0x7574A99E,
- 0xB77F19B6, 0xE0A9DC09, 0x662D09A1, 0xC4324633,
- 0xE85A1F02, 0x09F0BE8C, 0x4A99A025, 0x1D6EFE10,
- 0x1AB93D1D, 0x0BA5A4DF, 0xA186F20F, 0x2868F169,
- 0xDCB7DA83, 0x573906FE, 0xA1E2CE9B, 0x4FCD7F52,
- 0x50115E01, 0xA70683FA, 0xA002B5C4, 0x0DE6D027,
- 0x9AF88C27, 0x773F8641, 0xC3604C06, 0x61A806B5,
- 0xF0177A28, 0xC0F586E0, 0x006058AA, 0x30DC7D62,
- 0x11E69ED7, 0x2338EA63, 0x53C2DD94, 0xC2C21634,
- 0xBBCBEE56, 0x90BCB6DE, 0xEBFC7DA1, 0xCE591D76,
- 0x6F05E409, 0x4B7C0188, 0x39720A3D, 0x7C927C24,
- 0x86E3725F, 0x724D9DB9, 0x1AC15BB4, 0xD39EB8FC,
- 0xED545578, 0x08FCA5B5, 0xD83D7CD3, 0x4DAD0FC4,
- 0x1E50EF5E, 0xB161E6F8, 0xA28514D9, 0x6C51133C,
- 0x6FD5C7E7, 0x56E14EC4, 0x362ABFCE, 0xDDC6C837,
- 0xD79A3234, 0x92638212, 0x670EFA8E, 0x406000E0],
- [0x3A39CE37, 0xD3FAF5CF, 0xABC27737, 0x5AC52D1B,
- 0x5CB0679E, 0x4FA33742, 0xD3822740, 0x99BC9BBE,
- 0xD5118E9D, 0xBF0F7315, 0xD62D1C7E, 0xC700C47B,
- 0xB78C1B6B, 0x21A19045, 0xB26EB1BE, 0x6A366EB4,
- 0x5748AB2F, 0xBC946E79, 0xC6A376D2, 0x6549C2C8,
- 0x530FF8EE, 0x468DDE7D, 0xD5730A1D, 0x4CD04DC6,
- 0x2939BBDB, 0xA9BA4650, 0xAC9526E8, 0xBE5EE304,
- 0xA1FAD5F0, 0x6A2D519A, 0x63EF8CE2, 0x9A86EE22,
- 0xC089C2B8, 0x43242EF6, 0xA51E03AA, 0x9CF2D0A4,
- 0x83C061BA, 0x9BE96A4D, 0x8FE51550, 0xBA645BD6,
- 0x2826A2F9, 0xA73A3AE1, 0x4BA99586, 0xEF5562E9,
- 0xC72FEFD3, 0xF752F7DA, 0x3F046F69, 0x77FA0A59,
- 0x80E4A915, 0x87B08601, 0x9B09E6AD, 0x3B3EE593,
- 0xE990FD5A, 0x9E34D797, 0x2CF0B7D9, 0x022B8B51,
- 0x96D5AC3A, 0x017DA67D, 0xD1CF3ED6, 0x7C7D2D28,
- 0x1F9F25CF, 0xADF2B89B, 0x5AD6B472, 0x5A88F54C,
- 0xE029AC71, 0xE019A5E6, 0x47B0ACFD, 0xED93FA9B,
- 0xE8D3C48D, 0x283B57CC, 0xF8D56629, 0x79132E28,
- 0x785F0191, 0xED756055, 0xF7960E44, 0xE3D35E8C,
- 0x15056DD4, 0x88F46DBA, 0x03A16125, 0x0564F0BD,
- 0xC3EB9E15, 0x3C9057A2, 0x97271AEC, 0xA93A072A,
- 0x1B3F6D9B, 0x1E6321F5, 0xF59C66FB, 0x26DCF319,
- 0x7533D928, 0xB155FDF5, 0x03563482, 0x8ABA3CBB,
- 0x28517711, 0xC20AD9F8, 0xABCC5167, 0xCCAD925F,
- 0x4DE81751, 0x3830DC8E, 0x379D5862, 0x9320F991,
- 0xEA7A90C2, 0xFB3E7BCE, 0x5121CE64, 0x774FBE32,
- 0xA8B6E37E, 0xC3293D46, 0x48DE5369, 0x6413E680,
- 0xA2AE0810, 0xDD6DB224, 0x69852DFD, 0x09072166,
- 0xB39A460A, 0x6445C0DD, 0x586CDECF, 0x1C20C8AE,
- 0x5BBEF7DD, 0x1B588D40, 0xCCD2017F, 0x6BB4E3BB,
- 0xDDA26A7E, 0x3A59FF45, 0x3E350A44, 0xBCB4CDD5,
- 0x72EACEA8, 0xFA6484BB, 0x8D6612AE, 0xBF3C6F47,
- 0xD29BE463, 0x542F5D9E, 0xAEC2771B, 0xF64E6370,
- 0x740E0D8D, 0xE75B1357, 0xF8721671, 0xAF537D5D,
- 0x4040CB08, 0x4EB4E2CC, 0x34D2466A, 0x0115AF84,
- 0xE1B00428, 0x95983A1D, 0x06B89FB4, 0xCE6EA048,
- 0x6F3F3B82, 0x3520AB82, 0x011A1D4B, 0x277227F8,
- 0x611560B1, 0xE7933FDC, 0xBB3A792B, 0x344525BD,
- 0xA08839E1, 0x51CE794B, 0x2F32C9B7, 0xA01FBAC9,
- 0xE01CC87E, 0xBCC7D1F6, 0xCF0111C3, 0xA1E8AAC7,
- 0x1A908749, 0xD44FBD9A, 0xD0DADECB, 0xD50ADA38,
- 0x0339C32A, 0xC6913667, 0x8DF9317C, 0xE0B12B4F,
- 0xF79E59B7, 0x43F5BB3A, 0xF2D519FF, 0x27D9459C,
- 0xBF97222C, 0x15E6FC2A, 0x0F91FC71, 0x9B941525,
- 0xFAE59361, 0xCEB69CEB, 0xC2A86459, 0x12BAA8D1,
- 0xB6C1075E, 0xE3056A0C, 0x10D25065, 0xCB03A442,
- 0xE0EC6E0E, 0x1698DB3B, 0x4C98A0BE, 0x3278E964,
- 0x9F1F9532, 0xE0D392DF, 0xD3A0342B, 0x8971F21E,
- 0x1B0A7441, 0x4BA3348C, 0xC5BE7120, 0xC37632D8,
- 0xDF359F8D, 0x9B992F2E, 0xE60B6F47, 0x0FE3F11D,
- 0xE54CDA54, 0x1EDAD891, 0xCE6279CF, 0xCD3E7E6F,
- 0x1618B166, 0xFD2C1D05, 0x848FD2C5, 0xF6FB2299,
- 0xF523F357, 0xA6327623, 0x93A83531, 0x56CCCD02,
- 0xACF08162, 0x5A75EBB5, 0x6E163697, 0x88D273CC,
- 0xDE966292, 0x81B949D0, 0x4C50901B, 0x71C65614,
- 0xE6C6C7BD, 0x327A140A, 0x45E1D006, 0xC3F27B9A,
- 0xC9AA53FD, 0x62A80F00, 0xBB25BFE2, 0x35BDD2F6,
- 0x71126905, 0xB2040222, 0xB6CBCF7C, 0xCD769C2B,
- 0x53113EC0, 0x1640E3D3, 0x38ABBD60, 0x2547ADF0,
- 0xBA38209C, 0xF746CE76, 0x77AFA1C5, 0x20756060,
- 0x85CBFE4E, 0x8AE88DD8, 0x7AAAF9B0, 0x4CF9AA7E,
- 0x1948C25C, 0x02FB8A8C, 0x01C36AE4, 0xD6EBE1F9,
- 0x90D4F869, 0xA65CDEA0, 0x3F09252D, 0xC208E69F,
- 0xB74E6132, 0xCE77E25B, 0x578FDFE3, 0x3AC372E6]];
- var BLOWFISH_CTX = {
- pbox: [],
- sbox: [] };
- function F(ctx, x) {
- var a = x >> 24 & 0xFF;
- var b = x >> 16 & 0xFF;
- var c = x >> 8 & 0xFF;
- var d = x & 0xFF;
- var y = ctx.sbox[0][a] + ctx.sbox[1][b];
- y = y ^ ctx.sbox[2][c];
- y = y + ctx.sbox[3][d];
- return y;
- }
- function BlowFish_Encrypt(ctx, left, right) {
- var Xl = left;
- var Xr = right;
- var temp;
- for (var i = 0; i < N; ++i) {
- Xl = Xl ^ ctx.pbox[i];
- Xr = F(ctx, Xl) ^ Xr;
- temp = Xl;
- Xl = Xr;
- Xr = temp;
- }
- temp = Xl;
- Xl = Xr;
- Xr = temp;
- Xr = Xr ^ ctx.pbox[N];
- Xl = Xl ^ ctx.pbox[N + 1];
- return { left: Xl, right: Xr };
- }
- function BlowFish_Decrypt(ctx, left, right) {
- var Xl = left;
- var Xr = right;
- var temp;
- for (var i = N + 1; i > 1; --i) {
- Xl = Xl ^ ctx.pbox[i];
- Xr = F(ctx, Xl) ^ Xr;
- temp = Xl;
- Xl = Xr;
- Xr = temp;
- }
- temp = Xl;
- Xl = Xr;
- Xr = temp;
- Xr = Xr ^ ctx.pbox[1];
- Xl = Xl ^ ctx.pbox[0];
- return { left: Xl, right: Xr };
- }
- /**
- * Initialization ctx's pbox and sbox.
- *
- * @param {Object} ctx The object has pbox and sbox.
- * @param {Array} key An array of 32-bit words.
- * @param {int} keysize The length of the key.
- *
- * @example
- *
- * BlowFishInit(BLOWFISH_CTX, key, 128/32);
- */
- function BlowFishInit(ctx, key, keysize)
- {
- for (var Row = 0; Row < 4; Row++)
- {
- ctx.sbox[Row] = [];
- for (var Col = 0; Col < 256; Col++)
- {
- ctx.sbox[Row][Col] = ORIG_S[Row][Col];
- }
- }
- var keyIndex = 0;
- for (var index = 0; index < N + 2; index++)
- {
- ctx.pbox[index] = ORIG_P[index] ^ key[keyIndex];
- keyIndex++;
- if (keyIndex >= keysize)
- {
- keyIndex = 0;
- }
- }
- var Data1 = 0;
- var Data2 = 0;
- var res = 0;
- for (var i = 0; i < N + 2; i += 2)
- {
- res = BlowFish_Encrypt(ctx, Data1, Data2);
- Data1 = res.left;
- Data2 = res.right;
- ctx.pbox[i] = Data1;
- ctx.pbox[i + 1] = Data2;
- }
- for (var _i = 0; _i < 4; _i++)
- {
- for (var j = 0; j < 256; j += 2)
- {
- res = BlowFish_Encrypt(ctx, Data1, Data2);
- Data1 = res.left;
- Data2 = res.right;
- ctx.sbox[_i][j] = Data1;
- ctx.sbox[_i][j + 1] = Data2;
- }
- }
- return true;
- }
- /**
- * Blowfish block cipher algorithm.
- */
- var Blowfish = C_algo.Blowfish = BlockCipher.extend({
- _doReset: function _doReset() {
- // Skip reset of nRounds has been set before and key did not change
- if (this._keyPriorReset === this._key) {
- return;
- }
- // Shortcuts
- var key = this._keyPriorReset = this._key;
- var keyWords = key.words;
- var keySize = key.sigBytes / 4;
- //Initialization pbox and sbox
- BlowFishInit(BLOWFISH_CTX, keyWords, keySize);
- },
- encryptBlock: function encryptBlock(M, offset) {
- var res = BlowFish_Encrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);
- M[offset] = res.left;
- M[offset + 1] = res.right;
- },
- decryptBlock: function decryptBlock(M, offset) {
- var res = BlowFish_Decrypt(BLOWFISH_CTX, M[offset], M[offset + 1]);
- M[offset] = res.left;
- M[offset + 1] = res.right;
- },
- blockSize: 64 / 32,
- keySize: 128 / 32,
- ivSize: 64 / 32 });
- /**
- * Shortcut functions to the cipher's object interface.
- *
- * @example
- *
- * var ciphertext = CryptoJS.Blowfish.encrypt(message, key, cfg);
- * var plaintext = CryptoJS.Blowfish.decrypt(ciphertext, key, cfg);
- */
- C.Blowfish = BlockCipher._createHelper(Blowfish);
- })();
- return CryptoJS.Blowfish;
- });
- /***/ }),
- /* 640 */,
- /* 641 */,
- /* 642 */,
- /* 643 */,
- /* 644 */,
- /* 645 */,
- /* 646 */,
- /* 647 */,
- /* 648 */,
- /* 649 */,
- /* 650 */,
- /* 651 */,
- /* 652 */,
- /* 653 */,
- /* 654 */,
- /* 655 */,
- /* 656 */
- /*!**************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/order.js ***!
- \**************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.submit = submit;exports.pay = pay;exports.myOrder = myOrder;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 提交订单 返回支付流水号
- function submit(data) {
- return (0, _request.default)({
- url: "/p/order/submit",
- method: "post",
- data: data });
- }
- // 根据订单号进行支付
- function pay(data) {
- return (0, _request.default)({
- url: '/p/order/pay',
- method: 'post',
- data: data });
- }
- // 订单列表信息
- function myOrder(data) {
- return (0, _request.default)({
- url: "/p/myOrder/myOrder",
- method: "get",
- params: data });
- }
- //
- /***/ }),
- /* 657 */,
- /* 658 */,
- /* 659 */,
- /* 660 */,
- /* 661 */,
- /* 662 */,
- /* 663 */
- /*!****************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/address.js ***!
- \****************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.addressList = addressList;exports.defaultAddr = defaultAddr;exports.addAddr = addAddr;exports.listByPid = listByPid;exports.updateAddr = updateAddr;exports.deleteAddress = deleteAddress;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 用户地址列表
- function addressList(data) {
- return (0, _request.default)({
- url: '/p/address/list',
- method: 'get',
- params: data });
- }
- // 根据地址id,设置默认地址
- function defaultAddr(addrId) {
- return (0, _request.default)({
- url: '/p/address/defaultAddr/' + addrId,
- method: 'put' });
- }
- // 新增用户地址
- function addAddr(data) {
- return (0, _request.default)({
- url: '/p/address/addAddr',
- method: 'post',
- data: data });
- }
- // 获取省市区信息
- function listByPid(data) {
- return (0, _request.default)({
- url: '/p/area/listByPid',
- method: 'get',
- data: data });
- }
- // 修改用户地址
- function updateAddr(data) {
- return (0, _request.default)({
- url: '/p/address/updateAddr',
- method: 'put',
- data: data });
- }
- // 根据地址id,删除用户地址
- function deleteAddress(addrId) {
- return (0, _request.default)({
- url: '/p/address/deleteAddr/' + addrId,
- method: 'delete' });
- }
- /***/ }),
- /* 664 */
- /*!***************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/detail.js ***!
- \***************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.prodInfo = prodInfo;exports.prodComm = prodComm;exports.isCollection = isCollection;exports.addOrCancel = addOrCancel;exports.confirm = confirm;exports.changeItem = changeItem;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 商品详情信息
- function prodInfo(data) {
- return (0, _request.default)({
- url: '/prod/prodInfo',
- method: 'get',
- params: data });
- }
- // 返回商品好评
- function prodComm(data) {
- return (0, _request.default)({
- url: '/prodComm/prodCommData',
- method: 'get',
- params: data });
- }
- // 判断收藏夹中是否有商品
- function isCollection(data) {
- return (0, _request.default)({
- url: '/p/user/collection/isCollection',
- method: 'get',
- params: data });
- }
- // 添加/取消收藏
- function addOrCancel(data) {
- return (0, _request.default)({
- url: '/p/user/collection/addOrCancel',
- method: 'post',
- data: data });
- }
- // 结算 生成订单信息
- function confirm(data) {
- return (0, _request.default)({
- url: '/p/order/confirm',
- method: 'post',
- data: data });
- }
- function changeItem(data) {
- return (0, _request.default)({
- url: '/p/shopCart/changeItem',
- method: 'post',
- data: data });
- }
- /***/ }),
- /* 665 */
- /*!************************************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/wxcomponents/dist/dialog/dialog.js ***!
- \************************************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var queue = [];
- var defaultOptions = {
- show: false,
- title: '',
- width: null,
- theme: 'default',
- message: '',
- zIndex: 100,
- overlay: true,
- selector: '#van-dialog',
- className: '',
- asyncClose: false,
- beforeClose: null,
- transition: 'scale',
- customStyle: '',
- messageAlign: '',
- overlayStyle: '',
- confirmButtonText: '确认',
- cancelButtonText: '取消',
- showConfirmButton: true,
- showCancelButton: false,
- closeOnClickOverlay: false,
- confirmButtonOpenType: '' };
- var currentOptions = Object.assign({}, defaultOptions);
- function getContext() {
- var pages = getCurrentPages();
- return pages[pages.length - 1];
- }
- var Dialog = function Dialog(options) {
- options = Object.assign(Object.assign({}, currentOptions), options);
- return new Promise(function (resolve, reject) {
- var context = (typeof options.context === 'function' ?
- options.context() :
- options.context) || getContext();
- var dialog = context.selectComponent(options.selector);
- delete options.context;
- delete options.selector;
- if (dialog) {
- dialog.setData(Object.assign({ callback: function callback(action, instance) {
- action === 'confirm' ? resolve(instance) : reject(instance);
- } }, options));
- wx.nextTick(function () {
- dialog.setData({ show: true });
- });
- queue.push(dialog);
- } else
- {
- console.warn('未找到 van-dialog 节点,请确认 selector 及 context 是否正确');
- }
- });
- };
- Dialog.alert = function (options) {return Dialog(options);};
- Dialog.confirm = function (options) {return Dialog(Object.assign({ showCancelButton: true }, options));};
- Dialog.close = function () {
- queue.forEach(function (dialog) {
- dialog.close();
- });
- queue = [];
- };
- Dialog.stopLoading = function () {
- queue.forEach(function (dialog) {
- dialog.stopLoading();
- });
- };
- Dialog.currentOptions = currentOptions;
- Dialog.defaultOptions = defaultOptions;
- Dialog.setDefaultOptions = function (options) {
- currentOptions = Object.assign(Object.assign({}, currentOptions), options);
- Dialog.currentOptions = currentOptions;
- };
- Dialog.resetDefaultOptions = function () {
- currentOptions = Object.assign({}, defaultOptions);
- Dialog.currentOptions = currentOptions;
- };
- Dialog.resetDefaultOptions();var _default =
- Dialog;exports.default = _default;
- /***/ }),
- /* 666 */,
- /* 667 */,
- /* 668 */,
- /* 669 */,
- /* 670 */,
- /* 671 */,
- /* 672 */,
- /* 673 */,
- /* 674 */
- /*!*************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/home.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.banner = banner;exports.notice = notice;exports.prod = prod;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 首页轮播图接口
- function banner() {
- return (0, _request.default)({
- url: '/indexImgs',
- method: 'get' });
- }
- // 通知栏
- function notice() {
- return (0, _request.default)({
- url: '/shop/notice/noticeList',
- method: 'get' });
- }
- // 商品列表
- function prod() {
- return (0, _request.default)({
- url: "/prod/tagProdList",
- method: "get" });
- }
- /***/ }),
- /* 675 */,
- /* 676 */,
- /* 677 */,
- /* 678 */,
- /* 679 */,
- /* 680 */,
- /* 681 */,
- /* 682 */,
- /* 683 */
- /*!*****************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/json/areas.json ***!
- \*****************************************************************************/
- /*! exports provided: 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, 26, 27, 28, 29, 30, default */
- /***/ (function(module) {
- module.exports = JSON.parse("[{\"value\":\"110000\",\"label\":\"北京市\",\"children\":[{\"value\":\"110100\",\"label\":\"市辖区\",\"children\":[{\"value\":\"110101\",\"label\":\"东城区\"},{\"value\":\"110102\",\"label\":\"西城区\"},{\"value\":\"110105\",\"label\":\"朝阳区\"},{\"value\":\"110106\",\"label\":\"丰台区\"},{\"value\":\"110107\",\"label\":\"石景山区\"},{\"value\":\"110108\",\"label\":\"海淀区\"},{\"value\":\"110109\",\"label\":\"门头沟区\"},{\"value\":\"110111\",\"label\":\"房山区\"},{\"value\":\"110112\",\"label\":\"通州区\"},{\"value\":\"110113\",\"label\":\"顺义区\"},{\"value\":\"110114\",\"label\":\"昌平区\"},{\"value\":\"110115\",\"label\":\"大兴区\"},{\"value\":\"110116\",\"label\":\"怀柔区\"},{\"value\":\"110117\",\"label\":\"平谷区\"},{\"value\":\"110118\",\"label\":\"密云区\"},{\"value\":\"110119\",\"label\":\"延庆区\"}]}]},{\"value\":\"120000\",\"label\":\"天津市\",\"children\":[{\"value\":\"120100\",\"label\":\"市辖区\",\"children\":[{\"value\":\"120101\",\"label\":\"和平区\"},{\"value\":\"120102\",\"label\":\"河东区\"},{\"value\":\"120103\",\"label\":\"河西区\"},{\"value\":\"120104\",\"label\":\"南开区\"},{\"value\":\"120105\",\"label\":\"河北区\"},{\"value\":\"120106\",\"label\":\"红桥区\"},{\"value\":\"120110\",\"label\":\"东丽区\"},{\"value\":\"120111\",\"label\":\"西青区\"},{\"value\":\"120112\",\"label\":\"津南区\"},{\"value\":\"120113\",\"label\":\"北辰区\"},{\"value\":\"120114\",\"label\":\"武清区\"},{\"value\":\"120115\",\"label\":\"宝坻区\"},{\"value\":\"120116\",\"label\":\"滨海新区\"},{\"value\":\"120117\",\"label\":\"宁河区\"},{\"value\":\"120118\",\"label\":\"静海区\"},{\"value\":\"120119\",\"label\":\"蓟州区\"}]}]},{\"value\":\"130000\",\"label\":\"河北省\",\"children\":[{\"value\":\"130100\",\"label\":\"石家庄市\",\"children\":[{\"value\":\"130102\",\"label\":\"长安区\"},{\"value\":\"130104\",\"label\":\"桥西区\"},{\"value\":\"130105\",\"label\":\"新华区\"},{\"value\":\"130107\",\"label\":\"井陉矿区\"},{\"value\":\"130108\",\"label\":\"裕华区\"},{\"value\":\"130109\",\"label\":\"藁城区\"},{\"value\":\"130110\",\"label\":\"鹿泉区\"},{\"value\":\"130111\",\"label\":\"栾城区\"},{\"value\":\"130121\",\"label\":\"井陉县\"},{\"value\":\"130123\",\"label\":\"正定县\"},{\"value\":\"130125\",\"label\":\"行唐县\"},{\"value\":\"130126\",\"label\":\"灵寿县\"},{\"value\":\"130127\",\"label\":\"高邑县\"},{\"value\":\"130128\",\"label\":\"深泽县\"},{\"value\":\"130129\",\"label\":\"赞皇县\"},{\"value\":\"130130\",\"label\":\"无极县\"},{\"value\":\"130131\",\"label\":\"平山县\"},{\"value\":\"130132\",\"label\":\"元氏县\"},{\"value\":\"130133\",\"label\":\"赵县\"},{\"value\":\"130171\",\"label\":\"石家庄高新技术产业开发区\"},{\"value\":\"130172\",\"label\":\"石家庄循环化工园区\"},{\"value\":\"130181\",\"label\":\"辛集市\"},{\"value\":\"130183\",\"label\":\"晋州市\"},{\"value\":\"130184\",\"label\":\"新乐市\"}]},{\"value\":\"130200\",\"label\":\"唐山市\",\"children\":[{\"value\":\"130202\",\"label\":\"路南区\"},{\"value\":\"130203\",\"label\":\"路北区\"},{\"value\":\"130204\",\"label\":\"古冶区\"},{\"value\":\"130205\",\"label\":\"开平区\"},{\"value\":\"130207\",\"label\":\"丰南区\"},{\"value\":\"130208\",\"label\":\"丰润区\"},{\"value\":\"130209\",\"label\":\"曹妃甸区\"},{\"value\":\"130224\",\"label\":\"滦南县\"},{\"value\":\"130225\",\"label\":\"乐亭县\"},{\"value\":\"130227\",\"label\":\"迁西县\"},{\"value\":\"130229\",\"label\":\"玉田县\"},{\"value\":\"130271\",\"label\":\"河北唐山芦台经济开发区\"},{\"value\":\"130272\",\"label\":\"唐山市汉沽管理区\"},{\"value\":\"130273\",\"label\":\"唐山高新技术产业开发区\"},{\"value\":\"130274\",\"label\":\"河北唐山海港经济开发区\"},{\"value\":\"130281\",\"label\":\"遵化市\"},{\"value\":\"130283\",\"label\":\"迁安市\"},{\"value\":\"130284\",\"label\":\"滦州市\"}]},{\"value\":\"130300\",\"label\":\"秦皇岛市\",\"children\":[{\"value\":\"130302\",\"label\":\"海港区\"},{\"value\":\"130303\",\"label\":\"山海关区\"},{\"value\":\"130304\",\"label\":\"北戴河区\"},{\"value\":\"130306\",\"label\":\"抚宁区\"},{\"value\":\"130321\",\"label\":\"青龙满族自治县\"},{\"value\":\"130322\",\"label\":\"昌黎县\"},{\"value\":\"130324\",\"label\":\"卢龙县\"},{\"value\":\"130371\",\"label\":\"秦皇岛市经济技术开发区\"},{\"value\":\"130372\",\"label\":\"北戴河新区\"}]},{\"value\":\"130400\",\"label\":\"邯郸市\",\"children\":[{\"value\":\"130402\",\"label\":\"邯山区\"},{\"value\":\"130403\",\"label\":\"丛台区\"},{\"value\":\"130404\",\"label\":\"复兴区\"},{\"value\":\"130406\",\"label\":\"峰峰矿区\"},{\"value\":\"130407\",\"label\":\"肥乡区\"},{\"value\":\"130408\",\"label\":\"永年区\"},{\"value\":\"130423\",\"label\":\"临漳县\"},{\"value\":\"130424\",\"label\":\"成安县\"},{\"value\":\"130425\",\"label\":\"大名县\"},{\"value\":\"130426\",\"label\":\"涉县\"},{\"value\":\"130427\",\"label\":\"磁县\"},{\"value\":\"130430\",\"label\":\"邱县\"},{\"value\":\"130431\",\"label\":\"鸡泽县\"},{\"value\":\"130432\",\"label\":\"广平县\"},{\"value\":\"130433\",\"label\":\"馆陶县\"},{\"value\":\"130434\",\"label\":\"魏县\"},{\"value\":\"130435\",\"label\":\"曲周县\"},{\"value\":\"130471\",\"label\":\"邯郸经济技术开发区\"},{\"value\":\"130473\",\"label\":\"邯郸冀南新区\"},{\"value\":\"130481\",\"label\":\"武安市\"}]},{\"value\":\"130500\",\"label\":\"邢台市\",\"children\":[{\"value\":\"130502\",\"label\":\"襄都区\"},{\"value\":\"130503\",\"label\":\"信都区\"},{\"value\":\"130505\",\"label\":\"任泽区\"},{\"value\":\"130506\",\"label\":\"南和区\"},{\"value\":\"130522\",\"label\":\"临城县\"},{\"value\":\"130523\",\"label\":\"内丘县\"},{\"value\":\"130524\",\"label\":\"柏乡县\"},{\"value\":\"130525\",\"label\":\"隆尧县\"},{\"value\":\"130528\",\"label\":\"宁晋县\"},{\"value\":\"130529\",\"label\":\"巨鹿县\"},{\"value\":\"130530\",\"label\":\"新河县\"},{\"value\":\"130531\",\"label\":\"广宗县\"},{\"value\":\"130532\",\"label\":\"平乡县\"},{\"value\":\"130533\",\"label\":\"威县\"},{\"value\":\"130534\",\"label\":\"清河县\"},{\"value\":\"130535\",\"label\":\"临西县\"},{\"value\":\"130571\",\"label\":\"河北邢台经济开发区\"},{\"value\":\"130581\",\"label\":\"南宫市\"},{\"value\":\"130582\",\"label\":\"沙河市\"}]},{\"value\":\"130600\",\"label\":\"保定市\",\"children\":[{\"value\":\"130602\",\"label\":\"竞秀区\"},{\"value\":\"130606\",\"label\":\"莲池区\"},{\"value\":\"130607\",\"label\":\"满城区\"},{\"value\":\"130608\",\"label\":\"清苑区\"},{\"value\":\"130609\",\"label\":\"徐水区\"},{\"value\":\"130623\",\"label\":\"涞水县\"},{\"value\":\"130624\",\"label\":\"阜平县\"},{\"value\":\"130626\",\"label\":\"定兴县\"},{\"value\":\"130627\",\"label\":\"唐县\"},{\"value\":\"130628\",\"label\":\"高阳县\"},{\"value\":\"130629\",\"label\":\"容城县\"},{\"value\":\"130630\",\"label\":\"涞源县\"},{\"value\":\"130631\",\"label\":\"望都县\"},{\"value\":\"130632\",\"label\":\"安新县\"},{\"value\":\"130633\",\"label\":\"易县\"},{\"value\":\"130634\",\"label\":\"曲阳县\"},{\"value\":\"130635\",\"label\":\"蠡县\"},{\"value\":\"130636\",\"label\":\"顺平县\"},{\"value\":\"130637\",\"label\":\"博野县\"},{\"value\":\"130638\",\"label\":\"雄县\"},{\"value\":\"130671\",\"label\":\"保定高新技术产业开发区\"},{\"value\":\"130672\",\"label\":\"保定白沟新城\"},{\"value\":\"130681\",\"label\":\"涿州市\"},{\"value\":\"130682\",\"label\":\"定州市\"},{\"value\":\"130683\",\"label\":\"安国市\"},{\"value\":\"130684\",\"label\":\"高碑店市\"}]},{\"value\":\"130700\",\"label\":\"张家口市\",\"children\":[{\"value\":\"130702\",\"label\":\"桥东区\"},{\"value\":\"130703\",\"label\":\"桥西区\"},{\"value\":\"130705\",\"label\":\"宣化区\"},{\"value\":\"130706\",\"label\":\"下花园区\"},{\"value\":\"130708\",\"label\":\"万全区\"},{\"value\":\"130709\",\"label\":\"崇礼区\"},{\"value\":\"130722\",\"label\":\"张北县\"},{\"value\":\"130723\",\"label\":\"康保县\"},{\"value\":\"130724\",\"label\":\"沽源县\"},{\"value\":\"130725\",\"label\":\"尚义县\"},{\"value\":\"130726\",\"label\":\"蔚县\"},{\"value\":\"130727\",\"label\":\"阳原县\"},{\"value\":\"130728\",\"label\":\"怀安县\"},{\"value\":\"130730\",\"label\":\"怀来县\"},{\"value\":\"130731\",\"label\":\"涿鹿县\"},{\"value\":\"130732\",\"label\":\"赤城县\"},{\"value\":\"130771\",\"label\":\"张家口经济开发区\"},{\"value\":\"130772\",\"label\":\"张家口市察北管理区\"},{\"value\":\"130773\",\"label\":\"张家口市塞北管理区\"}]},{\"value\":\"130800\",\"label\":\"承德市\",\"children\":[{\"value\":\"130802\",\"label\":\"双桥区\"},{\"value\":\"130803\",\"label\":\"双滦区\"},{\"value\":\"130804\",\"label\":\"鹰手营子矿区\"},{\"value\":\"130821\",\"label\":\"承德县\"},{\"value\":\"130822\",\"label\":\"兴隆县\"},{\"value\":\"130824\",\"label\":\"滦平县\"},{\"value\":\"130825\",\"label\":\"隆化县\"},{\"value\":\"130826\",\"label\":\"丰宁满族自治县\"},{\"value\":\"130827\",\"label\":\"宽城满族自治县\"},{\"value\":\"130828\",\"label\":\"围场满族蒙古族自治县\"},{\"value\":\"130871\",\"label\":\"承德高新技术产业开发区\"},{\"value\":\"130881\",\"label\":\"平泉市\"}]},{\"value\":\"130900\",\"label\":\"沧州市\",\"children\":[{\"value\":\"130902\",\"label\":\"新华区\"},{\"value\":\"130903\",\"label\":\"运河区\"},{\"value\":\"130921\",\"label\":\"沧县\"},{\"value\":\"130922\",\"label\":\"青县\"},{\"value\":\"130923\",\"label\":\"东光县\"},{\"value\":\"130924\",\"label\":\"海兴县\"},{\"value\":\"130925\",\"label\":\"盐山县\"},{\"value\":\"130926\",\"label\":\"肃宁县\"},{\"value\":\"130927\",\"label\":\"南皮县\"},{\"value\":\"130928\",\"label\":\"吴桥县\"},{\"value\":\"130929\",\"label\":\"献县\"},{\"value\":\"130930\",\"label\":\"孟村回族自治县\"},{\"value\":\"130971\",\"label\":\"河北沧州经济开发区\"},{\"value\":\"130972\",\"label\":\"沧州高新技术产业开发区\"},{\"value\":\"130973\",\"label\":\"沧州渤海新区\"},{\"value\":\"130981\",\"label\":\"泊头市\"},{\"value\":\"130982\",\"label\":\"任丘市\"},{\"value\":\"130983\",\"label\":\"黄骅市\"},{\"value\":\"130984\",\"label\":\"河间市\"}]},{\"value\":\"131000\",\"label\":\"廊坊市\",\"children\":[{\"value\":\"131002\",\"label\":\"安次区\"},{\"value\":\"131003\",\"label\":\"广阳区\"},{\"value\":\"131022\",\"label\":\"固安县\"},{\"value\":\"131023\",\"label\":\"永清县\"},{\"value\":\"131024\",\"label\":\"香河县\"},{\"value\":\"131025\",\"label\":\"大城县\"},{\"value\":\"131026\",\"label\":\"文安县\"},{\"value\":\"131028\",\"label\":\"大厂回族自治县\"},{\"value\":\"131071\",\"label\":\"廊坊经济技术开发区\"},{\"value\":\"131081\",\"label\":\"霸州市\"},{\"value\":\"131082\",\"label\":\"三河市\"}]},{\"value\":\"131100\",\"label\":\"衡水市\",\"children\":[{\"value\":\"131102\",\"label\":\"桃城区\"},{\"value\":\"131103\",\"label\":\"冀州区\"},{\"value\":\"131121\",\"label\":\"枣强县\"},{\"value\":\"131122\",\"label\":\"武邑县\"},{\"value\":\"131123\",\"label\":\"武强县\"},{\"value\":\"131124\",\"label\":\"饶阳县\"},{\"value\":\"131125\",\"label\":\"安平县\"},{\"value\":\"131126\",\"label\":\"故城县\"},{\"value\":\"131127\",\"label\":\"景县\"},{\"value\":\"131128\",\"label\":\"阜城县\"},{\"value\":\"131171\",\"label\":\"河北衡水高新技术产业开发区\"},{\"value\":\"131172\",\"label\":\"衡水滨湖新区\"},{\"value\":\"131182\",\"label\":\"深州市\"}]}]},{\"value\":\"140000\",\"label\":\"山西省\",\"children\":[{\"value\":\"140100\",\"label\":\"太原市\",\"children\":[{\"value\":\"140105\",\"label\":\"小店区\"},{\"value\":\"140106\",\"label\":\"迎泽区\"},{\"value\":\"140107\",\"label\":\"杏花岭区\"},{\"value\":\"140108\",\"label\":\"尖草坪区\"},{\"value\":\"140109\",\"label\":\"万柏林区\"},{\"value\":\"140110\",\"label\":\"晋源区\"},{\"value\":\"140121\",\"label\":\"清徐县\"},{\"value\":\"140122\",\"label\":\"阳曲县\"},{\"value\":\"140123\",\"label\":\"娄烦县\"},{\"value\":\"140171\",\"label\":\"山西转型综合改革示范区\"},{\"value\":\"140181\",\"label\":\"古交市\"}]},{\"value\":\"140200\",\"label\":\"大同市\",\"children\":[{\"value\":\"140212\",\"label\":\"新荣区\"},{\"value\":\"140213\",\"label\":\"平城区\"},{\"value\":\"140214\",\"label\":\"云冈区\"},{\"value\":\"140215\",\"label\":\"云州区\"},{\"value\":\"140221\",\"label\":\"阳高县\"},{\"value\":\"140222\",\"label\":\"天镇县\"},{\"value\":\"140223\",\"label\":\"广灵县\"},{\"value\":\"140224\",\"label\":\"灵丘县\"},{\"value\":\"140225\",\"label\":\"浑源县\"},{\"value\":\"140226\",\"label\":\"左云县\"},{\"value\":\"140271\",\"label\":\"山西大同经济开发区\"}]},{\"value\":\"140300\",\"label\":\"阳泉市\",\"children\":[{\"value\":\"140302\",\"label\":\"城区\"},{\"value\":\"140303\",\"label\":\"矿区\"},{\"value\":\"140311\",\"label\":\"郊区\"},{\"value\":\"140321\",\"label\":\"平定县\"},{\"value\":\"140322\",\"label\":\"盂县\"}]},{\"value\":\"140400\",\"label\":\"长治市\",\"children\":[{\"value\":\"140403\",\"label\":\"潞州区\"},{\"value\":\"140404\",\"label\":\"上党区\"},{\"value\":\"140405\",\"label\":\"屯留区\"},{\"value\":\"140406\",\"label\":\"潞城区\"},{\"value\":\"140423\",\"label\":\"襄垣县\"},{\"value\":\"140425\",\"label\":\"平顺县\"},{\"value\":\"140426\",\"label\":\"黎城县\"},{\"value\":\"140427\",\"label\":\"壶关县\"},{\"value\":\"140428\",\"label\":\"长子县\"},{\"value\":\"140429\",\"label\":\"武乡县\"},{\"value\":\"140430\",\"label\":\"沁县\"},{\"value\":\"140431\",\"label\":\"沁源县\"},{\"value\":\"140471\",\"label\":\"山西长治高新技术产业园区\"}]},{\"value\":\"140500\",\"label\":\"晋城市\",\"children\":[{\"value\":\"140502\",\"label\":\"城区\"},{\"value\":\"140521\",\"label\":\"沁水县\"},{\"value\":\"140522\",\"label\":\"阳城县\"},{\"value\":\"140524\",\"label\":\"陵川县\"},{\"value\":\"140525\",\"label\":\"泽州县\"},{\"value\":\"140581\",\"label\":\"高平市\"}]},{\"value\":\"140600\",\"label\":\"朔州市\",\"children\":[{\"value\":\"140602\",\"label\":\"朔城区\"},{\"value\":\"140603\",\"label\":\"平鲁区\"},{\"value\":\"140621\",\"label\":\"山阴县\"},{\"value\":\"140622\",\"label\":\"应县\"},{\"value\":\"140623\",\"label\":\"右玉县\"},{\"value\":\"140671\",\"label\":\"山西朔州经济开发区\"},{\"value\":\"140681\",\"label\":\"怀仁市\"}]},{\"value\":\"140700\",\"label\":\"晋中市\",\"children\":[{\"value\":\"140702\",\"label\":\"榆次区\"},{\"value\":\"140703\",\"label\":\"太谷区\"},{\"value\":\"140721\",\"label\":\"榆社县\"},{\"value\":\"140722\",\"label\":\"左权县\"},{\"value\":\"140723\",\"label\":\"和顺县\"},{\"value\":\"140724\",\"label\":\"昔阳县\"},{\"value\":\"140725\",\"label\":\"寿阳县\"},{\"value\":\"140727\",\"label\":\"祁县\"},{\"value\":\"140728\",\"label\":\"平遥县\"},{\"value\":\"140729\",\"label\":\"灵石县\"},{\"value\":\"140781\",\"label\":\"介休市\"}]},{\"value\":\"140800\",\"label\":\"运城市\",\"children\":[{\"value\":\"140802\",\"label\":\"盐湖区\"},{\"value\":\"140821\",\"label\":\"临猗县\"},{\"value\":\"140822\",\"label\":\"万荣县\"},{\"value\":\"140823\",\"label\":\"闻喜县\"},{\"value\":\"140824\",\"label\":\"稷山县\"},{\"value\":\"140825\",\"label\":\"新绛县\"},{\"value\":\"140826\",\"label\":\"绛县\"},{\"value\":\"140827\",\"label\":\"垣曲县\"},{\"value\":\"140828\",\"label\":\"夏县\"},{\"value\":\"140829\",\"label\":\"平陆县\"},{\"value\":\"140830\",\"label\":\"芮城县\"},{\"value\":\"140881\",\"label\":\"永济市\"},{\"value\":\"140882\",\"label\":\"河津市\"}]},{\"value\":\"140900\",\"label\":\"忻州市\",\"children\":[{\"value\":\"140902\",\"label\":\"忻府区\"},{\"value\":\"140921\",\"label\":\"定襄县\"},{\"value\":\"140922\",\"label\":\"五台县\"},{\"value\":\"140923\",\"label\":\"代县\"},{\"value\":\"140924\",\"label\":\"繁峙县\"},{\"value\":\"140925\",\"label\":\"宁武县\"},{\"value\":\"140926\",\"label\":\"静乐县\"},{\"value\":\"140927\",\"label\":\"神池县\"},{\"value\":\"140928\",\"label\":\"五寨县\"},{\"value\":\"140929\",\"label\":\"岢岚县\"},{\"value\":\"140930\",\"label\":\"河曲县\"},{\"value\":\"140931\",\"label\":\"保德县\"},{\"value\":\"140932\",\"label\":\"偏关县\"},{\"value\":\"140971\",\"label\":\"五台山风景名胜区\"},{\"value\":\"140981\",\"label\":\"原平市\"}]},{\"value\":\"141000\",\"label\":\"临汾市\",\"children\":[{\"value\":\"141002\",\"label\":\"尧都区\"},{\"value\":\"141021\",\"label\":\"曲沃县\"},{\"value\":\"141022\",\"label\":\"翼城县\"},{\"value\":\"141023\",\"label\":\"襄汾县\"},{\"value\":\"141024\",\"label\":\"洪洞县\"},{\"value\":\"141025\",\"label\":\"古县\"},{\"value\":\"141026\",\"label\":\"安泽县\"},{\"value\":\"141027\",\"label\":\"浮山县\"},{\"value\":\"141028\",\"label\":\"吉县\"},{\"value\":\"141029\",\"label\":\"乡宁县\"},{\"value\":\"141030\",\"label\":\"大宁县\"},{\"value\":\"141031\",\"label\":\"隰县\"},{\"value\":\"141032\",\"label\":\"永和县\"},{\"value\":\"141033\",\"label\":\"蒲县\"},{\"value\":\"141034\",\"label\":\"汾西县\"},{\"value\":\"141081\",\"label\":\"侯马市\"},{\"value\":\"141082\",\"label\":\"霍州市\"}]},{\"value\":\"141100\",\"label\":\"吕梁市\",\"children\":[{\"value\":\"141102\",\"label\":\"离石区\"},{\"value\":\"141121\",\"label\":\"文水县\"},{\"value\":\"141122\",\"label\":\"交城县\"},{\"value\":\"141123\",\"label\":\"兴县\"},{\"value\":\"141124\",\"label\":\"临县\"},{\"value\":\"141125\",\"label\":\"柳林县\"},{\"value\":\"141126\",\"label\":\"石楼县\"},{\"value\":\"141127\",\"label\":\"岚县\"},{\"value\":\"141128\",\"label\":\"方山县\"},{\"value\":\"141129\",\"label\":\"中阳县\"},{\"value\":\"141130\",\"label\":\"交口县\"},{\"value\":\"141181\",\"label\":\"孝义市\"},{\"value\":\"141182\",\"label\":\"汾阳市\"}]}]},{\"value\":\"150000\",\"label\":\"内蒙古自治区\",\"children\":[{\"value\":\"150100\",\"label\":\"呼和浩特市\",\"children\":[{\"value\":\"150102\",\"label\":\"新城区\"},{\"value\":\"150103\",\"label\":\"回民区\"},{\"value\":\"150104\",\"label\":\"玉泉区\"},{\"value\":\"150105\",\"label\":\"赛罕区\"},{\"value\":\"150121\",\"label\":\"土默特左旗\"},{\"value\":\"150122\",\"label\":\"托克托县\"},{\"value\":\"150123\",\"label\":\"和林格尔县\"},{\"value\":\"150124\",\"label\":\"清水河县\"},{\"value\":\"150125\",\"label\":\"武川县\"},{\"value\":\"150172\",\"label\":\"呼和浩特经济技术开发区\"}]},{\"value\":\"150200\",\"label\":\"包头市\",\"children\":[{\"value\":\"150202\",\"label\":\"东河区\"},{\"value\":\"150203\",\"label\":\"昆都仑区\"},{\"value\":\"150204\",\"label\":\"青山区\"},{\"value\":\"150205\",\"label\":\"石拐区\"},{\"value\":\"150206\",\"label\":\"白云鄂博矿区\"},{\"value\":\"150207\",\"label\":\"九原区\"},{\"value\":\"150221\",\"label\":\"土默特右旗\"},{\"value\":\"150222\",\"label\":\"固阳县\"},{\"value\":\"150223\",\"label\":\"达尔罕茂明安联合旗\"},{\"value\":\"150271\",\"label\":\"包头稀土高新技术产业开发区\"}]},{\"value\":\"150300\",\"label\":\"乌海市\",\"children\":[{\"value\":\"150302\",\"label\":\"海勃湾区\"},{\"value\":\"150303\",\"label\":\"海南区\"},{\"value\":\"150304\",\"label\":\"乌达区\"}]},{\"value\":\"150400\",\"label\":\"赤峰市\",\"children\":[{\"value\":\"150402\",\"label\":\"红山区\"},{\"value\":\"150403\",\"label\":\"元宝山区\"},{\"value\":\"150404\",\"label\":\"松山区\"},{\"value\":\"150421\",\"label\":\"阿鲁科尔沁旗\"},{\"value\":\"150422\",\"label\":\"巴林左旗\"},{\"value\":\"150423\",\"label\":\"巴林右旗\"},{\"value\":\"150424\",\"label\":\"林西县\"},{\"value\":\"150425\",\"label\":\"克什克腾旗\"},{\"value\":\"150426\",\"label\":\"翁牛特旗\"},{\"value\":\"150428\",\"label\":\"喀喇沁旗\"},{\"value\":\"150429\",\"label\":\"宁城县\"},{\"value\":\"150430\",\"label\":\"敖汉旗\"}]},{\"value\":\"150500\",\"label\":\"通辽市\",\"children\":[{\"value\":\"150502\",\"label\":\"科尔沁区\"},{\"value\":\"150521\",\"label\":\"科尔沁左翼中旗\"},{\"value\":\"150522\",\"label\":\"科尔沁左翼后旗\"},{\"value\":\"150523\",\"label\":\"开鲁县\"},{\"value\":\"150524\",\"label\":\"库伦旗\"},{\"value\":\"150525\",\"label\":\"奈曼旗\"},{\"value\":\"150526\",\"label\":\"扎鲁特旗\"},{\"value\":\"150571\",\"label\":\"通辽经济技术开发区\"},{\"value\":\"150581\",\"label\":\"霍林郭勒市\"}]},{\"value\":\"150600\",\"label\":\"鄂尔多斯市\",\"children\":[{\"value\":\"150602\",\"label\":\"东胜区\"},{\"value\":\"150603\",\"label\":\"康巴什区\"},{\"value\":\"150621\",\"label\":\"达拉特旗\"},{\"value\":\"150622\",\"label\":\"准格尔旗\"},{\"value\":\"150623\",\"label\":\"鄂托克前旗\"},{\"value\":\"150624\",\"label\":\"鄂托克旗\"},{\"value\":\"150625\",\"label\":\"杭锦旗\"},{\"value\":\"150626\",\"label\":\"乌审旗\"},{\"value\":\"150627\",\"label\":\"伊金霍洛旗\"}]},{\"value\":\"150700\",\"label\":\"呼伦贝尔市\",\"children\":[{\"value\":\"150702\",\"label\":\"海拉尔区\"},{\"value\":\"150703\",\"label\":\"扎赉诺尔区\"},{\"value\":\"150721\",\"label\":\"阿荣旗\"},{\"value\":\"150722\",\"label\":\"莫力达瓦达斡尔族自治旗\"},{\"value\":\"150723\",\"label\":\"鄂伦春自治旗\"},{\"value\":\"150724\",\"label\":\"鄂温克族自治旗\"},{\"value\":\"150725\",\"label\":\"陈巴尔虎旗\"},{\"value\":\"150726\",\"label\":\"新巴尔虎左旗\"},{\"value\":\"150727\",\"label\":\"新巴尔虎右旗\"},{\"value\":\"150781\",\"label\":\"满洲里市\"},{\"value\":\"150782\",\"label\":\"牙克石市\"},{\"value\":\"150783\",\"label\":\"扎兰屯市\"},{\"value\":\"150784\",\"label\":\"额尔古纳市\"},{\"value\":\"150785\",\"label\":\"根河市\"}]},{\"value\":\"150800\",\"label\":\"巴彦淖尔市\",\"children\":[{\"value\":\"150802\",\"label\":\"临河区\"},{\"value\":\"150821\",\"label\":\"五原县\"},{\"value\":\"150822\",\"label\":\"磴口县\"},{\"value\":\"150823\",\"label\":\"乌拉特前旗\"},{\"value\":\"150824\",\"label\":\"乌拉特中旗\"},{\"value\":\"150825\",\"label\":\"乌拉特后旗\"},{\"value\":\"150826\",\"label\":\"杭锦后旗\"}]},{\"value\":\"150900\",\"label\":\"乌兰察布市\",\"children\":[{\"value\":\"150902\",\"label\":\"集宁区\"},{\"value\":\"150921\",\"label\":\"卓资县\"},{\"value\":\"150922\",\"label\":\"化德县\"},{\"value\":\"150923\",\"label\":\"商都县\"},{\"value\":\"150924\",\"label\":\"兴和县\"},{\"value\":\"150925\",\"label\":\"凉城县\"},{\"value\":\"150926\",\"label\":\"察哈尔右翼前旗\"},{\"value\":\"150927\",\"label\":\"察哈尔右翼中旗\"},{\"value\":\"150928\",\"label\":\"察哈尔右翼后旗\"},{\"value\":\"150929\",\"label\":\"四子王旗\"},{\"value\":\"150981\",\"label\":\"丰镇市\"}]},{\"value\":\"152200\",\"label\":\"兴安盟\",\"children\":[{\"value\":\"152201\",\"label\":\"乌兰浩特市\"},{\"value\":\"152202\",\"label\":\"阿尔山市\"},{\"value\":\"152221\",\"label\":\"科尔沁右翼前旗\"},{\"value\":\"152222\",\"label\":\"科尔沁右翼中旗\"},{\"value\":\"152223\",\"label\":\"扎赉特旗\"},{\"value\":\"152224\",\"label\":\"突泉县\"}]},{\"value\":\"152500\",\"label\":\"锡林郭勒盟\",\"children\":[{\"value\":\"152501\",\"label\":\"二连浩特市\"},{\"value\":\"152502\",\"label\":\"锡林浩特市\"},{\"value\":\"152522\",\"label\":\"阿巴嘎旗\"},{\"value\":\"152523\",\"label\":\"苏尼特左旗\"},{\"value\":\"152524\",\"label\":\"苏尼特右旗\"},{\"value\":\"152525\",\"label\":\"东乌珠穆沁旗\"},{\"value\":\"152526\",\"label\":\"西乌珠穆沁旗\"},{\"value\":\"152527\",\"label\":\"太仆寺旗\"},{\"value\":\"152528\",\"label\":\"镶黄旗\"},{\"value\":\"152529\",\"label\":\"正镶白旗\"},{\"value\":\"152530\",\"label\":\"正蓝旗\"},{\"value\":\"152531\",\"label\":\"多伦县\"},{\"value\":\"152571\",\"label\":\"乌拉盖管委会\"}]},{\"value\":\"152900\",\"label\":\"阿拉善盟\",\"children\":[{\"value\":\"152921\",\"label\":\"阿拉善左旗\"},{\"value\":\"152922\",\"label\":\"阿拉善右旗\"},{\"value\":\"152923\",\"label\":\"额济纳旗\"},{\"value\":\"152971\",\"label\":\"内蒙古阿拉善经济开发区\"}]}]},{\"value\":\"210000\",\"label\":\"辽宁省\",\"children\":[{\"value\":\"210100\",\"label\":\"沈阳市\",\"children\":[{\"value\":\"210102\",\"label\":\"和平区\"},{\"value\":\"210103\",\"label\":\"沈河区\"},{\"value\":\"210104\",\"label\":\"大东区\"},{\"value\":\"210105\",\"label\":\"皇姑区\"},{\"value\":\"210106\",\"label\":\"铁西区\"},{\"value\":\"210111\",\"label\":\"苏家屯区\"},{\"value\":\"210112\",\"label\":\"浑南区\"},{\"value\":\"210113\",\"label\":\"沈北新区\"},{\"value\":\"210114\",\"label\":\"于洪区\"},{\"value\":\"210115\",\"label\":\"辽中区\"},{\"value\":\"210123\",\"label\":\"康平县\"},{\"value\":\"210124\",\"label\":\"法库县\"},{\"value\":\"210181\",\"label\":\"新民市\"}]},{\"value\":\"210200\",\"label\":\"大连市\",\"children\":[{\"value\":\"210202\",\"label\":\"中山区\"},{\"value\":\"210203\",\"label\":\"西岗区\"},{\"value\":\"210204\",\"label\":\"沙河口区\"},{\"value\":\"210211\",\"label\":\"甘井子区\"},{\"value\":\"210212\",\"label\":\"旅顺口区\"},{\"value\":\"210213\",\"label\":\"金州区\"},{\"value\":\"210214\",\"label\":\"普兰店区\"},{\"value\":\"210224\",\"label\":\"长海县\"},{\"value\":\"210281\",\"label\":\"瓦房店市\"},{\"value\":\"210283\",\"label\":\"庄河市\"}]},{\"value\":\"210300\",\"label\":\"鞍山市\",\"children\":[{\"value\":\"210302\",\"label\":\"铁东区\"},{\"value\":\"210303\",\"label\":\"铁西区\"},{\"value\":\"210304\",\"label\":\"立山区\"},{\"value\":\"210311\",\"label\":\"千山区\"},{\"value\":\"210321\",\"label\":\"台安县\"},{\"value\":\"210323\",\"label\":\"岫岩满族自治县\"},{\"value\":\"210381\",\"label\":\"海城市\"}]},{\"value\":\"210400\",\"label\":\"抚顺市\",\"children\":[{\"value\":\"210402\",\"label\":\"新抚区\"},{\"value\":\"210403\",\"label\":\"东洲区\"},{\"value\":\"210404\",\"label\":\"望花区\"},{\"value\":\"210411\",\"label\":\"顺城区\"},{\"value\":\"210421\",\"label\":\"抚顺县\"},{\"value\":\"210422\",\"label\":\"新宾满族自治县\"},{\"value\":\"210423\",\"label\":\"清原满族自治县\"}]},{\"value\":\"210500\",\"label\":\"本溪市\",\"children\":[{\"value\":\"210502\",\"label\":\"平山区\"},{\"value\":\"210503\",\"label\":\"溪湖区\"},{\"value\":\"210504\",\"label\":\"明山区\"},{\"value\":\"210505\",\"label\":\"南芬区\"},{\"value\":\"210521\",\"label\":\"本溪满族自治县\"},{\"value\":\"210522\",\"label\":\"桓仁满族自治县\"}]},{\"value\":\"210600\",\"label\":\"丹东市\",\"children\":[{\"value\":\"210602\",\"label\":\"元宝区\"},{\"value\":\"210603\",\"label\":\"振兴区\"},{\"value\":\"210604\",\"label\":\"振安区\"},{\"value\":\"210624\",\"label\":\"宽甸满族自治县\"},{\"value\":\"210681\",\"label\":\"东港市\"},{\"value\":\"210682\",\"label\":\"凤城市\"}]},{\"value\":\"210700\",\"label\":\"锦州市\",\"children\":[{\"value\":\"210702\",\"label\":\"古塔区\"},{\"value\":\"210703\",\"label\":\"凌河区\"},{\"value\":\"210711\",\"label\":\"太和区\"},{\"value\":\"210726\",\"label\":\"黑山县\"},{\"value\":\"210727\",\"label\":\"义县\"},{\"value\":\"210781\",\"label\":\"凌海市\"},{\"value\":\"210782\",\"label\":\"北镇市\"}]},{\"value\":\"210800\",\"label\":\"营口市\",\"children\":[{\"value\":\"210802\",\"label\":\"站前区\"},{\"value\":\"210803\",\"label\":\"西市区\"},{\"value\":\"210804\",\"label\":\"鲅鱼圈区\"},{\"value\":\"210811\",\"label\":\"老边区\"},{\"value\":\"210881\",\"label\":\"盖州市\"},{\"value\":\"210882\",\"label\":\"大石桥市\"}]},{\"value\":\"210900\",\"label\":\"阜新市\",\"children\":[{\"value\":\"210902\",\"label\":\"海州区\"},{\"value\":\"210903\",\"label\":\"新邱区\"},{\"value\":\"210904\",\"label\":\"太平区\"},{\"value\":\"210905\",\"label\":\"清河门区\"},{\"value\":\"210911\",\"label\":\"细河区\"},{\"value\":\"210921\",\"label\":\"阜新蒙古族自治县\"},{\"value\":\"210922\",\"label\":\"彰武县\"}]},{\"value\":\"211000\",\"label\":\"辽阳市\",\"children\":[{\"value\":\"211002\",\"label\":\"白塔区\"},{\"value\":\"211003\",\"label\":\"文圣区\"},{\"value\":\"211004\",\"label\":\"宏伟区\"},{\"value\":\"211005\",\"label\":\"弓长岭区\"},{\"value\":\"211011\",\"label\":\"太子河区\"},{\"value\":\"211021\",\"label\":\"辽阳县\"},{\"value\":\"211081\",\"label\":\"灯塔市\"}]},{\"value\":\"211100\",\"label\":\"盘锦市\",\"children\":[{\"value\":\"211102\",\"label\":\"双台子区\"},{\"value\":\"211103\",\"label\":\"兴隆台区\"},{\"value\":\"211104\",\"label\":\"大洼区\"},{\"value\":\"211122\",\"label\":\"盘山县\"}]},{\"value\":\"211200\",\"label\":\"铁岭市\",\"children\":[{\"value\":\"211202\",\"label\":\"银州区\"},{\"value\":\"211204\",\"label\":\"清河区\"},{\"value\":\"211221\",\"label\":\"铁岭县\"},{\"value\":\"211223\",\"label\":\"西丰县\"},{\"value\":\"211224\",\"label\":\"昌图县\"},{\"value\":\"211281\",\"label\":\"调兵山市\"},{\"value\":\"211282\",\"label\":\"开原市\"}]},{\"value\":\"211300\",\"label\":\"朝阳市\",\"children\":[{\"value\":\"211302\",\"label\":\"双塔区\"},{\"value\":\"211303\",\"label\":\"龙城区\"},{\"value\":\"211321\",\"label\":\"朝阳县\"},{\"value\":\"211322\",\"label\":\"建平县\"},{\"value\":\"211324\",\"label\":\"喀喇沁左翼蒙古族自治县\"},{\"value\":\"211381\",\"label\":\"北票市\"},{\"value\":\"211382\",\"label\":\"凌源市\"}]},{\"value\":\"211400\",\"label\":\"葫芦岛市\",\"children\":[{\"value\":\"211402\",\"label\":\"连山区\"},{\"value\":\"211403\",\"label\":\"龙港区\"},{\"value\":\"211404\",\"label\":\"南票区\"},{\"value\":\"211421\",\"label\":\"绥中县\"},{\"value\":\"211422\",\"label\":\"建昌县\"},{\"value\":\"211481\",\"label\":\"兴城市\"}]}]},{\"value\":\"220000\",\"label\":\"吉林省\",\"children\":[{\"value\":\"220100\",\"label\":\"长春市\",\"children\":[{\"value\":\"220102\",\"label\":\"南关区\"},{\"value\":\"220103\",\"label\":\"宽城区\"},{\"value\":\"220104\",\"label\":\"朝阳区\"},{\"value\":\"220105\",\"label\":\"二道区\"},{\"value\":\"220106\",\"label\":\"绿园区\"},{\"value\":\"220112\",\"label\":\"双阳区\"},{\"value\":\"220113\",\"label\":\"九台区\"},{\"value\":\"220122\",\"label\":\"农安县\"},{\"value\":\"220171\",\"label\":\"长春经济技术开发区\"},{\"value\":\"220172\",\"label\":\"长春净月高新技术产业开发区\"},{\"value\":\"220173\",\"label\":\"长春高新技术产业开发区\"},{\"value\":\"220174\",\"label\":\"长春汽车经济技术开发区\"},{\"value\":\"220182\",\"label\":\"榆树市\"},{\"value\":\"220183\",\"label\":\"德惠市\"},{\"value\":\"220184\",\"label\":\"公主岭市\"}]},{\"value\":\"220200\",\"label\":\"吉林市\",\"children\":[{\"value\":\"220202\",\"label\":\"昌邑区\"},{\"value\":\"220203\",\"label\":\"龙潭区\"},{\"value\":\"220204\",\"label\":\"船营区\"},{\"value\":\"220211\",\"label\":\"丰满区\"},{\"value\":\"220221\",\"label\":\"永吉县\"},{\"value\":\"220271\",\"label\":\"吉林经济开发区\"},{\"value\":\"220272\",\"label\":\"吉林高新技术产业开发区\"},{\"value\":\"220273\",\"label\":\"吉林中国新加坡食品区\"},{\"value\":\"220281\",\"label\":\"蛟河市\"},{\"value\":\"220282\",\"label\":\"桦甸市\"},{\"value\":\"220283\",\"label\":\"舒兰市\"},{\"value\":\"220284\",\"label\":\"磐石市\"}]},{\"value\":\"220300\",\"label\":\"四平市\",\"children\":[{\"value\":\"220302\",\"label\":\"铁西区\"},{\"value\":\"220303\",\"label\":\"铁东区\"},{\"value\":\"220322\",\"label\":\"梨树县\"},{\"value\":\"220323\",\"label\":\"伊通满族自治县\"},{\"value\":\"220382\",\"label\":\"双辽市\"}]},{\"value\":\"220400\",\"label\":\"辽源市\",\"children\":[{\"value\":\"220402\",\"label\":\"龙山区\"},{\"value\":\"220403\",\"label\":\"西安区\"},{\"value\":\"220421\",\"label\":\"东丰县\"},{\"value\":\"220422\",\"label\":\"东辽县\"}]},{\"value\":\"220500\",\"label\":\"通化市\",\"children\":[{\"value\":\"220502\",\"label\":\"东昌区\"},{\"value\":\"220503\",\"label\":\"二道江区\"},{\"value\":\"220521\",\"label\":\"通化县\"},{\"value\":\"220523\",\"label\":\"辉南县\"},{\"value\":\"220524\",\"label\":\"柳河县\"},{\"value\":\"220581\",\"label\":\"梅河口市\"},{\"value\":\"220582\",\"label\":\"集安市\"}]},{\"value\":\"220600\",\"label\":\"白山市\",\"children\":[{\"value\":\"220602\",\"label\":\"浑江区\"},{\"value\":\"220605\",\"label\":\"江源区\"},{\"value\":\"220621\",\"label\":\"抚松县\"},{\"value\":\"220622\",\"label\":\"靖宇县\"},{\"value\":\"220623\",\"label\":\"长白朝鲜族自治县\"},{\"value\":\"220681\",\"label\":\"临江市\"}]},{\"value\":\"220700\",\"label\":\"松原市\",\"children\":[{\"value\":\"220702\",\"label\":\"宁江区\"},{\"value\":\"220721\",\"label\":\"前郭尔罗斯蒙古族自治县\"},{\"value\":\"220722\",\"label\":\"长岭县\"},{\"value\":\"220723\",\"label\":\"乾安县\"},{\"value\":\"220771\",\"label\":\"吉林松原经济开发区\"},{\"value\":\"220781\",\"label\":\"扶余市\"}]},{\"value\":\"220800\",\"label\":\"白城市\",\"children\":[{\"value\":\"220802\",\"label\":\"洮北区\"},{\"value\":\"220821\",\"label\":\"镇赉县\"},{\"value\":\"220822\",\"label\":\"通榆县\"},{\"value\":\"220871\",\"label\":\"吉林白城经济开发区\"},{\"value\":\"220881\",\"label\":\"洮南市\"},{\"value\":\"220882\",\"label\":\"大安市\"}]},{\"value\":\"222400\",\"label\":\"延边朝鲜族自治州\",\"children\":[{\"value\":\"222401\",\"label\":\"延吉市\"},{\"value\":\"222402\",\"label\":\"图们市\"},{\"value\":\"222403\",\"label\":\"敦化市\"},{\"value\":\"222404\",\"label\":\"珲春市\"},{\"value\":\"222405\",\"label\":\"龙井市\"},{\"value\":\"222406\",\"label\":\"和龙市\"},{\"value\":\"222424\",\"label\":\"汪清县\"},{\"value\":\"222426\",\"label\":\"安图县\"}]}]},{\"value\":\"230000\",\"label\":\"黑龙江省\",\"children\":[{\"value\":\"230100\",\"label\":\"哈尔滨市\",\"children\":[{\"value\":\"230102\",\"label\":\"道里区\"},{\"value\":\"230103\",\"label\":\"南岗区\"},{\"value\":\"230104\",\"label\":\"道外区\"},{\"value\":\"230108\",\"label\":\"平房区\"},{\"value\":\"230109\",\"label\":\"松北区\"},{\"value\":\"230110\",\"label\":\"香坊区\"},{\"value\":\"230111\",\"label\":\"呼兰区\"},{\"value\":\"230112\",\"label\":\"阿城区\"},{\"value\":\"230113\",\"label\":\"双城区\"},{\"value\":\"230123\",\"label\":\"依兰县\"},{\"value\":\"230124\",\"label\":\"方正县\"},{\"value\":\"230125\",\"label\":\"宾县\"},{\"value\":\"230126\",\"label\":\"巴彦县\"},{\"value\":\"230127\",\"label\":\"木兰县\"},{\"value\":\"230128\",\"label\":\"通河县\"},{\"value\":\"230129\",\"label\":\"延寿县\"},{\"value\":\"230183\",\"label\":\"尚志市\"},{\"value\":\"230184\",\"label\":\"五常市\"}]},{\"value\":\"230200\",\"label\":\"齐齐哈尔市\",\"children\":[{\"value\":\"230202\",\"label\":\"龙沙区\"},{\"value\":\"230203\",\"label\":\"建华区\"},{\"value\":\"230204\",\"label\":\"铁锋区\"},{\"value\":\"230205\",\"label\":\"昂昂溪区\"},{\"value\":\"230206\",\"label\":\"富拉尔基区\"},{\"value\":\"230207\",\"label\":\"碾子山区\"},{\"value\":\"230208\",\"label\":\"梅里斯达斡尔族区\"},{\"value\":\"230221\",\"label\":\"龙江县\"},{\"value\":\"230223\",\"label\":\"依安县\"},{\"value\":\"230224\",\"label\":\"泰来县\"},{\"value\":\"230225\",\"label\":\"甘南县\"},{\"value\":\"230227\",\"label\":\"富裕县\"},{\"value\":\"230229\",\"label\":\"克山县\"},{\"value\":\"230230\",\"label\":\"克东县\"},{\"value\":\"230231\",\"label\":\"拜泉县\"},{\"value\":\"230281\",\"label\":\"讷河市\"}]},{\"value\":\"230300\",\"label\":\"鸡西市\",\"children\":[{\"value\":\"230302\",\"label\":\"鸡冠区\"},{\"value\":\"230303\",\"label\":\"恒山区\"},{\"value\":\"230304\",\"label\":\"滴道区\"},{\"value\":\"230305\",\"label\":\"梨树区\"},{\"value\":\"230306\",\"label\":\"城子河区\"},{\"value\":\"230307\",\"label\":\"麻山区\"},{\"value\":\"230321\",\"label\":\"鸡东县\"},{\"value\":\"230381\",\"label\":\"虎林市\"},{\"value\":\"230382\",\"label\":\"密山市\"}]},{\"value\":\"230400\",\"label\":\"鹤岗市\",\"children\":[{\"value\":\"230402\",\"label\":\"向阳区\"},{\"value\":\"230403\",\"label\":\"工农区\"},{\"value\":\"230404\",\"label\":\"南山区\"},{\"value\":\"230405\",\"label\":\"兴安区\"},{\"value\":\"230406\",\"label\":\"东山区\"},{\"value\":\"230407\",\"label\":\"兴山区\"},{\"value\":\"230421\",\"label\":\"萝北县\"},{\"value\":\"230422\",\"label\":\"绥滨县\"}]},{\"value\":\"230500\",\"label\":\"双鸭山市\",\"children\":[{\"value\":\"230502\",\"label\":\"尖山区\"},{\"value\":\"230503\",\"label\":\"岭东区\"},{\"value\":\"230505\",\"label\":\"四方台区\"},{\"value\":\"230506\",\"label\":\"宝山区\"},{\"value\":\"230521\",\"label\":\"集贤县\"},{\"value\":\"230522\",\"label\":\"友谊县\"},{\"value\":\"230523\",\"label\":\"宝清县\"},{\"value\":\"230524\",\"label\":\"饶河县\"}]},{\"value\":\"230600\",\"label\":\"大庆市\",\"children\":[{\"value\":\"230602\",\"label\":\"萨尔图区\"},{\"value\":\"230603\",\"label\":\"龙凤区\"},{\"value\":\"230604\",\"label\":\"让胡路区\"},{\"value\":\"230605\",\"label\":\"红岗区\"},{\"value\":\"230606\",\"label\":\"大同区\"},{\"value\":\"230621\",\"label\":\"肇州县\"},{\"value\":\"230622\",\"label\":\"肇源县\"},{\"value\":\"230623\",\"label\":\"林甸县\"},{\"value\":\"230624\",\"label\":\"杜尔伯特蒙古族自治县\"},{\"value\":\"230671\",\"label\":\"大庆高新技术产业开发区\"}]},{\"value\":\"230700\",\"label\":\"伊春市\",\"children\":[{\"value\":\"230717\",\"label\":\"伊美区\"},{\"value\":\"230718\",\"label\":\"乌翠区\"},{\"value\":\"230719\",\"label\":\"友好区\"},{\"value\":\"230722\",\"label\":\"嘉荫县\"},{\"value\":\"230723\",\"label\":\"汤旺县\"},{\"value\":\"230724\",\"label\":\"丰林县\"},{\"value\":\"230725\",\"label\":\"大箐山县\"},{\"value\":\"230726\",\"label\":\"南岔县\"},{\"value\":\"230751\",\"label\":\"金林区\"},{\"value\":\"230781\",\"label\":\"铁力市\"}]},{\"value\":\"230800\",\"label\":\"佳木斯市\",\"children\":[{\"value\":\"230803\",\"label\":\"向阳区\"},{\"value\":\"230804\",\"label\":\"前进区\"},{\"value\":\"230805\",\"label\":\"东风区\"},{\"value\":\"230811\",\"label\":\"郊区\"},{\"value\":\"230822\",\"label\":\"桦南县\"},{\"value\":\"230826\",\"label\":\"桦川县\"},{\"value\":\"230828\",\"label\":\"汤原县\"},{\"value\":\"230881\",\"label\":\"同江市\"},{\"value\":\"230882\",\"label\":\"富锦市\"},{\"value\":\"230883\",\"label\":\"抚远市\"}]},{\"value\":\"230900\",\"label\":\"七台河市\",\"children\":[{\"value\":\"230902\",\"label\":\"新兴区\"},{\"value\":\"230903\",\"label\":\"桃山区\"},{\"value\":\"230904\",\"label\":\"茄子河区\"},{\"value\":\"230921\",\"label\":\"勃利县\"}]},{\"value\":\"231000\",\"label\":\"牡丹江市\",\"children\":[{\"value\":\"231002\",\"label\":\"东安区\"},{\"value\":\"231003\",\"label\":\"阳明区\"},{\"value\":\"231004\",\"label\":\"爱民区\"},{\"value\":\"231005\",\"label\":\"西安区\"},{\"value\":\"231025\",\"label\":\"林口县\"},{\"value\":\"231071\",\"label\":\"牡丹江经济技术开发区\"},{\"value\":\"231081\",\"label\":\"绥芬河市\"},{\"value\":\"231083\",\"label\":\"海林市\"},{\"value\":\"231084\",\"label\":\"宁安市\"},{\"value\":\"231085\",\"label\":\"穆棱市\"},{\"value\":\"231086\",\"label\":\"东宁市\"}]},{\"value\":\"231100\",\"label\":\"黑河市\",\"children\":[{\"value\":\"231102\",\"label\":\"爱辉区\"},{\"value\":\"231123\",\"label\":\"逊克县\"},{\"value\":\"231124\",\"label\":\"孙吴县\"},{\"value\":\"231181\",\"label\":\"北安市\"},{\"value\":\"231182\",\"label\":\"五大连池市\"},{\"value\":\"231183\",\"label\":\"嫩江市\"}]},{\"value\":\"231200\",\"label\":\"绥化市\",\"children\":[{\"value\":\"231202\",\"label\":\"北林区\"},{\"value\":\"231221\",\"label\":\"望奎县\"},{\"value\":\"231222\",\"label\":\"兰西县\"},{\"value\":\"231223\",\"label\":\"青冈县\"},{\"value\":\"231224\",\"label\":\"庆安县\"},{\"value\":\"231225\",\"label\":\"明水县\"},{\"value\":\"231226\",\"label\":\"绥棱县\"},{\"value\":\"231281\",\"label\":\"安达市\"},{\"value\":\"231282\",\"label\":\"肇东市\"},{\"value\":\"231283\",\"label\":\"海伦市\"}]},{\"value\":\"232700\",\"label\":\"大兴安岭地区\",\"children\":[{\"value\":\"232701\",\"label\":\"漠河市\"},{\"value\":\"232721\",\"label\":\"呼玛县\"},{\"value\":\"232722\",\"label\":\"塔河县\"},{\"value\":\"232761\",\"label\":\"加格达奇区\"},{\"value\":\"232762\",\"label\":\"松岭区\"},{\"value\":\"232763\",\"label\":\"新林区\"},{\"value\":\"232764\",\"label\":\"呼中区\"}]}]},{\"value\":\"310000\",\"label\":\"上海市\",\"children\":[{\"value\":\"310100\",\"label\":\"市辖区\",\"children\":[{\"value\":\"310101\",\"label\":\"黄浦区\"},{\"value\":\"310104\",\"label\":\"徐汇区\"},{\"value\":\"310105\",\"label\":\"长宁区\"},{\"value\":\"310106\",\"label\":\"静安区\"},{\"value\":\"310107\",\"label\":\"普陀区\"},{\"value\":\"310109\",\"label\":\"虹口区\"},{\"value\":\"310110\",\"label\":\"杨浦区\"},{\"value\":\"310112\",\"label\":\"闵行区\"},{\"value\":\"310113\",\"label\":\"宝山区\"},{\"value\":\"310114\",\"label\":\"嘉定区\"},{\"value\":\"310115\",\"label\":\"浦东新区\"},{\"value\":\"310116\",\"label\":\"金山区\"},{\"value\":\"310117\",\"label\":\"松江区\"},{\"value\":\"310118\",\"label\":\"青浦区\"},{\"value\":\"310120\",\"label\":\"奉贤区\"},{\"value\":\"310151\",\"label\":\"崇明区\"}]}]},{\"value\":\"320000\",\"label\":\"江苏省\",\"children\":[{\"value\":\"320100\",\"label\":\"南京市\",\"children\":[{\"value\":\"320102\",\"label\":\"玄武区\"},{\"value\":\"320104\",\"label\":\"秦淮区\"},{\"value\":\"320105\",\"label\":\"建邺区\"},{\"value\":\"320106\",\"label\":\"鼓楼区\"},{\"value\":\"320111\",\"label\":\"浦口区\"},{\"value\":\"320113\",\"label\":\"栖霞区\"},{\"value\":\"320114\",\"label\":\"雨花台区\"},{\"value\":\"320115\",\"label\":\"江宁区\"},{\"value\":\"320116\",\"label\":\"六合区\"},{\"value\":\"320117\",\"label\":\"溧水区\"},{\"value\":\"320118\",\"label\":\"高淳区\"}]},{\"value\":\"320200\",\"label\":\"无锡市\",\"children\":[{\"value\":\"320205\",\"label\":\"锡山区\"},{\"value\":\"320206\",\"label\":\"惠山区\"},{\"value\":\"320211\",\"label\":\"滨湖区\"},{\"value\":\"320213\",\"label\":\"梁溪区\"},{\"value\":\"320214\",\"label\":\"新吴区\"},{\"value\":\"320281\",\"label\":\"江阴市\"},{\"value\":\"320282\",\"label\":\"宜兴市\"}]},{\"value\":\"320300\",\"label\":\"徐州市\",\"children\":[{\"value\":\"320302\",\"label\":\"鼓楼区\"},{\"value\":\"320303\",\"label\":\"云龙区\"},{\"value\":\"320305\",\"label\":\"贾汪区\"},{\"value\":\"320311\",\"label\":\"泉山区\"},{\"value\":\"320312\",\"label\":\"铜山区\"},{\"value\":\"320321\",\"label\":\"丰县\"},{\"value\":\"320322\",\"label\":\"沛县\"},{\"value\":\"320324\",\"label\":\"睢宁县\"},{\"value\":\"320371\",\"label\":\"徐州经济技术开发区\"},{\"value\":\"320381\",\"label\":\"新沂市\"},{\"value\":\"320382\",\"label\":\"邳州市\"}]},{\"value\":\"320400\",\"label\":\"常州市\",\"children\":[{\"value\":\"320402\",\"label\":\"天宁区\"},{\"value\":\"320404\",\"label\":\"钟楼区\"},{\"value\":\"320411\",\"label\":\"新北区\"},{\"value\":\"320412\",\"label\":\"武进区\"},{\"value\":\"320413\",\"label\":\"金坛区\"},{\"value\":\"320481\",\"label\":\"溧阳市\"}]},{\"value\":\"320500\",\"label\":\"苏州市\",\"children\":[{\"value\":\"320505\",\"label\":\"虎丘区\"},{\"value\":\"320506\",\"label\":\"吴中区\"},{\"value\":\"320507\",\"label\":\"相城区\"},{\"value\":\"320508\",\"label\":\"姑苏区\"},{\"value\":\"320509\",\"label\":\"吴江区\"},{\"value\":\"320571\",\"label\":\"苏州工业园区\"},{\"value\":\"320581\",\"label\":\"常熟市\"},{\"value\":\"320582\",\"label\":\"张家港市\"},{\"value\":\"320583\",\"label\":\"昆山市\"},{\"value\":\"320585\",\"label\":\"太仓市\"}]},{\"value\":\"320600\",\"label\":\"南通市\",\"children\":[{\"value\":\"320602\",\"label\":\"崇川区\"},{\"value\":\"320611\",\"label\":\"港闸区\"},{\"value\":\"320612\",\"label\":\"通州区\"},{\"value\":\"320623\",\"label\":\"如东县\"},{\"value\":\"320671\",\"label\":\"南通经济技术开发区\"},{\"value\":\"320681\",\"label\":\"启东市\"},{\"value\":\"320682\",\"label\":\"如皋市\"},{\"value\":\"320684\",\"label\":\"海门市\"},{\"value\":\"320685\",\"label\":\"海安市\"}]},{\"value\":\"320700\",\"label\":\"连云港市\",\"children\":[{\"value\":\"320703\",\"label\":\"连云区\"},{\"value\":\"320706\",\"label\":\"海州区\"},{\"value\":\"320707\",\"label\":\"赣榆区\"},{\"value\":\"320722\",\"label\":\"东海县\"},{\"value\":\"320723\",\"label\":\"灌云县\"},{\"value\":\"320724\",\"label\":\"灌南县\"},{\"value\":\"320771\",\"label\":\"连云港经济技术开发区\"},{\"value\":\"320772\",\"label\":\"连云港高新技术产业开发区\"}]},{\"value\":\"320800\",\"label\":\"淮安市\",\"children\":[{\"value\":\"320803\",\"label\":\"淮安区\"},{\"value\":\"320804\",\"label\":\"淮阴区\"},{\"value\":\"320812\",\"label\":\"清江浦区\"},{\"value\":\"320813\",\"label\":\"洪泽区\"},{\"value\":\"320826\",\"label\":\"涟水县\"},{\"value\":\"320830\",\"label\":\"盱眙县\"},{\"value\":\"320831\",\"label\":\"金湖县\"},{\"value\":\"320871\",\"label\":\"淮安经济技术开发区\"}]},{\"value\":\"320900\",\"label\":\"盐城市\",\"children\":[{\"value\":\"320902\",\"label\":\"亭湖区\"},{\"value\":\"320903\",\"label\":\"盐都区\"},{\"value\":\"320904\",\"label\":\"大丰区\"},{\"value\":\"320921\",\"label\":\"响水县\"},{\"value\":\"320922\",\"label\":\"滨海县\"},{\"value\":\"320923\",\"label\":\"阜宁县\"},{\"value\":\"320924\",\"label\":\"射阳县\"},{\"value\":\"320925\",\"label\":\"建湖县\"},{\"value\":\"320971\",\"label\":\"盐城经济技术开发区\"},{\"value\":\"320981\",\"label\":\"东台市\"}]},{\"value\":\"321000\",\"label\":\"扬州市\",\"children\":[{\"value\":\"321002\",\"label\":\"广陵区\"},{\"value\":\"321003\",\"label\":\"邗江区\"},{\"value\":\"321012\",\"label\":\"江都区\"},{\"value\":\"321023\",\"label\":\"宝应县\"},{\"value\":\"321071\",\"label\":\"扬州经济技术开发区\"},{\"value\":\"321081\",\"label\":\"仪征市\"},{\"value\":\"321084\",\"label\":\"高邮市\"}]},{\"value\":\"321100\",\"label\":\"镇江市\",\"children\":[{\"value\":\"321102\",\"label\":\"京口区\"},{\"value\":\"321111\",\"label\":\"润州区\"},{\"value\":\"321112\",\"label\":\"丹徒区\"},{\"value\":\"321171\",\"label\":\"镇江新区\"},{\"value\":\"321181\",\"label\":\"丹阳市\"},{\"value\":\"321182\",\"label\":\"扬中市\"},{\"value\":\"321183\",\"label\":\"句容市\"}]},{\"value\":\"321200\",\"label\":\"泰州市\",\"children\":[{\"value\":\"321202\",\"label\":\"海陵区\"},{\"value\":\"321203\",\"label\":\"高港区\"},{\"value\":\"321204\",\"label\":\"姜堰区\"},{\"value\":\"321271\",\"label\":\"泰州医药高新技术产业开发区\"},{\"value\":\"321281\",\"label\":\"兴化市\"},{\"value\":\"321282\",\"label\":\"靖江市\"},{\"value\":\"321283\",\"label\":\"泰兴市\"}]},{\"value\":\"321300\",\"label\":\"宿迁市\",\"children\":[{\"value\":\"321302\",\"label\":\"宿城区\"},{\"value\":\"321311\",\"label\":\"宿豫区\"},{\"value\":\"321322\",\"label\":\"沭阳县\"},{\"value\":\"321323\",\"label\":\"泗阳县\"},{\"value\":\"321324\",\"label\":\"泗洪县\"},{\"value\":\"321371\",\"label\":\"宿迁经济技术开发区\"}]}]},{\"value\":\"330000\",\"label\":\"浙江省\",\"children\":[{\"value\":\"330100\",\"label\":\"杭州市\",\"children\":[{\"value\":\"330102\",\"label\":\"上城区\"},{\"value\":\"330103\",\"label\":\"下城区\"},{\"value\":\"330104\",\"label\":\"江干区\"},{\"value\":\"330105\",\"label\":\"拱墅区\"},{\"value\":\"330106\",\"label\":\"西湖区\"},{\"value\":\"330108\",\"label\":\"滨江区\"},{\"value\":\"330109\",\"label\":\"萧山区\"},{\"value\":\"330110\",\"label\":\"余杭区\"},{\"value\":\"330111\",\"label\":\"富阳区\"},{\"value\":\"330112\",\"label\":\"临安区\"},{\"value\":\"330122\",\"label\":\"桐庐县\"},{\"value\":\"330127\",\"label\":\"淳安县\"},{\"value\":\"330182\",\"label\":\"建德市\"}]},{\"value\":\"330200\",\"label\":\"宁波市\",\"children\":[{\"value\":\"330203\",\"label\":\"海曙区\"},{\"value\":\"330205\",\"label\":\"江北区\"},{\"value\":\"330206\",\"label\":\"北仑区\"},{\"value\":\"330211\",\"label\":\"镇海区\"},{\"value\":\"330212\",\"label\":\"鄞州区\"},{\"value\":\"330213\",\"label\":\"奉化区\"},{\"value\":\"330225\",\"label\":\"象山县\"},{\"value\":\"330226\",\"label\":\"宁海县\"},{\"value\":\"330281\",\"label\":\"余姚市\"},{\"value\":\"330282\",\"label\":\"慈溪市\"}]},{\"value\":\"330300\",\"label\":\"温州市\",\"children\":[{\"value\":\"330302\",\"label\":\"鹿城区\"},{\"value\":\"330303\",\"label\":\"龙湾区\"},{\"value\":\"330304\",\"label\":\"瓯海区\"},{\"value\":\"330305\",\"label\":\"洞头区\"},{\"value\":\"330324\",\"label\":\"永嘉县\"},{\"value\":\"330326\",\"label\":\"平阳县\"},{\"value\":\"330327\",\"label\":\"苍南县\"},{\"value\":\"330328\",\"label\":\"文成县\"},{\"value\":\"330329\",\"label\":\"泰顺县\"},{\"value\":\"330371\",\"label\":\"温州经济技术开发区\"},{\"value\":\"330381\",\"label\":\"瑞安市\"},{\"value\":\"330382\",\"label\":\"乐清市\"},{\"value\":\"330383\",\"label\":\"龙港市\"}]},{\"value\":\"330400\",\"label\":\"嘉兴市\",\"children\":[{\"value\":\"330402\",\"label\":\"南湖区\"},{\"value\":\"330411\",\"label\":\"秀洲区\"},{\"value\":\"330421\",\"label\":\"嘉善县\"},{\"value\":\"330424\",\"label\":\"海盐县\"},{\"value\":\"330481\",\"label\":\"海宁市\"},{\"value\":\"330482\",\"label\":\"平湖市\"},{\"value\":\"330483\",\"label\":\"桐乡市\"}]},{\"value\":\"330500\",\"label\":\"湖州市\",\"children\":[{\"value\":\"330502\",\"label\":\"吴兴区\"},{\"value\":\"330503\",\"label\":\"南浔区\"},{\"value\":\"330521\",\"label\":\"德清县\"},{\"value\":\"330522\",\"label\":\"长兴县\"},{\"value\":\"330523\",\"label\":\"安吉县\"}]},{\"value\":\"330600\",\"label\":\"绍兴市\",\"children\":[{\"value\":\"330602\",\"label\":\"越城区\"},{\"value\":\"330603\",\"label\":\"柯桥区\"},{\"value\":\"330604\",\"label\":\"上虞区\"},{\"value\":\"330624\",\"label\":\"新昌县\"},{\"value\":\"330681\",\"label\":\"诸暨市\"},{\"value\":\"330683\",\"label\":\"嵊州市\"}]},{\"value\":\"330700\",\"label\":\"金华市\",\"children\":[{\"value\":\"330702\",\"label\":\"婺城区\"},{\"value\":\"330703\",\"label\":\"金东区\"},{\"value\":\"330723\",\"label\":\"武义县\"},{\"value\":\"330726\",\"label\":\"浦江县\"},{\"value\":\"330727\",\"label\":\"磐安县\"},{\"value\":\"330781\",\"label\":\"兰溪市\"},{\"value\":\"330782\",\"label\":\"义乌市\"},{\"value\":\"330783\",\"label\":\"东阳市\"},{\"value\":\"330784\",\"label\":\"永康市\"}]},{\"value\":\"330800\",\"label\":\"衢州市\",\"children\":[{\"value\":\"330802\",\"label\":\"柯城区\"},{\"value\":\"330803\",\"label\":\"衢江区\"},{\"value\":\"330822\",\"label\":\"常山县\"},{\"value\":\"330824\",\"label\":\"开化县\"},{\"value\":\"330825\",\"label\":\"龙游县\"},{\"value\":\"330881\",\"label\":\"江山市\"}]},{\"value\":\"330900\",\"label\":\"舟山市\",\"children\":[{\"value\":\"330902\",\"label\":\"定海区\"},{\"value\":\"330903\",\"label\":\"普陀区\"},{\"value\":\"330921\",\"label\":\"岱山县\"},{\"value\":\"330922\",\"label\":\"嵊泗县\"}]},{\"value\":\"331000\",\"label\":\"台州市\",\"children\":[{\"value\":\"331002\",\"label\":\"椒江区\"},{\"value\":\"331003\",\"label\":\"黄岩区\"},{\"value\":\"331004\",\"label\":\"路桥区\"},{\"value\":\"331022\",\"label\":\"三门县\"},{\"value\":\"331023\",\"label\":\"天台县\"},{\"value\":\"331024\",\"label\":\"仙居县\"},{\"value\":\"331081\",\"label\":\"温岭市\"},{\"value\":\"331082\",\"label\":\"临海市\"},{\"value\":\"331083\",\"label\":\"玉环市\"}]},{\"value\":\"331100\",\"label\":\"丽水市\",\"children\":[{\"value\":\"331102\",\"label\":\"莲都区\"},{\"value\":\"331121\",\"label\":\"青田县\"},{\"value\":\"331122\",\"label\":\"缙云县\"},{\"value\":\"331123\",\"label\":\"遂昌县\"},{\"value\":\"331124\",\"label\":\"松阳县\"},{\"value\":\"331125\",\"label\":\"云和县\"},{\"value\":\"331126\",\"label\":\"庆元县\"},{\"value\":\"331127\",\"label\":\"景宁畲族自治县\"},{\"value\":\"331181\",\"label\":\"龙泉市\"}]}]},{\"value\":\"340000\",\"label\":\"安徽省\",\"children\":[{\"value\":\"340100\",\"label\":\"合肥市\",\"children\":[{\"value\":\"340102\",\"label\":\"瑶海区\"},{\"value\":\"340103\",\"label\":\"庐阳区\"},{\"value\":\"340104\",\"label\":\"蜀山区\"},{\"value\":\"340111\",\"label\":\"包河区\"},{\"value\":\"340121\",\"label\":\"长丰县\"},{\"value\":\"340122\",\"label\":\"肥东县\"},{\"value\":\"340123\",\"label\":\"肥西县\"},{\"value\":\"340124\",\"label\":\"庐江县\"},{\"value\":\"340171\",\"label\":\"合肥高新技术产业开发区\"},{\"value\":\"340172\",\"label\":\"合肥经济技术开发区\"},{\"value\":\"340173\",\"label\":\"合肥新站高新技术产业开发区\"},{\"value\":\"340181\",\"label\":\"巢湖市\"}]},{\"value\":\"340200\",\"label\":\"芜湖市\",\"children\":[{\"value\":\"340202\",\"label\":\"镜湖区\"},{\"value\":\"340203\",\"label\":\"弋江区\"},{\"value\":\"340207\",\"label\":\"鸠江区\"},{\"value\":\"340208\",\"label\":\"三山区\"},{\"value\":\"340221\",\"label\":\"芜湖县\"},{\"value\":\"340222\",\"label\":\"繁昌县\"},{\"value\":\"340223\",\"label\":\"南陵县\"},{\"value\":\"340271\",\"label\":\"芜湖经济技术开发区\"},{\"value\":\"340272\",\"label\":\"安徽芜湖长江大桥经济开发区\"},{\"value\":\"340281\",\"label\":\"无为市\"}]},{\"value\":\"340300\",\"label\":\"蚌埠市\",\"children\":[{\"value\":\"340302\",\"label\":\"龙子湖区\"},{\"value\":\"340303\",\"label\":\"蚌山区\"},{\"value\":\"340304\",\"label\":\"禹会区\"},{\"value\":\"340311\",\"label\":\"淮上区\"},{\"value\":\"340321\",\"label\":\"怀远县\"},{\"value\":\"340322\",\"label\":\"五河县\"},{\"value\":\"340323\",\"label\":\"固镇县\"},{\"value\":\"340371\",\"label\":\"蚌埠市高新技术开发区\"},{\"value\":\"340372\",\"label\":\"蚌埠市经济开发区\"}]},{\"value\":\"340400\",\"label\":\"淮南市\",\"children\":[{\"value\":\"340402\",\"label\":\"大通区\"},{\"value\":\"340403\",\"label\":\"田家庵区\"},{\"value\":\"340404\",\"label\":\"谢家集区\"},{\"value\":\"340405\",\"label\":\"八公山区\"},{\"value\":\"340406\",\"label\":\"潘集区\"},{\"value\":\"340421\",\"label\":\"凤台县\"},{\"value\":\"340422\",\"label\":\"寿县\"}]},{\"value\":\"340500\",\"label\":\"马鞍山市\",\"children\":[{\"value\":\"340503\",\"label\":\"花山区\"},{\"value\":\"340504\",\"label\":\"雨山区\"},{\"value\":\"340506\",\"label\":\"博望区\"},{\"value\":\"340521\",\"label\":\"当涂县\"},{\"value\":\"340522\",\"label\":\"含山县\"},{\"value\":\"340523\",\"label\":\"和县\"}]},{\"value\":\"340600\",\"label\":\"淮北市\",\"children\":[{\"value\":\"340602\",\"label\":\"杜集区\"},{\"value\":\"340603\",\"label\":\"相山区\"},{\"value\":\"340604\",\"label\":\"烈山区\"},{\"value\":\"340621\",\"label\":\"濉溪县\"}]},{\"value\":\"340700\",\"label\":\"铜陵市\",\"children\":[{\"value\":\"340705\",\"label\":\"铜官区\"},{\"value\":\"340706\",\"label\":\"义安区\"},{\"value\":\"340711\",\"label\":\"郊区\"},{\"value\":\"340722\",\"label\":\"枞阳县\"}]},{\"value\":\"340800\",\"label\":\"安庆市\",\"children\":[{\"value\":\"340802\",\"label\":\"迎江区\"},{\"value\":\"340803\",\"label\":\"大观区\"},{\"value\":\"340811\",\"label\":\"宜秀区\"},{\"value\":\"340822\",\"label\":\"怀宁县\"},{\"value\":\"340825\",\"label\":\"太湖县\"},{\"value\":\"340826\",\"label\":\"宿松县\"},{\"value\":\"340827\",\"label\":\"望江县\"},{\"value\":\"340828\",\"label\":\"岳西县\"},{\"value\":\"340871\",\"label\":\"安徽安庆经济开发区\"},{\"value\":\"340881\",\"label\":\"桐城市\"},{\"value\":\"340882\",\"label\":\"潜山市\"}]},{\"value\":\"341000\",\"label\":\"黄山市\",\"children\":[{\"value\":\"341002\",\"label\":\"屯溪区\"},{\"value\":\"341003\",\"label\":\"黄山区\"},{\"value\":\"341004\",\"label\":\"徽州区\"},{\"value\":\"341021\",\"label\":\"歙县\"},{\"value\":\"341022\",\"label\":\"休宁县\"},{\"value\":\"341023\",\"label\":\"黟县\"},{\"value\":\"341024\",\"label\":\"祁门县\"}]},{\"value\":\"341100\",\"label\":\"滁州市\",\"children\":[{\"value\":\"341102\",\"label\":\"琅琊区\"},{\"value\":\"341103\",\"label\":\"南谯区\"},{\"value\":\"341122\",\"label\":\"来安县\"},{\"value\":\"341124\",\"label\":\"全椒县\"},{\"value\":\"341125\",\"label\":\"定远县\"},{\"value\":\"341126\",\"label\":\"凤阳县\"},{\"value\":\"341171\",\"label\":\"苏滁现代产业园\"},{\"value\":\"341172\",\"label\":\"滁州经济技术开发区\"},{\"value\":\"341181\",\"label\":\"天长市\"},{\"value\":\"341182\",\"label\":\"明光市\"}]},{\"value\":\"341200\",\"label\":\"阜阳市\",\"children\":[{\"value\":\"341202\",\"label\":\"颍州区\"},{\"value\":\"341203\",\"label\":\"颍东区\"},{\"value\":\"341204\",\"label\":\"颍泉区\"},{\"value\":\"341221\",\"label\":\"临泉县\"},{\"value\":\"341222\",\"label\":\"太和县\"},{\"value\":\"341225\",\"label\":\"阜南县\"},{\"value\":\"341226\",\"label\":\"颍上县\"},{\"value\":\"341271\",\"label\":\"阜阳合肥现代产业园区\"},{\"value\":\"341272\",\"label\":\"阜阳经济技术开发区\"},{\"value\":\"341282\",\"label\":\"界首市\"}]},{\"value\":\"341300\",\"label\":\"宿州市\",\"children\":[]},{\"value\":\"341500\",\"label\":\"六安市\",\"children\":[{\"value\":\"341502\",\"label\":\"金安区\"},{\"value\":\"341503\",\"label\":\"裕安区\"},{\"value\":\"341504\",\"label\":\"叶集区\"},{\"value\":\"341522\",\"label\":\"霍邱县\"},{\"value\":\"341523\",\"label\":\"舒城县\"},{\"value\":\"341524\",\"label\":\"金寨县\"},{\"value\":\"341525\",\"label\":\"霍山县\"}]},{\"value\":\"341600\",\"label\":\"亳州市\",\"children\":[{\"value\":\"341602\",\"label\":\"谯城区\"},{\"value\":\"341621\",\"label\":\"涡阳县\"},{\"value\":\"341622\",\"label\":\"蒙城县\"},{\"value\":\"341623\",\"label\":\"利辛县\"}]},{\"value\":\"341700\",\"label\":\"池州市\",\"children\":[{\"value\":\"341702\",\"label\":\"贵池区\"},{\"value\":\"341721\",\"label\":\"东至县\"},{\"value\":\"341722\",\"label\":\"石台县\"},{\"value\":\"341723\",\"label\":\"青阳县\"}]},{\"value\":\"341800\",\"label\":\"宣城市\",\"children\":[{\"value\":\"341802\",\"label\":\"宣州区\"},{\"value\":\"341821\",\"label\":\"郎溪县\"},{\"value\":\"341823\",\"label\":\"泾县\"},{\"value\":\"341824\",\"label\":\"绩溪县\"},{\"value\":\"341825\",\"label\":\"旌德县\"},{\"value\":\"341871\",\"label\":\"宣城市经济开发区\"},{\"value\":\"341881\",\"label\":\"宁国市\"},{\"value\":\"341882\",\"label\":\"广德市\"}]}]},{\"value\":\"350000\",\"label\":\"福建省\",\"children\":[{\"value\":\"350100\",\"label\":\"福州市\",\"children\":[{\"value\":\"350102\",\"label\":\"鼓楼区\"},{\"value\":\"350103\",\"label\":\"台江区\"},{\"value\":\"350104\",\"label\":\"仓山区\"},{\"value\":\"350105\",\"label\":\"马尾区\"},{\"value\":\"350111\",\"label\":\"晋安区\"},{\"value\":\"350112\",\"label\":\"长乐区\"},{\"value\":\"350121\",\"label\":\"闽侯县\"},{\"value\":\"350122\",\"label\":\"连江县\"},{\"value\":\"350123\",\"label\":\"罗源县\"},{\"value\":\"350124\",\"label\":\"闽清县\"},{\"value\":\"350125\",\"label\":\"永泰县\"},{\"value\":\"350128\",\"label\":\"平潭县\"},{\"value\":\"350181\",\"label\":\"福清市\"}]},{\"value\":\"350200\",\"label\":\"厦门市\",\"children\":[{\"value\":\"350203\",\"label\":\"思明区\"},{\"value\":\"350205\",\"label\":\"海沧区\"},{\"value\":\"350206\",\"label\":\"湖里区\"},{\"value\":\"350211\",\"label\":\"集美区\"},{\"value\":\"350212\",\"label\":\"同安区\"},{\"value\":\"350213\",\"label\":\"翔安区\"}]},{\"value\":\"350300\",\"label\":\"莆田市\",\"children\":[{\"value\":\"350302\",\"label\":\"城厢区\"},{\"value\":\"350303\",\"label\":\"涵江区\"},{\"value\":\"350304\",\"label\":\"荔城区\"},{\"value\":\"350305\",\"label\":\"秀屿区\"},{\"value\":\"350322\",\"label\":\"仙游县\"}]},{\"value\":\"350400\",\"label\":\"三明市\",\"children\":[{\"value\":\"350402\",\"label\":\"梅列区\"},{\"value\":\"350403\",\"label\":\"三元区\"},{\"value\":\"350421\",\"label\":\"明溪县\"},{\"value\":\"350423\",\"label\":\"清流县\"},{\"value\":\"350424\",\"label\":\"宁化县\"},{\"value\":\"350425\",\"label\":\"大田县\"},{\"value\":\"350426\",\"label\":\"尤溪县\"},{\"value\":\"350427\",\"label\":\"沙县\"},{\"value\":\"350428\",\"label\":\"将乐县\"},{\"value\":\"350429\",\"label\":\"泰宁县\"},{\"value\":\"350430\",\"label\":\"建宁县\"},{\"value\":\"350481\",\"label\":\"永安市\"}]},{\"value\":\"350500\",\"label\":\"泉州市\",\"children\":[{\"value\":\"350502\",\"label\":\"鲤城区\"},{\"value\":\"350503\",\"label\":\"丰泽区\"},{\"value\":\"350504\",\"label\":\"洛江区\"},{\"value\":\"350505\",\"label\":\"泉港区\"},{\"value\":\"350521\",\"label\":\"惠安县\"},{\"value\":\"350524\",\"label\":\"安溪县\"},{\"value\":\"350525\",\"label\":\"永春县\"},{\"value\":\"350526\",\"label\":\"德化县\"},{\"value\":\"350581\",\"label\":\"石狮市\"},{\"value\":\"350582\",\"label\":\"晋江市\"},{\"value\":\"350583\",\"label\":\"南安市\"}]},{\"value\":\"350600\",\"label\":\"漳州市\",\"children\":[{\"value\":\"350602\",\"label\":\"芗城区\"},{\"value\":\"350603\",\"label\":\"龙文区\"},{\"value\":\"350622\",\"label\":\"云霄县\"},{\"value\":\"350623\",\"label\":\"漳浦县\"},{\"value\":\"350624\",\"label\":\"诏安县\"},{\"value\":\"350625\",\"label\":\"长泰县\"},{\"value\":\"350626\",\"label\":\"东山县\"},{\"value\":\"350627\",\"label\":\"南靖县\"},{\"value\":\"350628\",\"label\":\"平和县\"},{\"value\":\"350629\",\"label\":\"华安县\"},{\"value\":\"350681\",\"label\":\"龙海市\"}]},{\"value\":\"350700\",\"label\":\"南平市\",\"children\":[{\"value\":\"350702\",\"label\":\"延平区\"},{\"value\":\"350703\",\"label\":\"建阳区\"},{\"value\":\"350721\",\"label\":\"顺昌县\"},{\"value\":\"350722\",\"label\":\"浦城县\"},{\"value\":\"350723\",\"label\":\"光泽县\"},{\"value\":\"350724\",\"label\":\"松溪县\"},{\"value\":\"350725\",\"label\":\"政和县\"},{\"value\":\"350781\",\"label\":\"邵武市\"},{\"value\":\"350782\",\"label\":\"武夷山市\"},{\"value\":\"350783\",\"label\":\"建瓯市\"}]},{\"value\":\"350800\",\"label\":\"龙岩市\",\"children\":[{\"value\":\"350802\",\"label\":\"新罗区\"},{\"value\":\"350803\",\"label\":\"永定区\"},{\"value\":\"350821\",\"label\":\"长汀县\"},{\"value\":\"350823\",\"label\":\"上杭县\"},{\"value\":\"350824\",\"label\":\"武平县\"},{\"value\":\"350825\",\"label\":\"连城县\"},{\"value\":\"350881\",\"label\":\"漳平市\"}]},{\"value\":\"350900\",\"label\":\"宁德市\",\"children\":[{\"value\":\"350902\",\"label\":\"蕉城区\"},{\"value\":\"350921\",\"label\":\"霞浦县\"},{\"value\":\"350922\",\"label\":\"古田县\"},{\"value\":\"350923\",\"label\":\"屏南县\"},{\"value\":\"350924\",\"label\":\"寿宁县\"},{\"value\":\"350925\",\"label\":\"周宁县\"},{\"value\":\"350926\",\"label\":\"柘荣县\"},{\"value\":\"350981\",\"label\":\"福安市\"},{\"value\":\"350982\",\"label\":\"福鼎市\"}]}]},{\"value\":\"360000\",\"label\":\"江西省\",\"children\":[{\"value\":\"360100\",\"label\":\"南昌市\",\"children\":[{\"value\":\"360102\",\"label\":\"东湖区\"},{\"value\":\"360103\",\"label\":\"西湖区\"},{\"value\":\"360104\",\"label\":\"青云谱区\"},{\"value\":\"360111\",\"label\":\"青山湖区\"},{\"value\":\"360112\",\"label\":\"新建区\"},{\"value\":\"360113\",\"label\":\"红谷滩区\"},{\"value\":\"360121\",\"label\":\"南昌县\"},{\"value\":\"360123\",\"label\":\"安义县\"},{\"value\":\"360124\",\"label\":\"进贤县\"}]},{\"value\":\"360200\",\"label\":\"景德镇市\",\"children\":[{\"value\":\"360202\",\"label\":\"昌江区\"},{\"value\":\"360203\",\"label\":\"珠山区\"},{\"value\":\"360222\",\"label\":\"浮梁县\"},{\"value\":\"360281\",\"label\":\"乐平市\"}]},{\"value\":\"360300\",\"label\":\"萍乡市\",\"children\":[{\"value\":\"360302\",\"label\":\"安源区\"},{\"value\":\"360313\",\"label\":\"湘东区\"},{\"value\":\"360321\",\"label\":\"莲花县\"},{\"value\":\"360322\",\"label\":\"上栗县\"},{\"value\":\"360323\",\"label\":\"芦溪县\"}]},{\"value\":\"360400\",\"label\":\"九江市\",\"children\":[{\"value\":\"360402\",\"label\":\"濂溪区\"},{\"value\":\"360403\",\"label\":\"浔阳区\"},{\"value\":\"360404\",\"label\":\"柴桑区\"},{\"value\":\"360423\",\"label\":\"武宁县\"},{\"value\":\"360424\",\"label\":\"修水县\"},{\"value\":\"360425\",\"label\":\"永修县\"},{\"value\":\"360426\",\"label\":\"德安县\"},{\"value\":\"360428\",\"label\":\"都昌县\"},{\"value\":\"360429\",\"label\":\"湖口县\"},{\"value\":\"360430\",\"label\":\"彭泽县\"},{\"value\":\"360481\",\"label\":\"瑞昌市\"},{\"value\":\"360482\",\"label\":\"共青城市\"},{\"value\":\"360483\",\"label\":\"庐山市\"}]},{\"value\":\"360500\",\"label\":\"新余市\",\"children\":[{\"value\":\"360502\",\"label\":\"渝水区\"},{\"value\":\"360521\",\"label\":\"分宜县\"}]},{\"value\":\"360600\",\"label\":\"鹰潭市\",\"children\":[{\"value\":\"360602\",\"label\":\"月湖区\"},{\"value\":\"360603\",\"label\":\"余江区\"},{\"value\":\"360681\",\"label\":\"贵溪市\"}]},{\"value\":\"360700\",\"label\":\"赣州市\",\"children\":[{\"value\":\"360702\",\"label\":\"章贡区\"},{\"value\":\"360703\",\"label\":\"南康区\"},{\"value\":\"360704\",\"label\":\"赣县区\"},{\"value\":\"360722\",\"label\":\"信丰县\"},{\"value\":\"360723\",\"label\":\"大余县\"},{\"value\":\"360724\",\"label\":\"上犹县\"},{\"value\":\"360725\",\"label\":\"崇义县\"},{\"value\":\"360726\",\"label\":\"安远县\"},{\"value\":\"360728\",\"label\":\"定南县\"},{\"value\":\"360729\",\"label\":\"全南县\"},{\"value\":\"360730\",\"label\":\"宁都县\"},{\"value\":\"360731\",\"label\":\"于都县\"},{\"value\":\"360732\",\"label\":\"兴国县\"},{\"value\":\"360733\",\"label\":\"会昌县\"},{\"value\":\"360734\",\"label\":\"寻乌县\"},{\"value\":\"360735\",\"label\":\"石城县\"},{\"value\":\"360781\",\"label\":\"瑞金市\"},{\"value\":\"360783\",\"label\":\"龙南市\"}]},{\"value\":\"360800\",\"label\":\"吉安市\",\"children\":[{\"value\":\"360802\",\"label\":\"吉州区\"},{\"value\":\"360803\",\"label\":\"青原区\"},{\"value\":\"360821\",\"label\":\"吉安县\"},{\"value\":\"360822\",\"label\":\"吉水县\"},{\"value\":\"360823\",\"label\":\"峡江县\"},{\"value\":\"360824\",\"label\":\"新干县\"},{\"value\":\"360825\",\"label\":\"永丰县\"},{\"value\":\"360826\",\"label\":\"泰和县\"},{\"value\":\"360827\",\"label\":\"遂川县\"},{\"value\":\"360828\",\"label\":\"万安县\"},{\"value\":\"360829\",\"label\":\"安福县\"},{\"value\":\"360830\",\"label\":\"永新县\"},{\"value\":\"360881\",\"label\":\"井冈山市\"}]},{\"value\":\"360900\",\"label\":\"宜春市\",\"children\":[{\"value\":\"360902\",\"label\":\"袁州区\"},{\"value\":\"360921\",\"label\":\"奉新县\"},{\"value\":\"360922\",\"label\":\"万载县\"},{\"value\":\"360923\",\"label\":\"上高县\"},{\"value\":\"360924\",\"label\":\"宜丰县\"},{\"value\":\"360925\",\"label\":\"靖安县\"},{\"value\":\"360926\",\"label\":\"铜鼓县\"},{\"value\":\"360981\",\"label\":\"丰城市\"},{\"value\":\"360982\",\"label\":\"樟树市\"},{\"value\":\"360983\",\"label\":\"高安市\"}]},{\"value\":\"361000\",\"label\":\"抚州市\",\"children\":[{\"value\":\"361002\",\"label\":\"临川区\"},{\"value\":\"361003\",\"label\":\"东乡区\"},{\"value\":\"361021\",\"label\":\"南城县\"},{\"value\":\"361022\",\"label\":\"黎川县\"},{\"value\":\"361023\",\"label\":\"南丰县\"},{\"value\":\"361024\",\"label\":\"崇仁县\"},{\"value\":\"361025\",\"label\":\"乐安县\"},{\"value\":\"361026\",\"label\":\"宜黄县\"},{\"value\":\"361027\",\"label\":\"金溪县\"},{\"value\":\"361028\",\"label\":\"资溪县\"},{\"value\":\"361030\",\"label\":\"广昌县\"}]},{\"value\":\"361100\",\"label\":\"上饶市\",\"children\":[{\"value\":\"361102\",\"label\":\"信州区\"},{\"value\":\"361103\",\"label\":\"广丰区\"},{\"value\":\"361104\",\"label\":\"广信区\"},{\"value\":\"361123\",\"label\":\"玉山县\"},{\"value\":\"361124\",\"label\":\"铅山县\"},{\"value\":\"361125\",\"label\":\"横峰县\"},{\"value\":\"361126\",\"label\":\"弋阳县\"},{\"value\":\"361127\",\"label\":\"余干县\"},{\"value\":\"361128\",\"label\":\"鄱阳县\"},{\"value\":\"361129\",\"label\":\"万年县\"},{\"value\":\"361130\",\"label\":\"婺源县\"},{\"value\":\"361181\",\"label\":\"德兴市\"}]}]},{\"value\":\"370000\",\"label\":\"山东省\",\"children\":[{\"value\":\"370100\",\"label\":\"济南市\",\"children\":[{\"value\":\"370102\",\"label\":\"历下区\"},{\"value\":\"370103\",\"label\":\"市中区\"},{\"value\":\"370104\",\"label\":\"槐荫区\"},{\"value\":\"370105\",\"label\":\"天桥区\"},{\"value\":\"370112\",\"label\":\"历城区\"},{\"value\":\"370113\",\"label\":\"长清区\"},{\"value\":\"370114\",\"label\":\"章丘区\"},{\"value\":\"370115\",\"label\":\"济阳区\"},{\"value\":\"370116\",\"label\":\"莱芜区\"},{\"value\":\"370117\",\"label\":\"钢城区\"},{\"value\":\"370124\",\"label\":\"平阴县\"},{\"value\":\"370126\",\"label\":\"商河县\"},{\"value\":\"370171\",\"label\":\"济南高新技术产业开发区\"}]},{\"value\":\"370200\",\"label\":\"青岛市\",\"children\":[{\"value\":\"370202\",\"label\":\"市南区\"},{\"value\":\"370203\",\"label\":\"市北区\"},{\"value\":\"370211\",\"label\":\"黄岛区\"},{\"value\":\"370212\",\"label\":\"崂山区\"},{\"value\":\"370213\",\"label\":\"李沧区\"},{\"value\":\"370214\",\"label\":\"城阳区\"},{\"value\":\"370215\",\"label\":\"即墨区\"},{\"value\":\"370271\",\"label\":\"青岛高新技术产业开发区\"},{\"value\":\"370281\",\"label\":\"胶州市\"},{\"value\":\"370283\",\"label\":\"平度市\"},{\"value\":\"370285\",\"label\":\"莱西市\"}]},{\"value\":\"370300\",\"label\":\"淄博市\",\"children\":[{\"value\":\"370302\",\"label\":\"淄川区\"},{\"value\":\"370303\",\"label\":\"张店区\"},{\"value\":\"370304\",\"label\":\"博山区\"},{\"value\":\"370305\",\"label\":\"临淄区\"},{\"value\":\"370306\",\"label\":\"周村区\"},{\"value\":\"370321\",\"label\":\"桓台县\"},{\"value\":\"370322\",\"label\":\"高青县\"},{\"value\":\"370323\",\"label\":\"沂源县\"}]},{\"value\":\"370400\",\"label\":\"枣庄市\",\"children\":[{\"value\":\"370402\",\"label\":\"市中区\"},{\"value\":\"370403\",\"label\":\"薛城区\"},{\"value\":\"370404\",\"label\":\"峄城区\"},{\"value\":\"370405\",\"label\":\"台儿庄区\"},{\"value\":\"370406\",\"label\":\"山亭区\"},{\"value\":\"370481\",\"label\":\"滕州市\"}]},{\"value\":\"370500\",\"label\":\"东营市\",\"children\":[{\"value\":\"370502\",\"label\":\"东营区\"},{\"value\":\"370503\",\"label\":\"河口区\"},{\"value\":\"370505\",\"label\":\"垦利区\"},{\"value\":\"370522\",\"label\":\"利津县\"},{\"value\":\"370523\",\"label\":\"广饶县\"},{\"value\":\"370571\",\"label\":\"东营经济技术开发区\"},{\"value\":\"370572\",\"label\":\"东营港经济开发区\"}]},{\"value\":\"370600\",\"label\":\"烟台市\",\"children\":[{\"value\":\"370602\",\"label\":\"芝罘区\"},{\"value\":\"370611\",\"label\":\"福山区\"},{\"value\":\"370612\",\"label\":\"牟平区\"},{\"value\":\"370613\",\"label\":\"莱山区\"},{\"value\":\"370614\",\"label\":\"蓬莱区\"},{\"value\":\"370671\",\"label\":\"烟台高新技术产业开发区\"},{\"value\":\"370672\",\"label\":\"烟台经济技术开发区\"},{\"value\":\"370681\",\"label\":\"龙口市\"},{\"value\":\"370682\",\"label\":\"莱阳市\"},{\"value\":\"370683\",\"label\":\"莱州市\"},{\"value\":\"370685\",\"label\":\"招远市\"},{\"value\":\"370686\",\"label\":\"栖霞市\"},{\"value\":\"370687\",\"label\":\"海阳市\"}]},{\"value\":\"370700\",\"label\":\"潍坊市\",\"children\":[{\"value\":\"370702\",\"label\":\"潍城区\"},{\"value\":\"370703\",\"label\":\"寒亭区\"},{\"value\":\"370704\",\"label\":\"坊子区\"},{\"value\":\"370705\",\"label\":\"奎文区\"},{\"value\":\"370724\",\"label\":\"临朐县\"},{\"value\":\"370725\",\"label\":\"昌乐县\"},{\"value\":\"370772\",\"label\":\"潍坊滨海经济技术开发区\"},{\"value\":\"370781\",\"label\":\"青州市\"},{\"value\":\"370782\",\"label\":\"诸城市\"},{\"value\":\"370783\",\"label\":\"寿光市\"},{\"value\":\"370784\",\"label\":\"安丘市\"},{\"value\":\"370785\",\"label\":\"高密市\"},{\"value\":\"370786\",\"label\":\"昌邑市\"}]},{\"value\":\"370800\",\"label\":\"济宁市\",\"children\":[{\"value\":\"370811\",\"label\":\"任城区\"},{\"value\":\"370812\",\"label\":\"兖州区\"},{\"value\":\"370826\",\"label\":\"微山县\"},{\"value\":\"370827\",\"label\":\"鱼台县\"},{\"value\":\"370828\",\"label\":\"金乡县\"},{\"value\":\"370829\",\"label\":\"嘉祥县\"},{\"value\":\"370830\",\"label\":\"汶上县\"},{\"value\":\"370831\",\"label\":\"泗水县\"},{\"value\":\"370832\",\"label\":\"梁山县\"},{\"value\":\"370871\",\"label\":\"济宁高新技术产业开发区\"},{\"value\":\"370881\",\"label\":\"曲阜市\"},{\"value\":\"370883\",\"label\":\"邹城市\"}]},{\"value\":\"370900\",\"label\":\"泰安市\",\"children\":[{\"value\":\"370902\",\"label\":\"泰山区\"},{\"value\":\"370911\",\"label\":\"岱岳区\"},{\"value\":\"370921\",\"label\":\"宁阳县\"},{\"value\":\"370923\",\"label\":\"东平县\"},{\"value\":\"370982\",\"label\":\"新泰市\"},{\"value\":\"370983\",\"label\":\"肥城市\"}]},{\"value\":\"371000\",\"label\":\"威海市\",\"children\":[{\"value\":\"371002\",\"label\":\"环翠区\"},{\"value\":\"371003\",\"label\":\"文登区\"},{\"value\":\"371071\",\"label\":\"威海火炬高技术产业开发区\"},{\"value\":\"371072\",\"label\":\"威海经济技术开发区\"},{\"value\":\"371073\",\"label\":\"威海临港经济技术开发区\"},{\"value\":\"371082\",\"label\":\"荣成市\"},{\"value\":\"371083\",\"label\":\"乳山市\"}]},{\"value\":\"371100\",\"label\":\"日照市\",\"children\":[{\"value\":\"371102\",\"label\":\"东港区\"},{\"value\":\"371103\",\"label\":\"岚山区\"},{\"value\":\"371121\",\"label\":\"五莲县\"},{\"value\":\"371122\",\"label\":\"莒县\"},{\"value\":\"371171\",\"label\":\"日照经济技术开发区\"}]},{\"value\":\"371300\",\"label\":\"临沂市\",\"children\":[{\"value\":\"371302\",\"label\":\"兰山区\"},{\"value\":\"371311\",\"label\":\"罗庄区\"},{\"value\":\"371312\",\"label\":\"河东区\"},{\"value\":\"371321\",\"label\":\"沂南县\"},{\"value\":\"371322\",\"label\":\"郯城县\"},{\"value\":\"371323\",\"label\":\"沂水县\"},{\"value\":\"371324\",\"label\":\"兰陵县\"},{\"value\":\"371325\",\"label\":\"费县\"},{\"value\":\"371326\",\"label\":\"平邑县\"},{\"value\":\"371327\",\"label\":\"莒南县\"},{\"value\":\"371328\",\"label\":\"蒙阴县\"},{\"value\":\"371329\",\"label\":\"临沭县\"},{\"value\":\"371371\",\"label\":\"临沂高新技术产业开发区\"}]},{\"value\":\"371400\",\"label\":\"德州市\",\"children\":[{\"value\":\"371402\",\"label\":\"德城区\"},{\"value\":\"371403\",\"label\":\"陵城区\"},{\"value\":\"371422\",\"label\":\"宁津县\"},{\"value\":\"371423\",\"label\":\"庆云县\"},{\"value\":\"371424\",\"label\":\"临邑县\"},{\"value\":\"371425\",\"label\":\"齐河县\"},{\"value\":\"371426\",\"label\":\"平原县\"},{\"value\":\"371427\",\"label\":\"夏津县\"},{\"value\":\"371428\",\"label\":\"武城县\"},{\"value\":\"371471\",\"label\":\"德州经济技术开发区\"},{\"value\":\"371472\",\"label\":\"德州运河经济开发区\"},{\"value\":\"371481\",\"label\":\"乐陵市\"},{\"value\":\"371482\",\"label\":\"禹城市\"}]},{\"value\":\"371500\",\"label\":\"聊城市\",\"children\":[{\"value\":\"371502\",\"label\":\"东昌府区\"},{\"value\":\"371503\",\"label\":\"茌平区\"},{\"value\":\"371521\",\"label\":\"阳谷县\"},{\"value\":\"371522\",\"label\":\"莘县\"},{\"value\":\"371524\",\"label\":\"东阿县\"},{\"value\":\"371525\",\"label\":\"冠县\"},{\"value\":\"371526\",\"label\":\"高唐县\"},{\"value\":\"371581\",\"label\":\"临清市\"}]},{\"value\":\"371600\",\"label\":\"滨州市\",\"children\":[{\"value\":\"371602\",\"label\":\"滨城区\"},{\"value\":\"371603\",\"label\":\"沾化区\"},{\"value\":\"371621\",\"label\":\"惠民县\"},{\"value\":\"371622\",\"label\":\"阳信县\"},{\"value\":\"371623\",\"label\":\"无棣县\"},{\"value\":\"371625\",\"label\":\"博兴县\"},{\"value\":\"371681\",\"label\":\"邹平市\"}]},{\"value\":\"371700\",\"label\":\"菏泽市\",\"children\":[{\"value\":\"371702\",\"label\":\"牡丹区\"},{\"value\":\"371703\",\"label\":\"定陶区\"},{\"value\":\"371721\",\"label\":\"曹县\"},{\"value\":\"371722\",\"label\":\"单县\"},{\"value\":\"371723\",\"label\":\"成武县\"},{\"value\":\"371724\",\"label\":\"巨野县\"},{\"value\":\"371725\",\"label\":\"郓城县\"},{\"value\":\"371726\",\"label\":\"鄄城县\"},{\"value\":\"371728\",\"label\":\"东明县\"},{\"value\":\"371771\",\"label\":\"菏泽经济技术开发区\"},{\"value\":\"371772\",\"label\":\"菏泽高新技术开发区\"}]}]},{\"value\":\"410000\",\"label\":\"河南省\",\"children\":[{\"value\":\"410100\",\"label\":\"郑州市\",\"children\":[{\"value\":\"410102\",\"label\":\"中原区\"},{\"value\":\"410103\",\"label\":\"二七区\"},{\"value\":\"410104\",\"label\":\"管城回族区\"},{\"value\":\"410105\",\"label\":\"金水区\"},{\"value\":\"410106\",\"label\":\"上街区\"},{\"value\":\"410108\",\"label\":\"惠济区\"},{\"value\":\"410122\",\"label\":\"中牟县\"},{\"value\":\"410171\",\"label\":\"郑州经济技术开发区\"},{\"value\":\"410172\",\"label\":\"郑州高新技术产业开发区\"},{\"value\":\"410173\",\"label\":\"郑州航空港经济综合实验区\"},{\"value\":\"410181\",\"label\":\"巩义市\"},{\"value\":\"410182\",\"label\":\"荥阳市\"},{\"value\":\"410183\",\"label\":\"新密市\"},{\"value\":\"410184\",\"label\":\"新郑市\"},{\"value\":\"410185\",\"label\":\"登封市\"}]},{\"value\":\"410200\",\"label\":\"开封市\",\"children\":[{\"value\":\"410202\",\"label\":\"龙亭区\"},{\"value\":\"410203\",\"label\":\"顺河回族区\"},{\"value\":\"410204\",\"label\":\"鼓楼区\"},{\"value\":\"410205\",\"label\":\"禹王台区\"},{\"value\":\"410212\",\"label\":\"祥符区\"},{\"value\":\"410221\",\"label\":\"杞县\"},{\"value\":\"410222\",\"label\":\"通许县\"},{\"value\":\"410223\",\"label\":\"尉氏县\"},{\"value\":\"410225\",\"label\":\"兰考县\"}]},{\"value\":\"410300\",\"label\":\"洛阳市\",\"children\":[]},{\"value\":\"410400\",\"label\":\"平顶山市\",\"children\":[{\"value\":\"410402\",\"label\":\"新华区\"},{\"value\":\"410403\",\"label\":\"卫东区\"},{\"value\":\"410404\",\"label\":\"石龙区\"},{\"value\":\"410411\",\"label\":\"湛河区\"},{\"value\":\"410421\",\"label\":\"宝丰县\"},{\"value\":\"410422\",\"label\":\"叶县\"},{\"value\":\"410423\",\"label\":\"鲁山县\"},{\"value\":\"410425\",\"label\":\"郏县\"},{\"value\":\"410471\",\"label\":\"平顶山高新技术产业开发区\"},{\"value\":\"410472\",\"label\":\"平顶山市城乡一体化示范区\"},{\"value\":\"410481\",\"label\":\"舞钢市\"},{\"value\":\"410482\",\"label\":\"汝州市\"}]},{\"value\":\"410500\",\"label\":\"安阳市\",\"children\":[{\"value\":\"410502\",\"label\":\"文峰区\"},{\"value\":\"410503\",\"label\":\"北关区\"},{\"value\":\"410505\",\"label\":\"殷都区\"},{\"value\":\"410506\",\"label\":\"龙安区\"},{\"value\":\"410522\",\"label\":\"安阳县\"},{\"value\":\"410523\",\"label\":\"汤阴县\"},{\"value\":\"410526\",\"label\":\"滑县\"},{\"value\":\"410527\",\"label\":\"内黄县\"},{\"value\":\"410571\",\"label\":\"安阳高新技术产业开发区\"},{\"value\":\"410581\",\"label\":\"林州市\"}]},{\"value\":\"410600\",\"label\":\"鹤壁市\",\"children\":[{\"value\":\"410602\",\"label\":\"鹤山区\"},{\"value\":\"410603\",\"label\":\"山城区\"},{\"value\":\"410611\",\"label\":\"淇滨区\"},{\"value\":\"410621\",\"label\":\"浚县\"},{\"value\":\"410622\",\"label\":\"淇县\"},{\"value\":\"410671\",\"label\":\"鹤壁经济技术开发区\"}]},{\"value\":\"410700\",\"label\":\"新乡市\",\"children\":[{\"value\":\"410702\",\"label\":\"红旗区\"},{\"value\":\"410703\",\"label\":\"卫滨区\"},{\"value\":\"410704\",\"label\":\"凤泉区\"},{\"value\":\"410711\",\"label\":\"牧野区\"},{\"value\":\"410721\",\"label\":\"新乡县\"},{\"value\":\"410724\",\"label\":\"获嘉县\"},{\"value\":\"410725\",\"label\":\"原阳县\"},{\"value\":\"410726\",\"label\":\"延津县\"},{\"value\":\"410727\",\"label\":\"封丘县\"},{\"value\":\"410771\",\"label\":\"新乡高新技术产业开发区\"},{\"value\":\"410772\",\"label\":\"新乡经济技术开发区\"},{\"value\":\"410773\",\"label\":\"新乡市平原城乡一体化示范区\"},{\"value\":\"410781\",\"label\":\"卫辉市\"},{\"value\":\"410782\",\"label\":\"辉县市\"},{\"value\":\"410783\",\"label\":\"长垣市\"}]},{\"value\":\"410800\",\"label\":\"焦作市\",\"children\":[{\"value\":\"410802\",\"label\":\"解放区\"},{\"value\":\"410803\",\"label\":\"中站区\"},{\"value\":\"410804\",\"label\":\"马村区\"},{\"value\":\"410811\",\"label\":\"山阳区\"},{\"value\":\"410821\",\"label\":\"修武县\"},{\"value\":\"410822\",\"label\":\"博爱县\"},{\"value\":\"410823\",\"label\":\"武陟县\"},{\"value\":\"410825\",\"label\":\"温县\"},{\"value\":\"410871\",\"label\":\"焦作城乡一体化示范区\"},{\"value\":\"410882\",\"label\":\"沁阳市\"},{\"value\":\"410883\",\"label\":\"孟州市\"}]},{\"value\":\"410900\",\"label\":\"濮阳市\",\"children\":[{\"value\":\"410902\",\"label\":\"华龙区\"},{\"value\":\"410922\",\"label\":\"清丰县\"},{\"value\":\"410923\",\"label\":\"南乐县\"},{\"value\":\"410926\",\"label\":\"范县\"},{\"value\":\"410927\",\"label\":\"台前县\"},{\"value\":\"410928\",\"label\":\"濮阳县\"},{\"value\":\"410971\",\"label\":\"河南濮阳工业园区\"},{\"value\":\"410972\",\"label\":\"濮阳经济技术开发区\"}]},{\"value\":\"411000\",\"label\":\"许昌市\",\"children\":[{\"value\":\"411002\",\"label\":\"魏都区\"},{\"value\":\"411003\",\"label\":\"建安区\"},{\"value\":\"411024\",\"label\":\"鄢陵县\"},{\"value\":\"411025\",\"label\":\"襄城县\"},{\"value\":\"411071\",\"label\":\"许昌经济技术开发区\"},{\"value\":\"411081\",\"label\":\"禹州市\"},{\"value\":\"411082\",\"label\":\"长葛市\"}]},{\"value\":\"411100\",\"label\":\"漯河市\",\"children\":[{\"value\":\"411102\",\"label\":\"源汇区\"},{\"value\":\"411103\",\"label\":\"郾城区\"},{\"value\":\"411104\",\"label\":\"召陵区\"},{\"value\":\"411121\",\"label\":\"舞阳县\"},{\"value\":\"411122\",\"label\":\"临颍县\"},{\"value\":\"411171\",\"label\":\"漯河经济技术开发区\"}]},{\"value\":\"411200\",\"label\":\"三门峡市\",\"children\":[{\"value\":\"411202\",\"label\":\"湖滨区\"},{\"value\":\"411203\",\"label\":\"陕州区\"},{\"value\":\"411221\",\"label\":\"渑池县\"},{\"value\":\"411224\",\"label\":\"卢氏县\"},{\"value\":\"411271\",\"label\":\"河南三门峡经济开发区\"},{\"value\":\"411281\",\"label\":\"义马市\"},{\"value\":\"411282\",\"label\":\"灵宝市\"}]},{\"value\":\"411300\",\"label\":\"南阳市\",\"children\":[{\"value\":\"411302\",\"label\":\"宛城区\"},{\"value\":\"411303\",\"label\":\"卧龙区\"},{\"value\":\"411321\",\"label\":\"南召县\"},{\"value\":\"411322\",\"label\":\"方城县\"},{\"value\":\"411323\",\"label\":\"西峡县\"},{\"value\":\"411324\",\"label\":\"镇平县\"},{\"value\":\"411325\",\"label\":\"内乡县\"},{\"value\":\"411326\",\"label\":\"淅川县\"},{\"value\":\"411327\",\"label\":\"社旗县\"},{\"value\":\"411328\",\"label\":\"唐河县\"},{\"value\":\"411329\",\"label\":\"新野县\"},{\"value\":\"411330\",\"label\":\"桐柏县\"},{\"value\":\"411371\",\"label\":\"南阳高新技术产业开发区\"},{\"value\":\"411372\",\"label\":\"南阳市城乡一体化示范区\"},{\"value\":\"411381\",\"label\":\"邓州市\"}]},{\"value\":\"411400\",\"label\":\"商丘市\",\"children\":[{\"value\":\"411402\",\"label\":\"梁园区\"},{\"value\":\"411403\",\"label\":\"睢阳区\"},{\"value\":\"411421\",\"label\":\"民权县\"},{\"value\":\"411422\",\"label\":\"睢县\"},{\"value\":\"411423\",\"label\":\"宁陵县\"},{\"value\":\"411424\",\"label\":\"柘城县\"},{\"value\":\"411425\",\"label\":\"虞城县\"},{\"value\":\"411426\",\"label\":\"夏邑县\"},{\"value\":\"411471\",\"label\":\"豫东综合物流产业聚集区\"},{\"value\":\"411472\",\"label\":\"河南商丘经济开发区\"},{\"value\":\"411481\",\"label\":\"永城市\"}]},{\"value\":\"411500\",\"label\":\"信阳市\",\"children\":[]},{\"value\":\"411600\",\"label\":\"周口市\",\"children\":[{\"value\":\"411602\",\"label\":\"川汇区\"},{\"value\":\"411603\",\"label\":\"淮阳区\"},{\"value\":\"411621\",\"label\":\"扶沟县\"},{\"value\":\"411622\",\"label\":\"西华县\"},{\"value\":\"411623\",\"label\":\"商水县\"},{\"value\":\"411624\",\"label\":\"沈丘县\"},{\"value\":\"411625\",\"label\":\"郸城县\"},{\"value\":\"411627\",\"label\":\"太康县\"},{\"value\":\"411628\",\"label\":\"鹿邑县\"},{\"value\":\"411671\",\"label\":\"河南周口经济开发区\"},{\"value\":\"411681\",\"label\":\"项城市\"}]},{\"value\":\"411700\",\"label\":\"驻马店市\",\"children\":[{\"value\":\"411702\",\"label\":\"驿城区\"},{\"value\":\"411721\",\"label\":\"西平县\"},{\"value\":\"411722\",\"label\":\"上蔡县\"},{\"value\":\"411723\",\"label\":\"平舆县\"},{\"value\":\"411724\",\"label\":\"正阳县\"},{\"value\":\"411725\",\"label\":\"确山县\"},{\"value\":\"411726\",\"label\":\"泌阳县\"},{\"value\":\"411727\",\"label\":\"汝南县\"},{\"value\":\"411728\",\"label\":\"遂平县\"},{\"value\":\"411729\",\"label\":\"新蔡县\"},{\"value\":\"411771\",\"label\":\"河南驻马店经济开发区\"}]},{\"value\":\"419000\",\"label\":\"省直辖县级行政区划\",\"children\":[{\"value\":\"419001\",\"label\":\"济源市\"}]}]},{\"value\":\"420000\",\"label\":\"湖北省\",\"children\":[{\"value\":\"420100\",\"label\":\"武汉市\",\"children\":[]},{\"value\":\"420200\",\"label\":\"黄石市\",\"children\":[{\"value\":\"420202\",\"label\":\"黄石港区\"},{\"value\":\"420203\",\"label\":\"西塞山区\"},{\"value\":\"420204\",\"label\":\"下陆区\"},{\"value\":\"420205\",\"label\":\"铁山区\"},{\"value\":\"420222\",\"label\":\"阳新县\"},{\"value\":\"420281\",\"label\":\"大冶市\"}]},{\"value\":\"420300\",\"label\":\"十堰市\",\"children\":[{\"value\":\"420302\",\"label\":\"茅箭区\"},{\"value\":\"420303\",\"label\":\"张湾区\"},{\"value\":\"420304\",\"label\":\"郧阳区\"},{\"value\":\"420322\",\"label\":\"郧西县\"},{\"value\":\"420323\",\"label\":\"竹山县\"},{\"value\":\"420324\",\"label\":\"竹溪县\"},{\"value\":\"420325\",\"label\":\"房县\"},{\"value\":\"420381\",\"label\":\"丹江口市\"}]},{\"value\":\"420500\",\"label\":\"宜昌市\",\"children\":[]},{\"value\":\"420600\",\"label\":\"襄阳市\",\"children\":[{\"value\":\"420602\",\"label\":\"襄城区\"},{\"value\":\"420606\",\"label\":\"樊城区\"},{\"value\":\"420607\",\"label\":\"襄州区\"},{\"value\":\"420624\",\"label\":\"南漳县\"},{\"value\":\"420625\",\"label\":\"谷城县\"},{\"value\":\"420626\",\"label\":\"保康县\"},{\"value\":\"420682\",\"label\":\"老河口市\"},{\"value\":\"420683\",\"label\":\"枣阳市\"},{\"value\":\"420684\",\"label\":\"宜城市\"}]},{\"value\":\"420700\",\"label\":\"鄂州市\",\"children\":[{\"value\":\"420702\",\"label\":\"梁子湖区\"},{\"value\":\"420703\",\"label\":\"华容区\"},{\"value\":\"420704\",\"label\":\"鄂城区\"}]},{\"value\":\"420800\",\"label\":\"荆门市\",\"children\":[{\"value\":\"420802\",\"label\":\"东宝区\"},{\"value\":\"420804\",\"label\":\"掇刀区\"},{\"value\":\"420822\",\"label\":\"沙洋县\"},{\"value\":\"420881\",\"label\":\"钟祥市\"},{\"value\":\"420882\",\"label\":\"京山市\"}]},{\"value\":\"420900\",\"label\":\"孝感市\",\"children\":[{\"value\":\"420902\",\"label\":\"孝南区\"},{\"value\":\"420921\",\"label\":\"孝昌县\"},{\"value\":\"420922\",\"label\":\"大悟县\"},{\"value\":\"420923\",\"label\":\"云梦县\"},{\"value\":\"420981\",\"label\":\"应城市\"},{\"value\":\"420982\",\"label\":\"安陆市\"},{\"value\":\"420984\",\"label\":\"汉川市\"}]},{\"value\":\"421000\",\"label\":\"荆州市\",\"children\":[{\"value\":\"421002\",\"label\":\"沙市区\"},{\"value\":\"421003\",\"label\":\"荆州区\"},{\"value\":\"421022\",\"label\":\"公安县\"},{\"value\":\"421023\",\"label\":\"监利县\"},{\"value\":\"421024\",\"label\":\"江陵县\"},{\"value\":\"421071\",\"label\":\"荆州经济技术开发区\"},{\"value\":\"421081\",\"label\":\"石首市\"},{\"value\":\"421083\",\"label\":\"洪湖市\"},{\"value\":\"421087\",\"label\":\"松滋市\"}]},{\"value\":\"421100\",\"label\":\"黄冈市\",\"children\":[{\"value\":\"421102\",\"label\":\"黄州区\"},{\"value\":\"421121\",\"label\":\"团风县\"},{\"value\":\"421122\",\"label\":\"红安县\"},{\"value\":\"421123\",\"label\":\"罗田县\"},{\"value\":\"421124\",\"label\":\"英山县\"},{\"value\":\"421125\",\"label\":\"浠水县\"},{\"value\":\"421126\",\"label\":\"蕲春县\"},{\"value\":\"421127\",\"label\":\"黄梅县\"},{\"value\":\"421171\",\"label\":\"龙感湖管理区\"},{\"value\":\"421181\",\"label\":\"麻城市\"},{\"value\":\"421182\",\"label\":\"武穴市\"}]},{\"value\":\"421200\",\"label\":\"咸宁市\",\"children\":[{\"value\":\"421202\",\"label\":\"咸安区\"},{\"value\":\"421221\",\"label\":\"嘉鱼县\"},{\"value\":\"421222\",\"label\":\"通城县\"},{\"value\":\"421223\",\"label\":\"崇阳县\"},{\"value\":\"421224\",\"label\":\"通山县\"},{\"value\":\"421281\",\"label\":\"赤壁市\"}]},{\"value\":\"421300\",\"label\":\"随州市\",\"children\":[{\"value\":\"421303\",\"label\":\"曾都区\"},{\"value\":\"421321\",\"label\":\"随县\"},{\"value\":\"421381\",\"label\":\"广水市\"}]},{\"value\":\"422800\",\"label\":\"恩施土家族苗族自治州\",\"children\":[{\"value\":\"422801\",\"label\":\"恩施市\"},{\"value\":\"422802\",\"label\":\"利川市\"},{\"value\":\"422822\",\"label\":\"建始县\"},{\"value\":\"422823\",\"label\":\"巴东县\"},{\"value\":\"422825\",\"label\":\"宣恩县\"},{\"value\":\"422826\",\"label\":\"咸丰县\"},{\"value\":\"422827\",\"label\":\"来凤县\"},{\"value\":\"422828\",\"label\":\"鹤峰县\"}]},{\"value\":\"429000\",\"label\":\"省直辖县级行政区划\",\"children\":[{\"value\":\"429004\",\"label\":\"仙桃市\"},{\"value\":\"429005\",\"label\":\"潜江市\"},{\"value\":\"429006\",\"label\":\"天门市\"},{\"value\":\"429021\",\"label\":\"神农架林区\"}]}]},{\"value\":\"430000\",\"label\":\"湖南省\",\"children\":[{\"value\":\"430100\",\"label\":\"长沙市\",\"children\":[{\"value\":\"430102\",\"label\":\"芙蓉区\"},{\"value\":\"430103\",\"label\":\"天心区\"},{\"value\":\"430104\",\"label\":\"岳麓区\"},{\"value\":\"430105\",\"label\":\"开福区\"},{\"value\":\"430111\",\"label\":\"雨花区\"},{\"value\":\"430112\",\"label\":\"望城区\"},{\"value\":\"430121\",\"label\":\"长沙县\"},{\"value\":\"430181\",\"label\":\"浏阳市\"},{\"value\":\"430182\",\"label\":\"宁乡市\"}]},{\"value\":\"430200\",\"label\":\"株洲市\",\"children\":[{\"value\":\"430202\",\"label\":\"荷塘区\"},{\"value\":\"430203\",\"label\":\"芦淞区\"},{\"value\":\"430204\",\"label\":\"石峰区\"},{\"value\":\"430211\",\"label\":\"天元区\"},{\"value\":\"430212\",\"label\":\"渌口区\"},{\"value\":\"430223\",\"label\":\"攸县\"},{\"value\":\"430224\",\"label\":\"茶陵县\"},{\"value\":\"430225\",\"label\":\"炎陵县\"},{\"value\":\"430271\",\"label\":\"云龙示范区\"},{\"value\":\"430281\",\"label\":\"醴陵市\"}]},{\"value\":\"430300\",\"label\":\"湘潭市\",\"children\":[{\"value\":\"430302\",\"label\":\"雨湖区\"},{\"value\":\"430304\",\"label\":\"岳塘区\"},{\"value\":\"430321\",\"label\":\"湘潭县\"},{\"value\":\"430371\",\"label\":\"湖南湘潭高新技术产业园区\"},{\"value\":\"430372\",\"label\":\"湘潭昭山示范区\"},{\"value\":\"430373\",\"label\":\"湘潭九华示范区\"},{\"value\":\"430381\",\"label\":\"湘乡市\"},{\"value\":\"430382\",\"label\":\"韶山市\"}]},{\"value\":\"430400\",\"label\":\"衡阳市\",\"children\":[{\"value\":\"430405\",\"label\":\"珠晖区\"},{\"value\":\"430406\",\"label\":\"雁峰区\"},{\"value\":\"430407\",\"label\":\"石鼓区\"},{\"value\":\"430408\",\"label\":\"蒸湘区\"},{\"value\":\"430412\",\"label\":\"南岳区\"},{\"value\":\"430421\",\"label\":\"衡阳县\"},{\"value\":\"430422\",\"label\":\"衡南县\"},{\"value\":\"430423\",\"label\":\"衡山县\"},{\"value\":\"430424\",\"label\":\"衡东县\"},{\"value\":\"430426\",\"label\":\"祁东县\"},{\"value\":\"430471\",\"label\":\"衡阳综合保税区\"},{\"value\":\"430472\",\"label\":\"湖南衡阳高新技术产业园区\"},{\"value\":\"430473\",\"label\":\"湖南衡阳松木经济开发区\"},{\"value\":\"430481\",\"label\":\"耒阳市\"},{\"value\":\"430482\",\"label\":\"常宁市\"}]},{\"value\":\"430500\",\"label\":\"邵阳市\",\"children\":[{\"value\":\"430502\",\"label\":\"双清区\"},{\"value\":\"430503\",\"label\":\"大祥区\"},{\"value\":\"430511\",\"label\":\"北塔区\"},{\"value\":\"430522\",\"label\":\"新邵县\"},{\"value\":\"430523\",\"label\":\"邵阳县\"},{\"value\":\"430524\",\"label\":\"隆回县\"},{\"value\":\"430525\",\"label\":\"洞口县\"},{\"value\":\"430527\",\"label\":\"绥宁县\"},{\"value\":\"430528\",\"label\":\"新宁县\"},{\"value\":\"430529\",\"label\":\"城步苗族自治县\"},{\"value\":\"430581\",\"label\":\"武冈市\"},{\"value\":\"430582\",\"label\":\"邵东市\"}]},{\"value\":\"430600\",\"label\":\"岳阳市\",\"children\":[{\"value\":\"430602\",\"label\":\"岳阳楼区\"},{\"value\":\"430603\",\"label\":\"云溪区\"},{\"value\":\"430611\",\"label\":\"君山区\"},{\"value\":\"430621\",\"label\":\"岳阳县\"},{\"value\":\"430623\",\"label\":\"华容县\"},{\"value\":\"430624\",\"label\":\"湘阴县\"},{\"value\":\"430626\",\"label\":\"平江县\"},{\"value\":\"430671\",\"label\":\"岳阳市屈原管理区\"},{\"value\":\"430681\",\"label\":\"汨罗市\"},{\"value\":\"430682\",\"label\":\"临湘市\"}]},{\"value\":\"430700\",\"label\":\"常德市\",\"children\":[{\"value\":\"430702\",\"label\":\"武陵区\"},{\"value\":\"430703\",\"label\":\"鼎城区\"},{\"value\":\"430721\",\"label\":\"安乡县\"},{\"value\":\"430722\",\"label\":\"汉寿县\"},{\"value\":\"430723\",\"label\":\"澧县\"},{\"value\":\"430724\",\"label\":\"临澧县\"},{\"value\":\"430725\",\"label\":\"桃源县\"},{\"value\":\"430726\",\"label\":\"石门县\"},{\"value\":\"430771\",\"label\":\"常德市西洞庭管理区\"},{\"value\":\"430781\",\"label\":\"津市市\"}]},{\"value\":\"430800\",\"label\":\"张家界市\",\"children\":[{\"value\":\"430802\",\"label\":\"永定区\"},{\"value\":\"430811\",\"label\":\"武陵源区\"},{\"value\":\"430821\",\"label\":\"慈利县\"},{\"value\":\"430822\",\"label\":\"桑植县\"}]},{\"value\":\"430900\",\"label\":\"益阳市\",\"children\":[{\"value\":\"430902\",\"label\":\"资阳区\"},{\"value\":\"430903\",\"label\":\"赫山区\"},{\"value\":\"430921\",\"label\":\"南县\"},{\"value\":\"430922\",\"label\":\"桃江县\"},{\"value\":\"430923\",\"label\":\"安化县\"},{\"value\":\"430971\",\"label\":\"益阳市大通湖管理区\"},{\"value\":\"430972\",\"label\":\"湖南益阳高新技术产业园区\"},{\"value\":\"430981\",\"label\":\"沅江市\"}]},{\"value\":\"431000\",\"label\":\"郴州市\",\"children\":[{\"value\":\"431002\",\"label\":\"北湖区\"},{\"value\":\"431003\",\"label\":\"苏仙区\"},{\"value\":\"431021\",\"label\":\"桂阳县\"},{\"value\":\"431022\",\"label\":\"宜章县\"},{\"value\":\"431023\",\"label\":\"永兴县\"},{\"value\":\"431024\",\"label\":\"嘉禾县\"},{\"value\":\"431025\",\"label\":\"临武县\"},{\"value\":\"431026\",\"label\":\"汝城县\"},{\"value\":\"431027\",\"label\":\"桂东县\"},{\"value\":\"431028\",\"label\":\"安仁县\"},{\"value\":\"431081\",\"label\":\"资兴市\"}]},{\"value\":\"431100\",\"label\":\"永州市\",\"children\":[{\"value\":\"431102\",\"label\":\"零陵区\"},{\"value\":\"431103\",\"label\":\"冷水滩区\"},{\"value\":\"431121\",\"label\":\"祁阳县\"},{\"value\":\"431122\",\"label\":\"东安县\"},{\"value\":\"431123\",\"label\":\"双牌县\"},{\"value\":\"431124\",\"label\":\"道县\"},{\"value\":\"431125\",\"label\":\"江永县\"},{\"value\":\"431126\",\"label\":\"宁远县\"},{\"value\":\"431127\",\"label\":\"蓝山县\"},{\"value\":\"431128\",\"label\":\"新田县\"},{\"value\":\"431129\",\"label\":\"江华瑶族自治县\"},{\"value\":\"431171\",\"label\":\"永州经济技术开发区\"},{\"value\":\"431172\",\"label\":\"永州市金洞管理区\"},{\"value\":\"431173\",\"label\":\"永州市回龙圩管理区\"}]},{\"value\":\"431200\",\"label\":\"怀化市\",\"children\":[{\"value\":\"431202\",\"label\":\"鹤城区\"},{\"value\":\"431221\",\"label\":\"中方县\"},{\"value\":\"431222\",\"label\":\"沅陵县\"},{\"value\":\"431223\",\"label\":\"辰溪县\"},{\"value\":\"431224\",\"label\":\"溆浦县\"},{\"value\":\"431225\",\"label\":\"会同县\"},{\"value\":\"431226\",\"label\":\"麻阳苗族自治县\"},{\"value\":\"431227\",\"label\":\"新晃侗族自治县\"},{\"value\":\"431228\",\"label\":\"芷江侗族自治县\"},{\"value\":\"431229\",\"label\":\"靖州苗族侗族自治县\"},{\"value\":\"431230\",\"label\":\"通道侗族自治县\"},{\"value\":\"431271\",\"label\":\"怀化市洪江管理区\"},{\"value\":\"431281\",\"label\":\"洪江市\"}]},{\"value\":\"431300\",\"label\":\"娄底市\",\"children\":[{\"value\":\"431302\",\"label\":\"娄星区\"},{\"value\":\"431321\",\"label\":\"双峰县\"},{\"value\":\"431322\",\"label\":\"新化县\"},{\"value\":\"431381\",\"label\":\"冷水江市\"},{\"value\":\"431382\",\"label\":\"涟源市\"}]},{\"value\":\"433100\",\"label\":\"湘西土家族苗族自治州\",\"children\":[{\"value\":\"433101\",\"label\":\"吉首市\"},{\"value\":\"433122\",\"label\":\"泸溪县\"},{\"value\":\"433123\",\"label\":\"凤凰县\"},{\"value\":\"433124\",\"label\":\"花垣县\"},{\"value\":\"433125\",\"label\":\"保靖县\"},{\"value\":\"433126\",\"label\":\"古丈县\"},{\"value\":\"433127\",\"label\":\"永顺县\"},{\"value\":\"433130\",\"label\":\"龙山县\"}]}]},{\"value\":\"440000\",\"label\":\"广东省\",\"children\":[{\"value\":\"440100\",\"label\":\"广州市\",\"children\":[{\"value\":\"440103\",\"label\":\"荔湾区\"},{\"value\":\"440104\",\"label\":\"越秀区\"},{\"value\":\"440105\",\"label\":\"海珠区\"},{\"value\":\"440106\",\"label\":\"天河区\"},{\"value\":\"440111\",\"label\":\"白云区\"},{\"value\":\"440112\",\"label\":\"黄埔区\"},{\"value\":\"440113\",\"label\":\"番禺区\"},{\"value\":\"440114\",\"label\":\"花都区\"},{\"value\":\"440115\",\"label\":\"南沙区\"},{\"value\":\"440117\",\"label\":\"从化区\"},{\"value\":\"440118\",\"label\":\"增城区\"}]},{\"value\":\"440200\",\"label\":\"韶关市\",\"children\":[{\"value\":\"440203\",\"label\":\"武江区\"},{\"value\":\"440204\",\"label\":\"浈江区\"},{\"value\":\"440205\",\"label\":\"曲江区\"},{\"value\":\"440222\",\"label\":\"始兴县\"},{\"value\":\"440224\",\"label\":\"仁化县\"},{\"value\":\"440229\",\"label\":\"翁源县\"},{\"value\":\"440232\",\"label\":\"乳源瑶族自治县\"},{\"value\":\"440233\",\"label\":\"新丰县\"},{\"value\":\"440281\",\"label\":\"乐昌市\"},{\"value\":\"440282\",\"label\":\"南雄市\"}]},{\"value\":\"440300\",\"label\":\"深圳市\",\"children\":[{\"value\":\"440303\",\"label\":\"罗湖区\"},{\"value\":\"440304\",\"label\":\"福田区\"},{\"value\":\"440305\",\"label\":\"南山区\"},{\"value\":\"440306\",\"label\":\"宝安区\"},{\"value\":\"440307\",\"label\":\"龙岗区\"},{\"value\":\"440308\",\"label\":\"盐田区\"},{\"value\":\"440309\",\"label\":\"龙华区\"},{\"value\":\"440310\",\"label\":\"坪山区\"},{\"value\":\"440311\",\"label\":\"光明区\"}]},{\"value\":\"440400\",\"label\":\"珠海市\",\"children\":[{\"value\":\"440402\",\"label\":\"香洲区\"},{\"value\":\"440403\",\"label\":\"斗门区\"},{\"value\":\"440404\",\"label\":\"金湾区\"}]},{\"value\":\"440500\",\"label\":\"汕头市\",\"children\":[{\"value\":\"440507\",\"label\":\"龙湖区\"},{\"value\":\"440511\",\"label\":\"金平区\"},{\"value\":\"440512\",\"label\":\"濠江区\"},{\"value\":\"440513\",\"label\":\"潮阳区\"},{\"value\":\"440514\",\"label\":\"潮南区\"},{\"value\":\"440515\",\"label\":\"澄海区\"},{\"value\":\"440523\",\"label\":\"南澳县\"}]},{\"value\":\"440600\",\"label\":\"佛山市\",\"children\":[{\"value\":\"440604\",\"label\":\"禅城区\"},{\"value\":\"440605\",\"label\":\"南海区\"},{\"value\":\"440606\",\"label\":\"顺德区\"},{\"value\":\"440607\",\"label\":\"三水区\"},{\"value\":\"440608\",\"label\":\"高明区\"}]},{\"value\":\"440700\",\"label\":\"江门市\",\"children\":[{\"value\":\"440703\",\"label\":\"蓬江区\"},{\"value\":\"440704\",\"label\":\"江海区\"},{\"value\":\"440705\",\"label\":\"新会区\"},{\"value\":\"440781\",\"label\":\"台山市\"},{\"value\":\"440783\",\"label\":\"开平市\"},{\"value\":\"440784\",\"label\":\"鹤山市\"},{\"value\":\"440785\",\"label\":\"恩平市\"}]},{\"value\":\"440800\",\"label\":\"湛江市\",\"children\":[{\"value\":\"440802\",\"label\":\"赤坎区\"},{\"value\":\"440803\",\"label\":\"霞山区\"},{\"value\":\"440804\",\"label\":\"坡头区\"},{\"value\":\"440811\",\"label\":\"麻章区\"},{\"value\":\"440823\",\"label\":\"遂溪县\"},{\"value\":\"440825\",\"label\":\"徐闻县\"},{\"value\":\"440881\",\"label\":\"廉江市\"},{\"value\":\"440882\",\"label\":\"雷州市\"},{\"value\":\"440883\",\"label\":\"吴川市\"}]},{\"value\":\"440900\",\"label\":\"茂名市\",\"children\":[{\"value\":\"440902\",\"label\":\"茂南区\"},{\"value\":\"440904\",\"label\":\"电白区\"},{\"value\":\"440981\",\"label\":\"高州市\"},{\"value\":\"440982\",\"label\":\"化州市\"},{\"value\":\"440983\",\"label\":\"信宜市\"}]},{\"value\":\"441200\",\"label\":\"肇庆市\",\"children\":[{\"value\":\"441202\",\"label\":\"端州区\"},{\"value\":\"441203\",\"label\":\"鼎湖区\"},{\"value\":\"441204\",\"label\":\"高要区\"},{\"value\":\"441223\",\"label\":\"广宁县\"},{\"value\":\"441224\",\"label\":\"怀集县\"},{\"value\":\"441225\",\"label\":\"封开县\"},{\"value\":\"441226\",\"label\":\"德庆县\"},{\"value\":\"441284\",\"label\":\"四会市\"}]},{\"value\":\"441300\",\"label\":\"惠州市\",\"children\":[{\"value\":\"441302\",\"label\":\"惠城区\"},{\"value\":\"441303\",\"label\":\"惠阳区\"},{\"value\":\"441322\",\"label\":\"博罗县\"},{\"value\":\"441323\",\"label\":\"惠东县\"},{\"value\":\"441324\",\"label\":\"龙门县\"}]},{\"value\":\"441400\",\"label\":\"梅州市\",\"children\":[{\"value\":\"441402\",\"label\":\"梅江区\"},{\"value\":\"441403\",\"label\":\"梅县区\"},{\"value\":\"441422\",\"label\":\"大埔县\"},{\"value\":\"441423\",\"label\":\"丰顺县\"},{\"value\":\"441424\",\"label\":\"五华县\"},{\"value\":\"441426\",\"label\":\"平远县\"},{\"value\":\"441427\",\"label\":\"蕉岭县\"},{\"value\":\"441481\",\"label\":\"兴宁市\"}]},{\"value\":\"441500\",\"label\":\"汕尾市\",\"children\":[{\"value\":\"441502\",\"label\":\"城区\"},{\"value\":\"441521\",\"label\":\"海丰县\"},{\"value\":\"441523\",\"label\":\"陆河县\"},{\"value\":\"441581\",\"label\":\"陆丰市\"}]},{\"value\":\"441600\",\"label\":\"河源市\",\"children\":[{\"value\":\"441602\",\"label\":\"源城区\"},{\"value\":\"441621\",\"label\":\"紫金县\"},{\"value\":\"441622\",\"label\":\"龙川县\"},{\"value\":\"441623\",\"label\":\"连平县\"},{\"value\":\"441624\",\"label\":\"和平县\"},{\"value\":\"441625\",\"label\":\"东源县\"}]},{\"value\":\"441700\",\"label\":\"阳江市\",\"children\":[{\"value\":\"441702\",\"label\":\"江城区\"},{\"value\":\"441704\",\"label\":\"阳东区\"},{\"value\":\"441721\",\"label\":\"阳西县\"},{\"value\":\"441781\",\"label\":\"阳春市\"}]},{\"value\":\"441800\",\"label\":\"清远市\",\"children\":[{\"value\":\"441802\",\"label\":\"清城区\"},{\"value\":\"441803\",\"label\":\"清新区\"},{\"value\":\"441821\",\"label\":\"佛冈县\"},{\"value\":\"441823\",\"label\":\"阳山县\"},{\"value\":\"441825\",\"label\":\"连山壮族瑶族自治县\"},{\"value\":\"441826\",\"label\":\"连南瑶族自治县\"},{\"value\":\"441881\",\"label\":\"英德市\"},{\"value\":\"441882\",\"label\":\"连州市\"}]},{\"value\":\"441900\",\"label\":\"东莞市\",\"children\":[]},{\"value\":\"442000\",\"label\":\"中山市\",\"children\":[]},{\"value\":\"445100\",\"label\":\"潮州市\",\"children\":[{\"value\":\"445102\",\"label\":\"湘桥区\"},{\"value\":\"445103\",\"label\":\"潮安区\"},{\"value\":\"445122\",\"label\":\"饶平县\"}]},{\"value\":\"445200\",\"label\":\"揭阳市\",\"children\":[{\"value\":\"445202\",\"label\":\"榕城区\"},{\"value\":\"445203\",\"label\":\"揭东区\"},{\"value\":\"445222\",\"label\":\"揭西县\"},{\"value\":\"445224\",\"label\":\"惠来县\"},{\"value\":\"445281\",\"label\":\"普宁市\"}]},{\"value\":\"445300\",\"label\":\"云浮市\",\"children\":[{\"value\":\"445302\",\"label\":\"云城区\"},{\"value\":\"445303\",\"label\":\"云安区\"},{\"value\":\"445321\",\"label\":\"新兴县\"},{\"value\":\"445322\",\"label\":\"郁南县\"},{\"value\":\"445381\",\"label\":\"罗定市\"}]}]},{\"value\":\"450000\",\"label\":\"广西壮族自治区\",\"children\":[{\"value\":\"450100\",\"label\":\"南宁市\",\"children\":[{\"value\":\"450102\",\"label\":\"兴宁区\"},{\"value\":\"450103\",\"label\":\"青秀区\"},{\"value\":\"450105\",\"label\":\"江南区\"},{\"value\":\"450107\",\"label\":\"西乡塘区\"},{\"value\":\"450108\",\"label\":\"良庆区\"},{\"value\":\"450109\",\"label\":\"邕宁区\"},{\"value\":\"450110\",\"label\":\"武鸣区\"},{\"value\":\"450123\",\"label\":\"隆安县\"},{\"value\":\"450124\",\"label\":\"马山县\"},{\"value\":\"450125\",\"label\":\"上林县\"},{\"value\":\"450126\",\"label\":\"宾阳县\"},{\"value\":\"450127\",\"label\":\"横县\"}]},{\"value\":\"450200\",\"label\":\"柳州市\",\"children\":[{\"value\":\"450202\",\"label\":\"城中区\"},{\"value\":\"450203\",\"label\":\"鱼峰区\"},{\"value\":\"450204\",\"label\":\"柳南区\"},{\"value\":\"450205\",\"label\":\"柳北区\"},{\"value\":\"450206\",\"label\":\"柳江区\"},{\"value\":\"450222\",\"label\":\"柳城县\"},{\"value\":\"450223\",\"label\":\"鹿寨县\"},{\"value\":\"450224\",\"label\":\"融安县\"},{\"value\":\"450225\",\"label\":\"融水苗族自治县\"},{\"value\":\"450226\",\"label\":\"三江侗族自治县\"}]},{\"value\":\"450300\",\"label\":\"桂林市\",\"children\":[{\"value\":\"450302\",\"label\":\"秀峰区\"},{\"value\":\"450303\",\"label\":\"叠彩区\"},{\"value\":\"450304\",\"label\":\"象山区\"},{\"value\":\"450305\",\"label\":\"七星区\"},{\"value\":\"450311\",\"label\":\"雁山区\"},{\"value\":\"450312\",\"label\":\"临桂区\"},{\"value\":\"450321\",\"label\":\"阳朔县\"},{\"value\":\"450323\",\"label\":\"灵川县\"},{\"value\":\"450324\",\"label\":\"全州县\"},{\"value\":\"450325\",\"label\":\"兴安县\"},{\"value\":\"450326\",\"label\":\"永福县\"},{\"value\":\"450327\",\"label\":\"灌阳县\"},{\"value\":\"450328\",\"label\":\"龙胜各族自治县\"},{\"value\":\"450329\",\"label\":\"资源县\"},{\"value\":\"450330\",\"label\":\"平乐县\"},{\"value\":\"450332\",\"label\":\"恭城瑶族自治县\"},{\"value\":\"450381\",\"label\":\"荔浦市\"}]},{\"value\":\"450400\",\"label\":\"梧州市\",\"children\":[{\"value\":\"450403\",\"label\":\"万秀区\"},{\"value\":\"450405\",\"label\":\"长洲区\"},{\"value\":\"450406\",\"label\":\"龙圩区\"},{\"value\":\"450421\",\"label\":\"苍梧县\"},{\"value\":\"450422\",\"label\":\"藤县\"},{\"value\":\"450423\",\"label\":\"蒙山县\"},{\"value\":\"450481\",\"label\":\"岑溪市\"}]},{\"value\":\"450500\",\"label\":\"北海市\",\"children\":[{\"value\":\"450502\",\"label\":\"海城区\"},{\"value\":\"450503\",\"label\":\"银海区\"},{\"value\":\"450512\",\"label\":\"铁山港区\"},{\"value\":\"450521\",\"label\":\"合浦县\"}]},{\"value\":\"450600\",\"label\":\"防城港市\",\"children\":[{\"value\":\"450602\",\"label\":\"港口区\"},{\"value\":\"450603\",\"label\":\"防城区\"},{\"value\":\"450621\",\"label\":\"上思县\"},{\"value\":\"450681\",\"label\":\"东兴市\"}]},{\"value\":\"450700\",\"label\":\"钦州市\",\"children\":[{\"value\":\"450702\",\"label\":\"钦南区\"},{\"value\":\"450703\",\"label\":\"钦北区\"},{\"value\":\"450721\",\"label\":\"灵山县\"},{\"value\":\"450722\",\"label\":\"浦北县\"}]},{\"value\":\"450800\",\"label\":\"贵港市\",\"children\":[{\"value\":\"450802\",\"label\":\"港北区\"},{\"value\":\"450803\",\"label\":\"港南区\"},{\"value\":\"450804\",\"label\":\"覃塘区\"},{\"value\":\"450821\",\"label\":\"平南县\"},{\"value\":\"450881\",\"label\":\"桂平市\"}]},{\"value\":\"450900\",\"label\":\"玉林市\",\"children\":[{\"value\":\"450902\",\"label\":\"玉州区\"},{\"value\":\"450903\",\"label\":\"福绵区\"},{\"value\":\"450921\",\"label\":\"容县\"},{\"value\":\"450922\",\"label\":\"陆川县\"},{\"value\":\"450923\",\"label\":\"博白县\"},{\"value\":\"450924\",\"label\":\"兴业县\"},{\"value\":\"450981\",\"label\":\"北流市\"}]},{\"value\":\"451000\",\"label\":\"百色市\",\"children\":[{\"value\":\"451002\",\"label\":\"右江区\"},{\"value\":\"451003\",\"label\":\"田阳区\"},{\"value\":\"451022\",\"label\":\"田东县\"},{\"value\":\"451024\",\"label\":\"德保县\"},{\"value\":\"451026\",\"label\":\"那坡县\"},{\"value\":\"451027\",\"label\":\"凌云县\"},{\"value\":\"451028\",\"label\":\"乐业县\"},{\"value\":\"451029\",\"label\":\"田林县\"},{\"value\":\"451030\",\"label\":\"西林县\"},{\"value\":\"451031\",\"label\":\"隆林各族自治县\"},{\"value\":\"451081\",\"label\":\"靖西市\"},{\"value\":\"451082\",\"label\":\"平果市\"}]},{\"value\":\"451100\",\"label\":\"贺州市\",\"children\":[{\"value\":\"451102\",\"label\":\"八步区\"},{\"value\":\"451103\",\"label\":\"平桂区\"},{\"value\":\"451121\",\"label\":\"昭平县\"},{\"value\":\"451122\",\"label\":\"钟山县\"},{\"value\":\"451123\",\"label\":\"富川瑶族自治县\"}]},{\"value\":\"451200\",\"label\":\"河池市\",\"children\":[{\"value\":\"451202\",\"label\":\"金城江区\"},{\"value\":\"451203\",\"label\":\"宜州区\"},{\"value\":\"451221\",\"label\":\"南丹县\"},{\"value\":\"451222\",\"label\":\"天峨县\"},{\"value\":\"451223\",\"label\":\"凤山县\"},{\"value\":\"451224\",\"label\":\"东兰县\"},{\"value\":\"451225\",\"label\":\"罗城仫佬族自治县\"},{\"value\":\"451226\",\"label\":\"环江毛南族自治县\"},{\"value\":\"451227\",\"label\":\"巴马瑶族自治县\"},{\"value\":\"451228\",\"label\":\"都安瑶族自治县\"},{\"value\":\"451229\",\"label\":\"大化瑶族自治县\"}]},{\"value\":\"451300\",\"label\":\"来宾市\",\"children\":[{\"value\":\"451302\",\"label\":\"兴宾区\"},{\"value\":\"451321\",\"label\":\"忻城县\"},{\"value\":\"451322\",\"label\":\"象州县\"},{\"value\":\"451323\",\"label\":\"武宣县\"},{\"value\":\"451324\",\"label\":\"金秀瑶族自治县\"},{\"value\":\"451381\",\"label\":\"合山市\"}]},{\"value\":\"451400\",\"label\":\"崇左市\",\"children\":[{\"value\":\"451402\",\"label\":\"江州区\"},{\"value\":\"451421\",\"label\":\"扶绥县\"},{\"value\":\"451422\",\"label\":\"宁明县\"},{\"value\":\"451423\",\"label\":\"龙州县\"},{\"value\":\"451424\",\"label\":\"大新县\"},{\"value\":\"451425\",\"label\":\"天等县\"},{\"value\":\"451481\",\"label\":\"凭祥市\"}]}]},{\"value\":\"460000\",\"label\":\"海南省\",\"children\":[{\"value\":\"460100\",\"label\":\"海口市\",\"children\":[{\"value\":\"460105\",\"label\":\"秀英区\"},{\"value\":\"460106\",\"label\":\"龙华区\"},{\"value\":\"460107\",\"label\":\"琼山区\"},{\"value\":\"460108\",\"label\":\"美兰区\"}]},{\"value\":\"460200\",\"label\":\"三亚市\",\"children\":[{\"value\":\"460202\",\"label\":\"海棠区\"},{\"value\":\"460203\",\"label\":\"吉阳区\"},{\"value\":\"460204\",\"label\":\"天涯区\"},{\"value\":\"460205\",\"label\":\"崖州区\"}]},{\"value\":\"460300\",\"label\":\"三沙市\",\"children\":[{\"value\":\"460321\",\"label\":\"西沙群岛\"},{\"value\":\"460322\",\"label\":\"南沙群岛\"},{\"value\":\"460323\",\"label\":\"中沙群岛的岛礁及其海域\"}]},{\"value\":\"460400\",\"label\":\"儋州市\",\"children\":[]},{\"value\":\"469000\",\"label\":\"省直辖县级行政区划\",\"children\":[{\"value\":\"469001\",\"label\":\"五指山市\"},{\"value\":\"469002\",\"label\":\"琼海市\"},{\"value\":\"469005\",\"label\":\"文昌市\"},{\"value\":\"469006\",\"label\":\"万宁市\"},{\"value\":\"469007\",\"label\":\"东方市\"},{\"value\":\"469021\",\"label\":\"定安县\"},{\"value\":\"469022\",\"label\":\"屯昌县\"},{\"value\":\"469023\",\"label\":\"澄迈县\"},{\"value\":\"469024\",\"label\":\"临高县\"},{\"value\":\"469025\",\"label\":\"白沙黎族自治县\"},{\"value\":\"469026\",\"label\":\"昌江黎族自治县\"},{\"value\":\"469027\",\"label\":\"乐东黎族自治县\"},{\"value\":\"469028\",\"label\":\"陵水黎族自治县\"},{\"value\":\"469029\",\"label\":\"保亭黎族苗族自治县\"},{\"value\":\"469030\",\"label\":\"琼中黎族苗族自治县\"}]}]},{\"value\":\"500000\",\"label\":\"重庆市\",\"children\":[{\"value\":\"500100\",\"label\":\"市辖区\",\"children\":[{\"value\":\"500101\",\"label\":\"万州区\"},{\"value\":\"500102\",\"label\":\"涪陵区\"},{\"value\":\"500103\",\"label\":\"渝中区\"},{\"value\":\"500104\",\"label\":\"大渡口区\"},{\"value\":\"500105\",\"label\":\"江北区\"},{\"value\":\"500106\",\"label\":\"沙坪坝区\"},{\"value\":\"500107\",\"label\":\"九龙坡区\"},{\"value\":\"500108\",\"label\":\"南岸区\"},{\"value\":\"500109\",\"label\":\"北碚区\"},{\"value\":\"500110\",\"label\":\"綦江区\"},{\"value\":\"500111\",\"label\":\"大足区\"},{\"value\":\"500112\",\"label\":\"渝北区\"},{\"value\":\"500113\",\"label\":\"巴南区\"},{\"value\":\"500114\",\"label\":\"黔江区\"},{\"value\":\"500115\",\"label\":\"长寿区\"},{\"value\":\"500116\",\"label\":\"江津区\"},{\"value\":\"500117\",\"label\":\"合川区\"},{\"value\":\"500118\",\"label\":\"永川区\"},{\"value\":\"500119\",\"label\":\"南川区\"},{\"value\":\"500120\",\"label\":\"璧山区\"},{\"value\":\"500151\",\"label\":\"铜梁区\"},{\"value\":\"500152\",\"label\":\"潼南区\"},{\"value\":\"500153\",\"label\":\"荣昌区\"},{\"value\":\"500154\",\"label\":\"开州区\"},{\"value\":\"500155\",\"label\":\"梁平区\"},{\"value\":\"500156\",\"label\":\"武隆区\"}]},{\"value\":\"500200\",\"label\":\"县\",\"children\":[{\"value\":\"500229\",\"label\":\"城口县\"},{\"value\":\"500230\",\"label\":\"丰都县\"},{\"value\":\"500231\",\"label\":\"垫江县\"},{\"value\":\"500233\",\"label\":\"忠县\"},{\"value\":\"500235\",\"label\":\"云阳县\"},{\"value\":\"500236\",\"label\":\"奉节县\"},{\"value\":\"500237\",\"label\":\"巫山县\"},{\"value\":\"500238\",\"label\":\"巫溪县\"},{\"value\":\"500240\",\"label\":\"石柱土家族自治县\"},{\"value\":\"500241\",\"label\":\"秀山土家族苗族自治县\"},{\"value\":\"500242\",\"label\":\"酉阳土家族苗族自治县\"},{\"value\":\"500243\",\"label\":\"彭水苗族土家族自治县\"}]}]},{\"value\":\"510000\",\"label\":\"四川省\",\"children\":[{\"value\":\"510100\",\"label\":\"成都市\",\"children\":[{\"value\":\"510104\",\"label\":\"锦江区\"},{\"value\":\"510105\",\"label\":\"青羊区\"},{\"value\":\"510106\",\"label\":\"金牛区\"},{\"value\":\"510107\",\"label\":\"武侯区\"},{\"value\":\"510108\",\"label\":\"成华区\"},{\"value\":\"510112\",\"label\":\"龙泉驿区\"},{\"value\":\"510113\",\"label\":\"青白江区\"},{\"value\":\"510114\",\"label\":\"新都区\"},{\"value\":\"510115\",\"label\":\"温江区\"},{\"value\":\"510116\",\"label\":\"双流区\"},{\"value\":\"510117\",\"label\":\"郫都区\"},{\"value\":\"510118\",\"label\":\"新津区\"},{\"value\":\"510121\",\"label\":\"金堂县\"},{\"value\":\"510129\",\"label\":\"大邑县\"},{\"value\":\"510131\",\"label\":\"蒲江县\"},{\"value\":\"510181\",\"label\":\"都江堰市\"},{\"value\":\"510182\",\"label\":\"彭州市\"},{\"value\":\"510183\",\"label\":\"邛崃市\"},{\"value\":\"510184\",\"label\":\"崇州市\"},{\"value\":\"510185\",\"label\":\"简阳市\"}]},{\"value\":\"510300\",\"label\":\"自贡市\",\"children\":[{\"value\":\"510302\",\"label\":\"自流井区\"},{\"value\":\"510303\",\"label\":\"贡井区\"},{\"value\":\"510304\",\"label\":\"大安区\"},{\"value\":\"510311\",\"label\":\"沿滩区\"},{\"value\":\"510321\",\"label\":\"荣县\"},{\"value\":\"510322\",\"label\":\"富顺县\"}]},{\"value\":\"510400\",\"label\":\"攀枝花市\",\"children\":[{\"value\":\"510402\",\"label\":\"东区\"},{\"value\":\"510403\",\"label\":\"西区\"},{\"value\":\"510411\",\"label\":\"仁和区\"},{\"value\":\"510421\",\"label\":\"米易县\"},{\"value\":\"510422\",\"label\":\"盐边县\"}]},{\"value\":\"510500\",\"label\":\"泸州市\",\"children\":[{\"value\":\"510502\",\"label\":\"江阳区\"},{\"value\":\"510503\",\"label\":\"纳溪区\"},{\"value\":\"510504\",\"label\":\"龙马潭区\"},{\"value\":\"510521\",\"label\":\"泸县\"},{\"value\":\"510522\",\"label\":\"合江县\"},{\"value\":\"510524\",\"label\":\"叙永县\"},{\"value\":\"510525\",\"label\":\"古蔺县\"}]},{\"value\":\"510600\",\"label\":\"德阳市\",\"children\":[{\"value\":\"510603\",\"label\":\"旌阳区\"},{\"value\":\"510604\",\"label\":\"罗江区\"},{\"value\":\"510623\",\"label\":\"中江县\"},{\"value\":\"510681\",\"label\":\"广汉市\"},{\"value\":\"510682\",\"label\":\"什邡市\"},{\"value\":\"510683\",\"label\":\"绵竹市\"}]},{\"value\":\"510700\",\"label\":\"绵阳市\",\"children\":[{\"value\":\"510703\",\"label\":\"涪城区\"},{\"value\":\"510704\",\"label\":\"游仙区\"},{\"value\":\"510705\",\"label\":\"安州区\"},{\"value\":\"510722\",\"label\":\"三台县\"},{\"value\":\"510723\",\"label\":\"盐亭县\"},{\"value\":\"510725\",\"label\":\"梓潼县\"},{\"value\":\"510726\",\"label\":\"北川羌族自治县\"},{\"value\":\"510727\",\"label\":\"平武县\"},{\"value\":\"510781\",\"label\":\"江油市\"}]},{\"value\":\"510800\",\"label\":\"广元市\",\"children\":[{\"value\":\"510802\",\"label\":\"利州区\"},{\"value\":\"510811\",\"label\":\"昭化区\"},{\"value\":\"510812\",\"label\":\"朝天区\"},{\"value\":\"510821\",\"label\":\"旺苍县\"},{\"value\":\"510822\",\"label\":\"青川县\"},{\"value\":\"510823\",\"label\":\"剑阁县\"},{\"value\":\"510824\",\"label\":\"苍溪县\"}]},{\"value\":\"510900\",\"label\":\"遂宁市\",\"children\":[{\"value\":\"510903\",\"label\":\"船山区\"},{\"value\":\"510904\",\"label\":\"安居区\"},{\"value\":\"510921\",\"label\":\"蓬溪县\"},{\"value\":\"510923\",\"label\":\"大英县\"},{\"value\":\"510981\",\"label\":\"射洪市\"}]},{\"value\":\"511000\",\"label\":\"内江市\",\"children\":[{\"value\":\"511002\",\"label\":\"市中区\"},{\"value\":\"511011\",\"label\":\"东兴区\"},{\"value\":\"511024\",\"label\":\"威远县\"},{\"value\":\"511025\",\"label\":\"资中县\"},{\"value\":\"511071\",\"label\":\"内江经济开发区\"},{\"value\":\"511083\",\"label\":\"隆昌市\"}]},{\"value\":\"511100\",\"label\":\"乐山市\",\"children\":[{\"value\":\"511102\",\"label\":\"市中区\"},{\"value\":\"511111\",\"label\":\"沙湾区\"},{\"value\":\"511112\",\"label\":\"五通桥区\"},{\"value\":\"511113\",\"label\":\"金口河区\"},{\"value\":\"511123\",\"label\":\"犍为县\"},{\"value\":\"511124\",\"label\":\"井研县\"},{\"value\":\"511126\",\"label\":\"夹江县\"},{\"value\":\"511129\",\"label\":\"沐川县\"},{\"value\":\"511132\",\"label\":\"峨边彝族自治县\"},{\"value\":\"511133\",\"label\":\"马边彝族自治县\"},{\"value\":\"511181\",\"label\":\"峨眉山市\"}]},{\"value\":\"511300\",\"label\":\"南充市\",\"children\":[{\"value\":\"511302\",\"label\":\"顺庆区\"},{\"value\":\"511303\",\"label\":\"高坪区\"},{\"value\":\"511304\",\"label\":\"嘉陵区\"},{\"value\":\"511321\",\"label\":\"南部县\"},{\"value\":\"511322\",\"label\":\"营山县\"},{\"value\":\"511323\",\"label\":\"蓬安县\"},{\"value\":\"511324\",\"label\":\"仪陇县\"},{\"value\":\"511325\",\"label\":\"西充县\"},{\"value\":\"511381\",\"label\":\"阆中市\"}]},{\"value\":\"511400\",\"label\":\"眉山市\",\"children\":[{\"value\":\"511402\",\"label\":\"东坡区\"},{\"value\":\"511403\",\"label\":\"彭山区\"},{\"value\":\"511421\",\"label\":\"仁寿县\"},{\"value\":\"511423\",\"label\":\"洪雅县\"},{\"value\":\"511424\",\"label\":\"丹棱县\"},{\"value\":\"511425\",\"label\":\"青神县\"}]},{\"value\":\"511500\",\"label\":\"宜宾市\",\"children\":[{\"value\":\"511502\",\"label\":\"翠屏区\"},{\"value\":\"511503\",\"label\":\"南溪区\"},{\"value\":\"511504\",\"label\":\"叙州区\"},{\"value\":\"511523\",\"label\":\"江安县\"},{\"value\":\"511524\",\"label\":\"长宁县\"},{\"value\":\"511525\",\"label\":\"高县\"},{\"value\":\"511526\",\"label\":\"珙县\"},{\"value\":\"511527\",\"label\":\"筠连县\"},{\"value\":\"511528\",\"label\":\"兴文县\"},{\"value\":\"511529\",\"label\":\"屏山县\"}]},{\"value\":\"511600\",\"label\":\"广安市\",\"children\":[{\"value\":\"511602\",\"label\":\"广安区\"},{\"value\":\"511603\",\"label\":\"前锋区\"},{\"value\":\"511621\",\"label\":\"岳池县\"},{\"value\":\"511622\",\"label\":\"武胜县\"},{\"value\":\"511623\",\"label\":\"邻水县\"},{\"value\":\"511681\",\"label\":\"华蓥市\"}]},{\"value\":\"511700\",\"label\":\"达州市\",\"children\":[{\"value\":\"511702\",\"label\":\"通川区\"},{\"value\":\"511703\",\"label\":\"达川区\"},{\"value\":\"511722\",\"label\":\"宣汉县\"},{\"value\":\"511723\",\"label\":\"开江县\"},{\"value\":\"511724\",\"label\":\"大竹县\"},{\"value\":\"511725\",\"label\":\"渠县\"},{\"value\":\"511771\",\"label\":\"达州经济开发区\"},{\"value\":\"511781\",\"label\":\"万源市\"}]},{\"value\":\"511800\",\"label\":\"雅安市\",\"children\":[{\"value\":\"511802\",\"label\":\"雨城区\"},{\"value\":\"511803\",\"label\":\"名山区\"},{\"value\":\"511822\",\"label\":\"荥经县\"},{\"value\":\"511823\",\"label\":\"汉源县\"},{\"value\":\"511824\",\"label\":\"石棉县\"},{\"value\":\"511825\",\"label\":\"天全县\"},{\"value\":\"511826\",\"label\":\"芦山县\"},{\"value\":\"511827\",\"label\":\"宝兴县\"}]},{\"value\":\"511900\",\"label\":\"巴中市\",\"children\":[{\"value\":\"511902\",\"label\":\"巴州区\"},{\"value\":\"511903\",\"label\":\"恩阳区\"},{\"value\":\"511921\",\"label\":\"通江县\"},{\"value\":\"511922\",\"label\":\"南江县\"},{\"value\":\"511923\",\"label\":\"平昌县\"},{\"value\":\"511971\",\"label\":\"巴中经济开发区\"}]},{\"value\":\"512000\",\"label\":\"资阳市\",\"children\":[{\"value\":\"512002\",\"label\":\"雁江区\"},{\"value\":\"512021\",\"label\":\"安岳县\"},{\"value\":\"512022\",\"label\":\"乐至县\"}]},{\"value\":\"513200\",\"label\":\"阿坝藏族羌族自治州\",\"children\":[{\"value\":\"513201\",\"label\":\"马尔康市\"},{\"value\":\"513221\",\"label\":\"汶川县\"},{\"value\":\"513222\",\"label\":\"理县\"},{\"value\":\"513223\",\"label\":\"茂县\"},{\"value\":\"513224\",\"label\":\"松潘县\"},{\"value\":\"513225\",\"label\":\"九寨沟县\"},{\"value\":\"513226\",\"label\":\"金川县\"},{\"value\":\"513227\",\"label\":\"小金县\"},{\"value\":\"513228\",\"label\":\"黑水县\"},{\"value\":\"513230\",\"label\":\"壤塘县\"},{\"value\":\"513231\",\"label\":\"阿坝县\"},{\"value\":\"513232\",\"label\":\"若尔盖县\"},{\"value\":\"513233\",\"label\":\"红原县\"}]},{\"value\":\"513300\",\"label\":\"甘孜藏族自治州\",\"children\":[{\"value\":\"513301\",\"label\":\"康定市\"},{\"value\":\"513322\",\"label\":\"泸定县\"},{\"value\":\"513323\",\"label\":\"丹巴县\"},{\"value\":\"513324\",\"label\":\"九龙县\"},{\"value\":\"513325\",\"label\":\"雅江县\"},{\"value\":\"513326\",\"label\":\"道孚县\"},{\"value\":\"513327\",\"label\":\"炉霍县\"},{\"value\":\"513328\",\"label\":\"甘孜县\"},{\"value\":\"513329\",\"label\":\"新龙县\"},{\"value\":\"513330\",\"label\":\"德格县\"},{\"value\":\"513331\",\"label\":\"白玉县\"},{\"value\":\"513332\",\"label\":\"石渠县\"},{\"value\":\"513333\",\"label\":\"色达县\"},{\"value\":\"513334\",\"label\":\"理塘县\"},{\"value\":\"513335\",\"label\":\"巴塘县\"},{\"value\":\"513336\",\"label\":\"乡城县\"},{\"value\":\"513337\",\"label\":\"稻城县\"},{\"value\":\"513338\",\"label\":\"得荣县\"}]},{\"value\":\"513400\",\"label\":\"凉山彝族自治州\",\"children\":[{\"value\":\"513401\",\"label\":\"西昌市\"},{\"value\":\"513422\",\"label\":\"木里藏族自治县\"},{\"value\":\"513423\",\"label\":\"盐源县\"},{\"value\":\"513424\",\"label\":\"德昌县\"},{\"value\":\"513425\",\"label\":\"会理县\"},{\"value\":\"513426\",\"label\":\"会东县\"},{\"value\":\"513427\",\"label\":\"宁南县\"},{\"value\":\"513428\",\"label\":\"普格县\"},{\"value\":\"513429\",\"label\":\"布拖县\"},{\"value\":\"513430\",\"label\":\"金阳县\"},{\"value\":\"513431\",\"label\":\"昭觉县\"},{\"value\":\"513432\",\"label\":\"喜德县\"},{\"value\":\"513433\",\"label\":\"冕宁县\"},{\"value\":\"513434\",\"label\":\"越西县\"},{\"value\":\"513435\",\"label\":\"甘洛县\"},{\"value\":\"513436\",\"label\":\"美姑县\"},{\"value\":\"513437\",\"label\":\"雷波县\"}]}]},{\"value\":\"520000\",\"label\":\"贵州省\",\"children\":[{\"value\":\"520100\",\"label\":\"贵阳市\",\"children\":[{\"value\":\"520102\",\"label\":\"南明区\"},{\"value\":\"520103\",\"label\":\"云岩区\"},{\"value\":\"520111\",\"label\":\"花溪区\"},{\"value\":\"520112\",\"label\":\"乌当区\"},{\"value\":\"520113\",\"label\":\"白云区\"},{\"value\":\"520115\",\"label\":\"观山湖区\"},{\"value\":\"520121\",\"label\":\"开阳县\"},{\"value\":\"520122\",\"label\":\"息烽县\"},{\"value\":\"520123\",\"label\":\"修文县\"},{\"value\":\"520181\",\"label\":\"清镇市\"}]},{\"value\":\"520200\",\"label\":\"六盘水市\",\"children\":[{\"value\":\"520201\",\"label\":\"钟山区\"},{\"value\":\"520203\",\"label\":\"六枝特区\"},{\"value\":\"520221\",\"label\":\"水城县\"},{\"value\":\"520281\",\"label\":\"盘州市\"}]},{\"value\":\"520300\",\"label\":\"遵义市\",\"children\":[{\"value\":\"520302\",\"label\":\"红花岗区\"},{\"value\":\"520303\",\"label\":\"汇川区\"},{\"value\":\"520304\",\"label\":\"播州区\"},{\"value\":\"520322\",\"label\":\"桐梓县\"},{\"value\":\"520323\",\"label\":\"绥阳县\"},{\"value\":\"520324\",\"label\":\"正安县\"},{\"value\":\"520325\",\"label\":\"道真仡佬族苗族自治县\"},{\"value\":\"520326\",\"label\":\"务川仡佬族苗族自治县\"},{\"value\":\"520327\",\"label\":\"凤冈县\"},{\"value\":\"520328\",\"label\":\"湄潭县\"},{\"value\":\"520329\",\"label\":\"余庆县\"},{\"value\":\"520330\",\"label\":\"习水县\"},{\"value\":\"520381\",\"label\":\"赤水市\"},{\"value\":\"520382\",\"label\":\"仁怀市\"}]},{\"value\":\"520400\",\"label\":\"安顺市\",\"children\":[{\"value\":\"520402\",\"label\":\"西秀区\"},{\"value\":\"520403\",\"label\":\"平坝区\"},{\"value\":\"520422\",\"label\":\"普定县\"},{\"value\":\"520423\",\"label\":\"镇宁布依族苗族自治县\"},{\"value\":\"520424\",\"label\":\"关岭布依族苗族自治县\"},{\"value\":\"520425\",\"label\":\"紫云苗族布依族自治县\"}]},{\"value\":\"520500\",\"label\":\"毕节市\",\"children\":[{\"value\":\"520502\",\"label\":\"七星关区\"},{\"value\":\"520521\",\"label\":\"大方县\"},{\"value\":\"520522\",\"label\":\"黔西县\"},{\"value\":\"520523\",\"label\":\"金沙县\"},{\"value\":\"520524\",\"label\":\"织金县\"},{\"value\":\"520525\",\"label\":\"纳雍县\"},{\"value\":\"520526\",\"label\":\"威宁彝族回族苗族自治县\"},{\"value\":\"520527\",\"label\":\"赫章县\"}]},{\"value\":\"520600\",\"label\":\"铜仁市\",\"children\":[{\"value\":\"520602\",\"label\":\"碧江区\"},{\"value\":\"520603\",\"label\":\"万山区\"},{\"value\":\"520621\",\"label\":\"江口县\"},{\"value\":\"520622\",\"label\":\"玉屏侗族自治县\"},{\"value\":\"520623\",\"label\":\"石阡县\"},{\"value\":\"520624\",\"label\":\"思南县\"},{\"value\":\"520625\",\"label\":\"印江土家族苗族自治县\"},{\"value\":\"520626\",\"label\":\"德江县\"},{\"value\":\"520627\",\"label\":\"沿河土家族自治县\"},{\"value\":\"520628\",\"label\":\"松桃苗族自治县\"}]},{\"value\":\"522300\",\"label\":\"黔西南布依族苗族自治州\",\"children\":[{\"value\":\"522301\",\"label\":\"兴义市\"},{\"value\":\"522302\",\"label\":\"兴仁市\"},{\"value\":\"522323\",\"label\":\"普安县\"},{\"value\":\"522324\",\"label\":\"晴隆县\"},{\"value\":\"522325\",\"label\":\"贞丰县\"},{\"value\":\"522326\",\"label\":\"望谟县\"},{\"value\":\"522327\",\"label\":\"册亨县\"},{\"value\":\"522328\",\"label\":\"安龙县\"}]},{\"value\":\"522600\",\"label\":\"黔东南苗族侗族自治州\",\"children\":[{\"value\":\"522601\",\"label\":\"凯里市\"},{\"value\":\"522622\",\"label\":\"黄平县\"},{\"value\":\"522623\",\"label\":\"施秉县\"},{\"value\":\"522624\",\"label\":\"三穗县\"},{\"value\":\"522625\",\"label\":\"镇远县\"},{\"value\":\"522626\",\"label\":\"岑巩县\"},{\"value\":\"522627\",\"label\":\"天柱县\"},{\"value\":\"522628\",\"label\":\"锦屏县\"},{\"value\":\"522629\",\"label\":\"剑河县\"},{\"value\":\"522630\",\"label\":\"台江县\"},{\"value\":\"522631\",\"label\":\"黎平县\"},{\"value\":\"522632\",\"label\":\"榕江县\"},{\"value\":\"522633\",\"label\":\"从江县\"},{\"value\":\"522634\",\"label\":\"雷山县\"},{\"value\":\"522635\",\"label\":\"麻江县\"},{\"value\":\"522636\",\"label\":\"丹寨县\"}]},{\"value\":\"522700\",\"label\":\"黔南布依族苗族自治州\",\"children\":[{\"value\":\"522701\",\"label\":\"都匀市\"},{\"value\":\"522702\",\"label\":\"福泉市\"},{\"value\":\"522722\",\"label\":\"荔波县\"},{\"value\":\"522723\",\"label\":\"贵定县\"},{\"value\":\"522725\",\"label\":\"瓮安县\"},{\"value\":\"522726\",\"label\":\"独山县\"},{\"value\":\"522727\",\"label\":\"平塘县\"},{\"value\":\"522728\",\"label\":\"罗甸县\"},{\"value\":\"522729\",\"label\":\"长顺县\"},{\"value\":\"522730\",\"label\":\"龙里县\"},{\"value\":\"522731\",\"label\":\"惠水县\"},{\"value\":\"522732\",\"label\":\"三都水族自治县\"}]}]},{\"value\":\"530000\",\"label\":\"云南省\",\"children\":[{\"value\":\"530100\",\"label\":\"昆明市\",\"children\":[{\"value\":\"530102\",\"label\":\"五华区\"},{\"value\":\"530103\",\"label\":\"盘龙区\"},{\"value\":\"530111\",\"label\":\"官渡区\"},{\"value\":\"530112\",\"label\":\"西山区\"},{\"value\":\"530113\",\"label\":\"东川区\"},{\"value\":\"530114\",\"label\":\"呈贡区\"},{\"value\":\"530115\",\"label\":\"晋宁区\"},{\"value\":\"530124\",\"label\":\"富民县\"},{\"value\":\"530125\",\"label\":\"宜良县\"},{\"value\":\"530126\",\"label\":\"石林彝族自治县\"},{\"value\":\"530127\",\"label\":\"嵩明县\"},{\"value\":\"530128\",\"label\":\"禄劝彝族苗族自治县\"},{\"value\":\"530129\",\"label\":\"寻甸回族彝族自治县\"},{\"value\":\"530181\",\"label\":\"安宁市\"}]},{\"value\":\"530300\",\"label\":\"曲靖市\",\"children\":[{\"value\":\"530302\",\"label\":\"麒麟区\"},{\"value\":\"530303\",\"label\":\"沾益区\"},{\"value\":\"530304\",\"label\":\"马龙区\"},{\"value\":\"530322\",\"label\":\"陆良县\"},{\"value\":\"530323\",\"label\":\"师宗县\"},{\"value\":\"530324\",\"label\":\"罗平县\"},{\"value\":\"530325\",\"label\":\"富源县\"},{\"value\":\"530326\",\"label\":\"会泽县\"},{\"value\":\"530381\",\"label\":\"宣威市\"}]},{\"value\":\"530400\",\"label\":\"玉溪市\",\"children\":[{\"value\":\"530402\",\"label\":\"红塔区\"},{\"value\":\"530403\",\"label\":\"江川区\"},{\"value\":\"530423\",\"label\":\"通海县\"},{\"value\":\"530424\",\"label\":\"华宁县\"},{\"value\":\"530425\",\"label\":\"易门县\"},{\"value\":\"530426\",\"label\":\"峨山彝族自治县\"},{\"value\":\"530427\",\"label\":\"新平彝族傣族自治县\"},{\"value\":\"530428\",\"label\":\"元江哈尼族彝族傣族自治县\"},{\"value\":\"530481\",\"label\":\"澄江市\"}]},{\"value\":\"530500\",\"label\":\"保山市\",\"children\":[{\"value\":\"530502\",\"label\":\"隆阳区\"},{\"value\":\"530521\",\"label\":\"施甸县\"},{\"value\":\"530523\",\"label\":\"龙陵县\"},{\"value\":\"530524\",\"label\":\"昌宁县\"},{\"value\":\"530581\",\"label\":\"腾冲市\"}]},{\"value\":\"530600\",\"label\":\"昭通市\",\"children\":[{\"value\":\"530602\",\"label\":\"昭阳区\"},{\"value\":\"530621\",\"label\":\"鲁甸县\"},{\"value\":\"530622\",\"label\":\"巧家县\"},{\"value\":\"530623\",\"label\":\"盐津县\"},{\"value\":\"530624\",\"label\":\"大关县\"},{\"value\":\"530625\",\"label\":\"永善县\"},{\"value\":\"530626\",\"label\":\"绥江县\"},{\"value\":\"530627\",\"label\":\"镇雄县\"},{\"value\":\"530628\",\"label\":\"彝良县\"},{\"value\":\"530629\",\"label\":\"威信县\"},{\"value\":\"530681\",\"label\":\"水富市\"}]},{\"value\":\"530700\",\"label\":\"丽江市\",\"children\":[{\"value\":\"530702\",\"label\":\"古城区\"},{\"value\":\"530721\",\"label\":\"玉龙纳西族自治县\"},{\"value\":\"530722\",\"label\":\"永胜县\"},{\"value\":\"530723\",\"label\":\"华坪县\"},{\"value\":\"530724\",\"label\":\"宁蒗彝族自治县\"}]},{\"value\":\"530800\",\"label\":\"普洱市\",\"children\":[{\"value\":\"530802\",\"label\":\"思茅区\"},{\"value\":\"530821\",\"label\":\"宁洱哈尼族彝族自治县\"},{\"value\":\"530822\",\"label\":\"墨江哈尼族自治县\"},{\"value\":\"530823\",\"label\":\"景东彝族自治县\"},{\"value\":\"530824\",\"label\":\"景谷傣族彝族自治县\"},{\"value\":\"530825\",\"label\":\"镇沅彝族哈尼族拉祜族自治县\"},{\"value\":\"530826\",\"label\":\"江城哈尼族彝族自治县\"},{\"value\":\"530827\",\"label\":\"孟连傣族拉祜族佤族自治县\"},{\"value\":\"530828\",\"label\":\"澜沧拉祜族自治县\"},{\"value\":\"530829\",\"label\":\"西盟佤族自治县\"}]},{\"value\":\"530900\",\"label\":\"临沧市\",\"children\":[{\"value\":\"530902\",\"label\":\"临翔区\"},{\"value\":\"530921\",\"label\":\"凤庆县\"},{\"value\":\"530922\",\"label\":\"云县\"},{\"value\":\"530923\",\"label\":\"永德县\"},{\"value\":\"530924\",\"label\":\"镇康县\"},{\"value\":\"530925\",\"label\":\"双江拉祜族佤族布朗族傣族自治县\"},{\"value\":\"530926\",\"label\":\"耿马傣族佤族自治县\"},{\"value\":\"530927\",\"label\":\"沧源佤族自治县\"}]},{\"value\":\"532300\",\"label\":\"楚雄彝族自治州\",\"children\":[{\"value\":\"532301\",\"label\":\"楚雄市\"},{\"value\":\"532322\",\"label\":\"双柏县\"},{\"value\":\"532323\",\"label\":\"牟定县\"},{\"value\":\"532324\",\"label\":\"南华县\"},{\"value\":\"532325\",\"label\":\"姚安县\"},{\"value\":\"532326\",\"label\":\"大姚县\"},{\"value\":\"532327\",\"label\":\"永仁县\"},{\"value\":\"532328\",\"label\":\"元谋县\"},{\"value\":\"532329\",\"label\":\"武定县\"},{\"value\":\"532331\",\"label\":\"禄丰县\"}]},{\"value\":\"532500\",\"label\":\"红河哈尼族彝族自治州\",\"children\":[{\"value\":\"532501\",\"label\":\"个旧市\"},{\"value\":\"532502\",\"label\":\"开远市\"},{\"value\":\"532503\",\"label\":\"蒙自市\"},{\"value\":\"532504\",\"label\":\"弥勒市\"},{\"value\":\"532523\",\"label\":\"屏边苗族自治县\"},{\"value\":\"532524\",\"label\":\"建水县\"},{\"value\":\"532525\",\"label\":\"石屏县\"},{\"value\":\"532527\",\"label\":\"泸西县\"},{\"value\":\"532528\",\"label\":\"元阳县\"},{\"value\":\"532529\",\"label\":\"红河县\"},{\"value\":\"532530\",\"label\":\"金平苗族瑶族傣族自治县\"},{\"value\":\"532531\",\"label\":\"绿春县\"},{\"value\":\"532532\",\"label\":\"河口瑶族自治县\"}]},{\"value\":\"532600\",\"label\":\"文山壮族苗族自治州\",\"children\":[{\"value\":\"532601\",\"label\":\"文山市\"},{\"value\":\"532622\",\"label\":\"砚山县\"},{\"value\":\"532623\",\"label\":\"西畴县\"},{\"value\":\"532624\",\"label\":\"麻栗坡县\"},{\"value\":\"532625\",\"label\":\"马关县\"},{\"value\":\"532626\",\"label\":\"丘北县\"},{\"value\":\"532627\",\"label\":\"广南县\"},{\"value\":\"532628\",\"label\":\"富宁县\"}]},{\"value\":\"532800\",\"label\":\"西双版纳傣族自治州\",\"children\":[{\"value\":\"532801\",\"label\":\"景洪市\"},{\"value\":\"532822\",\"label\":\"勐海县\"},{\"value\":\"532823\",\"label\":\"勐腊县\"}]},{\"value\":\"532900\",\"label\":\"大理白族自治州\",\"children\":[{\"value\":\"532901\",\"label\":\"大理市\"},{\"value\":\"532922\",\"label\":\"漾濞彝族自治县\"},{\"value\":\"532923\",\"label\":\"祥云县\"},{\"value\":\"532924\",\"label\":\"宾川县\"},{\"value\":\"532925\",\"label\":\"弥渡县\"},{\"value\":\"532926\",\"label\":\"南涧彝族自治县\"},{\"value\":\"532927\",\"label\":\"巍山彝族回族自治县\"},{\"value\":\"532928\",\"label\":\"永平县\"},{\"value\":\"532929\",\"label\":\"云龙县\"},{\"value\":\"532930\",\"label\":\"洱源县\"},{\"value\":\"532931\",\"label\":\"剑川县\"},{\"value\":\"532932\",\"label\":\"鹤庆县\"}]},{\"value\":\"533100\",\"label\":\"德宏傣族景颇族自治州\",\"children\":[{\"value\":\"533102\",\"label\":\"瑞丽市\"},{\"value\":\"533103\",\"label\":\"芒市\"},{\"value\":\"533122\",\"label\":\"梁河县\"},{\"value\":\"533123\",\"label\":\"盈江县\"},{\"value\":\"533124\",\"label\":\"陇川县\"}]},{\"value\":\"533300\",\"label\":\"怒江傈僳族自治州\",\"children\":[{\"value\":\"533301\",\"label\":\"泸水市\"},{\"value\":\"533323\",\"label\":\"福贡县\"},{\"value\":\"533324\",\"label\":\"贡山独龙族怒族自治县\"},{\"value\":\"533325\",\"label\":\"兰坪白族普米族自治县\"}]},{\"value\":\"533400\",\"label\":\"迪庆藏族自治州\",\"children\":[{\"value\":\"533401\",\"label\":\"香格里拉市\"},{\"value\":\"533422\",\"label\":\"德钦县\"},{\"value\":\"533423\",\"label\":\"维西傈僳族自治县\"}]}]},{\"value\":\"540000\",\"label\":\"西藏自治区\",\"children\":[{\"value\":\"540100\",\"label\":\"拉萨市\",\"children\":[{\"value\":\"540102\",\"label\":\"城关区\"},{\"value\":\"540103\",\"label\":\"堆龙德庆区\"},{\"value\":\"540104\",\"label\":\"达孜区\"},{\"value\":\"540121\",\"label\":\"林周县\"},{\"value\":\"540122\",\"label\":\"当雄县\"},{\"value\":\"540123\",\"label\":\"尼木县\"},{\"value\":\"540124\",\"label\":\"曲水县\"},{\"value\":\"540127\",\"label\":\"墨竹工卡县\"},{\"value\":\"540171\",\"label\":\"格尔木藏青工业园区\"},{\"value\":\"540172\",\"label\":\"拉萨经济技术开发区\"},{\"value\":\"540173\",\"label\":\"西藏文化旅游创意园区\"},{\"value\":\"540174\",\"label\":\"达孜工业园区\"}]},{\"value\":\"540200\",\"label\":\"日喀则市\",\"children\":[{\"value\":\"540202\",\"label\":\"桑珠孜区\"},{\"value\":\"540221\",\"label\":\"南木林县\"},{\"value\":\"540222\",\"label\":\"江孜县\"},{\"value\":\"540223\",\"label\":\"定日县\"},{\"value\":\"540224\",\"label\":\"萨迦县\"},{\"value\":\"540225\",\"label\":\"拉孜县\"},{\"value\":\"540226\",\"label\":\"昂仁县\"},{\"value\":\"540227\",\"label\":\"谢通门县\"},{\"value\":\"540228\",\"label\":\"白朗县\"},{\"value\":\"540229\",\"label\":\"仁布县\"},{\"value\":\"540230\",\"label\":\"康马县\"},{\"value\":\"540231\",\"label\":\"定结县\"},{\"value\":\"540232\",\"label\":\"仲巴县\"},{\"value\":\"540233\",\"label\":\"亚东县\"},{\"value\":\"540234\",\"label\":\"吉隆县\"},{\"value\":\"540235\",\"label\":\"聂拉木县\"},{\"value\":\"540236\",\"label\":\"萨嘎县\"},{\"value\":\"540237\",\"label\":\"岗巴县\"}]},{\"value\":\"540300\",\"label\":\"昌都市\",\"children\":[{\"value\":\"540302\",\"label\":\"卡若区\"},{\"value\":\"540321\",\"label\":\"江达县\"},{\"value\":\"540322\",\"label\":\"贡觉县\"},{\"value\":\"540323\",\"label\":\"类乌齐县\"},{\"value\":\"540324\",\"label\":\"丁青县\"},{\"value\":\"540325\",\"label\":\"察雅县\"},{\"value\":\"540326\",\"label\":\"八宿县\"},{\"value\":\"540327\",\"label\":\"左贡县\"},{\"value\":\"540328\",\"label\":\"芒康县\"},{\"value\":\"540329\",\"label\":\"洛隆县\"},{\"value\":\"540330\",\"label\":\"边坝县\"}]},{\"value\":\"540400\",\"label\":\"林芝市\",\"children\":[{\"value\":\"540402\",\"label\":\"巴宜区\"},{\"value\":\"540421\",\"label\":\"工布江达县\"},{\"value\":\"540422\",\"label\":\"米林县\"},{\"value\":\"540423\",\"label\":\"墨脱县\"},{\"value\":\"540424\",\"label\":\"波密县\"},{\"value\":\"540425\",\"label\":\"察隅县\"},{\"value\":\"540426\",\"label\":\"朗县\"}]},{\"value\":\"540500\",\"label\":\"山南市\",\"children\":[{\"value\":\"540502\",\"label\":\"乃东区\"},{\"value\":\"540521\",\"label\":\"扎囊县\"},{\"value\":\"540522\",\"label\":\"贡嘎县\"},{\"value\":\"540523\",\"label\":\"桑日县\"},{\"value\":\"540524\",\"label\":\"琼结县\"},{\"value\":\"540525\",\"label\":\"曲松县\"},{\"value\":\"540526\",\"label\":\"措美县\"},{\"value\":\"540527\",\"label\":\"洛扎县\"},{\"value\":\"540528\",\"label\":\"加查县\"},{\"value\":\"540529\",\"label\":\"隆子县\"},{\"value\":\"540530\",\"label\":\"错那县\"},{\"value\":\"540531\",\"label\":\"浪卡子县\"}]},{\"value\":\"540600\",\"label\":\"那曲市\",\"children\":[{\"value\":\"540602\",\"label\":\"色尼区\"},{\"value\":\"540621\",\"label\":\"嘉黎县\"},{\"value\":\"540622\",\"label\":\"比如县\"},{\"value\":\"540623\",\"label\":\"聂荣县\"},{\"value\":\"540624\",\"label\":\"安多县\"},{\"value\":\"540625\",\"label\":\"申扎县\"},{\"value\":\"540626\",\"label\":\"索县\"},{\"value\":\"540627\",\"label\":\"班戈县\"},{\"value\":\"540628\",\"label\":\"巴青县\"},{\"value\":\"540629\",\"label\":\"尼玛县\"},{\"value\":\"540630\",\"label\":\"双湖县\"}]},{\"value\":\"542500\",\"label\":\"阿里地区\",\"children\":[{\"value\":\"542521\",\"label\":\"普兰县\"},{\"value\":\"542522\",\"label\":\"札达县\"},{\"value\":\"542523\",\"label\":\"噶尔县\"},{\"value\":\"542524\",\"label\":\"日土县\"},{\"value\":\"542525\",\"label\":\"革吉县\"},{\"value\":\"542526\",\"label\":\"改则县\"},{\"value\":\"542527\",\"label\":\"措勤县\"}]}]},{\"value\":\"610000\",\"label\":\"陕西省\",\"children\":[{\"value\":\"610100\",\"label\":\"西安市\",\"children\":[]},{\"value\":\"610200\",\"label\":\"铜川市\",\"children\":[{\"value\":\"610202\",\"label\":\"王益区\"},{\"value\":\"610203\",\"label\":\"印台区\"},{\"value\":\"610204\",\"label\":\"耀州区\"},{\"value\":\"610222\",\"label\":\"宜君县\"}]},{\"value\":\"610300\",\"label\":\"宝鸡市\",\"children\":[{\"value\":\"610302\",\"label\":\"渭滨区\"},{\"value\":\"610303\",\"label\":\"金台区\"},{\"value\":\"610304\",\"label\":\"陈仓区\"},{\"value\":\"610322\",\"label\":\"凤翔县\"},{\"value\":\"610323\",\"label\":\"岐山县\"},{\"value\":\"610324\",\"label\":\"扶风县\"},{\"value\":\"610326\",\"label\":\"眉县\"},{\"value\":\"610327\",\"label\":\"陇县\"},{\"value\":\"610328\",\"label\":\"千阳县\"},{\"value\":\"610329\",\"label\":\"麟游县\"},{\"value\":\"610330\",\"label\":\"凤县\"},{\"value\":\"610331\",\"label\":\"太白县\"}]},{\"value\":\"610400\",\"label\":\"咸阳市\",\"children\":[{\"value\":\"610402\",\"label\":\"秦都区\"},{\"value\":\"610403\",\"label\":\"杨陵区\"},{\"value\":\"610404\",\"label\":\"渭城区\"},{\"value\":\"610422\",\"label\":\"三原县\"},{\"value\":\"610423\",\"label\":\"泾阳县\"},{\"value\":\"610424\",\"label\":\"乾县\"},{\"value\":\"610425\",\"label\":\"礼泉县\"},{\"value\":\"610426\",\"label\":\"永寿县\"},{\"value\":\"610428\",\"label\":\"长武县\"},{\"value\":\"610429\",\"label\":\"旬邑县\"},{\"value\":\"610430\",\"label\":\"淳化县\"},{\"value\":\"610431\",\"label\":\"武功县\"},{\"value\":\"610481\",\"label\":\"兴平市\"},{\"value\":\"610482\",\"label\":\"彬州市\"}]},{\"value\":\"610500\",\"label\":\"渭南市\",\"children\":[{\"value\":\"610502\",\"label\":\"临渭区\"},{\"value\":\"610503\",\"label\":\"华州区\"},{\"value\":\"610522\",\"label\":\"潼关县\"},{\"value\":\"610523\",\"label\":\"大荔县\"},{\"value\":\"610524\",\"label\":\"合阳县\"},{\"value\":\"610525\",\"label\":\"澄城县\"},{\"value\":\"610526\",\"label\":\"蒲城县\"},{\"value\":\"610527\",\"label\":\"白水县\"},{\"value\":\"610528\",\"label\":\"富平县\"},{\"value\":\"610581\",\"label\":\"韩城市\"},{\"value\":\"610582\",\"label\":\"华阴市\"}]},{\"value\":\"610600\",\"label\":\"延安市\",\"children\":[{\"value\":\"610602\",\"label\":\"宝塔区\"},{\"value\":\"610603\",\"label\":\"安塞区\"},{\"value\":\"610621\",\"label\":\"延长县\"},{\"value\":\"610622\",\"label\":\"延川县\"},{\"value\":\"610625\",\"label\":\"志丹县\"},{\"value\":\"610626\",\"label\":\"吴起县\"},{\"value\":\"610627\",\"label\":\"甘泉县\"},{\"value\":\"610628\",\"label\":\"富县\"},{\"value\":\"610629\",\"label\":\"洛川县\"},{\"value\":\"610630\",\"label\":\"宜川县\"},{\"value\":\"610631\",\"label\":\"黄龙县\"},{\"value\":\"610632\",\"label\":\"黄陵县\"},{\"value\":\"610681\",\"label\":\"子长市\"}]},{\"value\":\"610700\",\"label\":\"汉中市\",\"children\":[{\"value\":\"610702\",\"label\":\"汉台区\"},{\"value\":\"610703\",\"label\":\"南郑区\"},{\"value\":\"610722\",\"label\":\"城固县\"},{\"value\":\"610723\",\"label\":\"洋县\"},{\"value\":\"610724\",\"label\":\"西乡县\"},{\"value\":\"610725\",\"label\":\"勉县\"},{\"value\":\"610726\",\"label\":\"宁强县\"},{\"value\":\"610727\",\"label\":\"略阳县\"},{\"value\":\"610728\",\"label\":\"镇巴县\"},{\"value\":\"610729\",\"label\":\"留坝县\"},{\"value\":\"610730\",\"label\":\"佛坪县\"}]},{\"value\":\"610800\",\"label\":\"榆林市\",\"children\":[{\"value\":\"610802\",\"label\":\"榆阳区\"},{\"value\":\"610803\",\"label\":\"横山区\"},{\"value\":\"610822\",\"label\":\"府谷县\"},{\"value\":\"610824\",\"label\":\"靖边县\"},{\"value\":\"610825\",\"label\":\"定边县\"},{\"value\":\"610826\",\"label\":\"绥德县\"},{\"value\":\"610827\",\"label\":\"米脂县\"},{\"value\":\"610828\",\"label\":\"佳县\"},{\"value\":\"610829\",\"label\":\"吴堡县\"},{\"value\":\"610830\",\"label\":\"清涧县\"},{\"value\":\"610831\",\"label\":\"子洲县\"},{\"value\":\"610881\",\"label\":\"神木市\"}]},{\"value\":\"610900\",\"label\":\"安康市\",\"children\":[{\"value\":\"610902\",\"label\":\"汉滨区\"},{\"value\":\"610921\",\"label\":\"汉阴县\"},{\"value\":\"610922\",\"label\":\"石泉县\"},{\"value\":\"610923\",\"label\":\"宁陕县\"},{\"value\":\"610924\",\"label\":\"紫阳县\"},{\"value\":\"610925\",\"label\":\"岚皋县\"},{\"value\":\"610926\",\"label\":\"平利县\"},{\"value\":\"610927\",\"label\":\"镇坪县\"},{\"value\":\"610928\",\"label\":\"旬阳县\"},{\"value\":\"610929\",\"label\":\"白河县\"}]},{\"value\":\"611000\",\"label\":\"商洛市\",\"children\":[{\"value\":\"611002\",\"label\":\"商州区\"},{\"value\":\"611021\",\"label\":\"洛南县\"},{\"value\":\"611022\",\"label\":\"丹凤县\"},{\"value\":\"611023\",\"label\":\"商南县\"},{\"value\":\"611024\",\"label\":\"山阳县\"},{\"value\":\"611025\",\"label\":\"镇安县\"},{\"value\":\"611026\",\"label\":\"柞水县\"}]}]},{\"value\":\"620000\",\"label\":\"甘肃省\",\"children\":[{\"value\":\"620100\",\"label\":\"兰州市\",\"children\":[{\"value\":\"620102\",\"label\":\"城关区\"},{\"value\":\"620103\",\"label\":\"七里河区\"},{\"value\":\"620104\",\"label\":\"西固区\"},{\"value\":\"620105\",\"label\":\"安宁区\"},{\"value\":\"620111\",\"label\":\"红古区\"},{\"value\":\"620121\",\"label\":\"永登县\"},{\"value\":\"620122\",\"label\":\"皋兰县\"},{\"value\":\"620123\",\"label\":\"榆中县\"},{\"value\":\"620171\",\"label\":\"兰州新区\"}]},{\"value\":\"620200\",\"label\":\"嘉峪关市\",\"children\":[{\"value\":\"620201\",\"label\":\"市辖区\"}]},{\"value\":\"620300\",\"label\":\"金昌市\",\"children\":[{\"value\":\"620302\",\"label\":\"金川区\"},{\"value\":\"620321\",\"label\":\"永昌县\"}]},{\"value\":\"620400\",\"label\":\"白银市\",\"children\":[{\"value\":\"620402\",\"label\":\"白银区\"},{\"value\":\"620403\",\"label\":\"平川区\"},{\"value\":\"620421\",\"label\":\"靖远县\"},{\"value\":\"620422\",\"label\":\"会宁县\"},{\"value\":\"620423\",\"label\":\"景泰县\"}]},{\"value\":\"620500\",\"label\":\"天水市\",\"children\":[{\"value\":\"620502\",\"label\":\"秦州区\"},{\"value\":\"620503\",\"label\":\"麦积区\"},{\"value\":\"620521\",\"label\":\"清水县\"},{\"value\":\"620522\",\"label\":\"秦安县\"},{\"value\":\"620523\",\"label\":\"甘谷县\"},{\"value\":\"620524\",\"label\":\"武山县\"},{\"value\":\"620525\",\"label\":\"张家川回族自治县\"}]},{\"value\":\"620600\",\"label\":\"武威市\",\"children\":[{\"value\":\"620602\",\"label\":\"凉州区\"},{\"value\":\"620621\",\"label\":\"民勤县\"},{\"value\":\"620622\",\"label\":\"古浪县\"},{\"value\":\"620623\",\"label\":\"天祝藏族自治县\"}]},{\"value\":\"620700\",\"label\":\"张掖市\",\"children\":[{\"value\":\"620702\",\"label\":\"甘州区\"},{\"value\":\"620721\",\"label\":\"肃南裕固族自治县\"},{\"value\":\"620722\",\"label\":\"民乐县\"},{\"value\":\"620723\",\"label\":\"临泽县\"},{\"value\":\"620724\",\"label\":\"高台县\"},{\"value\":\"620725\",\"label\":\"山丹县\"}]},{\"value\":\"620800\",\"label\":\"平凉市\",\"children\":[{\"value\":\"620802\",\"label\":\"崆峒区\"},{\"value\":\"620821\",\"label\":\"泾川县\"},{\"value\":\"620822\",\"label\":\"灵台县\"},{\"value\":\"620823\",\"label\":\"崇信县\"},{\"value\":\"620825\",\"label\":\"庄浪县\"},{\"value\":\"620826\",\"label\":\"静宁县\"},{\"value\":\"620881\",\"label\":\"华亭市\"}]},{\"value\":\"620900\",\"label\":\"酒泉市\",\"children\":[{\"value\":\"620902\",\"label\":\"肃州区\"},{\"value\":\"620921\",\"label\":\"金塔县\"},{\"value\":\"620922\",\"label\":\"瓜州县\"},{\"value\":\"620923\",\"label\":\"肃北蒙古族自治县\"},{\"value\":\"620924\",\"label\":\"阿克塞哈萨克族自治县\"},{\"value\":\"620981\",\"label\":\"玉门市\"},{\"value\":\"620982\",\"label\":\"敦煌市\"}]},{\"value\":\"621000\",\"label\":\"庆阳市\",\"children\":[{\"value\":\"621002\",\"label\":\"西峰区\"},{\"value\":\"621021\",\"label\":\"庆城县\"},{\"value\":\"621022\",\"label\":\"环县\"},{\"value\":\"621023\",\"label\":\"华池县\"},{\"value\":\"621024\",\"label\":\"合水县\"},{\"value\":\"621025\",\"label\":\"正宁县\"},{\"value\":\"621026\",\"label\":\"宁县\"},{\"value\":\"621027\",\"label\":\"镇原县\"}]},{\"value\":\"621100\",\"label\":\"定西市\",\"children\":[{\"value\":\"621102\",\"label\":\"安定区\"},{\"value\":\"621121\",\"label\":\"通渭县\"},{\"value\":\"621122\",\"label\":\"陇西县\"},{\"value\":\"621123\",\"label\":\"渭源县\"},{\"value\":\"621124\",\"label\":\"临洮县\"},{\"value\":\"621125\",\"label\":\"漳县\"},{\"value\":\"621126\",\"label\":\"岷县\"}]},{\"value\":\"621200\",\"label\":\"陇南市\",\"children\":[{\"value\":\"621202\",\"label\":\"武都区\"},{\"value\":\"621221\",\"label\":\"成县\"},{\"value\":\"621222\",\"label\":\"文县\"},{\"value\":\"621223\",\"label\":\"宕昌县\"},{\"value\":\"621224\",\"label\":\"康县\"},{\"value\":\"621225\",\"label\":\"西和县\"},{\"value\":\"621226\",\"label\":\"礼县\"},{\"value\":\"621227\",\"label\":\"徽县\"},{\"value\":\"621228\",\"label\":\"两当县\"}]},{\"value\":\"622900\",\"label\":\"临夏回族自治州\",\"children\":[{\"value\":\"622901\",\"label\":\"临夏市\"},{\"value\":\"622921\",\"label\":\"临夏县\"},{\"value\":\"622922\",\"label\":\"康乐县\"},{\"value\":\"622923\",\"label\":\"永靖县\"},{\"value\":\"622924\",\"label\":\"广河县\"},{\"value\":\"622925\",\"label\":\"和政县\"},{\"value\":\"622926\",\"label\":\"东乡族自治县\"},{\"value\":\"622927\",\"label\":\"积石山保安族东乡族撒拉族自治县\"}]},{\"value\":\"623000\",\"label\":\"甘南藏族自治州\",\"children\":[{\"value\":\"623001\",\"label\":\"合作市\"},{\"value\":\"623021\",\"label\":\"临潭县\"},{\"value\":\"623022\",\"label\":\"卓尼县\"},{\"value\":\"623023\",\"label\":\"舟曲县\"},{\"value\":\"623024\",\"label\":\"迭部县\"},{\"value\":\"623025\",\"label\":\"玛曲县\"},{\"value\":\"623026\",\"label\":\"碌曲县\"},{\"value\":\"623027\",\"label\":\"夏河县\"}]}]},{\"value\":\"630000\",\"label\":\"青海省\",\"children\":[{\"value\":\"630100\",\"label\":\"西宁市\",\"children\":[{\"value\":\"630102\",\"label\":\"城东区\"},{\"value\":\"630103\",\"label\":\"城中区\"},{\"value\":\"630104\",\"label\":\"城西区\"},{\"value\":\"630105\",\"label\":\"城北区\"},{\"value\":\"630106\",\"label\":\"湟中区\"},{\"value\":\"630121\",\"label\":\"大通回族土族自治县\"},{\"value\":\"630123\",\"label\":\"湟源县\"}]},{\"value\":\"630200\",\"label\":\"海东市\",\"children\":[{\"value\":\"630202\",\"label\":\"乐都区\"},{\"value\":\"630203\",\"label\":\"平安区\"},{\"value\":\"630222\",\"label\":\"民和回族土族自治县\"},{\"value\":\"630223\",\"label\":\"互助土族自治县\"},{\"value\":\"630224\",\"label\":\"化隆回族自治县\"},{\"value\":\"630225\",\"label\":\"循化撒拉族自治县\"}]},{\"value\":\"632200\",\"label\":\"海北藏族自治州\",\"children\":[{\"value\":\"632221\",\"label\":\"门源回族自治县\"},{\"value\":\"632222\",\"label\":\"祁连县\"},{\"value\":\"632223\",\"label\":\"海晏县\"},{\"value\":\"632224\",\"label\":\"刚察县\"}]},{\"value\":\"632300\",\"label\":\"黄南藏族自治州\",\"children\":[{\"value\":\"632321\",\"label\":\"同仁县\"},{\"value\":\"632322\",\"label\":\"尖扎县\"},{\"value\":\"632323\",\"label\":\"泽库县\"},{\"value\":\"632324\",\"label\":\"河南蒙古族自治县\"}]},{\"value\":\"632500\",\"label\":\"海南藏族自治州\",\"children\":[{\"value\":\"632521\",\"label\":\"共和县\"},{\"value\":\"632522\",\"label\":\"同德县\"},{\"value\":\"632523\",\"label\":\"贵德县\"},{\"value\":\"632524\",\"label\":\"兴海县\"},{\"value\":\"632525\",\"label\":\"贵南县\"}]},{\"value\":\"632600\",\"label\":\"果洛藏族自治州\",\"children\":[{\"value\":\"632621\",\"label\":\"玛沁县\"},{\"value\":\"632622\",\"label\":\"班玛县\"},{\"value\":\"632623\",\"label\":\"甘德县\"},{\"value\":\"632624\",\"label\":\"达日县\"},{\"value\":\"632625\",\"label\":\"久治县\"},{\"value\":\"632626\",\"label\":\"玛多县\"}]},{\"value\":\"632700\",\"label\":\"玉树藏族自治州\",\"children\":[{\"value\":\"632701\",\"label\":\"玉树市\"},{\"value\":\"632722\",\"label\":\"杂多县\"},{\"value\":\"632723\",\"label\":\"称多县\"},{\"value\":\"632724\",\"label\":\"治多县\"},{\"value\":\"632725\",\"label\":\"囊谦县\"},{\"value\":\"632726\",\"label\":\"曲麻莱县\"}]},{\"value\":\"632800\",\"label\":\"海西蒙古族藏族自治州\",\"children\":[{\"value\":\"632801\",\"label\":\"格尔木市\"},{\"value\":\"632802\",\"label\":\"德令哈市\"},{\"value\":\"632803\",\"label\":\"茫崖市\"},{\"value\":\"632821\",\"label\":\"乌兰县\"},{\"value\":\"632822\",\"label\":\"都兰县\"},{\"value\":\"632823\",\"label\":\"天峻县\"},{\"value\":\"632857\",\"label\":\"大柴旦行政委员会\"}]}]},{\"value\":\"640000\",\"label\":\"宁夏回族自治区\",\"children\":[{\"value\":\"640100\",\"label\":\"银川市\",\"children\":[{\"value\":\"640104\",\"label\":\"兴庆区\"},{\"value\":\"640105\",\"label\":\"西夏区\"},{\"value\":\"640106\",\"label\":\"金凤区\"},{\"value\":\"640121\",\"label\":\"永宁县\"},{\"value\":\"640122\",\"label\":\"贺兰县\"},{\"value\":\"640181\",\"label\":\"灵武市\"}]},{\"value\":\"640200\",\"label\":\"石嘴山市\",\"children\":[{\"value\":\"640202\",\"label\":\"大武口区\"},{\"value\":\"640205\",\"label\":\"惠农区\"},{\"value\":\"640221\",\"label\":\"平罗县\"}]},{\"value\":\"640300\",\"label\":\"吴忠市\",\"children\":[{\"value\":\"640302\",\"label\":\"利通区\"},{\"value\":\"640303\",\"label\":\"红寺堡区\"},{\"value\":\"640323\",\"label\":\"盐池县\"},{\"value\":\"640324\",\"label\":\"同心县\"},{\"value\":\"640381\",\"label\":\"青铜峡市\"}]},{\"value\":\"640400\",\"label\":\"固原市\",\"children\":[{\"value\":\"640402\",\"label\":\"原州区\"},{\"value\":\"640422\",\"label\":\"西吉县\"},{\"value\":\"640423\",\"label\":\"隆德县\"},{\"value\":\"640424\",\"label\":\"泾源县\"},{\"value\":\"640425\",\"label\":\"彭阳县\"}]},{\"value\":\"640500\",\"label\":\"中卫市\",\"children\":[{\"value\":\"640502\",\"label\":\"沙坡头区\"},{\"value\":\"640521\",\"label\":\"中宁县\"},{\"value\":\"640522\",\"label\":\"海原县\"}]}]},{\"value\":\"650000\",\"label\":\"新疆维吾尔自治区\",\"children\":[{\"value\":\"650100\",\"label\":\"乌鲁木齐市\",\"children\":[{\"value\":\"650102\",\"label\":\"天山区\"},{\"value\":\"650103\",\"label\":\"沙依巴克区\"},{\"value\":\"650104\",\"label\":\"新市区\"},{\"value\":\"650105\",\"label\":\"水磨沟区\"},{\"value\":\"650106\",\"label\":\"头屯河区\"},{\"value\":\"650107\",\"label\":\"达坂城区\"},{\"value\":\"650109\",\"label\":\"米东区\"},{\"value\":\"650121\",\"label\":\"乌鲁木齐县\"}]},{\"value\":\"650200\",\"label\":\"克拉玛依市\",\"children\":[{\"value\":\"650202\",\"label\":\"独山子区\"},{\"value\":\"650203\",\"label\":\"克拉玛依区\"},{\"value\":\"650204\",\"label\":\"白碱滩区\"},{\"value\":\"650205\",\"label\":\"乌尔禾区\"}]},{\"value\":\"650400\",\"label\":\"吐鲁番市\",\"children\":[{\"value\":\"650402\",\"label\":\"高昌区\"},{\"value\":\"650421\",\"label\":\"鄯善县\"},{\"value\":\"650422\",\"label\":\"托克逊县\"}]},{\"value\":\"650500\",\"label\":\"哈密市\",\"children\":[{\"value\":\"650502\",\"label\":\"伊州区\"},{\"value\":\"650521\",\"label\":\"巴里坤哈萨克自治县\"},{\"value\":\"650522\",\"label\":\"伊吾县\"}]},{\"value\":\"652300\",\"label\":\"昌吉回族自治州\",\"children\":[{\"value\":\"652301\",\"label\":\"昌吉市\"},{\"value\":\"652302\",\"label\":\"阜康市\"},{\"value\":\"652323\",\"label\":\"呼图壁县\"},{\"value\":\"652324\",\"label\":\"玛纳斯县\"},{\"value\":\"652325\",\"label\":\"奇台县\"},{\"value\":\"652327\",\"label\":\"吉木萨尔县\"},{\"value\":\"652328\",\"label\":\"木垒哈萨克自治县\"}]},{\"value\":\"652700\",\"label\":\"博尔塔拉蒙古自治州\",\"children\":[{\"value\":\"652701\",\"label\":\"博乐市\"},{\"value\":\"652702\",\"label\":\"阿拉山口市\"},{\"value\":\"652722\",\"label\":\"精河县\"},{\"value\":\"652723\",\"label\":\"温泉县\"}]},{\"value\":\"652800\",\"label\":\"巴音郭楞蒙古自治州\",\"children\":[{\"value\":\"652801\",\"label\":\"库尔勒市\"},{\"value\":\"652822\",\"label\":\"轮台县\"},{\"value\":\"652823\",\"label\":\"尉犁县\"},{\"value\":\"652824\",\"label\":\"若羌县\"},{\"value\":\"652825\",\"label\":\"且末县\"},{\"value\":\"652826\",\"label\":\"焉耆回族自治县\"},{\"value\":\"652827\",\"label\":\"和静县\"},{\"value\":\"652828\",\"label\":\"和硕县\"},{\"value\":\"652829\",\"label\":\"博湖县\"},{\"value\":\"652871\",\"label\":\"库尔勒经济技术开发区\"}]},{\"value\":\"652900\",\"label\":\"阿克苏地区\",\"children\":[{\"value\":\"652901\",\"label\":\"阿克苏市\"},{\"value\":\"652902\",\"label\":\"库车市\"},{\"value\":\"652922\",\"label\":\"温宿县\"},{\"value\":\"652924\",\"label\":\"沙雅县\"},{\"value\":\"652925\",\"label\":\"新和县\"},{\"value\":\"652926\",\"label\":\"拜城县\"},{\"value\":\"652927\",\"label\":\"乌什县\"},{\"value\":\"652928\",\"label\":\"阿瓦提县\"},{\"value\":\"652929\",\"label\":\"柯坪县\"}]},{\"value\":\"653000\",\"label\":\"克孜勒苏柯尔克孜自治州\",\"children\":[{\"value\":\"653001\",\"label\":\"阿图什市\"},{\"value\":\"653022\",\"label\":\"阿克陶县\"},{\"value\":\"653023\",\"label\":\"阿合奇县\"},{\"value\":\"653024\",\"label\":\"乌恰县\"}]},{\"value\":\"653100\",\"label\":\"喀什地区\",\"children\":[{\"value\":\"653101\",\"label\":\"喀什市\"},{\"value\":\"653121\",\"label\":\"疏附县\"},{\"value\":\"653122\",\"label\":\"疏勒县\"},{\"value\":\"653123\",\"label\":\"英吉沙县\"},{\"value\":\"653124\",\"label\":\"泽普县\"},{\"value\":\"653125\",\"label\":\"莎车县\"},{\"value\":\"653126\",\"label\":\"叶城县\"},{\"value\":\"653127\",\"label\":\"麦盖提县\"},{\"value\":\"653128\",\"label\":\"岳普湖县\"},{\"value\":\"653129\",\"label\":\"伽师县\"},{\"value\":\"653130\",\"label\":\"巴楚县\"},{\"value\":\"653131\",\"label\":\"塔什库尔干塔吉克自治县\"}]},{\"value\":\"653200\",\"label\":\"和田地区\",\"children\":[{\"value\":\"653201\",\"label\":\"和田市\"},{\"value\":\"653221\",\"label\":\"和田县\"},{\"value\":\"653222\",\"label\":\"墨玉县\"},{\"value\":\"653223\",\"label\":\"皮山县\"},{\"value\":\"653224\",\"label\":\"洛浦县\"},{\"value\":\"653225\",\"label\":\"策勒县\"},{\"value\":\"653226\",\"label\":\"于田县\"},{\"value\":\"653227\",\"label\":\"民丰县\"}]},{\"value\":\"654000\",\"label\":\"伊犁哈萨克自治州\",\"children\":[{\"value\":\"654002\",\"label\":\"伊宁市\"},{\"value\":\"654003\",\"label\":\"奎屯市\"},{\"value\":\"654004\",\"label\":\"霍尔果斯市\"},{\"value\":\"654021\",\"label\":\"伊宁县\"},{\"value\":\"654022\",\"label\":\"察布查尔锡伯自治县\"},{\"value\":\"654023\",\"label\":\"霍城县\"},{\"value\":\"654024\",\"label\":\"巩留县\"},{\"value\":\"654025\",\"label\":\"新源县\"},{\"value\":\"654026\",\"label\":\"昭苏县\"},{\"value\":\"654027\",\"label\":\"特克斯县\"},{\"value\":\"654028\",\"label\":\"尼勒克县\"}]},{\"value\":\"654200\",\"label\":\"塔城地区\",\"children\":[{\"value\":\"654201\",\"label\":\"塔城市\"},{\"value\":\"654202\",\"label\":\"乌苏市\"},{\"value\":\"654221\",\"label\":\"额敏县\"},{\"value\":\"654223\",\"label\":\"沙湾县\"},{\"value\":\"654224\",\"label\":\"托里县\"},{\"value\":\"654225\",\"label\":\"裕民县\"},{\"value\":\"654226\",\"label\":\"和布克赛尔蒙古自治县\"}]},{\"value\":\"654300\",\"label\":\"阿勒泰地区\",\"children\":[{\"value\":\"654301\",\"label\":\"阿勒泰市\"},{\"value\":\"654321\",\"label\":\"布尔津县\"},{\"value\":\"654322\",\"label\":\"富蕴县\"},{\"value\":\"654323\",\"label\":\"福海县\"},{\"value\":\"654324\",\"label\":\"哈巴河县\"},{\"value\":\"654325\",\"label\":\"青河县\"},{\"value\":\"654326\",\"label\":\"吉木乃县\"}]},{\"value\":\"659000\",\"label\":\"自治区直辖县级行政区划\",\"children\":[{\"value\":\"659001\",\"label\":\"石河子市\"},{\"value\":\"659002\",\"label\":\"阿拉尔市\"},{\"value\":\"659003\",\"label\":\"图木舒克市\"},{\"value\":\"659004\",\"label\":\"五家渠市\"},{\"value\":\"659005\",\"label\":\"北屯市\"},{\"value\":\"659006\",\"label\":\"铁门关市\"},{\"value\":\"659007\",\"label\":\"双河市\"},{\"value\":\"659008\",\"label\":\"可克达拉市\"},{\"value\":\"659009\",\"label\":\"昆玉市\"},{\"value\":\"659010\",\"label\":\"胡杨河市\"}]}]}]");
- /***/ }),
- /* 684 */,
- /* 685 */,
- /* 686 */,
- /* 687 */,
- /* 688 */,
- /* 689 */,
- /* 690 */,
- /* 691 */,
- /* 692 */
- /*!***********************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/my.js ***!
- \***********************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.orderCount = orderCount;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 订单列表信息
- function orderCount() {
- return (0, _request.default)({
- url: '/p/myOrder/orderCount',
- method: 'get' });
- }
- /***/ }),
- /* 693 */,
- /* 694 */,
- /* 695 */,
- /* 696 */,
- /* 697 */,
- /* 698 */,
- /* 699 */,
- /* 700 */,
- /* 701 */
- /*!***************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/utils/util.js ***!
- \***************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.formatHtml = void 0;
- var formatHtml = function formatHtml(content) {
- content = content.replace(/\<img/gi, '<img style="width:100% !important;height:auto !important;margin:0;display:flex;" ');
- content = content.replace(/\<td/gi, '<td cellspacing="0" cellpadding="0" border="0" style="display:block;vertical-align:top;margin: 0px; padding: 0px; border: 0px;outline-width:0px;" ');
- content = content.replace(/width=/gi, 'sss=');
- content = content.replace(/height=/gi, 'sss=');
- content = content.replace(/ \/\>/gi, ' style="max-width:100% !important;height:auto !important;margin:0;display:block;" \/\>');
- return content;
- };exports.formatHtml = formatHtml;
- /***/ }),
- /* 702 */,
- /* 703 */,
- /* 704 */,
- /* 705 */,
- /* 706 */,
- /* 707 */,
- /* 708 */,
- /* 709 */,
- /* 710 */,
- /* 711 */,
- /* 712 */,
- /* 713 */,
- /* 714 */,
- /* 715 */,
- /* 716 */,
- /* 717 */,
- /* 718 */
- /*!*************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/shop.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.shopCartInfo = shopCartInfo;exports.prodCount = prodCount;exports.totalPay = totalPay;exports.changeItem = changeItem;exports.deleteItem = deleteItem;
- var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 获取用户购物车信息
- function shopCartInfo(data) {
- return (0, _request.default)({
- url: '/p/shopCart/info',
- method: 'post',
- data: data });
- }
- // 获取购物车商品数量
- function prodCount(params) {
- return (0, _request.default)({
- url: '/p/shopCart/prodCount',
- method: 'get',
- params: params });
- }
- // 获取选中购物项总计、选中的商品数量,参数为购物车id数组
- function totalPay(data) {
- return (0, _request.default)({
- url: '/p/shopCart/totalPay',
- method: 'post',
- data: data });
- }
- // 通过商品id(prodId)、skuId、店铺Id(shopId),添加/修改用户购物车商品
- function changeItem(data) {
- return (0, _request.default)({
- url: '/p/shopCart/changeItem',
- method: 'post',
- data: data });
- }
- // 通过购物车id删除用户购物车物品
- function deleteItem(data) {
- return (0, _request.default)({
- url: '/p/shopCart/deleteItem',
- method: 'delete',
- data: data });
- }
- /***/ }),
- /* 719 */,
- /* 720 */,
- /* 721 */,
- /* 722 */,
- /* 723 */,
- /* 724 */,
- /* 725 */,
- /* 726 */,
- /* 727 */
- /*!*************************************************************************!*\
- !*** C:/Users/小公主/Desktop/班级/学习/shop/3.29/project/project2/api/type.js ***!
- \*************************************************************************/
- /*! no static exports found */
- /***/ (function(module, exports, __webpack_require__) {
- "use strict";
- Object.defineProperty(exports, "__esModule", { value: true });exports.categoryInfo = categoryInfo;exports.pageProd = pageProd;var _request = _interopRequireDefault(__webpack_require__(/*! ../utils/request */ 12));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
- // 分类信息列表
- function categoryInfo(data) {
- return (0, _request.default)({
- url: '/category/categoryInfo',
- method: 'get',
- params: data });
- }
- // 通过分类id获取商品列表信息
- function pageProd(data) {
- return (0, _request.default)({
- url: '/prod/pageProd',
- method: 'get',
- params: data });
- }
- /***/ })
- ]]);
- //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|