vendor.js 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],[
  2. /* 0 */,
  3. /* 1 */
  4. /*!*********************************************************!*\
  5. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  6. \*********************************************************/
  7. /*! no static exports found */
  8. /***/ (function(module, exports, __webpack_require__) {
  9. "use strict";
  10. Object.defineProperty(exports, "__esModule", {
  11. value: true
  12. });
  13. exports.default = void 0;
  14. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet', '__webpack_require_UNI_MP_PLUGIN__'];
  15. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  16. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  17. return this;
  18. }();
  19. var key = ['w', 'x'].join('');
  20. var oldWx = target[key];
  21. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  22. function isWxKey(key) {
  23. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  24. return false;
  25. }
  26. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  27. }
  28. function initWx() {
  29. var newWx = {};
  30. for (var _key in oldWx) {
  31. if (isWxKey(_key)) {
  32. // TODO wrapper function
  33. newWx[_key] = oldWx[_key];
  34. }
  35. }
  36. return newWx;
  37. }
  38. target[key] = initWx();
  39. var _default = target[key];
  40. exports.default = _default;
  41. /***/ }),
  42. /* 2 */
  43. /*!************************************************************!*\
  44. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  45. \************************************************************/
  46. /*! no static exports found */
  47. /***/ (function(module, exports, __webpack_require__) {
  48. "use strict";
  49. /* WEBPACK VAR INJECTION */(function(wx, global) {
  50. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  51. Object.defineProperty(exports, "__esModule", {
  52. value: true
  53. });
  54. exports.createApp = createApp;
  55. exports.createComponent = createComponent;
  56. exports.createPage = createPage;
  57. exports.createPlugin = createPlugin;
  58. exports.createSubpackageApp = createSubpackageApp;
  59. exports.default = void 0;
  60. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  61. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  62. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  63. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  64. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  65. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  66. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  67. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  68. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  69. var realAtob;
  70. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  71. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  72. if (typeof atob !== 'function') {
  73. realAtob = function realAtob(str) {
  74. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  75. if (!b64re.test(str)) {
  76. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  77. }
  78. // Adding the padding if missing, for semplicity
  79. str += '=='.slice(2 - (str.length & 3));
  80. var bitmap;
  81. var result = '';
  82. var r1;
  83. var r2;
  84. var i = 0;
  85. for (; i < str.length;) {
  86. 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++)));
  87. 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);
  88. }
  89. return result;
  90. };
  91. } else {
  92. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  93. realAtob = atob;
  94. }
  95. function b64DecodeUnicode(str) {
  96. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  97. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  98. }).join(''));
  99. }
  100. function getCurrentUserInfo() {
  101. var token = wx.getStorageSync('uni_id_token') || '';
  102. var tokenArr = token.split('.');
  103. if (!token || tokenArr.length !== 3) {
  104. return {
  105. uid: null,
  106. role: [],
  107. permission: [],
  108. tokenExpired: 0
  109. };
  110. }
  111. var userInfo;
  112. try {
  113. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  114. } catch (error) {
  115. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  116. }
  117. userInfo.tokenExpired = userInfo.exp * 1000;
  118. delete userInfo.exp;
  119. delete userInfo.iat;
  120. return userInfo;
  121. }
  122. function uniIdMixin(Vue) {
  123. Vue.prototype.uniIDHasRole = function (roleId) {
  124. var _getCurrentUserInfo = getCurrentUserInfo(),
  125. role = _getCurrentUserInfo.role;
  126. return role.indexOf(roleId) > -1;
  127. };
  128. Vue.prototype.uniIDHasPermission = function (permissionId) {
  129. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  130. permission = _getCurrentUserInfo2.permission;
  131. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  132. };
  133. Vue.prototype.uniIDTokenValid = function () {
  134. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  135. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  136. return tokenExpired > Date.now();
  137. };
  138. }
  139. var _toString = Object.prototype.toString;
  140. var hasOwnProperty = Object.prototype.hasOwnProperty;
  141. function isFn(fn) {
  142. return typeof fn === 'function';
  143. }
  144. function isStr(str) {
  145. return typeof str === 'string';
  146. }
  147. function isObject(obj) {
  148. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  149. }
  150. function isPlainObject(obj) {
  151. return _toString.call(obj) === '[object Object]';
  152. }
  153. function hasOwn(obj, key) {
  154. return hasOwnProperty.call(obj, key);
  155. }
  156. function noop() {}
  157. /**
  158. * Create a cached version of a pure function.
  159. */
  160. function cached(fn) {
  161. var cache = Object.create(null);
  162. return function cachedFn(str) {
  163. var hit = cache[str];
  164. return hit || (cache[str] = fn(str));
  165. };
  166. }
  167. /**
  168. * Camelize a hyphen-delimited string.
  169. */
  170. var camelizeRE = /-(\w)/g;
  171. var camelize = cached(function (str) {
  172. return str.replace(camelizeRE, function (_, c) {
  173. return c ? c.toUpperCase() : '';
  174. });
  175. });
  176. function sortObject(obj) {
  177. var sortObj = {};
  178. if (isPlainObject(obj)) {
  179. Object.keys(obj).sort().forEach(function (key) {
  180. sortObj[key] = obj[key];
  181. });
  182. }
  183. return !Object.keys(sortObj) ? obj : sortObj;
  184. }
  185. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  186. var globalInterceptors = {};
  187. var scopedInterceptors = {};
  188. function mergeHook(parentVal, childVal) {
  189. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  190. return res ? dedupeHooks(res) : res;
  191. }
  192. function dedupeHooks(hooks) {
  193. var res = [];
  194. for (var i = 0; i < hooks.length; i++) {
  195. if (res.indexOf(hooks[i]) === -1) {
  196. res.push(hooks[i]);
  197. }
  198. }
  199. return res;
  200. }
  201. function removeHook(hooks, hook) {
  202. var index = hooks.indexOf(hook);
  203. if (index !== -1) {
  204. hooks.splice(index, 1);
  205. }
  206. }
  207. function mergeInterceptorHook(interceptor, option) {
  208. Object.keys(option).forEach(function (hook) {
  209. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  210. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  211. }
  212. });
  213. }
  214. function removeInterceptorHook(interceptor, option) {
  215. if (!interceptor || !option) {
  216. return;
  217. }
  218. Object.keys(option).forEach(function (hook) {
  219. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  220. removeHook(interceptor[hook], option[hook]);
  221. }
  222. });
  223. }
  224. function addInterceptor(method, option) {
  225. if (typeof method === 'string' && isPlainObject(option)) {
  226. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  227. } else if (isPlainObject(method)) {
  228. mergeInterceptorHook(globalInterceptors, method);
  229. }
  230. }
  231. function removeInterceptor(method, option) {
  232. if (typeof method === 'string') {
  233. if (isPlainObject(option)) {
  234. removeInterceptorHook(scopedInterceptors[method], option);
  235. } else {
  236. delete scopedInterceptors[method];
  237. }
  238. } else if (isPlainObject(method)) {
  239. removeInterceptorHook(globalInterceptors, method);
  240. }
  241. }
  242. function wrapperHook(hook, params) {
  243. return function (data) {
  244. return hook(data, params) || data;
  245. };
  246. }
  247. function isPromise(obj) {
  248. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  249. }
  250. function queue(hooks, data, params) {
  251. var promise = false;
  252. for (var i = 0; i < hooks.length; i++) {
  253. var hook = hooks[i];
  254. if (promise) {
  255. promise = Promise.resolve(wrapperHook(hook, params));
  256. } else {
  257. var res = hook(data, params);
  258. if (isPromise(res)) {
  259. promise = Promise.resolve(res);
  260. }
  261. if (res === false) {
  262. return {
  263. then: function then() {}
  264. };
  265. }
  266. }
  267. }
  268. return promise || {
  269. then: function then(callback) {
  270. return callback(data);
  271. }
  272. };
  273. }
  274. function wrapperOptions(interceptor) {
  275. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  276. ['success', 'fail', 'complete'].forEach(function (name) {
  277. if (Array.isArray(interceptor[name])) {
  278. var oldCallback = options[name];
  279. options[name] = function callbackInterceptor(res) {
  280. queue(interceptor[name], res, options).then(function (res) {
  281. /* eslint-disable no-mixed-operators */
  282. return isFn(oldCallback) && oldCallback(res) || res;
  283. });
  284. };
  285. }
  286. });
  287. return options;
  288. }
  289. function wrapperReturnValue(method, returnValue) {
  290. var returnValueHooks = [];
  291. if (Array.isArray(globalInterceptors.returnValue)) {
  292. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  293. }
  294. var interceptor = scopedInterceptors[method];
  295. if (interceptor && Array.isArray(interceptor.returnValue)) {
  296. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  297. }
  298. returnValueHooks.forEach(function (hook) {
  299. returnValue = hook(returnValue) || returnValue;
  300. });
  301. return returnValue;
  302. }
  303. function getApiInterceptorHooks(method) {
  304. var interceptor = Object.create(null);
  305. Object.keys(globalInterceptors).forEach(function (hook) {
  306. if (hook !== 'returnValue') {
  307. interceptor[hook] = globalInterceptors[hook].slice();
  308. }
  309. });
  310. var scopedInterceptor = scopedInterceptors[method];
  311. if (scopedInterceptor) {
  312. Object.keys(scopedInterceptor).forEach(function (hook) {
  313. if (hook !== 'returnValue') {
  314. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  315. }
  316. });
  317. }
  318. return interceptor;
  319. }
  320. function invokeApi(method, api, options) {
  321. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  322. params[_key - 3] = arguments[_key];
  323. }
  324. var interceptor = getApiInterceptorHooks(method);
  325. if (interceptor && Object.keys(interceptor).length) {
  326. if (Array.isArray(interceptor.invoke)) {
  327. var res = queue(interceptor.invoke, options);
  328. return res.then(function (options) {
  329. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  330. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  331. });
  332. } else {
  333. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  334. }
  335. }
  336. return api.apply(void 0, [options].concat(params));
  337. }
  338. var promiseInterceptor = {
  339. returnValue: function returnValue(res) {
  340. if (!isPromise(res)) {
  341. return res;
  342. }
  343. return new Promise(function (resolve, reject) {
  344. res.then(function (res) {
  345. if (res[0]) {
  346. reject(res[0]);
  347. } else {
  348. resolve(res[1]);
  349. }
  350. });
  351. });
  352. }
  353. };
  354. 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|initUTS|requireUTS|registerUTS/;
  355. var CONTEXT_API_RE = /^create|Manager$/;
  356. // Context例外情况
  357. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  358. // 同步例外情况
  359. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  360. var CALLBACK_API_RE = /^on|^off/;
  361. function isContextApi(name) {
  362. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  363. }
  364. function isSyncApi(name) {
  365. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  366. }
  367. function isCallbackApi(name) {
  368. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  369. }
  370. function handlePromise(promise) {
  371. return promise.then(function (data) {
  372. return [null, data];
  373. }).catch(function (err) {
  374. return [err];
  375. });
  376. }
  377. function shouldPromise(name) {
  378. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  379. return false;
  380. }
  381. return true;
  382. }
  383. /* eslint-disable no-extend-native */
  384. if (!Promise.prototype.finally) {
  385. Promise.prototype.finally = function (callback) {
  386. var promise = this.constructor;
  387. return this.then(function (value) {
  388. return promise.resolve(callback()).then(function () {
  389. return value;
  390. });
  391. }, function (reason) {
  392. return promise.resolve(callback()).then(function () {
  393. throw reason;
  394. });
  395. });
  396. };
  397. }
  398. function promisify(name, api) {
  399. if (!shouldPromise(name) || !isFn(api)) {
  400. return api;
  401. }
  402. return function promiseApi() {
  403. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  404. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  405. params[_key2 - 1] = arguments[_key2];
  406. }
  407. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  408. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  409. }
  410. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  411. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  412. success: resolve,
  413. fail: reject
  414. })].concat(params));
  415. })));
  416. };
  417. }
  418. var EPS = 1e-4;
  419. var BASE_DEVICE_WIDTH = 750;
  420. var isIOS = false;
  421. var deviceWidth = 0;
  422. var deviceDPR = 0;
  423. function checkDeviceWidth() {
  424. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  425. platform = _wx$getSystemInfoSync.platform,
  426. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  427. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  428. deviceWidth = windowWidth;
  429. deviceDPR = pixelRatio;
  430. isIOS = platform === 'ios';
  431. }
  432. function upx2px(number, newDeviceWidth) {
  433. if (deviceWidth === 0) {
  434. checkDeviceWidth();
  435. }
  436. number = Number(number);
  437. if (number === 0) {
  438. return 0;
  439. }
  440. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  441. if (result < 0) {
  442. result = -result;
  443. }
  444. result = Math.floor(result + EPS);
  445. if (result === 0) {
  446. if (deviceDPR === 1 || !isIOS) {
  447. result = 1;
  448. } else {
  449. result = 0.5;
  450. }
  451. }
  452. return number < 0 ? -result : result;
  453. }
  454. var LOCALE_ZH_HANS = 'zh-Hans';
  455. var LOCALE_ZH_HANT = 'zh-Hant';
  456. var LOCALE_EN = 'en';
  457. var LOCALE_FR = 'fr';
  458. var LOCALE_ES = 'es';
  459. var messages = {};
  460. var locale;
  461. {
  462. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  463. }
  464. function initI18nMessages() {
  465. if (!isEnableLocale()) {
  466. return;
  467. }
  468. var localeKeys = Object.keys(__uniConfig.locales);
  469. if (localeKeys.length) {
  470. localeKeys.forEach(function (locale) {
  471. var curMessages = messages[locale];
  472. var userMessages = __uniConfig.locales[locale];
  473. if (curMessages) {
  474. Object.assign(curMessages, userMessages);
  475. } else {
  476. messages[locale] = userMessages;
  477. }
  478. });
  479. }
  480. }
  481. initI18nMessages();
  482. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  483. var t = i18n.t;
  484. var i18nMixin = i18n.mixin = {
  485. beforeCreate: function beforeCreate() {
  486. var _this = this;
  487. var unwatch = i18n.i18n.watchLocale(function () {
  488. _this.$forceUpdate();
  489. });
  490. this.$once('hook:beforeDestroy', function () {
  491. unwatch();
  492. });
  493. },
  494. methods: {
  495. $$t: function $$t(key, values) {
  496. return t(key, values);
  497. }
  498. }
  499. };
  500. var setLocale = i18n.setLocale;
  501. var getLocale = i18n.getLocale;
  502. function initAppLocale(Vue, appVm, locale) {
  503. var state = Vue.observable({
  504. locale: locale || i18n.getLocale()
  505. });
  506. var localeWatchers = [];
  507. appVm.$watchLocale = function (fn) {
  508. localeWatchers.push(fn);
  509. };
  510. Object.defineProperty(appVm, '$locale', {
  511. get: function get() {
  512. return state.locale;
  513. },
  514. set: function set(v) {
  515. state.locale = v;
  516. localeWatchers.forEach(function (watch) {
  517. return watch(v);
  518. });
  519. }
  520. });
  521. }
  522. function isEnableLocale() {
  523. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  524. }
  525. function include(str, parts) {
  526. return !!parts.find(function (part) {
  527. return str.indexOf(part) !== -1;
  528. });
  529. }
  530. function startsWith(str, parts) {
  531. return parts.find(function (part) {
  532. return str.indexOf(part) === 0;
  533. });
  534. }
  535. function normalizeLocale(locale, messages) {
  536. if (!locale) {
  537. return;
  538. }
  539. locale = locale.trim().replace(/_/g, '-');
  540. if (messages && messages[locale]) {
  541. return locale;
  542. }
  543. locale = locale.toLowerCase();
  544. if (locale === 'chinese') {
  545. // 支付宝
  546. return LOCALE_ZH_HANS;
  547. }
  548. if (locale.indexOf('zh') === 0) {
  549. if (locale.indexOf('-hans') > -1) {
  550. return LOCALE_ZH_HANS;
  551. }
  552. if (locale.indexOf('-hant') > -1) {
  553. return LOCALE_ZH_HANT;
  554. }
  555. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  556. return LOCALE_ZH_HANT;
  557. }
  558. return LOCALE_ZH_HANS;
  559. }
  560. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  561. if (lang) {
  562. return lang;
  563. }
  564. }
  565. // export function initI18n() {
  566. // const localeKeys = Object.keys(__uniConfig.locales || {})
  567. // if (localeKeys.length) {
  568. // localeKeys.forEach((locale) =>
  569. // i18n.add(locale, __uniConfig.locales[locale])
  570. // )
  571. // }
  572. // }
  573. function getLocale$1() {
  574. // 优先使用 $locale
  575. if (isFn(getApp)) {
  576. var app = getApp({
  577. allowDefault: true
  578. });
  579. if (app && app.$vm) {
  580. return app.$vm.$locale;
  581. }
  582. }
  583. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  584. }
  585. function setLocale$1(locale) {
  586. var app = isFn(getApp) ? getApp() : false;
  587. if (!app) {
  588. return false;
  589. }
  590. var oldLocale = app.$vm.$locale;
  591. if (oldLocale !== locale) {
  592. app.$vm.$locale = locale;
  593. onLocaleChangeCallbacks.forEach(function (fn) {
  594. return fn({
  595. locale: locale
  596. });
  597. });
  598. return true;
  599. }
  600. return false;
  601. }
  602. var onLocaleChangeCallbacks = [];
  603. function onLocaleChange(fn) {
  604. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  605. onLocaleChangeCallbacks.push(fn);
  606. }
  607. }
  608. if (typeof global !== 'undefined') {
  609. global.getLocale = getLocale$1;
  610. }
  611. var interceptors = {
  612. promiseInterceptor: promiseInterceptor
  613. };
  614. var baseApi = /*#__PURE__*/Object.freeze({
  615. __proto__: null,
  616. upx2px: upx2px,
  617. getLocale: getLocale$1,
  618. setLocale: setLocale$1,
  619. onLocaleChange: onLocaleChange,
  620. addInterceptor: addInterceptor,
  621. removeInterceptor: removeInterceptor,
  622. interceptors: interceptors
  623. });
  624. function findExistsPageIndex(url) {
  625. var pages = getCurrentPages();
  626. var len = pages.length;
  627. while (len--) {
  628. var page = pages[len];
  629. if (page.$page && page.$page.fullPath === url) {
  630. return len;
  631. }
  632. }
  633. return -1;
  634. }
  635. var redirectTo = {
  636. name: function name(fromArgs) {
  637. if (fromArgs.exists === 'back' && fromArgs.delta) {
  638. return 'navigateBack';
  639. }
  640. return 'redirectTo';
  641. },
  642. args: function args(fromArgs) {
  643. if (fromArgs.exists === 'back' && fromArgs.url) {
  644. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  645. if (existsPageIndex !== -1) {
  646. var delta = getCurrentPages().length - 1 - existsPageIndex;
  647. if (delta > 0) {
  648. fromArgs.delta = delta;
  649. }
  650. }
  651. }
  652. }
  653. };
  654. var previewImage = {
  655. args: function args(fromArgs) {
  656. var currentIndex = parseInt(fromArgs.current);
  657. if (isNaN(currentIndex)) {
  658. return;
  659. }
  660. var urls = fromArgs.urls;
  661. if (!Array.isArray(urls)) {
  662. return;
  663. }
  664. var len = urls.length;
  665. if (!len) {
  666. return;
  667. }
  668. if (currentIndex < 0) {
  669. currentIndex = 0;
  670. } else if (currentIndex >= len) {
  671. currentIndex = len - 1;
  672. }
  673. if (currentIndex > 0) {
  674. fromArgs.current = urls[currentIndex];
  675. fromArgs.urls = urls.filter(function (item, index) {
  676. return index < currentIndex ? item !== urls[currentIndex] : true;
  677. });
  678. } else {
  679. fromArgs.current = urls[0];
  680. }
  681. return {
  682. indicator: false,
  683. loop: false
  684. };
  685. }
  686. };
  687. var UUID_KEY = '__DC_STAT_UUID';
  688. var deviceId;
  689. function useDeviceId(result) {
  690. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  691. if (!deviceId) {
  692. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  693. wx.setStorage({
  694. key: UUID_KEY,
  695. data: deviceId
  696. });
  697. }
  698. result.deviceId = deviceId;
  699. }
  700. function addSafeAreaInsets(result) {
  701. if (result.safeArea) {
  702. var safeArea = result.safeArea;
  703. result.safeAreaInsets = {
  704. top: safeArea.top,
  705. left: safeArea.left,
  706. right: result.windowWidth - safeArea.right,
  707. bottom: result.screenHeight - safeArea.bottom
  708. };
  709. }
  710. }
  711. function populateParameters(result) {
  712. var _result$brand = result.brand,
  713. brand = _result$brand === void 0 ? '' : _result$brand,
  714. _result$model = result.model,
  715. model = _result$model === void 0 ? '' : _result$model,
  716. _result$system = result.system,
  717. system = _result$system === void 0 ? '' : _result$system,
  718. _result$language = result.language,
  719. language = _result$language === void 0 ? '' : _result$language,
  720. theme = result.theme,
  721. version = result.version,
  722. platform = result.platform,
  723. fontSizeSetting = result.fontSizeSetting,
  724. SDKVersion = result.SDKVersion,
  725. pixelRatio = result.pixelRatio,
  726. deviceOrientation = result.deviceOrientation;
  727. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  728. var extraParam = {};
  729. // osName osVersion
  730. var osName = '';
  731. var osVersion = '';
  732. {
  733. osName = system.split(' ')[0] || '';
  734. osVersion = system.split(' ')[1] || '';
  735. }
  736. var hostVersion = version;
  737. // deviceType
  738. var deviceType = getGetDeviceType(result, model);
  739. // deviceModel
  740. var deviceBrand = getDeviceBrand(brand);
  741. // hostName
  742. var _hostName = getHostName(result);
  743. // deviceOrientation
  744. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  745. // devicePixelRatio
  746. var _devicePixelRatio = pixelRatio;
  747. // SDKVersion
  748. var _SDKVersion = SDKVersion;
  749. // hostLanguage
  750. var hostLanguage = language.replace(/_/g, '-');
  751. // wx.getAccountInfoSync
  752. var parameters = {
  753. appId: "__UNI__6867529",
  754. appName: "travel_applet",
  755. appVersion: "1.0.0",
  756. appVersionCode: "100",
  757. appLanguage: getAppLanguage(hostLanguage),
  758. uniCompileVersion: "3.8.7",
  759. uniRuntimeVersion: "3.8.7",
  760. uniPlatform: undefined || "mp-weixin",
  761. deviceBrand: deviceBrand,
  762. deviceModel: model,
  763. deviceType: deviceType,
  764. devicePixelRatio: _devicePixelRatio,
  765. deviceOrientation: _deviceOrientation,
  766. osName: osName.toLocaleLowerCase(),
  767. osVersion: osVersion,
  768. hostTheme: theme,
  769. hostVersion: hostVersion,
  770. hostLanguage: hostLanguage,
  771. hostName: _hostName,
  772. hostSDKVersion: _SDKVersion,
  773. hostFontSizeSetting: fontSizeSetting,
  774. windowTop: 0,
  775. windowBottom: 0,
  776. // TODO
  777. osLanguage: undefined,
  778. osTheme: undefined,
  779. ua: undefined,
  780. hostPackageName: undefined,
  781. browserName: undefined,
  782. browserVersion: undefined
  783. };
  784. Object.assign(result, parameters, extraParam);
  785. }
  786. function getGetDeviceType(result, model) {
  787. var deviceType = result.deviceType || 'phone';
  788. {
  789. var deviceTypeMaps = {
  790. ipad: 'pad',
  791. windows: 'pc',
  792. mac: 'pc'
  793. };
  794. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  795. var _model = model.toLocaleLowerCase();
  796. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  797. var _m = deviceTypeMapsKeys[index];
  798. if (_model.indexOf(_m) !== -1) {
  799. deviceType = deviceTypeMaps[_m];
  800. break;
  801. }
  802. }
  803. }
  804. return deviceType;
  805. }
  806. function getDeviceBrand(brand) {
  807. var deviceBrand = brand;
  808. if (deviceBrand) {
  809. deviceBrand = brand.toLocaleLowerCase();
  810. }
  811. return deviceBrand;
  812. }
  813. function getAppLanguage(defaultLanguage) {
  814. return getLocale$1 ? getLocale$1() : defaultLanguage;
  815. }
  816. function getHostName(result) {
  817. var _platform = 'WeChat';
  818. var _hostName = result.hostName || _platform; // mp-jd
  819. {
  820. if (result.environment) {
  821. _hostName = result.environment;
  822. } else if (result.host && result.host.env) {
  823. _hostName = result.host.env;
  824. }
  825. }
  826. return _hostName;
  827. }
  828. var getSystemInfo = {
  829. returnValue: function returnValue(result) {
  830. useDeviceId(result);
  831. addSafeAreaInsets(result);
  832. populateParameters(result);
  833. }
  834. };
  835. var showActionSheet = {
  836. args: function args(fromArgs) {
  837. if ((0, _typeof2.default)(fromArgs) === 'object') {
  838. fromArgs.alertText = fromArgs.title;
  839. }
  840. }
  841. };
  842. var getAppBaseInfo = {
  843. returnValue: function returnValue(result) {
  844. var _result = result,
  845. version = _result.version,
  846. language = _result.language,
  847. SDKVersion = _result.SDKVersion,
  848. theme = _result.theme;
  849. var _hostName = getHostName(result);
  850. var hostLanguage = language.replace('_', '-');
  851. result = sortObject(Object.assign(result, {
  852. appId: "__UNI__6867529",
  853. appName: "travel_applet",
  854. appVersion: "1.0.0",
  855. appVersionCode: "100",
  856. appLanguage: getAppLanguage(hostLanguage),
  857. hostVersion: version,
  858. hostLanguage: hostLanguage,
  859. hostName: _hostName,
  860. hostSDKVersion: SDKVersion,
  861. hostTheme: theme
  862. }));
  863. }
  864. };
  865. var getDeviceInfo = {
  866. returnValue: function returnValue(result) {
  867. var _result2 = result,
  868. brand = _result2.brand,
  869. model = _result2.model;
  870. var deviceType = getGetDeviceType(result, model);
  871. var deviceBrand = getDeviceBrand(brand);
  872. useDeviceId(result);
  873. result = sortObject(Object.assign(result, {
  874. deviceType: deviceType,
  875. deviceBrand: deviceBrand,
  876. deviceModel: model
  877. }));
  878. }
  879. };
  880. var getWindowInfo = {
  881. returnValue: function returnValue(result) {
  882. addSafeAreaInsets(result);
  883. result = sortObject(Object.assign(result, {
  884. windowTop: 0,
  885. windowBottom: 0
  886. }));
  887. }
  888. };
  889. var getAppAuthorizeSetting = {
  890. returnValue: function returnValue(result) {
  891. var locationReducedAccuracy = result.locationReducedAccuracy;
  892. result.locationAccuracy = 'unsupported';
  893. if (locationReducedAccuracy === true) {
  894. result.locationAccuracy = 'reduced';
  895. } else if (locationReducedAccuracy === false) {
  896. result.locationAccuracy = 'full';
  897. }
  898. }
  899. };
  900. // import navigateTo from 'uni-helpers/navigate-to'
  901. var compressImage = {
  902. args: function args(fromArgs) {
  903. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  904. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  905. fromArgs.compressHeight = fromArgs.compressedHeight;
  906. }
  907. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  908. fromArgs.compressWidth = fromArgs.compressedWidth;
  909. }
  910. }
  911. };
  912. var protocols = {
  913. redirectTo: redirectTo,
  914. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  915. previewImage: previewImage,
  916. getSystemInfo: getSystemInfo,
  917. getSystemInfoSync: getSystemInfo,
  918. showActionSheet: showActionSheet,
  919. getAppBaseInfo: getAppBaseInfo,
  920. getDeviceInfo: getDeviceInfo,
  921. getWindowInfo: getWindowInfo,
  922. getAppAuthorizeSetting: getAppAuthorizeSetting,
  923. compressImage: compressImage
  924. };
  925. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  926. var canIUses = [];
  927. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  928. function processCallback(methodName, method, returnValue) {
  929. return function (res) {
  930. return method(processReturnValue(methodName, res, returnValue));
  931. };
  932. }
  933. function processArgs(methodName, fromArgs) {
  934. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  935. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  936. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  937. if (isPlainObject(fromArgs)) {
  938. // 一般 api 的参数解析
  939. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  940. if (isFn(argsOption)) {
  941. argsOption = argsOption(fromArgs, toArgs) || {};
  942. }
  943. for (var key in fromArgs) {
  944. if (hasOwn(argsOption, key)) {
  945. var keyOption = argsOption[key];
  946. if (isFn(keyOption)) {
  947. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  948. }
  949. if (!keyOption) {
  950. // 不支持的参数
  951. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  952. } else if (isStr(keyOption)) {
  953. // 重写参数 key
  954. toArgs[keyOption] = fromArgs[key];
  955. } else if (isPlainObject(keyOption)) {
  956. // {name:newName,value:value}可重新指定参数 key:value
  957. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  958. }
  959. } else if (CALLBACKS.indexOf(key) !== -1) {
  960. if (isFn(fromArgs[key])) {
  961. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  962. }
  963. } else {
  964. if (!keepFromArgs) {
  965. toArgs[key] = fromArgs[key];
  966. }
  967. }
  968. }
  969. return toArgs;
  970. } else if (isFn(fromArgs)) {
  971. fromArgs = processCallback(methodName, fromArgs, returnValue);
  972. }
  973. return fromArgs;
  974. }
  975. function processReturnValue(methodName, res, returnValue) {
  976. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  977. if (isFn(protocols.returnValue)) {
  978. // 处理通用 returnValue
  979. res = protocols.returnValue(methodName, res);
  980. }
  981. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  982. }
  983. function wrapper(methodName, method) {
  984. if (hasOwn(protocols, methodName)) {
  985. var protocol = protocols[methodName];
  986. if (!protocol) {
  987. // 暂不支持的 api
  988. return function () {
  989. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  990. };
  991. }
  992. return function (arg1, arg2) {
  993. // 目前 api 最多两个参数
  994. var options = protocol;
  995. if (isFn(protocol)) {
  996. options = protocol(arg1);
  997. }
  998. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  999. var args = [arg1];
  1000. if (typeof arg2 !== 'undefined') {
  1001. args.push(arg2);
  1002. }
  1003. if (isFn(options.name)) {
  1004. methodName = options.name(arg1);
  1005. } else if (isStr(options.name)) {
  1006. methodName = options.name;
  1007. }
  1008. var returnValue = wx[methodName].apply(wx, args);
  1009. if (isSyncApi(methodName)) {
  1010. // 同步 api
  1011. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1012. }
  1013. return returnValue;
  1014. };
  1015. }
  1016. return method;
  1017. }
  1018. var todoApis = Object.create(null);
  1019. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1020. function createTodoApi(name) {
  1021. return function todoApi(_ref) {
  1022. var fail = _ref.fail,
  1023. complete = _ref.complete;
  1024. var res = {
  1025. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1026. };
  1027. isFn(fail) && fail(res);
  1028. isFn(complete) && complete(res);
  1029. };
  1030. }
  1031. TODOS.forEach(function (name) {
  1032. todoApis[name] = createTodoApi(name);
  1033. });
  1034. var providers = {
  1035. oauth: ['weixin'],
  1036. share: ['weixin'],
  1037. payment: ['wxpay'],
  1038. push: ['weixin']
  1039. };
  1040. function getProvider(_ref2) {
  1041. var service = _ref2.service,
  1042. success = _ref2.success,
  1043. fail = _ref2.fail,
  1044. complete = _ref2.complete;
  1045. var res = false;
  1046. if (providers[service]) {
  1047. res = {
  1048. errMsg: 'getProvider:ok',
  1049. service: service,
  1050. provider: providers[service]
  1051. };
  1052. isFn(success) && success(res);
  1053. } else {
  1054. res = {
  1055. errMsg: 'getProvider:fail service not found'
  1056. };
  1057. isFn(fail) && fail(res);
  1058. }
  1059. isFn(complete) && complete(res);
  1060. }
  1061. var extraApi = /*#__PURE__*/Object.freeze({
  1062. __proto__: null,
  1063. getProvider: getProvider
  1064. });
  1065. var getEmitter = function () {
  1066. var Emitter;
  1067. return function getUniEmitter() {
  1068. if (!Emitter) {
  1069. Emitter = new _vue.default();
  1070. }
  1071. return Emitter;
  1072. };
  1073. }();
  1074. function apply(ctx, method, args) {
  1075. return ctx[method].apply(ctx, args);
  1076. }
  1077. function $on() {
  1078. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1079. }
  1080. function $off() {
  1081. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1082. }
  1083. function $once() {
  1084. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1085. }
  1086. function $emit() {
  1087. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1088. }
  1089. var eventApi = /*#__PURE__*/Object.freeze({
  1090. __proto__: null,
  1091. $on: $on,
  1092. $off: $off,
  1093. $once: $once,
  1094. $emit: $emit
  1095. });
  1096. /**
  1097. * 框架内 try-catch
  1098. */
  1099. /**
  1100. * 开发者 try-catch
  1101. */
  1102. function tryCatch(fn) {
  1103. return function () {
  1104. try {
  1105. return fn.apply(fn, arguments);
  1106. } catch (e) {
  1107. // TODO
  1108. console.error(e);
  1109. }
  1110. };
  1111. }
  1112. function getApiCallbacks(params) {
  1113. var apiCallbacks = {};
  1114. for (var name in params) {
  1115. var param = params[name];
  1116. if (isFn(param)) {
  1117. apiCallbacks[name] = tryCatch(param);
  1118. delete params[name];
  1119. }
  1120. }
  1121. return apiCallbacks;
  1122. }
  1123. var cid;
  1124. var cidErrMsg;
  1125. var enabled;
  1126. function normalizePushMessage(message) {
  1127. try {
  1128. return JSON.parse(message);
  1129. } catch (e) {}
  1130. return message;
  1131. }
  1132. function invokePushCallback(args) {
  1133. if (args.type === 'enabled') {
  1134. enabled = true;
  1135. } else if (args.type === 'clientId') {
  1136. cid = args.cid;
  1137. cidErrMsg = args.errMsg;
  1138. invokeGetPushCidCallbacks(cid, args.errMsg);
  1139. } else if (args.type === 'pushMsg') {
  1140. var message = {
  1141. type: 'receive',
  1142. data: normalizePushMessage(args.message)
  1143. };
  1144. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1145. var callback = onPushMessageCallbacks[i];
  1146. callback(message);
  1147. // 该消息已被阻止
  1148. if (message.stopped) {
  1149. break;
  1150. }
  1151. }
  1152. } else if (args.type === 'click') {
  1153. onPushMessageCallbacks.forEach(function (callback) {
  1154. callback({
  1155. type: 'click',
  1156. data: normalizePushMessage(args.message)
  1157. });
  1158. });
  1159. }
  1160. }
  1161. var getPushCidCallbacks = [];
  1162. function invokeGetPushCidCallbacks(cid, errMsg) {
  1163. getPushCidCallbacks.forEach(function (callback) {
  1164. callback(cid, errMsg);
  1165. });
  1166. getPushCidCallbacks.length = 0;
  1167. }
  1168. function getPushClientId(args) {
  1169. if (!isPlainObject(args)) {
  1170. args = {};
  1171. }
  1172. var _getApiCallbacks = getApiCallbacks(args),
  1173. success = _getApiCallbacks.success,
  1174. fail = _getApiCallbacks.fail,
  1175. complete = _getApiCallbacks.complete;
  1176. var hasSuccess = isFn(success);
  1177. var hasFail = isFn(fail);
  1178. var hasComplete = isFn(complete);
  1179. Promise.resolve().then(function () {
  1180. if (typeof enabled === 'undefined') {
  1181. enabled = false;
  1182. cid = '';
  1183. cidErrMsg = 'uniPush is not enabled';
  1184. }
  1185. getPushCidCallbacks.push(function (cid, errMsg) {
  1186. var res;
  1187. if (cid) {
  1188. res = {
  1189. errMsg: 'getPushClientId:ok',
  1190. cid: cid
  1191. };
  1192. hasSuccess && success(res);
  1193. } else {
  1194. res = {
  1195. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1196. };
  1197. hasFail && fail(res);
  1198. }
  1199. hasComplete && complete(res);
  1200. });
  1201. if (typeof cid !== 'undefined') {
  1202. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1203. }
  1204. });
  1205. }
  1206. var onPushMessageCallbacks = [];
  1207. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1208. var onPushMessage = function onPushMessage(fn) {
  1209. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1210. onPushMessageCallbacks.push(fn);
  1211. }
  1212. };
  1213. var offPushMessage = function offPushMessage(fn) {
  1214. if (!fn) {
  1215. onPushMessageCallbacks.length = 0;
  1216. } else {
  1217. var index = onPushMessageCallbacks.indexOf(fn);
  1218. if (index > -1) {
  1219. onPushMessageCallbacks.splice(index, 1);
  1220. }
  1221. }
  1222. };
  1223. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1224. if (!baseInfo) {
  1225. baseInfo = wx.getSystemInfoSync();
  1226. }
  1227. var host = baseInfo ? baseInfo.host : null;
  1228. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1229. var api = /*#__PURE__*/Object.freeze({
  1230. __proto__: null,
  1231. shareVideoMessage: shareVideoMessage,
  1232. getPushClientId: getPushClientId,
  1233. onPushMessage: onPushMessage,
  1234. offPushMessage: offPushMessage,
  1235. invokePushCallback: invokePushCallback
  1236. });
  1237. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1238. function findVmByVueId(vm, vuePid) {
  1239. var $children = vm.$children;
  1240. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1241. for (var i = $children.length - 1; i >= 0; i--) {
  1242. var childVm = $children[i];
  1243. if (childVm.$scope._$vueId === vuePid) {
  1244. return childVm;
  1245. }
  1246. }
  1247. // 反向递归查找
  1248. var parentVm;
  1249. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1250. parentVm = findVmByVueId($children[_i], vuePid);
  1251. if (parentVm) {
  1252. return parentVm;
  1253. }
  1254. }
  1255. }
  1256. function initBehavior(options) {
  1257. return Behavior(options);
  1258. }
  1259. function isPage() {
  1260. return !!this.route;
  1261. }
  1262. function initRelation(detail) {
  1263. this.triggerEvent('__l', detail);
  1264. }
  1265. function selectAllComponents(mpInstance, selector, $refs) {
  1266. var components = mpInstance.selectAllComponents(selector) || [];
  1267. components.forEach(function (component) {
  1268. var ref = component.dataset.ref;
  1269. $refs[ref] = component.$vm || toSkip(component);
  1270. {
  1271. if (component.dataset.vueGeneric === 'scoped') {
  1272. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1273. selectAllComponents(scopedComponent, selector, $refs);
  1274. });
  1275. }
  1276. }
  1277. });
  1278. }
  1279. function syncRefs(refs, newRefs) {
  1280. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1281. var newKeys = Object.keys(newRefs);
  1282. newKeys.forEach(function (key) {
  1283. var oldValue = refs[key];
  1284. var newValue = newRefs[key];
  1285. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1286. return oldValue.includes(value);
  1287. })) {
  1288. return;
  1289. }
  1290. refs[key] = newValue;
  1291. oldKeys.delete(key);
  1292. });
  1293. oldKeys.forEach(function (key) {
  1294. delete refs[key];
  1295. });
  1296. return refs;
  1297. }
  1298. function initRefs(vm) {
  1299. var mpInstance = vm.$scope;
  1300. var refs = {};
  1301. Object.defineProperty(vm, '$refs', {
  1302. get: function get() {
  1303. var $refs = {};
  1304. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1305. // TODO 暂不考虑 for 中的 scoped
  1306. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1307. forComponents.forEach(function (component) {
  1308. var ref = component.dataset.ref;
  1309. if (!$refs[ref]) {
  1310. $refs[ref] = [];
  1311. }
  1312. $refs[ref].push(component.$vm || toSkip(component));
  1313. });
  1314. return syncRefs(refs, $refs);
  1315. }
  1316. });
  1317. }
  1318. function handleLink(event) {
  1319. var _ref3 = event.detail || event.value,
  1320. vuePid = _ref3.vuePid,
  1321. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1322. var parentVm;
  1323. if (vuePid) {
  1324. parentVm = findVmByVueId(this.$vm, vuePid);
  1325. }
  1326. if (!parentVm) {
  1327. parentVm = this.$vm;
  1328. }
  1329. vueOptions.parent = parentVm;
  1330. }
  1331. function markMPComponent(component) {
  1332. // 在 Vue 中标记为小程序组件
  1333. var IS_MP = '__v_isMPComponent';
  1334. Object.defineProperty(component, IS_MP, {
  1335. configurable: true,
  1336. enumerable: false,
  1337. value: true
  1338. });
  1339. return component;
  1340. }
  1341. function toSkip(obj) {
  1342. var OB = '__ob__';
  1343. var SKIP = '__v_skip';
  1344. if (isObject(obj) && Object.isExtensible(obj)) {
  1345. // 避免被 @vue/composition-api 观测
  1346. Object.defineProperty(obj, OB, {
  1347. configurable: true,
  1348. enumerable: false,
  1349. value: (0, _defineProperty2.default)({}, SKIP, true)
  1350. });
  1351. }
  1352. return obj;
  1353. }
  1354. var WORKLET_RE = /_(.*)_worklet_factory_/;
  1355. function initWorkletMethods(mpMethods, vueMethods) {
  1356. if (vueMethods) {
  1357. Object.keys(vueMethods).forEach(function (name) {
  1358. var matches = name.match(WORKLET_RE);
  1359. if (matches) {
  1360. var workletName = matches[1];
  1361. mpMethods[name] = vueMethods[name];
  1362. mpMethods[workletName] = vueMethods[workletName];
  1363. }
  1364. });
  1365. }
  1366. }
  1367. var MPPage = Page;
  1368. var MPComponent = Component;
  1369. var customizeRE = /:/g;
  1370. var customize = cached(function (str) {
  1371. return camelize(str.replace(customizeRE, '-'));
  1372. });
  1373. function initTriggerEvent(mpInstance) {
  1374. var oldTriggerEvent = mpInstance.triggerEvent;
  1375. var newTriggerEvent = function newTriggerEvent(event) {
  1376. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1377. args[_key3 - 1] = arguments[_key3];
  1378. }
  1379. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1380. if (this.$vm || this.dataset && this.dataset.comType) {
  1381. event = customize(event);
  1382. } else {
  1383. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1384. var newEvent = customize(event);
  1385. if (newEvent !== event) {
  1386. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1387. }
  1388. }
  1389. return oldTriggerEvent.apply(this, [event].concat(args));
  1390. };
  1391. try {
  1392. // 京东小程序 triggerEvent 为只读
  1393. mpInstance.triggerEvent = newTriggerEvent;
  1394. } catch (error) {
  1395. mpInstance._triggerEvent = newTriggerEvent;
  1396. }
  1397. }
  1398. function initHook(name, options, isComponent) {
  1399. var oldHook = options[name];
  1400. options[name] = function () {
  1401. markMPComponent(this);
  1402. initTriggerEvent(this);
  1403. if (oldHook) {
  1404. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1405. args[_key4] = arguments[_key4];
  1406. }
  1407. return oldHook.apply(this, args);
  1408. }
  1409. };
  1410. }
  1411. if (!MPPage.__$wrappered) {
  1412. MPPage.__$wrappered = true;
  1413. Page = function Page() {
  1414. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1415. initHook('onLoad', options);
  1416. return MPPage(options);
  1417. };
  1418. Page.after = MPPage.after;
  1419. Component = function Component() {
  1420. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1421. initHook('created', options);
  1422. return MPComponent(options);
  1423. };
  1424. }
  1425. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1426. function initMocks(vm, mocks) {
  1427. var mpInstance = vm.$mp[vm.mpType];
  1428. mocks.forEach(function (mock) {
  1429. if (hasOwn(mpInstance, mock)) {
  1430. vm[mock] = mpInstance[mock];
  1431. }
  1432. });
  1433. }
  1434. function hasHook(hook, vueOptions) {
  1435. if (!vueOptions) {
  1436. return true;
  1437. }
  1438. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1439. return true;
  1440. }
  1441. vueOptions = vueOptions.default || vueOptions;
  1442. if (isFn(vueOptions)) {
  1443. if (isFn(vueOptions.extendOptions[hook])) {
  1444. return true;
  1445. }
  1446. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1447. return true;
  1448. }
  1449. return false;
  1450. }
  1451. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1452. return true;
  1453. }
  1454. var mixins = vueOptions.mixins;
  1455. if (Array.isArray(mixins)) {
  1456. return !!mixins.find(function (mixin) {
  1457. return hasHook(hook, mixin);
  1458. });
  1459. }
  1460. }
  1461. function initHooks(mpOptions, hooks, vueOptions) {
  1462. hooks.forEach(function (hook) {
  1463. if (hasHook(hook, vueOptions)) {
  1464. mpOptions[hook] = function (args) {
  1465. return this.$vm && this.$vm.__call_hook(hook, args);
  1466. };
  1467. }
  1468. });
  1469. }
  1470. function initUnknownHooks(mpOptions, vueOptions) {
  1471. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1472. findHooks(vueOptions).forEach(function (hook) {
  1473. return initHook$1(mpOptions, hook, excludes);
  1474. });
  1475. }
  1476. function findHooks(vueOptions) {
  1477. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1478. if (vueOptions) {
  1479. Object.keys(vueOptions).forEach(function (name) {
  1480. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1481. hooks.push(name);
  1482. }
  1483. });
  1484. }
  1485. return hooks;
  1486. }
  1487. function initHook$1(mpOptions, hook, excludes) {
  1488. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1489. mpOptions[hook] = function (args) {
  1490. return this.$vm && this.$vm.__call_hook(hook, args);
  1491. };
  1492. }
  1493. }
  1494. function initVueComponent(Vue, vueOptions) {
  1495. vueOptions = vueOptions.default || vueOptions;
  1496. var VueComponent;
  1497. if (isFn(vueOptions)) {
  1498. VueComponent = vueOptions;
  1499. } else {
  1500. VueComponent = Vue.extend(vueOptions);
  1501. }
  1502. vueOptions = VueComponent.options;
  1503. return [VueComponent, vueOptions];
  1504. }
  1505. function initSlots(vm, vueSlots) {
  1506. if (Array.isArray(vueSlots) && vueSlots.length) {
  1507. var $slots = Object.create(null);
  1508. vueSlots.forEach(function (slotName) {
  1509. $slots[slotName] = true;
  1510. });
  1511. vm.$scopedSlots = vm.$slots = $slots;
  1512. }
  1513. }
  1514. function initVueIds(vueIds, mpInstance) {
  1515. vueIds = (vueIds || '').split(',');
  1516. var len = vueIds.length;
  1517. if (len === 1) {
  1518. mpInstance._$vueId = vueIds[0];
  1519. } else if (len === 2) {
  1520. mpInstance._$vueId = vueIds[0];
  1521. mpInstance._$vuePid = vueIds[1];
  1522. }
  1523. }
  1524. function initData(vueOptions, context) {
  1525. var data = vueOptions.data || {};
  1526. var methods = vueOptions.methods || {};
  1527. if (typeof data === 'function') {
  1528. try {
  1529. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1530. } catch (e) {
  1531. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1532. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1533. }
  1534. }
  1535. } else {
  1536. try {
  1537. // 对 data 格式化
  1538. data = JSON.parse(JSON.stringify(data));
  1539. } catch (e) {}
  1540. }
  1541. if (!isPlainObject(data)) {
  1542. data = {};
  1543. }
  1544. Object.keys(methods).forEach(function (methodName) {
  1545. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1546. data[methodName] = methods[methodName];
  1547. }
  1548. });
  1549. return data;
  1550. }
  1551. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1552. function createObserver(name) {
  1553. return function observer(newVal, oldVal) {
  1554. if (this.$vm) {
  1555. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1556. }
  1557. };
  1558. }
  1559. function initBehaviors(vueOptions, initBehavior) {
  1560. var vueBehaviors = vueOptions.behaviors;
  1561. var vueExtends = vueOptions.extends;
  1562. var vueMixins = vueOptions.mixins;
  1563. var vueProps = vueOptions.props;
  1564. if (!vueProps) {
  1565. vueOptions.props = vueProps = [];
  1566. }
  1567. var behaviors = [];
  1568. if (Array.isArray(vueBehaviors)) {
  1569. vueBehaviors.forEach(function (behavior) {
  1570. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1571. if (behavior === 'uni://form-field') {
  1572. if (Array.isArray(vueProps)) {
  1573. vueProps.push('name');
  1574. vueProps.push('value');
  1575. } else {
  1576. vueProps.name = {
  1577. type: String,
  1578. default: ''
  1579. };
  1580. vueProps.value = {
  1581. type: [String, Number, Boolean, Array, Object, Date],
  1582. default: ''
  1583. };
  1584. }
  1585. }
  1586. });
  1587. }
  1588. if (isPlainObject(vueExtends) && vueExtends.props) {
  1589. behaviors.push(initBehavior({
  1590. properties: initProperties(vueExtends.props, true)
  1591. }));
  1592. }
  1593. if (Array.isArray(vueMixins)) {
  1594. vueMixins.forEach(function (vueMixin) {
  1595. if (isPlainObject(vueMixin) && vueMixin.props) {
  1596. behaviors.push(initBehavior({
  1597. properties: initProperties(vueMixin.props, true)
  1598. }));
  1599. }
  1600. });
  1601. }
  1602. return behaviors;
  1603. }
  1604. function parsePropType(key, type, defaultValue, file) {
  1605. // [String]=>String
  1606. if (Array.isArray(type) && type.length === 1) {
  1607. return type[0];
  1608. }
  1609. return type;
  1610. }
  1611. function initProperties(props) {
  1612. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1613. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1614. var options = arguments.length > 3 ? arguments[3] : undefined;
  1615. var properties = {};
  1616. if (!isBehavior) {
  1617. properties.vueId = {
  1618. type: String,
  1619. value: ''
  1620. };
  1621. {
  1622. if (options.virtualHost) {
  1623. properties.virtualHostStyle = {
  1624. type: null,
  1625. value: ''
  1626. };
  1627. properties.virtualHostClass = {
  1628. type: null,
  1629. value: ''
  1630. };
  1631. }
  1632. }
  1633. // scopedSlotsCompiler auto
  1634. properties.scopedSlotsCompiler = {
  1635. type: String,
  1636. value: ''
  1637. };
  1638. properties.vueSlots = {
  1639. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1640. type: null,
  1641. value: [],
  1642. observer: function observer(newVal, oldVal) {
  1643. var $slots = Object.create(null);
  1644. newVal.forEach(function (slotName) {
  1645. $slots[slotName] = true;
  1646. });
  1647. this.setData({
  1648. $slots: $slots
  1649. });
  1650. }
  1651. };
  1652. }
  1653. if (Array.isArray(props)) {
  1654. // ['title']
  1655. props.forEach(function (key) {
  1656. properties[key] = {
  1657. type: null,
  1658. observer: createObserver(key)
  1659. };
  1660. });
  1661. } else if (isPlainObject(props)) {
  1662. // {title:{type:String,default:''},content:String}
  1663. Object.keys(props).forEach(function (key) {
  1664. var opts = props[key];
  1665. if (isPlainObject(opts)) {
  1666. // title:{type:String,default:''}
  1667. var value = opts.default;
  1668. if (isFn(value)) {
  1669. value = value();
  1670. }
  1671. opts.type = parsePropType(key, opts.type);
  1672. properties[key] = {
  1673. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1674. value: value,
  1675. observer: createObserver(key)
  1676. };
  1677. } else {
  1678. // content:String
  1679. var type = parsePropType(key, opts);
  1680. properties[key] = {
  1681. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1682. observer: createObserver(key)
  1683. };
  1684. }
  1685. });
  1686. }
  1687. return properties;
  1688. }
  1689. function wrapper$1(event) {
  1690. // TODO 又得兼容 mpvue 的 mp 对象
  1691. try {
  1692. event.mp = JSON.parse(JSON.stringify(event));
  1693. } catch (e) {}
  1694. event.stopPropagation = noop;
  1695. event.preventDefault = noop;
  1696. event.target = event.target || {};
  1697. if (!hasOwn(event, 'detail')) {
  1698. event.detail = {};
  1699. }
  1700. if (hasOwn(event, 'markerId')) {
  1701. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1702. event.detail.markerId = event.markerId;
  1703. }
  1704. if (isPlainObject(event.detail)) {
  1705. event.target = Object.assign({}, event.target, event.detail);
  1706. }
  1707. return event;
  1708. }
  1709. function getExtraValue(vm, dataPathsArray) {
  1710. var context = vm;
  1711. dataPathsArray.forEach(function (dataPathArray) {
  1712. var dataPath = dataPathArray[0];
  1713. var value = dataPathArray[2];
  1714. if (dataPath || typeof value !== 'undefined') {
  1715. // ['','',index,'disable']
  1716. var propPath = dataPathArray[1];
  1717. var valuePath = dataPathArray[3];
  1718. var vFor;
  1719. if (Number.isInteger(dataPath)) {
  1720. vFor = dataPath;
  1721. } else if (!dataPath) {
  1722. vFor = context;
  1723. } else if (typeof dataPath === 'string' && dataPath) {
  1724. if (dataPath.indexOf('#s#') === 0) {
  1725. vFor = dataPath.substr(3);
  1726. } else {
  1727. vFor = vm.__get_value(dataPath, context);
  1728. }
  1729. }
  1730. if (Number.isInteger(vFor)) {
  1731. context = value;
  1732. } else if (!propPath) {
  1733. context = vFor[value];
  1734. } else {
  1735. if (Array.isArray(vFor)) {
  1736. context = vFor.find(function (vForItem) {
  1737. return vm.__get_value(propPath, vForItem) === value;
  1738. });
  1739. } else if (isPlainObject(vFor)) {
  1740. context = Object.keys(vFor).find(function (vForKey) {
  1741. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1742. });
  1743. } else {
  1744. console.error('v-for 暂不支持循环数据:', vFor);
  1745. }
  1746. }
  1747. if (valuePath) {
  1748. context = vm.__get_value(valuePath, context);
  1749. }
  1750. }
  1751. });
  1752. return context;
  1753. }
  1754. function processEventExtra(vm, extra, event, __args__) {
  1755. var extraObj = {};
  1756. if (Array.isArray(extra) && extra.length) {
  1757. /**
  1758. *[
  1759. * ['data.items', 'data.id', item.data.id],
  1760. * ['metas', 'id', meta.id]
  1761. *],
  1762. *[
  1763. * ['data.items', 'data.id', item.data.id],
  1764. * ['metas', 'id', meta.id]
  1765. *],
  1766. *'test'
  1767. */
  1768. extra.forEach(function (dataPath, index) {
  1769. if (typeof dataPath === 'string') {
  1770. if (!dataPath) {
  1771. // model,prop.sync
  1772. extraObj['$' + index] = vm;
  1773. } else {
  1774. if (dataPath === '$event') {
  1775. // $event
  1776. extraObj['$' + index] = event;
  1777. } else if (dataPath === 'arguments') {
  1778. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1779. } else if (dataPath.indexOf('$event.') === 0) {
  1780. // $event.target.value
  1781. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1782. } else {
  1783. extraObj['$' + index] = vm.__get_value(dataPath);
  1784. }
  1785. }
  1786. } else {
  1787. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1788. }
  1789. });
  1790. }
  1791. return extraObj;
  1792. }
  1793. function getObjByArray(arr) {
  1794. var obj = {};
  1795. for (var i = 1; i < arr.length; i++) {
  1796. var element = arr[i];
  1797. obj[element[0]] = element[1];
  1798. }
  1799. return obj;
  1800. }
  1801. function processEventArgs(vm, event) {
  1802. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1803. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1804. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1805. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1806. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1807. // fixed 用户直接触发 mpInstance.triggerEvent
  1808. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1809. if (isCustom) {
  1810. // 自定义事件
  1811. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1812. if (!args.length) {
  1813. // 无参数,直接传入 event 或 detail 数组
  1814. if (isCustomMPEvent) {
  1815. return [event];
  1816. }
  1817. return __args__;
  1818. }
  1819. }
  1820. var extraObj = processEventExtra(vm, extra, event, __args__);
  1821. var ret = [];
  1822. args.forEach(function (arg) {
  1823. if (arg === '$event') {
  1824. if (methodName === '__set_model' && !isCustom) {
  1825. // input v-model value
  1826. ret.push(event.target.value);
  1827. } else {
  1828. if (isCustom && !isCustomMPEvent) {
  1829. ret.push(__args__[0]);
  1830. } else {
  1831. // wxcomponent 组件或内置组件
  1832. ret.push(event);
  1833. }
  1834. }
  1835. } else {
  1836. if (Array.isArray(arg) && arg[0] === 'o') {
  1837. ret.push(getObjByArray(arg));
  1838. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  1839. ret.push(extraObj[arg]);
  1840. } else {
  1841. ret.push(arg);
  1842. }
  1843. }
  1844. });
  1845. return ret;
  1846. }
  1847. var ONCE = '~';
  1848. var CUSTOM = '^';
  1849. function isMatchEventType(eventType, optType) {
  1850. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  1851. }
  1852. function getContextVm(vm) {
  1853. var $parent = vm.$parent;
  1854. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  1855. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  1856. $parent = $parent.$parent;
  1857. }
  1858. return $parent && $parent.$parent;
  1859. }
  1860. function handleEvent(event) {
  1861. var _this2 = this;
  1862. event = wrapper$1(event);
  1863. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  1864. var dataset = (event.currentTarget || event.target).dataset;
  1865. if (!dataset) {
  1866. return console.warn('事件信息不存在');
  1867. }
  1868. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  1869. if (!eventOpts) {
  1870. return console.warn('事件信息不存在');
  1871. }
  1872. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  1873. var eventType = event.type;
  1874. var ret = [];
  1875. eventOpts.forEach(function (eventOpt) {
  1876. var type = eventOpt[0];
  1877. var eventsArray = eventOpt[1];
  1878. var isCustom = type.charAt(0) === CUSTOM;
  1879. type = isCustom ? type.slice(1) : type;
  1880. var isOnce = type.charAt(0) === ONCE;
  1881. type = isOnce ? type.slice(1) : type;
  1882. if (eventsArray && isMatchEventType(eventType, type)) {
  1883. eventsArray.forEach(function (eventArray) {
  1884. var methodName = eventArray[0];
  1885. if (methodName) {
  1886. var handlerCtx = _this2.$vm;
  1887. if (handlerCtx.$options.generic) {
  1888. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  1889. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  1890. }
  1891. if (methodName === '$emit') {
  1892. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  1893. return;
  1894. }
  1895. var handler = handlerCtx[methodName];
  1896. if (!isFn(handler)) {
  1897. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  1898. var path = _this2.route || _this2.is;
  1899. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  1900. }
  1901. if (isOnce) {
  1902. if (handler.once) {
  1903. return;
  1904. }
  1905. handler.once = true;
  1906. }
  1907. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  1908. params = Array.isArray(params) ? params : [];
  1909. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  1910. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  1911. // eslint-disable-next-line no-sparse-arrays
  1912. params = params.concat([,,,,,,,,,, event]);
  1913. }
  1914. ret.push(handler.apply(handlerCtx, params));
  1915. }
  1916. });
  1917. }
  1918. });
  1919. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  1920. return ret[0];
  1921. }
  1922. }
  1923. var eventChannels = {};
  1924. function getEventChannel(id) {
  1925. var eventChannel = eventChannels[id];
  1926. delete eventChannels[id];
  1927. return eventChannel;
  1928. }
  1929. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  1930. function initEventChannel() {
  1931. _vue.default.prototype.getOpenerEventChannel = function () {
  1932. // 微信小程序使用自身getOpenerEventChannel
  1933. {
  1934. return this.$scope.getOpenerEventChannel();
  1935. }
  1936. };
  1937. var callHook = _vue.default.prototype.__call_hook;
  1938. _vue.default.prototype.__call_hook = function (hook, args) {
  1939. if (hook === 'onLoad' && args && args.__id__) {
  1940. this.__eventChannel__ = getEventChannel(args.__id__);
  1941. delete args.__id__;
  1942. }
  1943. return callHook.call(this, hook, args);
  1944. };
  1945. }
  1946. function initScopedSlotsParams() {
  1947. var center = {};
  1948. var parents = {};
  1949. function currentId(fn) {
  1950. var vueIds = this.$options.propsData.vueId;
  1951. if (vueIds) {
  1952. var vueId = vueIds.split(',')[0];
  1953. fn(vueId);
  1954. }
  1955. }
  1956. _vue.default.prototype.$hasSSP = function (vueId) {
  1957. var slot = center[vueId];
  1958. if (!slot) {
  1959. parents[vueId] = this;
  1960. this.$on('hook:destroyed', function () {
  1961. delete parents[vueId];
  1962. });
  1963. }
  1964. return slot;
  1965. };
  1966. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  1967. var slot = center[vueId];
  1968. if (slot) {
  1969. var params = slot[name] || [];
  1970. if (needAll) {
  1971. return params;
  1972. }
  1973. return params[0];
  1974. }
  1975. };
  1976. _vue.default.prototype.$setSSP = function (name, value) {
  1977. var index = 0;
  1978. currentId.call(this, function (vueId) {
  1979. var slot = center[vueId];
  1980. var params = slot[name] = slot[name] || [];
  1981. params.push(value);
  1982. index = params.length - 1;
  1983. });
  1984. return index;
  1985. };
  1986. _vue.default.prototype.$initSSP = function () {
  1987. currentId.call(this, function (vueId) {
  1988. center[vueId] = {};
  1989. });
  1990. };
  1991. _vue.default.prototype.$callSSP = function () {
  1992. currentId.call(this, function (vueId) {
  1993. if (parents[vueId]) {
  1994. parents[vueId].$forceUpdate();
  1995. }
  1996. });
  1997. };
  1998. _vue.default.mixin({
  1999. destroyed: function destroyed() {
  2000. var propsData = this.$options.propsData;
  2001. var vueId = propsData && propsData.vueId;
  2002. if (vueId) {
  2003. delete center[vueId];
  2004. delete parents[vueId];
  2005. }
  2006. }
  2007. });
  2008. }
  2009. function parseBaseApp(vm, _ref4) {
  2010. var mocks = _ref4.mocks,
  2011. initRefs = _ref4.initRefs;
  2012. initEventChannel();
  2013. {
  2014. initScopedSlotsParams();
  2015. }
  2016. if (vm.$options.store) {
  2017. _vue.default.prototype.$store = vm.$options.store;
  2018. }
  2019. uniIdMixin(_vue.default);
  2020. _vue.default.prototype.mpHost = "mp-weixin";
  2021. _vue.default.mixin({
  2022. beforeCreate: function beforeCreate() {
  2023. if (!this.$options.mpType) {
  2024. return;
  2025. }
  2026. this.mpType = this.$options.mpType;
  2027. this.$mp = (0, _defineProperty2.default)({
  2028. data: {}
  2029. }, this.mpType, this.$options.mpInstance);
  2030. this.$scope = this.$options.mpInstance;
  2031. delete this.$options.mpType;
  2032. delete this.$options.mpInstance;
  2033. if (this.mpType === 'page' && typeof getApp === 'function') {
  2034. // hack vue-i18n
  2035. var app = getApp();
  2036. if (app.$vm && app.$vm.$i18n) {
  2037. this._i18n = app.$vm.$i18n;
  2038. }
  2039. }
  2040. if (this.mpType !== 'app') {
  2041. initRefs(this);
  2042. initMocks(this, mocks);
  2043. }
  2044. }
  2045. });
  2046. var appOptions = {
  2047. onLaunch: function onLaunch(args) {
  2048. if (this.$vm) {
  2049. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2050. return;
  2051. }
  2052. {
  2053. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2054. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2055. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2056. }
  2057. }
  2058. this.$vm = vm;
  2059. this.$vm.$mp = {
  2060. app: this
  2061. };
  2062. this.$vm.$scope = this;
  2063. // vm 上也挂载 globalData
  2064. this.$vm.globalData = this.globalData;
  2065. this.$vm._isMounted = true;
  2066. this.$vm.__call_hook('mounted', args);
  2067. this.$vm.__call_hook('onLaunch', args);
  2068. }
  2069. };
  2070. // 兼容旧版本 globalData
  2071. appOptions.globalData = vm.$options.globalData || {};
  2072. // 将 methods 中的方法挂在 getApp() 中
  2073. var methods = vm.$options.methods;
  2074. if (methods) {
  2075. Object.keys(methods).forEach(function (name) {
  2076. appOptions[name] = methods[name];
  2077. });
  2078. }
  2079. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2080. initHooks(appOptions, hooks);
  2081. initUnknownHooks(appOptions, vm.$options);
  2082. return appOptions;
  2083. }
  2084. function parseApp(vm) {
  2085. return parseBaseApp(vm, {
  2086. mocks: mocks,
  2087. initRefs: initRefs
  2088. });
  2089. }
  2090. function createApp(vm) {
  2091. App(parseApp(vm));
  2092. return vm;
  2093. }
  2094. var encodeReserveRE = /[!'()*]/g;
  2095. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2096. return '%' + c.charCodeAt(0).toString(16);
  2097. };
  2098. var commaRE = /%2C/g;
  2099. // fixed encodeURIComponent which is more conformant to RFC3986:
  2100. // - escapes [!'()*]
  2101. // - preserve commas
  2102. var encode = function encode(str) {
  2103. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2104. };
  2105. function stringifyQuery(obj) {
  2106. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2107. var res = obj ? Object.keys(obj).map(function (key) {
  2108. var val = obj[key];
  2109. if (val === undefined) {
  2110. return '';
  2111. }
  2112. if (val === null) {
  2113. return encodeStr(key);
  2114. }
  2115. if (Array.isArray(val)) {
  2116. var result = [];
  2117. val.forEach(function (val2) {
  2118. if (val2 === undefined) {
  2119. return;
  2120. }
  2121. if (val2 === null) {
  2122. result.push(encodeStr(key));
  2123. } else {
  2124. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2125. }
  2126. });
  2127. return result.join('&');
  2128. }
  2129. return encodeStr(key) + '=' + encodeStr(val);
  2130. }).filter(function (x) {
  2131. return x.length > 0;
  2132. }).join('&') : null;
  2133. return res ? "?".concat(res) : '';
  2134. }
  2135. function parseBaseComponent(vueComponentOptions) {
  2136. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2137. isPage = _ref5.isPage,
  2138. initRelation = _ref5.initRelation;
  2139. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2140. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2141. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2142. VueComponent = _initVueComponent2[0],
  2143. vueOptions = _initVueComponent2[1];
  2144. var options = _objectSpread({
  2145. multipleSlots: true,
  2146. // styleIsolation: 'apply-shared',
  2147. addGlobalClass: true
  2148. }, vueOptions.options || {});
  2149. {
  2150. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2151. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2152. Object.assign(options, vueOptions['mp-weixin'].options);
  2153. }
  2154. }
  2155. var componentOptions = {
  2156. options: options,
  2157. data: initData(vueOptions, _vue.default.prototype),
  2158. behaviors: initBehaviors(vueOptions, initBehavior),
  2159. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2160. lifetimes: {
  2161. attached: function attached() {
  2162. var properties = this.properties;
  2163. var options = {
  2164. mpType: isPage.call(this) ? 'page' : 'component',
  2165. mpInstance: this,
  2166. propsData: properties
  2167. };
  2168. initVueIds(properties.vueId, this);
  2169. // 处理父子关系
  2170. initRelation.call(this, {
  2171. vuePid: this._$vuePid,
  2172. vueOptions: options
  2173. });
  2174. // 初始化 vue 实例
  2175. this.$vm = new VueComponent(options);
  2176. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2177. initSlots(this.$vm, properties.vueSlots);
  2178. // 触发首次 setData
  2179. this.$vm.$mount();
  2180. },
  2181. ready: function ready() {
  2182. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2183. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2184. if (this.$vm) {
  2185. this.$vm._isMounted = true;
  2186. this.$vm.__call_hook('mounted');
  2187. this.$vm.__call_hook('onReady');
  2188. }
  2189. },
  2190. detached: function detached() {
  2191. this.$vm && this.$vm.$destroy();
  2192. }
  2193. },
  2194. pageLifetimes: {
  2195. show: function show(args) {
  2196. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2197. },
  2198. hide: function hide() {
  2199. this.$vm && this.$vm.__call_hook('onPageHide');
  2200. },
  2201. resize: function resize(size) {
  2202. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2203. }
  2204. },
  2205. methods: {
  2206. __l: handleLink,
  2207. __e: handleEvent
  2208. }
  2209. };
  2210. // externalClasses
  2211. if (vueOptions.externalClasses) {
  2212. componentOptions.externalClasses = vueOptions.externalClasses;
  2213. }
  2214. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2215. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2216. componentOptions.methods[callMethod] = function (args) {
  2217. return this.$vm[callMethod](args);
  2218. };
  2219. });
  2220. }
  2221. if (needVueOptions) {
  2222. return [componentOptions, vueOptions, VueComponent];
  2223. }
  2224. if (isPage) {
  2225. return componentOptions;
  2226. }
  2227. return [componentOptions, VueComponent];
  2228. }
  2229. function parseComponent(vueComponentOptions, needVueOptions) {
  2230. return parseBaseComponent(vueComponentOptions, {
  2231. isPage: isPage,
  2232. initRelation: initRelation
  2233. }, needVueOptions);
  2234. }
  2235. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2236. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2237. function parseBasePage(vuePageOptions) {
  2238. var _parseComponent = parseComponent(vuePageOptions, true),
  2239. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2240. pageOptions = _parseComponent2[0],
  2241. vueOptions = _parseComponent2[1];
  2242. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2243. pageOptions.methods.onLoad = function (query) {
  2244. this.options = query;
  2245. var copyQuery = Object.assign({}, query);
  2246. delete copyQuery.__id__;
  2247. this.$page = {
  2248. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2249. };
  2250. this.$vm.$mp.query = query; // 兼容 mpvue
  2251. this.$vm.__call_hook('onLoad', query);
  2252. };
  2253. {
  2254. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2255. }
  2256. {
  2257. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  2258. }
  2259. return pageOptions;
  2260. }
  2261. function parsePage(vuePageOptions) {
  2262. return parseBasePage(vuePageOptions);
  2263. }
  2264. function createPage(vuePageOptions) {
  2265. {
  2266. return Component(parsePage(vuePageOptions));
  2267. }
  2268. }
  2269. function createComponent(vueOptions) {
  2270. {
  2271. return Component(parseComponent(vueOptions));
  2272. }
  2273. }
  2274. function createSubpackageApp(vm) {
  2275. var appOptions = parseApp(vm);
  2276. var app = getApp({
  2277. allowDefault: true
  2278. });
  2279. vm.$scope = app;
  2280. var globalData = app.globalData;
  2281. if (globalData) {
  2282. Object.keys(appOptions.globalData).forEach(function (name) {
  2283. if (!hasOwn(globalData, name)) {
  2284. globalData[name] = appOptions.globalData[name];
  2285. }
  2286. });
  2287. }
  2288. Object.keys(appOptions).forEach(function (name) {
  2289. if (!hasOwn(app, name)) {
  2290. app[name] = appOptions[name];
  2291. }
  2292. });
  2293. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2294. wx.onAppShow(function () {
  2295. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2296. args[_key5] = arguments[_key5];
  2297. }
  2298. vm.__call_hook('onShow', args);
  2299. });
  2300. }
  2301. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2302. wx.onAppHide(function () {
  2303. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2304. args[_key6] = arguments[_key6];
  2305. }
  2306. vm.__call_hook('onHide', args);
  2307. });
  2308. }
  2309. if (isFn(appOptions.onLaunch)) {
  2310. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2311. vm.__call_hook('onLaunch', args);
  2312. }
  2313. return vm;
  2314. }
  2315. function createPlugin(vm) {
  2316. var appOptions = parseApp(vm);
  2317. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2318. wx.onAppShow(function () {
  2319. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2320. args[_key7] = arguments[_key7];
  2321. }
  2322. vm.__call_hook('onShow', args);
  2323. });
  2324. }
  2325. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2326. wx.onAppHide(function () {
  2327. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2328. args[_key8] = arguments[_key8];
  2329. }
  2330. vm.__call_hook('onHide', args);
  2331. });
  2332. }
  2333. if (isFn(appOptions.onLaunch)) {
  2334. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2335. vm.__call_hook('onLaunch', args);
  2336. }
  2337. return vm;
  2338. }
  2339. todos.forEach(function (todoApi) {
  2340. protocols[todoApi] = false;
  2341. });
  2342. canIUses.forEach(function (canIUseApi) {
  2343. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2344. if (!wx.canIUse(apiName)) {
  2345. protocols[canIUseApi] = false;
  2346. }
  2347. });
  2348. var uni = {};
  2349. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2350. uni = new Proxy({}, {
  2351. get: function get(target, name) {
  2352. if (hasOwn(target, name)) {
  2353. return target[name];
  2354. }
  2355. if (baseApi[name]) {
  2356. return baseApi[name];
  2357. }
  2358. if (api[name]) {
  2359. return promisify(name, api[name]);
  2360. }
  2361. {
  2362. if (extraApi[name]) {
  2363. return promisify(name, extraApi[name]);
  2364. }
  2365. if (todoApis[name]) {
  2366. return promisify(name, todoApis[name]);
  2367. }
  2368. }
  2369. if (eventApi[name]) {
  2370. return eventApi[name];
  2371. }
  2372. return promisify(name, wrapper(name, wx[name]));
  2373. },
  2374. set: function set(target, name, value) {
  2375. target[name] = value;
  2376. return true;
  2377. }
  2378. });
  2379. } else {
  2380. Object.keys(baseApi).forEach(function (name) {
  2381. uni[name] = baseApi[name];
  2382. });
  2383. {
  2384. Object.keys(todoApis).forEach(function (name) {
  2385. uni[name] = promisify(name, todoApis[name]);
  2386. });
  2387. Object.keys(extraApi).forEach(function (name) {
  2388. uni[name] = promisify(name, extraApi[name]);
  2389. });
  2390. }
  2391. Object.keys(eventApi).forEach(function (name) {
  2392. uni[name] = eventApi[name];
  2393. });
  2394. Object.keys(api).forEach(function (name) {
  2395. uni[name] = promisify(name, api[name]);
  2396. });
  2397. Object.keys(wx).forEach(function (name) {
  2398. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2399. uni[name] = promisify(name, wrapper(name, wx[name]));
  2400. }
  2401. });
  2402. }
  2403. wx.createApp = createApp;
  2404. wx.createPage = createPage;
  2405. wx.createComponent = createComponent;
  2406. wx.createSubpackageApp = createSubpackageApp;
  2407. wx.createPlugin = createPlugin;
  2408. var uni$1 = uni;
  2409. var _default = uni$1;
  2410. exports.default = _default;
  2411. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  2412. /***/ }),
  2413. /* 3 */
  2414. /*!***********************************!*\
  2415. !*** (webpack)/buildin/global.js ***!
  2416. \***********************************/
  2417. /*! no static exports found */
  2418. /***/ (function(module, exports) {
  2419. var g;
  2420. // This works in non-strict mode
  2421. g = (function() {
  2422. return this;
  2423. })();
  2424. try {
  2425. // This works if eval is allowed (see CSP)
  2426. g = g || new Function("return this")();
  2427. } catch (e) {
  2428. // This works if the window reference is available
  2429. if (typeof window === "object") g = window;
  2430. }
  2431. // g can still be undefined, but nothing to do about it...
  2432. // We return undefined, instead of nothing here, so it's
  2433. // easier to handle this case. if(!global) { ...}
  2434. module.exports = g;
  2435. /***/ }),
  2436. /* 4 */
  2437. /*!**********************************************************************!*\
  2438. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  2439. \**********************************************************************/
  2440. /*! no static exports found */
  2441. /***/ (function(module, exports) {
  2442. function _interopRequireDefault(obj) {
  2443. return obj && obj.__esModule ? obj : {
  2444. "default": obj
  2445. };
  2446. }
  2447. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2448. /***/ }),
  2449. /* 5 */
  2450. /*!**************************************************************!*\
  2451. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  2452. \**************************************************************/
  2453. /*! no static exports found */
  2454. /***/ (function(module, exports, __webpack_require__) {
  2455. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  2456. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  2457. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2458. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  2459. function _slicedToArray(arr, i) {
  2460. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  2461. }
  2462. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2463. /***/ }),
  2464. /* 6 */
  2465. /*!***************************************************************!*\
  2466. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  2467. \***************************************************************/
  2468. /*! no static exports found */
  2469. /***/ (function(module, exports) {
  2470. function _arrayWithHoles(arr) {
  2471. if (Array.isArray(arr)) return arr;
  2472. }
  2473. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2474. /***/ }),
  2475. /* 7 */
  2476. /*!*********************************************************************!*\
  2477. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  2478. \*********************************************************************/
  2479. /*! no static exports found */
  2480. /***/ (function(module, exports) {
  2481. function _iterableToArrayLimit(arr, i) {
  2482. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  2483. if (null != _i) {
  2484. var _s,
  2485. _e,
  2486. _x,
  2487. _r,
  2488. _arr = [],
  2489. _n = !0,
  2490. _d = !1;
  2491. try {
  2492. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  2493. if (Object(_i) !== _i) return;
  2494. _n = !1;
  2495. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  2496. ;
  2497. }
  2498. } catch (err) {
  2499. _d = !0, _e = err;
  2500. } finally {
  2501. try {
  2502. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  2503. } finally {
  2504. if (_d) throw _e;
  2505. }
  2506. }
  2507. return _arr;
  2508. }
  2509. }
  2510. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2511. /***/ }),
  2512. /* 8 */
  2513. /*!***************************************************************************!*\
  2514. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  2515. \***************************************************************************/
  2516. /*! no static exports found */
  2517. /***/ (function(module, exports, __webpack_require__) {
  2518. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2519. function _unsupportedIterableToArray(o, minLen) {
  2520. if (!o) return;
  2521. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  2522. var n = Object.prototype.toString.call(o).slice(8, -1);
  2523. if (n === "Object" && o.constructor) n = o.constructor.name;
  2524. if (n === "Map" || n === "Set") return Array.from(o);
  2525. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  2526. }
  2527. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2528. /***/ }),
  2529. /* 9 */
  2530. /*!*****************************************************************!*\
  2531. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  2532. \*****************************************************************/
  2533. /*! no static exports found */
  2534. /***/ (function(module, exports) {
  2535. function _arrayLikeToArray(arr, len) {
  2536. if (len == null || len > arr.length) len = arr.length;
  2537. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  2538. arr2[i] = arr[i];
  2539. }
  2540. return arr2;
  2541. }
  2542. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2543. /***/ }),
  2544. /* 10 */
  2545. /*!****************************************************************!*\
  2546. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  2547. \****************************************************************/
  2548. /*! no static exports found */
  2549. /***/ (function(module, exports) {
  2550. function _nonIterableRest() {
  2551. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2552. }
  2553. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2554. /***/ }),
  2555. /* 11 */
  2556. /*!***************************************************************!*\
  2557. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  2558. \***************************************************************/
  2559. /*! no static exports found */
  2560. /***/ (function(module, exports, __webpack_require__) {
  2561. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  2562. function _defineProperty(obj, key, value) {
  2563. key = toPropertyKey(key);
  2564. if (key in obj) {
  2565. Object.defineProperty(obj, key, {
  2566. value: value,
  2567. enumerable: true,
  2568. configurable: true,
  2569. writable: true
  2570. });
  2571. } else {
  2572. obj[key] = value;
  2573. }
  2574. return obj;
  2575. }
  2576. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2577. /***/ }),
  2578. /* 12 */
  2579. /*!**************************************************************!*\
  2580. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2581. \**************************************************************/
  2582. /*! no static exports found */
  2583. /***/ (function(module, exports, __webpack_require__) {
  2584. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2585. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2586. function _toPropertyKey(arg) {
  2587. var key = toPrimitive(arg, "string");
  2588. return _typeof(key) === "symbol" ? key : String(key);
  2589. }
  2590. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2591. /***/ }),
  2592. /* 13 */
  2593. /*!*******************************************************!*\
  2594. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  2595. \*******************************************************/
  2596. /*! no static exports found */
  2597. /***/ (function(module, exports) {
  2598. function _typeof(obj) {
  2599. "@babel/helpers - typeof";
  2600. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  2601. return typeof obj;
  2602. } : function (obj) {
  2603. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  2604. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  2605. }
  2606. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2607. /***/ }),
  2608. /* 14 */
  2609. /*!************************************************************!*\
  2610. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  2611. \************************************************************/
  2612. /*! no static exports found */
  2613. /***/ (function(module, exports, __webpack_require__) {
  2614. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2615. function _toPrimitive(input, hint) {
  2616. if (_typeof(input) !== "object" || input === null) return input;
  2617. var prim = input[Symbol.toPrimitive];
  2618. if (prim !== undefined) {
  2619. var res = prim.call(input, hint || "default");
  2620. if (_typeof(res) !== "object") return res;
  2621. throw new TypeError("@@toPrimitive must return a primitive value.");
  2622. }
  2623. return (hint === "string" ? String : Number)(input);
  2624. }
  2625. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2626. /***/ }),
  2627. /* 15 */
  2628. /*!**********************************************************!*\
  2629. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  2630. \**********************************************************/
  2631. /*! no static exports found */
  2632. /***/ (function(module, exports, __webpack_require__) {
  2633. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  2634. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  2635. function _construct(Parent, args, Class) {
  2636. if (isNativeReflectConstruct()) {
  2637. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  2638. } else {
  2639. module.exports = _construct = function _construct(Parent, args, Class) {
  2640. var a = [null];
  2641. a.push.apply(a, args);
  2642. var Constructor = Function.bind.apply(Parent, a);
  2643. var instance = new Constructor();
  2644. if (Class) setPrototypeOf(instance, Class.prototype);
  2645. return instance;
  2646. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2647. }
  2648. return _construct.apply(null, arguments);
  2649. }
  2650. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2651. /***/ }),
  2652. /* 16 */
  2653. /*!***************************************************************!*\
  2654. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  2655. \***************************************************************/
  2656. /*! no static exports found */
  2657. /***/ (function(module, exports) {
  2658. function _setPrototypeOf(o, p) {
  2659. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  2660. o.__proto__ = p;
  2661. return o;
  2662. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2663. return _setPrototypeOf(o, p);
  2664. }
  2665. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2666. /***/ }),
  2667. /* 17 */
  2668. /*!*************************************************************************!*\
  2669. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  2670. \*************************************************************************/
  2671. /*! no static exports found */
  2672. /***/ (function(module, exports) {
  2673. function _isNativeReflectConstruct() {
  2674. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  2675. if (Reflect.construct.sham) return false;
  2676. if (typeof Proxy === "function") return true;
  2677. try {
  2678. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  2679. return true;
  2680. } catch (e) {
  2681. return false;
  2682. }
  2683. }
  2684. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2685. /***/ }),
  2686. /* 18 */
  2687. /*!******************************************************************!*\
  2688. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  2689. \******************************************************************/
  2690. /*! no static exports found */
  2691. /***/ (function(module, exports, __webpack_require__) {
  2692. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  2693. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  2694. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2695. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  2696. function _toConsumableArray(arr) {
  2697. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  2698. }
  2699. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2700. /***/ }),
  2701. /* 19 */
  2702. /*!******************************************************************!*\
  2703. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  2704. \******************************************************************/
  2705. /*! no static exports found */
  2706. /***/ (function(module, exports, __webpack_require__) {
  2707. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2708. function _arrayWithoutHoles(arr) {
  2709. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  2710. }
  2711. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2712. /***/ }),
  2713. /* 20 */
  2714. /*!****************************************************************!*\
  2715. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2716. \****************************************************************/
  2717. /*! no static exports found */
  2718. /***/ (function(module, exports) {
  2719. function _iterableToArray(iter) {
  2720. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2721. }
  2722. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2723. /***/ }),
  2724. /* 21 */
  2725. /*!******************************************************************!*\
  2726. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2727. \******************************************************************/
  2728. /*! no static exports found */
  2729. /***/ (function(module, exports) {
  2730. function _nonIterableSpread() {
  2731. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2732. }
  2733. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2734. /***/ }),
  2735. /* 22 */
  2736. /*!*************************************************************!*\
  2737. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2738. \*************************************************************/
  2739. /*! no static exports found */
  2740. /***/ (function(module, exports, __webpack_require__) {
  2741. "use strict";
  2742. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2743. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2744. Object.defineProperty(exports, "__esModule", {
  2745. value: true
  2746. });
  2747. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2748. exports.compileI18nJsonStr = compileI18nJsonStr;
  2749. exports.hasI18nJson = hasI18nJson;
  2750. exports.initVueI18n = initVueI18n;
  2751. exports.isI18nStr = isI18nStr;
  2752. exports.isString = void 0;
  2753. exports.normalizeLocale = normalizeLocale;
  2754. exports.parseI18nJson = parseI18nJson;
  2755. exports.resolveLocale = resolveLocale;
  2756. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2757. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2758. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2759. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2760. var isObject = function isObject(val) {
  2761. return val !== null && (0, _typeof2.default)(val) === 'object';
  2762. };
  2763. var defaultDelimiters = ['{', '}'];
  2764. var BaseFormatter = /*#__PURE__*/function () {
  2765. function BaseFormatter() {
  2766. (0, _classCallCheck2.default)(this, BaseFormatter);
  2767. this._caches = Object.create(null);
  2768. }
  2769. (0, _createClass2.default)(BaseFormatter, [{
  2770. key: "interpolate",
  2771. value: function interpolate(message, values) {
  2772. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2773. if (!values) {
  2774. return [message];
  2775. }
  2776. var tokens = this._caches[message];
  2777. if (!tokens) {
  2778. tokens = parse(message, delimiters);
  2779. this._caches[message] = tokens;
  2780. }
  2781. return compile(tokens, values);
  2782. }
  2783. }]);
  2784. return BaseFormatter;
  2785. }();
  2786. exports.Formatter = BaseFormatter;
  2787. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2788. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2789. function parse(format, _ref) {
  2790. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2791. startDelimiter = _ref2[0],
  2792. endDelimiter = _ref2[1];
  2793. var tokens = [];
  2794. var position = 0;
  2795. var text = '';
  2796. while (position < format.length) {
  2797. var char = format[position++];
  2798. if (char === startDelimiter) {
  2799. if (text) {
  2800. tokens.push({
  2801. type: 'text',
  2802. value: text
  2803. });
  2804. }
  2805. text = '';
  2806. var sub = '';
  2807. char = format[position++];
  2808. while (char !== undefined && char !== endDelimiter) {
  2809. sub += char;
  2810. char = format[position++];
  2811. }
  2812. var isClosed = char === endDelimiter;
  2813. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2814. tokens.push({
  2815. value: sub,
  2816. type: type
  2817. });
  2818. }
  2819. // else if (char === '%') {
  2820. // // when found rails i18n syntax, skip text capture
  2821. // if (format[position] !== '{') {
  2822. // text += char
  2823. // }
  2824. // }
  2825. else {
  2826. text += char;
  2827. }
  2828. }
  2829. text && tokens.push({
  2830. type: 'text',
  2831. value: text
  2832. });
  2833. return tokens;
  2834. }
  2835. function compile(tokens, values) {
  2836. var compiled = [];
  2837. var index = 0;
  2838. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2839. if (mode === 'unknown') {
  2840. return compiled;
  2841. }
  2842. while (index < tokens.length) {
  2843. var token = tokens[index];
  2844. switch (token.type) {
  2845. case 'text':
  2846. compiled.push(token.value);
  2847. break;
  2848. case 'list':
  2849. compiled.push(values[parseInt(token.value, 10)]);
  2850. break;
  2851. case 'named':
  2852. if (mode === 'named') {
  2853. compiled.push(values[token.value]);
  2854. } else {
  2855. if (true) {
  2856. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2857. }
  2858. }
  2859. break;
  2860. case 'unknown':
  2861. if (true) {
  2862. console.warn("Detect 'unknown' type of token!");
  2863. }
  2864. break;
  2865. }
  2866. index++;
  2867. }
  2868. return compiled;
  2869. }
  2870. var LOCALE_ZH_HANS = 'zh-Hans';
  2871. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2872. var LOCALE_ZH_HANT = 'zh-Hant';
  2873. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2874. var LOCALE_EN = 'en';
  2875. exports.LOCALE_EN = LOCALE_EN;
  2876. var LOCALE_FR = 'fr';
  2877. exports.LOCALE_FR = LOCALE_FR;
  2878. var LOCALE_ES = 'es';
  2879. exports.LOCALE_ES = LOCALE_ES;
  2880. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2881. var hasOwn = function hasOwn(val, key) {
  2882. return hasOwnProperty.call(val, key);
  2883. };
  2884. var defaultFormatter = new BaseFormatter();
  2885. function include(str, parts) {
  2886. return !!parts.find(function (part) {
  2887. return str.indexOf(part) !== -1;
  2888. });
  2889. }
  2890. function startsWith(str, parts) {
  2891. return parts.find(function (part) {
  2892. return str.indexOf(part) === 0;
  2893. });
  2894. }
  2895. function normalizeLocale(locale, messages) {
  2896. if (!locale) {
  2897. return;
  2898. }
  2899. locale = locale.trim().replace(/_/g, '-');
  2900. if (messages && messages[locale]) {
  2901. return locale;
  2902. }
  2903. locale = locale.toLowerCase();
  2904. if (locale === 'chinese') {
  2905. // 支付宝
  2906. return LOCALE_ZH_HANS;
  2907. }
  2908. if (locale.indexOf('zh') === 0) {
  2909. if (locale.indexOf('-hans') > -1) {
  2910. return LOCALE_ZH_HANS;
  2911. }
  2912. if (locale.indexOf('-hant') > -1) {
  2913. return LOCALE_ZH_HANT;
  2914. }
  2915. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2916. return LOCALE_ZH_HANT;
  2917. }
  2918. return LOCALE_ZH_HANS;
  2919. }
  2920. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  2921. if (messages && Object.keys(messages).length > 0) {
  2922. locales = Object.keys(messages);
  2923. }
  2924. var lang = startsWith(locale, locales);
  2925. if (lang) {
  2926. return lang;
  2927. }
  2928. }
  2929. var I18n = /*#__PURE__*/function () {
  2930. function I18n(_ref3) {
  2931. var locale = _ref3.locale,
  2932. fallbackLocale = _ref3.fallbackLocale,
  2933. messages = _ref3.messages,
  2934. watcher = _ref3.watcher,
  2935. formater = _ref3.formater;
  2936. (0, _classCallCheck2.default)(this, I18n);
  2937. this.locale = LOCALE_EN;
  2938. this.fallbackLocale = LOCALE_EN;
  2939. this.message = {};
  2940. this.messages = {};
  2941. this.watchers = [];
  2942. if (fallbackLocale) {
  2943. this.fallbackLocale = fallbackLocale;
  2944. }
  2945. this.formater = formater || defaultFormatter;
  2946. this.messages = messages || {};
  2947. this.setLocale(locale || LOCALE_EN);
  2948. if (watcher) {
  2949. this.watchLocale(watcher);
  2950. }
  2951. }
  2952. (0, _createClass2.default)(I18n, [{
  2953. key: "setLocale",
  2954. value: function setLocale(locale) {
  2955. var _this = this;
  2956. var oldLocale = this.locale;
  2957. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2958. if (!this.messages[this.locale]) {
  2959. // 可能初始化时不存在
  2960. this.messages[this.locale] = {};
  2961. }
  2962. this.message = this.messages[this.locale];
  2963. // 仅发生变化时,通知
  2964. if (oldLocale !== this.locale) {
  2965. this.watchers.forEach(function (watcher) {
  2966. watcher(_this.locale, oldLocale);
  2967. });
  2968. }
  2969. }
  2970. }, {
  2971. key: "getLocale",
  2972. value: function getLocale() {
  2973. return this.locale;
  2974. }
  2975. }, {
  2976. key: "watchLocale",
  2977. value: function watchLocale(fn) {
  2978. var _this2 = this;
  2979. var index = this.watchers.push(fn) - 1;
  2980. return function () {
  2981. _this2.watchers.splice(index, 1);
  2982. };
  2983. }
  2984. }, {
  2985. key: "add",
  2986. value: function add(locale, message) {
  2987. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2988. var curMessages = this.messages[locale];
  2989. if (curMessages) {
  2990. if (override) {
  2991. Object.assign(curMessages, message);
  2992. } else {
  2993. Object.keys(message).forEach(function (key) {
  2994. if (!hasOwn(curMessages, key)) {
  2995. curMessages[key] = message[key];
  2996. }
  2997. });
  2998. }
  2999. } else {
  3000. this.messages[locale] = message;
  3001. }
  3002. }
  3003. }, {
  3004. key: "f",
  3005. value: function f(message, values, delimiters) {
  3006. return this.formater.interpolate(message, values, delimiters).join('');
  3007. }
  3008. }, {
  3009. key: "t",
  3010. value: function t(key, locale, values) {
  3011. var message = this.message;
  3012. if (typeof locale === 'string') {
  3013. locale = normalizeLocale(locale, this.messages);
  3014. locale && (message = this.messages[locale]);
  3015. } else {
  3016. values = locale;
  3017. }
  3018. if (!hasOwn(message, key)) {
  3019. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  3020. return key;
  3021. }
  3022. return this.formater.interpolate(message[key], values).join('');
  3023. }
  3024. }]);
  3025. return I18n;
  3026. }();
  3027. exports.I18n = I18n;
  3028. function watchAppLocale(appVm, i18n) {
  3029. // 需要保证 watch 的触发在组件渲染之前
  3030. if (appVm.$watchLocale) {
  3031. // vue2
  3032. appVm.$watchLocale(function (newLocale) {
  3033. i18n.setLocale(newLocale);
  3034. });
  3035. } else {
  3036. appVm.$watch(function () {
  3037. return appVm.$locale;
  3038. }, function (newLocale) {
  3039. i18n.setLocale(newLocale);
  3040. });
  3041. }
  3042. }
  3043. function getDefaultLocale() {
  3044. if (typeof uni !== 'undefined' && uni.getLocale) {
  3045. return uni.getLocale();
  3046. }
  3047. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  3048. if (typeof global !== 'undefined' && global.getLocale) {
  3049. return global.getLocale();
  3050. }
  3051. return LOCALE_EN;
  3052. }
  3053. function initVueI18n(locale) {
  3054. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3055. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  3056. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  3057. // 兼容旧版本入参
  3058. if (typeof locale !== 'string') {
  3059. var _ref4 = [messages, locale];
  3060. locale = _ref4[0];
  3061. messages = _ref4[1];
  3062. }
  3063. if (typeof locale !== 'string') {
  3064. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  3065. locale = getDefaultLocale();
  3066. }
  3067. if (typeof fallbackLocale !== 'string') {
  3068. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  3069. }
  3070. var i18n = new I18n({
  3071. locale: locale,
  3072. fallbackLocale: fallbackLocale,
  3073. messages: messages,
  3074. watcher: watcher
  3075. });
  3076. var _t = function t(key, values) {
  3077. if (typeof getApp !== 'function') {
  3078. // app view
  3079. /* eslint-disable no-func-assign */
  3080. _t = function t(key, values) {
  3081. return i18n.t(key, values);
  3082. };
  3083. } else {
  3084. var isWatchedAppLocale = false;
  3085. _t = function t(key, values) {
  3086. var appVm = getApp().$vm;
  3087. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  3088. // options: {
  3089. // type: Array,
  3090. // default () {
  3091. // return [{
  3092. // icon: 'shop',
  3093. // text: t("uni-goods-nav.options.shop"),
  3094. // }, {
  3095. // icon: 'cart',
  3096. // text: t("uni-goods-nav.options.cart")
  3097. // }]
  3098. // }
  3099. // },
  3100. if (appVm) {
  3101. // 触发响应式
  3102. appVm.$locale;
  3103. if (!isWatchedAppLocale) {
  3104. isWatchedAppLocale = true;
  3105. watchAppLocale(appVm, i18n);
  3106. }
  3107. }
  3108. return i18n.t(key, values);
  3109. };
  3110. }
  3111. return _t(key, values);
  3112. };
  3113. return {
  3114. i18n: i18n,
  3115. f: function f(message, values, delimiters) {
  3116. return i18n.f(message, values, delimiters);
  3117. },
  3118. t: function t(key, values) {
  3119. return _t(key, values);
  3120. },
  3121. add: function add(locale, message) {
  3122. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3123. return i18n.add(locale, message, override);
  3124. },
  3125. watch: function watch(fn) {
  3126. return i18n.watchLocale(fn);
  3127. },
  3128. getLocale: function getLocale() {
  3129. return i18n.getLocale();
  3130. },
  3131. setLocale: function setLocale(newLocale) {
  3132. return i18n.setLocale(newLocale);
  3133. }
  3134. };
  3135. }
  3136. var isString = function isString(val) {
  3137. return typeof val === 'string';
  3138. };
  3139. exports.isString = isString;
  3140. var formater;
  3141. function hasI18nJson(jsonObj, delimiters) {
  3142. if (!formater) {
  3143. formater = new BaseFormatter();
  3144. }
  3145. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3146. var value = jsonObj[key];
  3147. if (isString(value)) {
  3148. if (isI18nStr(value, delimiters)) {
  3149. return true;
  3150. }
  3151. } else {
  3152. return hasI18nJson(value, delimiters);
  3153. }
  3154. });
  3155. }
  3156. function parseI18nJson(jsonObj, values, delimiters) {
  3157. if (!formater) {
  3158. formater = new BaseFormatter();
  3159. }
  3160. walkJsonObj(jsonObj, function (jsonObj, key) {
  3161. var value = jsonObj[key];
  3162. if (isString(value)) {
  3163. if (isI18nStr(value, delimiters)) {
  3164. jsonObj[key] = compileStr(value, values, delimiters);
  3165. }
  3166. } else {
  3167. parseI18nJson(value, values, delimiters);
  3168. }
  3169. });
  3170. return jsonObj;
  3171. }
  3172. function compileI18nJsonStr(jsonStr, _ref5) {
  3173. var locale = _ref5.locale,
  3174. locales = _ref5.locales,
  3175. delimiters = _ref5.delimiters;
  3176. if (!isI18nStr(jsonStr, delimiters)) {
  3177. return jsonStr;
  3178. }
  3179. if (!formater) {
  3180. formater = new BaseFormatter();
  3181. }
  3182. var localeValues = [];
  3183. Object.keys(locales).forEach(function (name) {
  3184. if (name !== locale) {
  3185. localeValues.push({
  3186. locale: name,
  3187. values: locales[name]
  3188. });
  3189. }
  3190. });
  3191. localeValues.unshift({
  3192. locale: locale,
  3193. values: locales[locale]
  3194. });
  3195. try {
  3196. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3197. } catch (e) {}
  3198. return jsonStr;
  3199. }
  3200. function isI18nStr(value, delimiters) {
  3201. return value.indexOf(delimiters[0]) > -1;
  3202. }
  3203. function compileStr(value, values, delimiters) {
  3204. return formater.interpolate(value, values, delimiters).join('');
  3205. }
  3206. function compileValue(jsonObj, key, localeValues, delimiters) {
  3207. var value = jsonObj[key];
  3208. if (isString(value)) {
  3209. // 存在国际化
  3210. if (isI18nStr(value, delimiters)) {
  3211. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3212. if (localeValues.length > 1) {
  3213. // 格式化国际化语言
  3214. var valueLocales = jsonObj[key + 'Locales'] = {};
  3215. localeValues.forEach(function (localValue) {
  3216. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3217. });
  3218. }
  3219. }
  3220. } else {
  3221. compileJsonObj(value, localeValues, delimiters);
  3222. }
  3223. }
  3224. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3225. walkJsonObj(jsonObj, function (jsonObj, key) {
  3226. compileValue(jsonObj, key, localeValues, delimiters);
  3227. });
  3228. return jsonObj;
  3229. }
  3230. function walkJsonObj(jsonObj, walk) {
  3231. if (Array.isArray(jsonObj)) {
  3232. for (var i = 0; i < jsonObj.length; i++) {
  3233. if (walk(jsonObj, i)) {
  3234. return true;
  3235. }
  3236. }
  3237. } else if (isObject(jsonObj)) {
  3238. for (var key in jsonObj) {
  3239. if (walk(jsonObj, key)) {
  3240. return true;
  3241. }
  3242. }
  3243. }
  3244. return false;
  3245. }
  3246. function resolveLocale(locales) {
  3247. return function (locale) {
  3248. if (!locale) {
  3249. return locale;
  3250. }
  3251. locale = normalizeLocale(locale) || locale;
  3252. return resolveLocaleChain(locale).find(function (locale) {
  3253. return locales.indexOf(locale) > -1;
  3254. });
  3255. };
  3256. }
  3257. function resolveLocaleChain(locale) {
  3258. var chain = [];
  3259. var tokens = locale.split('-');
  3260. while (tokens.length) {
  3261. chain.push(tokens.join('-'));
  3262. tokens.pop();
  3263. }
  3264. return chain;
  3265. }
  3266. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  3267. /***/ }),
  3268. /* 23 */
  3269. /*!***************************************************************!*\
  3270. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3271. \***************************************************************/
  3272. /*! no static exports found */
  3273. /***/ (function(module, exports) {
  3274. function _classCallCheck(instance, Constructor) {
  3275. if (!(instance instanceof Constructor)) {
  3276. throw new TypeError("Cannot call a class as a function");
  3277. }
  3278. }
  3279. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3280. /***/ }),
  3281. /* 24 */
  3282. /*!************************************************************!*\
  3283. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3284. \************************************************************/
  3285. /*! no static exports found */
  3286. /***/ (function(module, exports, __webpack_require__) {
  3287. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3288. function _defineProperties(target, props) {
  3289. for (var i = 0; i < props.length; i++) {
  3290. var descriptor = props[i];
  3291. descriptor.enumerable = descriptor.enumerable || false;
  3292. descriptor.configurable = true;
  3293. if ("value" in descriptor) descriptor.writable = true;
  3294. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3295. }
  3296. }
  3297. function _createClass(Constructor, protoProps, staticProps) {
  3298. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3299. if (staticProps) _defineProperties(Constructor, staticProps);
  3300. Object.defineProperty(Constructor, "prototype", {
  3301. writable: false
  3302. });
  3303. return Constructor;
  3304. }
  3305. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3306. /***/ }),
  3307. /* 25 */
  3308. /*!******************************************************************************************!*\
  3309. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3310. \******************************************************************************************/
  3311. /*! exports provided: default */
  3312. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3313. "use strict";
  3314. __webpack_require__.r(__webpack_exports__);
  3315. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3316. * Vue.js v2.6.11
  3317. * (c) 2014-2023 Evan You
  3318. * Released under the MIT License.
  3319. */
  3320. /* */
  3321. var emptyObject = Object.freeze({});
  3322. // These helpers produce better VM code in JS engines due to their
  3323. // explicitness and function inlining.
  3324. function isUndef (v) {
  3325. return v === undefined || v === null
  3326. }
  3327. function isDef (v) {
  3328. return v !== undefined && v !== null
  3329. }
  3330. function isTrue (v) {
  3331. return v === true
  3332. }
  3333. function isFalse (v) {
  3334. return v === false
  3335. }
  3336. /**
  3337. * Check if value is primitive.
  3338. */
  3339. function isPrimitive (value) {
  3340. return (
  3341. typeof value === 'string' ||
  3342. typeof value === 'number' ||
  3343. // $flow-disable-line
  3344. typeof value === 'symbol' ||
  3345. typeof value === 'boolean'
  3346. )
  3347. }
  3348. /**
  3349. * Quick object check - this is primarily used to tell
  3350. * Objects from primitive values when we know the value
  3351. * is a JSON-compliant type.
  3352. */
  3353. function isObject (obj) {
  3354. return obj !== null && typeof obj === 'object'
  3355. }
  3356. /**
  3357. * Get the raw type string of a value, e.g., [object Object].
  3358. */
  3359. var _toString = Object.prototype.toString;
  3360. function toRawType (value) {
  3361. return _toString.call(value).slice(8, -1)
  3362. }
  3363. /**
  3364. * Strict object type check. Only returns true
  3365. * for plain JavaScript objects.
  3366. */
  3367. function isPlainObject (obj) {
  3368. return _toString.call(obj) === '[object Object]'
  3369. }
  3370. function isRegExp (v) {
  3371. return _toString.call(v) === '[object RegExp]'
  3372. }
  3373. /**
  3374. * Check if val is a valid array index.
  3375. */
  3376. function isValidArrayIndex (val) {
  3377. var n = parseFloat(String(val));
  3378. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3379. }
  3380. function isPromise (val) {
  3381. return (
  3382. isDef(val) &&
  3383. typeof val.then === 'function' &&
  3384. typeof val.catch === 'function'
  3385. )
  3386. }
  3387. /**
  3388. * Convert a value to a string that is actually rendered.
  3389. */
  3390. function toString (val) {
  3391. return val == null
  3392. ? ''
  3393. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3394. ? JSON.stringify(val, null, 2)
  3395. : String(val)
  3396. }
  3397. /**
  3398. * Convert an input value to a number for persistence.
  3399. * If the conversion fails, return original string.
  3400. */
  3401. function toNumber (val) {
  3402. var n = parseFloat(val);
  3403. return isNaN(n) ? val : n
  3404. }
  3405. /**
  3406. * Make a map and return a function for checking if a key
  3407. * is in that map.
  3408. */
  3409. function makeMap (
  3410. str,
  3411. expectsLowerCase
  3412. ) {
  3413. var map = Object.create(null);
  3414. var list = str.split(',');
  3415. for (var i = 0; i < list.length; i++) {
  3416. map[list[i]] = true;
  3417. }
  3418. return expectsLowerCase
  3419. ? function (val) { return map[val.toLowerCase()]; }
  3420. : function (val) { return map[val]; }
  3421. }
  3422. /**
  3423. * Check if a tag is a built-in tag.
  3424. */
  3425. var isBuiltInTag = makeMap('slot,component', true);
  3426. /**
  3427. * Check if an attribute is a reserved attribute.
  3428. */
  3429. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3430. /**
  3431. * Remove an item from an array.
  3432. */
  3433. function remove (arr, item) {
  3434. if (arr.length) {
  3435. var index = arr.indexOf(item);
  3436. if (index > -1) {
  3437. return arr.splice(index, 1)
  3438. }
  3439. }
  3440. }
  3441. /**
  3442. * Check whether an object has the property.
  3443. */
  3444. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3445. function hasOwn (obj, key) {
  3446. return hasOwnProperty.call(obj, key)
  3447. }
  3448. /**
  3449. * Create a cached version of a pure function.
  3450. */
  3451. function cached (fn) {
  3452. var cache = Object.create(null);
  3453. return (function cachedFn (str) {
  3454. var hit = cache[str];
  3455. return hit || (cache[str] = fn(str))
  3456. })
  3457. }
  3458. /**
  3459. * Camelize a hyphen-delimited string.
  3460. */
  3461. var camelizeRE = /-(\w)/g;
  3462. var camelize = cached(function (str) {
  3463. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3464. });
  3465. /**
  3466. * Capitalize a string.
  3467. */
  3468. var capitalize = cached(function (str) {
  3469. return str.charAt(0).toUpperCase() + str.slice(1)
  3470. });
  3471. /**
  3472. * Hyphenate a camelCase string.
  3473. */
  3474. var hyphenateRE = /\B([A-Z])/g;
  3475. var hyphenate = cached(function (str) {
  3476. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3477. });
  3478. /**
  3479. * Simple bind polyfill for environments that do not support it,
  3480. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3481. * since native bind is now performant enough in most browsers.
  3482. * But removing it would mean breaking code that was able to run in
  3483. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3484. */
  3485. /* istanbul ignore next */
  3486. function polyfillBind (fn, ctx) {
  3487. function boundFn (a) {
  3488. var l = arguments.length;
  3489. return l
  3490. ? l > 1
  3491. ? fn.apply(ctx, arguments)
  3492. : fn.call(ctx, a)
  3493. : fn.call(ctx)
  3494. }
  3495. boundFn._length = fn.length;
  3496. return boundFn
  3497. }
  3498. function nativeBind (fn, ctx) {
  3499. return fn.bind(ctx)
  3500. }
  3501. var bind = Function.prototype.bind
  3502. ? nativeBind
  3503. : polyfillBind;
  3504. /**
  3505. * Convert an Array-like object to a real Array.
  3506. */
  3507. function toArray (list, start) {
  3508. start = start || 0;
  3509. var i = list.length - start;
  3510. var ret = new Array(i);
  3511. while (i--) {
  3512. ret[i] = list[i + start];
  3513. }
  3514. return ret
  3515. }
  3516. /**
  3517. * Mix properties into target object.
  3518. */
  3519. function extend (to, _from) {
  3520. for (var key in _from) {
  3521. to[key] = _from[key];
  3522. }
  3523. return to
  3524. }
  3525. /**
  3526. * Merge an Array of Objects into a single Object.
  3527. */
  3528. function toObject (arr) {
  3529. var res = {};
  3530. for (var i = 0; i < arr.length; i++) {
  3531. if (arr[i]) {
  3532. extend(res, arr[i]);
  3533. }
  3534. }
  3535. return res
  3536. }
  3537. /* eslint-disable no-unused-vars */
  3538. /**
  3539. * Perform no operation.
  3540. * Stubbing args to make Flow happy without leaving useless transpiled code
  3541. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3542. */
  3543. function noop (a, b, c) {}
  3544. /**
  3545. * Always return false.
  3546. */
  3547. var no = function (a, b, c) { return false; };
  3548. /* eslint-enable no-unused-vars */
  3549. /**
  3550. * Return the same value.
  3551. */
  3552. var identity = function (_) { return _; };
  3553. /**
  3554. * Check if two values are loosely equal - that is,
  3555. * if they are plain objects, do they have the same shape?
  3556. */
  3557. function looseEqual (a, b) {
  3558. if (a === b) { return true }
  3559. var isObjectA = isObject(a);
  3560. var isObjectB = isObject(b);
  3561. if (isObjectA && isObjectB) {
  3562. try {
  3563. var isArrayA = Array.isArray(a);
  3564. var isArrayB = Array.isArray(b);
  3565. if (isArrayA && isArrayB) {
  3566. return a.length === b.length && a.every(function (e, i) {
  3567. return looseEqual(e, b[i])
  3568. })
  3569. } else if (a instanceof Date && b instanceof Date) {
  3570. return a.getTime() === b.getTime()
  3571. } else if (!isArrayA && !isArrayB) {
  3572. var keysA = Object.keys(a);
  3573. var keysB = Object.keys(b);
  3574. return keysA.length === keysB.length && keysA.every(function (key) {
  3575. return looseEqual(a[key], b[key])
  3576. })
  3577. } else {
  3578. /* istanbul ignore next */
  3579. return false
  3580. }
  3581. } catch (e) {
  3582. /* istanbul ignore next */
  3583. return false
  3584. }
  3585. } else if (!isObjectA && !isObjectB) {
  3586. return String(a) === String(b)
  3587. } else {
  3588. return false
  3589. }
  3590. }
  3591. /**
  3592. * Return the first index at which a loosely equal value can be
  3593. * found in the array (if value is a plain object, the array must
  3594. * contain an object of the same shape), or -1 if it is not present.
  3595. */
  3596. function looseIndexOf (arr, val) {
  3597. for (var i = 0; i < arr.length; i++) {
  3598. if (looseEqual(arr[i], val)) { return i }
  3599. }
  3600. return -1
  3601. }
  3602. /**
  3603. * Ensure a function is called only once.
  3604. */
  3605. function once (fn) {
  3606. var called = false;
  3607. return function () {
  3608. if (!called) {
  3609. called = true;
  3610. fn.apply(this, arguments);
  3611. }
  3612. }
  3613. }
  3614. var ASSET_TYPES = [
  3615. 'component',
  3616. 'directive',
  3617. 'filter'
  3618. ];
  3619. var LIFECYCLE_HOOKS = [
  3620. 'beforeCreate',
  3621. 'created',
  3622. 'beforeMount',
  3623. 'mounted',
  3624. 'beforeUpdate',
  3625. 'updated',
  3626. 'beforeDestroy',
  3627. 'destroyed',
  3628. 'activated',
  3629. 'deactivated',
  3630. 'errorCaptured',
  3631. 'serverPrefetch'
  3632. ];
  3633. /* */
  3634. var config = ({
  3635. /**
  3636. * Option merge strategies (used in core/util/options)
  3637. */
  3638. // $flow-disable-line
  3639. optionMergeStrategies: Object.create(null),
  3640. /**
  3641. * Whether to suppress warnings.
  3642. */
  3643. silent: false,
  3644. /**
  3645. * Show production mode tip message on boot?
  3646. */
  3647. productionTip: "development" !== 'production',
  3648. /**
  3649. * Whether to enable devtools
  3650. */
  3651. devtools: "development" !== 'production',
  3652. /**
  3653. * Whether to record perf
  3654. */
  3655. performance: false,
  3656. /**
  3657. * Error handler for watcher errors
  3658. */
  3659. errorHandler: null,
  3660. /**
  3661. * Warn handler for watcher warns
  3662. */
  3663. warnHandler: null,
  3664. /**
  3665. * Ignore certain custom elements
  3666. */
  3667. ignoredElements: [],
  3668. /**
  3669. * Custom user key aliases for v-on
  3670. */
  3671. // $flow-disable-line
  3672. keyCodes: Object.create(null),
  3673. /**
  3674. * Check if a tag is reserved so that it cannot be registered as a
  3675. * component. This is platform-dependent and may be overwritten.
  3676. */
  3677. isReservedTag: no,
  3678. /**
  3679. * Check if an attribute is reserved so that it cannot be used as a component
  3680. * prop. This is platform-dependent and may be overwritten.
  3681. */
  3682. isReservedAttr: no,
  3683. /**
  3684. * Check if a tag is an unknown element.
  3685. * Platform-dependent.
  3686. */
  3687. isUnknownElement: no,
  3688. /**
  3689. * Get the namespace of an element
  3690. */
  3691. getTagNamespace: noop,
  3692. /**
  3693. * Parse the real tag name for the specific platform.
  3694. */
  3695. parsePlatformTagName: identity,
  3696. /**
  3697. * Check if an attribute must be bound using property, e.g. value
  3698. * Platform-dependent.
  3699. */
  3700. mustUseProp: no,
  3701. /**
  3702. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3703. * This will significantly reduce performance if set to false.
  3704. */
  3705. async: true,
  3706. /**
  3707. * Exposed for legacy reasons
  3708. */
  3709. _lifecycleHooks: LIFECYCLE_HOOKS
  3710. });
  3711. /* */
  3712. /**
  3713. * unicode letters used for parsing html tags, component names and property paths.
  3714. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3715. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3716. */
  3717. 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/;
  3718. /**
  3719. * Check if a string starts with $ or _
  3720. */
  3721. function isReserved (str) {
  3722. var c = (str + '').charCodeAt(0);
  3723. return c === 0x24 || c === 0x5F
  3724. }
  3725. /**
  3726. * Define a property.
  3727. */
  3728. function def (obj, key, val, enumerable) {
  3729. Object.defineProperty(obj, key, {
  3730. value: val,
  3731. enumerable: !!enumerable,
  3732. writable: true,
  3733. configurable: true
  3734. });
  3735. }
  3736. /**
  3737. * Parse simple path.
  3738. */
  3739. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3740. function parsePath (path) {
  3741. if (bailRE.test(path)) {
  3742. return
  3743. }
  3744. var segments = path.split('.');
  3745. return function (obj) {
  3746. for (var i = 0; i < segments.length; i++) {
  3747. if (!obj) { return }
  3748. obj = obj[segments[i]];
  3749. }
  3750. return obj
  3751. }
  3752. }
  3753. /* */
  3754. // can we use __proto__?
  3755. var hasProto = '__proto__' in {};
  3756. // Browser environment sniffing
  3757. var inBrowser = typeof window !== 'undefined';
  3758. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3759. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3760. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3761. var isIE = UA && /msie|trident/.test(UA);
  3762. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3763. var isEdge = UA && UA.indexOf('edge/') > 0;
  3764. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3765. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3766. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3767. var isPhantomJS = UA && /phantomjs/.test(UA);
  3768. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3769. // Firefox has a "watch" function on Object.prototype...
  3770. var nativeWatch = ({}).watch;
  3771. if (inBrowser) {
  3772. try {
  3773. var opts = {};
  3774. Object.defineProperty(opts, 'passive', ({
  3775. get: function get () {
  3776. }
  3777. })); // https://github.com/facebook/flow/issues/285
  3778. window.addEventListener('test-passive', null, opts);
  3779. } catch (e) {}
  3780. }
  3781. // this needs to be lazy-evaled because vue may be required before
  3782. // vue-server-renderer can set VUE_ENV
  3783. var _isServer;
  3784. var isServerRendering = function () {
  3785. if (_isServer === undefined) {
  3786. /* istanbul ignore if */
  3787. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3788. // detect presence of vue-server-renderer and avoid
  3789. // Webpack shimming the process
  3790. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3791. } else {
  3792. _isServer = false;
  3793. }
  3794. }
  3795. return _isServer
  3796. };
  3797. // detect devtools
  3798. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3799. /* istanbul ignore next */
  3800. function isNative (Ctor) {
  3801. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3802. }
  3803. var hasSymbol =
  3804. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3805. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3806. var _Set;
  3807. /* istanbul ignore if */ // $flow-disable-line
  3808. if (typeof Set !== 'undefined' && isNative(Set)) {
  3809. // use native Set when available.
  3810. _Set = Set;
  3811. } else {
  3812. // a non-standard Set polyfill that only works with primitive keys.
  3813. _Set = /*@__PURE__*/(function () {
  3814. function Set () {
  3815. this.set = Object.create(null);
  3816. }
  3817. Set.prototype.has = function has (key) {
  3818. return this.set[key] === true
  3819. };
  3820. Set.prototype.add = function add (key) {
  3821. this.set[key] = true;
  3822. };
  3823. Set.prototype.clear = function clear () {
  3824. this.set = Object.create(null);
  3825. };
  3826. return Set;
  3827. }());
  3828. }
  3829. /* */
  3830. var warn = noop;
  3831. var tip = noop;
  3832. var generateComponentTrace = (noop); // work around flow check
  3833. var formatComponentName = (noop);
  3834. if (true) {
  3835. var hasConsole = typeof console !== 'undefined';
  3836. var classifyRE = /(?:^|[-_])(\w)/g;
  3837. var classify = function (str) { return str
  3838. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3839. .replace(/[-_]/g, ''); };
  3840. warn = function (msg, vm) {
  3841. var trace = vm ? generateComponentTrace(vm) : '';
  3842. if (config.warnHandler) {
  3843. config.warnHandler.call(null, msg, vm, trace);
  3844. } else if (hasConsole && (!config.silent)) {
  3845. console.error(("[Vue warn]: " + msg + trace));
  3846. }
  3847. };
  3848. tip = function (msg, vm) {
  3849. if (hasConsole && (!config.silent)) {
  3850. console.warn("[Vue tip]: " + msg + (
  3851. vm ? generateComponentTrace(vm) : ''
  3852. ));
  3853. }
  3854. };
  3855. formatComponentName = function (vm, includeFile) {
  3856. if (vm.$root === vm) {
  3857. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3858. return ('') + vm.$options.__file
  3859. }
  3860. return '<Root>'
  3861. }
  3862. var options = typeof vm === 'function' && vm.cid != null
  3863. ? vm.options
  3864. : vm._isVue
  3865. ? vm.$options || vm.constructor.options
  3866. : vm;
  3867. var name = options.name || options._componentTag;
  3868. var file = options.__file;
  3869. if (!name && file) {
  3870. var match = file.match(/([^/\\]+)\.vue$/);
  3871. name = match && match[1];
  3872. }
  3873. return (
  3874. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3875. (file && includeFile !== false ? (" at " + file) : '')
  3876. )
  3877. };
  3878. var repeat = function (str, n) {
  3879. var res = '';
  3880. while (n) {
  3881. if (n % 2 === 1) { res += str; }
  3882. if (n > 1) { str += str; }
  3883. n >>= 1;
  3884. }
  3885. return res
  3886. };
  3887. generateComponentTrace = function (vm) {
  3888. if (vm._isVue && vm.$parent) {
  3889. var tree = [];
  3890. var currentRecursiveSequence = 0;
  3891. while (vm && vm.$options.name !== 'PageBody') {
  3892. if (tree.length > 0) {
  3893. var last = tree[tree.length - 1];
  3894. if (last.constructor === vm.constructor) {
  3895. currentRecursiveSequence++;
  3896. vm = vm.$parent;
  3897. continue
  3898. } else if (currentRecursiveSequence > 0) {
  3899. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3900. currentRecursiveSequence = 0;
  3901. }
  3902. }
  3903. !vm.$options.isReserved && tree.push(vm);
  3904. vm = vm.$parent;
  3905. }
  3906. return '\n\nfound in\n\n' + tree
  3907. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3908. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3909. : formatComponentName(vm))); })
  3910. .join('\n')
  3911. } else {
  3912. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3913. }
  3914. };
  3915. }
  3916. /* */
  3917. var uid = 0;
  3918. /**
  3919. * A dep is an observable that can have multiple
  3920. * directives subscribing to it.
  3921. */
  3922. var Dep = function Dep () {
  3923. this.id = uid++;
  3924. this.subs = [];
  3925. };
  3926. Dep.prototype.addSub = function addSub (sub) {
  3927. this.subs.push(sub);
  3928. };
  3929. Dep.prototype.removeSub = function removeSub (sub) {
  3930. remove(this.subs, sub);
  3931. };
  3932. Dep.prototype.depend = function depend () {
  3933. if (Dep.SharedObject.target) {
  3934. Dep.SharedObject.target.addDep(this);
  3935. }
  3936. };
  3937. Dep.prototype.notify = function notify () {
  3938. // stabilize the subscriber list first
  3939. var subs = this.subs.slice();
  3940. if ( true && !config.async) {
  3941. // subs aren't sorted in scheduler if not running async
  3942. // we need to sort them now to make sure they fire in correct
  3943. // order
  3944. subs.sort(function (a, b) { return a.id - b.id; });
  3945. }
  3946. for (var i = 0, l = subs.length; i < l; i++) {
  3947. subs[i].update();
  3948. }
  3949. };
  3950. // The current target watcher being evaluated.
  3951. // This is globally unique because only one watcher
  3952. // can be evaluated at a time.
  3953. // fixed by xxxxxx (nvue shared vuex)
  3954. /* eslint-disable no-undef */
  3955. Dep.SharedObject = {};
  3956. Dep.SharedObject.target = null;
  3957. Dep.SharedObject.targetStack = [];
  3958. function pushTarget (target) {
  3959. Dep.SharedObject.targetStack.push(target);
  3960. Dep.SharedObject.target = target;
  3961. Dep.target = target;
  3962. }
  3963. function popTarget () {
  3964. Dep.SharedObject.targetStack.pop();
  3965. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3966. Dep.target = Dep.SharedObject.target;
  3967. }
  3968. /* */
  3969. var VNode = function VNode (
  3970. tag,
  3971. data,
  3972. children,
  3973. text,
  3974. elm,
  3975. context,
  3976. componentOptions,
  3977. asyncFactory
  3978. ) {
  3979. this.tag = tag;
  3980. this.data = data;
  3981. this.children = children;
  3982. this.text = text;
  3983. this.elm = elm;
  3984. this.ns = undefined;
  3985. this.context = context;
  3986. this.fnContext = undefined;
  3987. this.fnOptions = undefined;
  3988. this.fnScopeId = undefined;
  3989. this.key = data && data.key;
  3990. this.componentOptions = componentOptions;
  3991. this.componentInstance = undefined;
  3992. this.parent = undefined;
  3993. this.raw = false;
  3994. this.isStatic = false;
  3995. this.isRootInsert = true;
  3996. this.isComment = false;
  3997. this.isCloned = false;
  3998. this.isOnce = false;
  3999. this.asyncFactory = asyncFactory;
  4000. this.asyncMeta = undefined;
  4001. this.isAsyncPlaceholder = false;
  4002. };
  4003. var prototypeAccessors = { child: { configurable: true } };
  4004. // DEPRECATED: alias for componentInstance for backwards compat.
  4005. /* istanbul ignore next */
  4006. prototypeAccessors.child.get = function () {
  4007. return this.componentInstance
  4008. };
  4009. Object.defineProperties( VNode.prototype, prototypeAccessors );
  4010. var createEmptyVNode = function (text) {
  4011. if ( text === void 0 ) text = '';
  4012. var node = new VNode();
  4013. node.text = text;
  4014. node.isComment = true;
  4015. return node
  4016. };
  4017. function createTextVNode (val) {
  4018. return new VNode(undefined, undefined, undefined, String(val))
  4019. }
  4020. // optimized shallow clone
  4021. // used for static nodes and slot nodes because they may be reused across
  4022. // multiple renders, cloning them avoids errors when DOM manipulations rely
  4023. // on their elm reference.
  4024. function cloneVNode (vnode) {
  4025. var cloned = new VNode(
  4026. vnode.tag,
  4027. vnode.data,
  4028. // #7975
  4029. // clone children array to avoid mutating original in case of cloning
  4030. // a child.
  4031. vnode.children && vnode.children.slice(),
  4032. vnode.text,
  4033. vnode.elm,
  4034. vnode.context,
  4035. vnode.componentOptions,
  4036. vnode.asyncFactory
  4037. );
  4038. cloned.ns = vnode.ns;
  4039. cloned.isStatic = vnode.isStatic;
  4040. cloned.key = vnode.key;
  4041. cloned.isComment = vnode.isComment;
  4042. cloned.fnContext = vnode.fnContext;
  4043. cloned.fnOptions = vnode.fnOptions;
  4044. cloned.fnScopeId = vnode.fnScopeId;
  4045. cloned.asyncMeta = vnode.asyncMeta;
  4046. cloned.isCloned = true;
  4047. return cloned
  4048. }
  4049. /*
  4050. * not type checking this file because flow doesn't play well with
  4051. * dynamically accessing methods on Array prototype
  4052. */
  4053. var arrayProto = Array.prototype;
  4054. var arrayMethods = Object.create(arrayProto);
  4055. var methodsToPatch = [
  4056. 'push',
  4057. 'pop',
  4058. 'shift',
  4059. 'unshift',
  4060. 'splice',
  4061. 'sort',
  4062. 'reverse'
  4063. ];
  4064. /**
  4065. * Intercept mutating methods and emit events
  4066. */
  4067. methodsToPatch.forEach(function (method) {
  4068. // cache original method
  4069. var original = arrayProto[method];
  4070. def(arrayMethods, method, function mutator () {
  4071. var args = [], len = arguments.length;
  4072. while ( len-- ) args[ len ] = arguments[ len ];
  4073. var result = original.apply(this, args);
  4074. var ob = this.__ob__;
  4075. var inserted;
  4076. switch (method) {
  4077. case 'push':
  4078. case 'unshift':
  4079. inserted = args;
  4080. break
  4081. case 'splice':
  4082. inserted = args.slice(2);
  4083. break
  4084. }
  4085. if (inserted) { ob.observeArray(inserted); }
  4086. // notify change
  4087. ob.dep.notify();
  4088. return result
  4089. });
  4090. });
  4091. /* */
  4092. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  4093. /**
  4094. * In some cases we may want to disable observation inside a component's
  4095. * update computation.
  4096. */
  4097. var shouldObserve = true;
  4098. function toggleObserving (value) {
  4099. shouldObserve = value;
  4100. }
  4101. /**
  4102. * Observer class that is attached to each observed
  4103. * object. Once attached, the observer converts the target
  4104. * object's property keys into getter/setters that
  4105. * collect dependencies and dispatch updates.
  4106. */
  4107. var Observer = function Observer (value) {
  4108. this.value = value;
  4109. this.dep = new Dep();
  4110. this.vmCount = 0;
  4111. def(value, '__ob__', this);
  4112. if (Array.isArray(value)) {
  4113. if (hasProto) {
  4114. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  4115. if(value.push !== value.__proto__.push){
  4116. copyAugment(value, arrayMethods, arrayKeys);
  4117. } else {
  4118. protoAugment(value, arrayMethods);
  4119. }
  4120. }
  4121. } else {
  4122. copyAugment(value, arrayMethods, arrayKeys);
  4123. }
  4124. this.observeArray(value);
  4125. } else {
  4126. this.walk(value);
  4127. }
  4128. };
  4129. /**
  4130. * Walk through all properties and convert them into
  4131. * getter/setters. This method should only be called when
  4132. * value type is Object.
  4133. */
  4134. Observer.prototype.walk = function walk (obj) {
  4135. var keys = Object.keys(obj);
  4136. for (var i = 0; i < keys.length; i++) {
  4137. defineReactive$$1(obj, keys[i]);
  4138. }
  4139. };
  4140. /**
  4141. * Observe a list of Array items.
  4142. */
  4143. Observer.prototype.observeArray = function observeArray (items) {
  4144. for (var i = 0, l = items.length; i < l; i++) {
  4145. observe(items[i]);
  4146. }
  4147. };
  4148. // helpers
  4149. /**
  4150. * Augment a target Object or Array by intercepting
  4151. * the prototype chain using __proto__
  4152. */
  4153. function protoAugment (target, src) {
  4154. /* eslint-disable no-proto */
  4155. target.__proto__ = src;
  4156. /* eslint-enable no-proto */
  4157. }
  4158. /**
  4159. * Augment a target Object or Array by defining
  4160. * hidden properties.
  4161. */
  4162. /* istanbul ignore next */
  4163. function copyAugment (target, src, keys) {
  4164. for (var i = 0, l = keys.length; i < l; i++) {
  4165. var key = keys[i];
  4166. def(target, key, src[key]);
  4167. }
  4168. }
  4169. /**
  4170. * Attempt to create an observer instance for a value,
  4171. * returns the new observer if successfully observed,
  4172. * or the existing observer if the value already has one.
  4173. */
  4174. function observe (value, asRootData) {
  4175. if (!isObject(value) || value instanceof VNode) {
  4176. return
  4177. }
  4178. var ob;
  4179. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4180. ob = value.__ob__;
  4181. } else if (
  4182. shouldObserve &&
  4183. !isServerRendering() &&
  4184. (Array.isArray(value) || isPlainObject(value)) &&
  4185. Object.isExtensible(value) &&
  4186. !value._isVue &&
  4187. !value.__v_isMPComponent
  4188. ) {
  4189. ob = new Observer(value);
  4190. }
  4191. if (asRootData && ob) {
  4192. ob.vmCount++;
  4193. }
  4194. return ob
  4195. }
  4196. /**
  4197. * Define a reactive property on an Object.
  4198. */
  4199. function defineReactive$$1 (
  4200. obj,
  4201. key,
  4202. val,
  4203. customSetter,
  4204. shallow
  4205. ) {
  4206. var dep = new Dep();
  4207. var property = Object.getOwnPropertyDescriptor(obj, key);
  4208. if (property && property.configurable === false) {
  4209. return
  4210. }
  4211. // cater for pre-defined getter/setters
  4212. var getter = property && property.get;
  4213. var setter = property && property.set;
  4214. if ((!getter || setter) && arguments.length === 2) {
  4215. val = obj[key];
  4216. }
  4217. var childOb = !shallow && observe(val);
  4218. Object.defineProperty(obj, key, {
  4219. enumerable: true,
  4220. configurable: true,
  4221. get: function reactiveGetter () {
  4222. var value = getter ? getter.call(obj) : val;
  4223. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4224. dep.depend();
  4225. if (childOb) {
  4226. childOb.dep.depend();
  4227. if (Array.isArray(value)) {
  4228. dependArray(value);
  4229. }
  4230. }
  4231. }
  4232. return value
  4233. },
  4234. set: function reactiveSetter (newVal) {
  4235. var value = getter ? getter.call(obj) : val;
  4236. /* eslint-disable no-self-compare */
  4237. if (newVal === value || (newVal !== newVal && value !== value)) {
  4238. return
  4239. }
  4240. /* eslint-enable no-self-compare */
  4241. if ( true && customSetter) {
  4242. customSetter();
  4243. }
  4244. // #7981: for accessor properties without setter
  4245. if (getter && !setter) { return }
  4246. if (setter) {
  4247. setter.call(obj, newVal);
  4248. } else {
  4249. val = newVal;
  4250. }
  4251. childOb = !shallow && observe(newVal);
  4252. dep.notify();
  4253. }
  4254. });
  4255. }
  4256. /**
  4257. * Set a property on an object. Adds the new property and
  4258. * triggers change notification if the property doesn't
  4259. * already exist.
  4260. */
  4261. function set (target, key, val) {
  4262. if ( true &&
  4263. (isUndef(target) || isPrimitive(target))
  4264. ) {
  4265. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4266. }
  4267. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4268. target.length = Math.max(target.length, key);
  4269. target.splice(key, 1, val);
  4270. return val
  4271. }
  4272. if (key in target && !(key in Object.prototype)) {
  4273. target[key] = val;
  4274. return val
  4275. }
  4276. var ob = (target).__ob__;
  4277. if (target._isVue || (ob && ob.vmCount)) {
  4278. true && warn(
  4279. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4280. 'at runtime - declare it upfront in the data option.'
  4281. );
  4282. return val
  4283. }
  4284. if (!ob) {
  4285. target[key] = val;
  4286. return val
  4287. }
  4288. defineReactive$$1(ob.value, key, val);
  4289. ob.dep.notify();
  4290. return val
  4291. }
  4292. /**
  4293. * Delete a property and trigger change if necessary.
  4294. */
  4295. function del (target, key) {
  4296. if ( true &&
  4297. (isUndef(target) || isPrimitive(target))
  4298. ) {
  4299. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4300. }
  4301. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4302. target.splice(key, 1);
  4303. return
  4304. }
  4305. var ob = (target).__ob__;
  4306. if (target._isVue || (ob && ob.vmCount)) {
  4307. true && warn(
  4308. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4309. '- just set it to null.'
  4310. );
  4311. return
  4312. }
  4313. if (!hasOwn(target, key)) {
  4314. return
  4315. }
  4316. delete target[key];
  4317. if (!ob) {
  4318. return
  4319. }
  4320. ob.dep.notify();
  4321. }
  4322. /**
  4323. * Collect dependencies on array elements when the array is touched, since
  4324. * we cannot intercept array element access like property getters.
  4325. */
  4326. function dependArray (value) {
  4327. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4328. e = value[i];
  4329. e && e.__ob__ && e.__ob__.dep.depend();
  4330. if (Array.isArray(e)) {
  4331. dependArray(e);
  4332. }
  4333. }
  4334. }
  4335. /* */
  4336. /**
  4337. * Option overwriting strategies are functions that handle
  4338. * how to merge a parent option value and a child option
  4339. * value into the final value.
  4340. */
  4341. var strats = config.optionMergeStrategies;
  4342. /**
  4343. * Options with restrictions
  4344. */
  4345. if (true) {
  4346. strats.el = strats.propsData = function (parent, child, vm, key) {
  4347. if (!vm) {
  4348. warn(
  4349. "option \"" + key + "\" can only be used during instance " +
  4350. 'creation with the `new` keyword.'
  4351. );
  4352. }
  4353. return defaultStrat(parent, child)
  4354. };
  4355. }
  4356. /**
  4357. * Helper that recursively merges two data objects together.
  4358. */
  4359. function mergeData (to, from) {
  4360. if (!from) { return to }
  4361. var key, toVal, fromVal;
  4362. var keys = hasSymbol
  4363. ? Reflect.ownKeys(from)
  4364. : Object.keys(from);
  4365. for (var i = 0; i < keys.length; i++) {
  4366. key = keys[i];
  4367. // in case the object is already observed...
  4368. if (key === '__ob__') { continue }
  4369. toVal = to[key];
  4370. fromVal = from[key];
  4371. if (!hasOwn(to, key)) {
  4372. set(to, key, fromVal);
  4373. } else if (
  4374. toVal !== fromVal &&
  4375. isPlainObject(toVal) &&
  4376. isPlainObject(fromVal)
  4377. ) {
  4378. mergeData(toVal, fromVal);
  4379. }
  4380. }
  4381. return to
  4382. }
  4383. /**
  4384. * Data
  4385. */
  4386. function mergeDataOrFn (
  4387. parentVal,
  4388. childVal,
  4389. vm
  4390. ) {
  4391. if (!vm) {
  4392. // in a Vue.extend merge, both should be functions
  4393. if (!childVal) {
  4394. return parentVal
  4395. }
  4396. if (!parentVal) {
  4397. return childVal
  4398. }
  4399. // when parentVal & childVal are both present,
  4400. // we need to return a function that returns the
  4401. // merged result of both functions... no need to
  4402. // check if parentVal is a function here because
  4403. // it has to be a function to pass previous merges.
  4404. return function mergedDataFn () {
  4405. return mergeData(
  4406. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4407. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4408. )
  4409. }
  4410. } else {
  4411. return function mergedInstanceDataFn () {
  4412. // instance merge
  4413. var instanceData = typeof childVal === 'function'
  4414. ? childVal.call(vm, vm)
  4415. : childVal;
  4416. var defaultData = typeof parentVal === 'function'
  4417. ? parentVal.call(vm, vm)
  4418. : parentVal;
  4419. if (instanceData) {
  4420. return mergeData(instanceData, defaultData)
  4421. } else {
  4422. return defaultData
  4423. }
  4424. }
  4425. }
  4426. }
  4427. strats.data = function (
  4428. parentVal,
  4429. childVal,
  4430. vm
  4431. ) {
  4432. if (!vm) {
  4433. if (childVal && typeof childVal !== 'function') {
  4434. true && warn(
  4435. 'The "data" option should be a function ' +
  4436. 'that returns a per-instance value in component ' +
  4437. 'definitions.',
  4438. vm
  4439. );
  4440. return parentVal
  4441. }
  4442. return mergeDataOrFn(parentVal, childVal)
  4443. }
  4444. return mergeDataOrFn(parentVal, childVal, vm)
  4445. };
  4446. /**
  4447. * Hooks and props are merged as arrays.
  4448. */
  4449. function mergeHook (
  4450. parentVal,
  4451. childVal
  4452. ) {
  4453. var res = childVal
  4454. ? parentVal
  4455. ? parentVal.concat(childVal)
  4456. : Array.isArray(childVal)
  4457. ? childVal
  4458. : [childVal]
  4459. : parentVal;
  4460. return res
  4461. ? dedupeHooks(res)
  4462. : res
  4463. }
  4464. function dedupeHooks (hooks) {
  4465. var res = [];
  4466. for (var i = 0; i < hooks.length; i++) {
  4467. if (res.indexOf(hooks[i]) === -1) {
  4468. res.push(hooks[i]);
  4469. }
  4470. }
  4471. return res
  4472. }
  4473. LIFECYCLE_HOOKS.forEach(function (hook) {
  4474. strats[hook] = mergeHook;
  4475. });
  4476. /**
  4477. * Assets
  4478. *
  4479. * When a vm is present (instance creation), we need to do
  4480. * a three-way merge between constructor options, instance
  4481. * options and parent options.
  4482. */
  4483. function mergeAssets (
  4484. parentVal,
  4485. childVal,
  4486. vm,
  4487. key
  4488. ) {
  4489. var res = Object.create(parentVal || null);
  4490. if (childVal) {
  4491. true && assertObjectType(key, childVal, vm);
  4492. return extend(res, childVal)
  4493. } else {
  4494. return res
  4495. }
  4496. }
  4497. ASSET_TYPES.forEach(function (type) {
  4498. strats[type + 's'] = mergeAssets;
  4499. });
  4500. /**
  4501. * Watchers.
  4502. *
  4503. * Watchers hashes should not overwrite one
  4504. * another, so we merge them as arrays.
  4505. */
  4506. strats.watch = function (
  4507. parentVal,
  4508. childVal,
  4509. vm,
  4510. key
  4511. ) {
  4512. // work around Firefox's Object.prototype.watch...
  4513. if (parentVal === nativeWatch) { parentVal = undefined; }
  4514. if (childVal === nativeWatch) { childVal = undefined; }
  4515. /* istanbul ignore if */
  4516. if (!childVal) { return Object.create(parentVal || null) }
  4517. if (true) {
  4518. assertObjectType(key, childVal, vm);
  4519. }
  4520. if (!parentVal) { return childVal }
  4521. var ret = {};
  4522. extend(ret, parentVal);
  4523. for (var key$1 in childVal) {
  4524. var parent = ret[key$1];
  4525. var child = childVal[key$1];
  4526. if (parent && !Array.isArray(parent)) {
  4527. parent = [parent];
  4528. }
  4529. ret[key$1] = parent
  4530. ? parent.concat(child)
  4531. : Array.isArray(child) ? child : [child];
  4532. }
  4533. return ret
  4534. };
  4535. /**
  4536. * Other object hashes.
  4537. */
  4538. strats.props =
  4539. strats.methods =
  4540. strats.inject =
  4541. strats.computed = function (
  4542. parentVal,
  4543. childVal,
  4544. vm,
  4545. key
  4546. ) {
  4547. if (childVal && "development" !== 'production') {
  4548. assertObjectType(key, childVal, vm);
  4549. }
  4550. if (!parentVal) { return childVal }
  4551. var ret = Object.create(null);
  4552. extend(ret, parentVal);
  4553. if (childVal) { extend(ret, childVal); }
  4554. return ret
  4555. };
  4556. strats.provide = mergeDataOrFn;
  4557. /**
  4558. * Default strategy.
  4559. */
  4560. var defaultStrat = function (parentVal, childVal) {
  4561. return childVal === undefined
  4562. ? parentVal
  4563. : childVal
  4564. };
  4565. /**
  4566. * Validate component names
  4567. */
  4568. function checkComponents (options) {
  4569. for (var key in options.components) {
  4570. validateComponentName(key);
  4571. }
  4572. }
  4573. function validateComponentName (name) {
  4574. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4575. warn(
  4576. 'Invalid component name: "' + name + '". Component names ' +
  4577. 'should conform to valid custom element name in html5 specification.'
  4578. );
  4579. }
  4580. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4581. warn(
  4582. 'Do not use built-in or reserved HTML elements as component ' +
  4583. 'id: ' + name
  4584. );
  4585. }
  4586. }
  4587. /**
  4588. * Ensure all props option syntax are normalized into the
  4589. * Object-based format.
  4590. */
  4591. function normalizeProps (options, vm) {
  4592. var props = options.props;
  4593. if (!props) { return }
  4594. var res = {};
  4595. var i, val, name;
  4596. if (Array.isArray(props)) {
  4597. i = props.length;
  4598. while (i--) {
  4599. val = props[i];
  4600. if (typeof val === 'string') {
  4601. name = camelize(val);
  4602. res[name] = { type: null };
  4603. } else if (true) {
  4604. warn('props must be strings when using array syntax.');
  4605. }
  4606. }
  4607. } else if (isPlainObject(props)) {
  4608. for (var key in props) {
  4609. val = props[key];
  4610. name = camelize(key);
  4611. res[name] = isPlainObject(val)
  4612. ? val
  4613. : { type: val };
  4614. }
  4615. } else if (true) {
  4616. warn(
  4617. "Invalid value for option \"props\": expected an Array or an Object, " +
  4618. "but got " + (toRawType(props)) + ".",
  4619. vm
  4620. );
  4621. }
  4622. options.props = res;
  4623. }
  4624. /**
  4625. * Normalize all injections into Object-based format
  4626. */
  4627. function normalizeInject (options, vm) {
  4628. var inject = options.inject;
  4629. if (!inject) { return }
  4630. var normalized = options.inject = {};
  4631. if (Array.isArray(inject)) {
  4632. for (var i = 0; i < inject.length; i++) {
  4633. normalized[inject[i]] = { from: inject[i] };
  4634. }
  4635. } else if (isPlainObject(inject)) {
  4636. for (var key in inject) {
  4637. var val = inject[key];
  4638. normalized[key] = isPlainObject(val)
  4639. ? extend({ from: key }, val)
  4640. : { from: val };
  4641. }
  4642. } else if (true) {
  4643. warn(
  4644. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4645. "but got " + (toRawType(inject)) + ".",
  4646. vm
  4647. );
  4648. }
  4649. }
  4650. /**
  4651. * Normalize raw function directives into object format.
  4652. */
  4653. function normalizeDirectives (options) {
  4654. var dirs = options.directives;
  4655. if (dirs) {
  4656. for (var key in dirs) {
  4657. var def$$1 = dirs[key];
  4658. if (typeof def$$1 === 'function') {
  4659. dirs[key] = { bind: def$$1, update: def$$1 };
  4660. }
  4661. }
  4662. }
  4663. }
  4664. function assertObjectType (name, value, vm) {
  4665. if (!isPlainObject(value)) {
  4666. warn(
  4667. "Invalid value for option \"" + name + "\": expected an Object, " +
  4668. "but got " + (toRawType(value)) + ".",
  4669. vm
  4670. );
  4671. }
  4672. }
  4673. /**
  4674. * Merge two option objects into a new one.
  4675. * Core utility used in both instantiation and inheritance.
  4676. */
  4677. function mergeOptions (
  4678. parent,
  4679. child,
  4680. vm
  4681. ) {
  4682. if (true) {
  4683. checkComponents(child);
  4684. }
  4685. if (typeof child === 'function') {
  4686. child = child.options;
  4687. }
  4688. normalizeProps(child, vm);
  4689. normalizeInject(child, vm);
  4690. normalizeDirectives(child);
  4691. // Apply extends and mixins on the child options,
  4692. // but only if it is a raw options object that isn't
  4693. // the result of another mergeOptions call.
  4694. // Only merged options has the _base property.
  4695. if (!child._base) {
  4696. if (child.extends) {
  4697. parent = mergeOptions(parent, child.extends, vm);
  4698. }
  4699. if (child.mixins) {
  4700. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4701. parent = mergeOptions(parent, child.mixins[i], vm);
  4702. }
  4703. }
  4704. }
  4705. var options = {};
  4706. var key;
  4707. for (key in parent) {
  4708. mergeField(key);
  4709. }
  4710. for (key in child) {
  4711. if (!hasOwn(parent, key)) {
  4712. mergeField(key);
  4713. }
  4714. }
  4715. function mergeField (key) {
  4716. var strat = strats[key] || defaultStrat;
  4717. options[key] = strat(parent[key], child[key], vm, key);
  4718. }
  4719. return options
  4720. }
  4721. /**
  4722. * Resolve an asset.
  4723. * This function is used because child instances need access
  4724. * to assets defined in its ancestor chain.
  4725. */
  4726. function resolveAsset (
  4727. options,
  4728. type,
  4729. id,
  4730. warnMissing
  4731. ) {
  4732. /* istanbul ignore if */
  4733. if (typeof id !== 'string') {
  4734. return
  4735. }
  4736. var assets = options[type];
  4737. // check local registration variations first
  4738. if (hasOwn(assets, id)) { return assets[id] }
  4739. var camelizedId = camelize(id);
  4740. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4741. var PascalCaseId = capitalize(camelizedId);
  4742. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4743. // fallback to prototype chain
  4744. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4745. if ( true && warnMissing && !res) {
  4746. warn(
  4747. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4748. options
  4749. );
  4750. }
  4751. return res
  4752. }
  4753. /* */
  4754. function validateProp (
  4755. key,
  4756. propOptions,
  4757. propsData,
  4758. vm
  4759. ) {
  4760. var prop = propOptions[key];
  4761. var absent = !hasOwn(propsData, key);
  4762. var value = propsData[key];
  4763. // boolean casting
  4764. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4765. if (booleanIndex > -1) {
  4766. if (absent && !hasOwn(prop, 'default')) {
  4767. value = false;
  4768. } else if (value === '' || value === hyphenate(key)) {
  4769. // only cast empty string / same name to boolean if
  4770. // boolean has higher priority
  4771. var stringIndex = getTypeIndex(String, prop.type);
  4772. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4773. value = true;
  4774. }
  4775. }
  4776. }
  4777. // check default value
  4778. if (value === undefined) {
  4779. value = getPropDefaultValue(vm, prop, key);
  4780. // since the default value is a fresh copy,
  4781. // make sure to observe it.
  4782. var prevShouldObserve = shouldObserve;
  4783. toggleObserving(true);
  4784. observe(value);
  4785. toggleObserving(prevShouldObserve);
  4786. }
  4787. if (
  4788. true
  4789. ) {
  4790. assertProp(prop, key, value, vm, absent);
  4791. }
  4792. return value
  4793. }
  4794. /**
  4795. * Get the default value of a prop.
  4796. */
  4797. function getPropDefaultValue (vm, prop, key) {
  4798. // no default, return undefined
  4799. if (!hasOwn(prop, 'default')) {
  4800. return undefined
  4801. }
  4802. var def = prop.default;
  4803. // warn against non-factory defaults for Object & Array
  4804. if ( true && isObject(def)) {
  4805. warn(
  4806. 'Invalid default value for prop "' + key + '": ' +
  4807. 'Props with type Object/Array must use a factory function ' +
  4808. 'to return the default value.',
  4809. vm
  4810. );
  4811. }
  4812. // the raw prop value was also undefined from previous render,
  4813. // return previous default value to avoid unnecessary watcher trigger
  4814. if (vm && vm.$options.propsData &&
  4815. vm.$options.propsData[key] === undefined &&
  4816. vm._props[key] !== undefined
  4817. ) {
  4818. return vm._props[key]
  4819. }
  4820. // call factory function for non-Function types
  4821. // a value is Function if its prototype is function even across different execution context
  4822. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4823. ? def.call(vm)
  4824. : def
  4825. }
  4826. /**
  4827. * Assert whether a prop is valid.
  4828. */
  4829. function assertProp (
  4830. prop,
  4831. name,
  4832. value,
  4833. vm,
  4834. absent
  4835. ) {
  4836. if (prop.required && absent) {
  4837. warn(
  4838. 'Missing required prop: "' + name + '"',
  4839. vm
  4840. );
  4841. return
  4842. }
  4843. if (value == null && !prop.required) {
  4844. return
  4845. }
  4846. var type = prop.type;
  4847. var valid = !type || type === true;
  4848. var expectedTypes = [];
  4849. if (type) {
  4850. if (!Array.isArray(type)) {
  4851. type = [type];
  4852. }
  4853. for (var i = 0; i < type.length && !valid; i++) {
  4854. var assertedType = assertType(value, type[i]);
  4855. expectedTypes.push(assertedType.expectedType || '');
  4856. valid = assertedType.valid;
  4857. }
  4858. }
  4859. if (!valid) {
  4860. warn(
  4861. getInvalidTypeMessage(name, value, expectedTypes),
  4862. vm
  4863. );
  4864. return
  4865. }
  4866. var validator = prop.validator;
  4867. if (validator) {
  4868. if (!validator(value)) {
  4869. warn(
  4870. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4871. vm
  4872. );
  4873. }
  4874. }
  4875. }
  4876. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4877. function assertType (value, type) {
  4878. var valid;
  4879. var expectedType = getType(type);
  4880. if (simpleCheckRE.test(expectedType)) {
  4881. var t = typeof value;
  4882. valid = t === expectedType.toLowerCase();
  4883. // for primitive wrapper objects
  4884. if (!valid && t === 'object') {
  4885. valid = value instanceof type;
  4886. }
  4887. } else if (expectedType === 'Object') {
  4888. valid = isPlainObject(value);
  4889. } else if (expectedType === 'Array') {
  4890. valid = Array.isArray(value);
  4891. } else {
  4892. valid = value instanceof type;
  4893. }
  4894. return {
  4895. valid: valid,
  4896. expectedType: expectedType
  4897. }
  4898. }
  4899. /**
  4900. * Use function string name to check built-in types,
  4901. * because a simple equality check will fail when running
  4902. * across different vms / iframes.
  4903. */
  4904. function getType (fn) {
  4905. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4906. return match ? match[1] : ''
  4907. }
  4908. function isSameType (a, b) {
  4909. return getType(a) === getType(b)
  4910. }
  4911. function getTypeIndex (type, expectedTypes) {
  4912. if (!Array.isArray(expectedTypes)) {
  4913. return isSameType(expectedTypes, type) ? 0 : -1
  4914. }
  4915. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4916. if (isSameType(expectedTypes[i], type)) {
  4917. return i
  4918. }
  4919. }
  4920. return -1
  4921. }
  4922. function getInvalidTypeMessage (name, value, expectedTypes) {
  4923. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4924. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4925. var expectedType = expectedTypes[0];
  4926. var receivedType = toRawType(value);
  4927. var expectedValue = styleValue(value, expectedType);
  4928. var receivedValue = styleValue(value, receivedType);
  4929. // check if we need to specify expected value
  4930. if (expectedTypes.length === 1 &&
  4931. isExplicable(expectedType) &&
  4932. !isBoolean(expectedType, receivedType)) {
  4933. message += " with value " + expectedValue;
  4934. }
  4935. message += ", got " + receivedType + " ";
  4936. // check if we need to specify received value
  4937. if (isExplicable(receivedType)) {
  4938. message += "with value " + receivedValue + ".";
  4939. }
  4940. return message
  4941. }
  4942. function styleValue (value, type) {
  4943. if (type === 'String') {
  4944. return ("\"" + value + "\"")
  4945. } else if (type === 'Number') {
  4946. return ("" + (Number(value)))
  4947. } else {
  4948. return ("" + value)
  4949. }
  4950. }
  4951. function isExplicable (value) {
  4952. var explicitTypes = ['string', 'number', 'boolean'];
  4953. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4954. }
  4955. function isBoolean () {
  4956. var args = [], len = arguments.length;
  4957. while ( len-- ) args[ len ] = arguments[ len ];
  4958. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4959. }
  4960. /* */
  4961. function handleError (err, vm, info) {
  4962. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4963. // See: https://github.com/vuejs/vuex/issues/1505
  4964. pushTarget();
  4965. try {
  4966. if (vm) {
  4967. var cur = vm;
  4968. while ((cur = cur.$parent)) {
  4969. var hooks = cur.$options.errorCaptured;
  4970. if (hooks) {
  4971. for (var i = 0; i < hooks.length; i++) {
  4972. try {
  4973. var capture = hooks[i].call(cur, err, vm, info) === false;
  4974. if (capture) { return }
  4975. } catch (e) {
  4976. globalHandleError(e, cur, 'errorCaptured hook');
  4977. }
  4978. }
  4979. }
  4980. }
  4981. }
  4982. globalHandleError(err, vm, info);
  4983. } finally {
  4984. popTarget();
  4985. }
  4986. }
  4987. function invokeWithErrorHandling (
  4988. handler,
  4989. context,
  4990. args,
  4991. vm,
  4992. info
  4993. ) {
  4994. var res;
  4995. try {
  4996. res = args ? handler.apply(context, args) : handler.call(context);
  4997. if (res && !res._isVue && isPromise(res) && !res._handled) {
  4998. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  4999. // issue #9511
  5000. // avoid catch triggering multiple times when nested calls
  5001. res._handled = true;
  5002. }
  5003. } catch (e) {
  5004. handleError(e, vm, info);
  5005. }
  5006. return res
  5007. }
  5008. function globalHandleError (err, vm, info) {
  5009. if (config.errorHandler) {
  5010. try {
  5011. return config.errorHandler.call(null, err, vm, info)
  5012. } catch (e) {
  5013. // if the user intentionally throws the original error in the handler,
  5014. // do not log it twice
  5015. if (e !== err) {
  5016. logError(e, null, 'config.errorHandler');
  5017. }
  5018. }
  5019. }
  5020. logError(err, vm, info);
  5021. }
  5022. function logError (err, vm, info) {
  5023. if (true) {
  5024. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  5025. }
  5026. /* istanbul ignore else */
  5027. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  5028. console.error(err);
  5029. } else {
  5030. throw err
  5031. }
  5032. }
  5033. /* */
  5034. var callbacks = [];
  5035. var pending = false;
  5036. function flushCallbacks () {
  5037. pending = false;
  5038. var copies = callbacks.slice(0);
  5039. callbacks.length = 0;
  5040. for (var i = 0; i < copies.length; i++) {
  5041. copies[i]();
  5042. }
  5043. }
  5044. // Here we have async deferring wrappers using microtasks.
  5045. // In 2.5 we used (macro) tasks (in combination with microtasks).
  5046. // However, it has subtle problems when state is changed right before repaint
  5047. // (e.g. #6813, out-in transitions).
  5048. // Also, using (macro) tasks in event handler would cause some weird behaviors
  5049. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  5050. // So we now use microtasks everywhere, again.
  5051. // A major drawback of this tradeoff is that there are some scenarios
  5052. // where microtasks have too high a priority and fire in between supposedly
  5053. // sequential events (e.g. #4521, #6690, which have workarounds)
  5054. // or even between bubbling of the same event (#6566).
  5055. var timerFunc;
  5056. // The nextTick behavior leverages the microtask queue, which can be accessed
  5057. // via either native Promise.then or MutationObserver.
  5058. // MutationObserver has wider support, however it is seriously bugged in
  5059. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  5060. // completely stops working after triggering a few times... so, if native
  5061. // Promise is available, we will use it:
  5062. /* istanbul ignore next, $flow-disable-line */
  5063. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  5064. var p = Promise.resolve();
  5065. timerFunc = function () {
  5066. p.then(flushCallbacks);
  5067. // In problematic UIWebViews, Promise.then doesn't completely break, but
  5068. // it can get stuck in a weird state where callbacks are pushed into the
  5069. // microtask queue but the queue isn't being flushed, until the browser
  5070. // needs to do some other work, e.g. handle a timer. Therefore we can
  5071. // "force" the microtask queue to be flushed by adding an empty timer.
  5072. if (isIOS) { setTimeout(noop); }
  5073. };
  5074. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  5075. isNative(MutationObserver) ||
  5076. // PhantomJS and iOS 7.x
  5077. MutationObserver.toString() === '[object MutationObserverConstructor]'
  5078. )) {
  5079. // Use MutationObserver where native Promise is not available,
  5080. // e.g. PhantomJS, iOS7, Android 4.4
  5081. // (#6466 MutationObserver is unreliable in IE11)
  5082. var counter = 1;
  5083. var observer = new MutationObserver(flushCallbacks);
  5084. var textNode = document.createTextNode(String(counter));
  5085. observer.observe(textNode, {
  5086. characterData: true
  5087. });
  5088. timerFunc = function () {
  5089. counter = (counter + 1) % 2;
  5090. textNode.data = String(counter);
  5091. };
  5092. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  5093. // Fallback to setImmediate.
  5094. // Technically it leverages the (macro) task queue,
  5095. // but it is still a better choice than setTimeout.
  5096. timerFunc = function () {
  5097. setImmediate(flushCallbacks);
  5098. };
  5099. } else {
  5100. // Fallback to setTimeout.
  5101. timerFunc = function () {
  5102. setTimeout(flushCallbacks, 0);
  5103. };
  5104. }
  5105. function nextTick (cb, ctx) {
  5106. var _resolve;
  5107. callbacks.push(function () {
  5108. if (cb) {
  5109. try {
  5110. cb.call(ctx);
  5111. } catch (e) {
  5112. handleError(e, ctx, 'nextTick');
  5113. }
  5114. } else if (_resolve) {
  5115. _resolve(ctx);
  5116. }
  5117. });
  5118. if (!pending) {
  5119. pending = true;
  5120. timerFunc();
  5121. }
  5122. // $flow-disable-line
  5123. if (!cb && typeof Promise !== 'undefined') {
  5124. return new Promise(function (resolve) {
  5125. _resolve = resolve;
  5126. })
  5127. }
  5128. }
  5129. /* */
  5130. /* not type checking this file because flow doesn't play well with Proxy */
  5131. var initProxy;
  5132. if (true) {
  5133. var allowedGlobals = makeMap(
  5134. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5135. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5136. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5137. 'require' // for Webpack/Browserify
  5138. );
  5139. var warnNonPresent = function (target, key) {
  5140. warn(
  5141. "Property or method \"" + key + "\" is not defined on the instance but " +
  5142. 'referenced during render. Make sure that this property is reactive, ' +
  5143. 'either in the data option, or for class-based components, by ' +
  5144. 'initializing the property. ' +
  5145. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5146. target
  5147. );
  5148. };
  5149. var warnReservedPrefix = function (target, key) {
  5150. warn(
  5151. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5152. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5153. 'prevent conflicts with Vue internals. ' +
  5154. 'See: https://vuejs.org/v2/api/#data',
  5155. target
  5156. );
  5157. };
  5158. var hasProxy =
  5159. typeof Proxy !== 'undefined' && isNative(Proxy);
  5160. if (hasProxy) {
  5161. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5162. config.keyCodes = new Proxy(config.keyCodes, {
  5163. set: function set (target, key, value) {
  5164. if (isBuiltInModifier(key)) {
  5165. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5166. return false
  5167. } else {
  5168. target[key] = value;
  5169. return true
  5170. }
  5171. }
  5172. });
  5173. }
  5174. var hasHandler = {
  5175. has: function has (target, key) {
  5176. var has = key in target;
  5177. var isAllowed = allowedGlobals(key) ||
  5178. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5179. if (!has && !isAllowed) {
  5180. if (key in target.$data) { warnReservedPrefix(target, key); }
  5181. else { warnNonPresent(target, key); }
  5182. }
  5183. return has || !isAllowed
  5184. }
  5185. };
  5186. var getHandler = {
  5187. get: function get (target, key) {
  5188. if (typeof key === 'string' && !(key in target)) {
  5189. if (key in target.$data) { warnReservedPrefix(target, key); }
  5190. else { warnNonPresent(target, key); }
  5191. }
  5192. return target[key]
  5193. }
  5194. };
  5195. initProxy = function initProxy (vm) {
  5196. if (hasProxy) {
  5197. // determine which proxy handler to use
  5198. var options = vm.$options;
  5199. var handlers = options.render && options.render._withStripped
  5200. ? getHandler
  5201. : hasHandler;
  5202. vm._renderProxy = new Proxy(vm, handlers);
  5203. } else {
  5204. vm._renderProxy = vm;
  5205. }
  5206. };
  5207. }
  5208. /* */
  5209. var seenObjects = new _Set();
  5210. /**
  5211. * Recursively traverse an object to evoke all converted
  5212. * getters, so that every nested property inside the object
  5213. * is collected as a "deep" dependency.
  5214. */
  5215. function traverse (val) {
  5216. _traverse(val, seenObjects);
  5217. seenObjects.clear();
  5218. }
  5219. function _traverse (val, seen) {
  5220. var i, keys;
  5221. var isA = Array.isArray(val);
  5222. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5223. return
  5224. }
  5225. if (val.__ob__) {
  5226. var depId = val.__ob__.dep.id;
  5227. if (seen.has(depId)) {
  5228. return
  5229. }
  5230. seen.add(depId);
  5231. }
  5232. if (isA) {
  5233. i = val.length;
  5234. while (i--) { _traverse(val[i], seen); }
  5235. } else {
  5236. keys = Object.keys(val);
  5237. i = keys.length;
  5238. while (i--) { _traverse(val[keys[i]], seen); }
  5239. }
  5240. }
  5241. var mark;
  5242. var measure;
  5243. if (true) {
  5244. var perf = inBrowser && window.performance;
  5245. /* istanbul ignore if */
  5246. if (
  5247. perf &&
  5248. perf.mark &&
  5249. perf.measure &&
  5250. perf.clearMarks &&
  5251. perf.clearMeasures
  5252. ) {
  5253. mark = function (tag) { return perf.mark(tag); };
  5254. measure = function (name, startTag, endTag) {
  5255. perf.measure(name, startTag, endTag);
  5256. perf.clearMarks(startTag);
  5257. perf.clearMarks(endTag);
  5258. // perf.clearMeasures(name)
  5259. };
  5260. }
  5261. }
  5262. /* */
  5263. var normalizeEvent = cached(function (name) {
  5264. var passive = name.charAt(0) === '&';
  5265. name = passive ? name.slice(1) : name;
  5266. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5267. name = once$$1 ? name.slice(1) : name;
  5268. var capture = name.charAt(0) === '!';
  5269. name = capture ? name.slice(1) : name;
  5270. return {
  5271. name: name,
  5272. once: once$$1,
  5273. capture: capture,
  5274. passive: passive
  5275. }
  5276. });
  5277. function createFnInvoker (fns, vm) {
  5278. function invoker () {
  5279. var arguments$1 = arguments;
  5280. var fns = invoker.fns;
  5281. if (Array.isArray(fns)) {
  5282. var cloned = fns.slice();
  5283. for (var i = 0; i < cloned.length; i++) {
  5284. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5285. }
  5286. } else {
  5287. // return handler return value for single handlers
  5288. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5289. }
  5290. }
  5291. invoker.fns = fns;
  5292. return invoker
  5293. }
  5294. function updateListeners (
  5295. on,
  5296. oldOn,
  5297. add,
  5298. remove$$1,
  5299. createOnceHandler,
  5300. vm
  5301. ) {
  5302. var name, def$$1, cur, old, event;
  5303. for (name in on) {
  5304. def$$1 = cur = on[name];
  5305. old = oldOn[name];
  5306. event = normalizeEvent(name);
  5307. if (isUndef(cur)) {
  5308. true && warn(
  5309. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5310. vm
  5311. );
  5312. } else if (isUndef(old)) {
  5313. if (isUndef(cur.fns)) {
  5314. cur = on[name] = createFnInvoker(cur, vm);
  5315. }
  5316. if (isTrue(event.once)) {
  5317. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5318. }
  5319. add(event.name, cur, event.capture, event.passive, event.params);
  5320. } else if (cur !== old) {
  5321. old.fns = cur;
  5322. on[name] = old;
  5323. }
  5324. }
  5325. for (name in oldOn) {
  5326. if (isUndef(on[name])) {
  5327. event = normalizeEvent(name);
  5328. remove$$1(event.name, oldOn[name], event.capture);
  5329. }
  5330. }
  5331. }
  5332. /* */
  5333. /* */
  5334. // fixed by xxxxxx (mp properties)
  5335. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5336. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5337. if (isUndef(propOptions)) {
  5338. return res
  5339. }
  5340. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5341. var attrs = data.attrs;
  5342. var props = data.props;
  5343. if (isDef(attrs) || isDef(props)) {
  5344. for (var key in propOptions) {
  5345. var altKey = hyphenate(key);
  5346. var result = checkProp(res, props, key, altKey, true) ||
  5347. checkProp(res, attrs, key, altKey, false);
  5348. // externalClass
  5349. if (
  5350. result &&
  5351. res[key] &&
  5352. externalClasses.indexOf(altKey) !== -1 &&
  5353. context[camelize(res[key])]
  5354. ) {
  5355. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5356. res[key] = context[camelize(res[key])];
  5357. }
  5358. }
  5359. }
  5360. return res
  5361. }
  5362. function extractPropsFromVNodeData (
  5363. data,
  5364. Ctor,
  5365. tag,
  5366. context// fixed by xxxxxx
  5367. ) {
  5368. // we are only extracting raw values here.
  5369. // validation and default values are handled in the child
  5370. // component itself.
  5371. var propOptions = Ctor.options.props;
  5372. if (isUndef(propOptions)) {
  5373. // fixed by xxxxxx
  5374. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5375. }
  5376. var res = {};
  5377. var attrs = data.attrs;
  5378. var props = data.props;
  5379. if (isDef(attrs) || isDef(props)) {
  5380. for (var key in propOptions) {
  5381. var altKey = hyphenate(key);
  5382. if (true) {
  5383. var keyInLowerCase = key.toLowerCase();
  5384. if (
  5385. key !== keyInLowerCase &&
  5386. attrs && hasOwn(attrs, keyInLowerCase)
  5387. ) {
  5388. tip(
  5389. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5390. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5391. " \"" + key + "\". " +
  5392. "Note that HTML attributes are case-insensitive and camelCased " +
  5393. "props need to use their kebab-case equivalents when using in-DOM " +
  5394. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5395. );
  5396. }
  5397. }
  5398. checkProp(res, props, key, altKey, true) ||
  5399. checkProp(res, attrs, key, altKey, false);
  5400. }
  5401. }
  5402. // fixed by xxxxxx
  5403. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5404. }
  5405. function checkProp (
  5406. res,
  5407. hash,
  5408. key,
  5409. altKey,
  5410. preserve
  5411. ) {
  5412. if (isDef(hash)) {
  5413. if (hasOwn(hash, key)) {
  5414. res[key] = hash[key];
  5415. if (!preserve) {
  5416. delete hash[key];
  5417. }
  5418. return true
  5419. } else if (hasOwn(hash, altKey)) {
  5420. res[key] = hash[altKey];
  5421. if (!preserve) {
  5422. delete hash[altKey];
  5423. }
  5424. return true
  5425. }
  5426. }
  5427. return false
  5428. }
  5429. /* */
  5430. // The template compiler attempts to minimize the need for normalization by
  5431. // statically analyzing the template at compile time.
  5432. //
  5433. // For plain HTML markup, normalization can be completely skipped because the
  5434. // generated render function is guaranteed to return Array<VNode>. There are
  5435. // two cases where extra normalization is needed:
  5436. // 1. When the children contains components - because a functional component
  5437. // may return an Array instead of a single root. In this case, just a simple
  5438. // normalization is needed - if any child is an Array, we flatten the whole
  5439. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5440. // because functional components already normalize their own children.
  5441. function simpleNormalizeChildren (children) {
  5442. for (var i = 0; i < children.length; i++) {
  5443. if (Array.isArray(children[i])) {
  5444. return Array.prototype.concat.apply([], children)
  5445. }
  5446. }
  5447. return children
  5448. }
  5449. // 2. When the children contains constructs that always generated nested Arrays,
  5450. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5451. // with hand-written render functions / JSX. In such cases a full normalization
  5452. // is needed to cater to all possible types of children values.
  5453. function normalizeChildren (children) {
  5454. return isPrimitive(children)
  5455. ? [createTextVNode(children)]
  5456. : Array.isArray(children)
  5457. ? normalizeArrayChildren(children)
  5458. : undefined
  5459. }
  5460. function isTextNode (node) {
  5461. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5462. }
  5463. function normalizeArrayChildren (children, nestedIndex) {
  5464. var res = [];
  5465. var i, c, lastIndex, last;
  5466. for (i = 0; i < children.length; i++) {
  5467. c = children[i];
  5468. if (isUndef(c) || typeof c === 'boolean') { continue }
  5469. lastIndex = res.length - 1;
  5470. last = res[lastIndex];
  5471. // nested
  5472. if (Array.isArray(c)) {
  5473. if (c.length > 0) {
  5474. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5475. // merge adjacent text nodes
  5476. if (isTextNode(c[0]) && isTextNode(last)) {
  5477. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5478. c.shift();
  5479. }
  5480. res.push.apply(res, c);
  5481. }
  5482. } else if (isPrimitive(c)) {
  5483. if (isTextNode(last)) {
  5484. // merge adjacent text nodes
  5485. // this is necessary for SSR hydration because text nodes are
  5486. // essentially merged when rendered to HTML strings
  5487. res[lastIndex] = createTextVNode(last.text + c);
  5488. } else if (c !== '') {
  5489. // convert primitive to vnode
  5490. res.push(createTextVNode(c));
  5491. }
  5492. } else {
  5493. if (isTextNode(c) && isTextNode(last)) {
  5494. // merge adjacent text nodes
  5495. res[lastIndex] = createTextVNode(last.text + c.text);
  5496. } else {
  5497. // default key for nested array children (likely generated by v-for)
  5498. if (isTrue(children._isVList) &&
  5499. isDef(c.tag) &&
  5500. isUndef(c.key) &&
  5501. isDef(nestedIndex)) {
  5502. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5503. }
  5504. res.push(c);
  5505. }
  5506. }
  5507. }
  5508. return res
  5509. }
  5510. /* */
  5511. function initProvide (vm) {
  5512. var provide = vm.$options.provide;
  5513. if (provide) {
  5514. vm._provided = typeof provide === 'function'
  5515. ? provide.call(vm)
  5516. : provide;
  5517. }
  5518. }
  5519. function initInjections (vm) {
  5520. var result = resolveInject(vm.$options.inject, vm);
  5521. if (result) {
  5522. toggleObserving(false);
  5523. Object.keys(result).forEach(function (key) {
  5524. /* istanbul ignore else */
  5525. if (true) {
  5526. defineReactive$$1(vm, key, result[key], function () {
  5527. warn(
  5528. "Avoid mutating an injected value directly since the changes will be " +
  5529. "overwritten whenever the provided component re-renders. " +
  5530. "injection being mutated: \"" + key + "\"",
  5531. vm
  5532. );
  5533. });
  5534. } else {}
  5535. });
  5536. toggleObserving(true);
  5537. }
  5538. }
  5539. function resolveInject (inject, vm) {
  5540. if (inject) {
  5541. // inject is :any because flow is not smart enough to figure out cached
  5542. var result = Object.create(null);
  5543. var keys = hasSymbol
  5544. ? Reflect.ownKeys(inject)
  5545. : Object.keys(inject);
  5546. for (var i = 0; i < keys.length; i++) {
  5547. var key = keys[i];
  5548. // #6574 in case the inject object is observed...
  5549. if (key === '__ob__') { continue }
  5550. var provideKey = inject[key].from;
  5551. var source = vm;
  5552. while (source) {
  5553. if (source._provided && hasOwn(source._provided, provideKey)) {
  5554. result[key] = source._provided[provideKey];
  5555. break
  5556. }
  5557. source = source.$parent;
  5558. }
  5559. if (!source) {
  5560. if ('default' in inject[key]) {
  5561. var provideDefault = inject[key].default;
  5562. result[key] = typeof provideDefault === 'function'
  5563. ? provideDefault.call(vm)
  5564. : provideDefault;
  5565. } else if (true) {
  5566. warn(("Injection \"" + key + "\" not found"), vm);
  5567. }
  5568. }
  5569. }
  5570. return result
  5571. }
  5572. }
  5573. /* */
  5574. /**
  5575. * Runtime helper for resolving raw children VNodes into a slot object.
  5576. */
  5577. function resolveSlots (
  5578. children,
  5579. context
  5580. ) {
  5581. if (!children || !children.length) {
  5582. return {}
  5583. }
  5584. var slots = {};
  5585. for (var i = 0, l = children.length; i < l; i++) {
  5586. var child = children[i];
  5587. var data = child.data;
  5588. // remove slot attribute if the node is resolved as a Vue slot node
  5589. if (data && data.attrs && data.attrs.slot) {
  5590. delete data.attrs.slot;
  5591. }
  5592. // named slots should only be respected if the vnode was rendered in the
  5593. // same context.
  5594. if ((child.context === context || child.fnContext === context) &&
  5595. data && data.slot != null
  5596. ) {
  5597. var name = data.slot;
  5598. var slot = (slots[name] || (slots[name] = []));
  5599. if (child.tag === 'template') {
  5600. slot.push.apply(slot, child.children || []);
  5601. } else {
  5602. slot.push(child);
  5603. }
  5604. } else {
  5605. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5606. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5607. (slots['page'] || (slots['page'] = [])).push(child);
  5608. }else{
  5609. (slots.default || (slots.default = [])).push(child);
  5610. }
  5611. }
  5612. }
  5613. // ignore slots that contains only whitespace
  5614. for (var name$1 in slots) {
  5615. if (slots[name$1].every(isWhitespace)) {
  5616. delete slots[name$1];
  5617. }
  5618. }
  5619. return slots
  5620. }
  5621. function isWhitespace (node) {
  5622. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5623. }
  5624. /* */
  5625. function normalizeScopedSlots (
  5626. slots,
  5627. normalSlots,
  5628. prevSlots
  5629. ) {
  5630. var res;
  5631. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5632. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5633. var key = slots && slots.$key;
  5634. if (!slots) {
  5635. res = {};
  5636. } else if (slots._normalized) {
  5637. // fast path 1: child component re-render only, parent did not change
  5638. return slots._normalized
  5639. } else if (
  5640. isStable &&
  5641. prevSlots &&
  5642. prevSlots !== emptyObject &&
  5643. key === prevSlots.$key &&
  5644. !hasNormalSlots &&
  5645. !prevSlots.$hasNormal
  5646. ) {
  5647. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5648. // only need to normalize once
  5649. return prevSlots
  5650. } else {
  5651. res = {};
  5652. for (var key$1 in slots) {
  5653. if (slots[key$1] && key$1[0] !== '$') {
  5654. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5655. }
  5656. }
  5657. }
  5658. // expose normal slots on scopedSlots
  5659. for (var key$2 in normalSlots) {
  5660. if (!(key$2 in res)) {
  5661. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5662. }
  5663. }
  5664. // avoriaz seems to mock a non-extensible $scopedSlots object
  5665. // and when that is passed down this would cause an error
  5666. if (slots && Object.isExtensible(slots)) {
  5667. (slots)._normalized = res;
  5668. }
  5669. def(res, '$stable', isStable);
  5670. def(res, '$key', key);
  5671. def(res, '$hasNormal', hasNormalSlots);
  5672. return res
  5673. }
  5674. function normalizeScopedSlot(normalSlots, key, fn) {
  5675. var normalized = function () {
  5676. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5677. res = res && typeof res === 'object' && !Array.isArray(res)
  5678. ? [res] // single vnode
  5679. : normalizeChildren(res);
  5680. return res && (
  5681. res.length === 0 ||
  5682. (res.length === 1 && res[0].isComment) // #9658
  5683. ) ? undefined
  5684. : res
  5685. };
  5686. // this is a slot using the new v-slot syntax without scope. although it is
  5687. // compiled as a scoped slot, render fn users would expect it to be present
  5688. // on this.$slots because the usage is semantically a normal slot.
  5689. if (fn.proxy) {
  5690. Object.defineProperty(normalSlots, key, {
  5691. get: normalized,
  5692. enumerable: true,
  5693. configurable: true
  5694. });
  5695. }
  5696. return normalized
  5697. }
  5698. function proxyNormalSlot(slots, key) {
  5699. return function () { return slots[key]; }
  5700. }
  5701. /* */
  5702. /**
  5703. * Runtime helper for rendering v-for lists.
  5704. */
  5705. function renderList (
  5706. val,
  5707. render
  5708. ) {
  5709. var ret, i, l, keys, key;
  5710. if (Array.isArray(val) || typeof val === 'string') {
  5711. ret = new Array(val.length);
  5712. for (i = 0, l = val.length; i < l; i++) {
  5713. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5714. }
  5715. } else if (typeof val === 'number') {
  5716. ret = new Array(val);
  5717. for (i = 0; i < val; i++) {
  5718. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5719. }
  5720. } else if (isObject(val)) {
  5721. if (hasSymbol && val[Symbol.iterator]) {
  5722. ret = [];
  5723. var iterator = val[Symbol.iterator]();
  5724. var result = iterator.next();
  5725. while (!result.done) {
  5726. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5727. result = iterator.next();
  5728. }
  5729. } else {
  5730. keys = Object.keys(val);
  5731. ret = new Array(keys.length);
  5732. for (i = 0, l = keys.length; i < l; i++) {
  5733. key = keys[i];
  5734. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5735. }
  5736. }
  5737. }
  5738. if (!isDef(ret)) {
  5739. ret = [];
  5740. }
  5741. (ret)._isVList = true;
  5742. return ret
  5743. }
  5744. /* */
  5745. /**
  5746. * Runtime helper for rendering <slot>
  5747. */
  5748. function renderSlot (
  5749. name,
  5750. fallback,
  5751. props,
  5752. bindObject
  5753. ) {
  5754. var scopedSlotFn = this.$scopedSlots[name];
  5755. var nodes;
  5756. if (scopedSlotFn) { // scoped slot
  5757. props = props || {};
  5758. if (bindObject) {
  5759. if ( true && !isObject(bindObject)) {
  5760. warn(
  5761. 'slot v-bind without argument expects an Object',
  5762. this
  5763. );
  5764. }
  5765. props = extend(extend({}, bindObject), props);
  5766. }
  5767. // fixed by xxxxxx app-plus scopedSlot
  5768. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5769. } else {
  5770. nodes = this.$slots[name] || fallback;
  5771. }
  5772. var target = props && props.slot;
  5773. if (target) {
  5774. return this.$createElement('template', { slot: target }, nodes)
  5775. } else {
  5776. return nodes
  5777. }
  5778. }
  5779. /* */
  5780. /**
  5781. * Runtime helper for resolving filters
  5782. */
  5783. function resolveFilter (id) {
  5784. return resolveAsset(this.$options, 'filters', id, true) || identity
  5785. }
  5786. /* */
  5787. function isKeyNotMatch (expect, actual) {
  5788. if (Array.isArray(expect)) {
  5789. return expect.indexOf(actual) === -1
  5790. } else {
  5791. return expect !== actual
  5792. }
  5793. }
  5794. /**
  5795. * Runtime helper for checking keyCodes from config.
  5796. * exposed as Vue.prototype._k
  5797. * passing in eventKeyName as last argument separately for backwards compat
  5798. */
  5799. function checkKeyCodes (
  5800. eventKeyCode,
  5801. key,
  5802. builtInKeyCode,
  5803. eventKeyName,
  5804. builtInKeyName
  5805. ) {
  5806. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5807. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5808. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5809. } else if (mappedKeyCode) {
  5810. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5811. } else if (eventKeyName) {
  5812. return hyphenate(eventKeyName) !== key
  5813. }
  5814. }
  5815. /* */
  5816. /**
  5817. * Runtime helper for merging v-bind="object" into a VNode's data.
  5818. */
  5819. function bindObjectProps (
  5820. data,
  5821. tag,
  5822. value,
  5823. asProp,
  5824. isSync
  5825. ) {
  5826. if (value) {
  5827. if (!isObject(value)) {
  5828. true && warn(
  5829. 'v-bind without argument expects an Object or Array value',
  5830. this
  5831. );
  5832. } else {
  5833. if (Array.isArray(value)) {
  5834. value = toObject(value);
  5835. }
  5836. var hash;
  5837. var loop = function ( key ) {
  5838. if (
  5839. key === 'class' ||
  5840. key === 'style' ||
  5841. isReservedAttribute(key)
  5842. ) {
  5843. hash = data;
  5844. } else {
  5845. var type = data.attrs && data.attrs.type;
  5846. hash = asProp || config.mustUseProp(tag, type, key)
  5847. ? data.domProps || (data.domProps = {})
  5848. : data.attrs || (data.attrs = {});
  5849. }
  5850. var camelizedKey = camelize(key);
  5851. var hyphenatedKey = hyphenate(key);
  5852. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5853. hash[key] = value[key];
  5854. if (isSync) {
  5855. var on = data.on || (data.on = {});
  5856. on[("update:" + key)] = function ($event) {
  5857. value[key] = $event;
  5858. };
  5859. }
  5860. }
  5861. };
  5862. for (var key in value) loop( key );
  5863. }
  5864. }
  5865. return data
  5866. }
  5867. /* */
  5868. /**
  5869. * Runtime helper for rendering static trees.
  5870. */
  5871. function renderStatic (
  5872. index,
  5873. isInFor
  5874. ) {
  5875. var cached = this._staticTrees || (this._staticTrees = []);
  5876. var tree = cached[index];
  5877. // if has already-rendered static tree and not inside v-for,
  5878. // we can reuse the same tree.
  5879. if (tree && !isInFor) {
  5880. return tree
  5881. }
  5882. // otherwise, render a fresh tree.
  5883. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5884. this._renderProxy,
  5885. null,
  5886. this // for render fns generated for functional component templates
  5887. );
  5888. markStatic(tree, ("__static__" + index), false);
  5889. return tree
  5890. }
  5891. /**
  5892. * Runtime helper for v-once.
  5893. * Effectively it means marking the node as static with a unique key.
  5894. */
  5895. function markOnce (
  5896. tree,
  5897. index,
  5898. key
  5899. ) {
  5900. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5901. return tree
  5902. }
  5903. function markStatic (
  5904. tree,
  5905. key,
  5906. isOnce
  5907. ) {
  5908. if (Array.isArray(tree)) {
  5909. for (var i = 0; i < tree.length; i++) {
  5910. if (tree[i] && typeof tree[i] !== 'string') {
  5911. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5912. }
  5913. }
  5914. } else {
  5915. markStaticNode(tree, key, isOnce);
  5916. }
  5917. }
  5918. function markStaticNode (node, key, isOnce) {
  5919. node.isStatic = true;
  5920. node.key = key;
  5921. node.isOnce = isOnce;
  5922. }
  5923. /* */
  5924. function bindObjectListeners (data, value) {
  5925. if (value) {
  5926. if (!isPlainObject(value)) {
  5927. true && warn(
  5928. 'v-on without argument expects an Object value',
  5929. this
  5930. );
  5931. } else {
  5932. var on = data.on = data.on ? extend({}, data.on) : {};
  5933. for (var key in value) {
  5934. var existing = on[key];
  5935. var ours = value[key];
  5936. on[key] = existing ? [].concat(existing, ours) : ours;
  5937. }
  5938. }
  5939. }
  5940. return data
  5941. }
  5942. /* */
  5943. function resolveScopedSlots (
  5944. fns, // see flow/vnode
  5945. res,
  5946. // the following are added in 2.6
  5947. hasDynamicKeys,
  5948. contentHashKey
  5949. ) {
  5950. res = res || { $stable: !hasDynamicKeys };
  5951. for (var i = 0; i < fns.length; i++) {
  5952. var slot = fns[i];
  5953. if (Array.isArray(slot)) {
  5954. resolveScopedSlots(slot, res, hasDynamicKeys);
  5955. } else if (slot) {
  5956. // marker for reverse proxying v-slot without scope on this.$slots
  5957. if (slot.proxy) {
  5958. slot.fn.proxy = true;
  5959. }
  5960. res[slot.key] = slot.fn;
  5961. }
  5962. }
  5963. if (contentHashKey) {
  5964. (res).$key = contentHashKey;
  5965. }
  5966. return res
  5967. }
  5968. /* */
  5969. function bindDynamicKeys (baseObj, values) {
  5970. for (var i = 0; i < values.length; i += 2) {
  5971. var key = values[i];
  5972. if (typeof key === 'string' && key) {
  5973. baseObj[values[i]] = values[i + 1];
  5974. } else if ( true && key !== '' && key !== null) {
  5975. // null is a special value for explicitly removing a binding
  5976. warn(
  5977. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5978. this
  5979. );
  5980. }
  5981. }
  5982. return baseObj
  5983. }
  5984. // helper to dynamically append modifier runtime markers to event names.
  5985. // ensure only append when value is already string, otherwise it will be cast
  5986. // to string and cause the type check to miss.
  5987. function prependModifier (value, symbol) {
  5988. return typeof value === 'string' ? symbol + value : value
  5989. }
  5990. /* */
  5991. function installRenderHelpers (target) {
  5992. target._o = markOnce;
  5993. target._n = toNumber;
  5994. target._s = toString;
  5995. target._l = renderList;
  5996. target._t = renderSlot;
  5997. target._q = looseEqual;
  5998. target._i = looseIndexOf;
  5999. target._m = renderStatic;
  6000. target._f = resolveFilter;
  6001. target._k = checkKeyCodes;
  6002. target._b = bindObjectProps;
  6003. target._v = createTextVNode;
  6004. target._e = createEmptyVNode;
  6005. target._u = resolveScopedSlots;
  6006. target._g = bindObjectListeners;
  6007. target._d = bindDynamicKeys;
  6008. target._p = prependModifier;
  6009. }
  6010. /* */
  6011. function FunctionalRenderContext (
  6012. data,
  6013. props,
  6014. children,
  6015. parent,
  6016. Ctor
  6017. ) {
  6018. var this$1 = this;
  6019. var options = Ctor.options;
  6020. // ensure the createElement function in functional components
  6021. // gets a unique context - this is necessary for correct named slot check
  6022. var contextVm;
  6023. if (hasOwn(parent, '_uid')) {
  6024. contextVm = Object.create(parent);
  6025. // $flow-disable-line
  6026. contextVm._original = parent;
  6027. } else {
  6028. // the context vm passed in is a functional context as well.
  6029. // in this case we want to make sure we are able to get a hold to the
  6030. // real context instance.
  6031. contextVm = parent;
  6032. // $flow-disable-line
  6033. parent = parent._original;
  6034. }
  6035. var isCompiled = isTrue(options._compiled);
  6036. var needNormalization = !isCompiled;
  6037. this.data = data;
  6038. this.props = props;
  6039. this.children = children;
  6040. this.parent = parent;
  6041. this.listeners = data.on || emptyObject;
  6042. this.injections = resolveInject(options.inject, parent);
  6043. this.slots = function () {
  6044. if (!this$1.$slots) {
  6045. normalizeScopedSlots(
  6046. data.scopedSlots,
  6047. this$1.$slots = resolveSlots(children, parent)
  6048. );
  6049. }
  6050. return this$1.$slots
  6051. };
  6052. Object.defineProperty(this, 'scopedSlots', ({
  6053. enumerable: true,
  6054. get: function get () {
  6055. return normalizeScopedSlots(data.scopedSlots, this.slots())
  6056. }
  6057. }));
  6058. // support for compiled functional template
  6059. if (isCompiled) {
  6060. // exposing $options for renderStatic()
  6061. this.$options = options;
  6062. // pre-resolve slots for renderSlot()
  6063. this.$slots = this.slots();
  6064. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  6065. }
  6066. if (options._scopeId) {
  6067. this._c = function (a, b, c, d) {
  6068. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  6069. if (vnode && !Array.isArray(vnode)) {
  6070. vnode.fnScopeId = options._scopeId;
  6071. vnode.fnContext = parent;
  6072. }
  6073. return vnode
  6074. };
  6075. } else {
  6076. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  6077. }
  6078. }
  6079. installRenderHelpers(FunctionalRenderContext.prototype);
  6080. function createFunctionalComponent (
  6081. Ctor,
  6082. propsData,
  6083. data,
  6084. contextVm,
  6085. children
  6086. ) {
  6087. var options = Ctor.options;
  6088. var props = {};
  6089. var propOptions = options.props;
  6090. if (isDef(propOptions)) {
  6091. for (var key in propOptions) {
  6092. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  6093. }
  6094. } else {
  6095. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  6096. if (isDef(data.props)) { mergeProps(props, data.props); }
  6097. }
  6098. var renderContext = new FunctionalRenderContext(
  6099. data,
  6100. props,
  6101. children,
  6102. contextVm,
  6103. Ctor
  6104. );
  6105. var vnode = options.render.call(null, renderContext._c, renderContext);
  6106. if (vnode instanceof VNode) {
  6107. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  6108. } else if (Array.isArray(vnode)) {
  6109. var vnodes = normalizeChildren(vnode) || [];
  6110. var res = new Array(vnodes.length);
  6111. for (var i = 0; i < vnodes.length; i++) {
  6112. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  6113. }
  6114. return res
  6115. }
  6116. }
  6117. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  6118. // #7817 clone node before setting fnContext, otherwise if the node is reused
  6119. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  6120. // that should not be matched to match.
  6121. var clone = cloneVNode(vnode);
  6122. clone.fnContext = contextVm;
  6123. clone.fnOptions = options;
  6124. if (true) {
  6125. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  6126. }
  6127. if (data.slot) {
  6128. (clone.data || (clone.data = {})).slot = data.slot;
  6129. }
  6130. return clone
  6131. }
  6132. function mergeProps (to, from) {
  6133. for (var key in from) {
  6134. to[camelize(key)] = from[key];
  6135. }
  6136. }
  6137. /* */
  6138. /* */
  6139. /* */
  6140. /* */
  6141. // inline hooks to be invoked on component VNodes during patch
  6142. var componentVNodeHooks = {
  6143. init: function init (vnode, hydrating) {
  6144. if (
  6145. vnode.componentInstance &&
  6146. !vnode.componentInstance._isDestroyed &&
  6147. vnode.data.keepAlive
  6148. ) {
  6149. // kept-alive components, treat as a patch
  6150. var mountedNode = vnode; // work around flow
  6151. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6152. } else {
  6153. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6154. vnode,
  6155. activeInstance
  6156. );
  6157. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6158. }
  6159. },
  6160. prepatch: function prepatch (oldVnode, vnode) {
  6161. var options = vnode.componentOptions;
  6162. var child = vnode.componentInstance = oldVnode.componentInstance;
  6163. updateChildComponent(
  6164. child,
  6165. options.propsData, // updated props
  6166. options.listeners, // updated listeners
  6167. vnode, // new parent vnode
  6168. options.children // new children
  6169. );
  6170. },
  6171. insert: function insert (vnode) {
  6172. var context = vnode.context;
  6173. var componentInstance = vnode.componentInstance;
  6174. if (!componentInstance._isMounted) {
  6175. callHook(componentInstance, 'onServiceCreated');
  6176. callHook(componentInstance, 'onServiceAttached');
  6177. componentInstance._isMounted = true;
  6178. callHook(componentInstance, 'mounted');
  6179. }
  6180. if (vnode.data.keepAlive) {
  6181. if (context._isMounted) {
  6182. // vue-router#1212
  6183. // During updates, a kept-alive component's child components may
  6184. // change, so directly walking the tree here may call activated hooks
  6185. // on incorrect children. Instead we push them into a queue which will
  6186. // be processed after the whole patch process ended.
  6187. queueActivatedComponent(componentInstance);
  6188. } else {
  6189. activateChildComponent(componentInstance, true /* direct */);
  6190. }
  6191. }
  6192. },
  6193. destroy: function destroy (vnode) {
  6194. var componentInstance = vnode.componentInstance;
  6195. if (!componentInstance._isDestroyed) {
  6196. if (!vnode.data.keepAlive) {
  6197. componentInstance.$destroy();
  6198. } else {
  6199. deactivateChildComponent(componentInstance, true /* direct */);
  6200. }
  6201. }
  6202. }
  6203. };
  6204. var hooksToMerge = Object.keys(componentVNodeHooks);
  6205. function createComponent (
  6206. Ctor,
  6207. data,
  6208. context,
  6209. children,
  6210. tag
  6211. ) {
  6212. if (isUndef(Ctor)) {
  6213. return
  6214. }
  6215. var baseCtor = context.$options._base;
  6216. // plain options object: turn it into a constructor
  6217. if (isObject(Ctor)) {
  6218. Ctor = baseCtor.extend(Ctor);
  6219. }
  6220. // if at this stage it's not a constructor or an async component factory,
  6221. // reject.
  6222. if (typeof Ctor !== 'function') {
  6223. if (true) {
  6224. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6225. }
  6226. return
  6227. }
  6228. // async component
  6229. var asyncFactory;
  6230. if (isUndef(Ctor.cid)) {
  6231. asyncFactory = Ctor;
  6232. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6233. if (Ctor === undefined) {
  6234. // return a placeholder node for async component, which is rendered
  6235. // as a comment node but preserves all the raw information for the node.
  6236. // the information will be used for async server-rendering and hydration.
  6237. return createAsyncPlaceholder(
  6238. asyncFactory,
  6239. data,
  6240. context,
  6241. children,
  6242. tag
  6243. )
  6244. }
  6245. }
  6246. data = data || {};
  6247. // resolve constructor options in case global mixins are applied after
  6248. // component constructor creation
  6249. resolveConstructorOptions(Ctor);
  6250. // transform component v-model data into props & events
  6251. if (isDef(data.model)) {
  6252. transformModel(Ctor.options, data);
  6253. }
  6254. // extract props
  6255. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6256. // functional component
  6257. if (isTrue(Ctor.options.functional)) {
  6258. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6259. }
  6260. // extract listeners, since these needs to be treated as
  6261. // child component listeners instead of DOM listeners
  6262. var listeners = data.on;
  6263. // replace with listeners with .native modifier
  6264. // so it gets processed during parent component patch.
  6265. data.on = data.nativeOn;
  6266. if (isTrue(Ctor.options.abstract)) {
  6267. // abstract components do not keep anything
  6268. // other than props & listeners & slot
  6269. // work around flow
  6270. var slot = data.slot;
  6271. data = {};
  6272. if (slot) {
  6273. data.slot = slot;
  6274. }
  6275. }
  6276. // install component management hooks onto the placeholder node
  6277. installComponentHooks(data);
  6278. // return a placeholder vnode
  6279. var name = Ctor.options.name || tag;
  6280. var vnode = new VNode(
  6281. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6282. data, undefined, undefined, undefined, context,
  6283. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6284. asyncFactory
  6285. );
  6286. return vnode
  6287. }
  6288. function createComponentInstanceForVnode (
  6289. vnode, // we know it's MountedComponentVNode but flow doesn't
  6290. parent // activeInstance in lifecycle state
  6291. ) {
  6292. var options = {
  6293. _isComponent: true,
  6294. _parentVnode: vnode,
  6295. parent: parent
  6296. };
  6297. // check inline-template render functions
  6298. var inlineTemplate = vnode.data.inlineTemplate;
  6299. if (isDef(inlineTemplate)) {
  6300. options.render = inlineTemplate.render;
  6301. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6302. }
  6303. return new vnode.componentOptions.Ctor(options)
  6304. }
  6305. function installComponentHooks (data) {
  6306. var hooks = data.hook || (data.hook = {});
  6307. for (var i = 0; i < hooksToMerge.length; i++) {
  6308. var key = hooksToMerge[i];
  6309. var existing = hooks[key];
  6310. var toMerge = componentVNodeHooks[key];
  6311. if (existing !== toMerge && !(existing && existing._merged)) {
  6312. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6313. }
  6314. }
  6315. }
  6316. function mergeHook$1 (f1, f2) {
  6317. var merged = function (a, b) {
  6318. // flow complains about extra args which is why we use any
  6319. f1(a, b);
  6320. f2(a, b);
  6321. };
  6322. merged._merged = true;
  6323. return merged
  6324. }
  6325. // transform component v-model info (value and callback) into
  6326. // prop and event handler respectively.
  6327. function transformModel (options, data) {
  6328. var prop = (options.model && options.model.prop) || 'value';
  6329. var event = (options.model && options.model.event) || 'input'
  6330. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6331. var on = data.on || (data.on = {});
  6332. var existing = on[event];
  6333. var callback = data.model.callback;
  6334. if (isDef(existing)) {
  6335. if (
  6336. Array.isArray(existing)
  6337. ? existing.indexOf(callback) === -1
  6338. : existing !== callback
  6339. ) {
  6340. on[event] = [callback].concat(existing);
  6341. }
  6342. } else {
  6343. on[event] = callback;
  6344. }
  6345. }
  6346. /* */
  6347. var SIMPLE_NORMALIZE = 1;
  6348. var ALWAYS_NORMALIZE = 2;
  6349. // wrapper function for providing a more flexible interface
  6350. // without getting yelled at by flow
  6351. function createElement (
  6352. context,
  6353. tag,
  6354. data,
  6355. children,
  6356. normalizationType,
  6357. alwaysNormalize
  6358. ) {
  6359. if (Array.isArray(data) || isPrimitive(data)) {
  6360. normalizationType = children;
  6361. children = data;
  6362. data = undefined;
  6363. }
  6364. if (isTrue(alwaysNormalize)) {
  6365. normalizationType = ALWAYS_NORMALIZE;
  6366. }
  6367. return _createElement(context, tag, data, children, normalizationType)
  6368. }
  6369. function _createElement (
  6370. context,
  6371. tag,
  6372. data,
  6373. children,
  6374. normalizationType
  6375. ) {
  6376. if (isDef(data) && isDef((data).__ob__)) {
  6377. true && warn(
  6378. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6379. 'Always create fresh vnode data objects in each render!',
  6380. context
  6381. );
  6382. return createEmptyVNode()
  6383. }
  6384. // object syntax in v-bind
  6385. if (isDef(data) && isDef(data.is)) {
  6386. tag = data.is;
  6387. }
  6388. if (!tag) {
  6389. // in case of component :is set to falsy value
  6390. return createEmptyVNode()
  6391. }
  6392. // warn against non-primitive key
  6393. if ( true &&
  6394. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6395. ) {
  6396. {
  6397. warn(
  6398. 'Avoid using non-primitive value as key, ' +
  6399. 'use string/number value instead.',
  6400. context
  6401. );
  6402. }
  6403. }
  6404. // support single function children as default scoped slot
  6405. if (Array.isArray(children) &&
  6406. typeof children[0] === 'function'
  6407. ) {
  6408. data = data || {};
  6409. data.scopedSlots = { default: children[0] };
  6410. children.length = 0;
  6411. }
  6412. if (normalizationType === ALWAYS_NORMALIZE) {
  6413. children = normalizeChildren(children);
  6414. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6415. children = simpleNormalizeChildren(children);
  6416. }
  6417. var vnode, ns;
  6418. if (typeof tag === 'string') {
  6419. var Ctor;
  6420. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6421. if (config.isReservedTag(tag)) {
  6422. // platform built-in elements
  6423. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6424. warn(
  6425. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6426. context
  6427. );
  6428. }
  6429. vnode = new VNode(
  6430. config.parsePlatformTagName(tag), data, children,
  6431. undefined, undefined, context
  6432. );
  6433. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6434. // component
  6435. vnode = createComponent(Ctor, data, context, children, tag);
  6436. } else {
  6437. // unknown or unlisted namespaced elements
  6438. // check at runtime because it may get assigned a namespace when its
  6439. // parent normalizes children
  6440. vnode = new VNode(
  6441. tag, data, children,
  6442. undefined, undefined, context
  6443. );
  6444. }
  6445. } else {
  6446. // direct component options / constructor
  6447. vnode = createComponent(tag, data, context, children);
  6448. }
  6449. if (Array.isArray(vnode)) {
  6450. return vnode
  6451. } else if (isDef(vnode)) {
  6452. if (isDef(ns)) { applyNS(vnode, ns); }
  6453. if (isDef(data)) { registerDeepBindings(data); }
  6454. return vnode
  6455. } else {
  6456. return createEmptyVNode()
  6457. }
  6458. }
  6459. function applyNS (vnode, ns, force) {
  6460. vnode.ns = ns;
  6461. if (vnode.tag === 'foreignObject') {
  6462. // use default namespace inside foreignObject
  6463. ns = undefined;
  6464. force = true;
  6465. }
  6466. if (isDef(vnode.children)) {
  6467. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6468. var child = vnode.children[i];
  6469. if (isDef(child.tag) && (
  6470. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6471. applyNS(child, ns, force);
  6472. }
  6473. }
  6474. }
  6475. }
  6476. // ref #5318
  6477. // necessary to ensure parent re-render when deep bindings like :style and
  6478. // :class are used on slot nodes
  6479. function registerDeepBindings (data) {
  6480. if (isObject(data.style)) {
  6481. traverse(data.style);
  6482. }
  6483. if (isObject(data.class)) {
  6484. traverse(data.class);
  6485. }
  6486. }
  6487. /* */
  6488. function initRender (vm) {
  6489. vm._vnode = null; // the root of the child tree
  6490. vm._staticTrees = null; // v-once cached trees
  6491. var options = vm.$options;
  6492. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6493. var renderContext = parentVnode && parentVnode.context;
  6494. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6495. vm.$scopedSlots = emptyObject;
  6496. // bind the createElement fn to this instance
  6497. // so that we get proper render context inside it.
  6498. // args order: tag, data, children, normalizationType, alwaysNormalize
  6499. // internal version is used by render functions compiled from templates
  6500. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6501. // normalization is always applied for the public version, used in
  6502. // user-written render functions.
  6503. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6504. // $attrs & $listeners are exposed for easier HOC creation.
  6505. // they need to be reactive so that HOCs using them are always updated
  6506. var parentData = parentVnode && parentVnode.data;
  6507. /* istanbul ignore else */
  6508. if (true) {
  6509. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6510. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6511. }, true);
  6512. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6513. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6514. }, true);
  6515. } else {}
  6516. }
  6517. var currentRenderingInstance = null;
  6518. function renderMixin (Vue) {
  6519. // install runtime convenience helpers
  6520. installRenderHelpers(Vue.prototype);
  6521. Vue.prototype.$nextTick = function (fn) {
  6522. return nextTick(fn, this)
  6523. };
  6524. Vue.prototype._render = function () {
  6525. var vm = this;
  6526. var ref = vm.$options;
  6527. var render = ref.render;
  6528. var _parentVnode = ref._parentVnode;
  6529. if (_parentVnode) {
  6530. vm.$scopedSlots = normalizeScopedSlots(
  6531. _parentVnode.data.scopedSlots,
  6532. vm.$slots,
  6533. vm.$scopedSlots
  6534. );
  6535. }
  6536. // set parent vnode. this allows render functions to have access
  6537. // to the data on the placeholder node.
  6538. vm.$vnode = _parentVnode;
  6539. // render self
  6540. var vnode;
  6541. try {
  6542. // There's no need to maintain a stack because all render fns are called
  6543. // separately from one another. Nested component's render fns are called
  6544. // when parent component is patched.
  6545. currentRenderingInstance = vm;
  6546. vnode = render.call(vm._renderProxy, vm.$createElement);
  6547. } catch (e) {
  6548. handleError(e, vm, "render");
  6549. // return error render result,
  6550. // or previous vnode to prevent render error causing blank component
  6551. /* istanbul ignore else */
  6552. if ( true && vm.$options.renderError) {
  6553. try {
  6554. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6555. } catch (e) {
  6556. handleError(e, vm, "renderError");
  6557. vnode = vm._vnode;
  6558. }
  6559. } else {
  6560. vnode = vm._vnode;
  6561. }
  6562. } finally {
  6563. currentRenderingInstance = null;
  6564. }
  6565. // if the returned array contains only a single node, allow it
  6566. if (Array.isArray(vnode) && vnode.length === 1) {
  6567. vnode = vnode[0];
  6568. }
  6569. // return empty vnode in case the render function errored out
  6570. if (!(vnode instanceof VNode)) {
  6571. if ( true && Array.isArray(vnode)) {
  6572. warn(
  6573. 'Multiple root nodes returned from render function. Render function ' +
  6574. 'should return a single root node.',
  6575. vm
  6576. );
  6577. }
  6578. vnode = createEmptyVNode();
  6579. }
  6580. // set parent
  6581. vnode.parent = _parentVnode;
  6582. return vnode
  6583. };
  6584. }
  6585. /* */
  6586. function ensureCtor (comp, base) {
  6587. if (
  6588. comp.__esModule ||
  6589. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6590. ) {
  6591. comp = comp.default;
  6592. }
  6593. return isObject(comp)
  6594. ? base.extend(comp)
  6595. : comp
  6596. }
  6597. function createAsyncPlaceholder (
  6598. factory,
  6599. data,
  6600. context,
  6601. children,
  6602. tag
  6603. ) {
  6604. var node = createEmptyVNode();
  6605. node.asyncFactory = factory;
  6606. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6607. return node
  6608. }
  6609. function resolveAsyncComponent (
  6610. factory,
  6611. baseCtor
  6612. ) {
  6613. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6614. return factory.errorComp
  6615. }
  6616. if (isDef(factory.resolved)) {
  6617. return factory.resolved
  6618. }
  6619. var owner = currentRenderingInstance;
  6620. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6621. // already pending
  6622. factory.owners.push(owner);
  6623. }
  6624. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6625. return factory.loadingComp
  6626. }
  6627. if (owner && !isDef(factory.owners)) {
  6628. var owners = factory.owners = [owner];
  6629. var sync = true;
  6630. var timerLoading = null;
  6631. var timerTimeout = null
  6632. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6633. var forceRender = function (renderCompleted) {
  6634. for (var i = 0, l = owners.length; i < l; i++) {
  6635. (owners[i]).$forceUpdate();
  6636. }
  6637. if (renderCompleted) {
  6638. owners.length = 0;
  6639. if (timerLoading !== null) {
  6640. clearTimeout(timerLoading);
  6641. timerLoading = null;
  6642. }
  6643. if (timerTimeout !== null) {
  6644. clearTimeout(timerTimeout);
  6645. timerTimeout = null;
  6646. }
  6647. }
  6648. };
  6649. var resolve = once(function (res) {
  6650. // cache resolved
  6651. factory.resolved = ensureCtor(res, baseCtor);
  6652. // invoke callbacks only if this is not a synchronous resolve
  6653. // (async resolves are shimmed as synchronous during SSR)
  6654. if (!sync) {
  6655. forceRender(true);
  6656. } else {
  6657. owners.length = 0;
  6658. }
  6659. });
  6660. var reject = once(function (reason) {
  6661. true && warn(
  6662. "Failed to resolve async component: " + (String(factory)) +
  6663. (reason ? ("\nReason: " + reason) : '')
  6664. );
  6665. if (isDef(factory.errorComp)) {
  6666. factory.error = true;
  6667. forceRender(true);
  6668. }
  6669. });
  6670. var res = factory(resolve, reject);
  6671. if (isObject(res)) {
  6672. if (isPromise(res)) {
  6673. // () => Promise
  6674. if (isUndef(factory.resolved)) {
  6675. res.then(resolve, reject);
  6676. }
  6677. } else if (isPromise(res.component)) {
  6678. res.component.then(resolve, reject);
  6679. if (isDef(res.error)) {
  6680. factory.errorComp = ensureCtor(res.error, baseCtor);
  6681. }
  6682. if (isDef(res.loading)) {
  6683. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6684. if (res.delay === 0) {
  6685. factory.loading = true;
  6686. } else {
  6687. timerLoading = setTimeout(function () {
  6688. timerLoading = null;
  6689. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6690. factory.loading = true;
  6691. forceRender(false);
  6692. }
  6693. }, res.delay || 200);
  6694. }
  6695. }
  6696. if (isDef(res.timeout)) {
  6697. timerTimeout = setTimeout(function () {
  6698. timerTimeout = null;
  6699. if (isUndef(factory.resolved)) {
  6700. reject(
  6701. true
  6702. ? ("timeout (" + (res.timeout) + "ms)")
  6703. : undefined
  6704. );
  6705. }
  6706. }, res.timeout);
  6707. }
  6708. }
  6709. }
  6710. sync = false;
  6711. // return in case resolved synchronously
  6712. return factory.loading
  6713. ? factory.loadingComp
  6714. : factory.resolved
  6715. }
  6716. }
  6717. /* */
  6718. function isAsyncPlaceholder (node) {
  6719. return node.isComment && node.asyncFactory
  6720. }
  6721. /* */
  6722. function getFirstComponentChild (children) {
  6723. if (Array.isArray(children)) {
  6724. for (var i = 0; i < children.length; i++) {
  6725. var c = children[i];
  6726. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6727. return c
  6728. }
  6729. }
  6730. }
  6731. }
  6732. /* */
  6733. /* */
  6734. function initEvents (vm) {
  6735. vm._events = Object.create(null);
  6736. vm._hasHookEvent = false;
  6737. // init parent attached events
  6738. var listeners = vm.$options._parentListeners;
  6739. if (listeners) {
  6740. updateComponentListeners(vm, listeners);
  6741. }
  6742. }
  6743. var target;
  6744. function add (event, fn) {
  6745. target.$on(event, fn);
  6746. }
  6747. function remove$1 (event, fn) {
  6748. target.$off(event, fn);
  6749. }
  6750. function createOnceHandler (event, fn) {
  6751. var _target = target;
  6752. return function onceHandler () {
  6753. var res = fn.apply(null, arguments);
  6754. if (res !== null) {
  6755. _target.$off(event, onceHandler);
  6756. }
  6757. }
  6758. }
  6759. function updateComponentListeners (
  6760. vm,
  6761. listeners,
  6762. oldListeners
  6763. ) {
  6764. target = vm;
  6765. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6766. target = undefined;
  6767. }
  6768. function eventsMixin (Vue) {
  6769. var hookRE = /^hook:/;
  6770. Vue.prototype.$on = function (event, fn) {
  6771. var vm = this;
  6772. if (Array.isArray(event)) {
  6773. for (var i = 0, l = event.length; i < l; i++) {
  6774. vm.$on(event[i], fn);
  6775. }
  6776. } else {
  6777. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6778. // optimize hook:event cost by using a boolean flag marked at registration
  6779. // instead of a hash lookup
  6780. if (hookRE.test(event)) {
  6781. vm._hasHookEvent = true;
  6782. }
  6783. }
  6784. return vm
  6785. };
  6786. Vue.prototype.$once = function (event, fn) {
  6787. var vm = this;
  6788. function on () {
  6789. vm.$off(event, on);
  6790. fn.apply(vm, arguments);
  6791. }
  6792. on.fn = fn;
  6793. vm.$on(event, on);
  6794. return vm
  6795. };
  6796. Vue.prototype.$off = function (event, fn) {
  6797. var vm = this;
  6798. // all
  6799. if (!arguments.length) {
  6800. vm._events = Object.create(null);
  6801. return vm
  6802. }
  6803. // array of events
  6804. if (Array.isArray(event)) {
  6805. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6806. vm.$off(event[i$1], fn);
  6807. }
  6808. return vm
  6809. }
  6810. // specific event
  6811. var cbs = vm._events[event];
  6812. if (!cbs) {
  6813. return vm
  6814. }
  6815. if (!fn) {
  6816. vm._events[event] = null;
  6817. return vm
  6818. }
  6819. // specific handler
  6820. var cb;
  6821. var i = cbs.length;
  6822. while (i--) {
  6823. cb = cbs[i];
  6824. if (cb === fn || cb.fn === fn) {
  6825. cbs.splice(i, 1);
  6826. break
  6827. }
  6828. }
  6829. return vm
  6830. };
  6831. Vue.prototype.$emit = function (event) {
  6832. var vm = this;
  6833. if (true) {
  6834. var lowerCaseEvent = event.toLowerCase();
  6835. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6836. tip(
  6837. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6838. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6839. "Note that HTML attributes are case-insensitive and you cannot use " +
  6840. "v-on to listen to camelCase events when using in-DOM templates. " +
  6841. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6842. );
  6843. }
  6844. }
  6845. var cbs = vm._events[event];
  6846. if (cbs) {
  6847. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6848. var args = toArray(arguments, 1);
  6849. var info = "event handler for \"" + event + "\"";
  6850. for (var i = 0, l = cbs.length; i < l; i++) {
  6851. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6852. }
  6853. }
  6854. return vm
  6855. };
  6856. }
  6857. /* */
  6858. var activeInstance = null;
  6859. var isUpdatingChildComponent = false;
  6860. function setActiveInstance(vm) {
  6861. var prevActiveInstance = activeInstance;
  6862. activeInstance = vm;
  6863. return function () {
  6864. activeInstance = prevActiveInstance;
  6865. }
  6866. }
  6867. function initLifecycle (vm) {
  6868. var options = vm.$options;
  6869. // locate first non-abstract parent
  6870. var parent = options.parent;
  6871. if (parent && !options.abstract) {
  6872. while (parent.$options.abstract && parent.$parent) {
  6873. parent = parent.$parent;
  6874. }
  6875. parent.$children.push(vm);
  6876. }
  6877. vm.$parent = parent;
  6878. vm.$root = parent ? parent.$root : vm;
  6879. vm.$children = [];
  6880. vm.$refs = {};
  6881. vm._watcher = null;
  6882. vm._inactive = null;
  6883. vm._directInactive = false;
  6884. vm._isMounted = false;
  6885. vm._isDestroyed = false;
  6886. vm._isBeingDestroyed = false;
  6887. }
  6888. function lifecycleMixin (Vue) {
  6889. Vue.prototype._update = function (vnode, hydrating) {
  6890. var vm = this;
  6891. var prevEl = vm.$el;
  6892. var prevVnode = vm._vnode;
  6893. var restoreActiveInstance = setActiveInstance(vm);
  6894. vm._vnode = vnode;
  6895. // Vue.prototype.__patch__ is injected in entry points
  6896. // based on the rendering backend used.
  6897. if (!prevVnode) {
  6898. // initial render
  6899. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6900. } else {
  6901. // updates
  6902. vm.$el = vm.__patch__(prevVnode, vnode);
  6903. }
  6904. restoreActiveInstance();
  6905. // update __vue__ reference
  6906. if (prevEl) {
  6907. prevEl.__vue__ = null;
  6908. }
  6909. if (vm.$el) {
  6910. vm.$el.__vue__ = vm;
  6911. }
  6912. // if parent is an HOC, update its $el as well
  6913. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6914. vm.$parent.$el = vm.$el;
  6915. }
  6916. // updated hook is called by the scheduler to ensure that children are
  6917. // updated in a parent's updated hook.
  6918. };
  6919. Vue.prototype.$forceUpdate = function () {
  6920. var vm = this;
  6921. if (vm._watcher) {
  6922. vm._watcher.update();
  6923. }
  6924. };
  6925. Vue.prototype.$destroy = function () {
  6926. var vm = this;
  6927. if (vm._isBeingDestroyed) {
  6928. return
  6929. }
  6930. callHook(vm, 'beforeDestroy');
  6931. vm._isBeingDestroyed = true;
  6932. // remove self from parent
  6933. var parent = vm.$parent;
  6934. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6935. remove(parent.$children, vm);
  6936. }
  6937. // teardown watchers
  6938. if (vm._watcher) {
  6939. vm._watcher.teardown();
  6940. }
  6941. var i = vm._watchers.length;
  6942. while (i--) {
  6943. vm._watchers[i].teardown();
  6944. }
  6945. // remove reference from data ob
  6946. // frozen object may not have observer.
  6947. if (vm._data.__ob__) {
  6948. vm._data.__ob__.vmCount--;
  6949. }
  6950. // call the last hook...
  6951. vm._isDestroyed = true;
  6952. // invoke destroy hooks on current rendered tree
  6953. vm.__patch__(vm._vnode, null);
  6954. // fire destroyed hook
  6955. callHook(vm, 'destroyed');
  6956. // turn off all instance listeners.
  6957. vm.$off();
  6958. // remove __vue__ reference
  6959. if (vm.$el) {
  6960. vm.$el.__vue__ = null;
  6961. }
  6962. // release circular reference (#6759)
  6963. if (vm.$vnode) {
  6964. vm.$vnode.parent = null;
  6965. }
  6966. };
  6967. }
  6968. function updateChildComponent (
  6969. vm,
  6970. propsData,
  6971. listeners,
  6972. parentVnode,
  6973. renderChildren
  6974. ) {
  6975. if (true) {
  6976. isUpdatingChildComponent = true;
  6977. }
  6978. // determine whether component has slot children
  6979. // we need to do this before overwriting $options._renderChildren.
  6980. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6981. // dynamic slot names). Static scoped slots compiled from template has the
  6982. // "$stable" marker.
  6983. var newScopedSlots = parentVnode.data.scopedSlots;
  6984. var oldScopedSlots = vm.$scopedSlots;
  6985. var hasDynamicScopedSlot = !!(
  6986. (newScopedSlots && !newScopedSlots.$stable) ||
  6987. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6988. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6989. );
  6990. // Any static slot children from the parent may have changed during parent's
  6991. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6992. // update is necessary to ensure correctness.
  6993. var needsForceUpdate = !!(
  6994. renderChildren || // has new static slots
  6995. vm.$options._renderChildren || // has old static slots
  6996. hasDynamicScopedSlot
  6997. );
  6998. vm.$options._parentVnode = parentVnode;
  6999. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  7000. if (vm._vnode) { // update child tree's parent
  7001. vm._vnode.parent = parentVnode;
  7002. }
  7003. vm.$options._renderChildren = renderChildren;
  7004. // update $attrs and $listeners hash
  7005. // these are also reactive so they may trigger child update if the child
  7006. // used them during render
  7007. vm.$attrs = parentVnode.data.attrs || emptyObject;
  7008. vm.$listeners = listeners || emptyObject;
  7009. // update props
  7010. if (propsData && vm.$options.props) {
  7011. toggleObserving(false);
  7012. var props = vm._props;
  7013. var propKeys = vm.$options._propKeys || [];
  7014. for (var i = 0; i < propKeys.length; i++) {
  7015. var key = propKeys[i];
  7016. var propOptions = vm.$options.props; // wtf flow?
  7017. props[key] = validateProp(key, propOptions, propsData, vm);
  7018. }
  7019. toggleObserving(true);
  7020. // keep a copy of raw propsData
  7021. vm.$options.propsData = propsData;
  7022. }
  7023. // fixed by xxxxxx update properties(mp runtime)
  7024. vm._$updateProperties && vm._$updateProperties(vm);
  7025. // update listeners
  7026. listeners = listeners || emptyObject;
  7027. var oldListeners = vm.$options._parentListeners;
  7028. vm.$options._parentListeners = listeners;
  7029. updateComponentListeners(vm, listeners, oldListeners);
  7030. // resolve slots + force update if has children
  7031. if (needsForceUpdate) {
  7032. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  7033. vm.$forceUpdate();
  7034. }
  7035. if (true) {
  7036. isUpdatingChildComponent = false;
  7037. }
  7038. }
  7039. function isInInactiveTree (vm) {
  7040. while (vm && (vm = vm.$parent)) {
  7041. if (vm._inactive) { return true }
  7042. }
  7043. return false
  7044. }
  7045. function activateChildComponent (vm, direct) {
  7046. if (direct) {
  7047. vm._directInactive = false;
  7048. if (isInInactiveTree(vm)) {
  7049. return
  7050. }
  7051. } else if (vm._directInactive) {
  7052. return
  7053. }
  7054. if (vm._inactive || vm._inactive === null) {
  7055. vm._inactive = false;
  7056. for (var i = 0; i < vm.$children.length; i++) {
  7057. activateChildComponent(vm.$children[i]);
  7058. }
  7059. callHook(vm, 'activated');
  7060. }
  7061. }
  7062. function deactivateChildComponent (vm, direct) {
  7063. if (direct) {
  7064. vm._directInactive = true;
  7065. if (isInInactiveTree(vm)) {
  7066. return
  7067. }
  7068. }
  7069. if (!vm._inactive) {
  7070. vm._inactive = true;
  7071. for (var i = 0; i < vm.$children.length; i++) {
  7072. deactivateChildComponent(vm.$children[i]);
  7073. }
  7074. callHook(vm, 'deactivated');
  7075. }
  7076. }
  7077. function callHook (vm, hook) {
  7078. // #7573 disable dep collection when invoking lifecycle hooks
  7079. pushTarget();
  7080. var handlers = vm.$options[hook];
  7081. var info = hook + " hook";
  7082. if (handlers) {
  7083. for (var i = 0, j = handlers.length; i < j; i++) {
  7084. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  7085. }
  7086. }
  7087. if (vm._hasHookEvent) {
  7088. vm.$emit('hook:' + hook);
  7089. }
  7090. popTarget();
  7091. }
  7092. /* */
  7093. var MAX_UPDATE_COUNT = 100;
  7094. var queue = [];
  7095. var activatedChildren = [];
  7096. var has = {};
  7097. var circular = {};
  7098. var waiting = false;
  7099. var flushing = false;
  7100. var index = 0;
  7101. /**
  7102. * Reset the scheduler's state.
  7103. */
  7104. function resetSchedulerState () {
  7105. index = queue.length = activatedChildren.length = 0;
  7106. has = {};
  7107. if (true) {
  7108. circular = {};
  7109. }
  7110. waiting = flushing = false;
  7111. }
  7112. // Async edge case #6566 requires saving the timestamp when event listeners are
  7113. // attached. However, calling performance.now() has a perf overhead especially
  7114. // if the page has thousands of event listeners. Instead, we take a timestamp
  7115. // every time the scheduler flushes and use that for all event listeners
  7116. // attached during that flush.
  7117. var currentFlushTimestamp = 0;
  7118. // Async edge case fix requires storing an event listener's attach timestamp.
  7119. var getNow = Date.now;
  7120. // Determine what event timestamp the browser is using. Annoyingly, the
  7121. // timestamp can either be hi-res (relative to page load) or low-res
  7122. // (relative to UNIX epoch), so in order to compare time we have to use the
  7123. // same timestamp type when saving the flush timestamp.
  7124. // All IE versions use low-res event timestamps, and have problematic clock
  7125. // implementations (#9632)
  7126. if (inBrowser && !isIE) {
  7127. var performance = window.performance;
  7128. if (
  7129. performance &&
  7130. typeof performance.now === 'function' &&
  7131. getNow() > document.createEvent('Event').timeStamp
  7132. ) {
  7133. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7134. // smaller than it, it means the event is using a hi-res timestamp,
  7135. // and we need to use the hi-res version for event listener timestamps as
  7136. // well.
  7137. getNow = function () { return performance.now(); };
  7138. }
  7139. }
  7140. /**
  7141. * Flush both queues and run the watchers.
  7142. */
  7143. function flushSchedulerQueue () {
  7144. currentFlushTimestamp = getNow();
  7145. flushing = true;
  7146. var watcher, id;
  7147. // Sort queue before flush.
  7148. // This ensures that:
  7149. // 1. Components are updated from parent to child. (because parent is always
  7150. // created before the child)
  7151. // 2. A component's user watchers are run before its render watcher (because
  7152. // user watchers are created before the render watcher)
  7153. // 3. If a component is destroyed during a parent component's watcher run,
  7154. // its watchers can be skipped.
  7155. queue.sort(function (a, b) { return a.id - b.id; });
  7156. // do not cache length because more watchers might be pushed
  7157. // as we run existing watchers
  7158. for (index = 0; index < queue.length; index++) {
  7159. watcher = queue[index];
  7160. if (watcher.before) {
  7161. watcher.before();
  7162. }
  7163. id = watcher.id;
  7164. has[id] = null;
  7165. watcher.run();
  7166. // in dev build, check and stop circular updates.
  7167. if ( true && has[id] != null) {
  7168. circular[id] = (circular[id] || 0) + 1;
  7169. if (circular[id] > MAX_UPDATE_COUNT) {
  7170. warn(
  7171. 'You may have an infinite update loop ' + (
  7172. watcher.user
  7173. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7174. : "in a component render function."
  7175. ),
  7176. watcher.vm
  7177. );
  7178. break
  7179. }
  7180. }
  7181. }
  7182. // keep copies of post queues before resetting state
  7183. var activatedQueue = activatedChildren.slice();
  7184. var updatedQueue = queue.slice();
  7185. resetSchedulerState();
  7186. // call component updated and activated hooks
  7187. callActivatedHooks(activatedQueue);
  7188. callUpdatedHooks(updatedQueue);
  7189. // devtool hook
  7190. /* istanbul ignore if */
  7191. if (devtools && config.devtools) {
  7192. devtools.emit('flush');
  7193. }
  7194. }
  7195. function callUpdatedHooks (queue) {
  7196. var i = queue.length;
  7197. while (i--) {
  7198. var watcher = queue[i];
  7199. var vm = watcher.vm;
  7200. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7201. callHook(vm, 'updated');
  7202. }
  7203. }
  7204. }
  7205. /**
  7206. * Queue a kept-alive component that was activated during patch.
  7207. * The queue will be processed after the entire tree has been patched.
  7208. */
  7209. function queueActivatedComponent (vm) {
  7210. // setting _inactive to false here so that a render function can
  7211. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7212. vm._inactive = false;
  7213. activatedChildren.push(vm);
  7214. }
  7215. function callActivatedHooks (queue) {
  7216. for (var i = 0; i < queue.length; i++) {
  7217. queue[i]._inactive = true;
  7218. activateChildComponent(queue[i], true /* true */);
  7219. }
  7220. }
  7221. /**
  7222. * Push a watcher into the watcher queue.
  7223. * Jobs with duplicate IDs will be skipped unless it's
  7224. * pushed when the queue is being flushed.
  7225. */
  7226. function queueWatcher (watcher) {
  7227. var id = watcher.id;
  7228. if (has[id] == null) {
  7229. has[id] = true;
  7230. if (!flushing) {
  7231. queue.push(watcher);
  7232. } else {
  7233. // if already flushing, splice the watcher based on its id
  7234. // if already past its id, it will be run next immediately.
  7235. var i = queue.length - 1;
  7236. while (i > index && queue[i].id > watcher.id) {
  7237. i--;
  7238. }
  7239. queue.splice(i + 1, 0, watcher);
  7240. }
  7241. // queue the flush
  7242. if (!waiting) {
  7243. waiting = true;
  7244. if ( true && !config.async) {
  7245. flushSchedulerQueue();
  7246. return
  7247. }
  7248. nextTick(flushSchedulerQueue);
  7249. }
  7250. }
  7251. }
  7252. /* */
  7253. var uid$2 = 0;
  7254. /**
  7255. * A watcher parses an expression, collects dependencies,
  7256. * and fires callback when the expression value changes.
  7257. * This is used for both the $watch() api and directives.
  7258. */
  7259. var Watcher = function Watcher (
  7260. vm,
  7261. expOrFn,
  7262. cb,
  7263. options,
  7264. isRenderWatcher
  7265. ) {
  7266. this.vm = vm;
  7267. if (isRenderWatcher) {
  7268. vm._watcher = this;
  7269. }
  7270. vm._watchers.push(this);
  7271. // options
  7272. if (options) {
  7273. this.deep = !!options.deep;
  7274. this.user = !!options.user;
  7275. this.lazy = !!options.lazy;
  7276. this.sync = !!options.sync;
  7277. this.before = options.before;
  7278. } else {
  7279. this.deep = this.user = this.lazy = this.sync = false;
  7280. }
  7281. this.cb = cb;
  7282. this.id = ++uid$2; // uid for batching
  7283. this.active = true;
  7284. this.dirty = this.lazy; // for lazy watchers
  7285. this.deps = [];
  7286. this.newDeps = [];
  7287. this.depIds = new _Set();
  7288. this.newDepIds = new _Set();
  7289. this.expression = true
  7290. ? expOrFn.toString()
  7291. : undefined;
  7292. // parse expression for getter
  7293. if (typeof expOrFn === 'function') {
  7294. this.getter = expOrFn;
  7295. } else {
  7296. this.getter = parsePath(expOrFn);
  7297. if (!this.getter) {
  7298. this.getter = noop;
  7299. true && warn(
  7300. "Failed watching path: \"" + expOrFn + "\" " +
  7301. 'Watcher only accepts simple dot-delimited paths. ' +
  7302. 'For full control, use a function instead.',
  7303. vm
  7304. );
  7305. }
  7306. }
  7307. this.value = this.lazy
  7308. ? undefined
  7309. : this.get();
  7310. };
  7311. /**
  7312. * Evaluate the getter, and re-collect dependencies.
  7313. */
  7314. Watcher.prototype.get = function get () {
  7315. pushTarget(this);
  7316. var value;
  7317. var vm = this.vm;
  7318. try {
  7319. value = this.getter.call(vm, vm);
  7320. } catch (e) {
  7321. if (this.user) {
  7322. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7323. } else {
  7324. throw e
  7325. }
  7326. } finally {
  7327. // "touch" every property so they are all tracked as
  7328. // dependencies for deep watching
  7329. if (this.deep) {
  7330. traverse(value);
  7331. }
  7332. popTarget();
  7333. this.cleanupDeps();
  7334. }
  7335. return value
  7336. };
  7337. /**
  7338. * Add a dependency to this directive.
  7339. */
  7340. Watcher.prototype.addDep = function addDep (dep) {
  7341. var id = dep.id;
  7342. if (!this.newDepIds.has(id)) {
  7343. this.newDepIds.add(id);
  7344. this.newDeps.push(dep);
  7345. if (!this.depIds.has(id)) {
  7346. dep.addSub(this);
  7347. }
  7348. }
  7349. };
  7350. /**
  7351. * Clean up for dependency collection.
  7352. */
  7353. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7354. var i = this.deps.length;
  7355. while (i--) {
  7356. var dep = this.deps[i];
  7357. if (!this.newDepIds.has(dep.id)) {
  7358. dep.removeSub(this);
  7359. }
  7360. }
  7361. var tmp = this.depIds;
  7362. this.depIds = this.newDepIds;
  7363. this.newDepIds = tmp;
  7364. this.newDepIds.clear();
  7365. tmp = this.deps;
  7366. this.deps = this.newDeps;
  7367. this.newDeps = tmp;
  7368. this.newDeps.length = 0;
  7369. };
  7370. /**
  7371. * Subscriber interface.
  7372. * Will be called when a dependency changes.
  7373. */
  7374. Watcher.prototype.update = function update () {
  7375. /* istanbul ignore else */
  7376. if (this.lazy) {
  7377. this.dirty = true;
  7378. } else if (this.sync) {
  7379. this.run();
  7380. } else {
  7381. queueWatcher(this);
  7382. }
  7383. };
  7384. /**
  7385. * Scheduler job interface.
  7386. * Will be called by the scheduler.
  7387. */
  7388. Watcher.prototype.run = function run () {
  7389. if (this.active) {
  7390. var value = this.get();
  7391. if (
  7392. value !== this.value ||
  7393. // Deep watchers and watchers on Object/Arrays should fire even
  7394. // when the value is the same, because the value may
  7395. // have mutated.
  7396. isObject(value) ||
  7397. this.deep
  7398. ) {
  7399. // set new value
  7400. var oldValue = this.value;
  7401. this.value = value;
  7402. if (this.user) {
  7403. try {
  7404. this.cb.call(this.vm, value, oldValue);
  7405. } catch (e) {
  7406. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7407. }
  7408. } else {
  7409. this.cb.call(this.vm, value, oldValue);
  7410. }
  7411. }
  7412. }
  7413. };
  7414. /**
  7415. * Evaluate the value of the watcher.
  7416. * This only gets called for lazy watchers.
  7417. */
  7418. Watcher.prototype.evaluate = function evaluate () {
  7419. this.value = this.get();
  7420. this.dirty = false;
  7421. };
  7422. /**
  7423. * Depend on all deps collected by this watcher.
  7424. */
  7425. Watcher.prototype.depend = function depend () {
  7426. var i = this.deps.length;
  7427. while (i--) {
  7428. this.deps[i].depend();
  7429. }
  7430. };
  7431. /**
  7432. * Remove self from all dependencies' subscriber list.
  7433. */
  7434. Watcher.prototype.teardown = function teardown () {
  7435. if (this.active) {
  7436. // remove self from vm's watcher list
  7437. // this is a somewhat expensive operation so we skip it
  7438. // if the vm is being destroyed.
  7439. if (!this.vm._isBeingDestroyed) {
  7440. remove(this.vm._watchers, this);
  7441. }
  7442. var i = this.deps.length;
  7443. while (i--) {
  7444. this.deps[i].removeSub(this);
  7445. }
  7446. this.active = false;
  7447. }
  7448. };
  7449. /* */
  7450. var sharedPropertyDefinition = {
  7451. enumerable: true,
  7452. configurable: true,
  7453. get: noop,
  7454. set: noop
  7455. };
  7456. function proxy (target, sourceKey, key) {
  7457. sharedPropertyDefinition.get = function proxyGetter () {
  7458. return this[sourceKey][key]
  7459. };
  7460. sharedPropertyDefinition.set = function proxySetter (val) {
  7461. this[sourceKey][key] = val;
  7462. };
  7463. Object.defineProperty(target, key, sharedPropertyDefinition);
  7464. }
  7465. function initState (vm) {
  7466. vm._watchers = [];
  7467. var opts = vm.$options;
  7468. if (opts.props) { initProps(vm, opts.props); }
  7469. if (opts.methods) { initMethods(vm, opts.methods); }
  7470. if (opts.data) {
  7471. initData(vm);
  7472. } else {
  7473. observe(vm._data = {}, true /* asRootData */);
  7474. }
  7475. if (opts.computed) { initComputed(vm, opts.computed); }
  7476. if (opts.watch && opts.watch !== nativeWatch) {
  7477. initWatch(vm, opts.watch);
  7478. }
  7479. }
  7480. function initProps (vm, propsOptions) {
  7481. var propsData = vm.$options.propsData || {};
  7482. var props = vm._props = {};
  7483. // cache prop keys so that future props updates can iterate using Array
  7484. // instead of dynamic object key enumeration.
  7485. var keys = vm.$options._propKeys = [];
  7486. var isRoot = !vm.$parent;
  7487. // root instance props should be converted
  7488. if (!isRoot) {
  7489. toggleObserving(false);
  7490. }
  7491. var loop = function ( key ) {
  7492. keys.push(key);
  7493. var value = validateProp(key, propsOptions, propsData, vm);
  7494. /* istanbul ignore else */
  7495. if (true) {
  7496. var hyphenatedKey = hyphenate(key);
  7497. if (isReservedAttribute(hyphenatedKey) ||
  7498. config.isReservedAttr(hyphenatedKey)) {
  7499. warn(
  7500. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7501. vm
  7502. );
  7503. }
  7504. defineReactive$$1(props, key, value, function () {
  7505. if (!isRoot && !isUpdatingChildComponent) {
  7506. {
  7507. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7508. return
  7509. }
  7510. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7511. if(
  7512. key === 'value' &&
  7513. Array.isArray(vm.$options.behaviors) &&
  7514. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7515. ){
  7516. return
  7517. }
  7518. if(vm._getFormData){
  7519. return
  7520. }
  7521. var $parent = vm.$parent;
  7522. while($parent){
  7523. if($parent.__next_tick_pending){
  7524. return
  7525. }
  7526. $parent = $parent.$parent;
  7527. }
  7528. }
  7529. warn(
  7530. "Avoid mutating a prop directly since the value will be " +
  7531. "overwritten whenever the parent component re-renders. " +
  7532. "Instead, use a data or computed property based on the prop's " +
  7533. "value. Prop being mutated: \"" + key + "\"",
  7534. vm
  7535. );
  7536. }
  7537. });
  7538. } else {}
  7539. // static props are already proxied on the component's prototype
  7540. // during Vue.extend(). We only need to proxy props defined at
  7541. // instantiation here.
  7542. if (!(key in vm)) {
  7543. proxy(vm, "_props", key);
  7544. }
  7545. };
  7546. for (var key in propsOptions) loop( key );
  7547. toggleObserving(true);
  7548. }
  7549. function initData (vm) {
  7550. var data = vm.$options.data;
  7551. data = vm._data = typeof data === 'function'
  7552. ? getData(data, vm)
  7553. : data || {};
  7554. if (!isPlainObject(data)) {
  7555. data = {};
  7556. true && warn(
  7557. 'data functions should return an object:\n' +
  7558. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7559. vm
  7560. );
  7561. }
  7562. // proxy data on instance
  7563. var keys = Object.keys(data);
  7564. var props = vm.$options.props;
  7565. var methods = vm.$options.methods;
  7566. var i = keys.length;
  7567. while (i--) {
  7568. var key = keys[i];
  7569. if (true) {
  7570. if (methods && hasOwn(methods, key)) {
  7571. warn(
  7572. ("Method \"" + key + "\" has already been defined as a data property."),
  7573. vm
  7574. );
  7575. }
  7576. }
  7577. if (props && hasOwn(props, key)) {
  7578. true && warn(
  7579. "The data property \"" + key + "\" is already declared as a prop. " +
  7580. "Use prop default value instead.",
  7581. vm
  7582. );
  7583. } else if (!isReserved(key)) {
  7584. proxy(vm, "_data", key);
  7585. }
  7586. }
  7587. // observe data
  7588. observe(data, true /* asRootData */);
  7589. }
  7590. function getData (data, vm) {
  7591. // #7573 disable dep collection when invoking data getters
  7592. pushTarget();
  7593. try {
  7594. return data.call(vm, vm)
  7595. } catch (e) {
  7596. handleError(e, vm, "data()");
  7597. return {}
  7598. } finally {
  7599. popTarget();
  7600. }
  7601. }
  7602. var computedWatcherOptions = { lazy: true };
  7603. function initComputed (vm, computed) {
  7604. // $flow-disable-line
  7605. var watchers = vm._computedWatchers = Object.create(null);
  7606. // computed properties are just getters during SSR
  7607. var isSSR = isServerRendering();
  7608. for (var key in computed) {
  7609. var userDef = computed[key];
  7610. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7611. if ( true && getter == null) {
  7612. warn(
  7613. ("Getter is missing for computed property \"" + key + "\"."),
  7614. vm
  7615. );
  7616. }
  7617. if (!isSSR) {
  7618. // create internal watcher for the computed property.
  7619. watchers[key] = new Watcher(
  7620. vm,
  7621. getter || noop,
  7622. noop,
  7623. computedWatcherOptions
  7624. );
  7625. }
  7626. // component-defined computed properties are already defined on the
  7627. // component prototype. We only need to define computed properties defined
  7628. // at instantiation here.
  7629. if (!(key in vm)) {
  7630. defineComputed(vm, key, userDef);
  7631. } else if (true) {
  7632. if (key in vm.$data) {
  7633. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7634. } else if (vm.$options.props && key in vm.$options.props) {
  7635. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7636. }
  7637. }
  7638. }
  7639. }
  7640. function defineComputed (
  7641. target,
  7642. key,
  7643. userDef
  7644. ) {
  7645. var shouldCache = !isServerRendering();
  7646. if (typeof userDef === 'function') {
  7647. sharedPropertyDefinition.get = shouldCache
  7648. ? createComputedGetter(key)
  7649. : createGetterInvoker(userDef);
  7650. sharedPropertyDefinition.set = noop;
  7651. } else {
  7652. sharedPropertyDefinition.get = userDef.get
  7653. ? shouldCache && userDef.cache !== false
  7654. ? createComputedGetter(key)
  7655. : createGetterInvoker(userDef.get)
  7656. : noop;
  7657. sharedPropertyDefinition.set = userDef.set || noop;
  7658. }
  7659. if ( true &&
  7660. sharedPropertyDefinition.set === noop) {
  7661. sharedPropertyDefinition.set = function () {
  7662. warn(
  7663. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7664. this
  7665. );
  7666. };
  7667. }
  7668. Object.defineProperty(target, key, sharedPropertyDefinition);
  7669. }
  7670. function createComputedGetter (key) {
  7671. return function computedGetter () {
  7672. var watcher = this._computedWatchers && this._computedWatchers[key];
  7673. if (watcher) {
  7674. if (watcher.dirty) {
  7675. watcher.evaluate();
  7676. }
  7677. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7678. watcher.depend();
  7679. }
  7680. return watcher.value
  7681. }
  7682. }
  7683. }
  7684. function createGetterInvoker(fn) {
  7685. return function computedGetter () {
  7686. return fn.call(this, this)
  7687. }
  7688. }
  7689. function initMethods (vm, methods) {
  7690. var props = vm.$options.props;
  7691. for (var key in methods) {
  7692. if (true) {
  7693. if (typeof methods[key] !== 'function') {
  7694. warn(
  7695. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7696. "Did you reference the function correctly?",
  7697. vm
  7698. );
  7699. }
  7700. if (props && hasOwn(props, key)) {
  7701. warn(
  7702. ("Method \"" + key + "\" has already been defined as a prop."),
  7703. vm
  7704. );
  7705. }
  7706. if ((key in vm) && isReserved(key)) {
  7707. warn(
  7708. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7709. "Avoid defining component methods that start with _ or $."
  7710. );
  7711. }
  7712. }
  7713. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7714. }
  7715. }
  7716. function initWatch (vm, watch) {
  7717. for (var key in watch) {
  7718. var handler = watch[key];
  7719. if (Array.isArray(handler)) {
  7720. for (var i = 0; i < handler.length; i++) {
  7721. createWatcher(vm, key, handler[i]);
  7722. }
  7723. } else {
  7724. createWatcher(vm, key, handler);
  7725. }
  7726. }
  7727. }
  7728. function createWatcher (
  7729. vm,
  7730. expOrFn,
  7731. handler,
  7732. options
  7733. ) {
  7734. if (isPlainObject(handler)) {
  7735. options = handler;
  7736. handler = handler.handler;
  7737. }
  7738. if (typeof handler === 'string') {
  7739. handler = vm[handler];
  7740. }
  7741. return vm.$watch(expOrFn, handler, options)
  7742. }
  7743. function stateMixin (Vue) {
  7744. // flow somehow has problems with directly declared definition object
  7745. // when using Object.defineProperty, so we have to procedurally build up
  7746. // the object here.
  7747. var dataDef = {};
  7748. dataDef.get = function () { return this._data };
  7749. var propsDef = {};
  7750. propsDef.get = function () { return this._props };
  7751. if (true) {
  7752. dataDef.set = function () {
  7753. warn(
  7754. 'Avoid replacing instance root $data. ' +
  7755. 'Use nested data properties instead.',
  7756. this
  7757. );
  7758. };
  7759. propsDef.set = function () {
  7760. warn("$props is readonly.", this);
  7761. };
  7762. }
  7763. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7764. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7765. Vue.prototype.$set = set;
  7766. Vue.prototype.$delete = del;
  7767. Vue.prototype.$watch = function (
  7768. expOrFn,
  7769. cb,
  7770. options
  7771. ) {
  7772. var vm = this;
  7773. if (isPlainObject(cb)) {
  7774. return createWatcher(vm, expOrFn, cb, options)
  7775. }
  7776. options = options || {};
  7777. options.user = true;
  7778. var watcher = new Watcher(vm, expOrFn, cb, options);
  7779. if (options.immediate) {
  7780. try {
  7781. cb.call(vm, watcher.value);
  7782. } catch (error) {
  7783. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7784. }
  7785. }
  7786. return function unwatchFn () {
  7787. watcher.teardown();
  7788. }
  7789. };
  7790. }
  7791. /* */
  7792. var uid$3 = 0;
  7793. function initMixin (Vue) {
  7794. Vue.prototype._init = function (options) {
  7795. var vm = this;
  7796. // a uid
  7797. vm._uid = uid$3++;
  7798. var startTag, endTag;
  7799. /* istanbul ignore if */
  7800. if ( true && config.performance && mark) {
  7801. startTag = "vue-perf-start:" + (vm._uid);
  7802. endTag = "vue-perf-end:" + (vm._uid);
  7803. mark(startTag);
  7804. }
  7805. // a flag to avoid this being observed
  7806. vm._isVue = true;
  7807. // merge options
  7808. if (options && options._isComponent) {
  7809. // optimize internal component instantiation
  7810. // since dynamic options merging is pretty slow, and none of the
  7811. // internal component options needs special treatment.
  7812. initInternalComponent(vm, options);
  7813. } else {
  7814. vm.$options = mergeOptions(
  7815. resolveConstructorOptions(vm.constructor),
  7816. options || {},
  7817. vm
  7818. );
  7819. }
  7820. /* istanbul ignore else */
  7821. if (true) {
  7822. initProxy(vm);
  7823. } else {}
  7824. // expose real self
  7825. vm._self = vm;
  7826. initLifecycle(vm);
  7827. initEvents(vm);
  7828. initRender(vm);
  7829. callHook(vm, 'beforeCreate');
  7830. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7831. initState(vm);
  7832. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7833. !vm._$fallback && callHook(vm, 'created');
  7834. /* istanbul ignore if */
  7835. if ( true && config.performance && mark) {
  7836. vm._name = formatComponentName(vm, false);
  7837. mark(endTag);
  7838. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7839. }
  7840. if (vm.$options.el) {
  7841. vm.$mount(vm.$options.el);
  7842. }
  7843. };
  7844. }
  7845. function initInternalComponent (vm, options) {
  7846. var opts = vm.$options = Object.create(vm.constructor.options);
  7847. // doing this because it's faster than dynamic enumeration.
  7848. var parentVnode = options._parentVnode;
  7849. opts.parent = options.parent;
  7850. opts._parentVnode = parentVnode;
  7851. var vnodeComponentOptions = parentVnode.componentOptions;
  7852. opts.propsData = vnodeComponentOptions.propsData;
  7853. opts._parentListeners = vnodeComponentOptions.listeners;
  7854. opts._renderChildren = vnodeComponentOptions.children;
  7855. opts._componentTag = vnodeComponentOptions.tag;
  7856. if (options.render) {
  7857. opts.render = options.render;
  7858. opts.staticRenderFns = options.staticRenderFns;
  7859. }
  7860. }
  7861. function resolveConstructorOptions (Ctor) {
  7862. var options = Ctor.options;
  7863. if (Ctor.super) {
  7864. var superOptions = resolveConstructorOptions(Ctor.super);
  7865. var cachedSuperOptions = Ctor.superOptions;
  7866. if (superOptions !== cachedSuperOptions) {
  7867. // super option changed,
  7868. // need to resolve new options.
  7869. Ctor.superOptions = superOptions;
  7870. // check if there are any late-modified/attached options (#4976)
  7871. var modifiedOptions = resolveModifiedOptions(Ctor);
  7872. // update base extend options
  7873. if (modifiedOptions) {
  7874. extend(Ctor.extendOptions, modifiedOptions);
  7875. }
  7876. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7877. if (options.name) {
  7878. options.components[options.name] = Ctor;
  7879. }
  7880. }
  7881. }
  7882. return options
  7883. }
  7884. function resolveModifiedOptions (Ctor) {
  7885. var modified;
  7886. var latest = Ctor.options;
  7887. var sealed = Ctor.sealedOptions;
  7888. for (var key in latest) {
  7889. if (latest[key] !== sealed[key]) {
  7890. if (!modified) { modified = {}; }
  7891. modified[key] = latest[key];
  7892. }
  7893. }
  7894. return modified
  7895. }
  7896. function Vue (options) {
  7897. if ( true &&
  7898. !(this instanceof Vue)
  7899. ) {
  7900. warn('Vue is a constructor and should be called with the `new` keyword');
  7901. }
  7902. this._init(options);
  7903. }
  7904. initMixin(Vue);
  7905. stateMixin(Vue);
  7906. eventsMixin(Vue);
  7907. lifecycleMixin(Vue);
  7908. renderMixin(Vue);
  7909. /* */
  7910. function initUse (Vue) {
  7911. Vue.use = function (plugin) {
  7912. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7913. if (installedPlugins.indexOf(plugin) > -1) {
  7914. return this
  7915. }
  7916. // additional parameters
  7917. var args = toArray(arguments, 1);
  7918. args.unshift(this);
  7919. if (typeof plugin.install === 'function') {
  7920. plugin.install.apply(plugin, args);
  7921. } else if (typeof plugin === 'function') {
  7922. plugin.apply(null, args);
  7923. }
  7924. installedPlugins.push(plugin);
  7925. return this
  7926. };
  7927. }
  7928. /* */
  7929. function initMixin$1 (Vue) {
  7930. Vue.mixin = function (mixin) {
  7931. this.options = mergeOptions(this.options, mixin);
  7932. return this
  7933. };
  7934. }
  7935. /* */
  7936. function initExtend (Vue) {
  7937. /**
  7938. * Each instance constructor, including Vue, has a unique
  7939. * cid. This enables us to create wrapped "child
  7940. * constructors" for prototypal inheritance and cache them.
  7941. */
  7942. Vue.cid = 0;
  7943. var cid = 1;
  7944. /**
  7945. * Class inheritance
  7946. */
  7947. Vue.extend = function (extendOptions) {
  7948. extendOptions = extendOptions || {};
  7949. var Super = this;
  7950. var SuperId = Super.cid;
  7951. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7952. if (cachedCtors[SuperId]) {
  7953. return cachedCtors[SuperId]
  7954. }
  7955. var name = extendOptions.name || Super.options.name;
  7956. if ( true && name) {
  7957. validateComponentName(name);
  7958. }
  7959. var Sub = function VueComponent (options) {
  7960. this._init(options);
  7961. };
  7962. Sub.prototype = Object.create(Super.prototype);
  7963. Sub.prototype.constructor = Sub;
  7964. Sub.cid = cid++;
  7965. Sub.options = mergeOptions(
  7966. Super.options,
  7967. extendOptions
  7968. );
  7969. Sub['super'] = Super;
  7970. // For props and computed properties, we define the proxy getters on
  7971. // the Vue instances at extension time, on the extended prototype. This
  7972. // avoids Object.defineProperty calls for each instance created.
  7973. if (Sub.options.props) {
  7974. initProps$1(Sub);
  7975. }
  7976. if (Sub.options.computed) {
  7977. initComputed$1(Sub);
  7978. }
  7979. // allow further extension/mixin/plugin usage
  7980. Sub.extend = Super.extend;
  7981. Sub.mixin = Super.mixin;
  7982. Sub.use = Super.use;
  7983. // create asset registers, so extended classes
  7984. // can have their private assets too.
  7985. ASSET_TYPES.forEach(function (type) {
  7986. Sub[type] = Super[type];
  7987. });
  7988. // enable recursive self-lookup
  7989. if (name) {
  7990. Sub.options.components[name] = Sub;
  7991. }
  7992. // keep a reference to the super options at extension time.
  7993. // later at instantiation we can check if Super's options have
  7994. // been updated.
  7995. Sub.superOptions = Super.options;
  7996. Sub.extendOptions = extendOptions;
  7997. Sub.sealedOptions = extend({}, Sub.options);
  7998. // cache constructor
  7999. cachedCtors[SuperId] = Sub;
  8000. return Sub
  8001. };
  8002. }
  8003. function initProps$1 (Comp) {
  8004. var props = Comp.options.props;
  8005. for (var key in props) {
  8006. proxy(Comp.prototype, "_props", key);
  8007. }
  8008. }
  8009. function initComputed$1 (Comp) {
  8010. var computed = Comp.options.computed;
  8011. for (var key in computed) {
  8012. defineComputed(Comp.prototype, key, computed[key]);
  8013. }
  8014. }
  8015. /* */
  8016. function initAssetRegisters (Vue) {
  8017. /**
  8018. * Create asset registration methods.
  8019. */
  8020. ASSET_TYPES.forEach(function (type) {
  8021. Vue[type] = function (
  8022. id,
  8023. definition
  8024. ) {
  8025. if (!definition) {
  8026. return this.options[type + 's'][id]
  8027. } else {
  8028. /* istanbul ignore if */
  8029. if ( true && type === 'component') {
  8030. validateComponentName(id);
  8031. }
  8032. if (type === 'component' && isPlainObject(definition)) {
  8033. definition.name = definition.name || id;
  8034. definition = this.options._base.extend(definition);
  8035. }
  8036. if (type === 'directive' && typeof definition === 'function') {
  8037. definition = { bind: definition, update: definition };
  8038. }
  8039. this.options[type + 's'][id] = definition;
  8040. return definition
  8041. }
  8042. };
  8043. });
  8044. }
  8045. /* */
  8046. function getComponentName (opts) {
  8047. return opts && (opts.Ctor.options.name || opts.tag)
  8048. }
  8049. function matches (pattern, name) {
  8050. if (Array.isArray(pattern)) {
  8051. return pattern.indexOf(name) > -1
  8052. } else if (typeof pattern === 'string') {
  8053. return pattern.split(',').indexOf(name) > -1
  8054. } else if (isRegExp(pattern)) {
  8055. return pattern.test(name)
  8056. }
  8057. /* istanbul ignore next */
  8058. return false
  8059. }
  8060. function pruneCache (keepAliveInstance, filter) {
  8061. var cache = keepAliveInstance.cache;
  8062. var keys = keepAliveInstance.keys;
  8063. var _vnode = keepAliveInstance._vnode;
  8064. for (var key in cache) {
  8065. var cachedNode = cache[key];
  8066. if (cachedNode) {
  8067. var name = getComponentName(cachedNode.componentOptions);
  8068. if (name && !filter(name)) {
  8069. pruneCacheEntry(cache, key, keys, _vnode);
  8070. }
  8071. }
  8072. }
  8073. }
  8074. function pruneCacheEntry (
  8075. cache,
  8076. key,
  8077. keys,
  8078. current
  8079. ) {
  8080. var cached$$1 = cache[key];
  8081. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  8082. cached$$1.componentInstance.$destroy();
  8083. }
  8084. cache[key] = null;
  8085. remove(keys, key);
  8086. }
  8087. var patternTypes = [String, RegExp, Array];
  8088. var KeepAlive = {
  8089. name: 'keep-alive',
  8090. abstract: true,
  8091. props: {
  8092. include: patternTypes,
  8093. exclude: patternTypes,
  8094. max: [String, Number]
  8095. },
  8096. created: function created () {
  8097. this.cache = Object.create(null);
  8098. this.keys = [];
  8099. },
  8100. destroyed: function destroyed () {
  8101. for (var key in this.cache) {
  8102. pruneCacheEntry(this.cache, key, this.keys);
  8103. }
  8104. },
  8105. mounted: function mounted () {
  8106. var this$1 = this;
  8107. this.$watch('include', function (val) {
  8108. pruneCache(this$1, function (name) { return matches(val, name); });
  8109. });
  8110. this.$watch('exclude', function (val) {
  8111. pruneCache(this$1, function (name) { return !matches(val, name); });
  8112. });
  8113. },
  8114. render: function render () {
  8115. var slot = this.$slots.default;
  8116. var vnode = getFirstComponentChild(slot);
  8117. var componentOptions = vnode && vnode.componentOptions;
  8118. if (componentOptions) {
  8119. // check pattern
  8120. var name = getComponentName(componentOptions);
  8121. var ref = this;
  8122. var include = ref.include;
  8123. var exclude = ref.exclude;
  8124. if (
  8125. // not included
  8126. (include && (!name || !matches(include, name))) ||
  8127. // excluded
  8128. (exclude && name && matches(exclude, name))
  8129. ) {
  8130. return vnode
  8131. }
  8132. var ref$1 = this;
  8133. var cache = ref$1.cache;
  8134. var keys = ref$1.keys;
  8135. var key = vnode.key == null
  8136. // same constructor may get registered as different local components
  8137. // so cid alone is not enough (#3269)
  8138. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8139. : vnode.key;
  8140. if (cache[key]) {
  8141. vnode.componentInstance = cache[key].componentInstance;
  8142. // make current key freshest
  8143. remove(keys, key);
  8144. keys.push(key);
  8145. } else {
  8146. cache[key] = vnode;
  8147. keys.push(key);
  8148. // prune oldest entry
  8149. if (this.max && keys.length > parseInt(this.max)) {
  8150. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8151. }
  8152. }
  8153. vnode.data.keepAlive = true;
  8154. }
  8155. return vnode || (slot && slot[0])
  8156. }
  8157. };
  8158. var builtInComponents = {
  8159. KeepAlive: KeepAlive
  8160. };
  8161. /* */
  8162. function initGlobalAPI (Vue) {
  8163. // config
  8164. var configDef = {};
  8165. configDef.get = function () { return config; };
  8166. if (true) {
  8167. configDef.set = function () {
  8168. warn(
  8169. 'Do not replace the Vue.config object, set individual fields instead.'
  8170. );
  8171. };
  8172. }
  8173. Object.defineProperty(Vue, 'config', configDef);
  8174. // exposed util methods.
  8175. // NOTE: these are not considered part of the public API - avoid relying on
  8176. // them unless you are aware of the risk.
  8177. Vue.util = {
  8178. warn: warn,
  8179. extend: extend,
  8180. mergeOptions: mergeOptions,
  8181. defineReactive: defineReactive$$1
  8182. };
  8183. Vue.set = set;
  8184. Vue.delete = del;
  8185. Vue.nextTick = nextTick;
  8186. // 2.6 explicit observable API
  8187. Vue.observable = function (obj) {
  8188. observe(obj);
  8189. return obj
  8190. };
  8191. Vue.options = Object.create(null);
  8192. ASSET_TYPES.forEach(function (type) {
  8193. Vue.options[type + 's'] = Object.create(null);
  8194. });
  8195. // this is used to identify the "base" constructor to extend all plain-object
  8196. // components with in Weex's multi-instance scenarios.
  8197. Vue.options._base = Vue;
  8198. extend(Vue.options.components, builtInComponents);
  8199. initUse(Vue);
  8200. initMixin$1(Vue);
  8201. initExtend(Vue);
  8202. initAssetRegisters(Vue);
  8203. }
  8204. initGlobalAPI(Vue);
  8205. Object.defineProperty(Vue.prototype, '$isServer', {
  8206. get: isServerRendering
  8207. });
  8208. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8209. get: function get () {
  8210. /* istanbul ignore next */
  8211. return this.$vnode && this.$vnode.ssrContext
  8212. }
  8213. });
  8214. // expose FunctionalRenderContext for ssr runtime helper installation
  8215. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8216. value: FunctionalRenderContext
  8217. });
  8218. Vue.version = '2.6.11';
  8219. /**
  8220. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8221. */
  8222. var ARRAYTYPE = '[object Array]';
  8223. var OBJECTTYPE = '[object Object]';
  8224. var NULLTYPE = '[object Null]';
  8225. var UNDEFINEDTYPE = '[object Undefined]';
  8226. // const FUNCTIONTYPE = '[object Function]'
  8227. function diff(current, pre) {
  8228. var result = {};
  8229. syncKeys(current, pre);
  8230. _diff(current, pre, '', result);
  8231. return result
  8232. }
  8233. function syncKeys(current, pre) {
  8234. if (current === pre) { return }
  8235. var rootCurrentType = type(current);
  8236. var rootPreType = type(pre);
  8237. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8238. if(Object.keys(current).length >= Object.keys(pre).length){
  8239. for (var key in pre) {
  8240. var currentValue = current[key];
  8241. if (currentValue === undefined) {
  8242. current[key] = null;
  8243. } else {
  8244. syncKeys(currentValue, pre[key]);
  8245. }
  8246. }
  8247. }
  8248. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8249. if (current.length >= pre.length) {
  8250. pre.forEach(function (item, index) {
  8251. syncKeys(current[index], item);
  8252. });
  8253. }
  8254. }
  8255. }
  8256. function nullOrUndefined(currentType, preType) {
  8257. if(
  8258. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8259. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8260. ) {
  8261. return false
  8262. }
  8263. return true
  8264. }
  8265. function _diff(current, pre, path, result) {
  8266. if (current === pre) { return }
  8267. var rootCurrentType = type(current);
  8268. var rootPreType = type(pre);
  8269. if (rootCurrentType == OBJECTTYPE) {
  8270. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8271. setResult(result, path, current);
  8272. } else {
  8273. var loop = function ( key ) {
  8274. var currentValue = current[key];
  8275. var preValue = pre[key];
  8276. var currentType = type(currentValue);
  8277. var preType = type(preValue);
  8278. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8279. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8280. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8281. }
  8282. } else if (currentType == ARRAYTYPE) {
  8283. if (preType != ARRAYTYPE) {
  8284. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8285. } else {
  8286. if (currentValue.length < preValue.length) {
  8287. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8288. } else {
  8289. currentValue.forEach(function (item, index) {
  8290. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8291. });
  8292. }
  8293. }
  8294. } else if (currentType == OBJECTTYPE) {
  8295. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8296. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8297. } else {
  8298. for (var subKey in currentValue) {
  8299. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8300. }
  8301. }
  8302. }
  8303. };
  8304. for (var key in current) loop( key );
  8305. }
  8306. } else if (rootCurrentType == ARRAYTYPE) {
  8307. if (rootPreType != ARRAYTYPE) {
  8308. setResult(result, path, current);
  8309. } else {
  8310. if (current.length < pre.length) {
  8311. setResult(result, path, current);
  8312. } else {
  8313. current.forEach(function (item, index) {
  8314. _diff(item, pre[index], path + '[' + index + ']', result);
  8315. });
  8316. }
  8317. }
  8318. } else {
  8319. setResult(result, path, current);
  8320. }
  8321. }
  8322. function setResult(result, k, v) {
  8323. // if (type(v) != FUNCTIONTYPE) {
  8324. result[k] = v;
  8325. // }
  8326. }
  8327. function type(obj) {
  8328. return Object.prototype.toString.call(obj)
  8329. }
  8330. /* */
  8331. function flushCallbacks$1(vm) {
  8332. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8333. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8334. var mpInstance = vm.$scope;
  8335. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8336. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8337. }
  8338. var copies = vm.__next_tick_callbacks.slice(0);
  8339. vm.__next_tick_callbacks.length = 0;
  8340. for (var i = 0; i < copies.length; i++) {
  8341. copies[i]();
  8342. }
  8343. }
  8344. }
  8345. function hasRenderWatcher(vm) {
  8346. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8347. }
  8348. function nextTick$1(vm, cb) {
  8349. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8350. //2.nextTick 之前存在 render watcher
  8351. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8352. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8353. var mpInstance = vm.$scope;
  8354. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8355. ']:nextVueTick');
  8356. }
  8357. return nextTick(cb, vm)
  8358. }else{
  8359. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8360. var mpInstance$1 = vm.$scope;
  8361. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8362. ']:nextMPTick');
  8363. }
  8364. }
  8365. var _resolve;
  8366. if (!vm.__next_tick_callbacks) {
  8367. vm.__next_tick_callbacks = [];
  8368. }
  8369. vm.__next_tick_callbacks.push(function () {
  8370. if (cb) {
  8371. try {
  8372. cb.call(vm);
  8373. } catch (e) {
  8374. handleError(e, vm, 'nextTick');
  8375. }
  8376. } else if (_resolve) {
  8377. _resolve(vm);
  8378. }
  8379. });
  8380. // $flow-disable-line
  8381. if (!cb && typeof Promise !== 'undefined') {
  8382. return new Promise(function (resolve) {
  8383. _resolve = resolve;
  8384. })
  8385. }
  8386. }
  8387. /* */
  8388. function clearInstance(key, value) {
  8389. // 简易去除 Vue 和小程序组件实例
  8390. if (value) {
  8391. if (value._isVue || value.__v_isMPComponent) {
  8392. return {}
  8393. }
  8394. }
  8395. return value
  8396. }
  8397. function cloneWithData(vm) {
  8398. // 确保当前 vm 所有数据被同步
  8399. var ret = Object.create(null);
  8400. var dataKeys = [].concat(
  8401. Object.keys(vm._data || {}),
  8402. Object.keys(vm._computedWatchers || {}));
  8403. dataKeys.reduce(function(ret, key) {
  8404. ret[key] = vm[key];
  8405. return ret
  8406. }, ret);
  8407. // vue-composition-api
  8408. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8409. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8410. if (rawBindings) {
  8411. Object.keys(rawBindings).forEach(function (key) {
  8412. ret[key] = vm[key];
  8413. });
  8414. }
  8415. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8416. Object.assign(ret, vm.$mp.data || {});
  8417. if (
  8418. Array.isArray(vm.$options.behaviors) &&
  8419. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8420. ) { //form-field
  8421. ret['name'] = vm.name;
  8422. ret['value'] = vm.value;
  8423. }
  8424. return JSON.parse(JSON.stringify(ret, clearInstance))
  8425. }
  8426. var patch = function(oldVnode, vnode) {
  8427. var this$1 = this;
  8428. if (vnode === null) { //destroy
  8429. return
  8430. }
  8431. if (this.mpType === 'page' || this.mpType === 'component') {
  8432. var mpInstance = this.$scope;
  8433. var data = Object.create(null);
  8434. try {
  8435. data = cloneWithData(this);
  8436. } catch (err) {
  8437. console.error(err);
  8438. }
  8439. data.__webviewId__ = mpInstance.data.__webviewId__;
  8440. var mpData = Object.create(null);
  8441. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8442. mpData[key] = mpInstance.data[key];
  8443. });
  8444. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8445. if (Object.keys(diffData).length) {
  8446. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"travel_applet","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8447. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8448. ']差量更新',
  8449. JSON.stringify(diffData));
  8450. }
  8451. this.__next_tick_pending = true;
  8452. mpInstance.setData(diffData, function () {
  8453. this$1.__next_tick_pending = false;
  8454. flushCallbacks$1(this$1);
  8455. });
  8456. } else {
  8457. flushCallbacks$1(this);
  8458. }
  8459. }
  8460. };
  8461. /* */
  8462. function createEmptyRender() {
  8463. }
  8464. function mountComponent$1(
  8465. vm,
  8466. el,
  8467. hydrating
  8468. ) {
  8469. if (!vm.mpType) {//main.js 中的 new Vue
  8470. return vm
  8471. }
  8472. if (vm.mpType === 'app') {
  8473. vm.$options.render = createEmptyRender;
  8474. }
  8475. if (!vm.$options.render) {
  8476. vm.$options.render = createEmptyRender;
  8477. if (true) {
  8478. /* istanbul ignore if */
  8479. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8480. vm.$options.el || el) {
  8481. warn(
  8482. 'You are using the runtime-only build of Vue where the template ' +
  8483. 'compiler is not available. Either pre-compile the templates into ' +
  8484. 'render functions, or use the compiler-included build.',
  8485. vm
  8486. );
  8487. } else {
  8488. warn(
  8489. 'Failed to mount component: template or render function not defined.',
  8490. vm
  8491. );
  8492. }
  8493. }
  8494. }
  8495. !vm._$fallback && callHook(vm, 'beforeMount');
  8496. var updateComponent = function () {
  8497. vm._update(vm._render(), hydrating);
  8498. };
  8499. // we set this to vm._watcher inside the watcher's constructor
  8500. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8501. // component's mounted hook), which relies on vm._watcher being already defined
  8502. new Watcher(vm, updateComponent, noop, {
  8503. before: function before() {
  8504. if (vm._isMounted && !vm._isDestroyed) {
  8505. callHook(vm, 'beforeUpdate');
  8506. }
  8507. }
  8508. }, true /* isRenderWatcher */);
  8509. hydrating = false;
  8510. return vm
  8511. }
  8512. /* */
  8513. function renderClass (
  8514. staticClass,
  8515. dynamicClass
  8516. ) {
  8517. if (isDef(staticClass) || isDef(dynamicClass)) {
  8518. return concat(staticClass, stringifyClass(dynamicClass))
  8519. }
  8520. /* istanbul ignore next */
  8521. return ''
  8522. }
  8523. function concat (a, b) {
  8524. return a ? b ? (a + ' ' + b) : a : (b || '')
  8525. }
  8526. function stringifyClass (value) {
  8527. if (Array.isArray(value)) {
  8528. return stringifyArray(value)
  8529. }
  8530. if (isObject(value)) {
  8531. return stringifyObject(value)
  8532. }
  8533. if (typeof value === 'string') {
  8534. return value
  8535. }
  8536. /* istanbul ignore next */
  8537. return ''
  8538. }
  8539. function stringifyArray (value) {
  8540. var res = '';
  8541. var stringified;
  8542. for (var i = 0, l = value.length; i < l; i++) {
  8543. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8544. if (res) { res += ' '; }
  8545. res += stringified;
  8546. }
  8547. }
  8548. return res
  8549. }
  8550. function stringifyObject (value) {
  8551. var res = '';
  8552. for (var key in value) {
  8553. if (value[key]) {
  8554. if (res) { res += ' '; }
  8555. res += key;
  8556. }
  8557. }
  8558. return res
  8559. }
  8560. /* */
  8561. var parseStyleText = cached(function (cssText) {
  8562. var res = {};
  8563. var listDelimiter = /;(?![^(]*\))/g;
  8564. var propertyDelimiter = /:(.+)/;
  8565. cssText.split(listDelimiter).forEach(function (item) {
  8566. if (item) {
  8567. var tmp = item.split(propertyDelimiter);
  8568. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8569. }
  8570. });
  8571. return res
  8572. });
  8573. // normalize possible array / string values into Object
  8574. function normalizeStyleBinding (bindingStyle) {
  8575. if (Array.isArray(bindingStyle)) {
  8576. return toObject(bindingStyle)
  8577. }
  8578. if (typeof bindingStyle === 'string') {
  8579. return parseStyleText(bindingStyle)
  8580. }
  8581. return bindingStyle
  8582. }
  8583. /* */
  8584. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8585. function getTarget(obj, path) {
  8586. var parts = path.split('.');
  8587. var key = parts[0];
  8588. if (key.indexOf('__$n') === 0) { //number index
  8589. key = parseInt(key.replace('__$n', ''));
  8590. }
  8591. if (parts.length === 1) {
  8592. return obj[key]
  8593. }
  8594. return getTarget(obj[key], parts.slice(1).join('.'))
  8595. }
  8596. function internalMixin(Vue) {
  8597. Vue.config.errorHandler = function(err, vm, info) {
  8598. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8599. console.error(err);
  8600. /* eslint-disable no-undef */
  8601. var app = typeof getApp === 'function' && getApp();
  8602. if (app && app.onError) {
  8603. app.onError(err);
  8604. }
  8605. };
  8606. var oldEmit = Vue.prototype.$emit;
  8607. Vue.prototype.$emit = function(event) {
  8608. if (this.$scope && event) {
  8609. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8610. if (triggerEvent) {
  8611. try {
  8612. triggerEvent.call(this.$scope, event, {
  8613. __args__: toArray(arguments, 1)
  8614. });
  8615. } catch (error) {
  8616. }
  8617. }
  8618. }
  8619. return oldEmit.apply(this, arguments)
  8620. };
  8621. Vue.prototype.$nextTick = function(fn) {
  8622. return nextTick$1(this, fn)
  8623. };
  8624. MP_METHODS.forEach(function (method) {
  8625. Vue.prototype[method] = function(args) {
  8626. if (this.$scope && this.$scope[method]) {
  8627. return this.$scope[method](args)
  8628. }
  8629. // mp-alipay
  8630. if (typeof my === 'undefined') {
  8631. return
  8632. }
  8633. if (method === 'createSelectorQuery') {
  8634. /* eslint-disable no-undef */
  8635. return my.createSelectorQuery(args)
  8636. } else if (method === 'createIntersectionObserver') {
  8637. /* eslint-disable no-undef */
  8638. return my.createIntersectionObserver(args)
  8639. }
  8640. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8641. };
  8642. });
  8643. Vue.prototype.__init_provide = initProvide;
  8644. Vue.prototype.__init_injections = initInjections;
  8645. Vue.prototype.__call_hook = function(hook, args) {
  8646. var vm = this;
  8647. // #7573 disable dep collection when invoking lifecycle hooks
  8648. pushTarget();
  8649. var handlers = vm.$options[hook];
  8650. var info = hook + " hook";
  8651. var ret;
  8652. if (handlers) {
  8653. for (var i = 0, j = handlers.length; i < j; i++) {
  8654. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8655. }
  8656. }
  8657. if (vm._hasHookEvent) {
  8658. vm.$emit('hook:' + hook, args);
  8659. }
  8660. popTarget();
  8661. return ret
  8662. };
  8663. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8664. if (Array.isArray(modifiers)) {
  8665. if (modifiers.indexOf('trim') !== -1) {
  8666. value = value.trim();
  8667. }
  8668. if (modifiers.indexOf('number') !== -1) {
  8669. value = this._n(value);
  8670. }
  8671. }
  8672. if (!target) {
  8673. target = this;
  8674. }
  8675. // 解决动态属性添加
  8676. Vue.set(target, key, value);
  8677. };
  8678. Vue.prototype.__set_sync = function(target, key, value) {
  8679. if (!target) {
  8680. target = this;
  8681. }
  8682. // 解决动态属性添加
  8683. Vue.set(target, key, value);
  8684. };
  8685. Vue.prototype.__get_orig = function(item) {
  8686. if (isPlainObject(item)) {
  8687. return item['$orig'] || item
  8688. }
  8689. return item
  8690. };
  8691. Vue.prototype.__get_value = function(dataPath, target) {
  8692. return getTarget(target || this, dataPath)
  8693. };
  8694. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8695. return renderClass(staticClass, dynamicClass)
  8696. };
  8697. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8698. if (!dynamicStyle && !staticStyle) {
  8699. return ''
  8700. }
  8701. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8702. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8703. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8704. };
  8705. Vue.prototype.__map = function(val, iteratee) {
  8706. //TODO 暂不考虑 string
  8707. var ret, i, l, keys, key;
  8708. if (Array.isArray(val)) {
  8709. ret = new Array(val.length);
  8710. for (i = 0, l = val.length; i < l; i++) {
  8711. ret[i] = iteratee(val[i], i);
  8712. }
  8713. return ret
  8714. } else if (isObject(val)) {
  8715. keys = Object.keys(val);
  8716. ret = Object.create(null);
  8717. for (i = 0, l = keys.length; i < l; i++) {
  8718. key = keys[i];
  8719. ret[key] = iteratee(val[key], key, i);
  8720. }
  8721. return ret
  8722. } else if (typeof val === 'number') {
  8723. ret = new Array(val);
  8724. for (i = 0, l = val; i < l; i++) {
  8725. // 第一个参数暂时仍和小程序一致
  8726. ret[i] = iteratee(i, i);
  8727. }
  8728. return ret
  8729. }
  8730. return []
  8731. };
  8732. }
  8733. /* */
  8734. var LIFECYCLE_HOOKS$1 = [
  8735. //App
  8736. 'onLaunch',
  8737. 'onShow',
  8738. 'onHide',
  8739. 'onUniNViewMessage',
  8740. 'onPageNotFound',
  8741. 'onThemeChange',
  8742. 'onError',
  8743. 'onUnhandledRejection',
  8744. //Page
  8745. 'onInit',
  8746. 'onLoad',
  8747. // 'onShow',
  8748. 'onReady',
  8749. // 'onHide',
  8750. 'onUnload',
  8751. 'onPullDownRefresh',
  8752. 'onReachBottom',
  8753. 'onTabItemTap',
  8754. 'onAddToFavorites',
  8755. 'onShareTimeline',
  8756. 'onShareAppMessage',
  8757. 'onResize',
  8758. 'onPageScroll',
  8759. 'onNavigationBarButtonTap',
  8760. 'onBackPress',
  8761. 'onNavigationBarSearchInputChanged',
  8762. 'onNavigationBarSearchInputConfirmed',
  8763. 'onNavigationBarSearchInputClicked',
  8764. 'onUploadDouyinVideo',
  8765. 'onNFCReadMessage',
  8766. //Component
  8767. // 'onReady', // 兼容旧版本,应该移除该事件
  8768. 'onPageShow',
  8769. 'onPageHide',
  8770. 'onPageResize'
  8771. ];
  8772. function lifecycleMixin$1(Vue) {
  8773. //fixed vue-class-component
  8774. var oldExtend = Vue.extend;
  8775. Vue.extend = function(extendOptions) {
  8776. extendOptions = extendOptions || {};
  8777. var methods = extendOptions.methods;
  8778. if (methods) {
  8779. Object.keys(methods).forEach(function (methodName) {
  8780. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8781. extendOptions[methodName] = methods[methodName];
  8782. delete methods[methodName];
  8783. }
  8784. });
  8785. }
  8786. return oldExtend.call(this, extendOptions)
  8787. };
  8788. var strategies = Vue.config.optionMergeStrategies;
  8789. var mergeHook = strategies.created;
  8790. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8791. strategies[hook] = mergeHook;
  8792. });
  8793. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8794. }
  8795. /* */
  8796. // install platform patch function
  8797. Vue.prototype.__patch__ = patch;
  8798. // public mount method
  8799. Vue.prototype.$mount = function(
  8800. el ,
  8801. hydrating
  8802. ) {
  8803. return mountComponent$1(this, el, hydrating)
  8804. };
  8805. lifecycleMixin$1(Vue);
  8806. internalMixin(Vue);
  8807. /* */
  8808. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8809. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8810. /***/ }),
  8811. /* 26 */
  8812. /*!*************************************************!*\
  8813. !*** D:/project/神鹿峰旅游/travel_applet/pages.json ***!
  8814. \*************************************************/
  8815. /*! no static exports found */
  8816. /***/ (function(module, exports) {
  8817. /***/ }),
  8818. /* 27 */,
  8819. /* 28 */,
  8820. /* 29 */,
  8821. /* 30 */
  8822. /*!************************************************************************************************!*\
  8823. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  8824. \************************************************************************************************/
  8825. /*! no static exports found */
  8826. /***/ (function(module, exports, __webpack_require__) {
  8827. // TODO(Babel 8): Remove this file.
  8828. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 31)();
  8829. module.exports = runtime;
  8830. /***/ }),
  8831. /* 31 */
  8832. /*!*******************************************************************!*\
  8833. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  8834. \*******************************************************************/
  8835. /*! no static exports found */
  8836. /***/ (function(module, exports, __webpack_require__) {
  8837. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  8838. function _regeneratorRuntime() {
  8839. "use strict";
  8840. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  8841. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  8842. return exports;
  8843. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  8844. var exports = {},
  8845. Op = Object.prototype,
  8846. hasOwn = Op.hasOwnProperty,
  8847. defineProperty = Object.defineProperty || function (obj, key, desc) {
  8848. obj[key] = desc.value;
  8849. },
  8850. $Symbol = "function" == typeof Symbol ? Symbol : {},
  8851. iteratorSymbol = $Symbol.iterator || "@@iterator",
  8852. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  8853. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  8854. function define(obj, key, value) {
  8855. return Object.defineProperty(obj, key, {
  8856. value: value,
  8857. enumerable: !0,
  8858. configurable: !0,
  8859. writable: !0
  8860. }), obj[key];
  8861. }
  8862. try {
  8863. define({}, "");
  8864. } catch (err) {
  8865. define = function define(obj, key, value) {
  8866. return obj[key] = value;
  8867. };
  8868. }
  8869. function wrap(innerFn, outerFn, self, tryLocsList) {
  8870. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  8871. generator = Object.create(protoGenerator.prototype),
  8872. context = new Context(tryLocsList || []);
  8873. return defineProperty(generator, "_invoke", {
  8874. value: makeInvokeMethod(innerFn, self, context)
  8875. }), generator;
  8876. }
  8877. function tryCatch(fn, obj, arg) {
  8878. try {
  8879. return {
  8880. type: "normal",
  8881. arg: fn.call(obj, arg)
  8882. };
  8883. } catch (err) {
  8884. return {
  8885. type: "throw",
  8886. arg: err
  8887. };
  8888. }
  8889. }
  8890. exports.wrap = wrap;
  8891. var ContinueSentinel = {};
  8892. function Generator() {}
  8893. function GeneratorFunction() {}
  8894. function GeneratorFunctionPrototype() {}
  8895. var IteratorPrototype = {};
  8896. define(IteratorPrototype, iteratorSymbol, function () {
  8897. return this;
  8898. });
  8899. var getProto = Object.getPrototypeOf,
  8900. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  8901. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  8902. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  8903. function defineIteratorMethods(prototype) {
  8904. ["next", "throw", "return"].forEach(function (method) {
  8905. define(prototype, method, function (arg) {
  8906. return this._invoke(method, arg);
  8907. });
  8908. });
  8909. }
  8910. function AsyncIterator(generator, PromiseImpl) {
  8911. function invoke(method, arg, resolve, reject) {
  8912. var record = tryCatch(generator[method], generator, arg);
  8913. if ("throw" !== record.type) {
  8914. var result = record.arg,
  8915. value = result.value;
  8916. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  8917. invoke("next", value, resolve, reject);
  8918. }, function (err) {
  8919. invoke("throw", err, resolve, reject);
  8920. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  8921. result.value = unwrapped, resolve(result);
  8922. }, function (error) {
  8923. return invoke("throw", error, resolve, reject);
  8924. });
  8925. }
  8926. reject(record.arg);
  8927. }
  8928. var previousPromise;
  8929. defineProperty(this, "_invoke", {
  8930. value: function value(method, arg) {
  8931. function callInvokeWithMethodAndArg() {
  8932. return new PromiseImpl(function (resolve, reject) {
  8933. invoke(method, arg, resolve, reject);
  8934. });
  8935. }
  8936. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  8937. }
  8938. });
  8939. }
  8940. function makeInvokeMethod(innerFn, self, context) {
  8941. var state = "suspendedStart";
  8942. return function (method, arg) {
  8943. if ("executing" === state) throw new Error("Generator is already running");
  8944. if ("completed" === state) {
  8945. if ("throw" === method) throw arg;
  8946. return doneResult();
  8947. }
  8948. for (context.method = method, context.arg = arg;;) {
  8949. var delegate = context.delegate;
  8950. if (delegate) {
  8951. var delegateResult = maybeInvokeDelegate(delegate, context);
  8952. if (delegateResult) {
  8953. if (delegateResult === ContinueSentinel) continue;
  8954. return delegateResult;
  8955. }
  8956. }
  8957. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  8958. if ("suspendedStart" === state) throw state = "completed", context.arg;
  8959. context.dispatchException(context.arg);
  8960. } else "return" === context.method && context.abrupt("return", context.arg);
  8961. state = "executing";
  8962. var record = tryCatch(innerFn, self, context);
  8963. if ("normal" === record.type) {
  8964. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  8965. return {
  8966. value: record.arg,
  8967. done: context.done
  8968. };
  8969. }
  8970. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  8971. }
  8972. };
  8973. }
  8974. function maybeInvokeDelegate(delegate, context) {
  8975. var methodName = context.method,
  8976. method = delegate.iterator[methodName];
  8977. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  8978. var record = tryCatch(method, delegate.iterator, context.arg);
  8979. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  8980. var info = record.arg;
  8981. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  8982. }
  8983. function pushTryEntry(locs) {
  8984. var entry = {
  8985. tryLoc: locs[0]
  8986. };
  8987. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  8988. }
  8989. function resetTryEntry(entry) {
  8990. var record = entry.completion || {};
  8991. record.type = "normal", delete record.arg, entry.completion = record;
  8992. }
  8993. function Context(tryLocsList) {
  8994. this.tryEntries = [{
  8995. tryLoc: "root"
  8996. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  8997. }
  8998. function values(iterable) {
  8999. if (iterable) {
  9000. var iteratorMethod = iterable[iteratorSymbol];
  9001. if (iteratorMethod) return iteratorMethod.call(iterable);
  9002. if ("function" == typeof iterable.next) return iterable;
  9003. if (!isNaN(iterable.length)) {
  9004. var i = -1,
  9005. next = function next() {
  9006. for (; ++i < iterable.length;) {
  9007. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  9008. }
  9009. return next.value = undefined, next.done = !0, next;
  9010. };
  9011. return next.next = next;
  9012. }
  9013. }
  9014. return {
  9015. next: doneResult
  9016. };
  9017. }
  9018. function doneResult() {
  9019. return {
  9020. value: undefined,
  9021. done: !0
  9022. };
  9023. }
  9024. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  9025. value: GeneratorFunctionPrototype,
  9026. configurable: !0
  9027. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  9028. value: GeneratorFunction,
  9029. configurable: !0
  9030. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  9031. var ctor = "function" == typeof genFun && genFun.constructor;
  9032. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  9033. }, exports.mark = function (genFun) {
  9034. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  9035. }, exports.awrap = function (arg) {
  9036. return {
  9037. __await: arg
  9038. };
  9039. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  9040. return this;
  9041. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  9042. void 0 === PromiseImpl && (PromiseImpl = Promise);
  9043. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  9044. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  9045. return result.done ? result.value : iter.next();
  9046. });
  9047. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  9048. return this;
  9049. }), define(Gp, "toString", function () {
  9050. return "[object Generator]";
  9051. }), exports.keys = function (val) {
  9052. var object = Object(val),
  9053. keys = [];
  9054. for (var key in object) {
  9055. keys.push(key);
  9056. }
  9057. return keys.reverse(), function next() {
  9058. for (; keys.length;) {
  9059. var key = keys.pop();
  9060. if (key in object) return next.value = key, next.done = !1, next;
  9061. }
  9062. return next.done = !0, next;
  9063. };
  9064. }, exports.values = values, Context.prototype = {
  9065. constructor: Context,
  9066. reset: function reset(skipTempReset) {
  9067. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  9068. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  9069. }
  9070. },
  9071. stop: function stop() {
  9072. this.done = !0;
  9073. var rootRecord = this.tryEntries[0].completion;
  9074. if ("throw" === rootRecord.type) throw rootRecord.arg;
  9075. return this.rval;
  9076. },
  9077. dispatchException: function dispatchException(exception) {
  9078. if (this.done) throw exception;
  9079. var context = this;
  9080. function handle(loc, caught) {
  9081. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  9082. }
  9083. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9084. var entry = this.tryEntries[i],
  9085. record = entry.completion;
  9086. if ("root" === entry.tryLoc) return handle("end");
  9087. if (entry.tryLoc <= this.prev) {
  9088. var hasCatch = hasOwn.call(entry, "catchLoc"),
  9089. hasFinally = hasOwn.call(entry, "finallyLoc");
  9090. if (hasCatch && hasFinally) {
  9091. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9092. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9093. } else if (hasCatch) {
  9094. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9095. } else {
  9096. if (!hasFinally) throw new Error("try statement without catch or finally");
  9097. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9098. }
  9099. }
  9100. }
  9101. },
  9102. abrupt: function abrupt(type, arg) {
  9103. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9104. var entry = this.tryEntries[i];
  9105. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  9106. var finallyEntry = entry;
  9107. break;
  9108. }
  9109. }
  9110. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  9111. var record = finallyEntry ? finallyEntry.completion : {};
  9112. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  9113. },
  9114. complete: function complete(record, afterLoc) {
  9115. if ("throw" === record.type) throw record.arg;
  9116. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  9117. },
  9118. finish: function finish(finallyLoc) {
  9119. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9120. var entry = this.tryEntries[i];
  9121. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  9122. }
  9123. },
  9124. "catch": function _catch(tryLoc) {
  9125. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9126. var entry = this.tryEntries[i];
  9127. if (entry.tryLoc === tryLoc) {
  9128. var record = entry.completion;
  9129. if ("throw" === record.type) {
  9130. var thrown = record.arg;
  9131. resetTryEntry(entry);
  9132. }
  9133. return thrown;
  9134. }
  9135. }
  9136. throw new Error("illegal catch attempt");
  9137. },
  9138. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  9139. return this.delegate = {
  9140. iterator: values(iterable),
  9141. resultName: resultName,
  9142. nextLoc: nextLoc
  9143. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  9144. }
  9145. }, exports;
  9146. }
  9147. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9148. /***/ }),
  9149. /* 32 */
  9150. /*!*****************************************************************!*\
  9151. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  9152. \*****************************************************************/
  9153. /*! no static exports found */
  9154. /***/ (function(module, exports) {
  9155. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  9156. try {
  9157. var info = gen[key](arg);
  9158. var value = info.value;
  9159. } catch (error) {
  9160. reject(error);
  9161. return;
  9162. }
  9163. if (info.done) {
  9164. resolve(value);
  9165. } else {
  9166. Promise.resolve(value).then(_next, _throw);
  9167. }
  9168. }
  9169. function _asyncToGenerator(fn) {
  9170. return function () {
  9171. var self = this,
  9172. args = arguments;
  9173. return new Promise(function (resolve, reject) {
  9174. var gen = fn.apply(self, args);
  9175. function _next(value) {
  9176. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  9177. }
  9178. function _throw(err) {
  9179. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  9180. }
  9181. _next(undefined);
  9182. });
  9183. };
  9184. }
  9185. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9186. /***/ }),
  9187. /* 33 */,
  9188. /* 34 */,
  9189. /* 35 */
  9190. /*!**********************************************************************************************************!*\
  9191. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  9192. \**********************************************************************************************************/
  9193. /*! exports provided: default */
  9194. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9195. "use strict";
  9196. __webpack_require__.r(__webpack_exports__);
  9197. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  9198. /* globals __VUE_SSR_CONTEXT__ */
  9199. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  9200. // This module is a runtime utility for cleaner component module output and will
  9201. // be included in the final webpack user bundle.
  9202. function normalizeComponent (
  9203. scriptExports,
  9204. render,
  9205. staticRenderFns,
  9206. functionalTemplate,
  9207. injectStyles,
  9208. scopeId,
  9209. moduleIdentifier, /* server only */
  9210. shadowMode, /* vue-cli only */
  9211. components, // fixed by xxxxxx auto components
  9212. renderjs // fixed by xxxxxx renderjs
  9213. ) {
  9214. // Vue.extend constructor export interop
  9215. var options = typeof scriptExports === 'function'
  9216. ? scriptExports.options
  9217. : scriptExports
  9218. // fixed by xxxxxx auto components
  9219. if (components) {
  9220. if (!options.components) {
  9221. options.components = {}
  9222. }
  9223. var hasOwn = Object.prototype.hasOwnProperty
  9224. for (var name in components) {
  9225. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  9226. options.components[name] = components[name]
  9227. }
  9228. }
  9229. }
  9230. // fixed by xxxxxx renderjs
  9231. if (renderjs) {
  9232. if(typeof renderjs.beforeCreate === 'function'){
  9233. renderjs.beforeCreate = [renderjs.beforeCreate]
  9234. }
  9235. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  9236. this[renderjs.__module] = this
  9237. });
  9238. (options.mixins || (options.mixins = [])).push(renderjs)
  9239. }
  9240. // render functions
  9241. if (render) {
  9242. options.render = render
  9243. options.staticRenderFns = staticRenderFns
  9244. options._compiled = true
  9245. }
  9246. // functional template
  9247. if (functionalTemplate) {
  9248. options.functional = true
  9249. }
  9250. // scopedId
  9251. if (scopeId) {
  9252. options._scopeId = 'data-v-' + scopeId
  9253. }
  9254. var hook
  9255. if (moduleIdentifier) { // server build
  9256. hook = function (context) {
  9257. // 2.3 injection
  9258. context =
  9259. context || // cached call
  9260. (this.$vnode && this.$vnode.ssrContext) || // stateful
  9261. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  9262. // 2.2 with runInNewContext: true
  9263. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  9264. context = __VUE_SSR_CONTEXT__
  9265. }
  9266. // inject component styles
  9267. if (injectStyles) {
  9268. injectStyles.call(this, context)
  9269. }
  9270. // register component module identifier for async chunk inferrence
  9271. if (context && context._registeredComponents) {
  9272. context._registeredComponents.add(moduleIdentifier)
  9273. }
  9274. }
  9275. // used by ssr in case component is cached and beforeCreate
  9276. // never gets called
  9277. options._ssrRegister = hook
  9278. } else if (injectStyles) {
  9279. hook = shadowMode
  9280. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  9281. : injectStyles
  9282. }
  9283. if (hook) {
  9284. if (options.functional) {
  9285. // for template-only hot-reload because in that case the render fn doesn't
  9286. // go through the normalizer
  9287. options._injectStyles = hook
  9288. // register for functioal component in vue file
  9289. var originalRender = options.render
  9290. options.render = function renderWithStyleInjection (h, context) {
  9291. hook.call(context)
  9292. return originalRender(h, context)
  9293. }
  9294. } else {
  9295. // inject component registration as beforeCreate hook
  9296. var existing = options.beforeCreate
  9297. options.beforeCreate = existing
  9298. ? [].concat(existing, hook)
  9299. : [hook]
  9300. }
  9301. }
  9302. return {
  9303. exports: scriptExports,
  9304. options: options
  9305. }
  9306. }
  9307. /***/ }),
  9308. /* 36 */
  9309. /*!****************************************************!*\
  9310. !*** D:/project/神鹿峰旅游/travel_applet/common/api.js ***!
  9311. \****************************************************/
  9312. /*! no static exports found */
  9313. /***/ (function(module, exports, __webpack_require__) {
  9314. "use strict";
  9315. /* WEBPACK VAR INJECTION */(function(uni) {
  9316. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9317. Object.defineProperty(exports, "__esModule", {
  9318. value: true
  9319. });
  9320. exports.requestFile = exports.requestBase = exports.getToken = void 0;
  9321. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
  9322. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
  9323. var _config = _interopRequireDefault(__webpack_require__(/*! ../config.js */ 37));
  9324. var getDomain = function getDomain(uri, method, type) {
  9325. var wx_env = _config.default.wx_miniProgram;
  9326. var system = _config.default.system;
  9327. var url = _config.default.serverUrl;
  9328. var Fileurl = _config.default.serverFile;
  9329. if (type && type == 'file') return Fileurl + "/files" + uri;
  9330. if (uri.startsWith('/wechat/api')) return 'https://broadcast.waityou24.cn' + uri;else return url + "/travel/v1/api" + uri;
  9331. };
  9332. // 获取token
  9333. var getToken = /*#__PURE__*/function () {
  9334. var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(uri) {
  9335. var method,
  9336. data,
  9337. type,
  9338. baseUrl,
  9339. header,
  9340. _args = arguments;
  9341. return _regenerator.default.wrap(function _callee$(_context) {
  9342. while (1) {
  9343. switch (_context.prev = _context.next) {
  9344. case 0:
  9345. method = _args.length > 1 && _args[1] !== undefined ? _args[1] : 'GET';
  9346. data = _args.length > 2 ? _args[2] : undefined;
  9347. type = _args.length > 3 ? _args[3] : undefined;
  9348. baseUrl = getDomain(uri, method, type);
  9349. header = {
  9350. token: data.token
  9351. };
  9352. return _context.abrupt("return", new Promise(function (resolve, reject) {
  9353. uni.request({
  9354. url: baseUrl,
  9355. method: method || 'GET',
  9356. data: data || {},
  9357. header: header,
  9358. success: function success(res) {
  9359. resolve(res.data);
  9360. },
  9361. fail: function fail(err) {
  9362. uni.showToast({
  9363. title: '请求接口失败',
  9364. icon: 'fail'
  9365. });
  9366. reject(err.data);
  9367. }
  9368. });
  9369. }));
  9370. case 6:
  9371. case "end":
  9372. return _context.stop();
  9373. }
  9374. }
  9375. }, _callee);
  9376. }));
  9377. return function getToken(_x) {
  9378. return _ref.apply(this, arguments);
  9379. };
  9380. }();
  9381. exports.getToken = getToken;
  9382. var requestBase = /*#__PURE__*/function () {
  9383. var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(uri) {
  9384. var method,
  9385. data,
  9386. type,
  9387. baseUrl,
  9388. header,
  9389. token,
  9390. _args2 = arguments;
  9391. return _regenerator.default.wrap(function _callee2$(_context2) {
  9392. while (1) {
  9393. switch (_context2.prev = _context2.next) {
  9394. case 0:
  9395. method = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : 'GET';
  9396. data = _args2.length > 2 ? _args2[2] : undefined;
  9397. type = _args2.length > 3 ? _args2[3] : undefined;
  9398. baseUrl = getDomain(uri, method, type);
  9399. header = {};
  9400. token = uni.getStorageSync('token');
  9401. if (token) header.token = token;
  9402. return _context2.abrupt("return", new Promise(function (resolve, reject) {
  9403. uni.request({
  9404. url: baseUrl,
  9405. method: method || 'GET',
  9406. data: data || {},
  9407. header: header,
  9408. success: function success(res) {
  9409. resolve(res.data);
  9410. },
  9411. fail: function fail(err) {
  9412. uni.showToast({
  9413. title: '请求接口失败',
  9414. icon: 'fail'
  9415. });
  9416. reject(err.data);
  9417. }
  9418. });
  9419. }));
  9420. case 8:
  9421. case "end":
  9422. return _context2.stop();
  9423. }
  9424. }
  9425. }, _callee2);
  9426. }));
  9427. return function requestBase(_x2) {
  9428. return _ref2.apply(this, arguments);
  9429. };
  9430. }();
  9431. exports.requestBase = requestBase;
  9432. var requestFile = function requestFile(uri, method, data, type) {
  9433. var baseUrl = getDomain(uri, method, type);
  9434. return new Promise(function (resolve, reject) {
  9435. uni.uploadFile({
  9436. url: baseUrl,
  9437. filePath: data,
  9438. name: method || 'file',
  9439. formData: {},
  9440. success: function success(res) {
  9441. var data = JSON.parse(res.data);
  9442. if (data.errcode != '0') {
  9443. return uni.showToast({
  9444. title: data.errmsg,
  9445. icon: 'error'
  9446. });
  9447. }
  9448. resolve(data);
  9449. },
  9450. fail: function fail(err) {
  9451. var data = JSON.parse(err.data);
  9452. uni.showToast({
  9453. title: '请求接口失败',
  9454. icon: 'fail'
  9455. });
  9456. reject(data);
  9457. }
  9458. });
  9459. });
  9460. };
  9461. exports.requestFile = requestFile;
  9462. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9463. /***/ }),
  9464. /* 37 */
  9465. /*!************************************************!*\
  9466. !*** D:/project/神鹿峰旅游/travel_applet/config.js ***!
  9467. \************************************************/
  9468. /*! no static exports found */
  9469. /***/ (function(module, exports, __webpack_require__) {
  9470. "use strict";
  9471. /* WEBPACK VAR INJECTION */(function(uni) {
  9472. Object.defineProperty(exports, "__esModule", {
  9473. value: true
  9474. });
  9475. exports.default = void 0;
  9476. // 微信版本
  9477. var wx_min = uni.getAccountInfoSync();
  9478. // 设备信息
  9479. var system = uni.getSystemInfoSync();
  9480. var wx_projectkey = 'travelApp';
  9481. if (system.uniPlatform == 'mp-weixin') {
  9482. var envV = wx_min.miniProgram.envVersion;
  9483. }
  9484. var _default = {
  9485. serverFile: 'https://broadcast.waityou24.cn',
  9486. serverUrl: 'http://192.168.1.113:14001',
  9487. wx_projectkey: wx_projectkey,
  9488. wx_miniProgram: wx_min.miniProgram,
  9489. system: system,
  9490. share: {},
  9491. orderList: [{
  9492. icon: "icon-weibiaoti2fuzhi04",
  9493. title: "待付款",
  9494. status: "0",
  9495. route: "pagesIndex/order/index"
  9496. }, {
  9497. icon: "icon-daishiyong",
  9498. title: "待使用",
  9499. status: "1",
  9500. route: "pagesIndex/order/index"
  9501. }, {
  9502. icon: "icon-daipingjia",
  9503. title: "待评价",
  9504. status: "2",
  9505. route: "pagesIndex/order/index"
  9506. }, {
  9507. icon: "icon-shouhou",
  9508. title: "退款/售后",
  9509. status: "5",
  9510. route: "pagesIndex/order/index"
  9511. }],
  9512. menuList: [{
  9513. icon: "icon-fabu",
  9514. title: "我的作品",
  9515. route: "pagesMy/article/index"
  9516. }, {
  9517. icon: "icon-youhuijuan",
  9518. title: "我的优惠卷",
  9519. route: "pagesMy/coupon/index"
  9520. }, {
  9521. icon: "icon-7yijianfankui",
  9522. title: "意见反馈",
  9523. route: "pagesMy/opinion/index"
  9524. }, {
  9525. icon: "icon-zaixiankefu",
  9526. title: "客服电话",
  9527. route: "pagesMy/service/index"
  9528. }, {
  9529. icon: "icon-zhanghaoshezhi",
  9530. title: "账号设置",
  9531. route: "pagesMy/account/index"
  9532. }],
  9533. china: [
  9534. //全国地址
  9535. {
  9536. name: '北京市',
  9537. city: [{
  9538. name: '北京市',
  9539. area: ['东城区', '西城区', '崇文区', '宣武区', '朝阳区', '丰台区', '石景山区', '海淀区', '门头沟区', '房山区', '通州区', '顺义区', '昌平区', '大兴区', '平谷区', '怀柔区', '密云县', '延庆县']
  9540. }]
  9541. }, {
  9542. name: '天津市',
  9543. city: [{
  9544. name: '天津市',
  9545. area: ['和平区', '河东区', '河西区', '南开区', '河北区', '红桥区', '塘沽区', '汉沽区', '大港区', '东丽区', '西青区', '津南区', '北辰区', '武清区', '宝坻区', '宁河县', '静海县', '蓟 县']
  9546. }]
  9547. }, {
  9548. name: '河北省',
  9549. city: [{
  9550. name: '石家庄市',
  9551. area: ['长安区', '桥东区', '桥西区', '新华区', '郊 区', '井陉矿区', '井陉县', '正定县', '栾城县', '行唐县', '灵寿县', '高邑县', '深泽县', '赞皇县', '无极县', '平山县', '元氏县', '赵 县', '辛集市', '藁', '晋州市', '新乐市', '鹿泉市']
  9552. }, {
  9553. name: '唐山市',
  9554. area: ['路南区', '路北区', '古冶区', '开平区', '新 区', '丰润县', '滦 县', '滦南县', '乐亭县', '迁西县', '玉田县', '唐海县', '遵化市', '丰南市', '迁安市']
  9555. }, {
  9556. name: '秦皇岛市',
  9557. area: ['海港区', '山海关区', '北戴河区', '青龙满族自治县', '昌黎县', '抚宁县', '卢龙县']
  9558. }, {
  9559. name: '邯郸市',
  9560. area: ['邯山区', '丛台区', '复兴区', '峰峰矿区', '邯郸县', '临漳县', '成安县', '大名县', '涉 县', '磁 县', '肥乡县', '永年县', '邱 县', '鸡泽县', '广平县', '馆陶县', '魏 县', '曲周县', '武安市']
  9561. }, {
  9562. name: '邢台市',
  9563. area: ['桥东区', '桥西区', '邢台县', '临城县', '内丘县', '柏乡县', '隆尧县', '任 县', '南和县', '宁晋县', '巨鹿县', '新河县', '广宗县', '平乡县', '威 县', '清河县', '临西县', '南宫市', '沙河市']
  9564. }, {
  9565. name: '保定市',
  9566. area: ['新市区', '北市区', '南市区', '满城县', '清苑县', '涞水县', '阜平县', '徐水县', '定兴县', '唐 县', '高阳县', '容城县', '涞源县', '望都县', '安新县', '易 县', '曲阳县', '蠡 县', '顺平县', '博野', '雄县', '涿州市', '定州市', '安国市', '高碑店市']
  9567. }, {
  9568. name: '张家口',
  9569. area: ['桥东区', '桥西区', '宣化区', '下花园区', '宣化县', '张北县', '康保县', '沽源县', '尚义县', '蔚 县', '阳原县', '怀安县', '万全县', '怀来县', '涿鹿县', '赤城县', '崇礼县']
  9570. }, {
  9571. name: '承德市',
  9572. area: ['双桥区', '双滦区', '鹰手营子矿区', '承德县', '兴隆县', '平泉县', '滦平县', '隆化县', '丰宁满族自治县', '宽城满族自治县', '围场满族蒙古族自治县']
  9573. }, {
  9574. name: '沧州市',
  9575. area: ['新华区', '运河区', '沧 县', '青 县', '东光县', '海兴县', '盐山县', '肃宁县', '南皮县', '吴桥县', '献 县', '孟村回族自治县', '泊头市', '任丘市', '黄骅市', '河间市']
  9576. }, {
  9577. name: '廊坊市',
  9578. area: ['安次区', '固安县', '永清县', '香河县', '大城县', '文安县', '大厂回族自治县', '霸州市', '三河市']
  9579. }, {
  9580. name: '衡水市',
  9581. area: ['桃城区', '枣强县', '武邑县', '武强县', '饶阳县', '安平县', '故城县', '景 县', '阜城县', '冀州市', '深州市']
  9582. }]
  9583. }, {
  9584. name: '山西省',
  9585. city: [{
  9586. name: '太原市',
  9587. area: ['小店区', '迎泽区', '杏花岭区', '尖草坪区', '万柏林区', '晋源区', '清徐县', '阳曲县', '娄烦县', '古交市']
  9588. }, {
  9589. name: '大同市',
  9590. area: ['城 区', '矿 区', '南郊区', '新荣区', '阳高县', '天镇县', '广灵县', '灵丘县', '浑源县', '左云县', '大同县']
  9591. }, {
  9592. name: '阳泉市',
  9593. area: ['城 区', '矿 区', '郊 区', '平定县', '盂 县']
  9594. }, {
  9595. name: '长治市',
  9596. area: ['城 区', '郊 区', '长治县', '襄垣县', '屯留县', '平顺县', '黎城县', '壶关县', '长子县', '武乡县', '沁 县', '沁源县', '潞城市']
  9597. }, {
  9598. name: '晋城市',
  9599. area: ['城 区', '沁水县', '阳城县', '陵川县', '泽州县', '高平市']
  9600. }, {
  9601. name: '朔州市',
  9602. area: ['朔城区', '平鲁区', '山阴县', '应 县', '右玉县', '怀仁县']
  9603. }, {
  9604. name: '忻州市',
  9605. area: ['忻府区', '原平市', '定襄县', '五台县', '代 县', '繁峙县', '宁武县', '静乐县', '神池县', '五寨县', '岢岚县', '河曲县', '保德县', '偏关县']
  9606. }, {
  9607. name: '吕梁市',
  9608. area: ['离石区', '孝义市', '汾阳市', '文水县', '交城县', '兴 县', '临 县', '柳林县', '石楼县', '岚 县', '方山县', '中阳县', '交口县']
  9609. }, {
  9610. name: '晋中市',
  9611. area: ['榆次市', '介休市', '榆社县', '左权县', '和顺县', '昔阳县', '寿阳县', '太谷县', '祁 县', '平遥县', '灵石县']
  9612. }, {
  9613. name: '临汾市',
  9614. area: ['临汾市', '侯马市', '霍州市', '曲沃县', '翼城县', '襄汾县', '洪洞县', '古 县', '安泽县', '浮山县', '吉 县', '乡宁县', '蒲 县', '大宁县', '永和县', '隰 县', '汾西县']
  9615. }, {
  9616. name: '运城市',
  9617. area: ['运城市', '永济市', '河津市', '芮城县', '临猗县', '万荣县', '新绛县', '稷山县', '闻喜县', '夏 县', '绛 县', '平陆县', '垣曲县']
  9618. }]
  9619. }, {
  9620. name: '内蒙古',
  9621. city: [{
  9622. name: '呼和浩特市',
  9623. area: ['新城区', '回民区', '玉泉区', '郊 区', '土默特左旗', '托克托县', '和林格尔县', '清水河县', '武川县']
  9624. }, {
  9625. name: '包头市',
  9626. area: ['东河区', '昆都伦区', '青山区', '石拐矿区', '白云矿区', '郊 区', '土默特右旗', '固阳县', '达尔罕茂明安联合旗']
  9627. }, {
  9628. name: '乌海市',
  9629. area: ['海勃湾区', '海南区', '乌达区']
  9630. }, {
  9631. name: '赤峰市',
  9632. area: ['红山区', '元宝山区', '松山区', '阿鲁科尔沁旗', '巴林左旗', '巴林右旗', '林西县', '克什克腾旗', '翁牛特旗', '喀喇沁旗', '宁城县', '敖汉旗']
  9633. }, {
  9634. name: '呼伦贝尔市',
  9635. area: ['海拉尔市', '满洲里市', '扎兰屯市', '牙克石市', '根河市', '额尔古纳市', '阿荣旗', '莫力达瓦达斡尔族自治旗', '鄂伦春自治旗', '鄂温克族自治旗', '新巴尔虎右旗', '新巴尔虎左旗', '陈巴尔虎旗']
  9636. }, {
  9637. name: '兴安盟',
  9638. area: ['乌兰浩特市', '阿尔山市', '科尔沁右翼前旗', '科尔沁右翼中旗', '扎赉特旗', '突泉县']
  9639. }, {
  9640. name: '通辽市',
  9641. area: ['科尔沁区', '霍林郭勒市', '科尔沁左翼中旗', '科尔沁左翼后旗', '开鲁县', '库伦旗', '奈曼旗', '扎鲁特旗']
  9642. }, {
  9643. name: '锡林郭勒盟',
  9644. area: ['二连浩特市', '锡林浩特市', '阿巴嘎旗', '苏尼特左旗', '苏尼特右旗', '东乌珠穆沁旗', '西乌珠穆沁旗', '太仆寺旗', '镶黄旗', '正镶白旗', '正蓝旗', '多伦县']
  9645. }, {
  9646. name: '乌兰察布盟',
  9647. area: ['集宁市', '丰镇市', '卓资县', '化德县', '商都县', '兴和县', '凉城县', '察哈尔右翼前旗', '察哈尔右翼中旗', '察哈尔右翼后旗', '四子王旗']
  9648. }, {
  9649. name: '伊克昭盟',
  9650. area: ['东胜市', '达拉特旗', '准格尔旗', '鄂托克前旗', '鄂托克旗', '杭锦旗', '乌审旗', '伊金霍洛旗']
  9651. }, {
  9652. name: '巴彦淖尔盟',
  9653. area: ['临河市', '五原县', '磴口县', '乌拉特前旗', '乌拉特中旗', '乌拉特后旗', '杭锦后旗']
  9654. }, {
  9655. name: '阿拉善盟',
  9656. area: ['阿拉善左旗', '阿拉善右旗', '额济纳旗']
  9657. }]
  9658. }, {
  9659. name: '辽宁省',
  9660. city: [{
  9661. name: '沈阳市',
  9662. area: ['沈河区', '皇姑区', '和平区', '大东区', '铁西区', '苏家屯区', '东陵区', '于洪区', '新民市', '法库县', '辽中县', '康平县', '新城子区']
  9663. }, {
  9664. name: '大连市',
  9665. area: ['西岗区', '中山区', '沙河口区', '甘井子区', '旅顺口区', '金州区', '瓦房店市', '普兰店市', '庄河市', '长海县']
  9666. }, {
  9667. name: '鞍山市',
  9668. area: ['铁东区', '铁西区', '立山区', '千山区', '海城市', '台安县', '岫岩满族自治县']
  9669. }, {
  9670. name: '抚顺市',
  9671. area: ['顺城区', '新抚区', '东洲区', '望花区', '抚顺县', '清原满族自治县', '新宾满族自治县']
  9672. }, {
  9673. name: '本溪市',
  9674. area: ['平山区', '明山区', '溪湖区', '南芬区', '本溪满族自治县', '桓仁满族自治县']
  9675. }, {
  9676. name: '丹东市',
  9677. area: ['振兴区', '元宝区', '振安区', '东港市', '凤城市', '宽甸满族自治县']
  9678. }, {
  9679. name: '锦州市',
  9680. area: ['太和区', '古塔区', '凌河区', '凌海市', '黑山县', '义县', '北宁市']
  9681. }, {
  9682. name: '营口市',
  9683. area: ['站前区', '西市区', '鲅鱼圈区', '老边区', '大石桥市', '盖州市']
  9684. }, {
  9685. name: '阜新市',
  9686. area: ['海州区', '新邱区', '太平区', '清河门区', '细河区', '彰武县', '阜新蒙古族自治县']
  9687. }, {
  9688. name: '辽阳市',
  9689. area: ['白塔区', '文圣区', '宏伟区', '太子河区', '弓长岭区', '灯塔市', '辽阳县']
  9690. }, {
  9691. name: '盘锦',
  9692. area: ['双台子区', '兴隆台区', '盘山县', '大洼县']
  9693. }, {
  9694. name: '铁岭市',
  9695. area: ['银州区', '清河区', '调兵山市', '开原市', '铁岭县', '昌图县', '西丰县']
  9696. }, {
  9697. name: '朝阳市',
  9698. area: ['双塔区', '龙城区', '凌源市', '北票市', '朝阳县', '建平县', '喀喇沁左翼蒙古族自治县']
  9699. }, {
  9700. name: '葫芦岛市',
  9701. area: ['龙港区', '南票区', '连山区', '兴城市', '绥中县', '建昌县']
  9702. }]
  9703. }, {
  9704. name: '吉林省',
  9705. city: [{
  9706. name: '长春市',
  9707. area: ['朝阳区', '宽城区', '二道区', '南关区', '绿园区', '双阳区', '九台市', '榆树市', '德惠市', '农安县']
  9708. }, {
  9709. name: '吉林市',
  9710. area: ['船营区', '昌邑区', '龙潭区', '丰满区', '舒兰市', '桦甸市', '蛟河市', '磐石市', '永吉县']
  9711. }, {
  9712. name: '四平',
  9713. area: ['铁西区', '铁东区', '公主岭市', '双辽市', '梨树县', '伊通满族自治县']
  9714. }, {
  9715. name: '辽源市',
  9716. area: ['龙山区', '西安区', '东辽县', '东丰县']
  9717. }, {
  9718. name: '通化市',
  9719. area: ['东昌区', '二道江区', '梅河口市', '集安市', '通化县', '辉南县', '柳河县']
  9720. }, {
  9721. name: '白山市',
  9722. area: ['八道江区', '江源区', '临江市', '靖宇县', '抚松县', '长白朝鲜族自治县']
  9723. }, {
  9724. name: '松原市',
  9725. area: ['宁江区', '乾安县', '长岭县', '扶余县', '前郭尔罗斯蒙古族自治县']
  9726. }, {
  9727. name: '白城市',
  9728. area: ['洮北区', '大安市', '洮南市', '镇赉县', '通榆县']
  9729. }, {
  9730. name: '延边朝鲜族自治州',
  9731. area: ['延吉市', '图们市', '敦化市', '龙井市', '珲春市', '和龙市', '安图县', '汪清县']
  9732. }]
  9733. }, {
  9734. name: '黑龙江省',
  9735. city: [{
  9736. name: '哈尔滨市',
  9737. area: ['松北区', '道里区', '南岗区', '平房区', '香坊区', '道外区', '呼兰区', '阿城区', '双城市', '尚志市', '五常市', '宾县', '方正县', '通河县', '巴彦县', '延寿县', '木兰县', '依兰县']
  9738. }, {
  9739. name: '齐齐哈尔市',
  9740. area: ['龙沙区', '昂昂溪区', '铁锋区', '建华区', '富拉尔基区', '碾子山区', '梅里斯达斡尔族区', '讷河市', '富裕县', '拜泉县', '甘南县', '依安县', '克山县', '泰来县', '克东县', '龙江县']
  9741. }, {
  9742. name: '鹤岗市',
  9743. area: ['兴山区', '工农区', '南山区', '兴安区', '向阳区', '东山区', '萝北县', '绥滨县']
  9744. }, {
  9745. name: '双鸭山',
  9746. area: ['尖山区', '岭东区', '四方台区', '宝山区', '集贤县', '宝清县', '友谊县', '饶河县']
  9747. }, {
  9748. name: '鸡西市',
  9749. area: ['鸡冠区', '恒山区', '城子河区', '滴道区', '梨树区', '麻山区', '密山市', '虎林市', '鸡东县']
  9750. }, {
  9751. name: '大庆市',
  9752. area: ['萨尔图区', '红岗区', '龙凤区', '让胡路区', '大同区', '林甸县', '肇州县', '肇源县', '杜尔伯特蒙古族自治县']
  9753. }, {
  9754. name: '伊春市',
  9755. area: ['伊春区', '带岭区', '南岔区', '金山屯区', '西林区', '美溪区', '乌马河区', '翠峦区', '友好区', '上甘岭区', '五营区', '红星区', '新青区', '汤旺河区', '乌伊岭区', '铁力市', '嘉荫县']
  9756. }, {
  9757. name: '牡丹江市',
  9758. area: ['爱民区', '东安区', '阳明区', '西安区', '绥芬河市', '宁安市', '海林市', '穆棱市', '林口县', '东宁县']
  9759. }, {
  9760. name: '佳木斯市',
  9761. area: ['向阳区', '前进区', '东风区', '郊区', '同江市', '富锦市', '桦川县', '抚远县', '桦南县', '汤原县']
  9762. }, {
  9763. name: '七台河市',
  9764. area: ['桃山区', '新兴区', '茄子河区', '勃利县']
  9765. }, {
  9766. name: '黑河市',
  9767. area: ['爱辉区', '北安市', '五大连池市', '逊克县', '嫩江县', '孙吴县']
  9768. }, {
  9769. name: '绥化市',
  9770. area: ['北林区', '安达市', '肇东市', '海伦市', '绥棱县', '兰西县', '明水县', '青冈县', '庆安县', '望奎县']
  9771. }, {
  9772. name: '大兴安岭地区',
  9773. area: ['呼玛县', '塔河县', '漠河县', '大兴安岭辖区']
  9774. }]
  9775. }, {
  9776. name: '上海市',
  9777. city: [{
  9778. name: '上海市',
  9779. area: ['黄浦区', '卢湾区', '徐汇区', '长宁区', '静安区', '普陀区', '闸北区', '虹口区', '杨浦区', '宝山区', '闵行区', '嘉定区', '松江区', '金山区', '青浦区', '南汇区', '奉贤区', '浦东新区', '崇明县']
  9780. }]
  9781. }, {
  9782. name: '江苏省',
  9783. city: [{
  9784. name: '南京市',
  9785. area: ['玄武区', '白下区', '秦淮区', '建邺区', '鼓楼区', '下关区', '栖霞区', '雨花台区', '浦口区', '江宁区', '六合区', '溧水县', '高淳县']
  9786. }, {
  9787. name: '苏州市',
  9788. area: ['金阊区', '平江区', '沧浪区', '虎丘区', '吴中区', '相城区', '常熟市', '张家港市', '昆山市', '吴江市', '太仓市']
  9789. }, {
  9790. name: '无锡市',
  9791. area: ['崇安区', '南长区', '北塘区', '滨湖区', '锡山区', '惠山区', '江阴市', '宜兴市']
  9792. }, {
  9793. name: '常州市',
  9794. area: ['钟楼区', '天宁区', '戚墅堰区', '新北区', '武进区', '金坛市', '溧阳市']
  9795. }, {
  9796. name: '镇江市',
  9797. area: ['京口区', '润州区', '丹徒区', '丹阳市', '扬中市', '句容市']
  9798. }, {
  9799. name: '南通市',
  9800. area: ['崇川区', '港闸区', '通州市', '如皋市', '海门市', '启东市', '海安县', '如东县']
  9801. }, {
  9802. name: '泰州市',
  9803. area: ['海陵区', '高港区', '姜堰市', '泰兴市', '靖江市', '兴化市']
  9804. }, {
  9805. name: '扬州市',
  9806. area: ['广陵区', '维扬区', '邗江区', '江都市', '仪征市', '高邮市', '宝应县']
  9807. }, {
  9808. name: '盐城市',
  9809. area: ['亭湖区', '盐都区', '大丰市', '东台市', '建湖县', '射阳县', '阜宁县', '滨海县', '响水县']
  9810. }, {
  9811. name: '连云港市',
  9812. area: ['新浦区', '海州区', '连云区', '东海县', '灌云县', '赣榆县', '灌南县']
  9813. }, {
  9814. name: '徐州市',
  9815. area: ['云龙区', '鼓楼区', '九里区', '泉山区', '贾汪区', '邳州市', '新沂市', '铜山县', '睢宁县', '沛县', '丰县']
  9816. }, {
  9817. name: '淮安市',
  9818. area: ['清河区', '清浦区', '楚州区', '淮阴区', '涟水县', '洪泽县', '金湖县', '盱眙县']
  9819. }, {
  9820. name: '宿迁市',
  9821. area: ['宿城区', '宿豫区', '沭阳县', '泗阳县', '泗洪县']
  9822. }]
  9823. }, {
  9824. name: '浙江省',
  9825. city: [{
  9826. name: '杭州市',
  9827. area: ['拱墅区', '西湖区', '上城区', '下城区', '江干区', '滨江区', '余杭区', '萧山区', '建德市', '富阳市', '临安市', '桐庐县', '淳安县']
  9828. }, {
  9829. name: '宁波市',
  9830. area: ['海曙区', '江东区', '江北区', '镇海区', '北仑区', '鄞州区', '余姚市', '慈溪市', '奉化市', '宁海县', '象山县']
  9831. }, {
  9832. name: '温州市',
  9833. area: ['鹿城区', '龙湾区', '瓯海区', '瑞安市', '乐清市', '永嘉县', '洞头县', '平阳县', '苍南县', '文成县', '泰顺县']
  9834. }, {
  9835. name: '嘉兴市',
  9836. area: ['秀城区', '秀洲区', '海宁市', '平湖市', '桐乡市', '嘉善县', '海盐县']
  9837. }, {
  9838. name: '湖州市',
  9839. area: ['吴兴区', '南浔区', '长兴县', '德清县', '安吉县']
  9840. }, {
  9841. name: '绍兴市',
  9842. area: ['越城区', '诸暨市', '上虞市', '嵊州市', '绍兴县', '新昌县']
  9843. }, {
  9844. name: '金华市',
  9845. area: ['婺城区', '金东区', '兰溪市', '义乌市', '东阳市', '永康市', '武义县', '浦江县', '磐安县']
  9846. }, {
  9847. name: '衢州市',
  9848. area: ['柯城区', '衢江区', '江山市', '龙游县', '常山县', '开化县']
  9849. }, {
  9850. name: '舟山市',
  9851. area: ['定海区', '普陀区', '岱山县', '嵊泗县']
  9852. }, {
  9853. name: '台州市',
  9854. area: ['椒江区', '黄岩区', '路桥区', '临海市', '温岭市', '玉环县', '天台县', '仙居县', '三门县']
  9855. }, {
  9856. name: '丽水市',
  9857. area: ['莲都区', '龙泉市', '缙云县', '青田县', '云和县', '遂昌县', '松阳县', '庆元县', '景宁畲族自治县']
  9858. }]
  9859. }, {
  9860. name: '安徽省',
  9861. city: [{
  9862. name: '合肥市',
  9863. area: ['庐阳区', '瑶海区', '蜀山区', '包河区', '长丰县', '肥东县', '肥西县']
  9864. }, {
  9865. name: '芜湖市',
  9866. area: ['镜湖区', '弋江区', '鸠江区', '三山区', '芜湖县', '南陵县', '繁昌县']
  9867. }, {
  9868. name: '蚌埠市',
  9869. area: ['蚌山区', '龙子湖区', '禹会区', '淮上区', '怀远县', '固镇县', '五河县']
  9870. }, {
  9871. name: '淮南市',
  9872. area: ['田家庵区', '大通区', '谢家集区', '八公山区', '潘集区', '凤台县']
  9873. }, {
  9874. name: '马鞍山市',
  9875. area: ['雨山区', '花山区', '金家庄区', '当涂县']
  9876. }, {
  9877. name: '淮北市',
  9878. area: ['相山区', '杜集区', '烈山区', '濉溪县']
  9879. }, {
  9880. name: '铜陵市',
  9881. area: ['铜官山区', '狮子山区', '郊区', '铜陵县']
  9882. }, {
  9883. name: '安庆市',
  9884. area: ['迎江区', '大观区', '宜秀区', '桐城市', '宿松县', '枞阳县', '太湖县', '怀宁县', '岳西县', '望江县', '潜山县']
  9885. }, {
  9886. name: '黄山市',
  9887. area: ['屯溪区', '黄山区', '徽州区', '休宁县', '歙县', '祁门县', '黟县']
  9888. }, {
  9889. name: '滁州市',
  9890. area: ['琅琊区', '南谯区', '天长市', '明光市', '全椒县', '来安县', '定远县', '凤阳县']
  9891. }, {
  9892. name: '阜阳市',
  9893. area: ['颍州区', '颍东区', '颍泉区', '界首市', '临泉县', '颍上县', '阜南县', '太和县']
  9894. }, {
  9895. name: '宿州市',
  9896. area: ['埇桥区', '萧县', '泗县', '砀山县', '灵璧县']
  9897. }, {
  9898. name: '巢湖市',
  9899. area: ['居巢区', '含山县', '无为县', '庐江县', '和县']
  9900. }, {
  9901. name: '六安市',
  9902. area: ['金安区', '裕安区', '寿县', '霍山县', '霍邱县', '舒城县', '金寨县']
  9903. }, {
  9904. name: '亳州市',
  9905. area: ['谯城区', '利辛县', '涡阳县', '蒙城县']
  9906. }, {
  9907. name: '池州市',
  9908. area: ['贵池区', '东至县', '石台县', '青阳县']
  9909. }, {
  9910. name: '宣城市',
  9911. area: ['宣州区', '宁国市', '广德县', '郎溪县', '泾县', '旌德县', '绩溪县']
  9912. }]
  9913. }, {
  9914. name: '福建省',
  9915. city: [{
  9916. name: '福州市',
  9917. area: ['鼓楼区', '台江区', '仓山区', '马尾区', '晋安区', '福清市', '长乐市', '闽侯县', '闽清县', '永泰县', '连江县', '罗源县', '平潭县']
  9918. }, {
  9919. name: '厦门市',
  9920. area: ['思明区', '海沧区', '湖里区', '集美区', '同安区', '翔安区']
  9921. }, {
  9922. name: '莆田市',
  9923. area: ['城厢区', '涵江区', '荔城区', '秀屿区', '仙游县']
  9924. }, {
  9925. name: '三明市',
  9926. area: ['梅列区', '三元区', '永安市', '明溪县', '将乐县', '大田县', '宁化县', '建宁县', '沙县', '尤溪县', '清流县', '泰宁县']
  9927. }, {
  9928. name: '泉州市',
  9929. area: ['鲤城区', '丰泽区', '洛江区', '泉港区', '石狮市', '晋江市', '南安市', '惠安县', '永春县', '安溪县', '德化县', '金门县']
  9930. }, {
  9931. name: '漳州市',
  9932. area: ['芗城区', '龙文区', '龙海市', '平和县', '南靖县', '诏安县', '漳浦县', '华安县', '东山县', '长泰县', '云霄县']
  9933. }, {
  9934. name: '南平市',
  9935. area: ['延平区', '建瓯市', '邵武市', '武夷山市', '建阳市', '松溪县', '光泽县', '顺昌县', '浦城县', '政和县']
  9936. }, {
  9937. name: '龙岩市',
  9938. area: ['新罗区', '漳平市', '长汀县', '武平县', '上杭县', '永定县', '连城县']
  9939. }, {
  9940. name: '宁德市',
  9941. area: ['蕉城区', '福安市', '福鼎市', '寿宁县', '霞浦县', '柘荣县', '屏南县', '古田县', '周宁县']
  9942. }]
  9943. }, {
  9944. name: '江西省',
  9945. city: [{
  9946. name: '南昌市',
  9947. area: ['东湖区', '西湖区', '青云谱区', '湾里区', '青山湖区', '新建县', '南昌县', '进贤县', '安义县']
  9948. }, {
  9949. name: '景德镇市',
  9950. area: ['珠山区', '昌江区', '乐平市', '浮梁县']
  9951. }, {
  9952. name: '萍乡市',
  9953. area: ['安源区', '湘东区', '莲花县', '上栗县', '芦溪县']
  9954. }, {
  9955. name: '九江市',
  9956. area: ['浔阳区', '庐山区', '瑞昌市', '九江县', '星子县', '武宁县', '彭泽县', '永修县', '修水县', '湖口县', '德安县', '都昌县']
  9957. }, {
  9958. name: '新余市',
  9959. area: ['渝水区', '分宜县']
  9960. }, {
  9961. name: '鹰潭市',
  9962. area: ['月湖区', '贵溪市', '余江县']
  9963. }, {
  9964. name: '赣州市',
  9965. area: ['章贡区', '瑞金市', '南康市', '石城县', '安远县', '赣县', '宁都县', '寻乌县', '兴国县', '定南县', '上犹县', '于都县', '龙南县', '崇义县', '信丰县', '全南县', '大余县', '会昌县']
  9966. }, {
  9967. name: '吉安市',
  9968. area: ['吉州区', '青原区', '井冈山市', '吉安县', '永丰县', '永新县', '新干县', '泰和县', '峡江县', '遂川县', '安福县', '吉水县', '万安县']
  9969. }, {
  9970. name: '宜春市',
  9971. area: ['袁州区', '丰城市', '樟树市', '高安市', '铜鼓县', '靖安县', '宜丰县', '奉新县', '万载县', '上高县']
  9972. }, {
  9973. name: '抚州市',
  9974. area: ['临川区', '南丰县', '乐安县', '金溪县', '南城县', '东乡县', '资溪县', '宜黄县', '广昌县', '黎川县', '崇仁县']
  9975. }, {
  9976. name: '上饶市',
  9977. area: ['信州区', '德兴市', '上饶县', '广丰县', '鄱阳县', '婺源县', '铅山县', '余干县', '横峰县', '弋阳县', '玉山县', '万年县']
  9978. }]
  9979. }, {
  9980. name: '山东省',
  9981. city: [{
  9982. name: '济南市',
  9983. area: ['市中区', '历下区', '天桥区', '槐荫区', '历城区', '长清区', '章丘市', '平阴县', '济阳县', '商河县']
  9984. }, {
  9985. name: '青岛市',
  9986. area: ['市南区', '市北区', '城阳区', '四方区', '李沧区', '黄岛区', '崂山区', '胶南市', '胶州市', '平度市', '莱西市', '即墨市']
  9987. }, {
  9988. name: '淄博市',
  9989. area: ['张店区', '临淄区', '淄川区', '博山区', '周村区', '桓台县', '高青县', '沂源县']
  9990. }, {
  9991. name: '枣庄市',
  9992. area: ['市中区', '山亭区', '峄城区', '台儿庄区', '薛城区', '滕州市']
  9993. }, {
  9994. name: '东营市',
  9995. area: ['东营区', '河口区', '垦利县', '广饶县', '利津县']
  9996. }, {
  9997. name: '烟台市',
  9998. area: ['芝罘区', '福山区', '牟平区', '莱山区', '龙口市', '莱阳市', '莱州市', '招远市', '蓬莱市', '栖霞市', '海阳市', '长岛县']
  9999. }, {
  10000. name: '潍坊市',
  10001. area: ['潍城区', '寒亭区', '坊子区', '奎文区', '青州市', '诸城市', '寿光市', '安丘市', '高密市', '昌邑市', '昌乐县', '临朐县']
  10002. }, {
  10003. name: '济宁市',
  10004. area: ['市中区', '任城区', '曲阜市', '兖州市', '邹城市', '鱼台县', '金乡县', '嘉祥县', '微山县', '汶上县', '泗水县', '梁山县']
  10005. }, {
  10006. name: '泰安市',
  10007. area: ['泰山区', '岱岳区', '新泰市', '肥城市', '宁阳县', '东平县']
  10008. }, {
  10009. name: '威海市',
  10010. area: ['环翠区', '乳山市', '文登市', '荣成市']
  10011. }, {
  10012. name: '日照市',
  10013. area: ['东港区', '岚山区', '五莲县', '莒县']
  10014. }, {
  10015. name: '莱芜市',
  10016. area: ['莱城区', '钢城区']
  10017. }, {
  10018. name: '临沂市',
  10019. area: ['兰山区', '罗庄区', '河东区', '沂南县', '郯城县', '沂水县', '苍山县', '费县', '平邑县', '莒南县', '蒙阴县', '临沭县']
  10020. }, {
  10021. name: '德州市',
  10022. area: ['德城区', '乐陵市', '禹城市', '陵县', '宁津县', '齐河县', '武城县', '庆云县', '平原县', '夏津县', '临邑县']
  10023. }, {
  10024. name: '聊城市',
  10025. area: ['东昌府区', '临清市', '高唐县', '阳谷县', '茌平县', '莘县', '东阿县', '冠县']
  10026. }, {
  10027. name: '滨州市',
  10028. area: ['滨城区', '邹平县', '沾化县', '惠民县', '博兴县', '阳信县', '无棣县']
  10029. }, {
  10030. name: '菏泽市',
  10031. area: ['牡丹区', '鄄城县', '单县', '郓城县', '曹县', '定陶县', '巨野县', '东明县', '成武县']
  10032. }]
  10033. }, {
  10034. name: '河南省',
  10035. city: [{
  10036. name: '郑州市',
  10037. area: ['中原区', '金水区', '二七区', '管城回族区', '上街区', '惠济区', '巩义市', '新郑市', '新密市', '登封市', '荥阳市', '中牟县']
  10038. }, {
  10039. name: '开封市',
  10040. area: ['鼓楼区', '龙亭区', '顺河回族区', '禹王台区', '金明区', '开封县', '尉氏县', '兰考县', '杞县', '通许县']
  10041. }, {
  10042. name: '洛阳市',
  10043. area: ['西工区', '老城区', '涧西区', '瀍河回族区', '洛龙区', '吉利区', '偃师市', '孟津县', '汝阳县', '伊川县', '洛宁县', '嵩县', '宜阳县', '新安县', '栾川县']
  10044. }, {
  10045. name: '平顶山市',
  10046. area: ['新华区', '卫东区', '湛河区', '石龙区', '汝州市', '舞钢市', '宝丰县', '叶县', '郏县', '鲁山县']
  10047. }, {
  10048. name: '安阳市',
  10049. area: ['北关区', '文峰区', '殷都区', '龙安区', '林州市', '安阳县', '滑县', '内黄县', '汤阴县']
  10050. }, {
  10051. name: '鹤壁市',
  10052. area: ['淇滨区', '山城区', '鹤山区', '浚县', '淇县']
  10053. }, {
  10054. name: '新乡市',
  10055. area: ['卫滨区', '红旗区', '凤泉区', '牧野区', '卫辉市', '辉县市', '新乡县', '获嘉县', '原阳县', '长垣县', '封丘县', '延津县']
  10056. }, {
  10057. name: '焦作市',
  10058. area: ['解放区', '中站区', '马村区', '山阳区', '沁阳市', '孟州市', '修武县', '温县', '武陟县', '博爱县']
  10059. }, {
  10060. name: '濮阳市',
  10061. area: ['华龙区', '濮阳县', '南乐县', '台前县', '清丰县', '范县']
  10062. }, {
  10063. name: '许昌市',
  10064. area: ['魏都区', '禹州市', '长葛市', '许昌县', '鄢陵县', '襄城县']
  10065. }, {
  10066. name: '漯河市',
  10067. area: ['源汇区', '郾城区', '召陵区', '临颍县', '舞阳县']
  10068. }, {
  10069. name: '三门峡市',
  10070. area: ['湖滨区', '义马市', '灵宝市', '渑池县', '卢氏县', '陕县']
  10071. }, {
  10072. name: '南阳市',
  10073. area: ['卧龙区', '宛城区', '邓州市', '桐柏县', '方城县', '淅川县', '镇平县', '唐河县', '南召县', '内乡县', '新野县', '社旗县', '西峡县']
  10074. }, {
  10075. name: '商丘市',
  10076. area: ['梁园区', '睢阳区', '永城市', '宁陵县', '虞城县', '民权县', '夏邑县', '柘城县', '睢县']
  10077. }, {
  10078. name: '信阳市',
  10079. area: ['浉河区', '平桥区', '潢川县', '淮滨县', '息县', '新县', '商城县', '固始县', '罗山县', '光山县']
  10080. }, {
  10081. name: '周口市',
  10082. area: ['川汇区', '项城市', '商水县', '淮阳县', '太康县', '鹿邑县', '西华县', '扶沟县', '沈丘县', '郸城县']
  10083. }, {
  10084. name: '驻马店市',
  10085. area: ['驿城区', '确山县', '新蔡县', '上蔡县', '西平县', '泌阳县', '平舆县', '汝南县', '遂平县', '正阳县']
  10086. }, {
  10087. name: '焦作市',
  10088. area: ['济源市']
  10089. }]
  10090. }, {
  10091. name: '湖北省',
  10092. city: [{
  10093. name: '武汉市',
  10094. area: ['江岸区', '武昌区', '江汉区', '硚口区', '汉阳区', '青山区', '洪山区', '东西湖区', '汉南区', '蔡甸区', '江夏区', '黄陂区', '新洲区']
  10095. }, {
  10096. name: '黄石市',
  10097. area: ['黄石港区', '西塞山区', '下陆区', '铁山区', '大冶市', '阳新县']
  10098. }, {
  10099. name: '十堰市',
  10100. area: ['张湾区', '茅箭区', '丹江口市', '郧县', '竹山县', '房县', '郧西县', '竹溪县']
  10101. }, {
  10102. name: '荆州市',
  10103. area: ['沙市区', '荆州区', '洪湖市', '石首市', '松滋市', '监利县', '公安县', '江陵县']
  10104. }, {
  10105. name: '宜昌市',
  10106. area: ['西陵区', '伍家岗区', '点军区', '猇亭区', '夷陵区', '宜都市', '当阳市', '枝江市', '秭归县', '远安县', '兴山县', '五峰土家族自治县', '长阳土家族自治县']
  10107. }, {
  10108. name: '襄樊市',
  10109. area: ['襄城区', '樊城区', '襄阳区', '老河口市', '枣阳市', '宜城市', '南漳县', '谷城县', '保康县']
  10110. }, {
  10111. name: '鄂州市',
  10112. area: ['鄂城区', '华容区', '梁子湖区']
  10113. }, {
  10114. name: '荆门市',
  10115. area: ['东宝区', '掇刀区', '钟祥市', '京山县', '沙洋县']
  10116. }, {
  10117. name: '孝感市',
  10118. area: ['孝南区', '应城市', '安陆市', '汉川市', '云梦县', '大悟县', '孝昌县']
  10119. }, {
  10120. name: '黄冈市',
  10121. area: ['黄州区', '麻城市', '武穴市', '红安县', '罗田县', '浠水县', '蕲春县', '黄梅县', '英山县', '团风县']
  10122. }, {
  10123. name: '咸宁市',
  10124. area: ['咸安区', '赤壁市', '嘉鱼县', '通山县', '崇阳县', '通城县']
  10125. }, {
  10126. name: '随州市',
  10127. area: ['曾都区', '广水市']
  10128. }, {
  10129. name: '恩施土家族苗族自治州',
  10130. area: ['恩施市', '利川市', '建始县', '来凤县', '巴东县', '鹤峰县', '宣恩县', '咸丰县']
  10131. }, {
  10132. name: '仙桃市',
  10133. area: ['仙桃']
  10134. }, {
  10135. name: '天门市',
  10136. area: ['天门']
  10137. }, {
  10138. name: '潜江市',
  10139. area: ['潜江']
  10140. }, {
  10141. name: '神农架林区',
  10142. area: ['神农架林区']
  10143. }]
  10144. }, {
  10145. name: '湖南省',
  10146. city: [{
  10147. name: '长沙市',
  10148. area: ['岳麓区', '芙蓉区', '天心区', '开福区', '雨花区', '浏阳市', '长沙县', '望城县', '宁乡县']
  10149. }, {
  10150. name: '株洲市',
  10151. area: ['天元区', '荷塘区', '芦淞区', '石峰区', '醴陵市', '株洲县', '炎陵县', '茶陵县', '攸县']
  10152. }, {
  10153. name: '湘潭市',
  10154. area: ['岳塘区', '雨湖区', '湘乡市', '韶山市', '湘潭县']
  10155. }, {
  10156. name: '衡阳市',
  10157. area: ['雁峰区', '珠晖区', '石鼓区', '蒸湘区', '南岳区', '耒阳市', '常宁市', '衡阳县', '衡东县', '衡山县', '衡南县', '祁东县']
  10158. }, {
  10159. name: '邵阳市',
  10160. area: ['双清区', '大祥区', '北塔区', '武冈市', '邵东县', '洞口县', '新邵县', '绥宁县', '新宁县', '邵阳县', '隆回县', '城步苗族自治县']
  10161. }, {
  10162. name: '岳阳市',
  10163. area: ['岳阳楼区', '云溪区', '君山区', '临湘市', '汨罗市', '岳阳县', '湘阴县', '平江县', '华容县']
  10164. }, {
  10165. name: '常德市',
  10166. area: ['武陵区', '鼎城区', '津市市', '澧县', '临澧县', '桃源县', '汉寿县', '安乡县', '石门县']
  10167. }, {
  10168. name: '张家界市',
  10169. area: ['永定区', '武陵源区', '慈利县', '桑植县']
  10170. }, {
  10171. name: '益阳市',
  10172. area: ['赫山区', '资阳区', '沅江市', '桃江县', '南县', '安化县']
  10173. }, {
  10174. name: '郴州市',
  10175. area: ['北湖区', '苏仙区', '资兴市', '宜章县', '汝城县', '安仁县', '嘉禾县', '临武县', '桂东县', '永兴县', '桂阳县']
  10176. }, {
  10177. name: '永州市',
  10178. area: ['冷水滩区', '零陵区', '祁阳县', '蓝山县', '宁远县', '新田县', '东安县', '江永县', '道县', '双牌县', '江华瑶族自治县']
  10179. }, {
  10180. name: '怀化市',
  10181. area: ['鹤城区', '洪江市', '会同县', '沅陵县', '辰溪县', '溆浦县', '中方县', '新晃侗族自治县', '芷江侗族自治县', '通道侗族自治县', '靖州苗族侗族自治县', '麻阳苗族自治县']
  10182. }, {
  10183. name: '娄底市',
  10184. area: ['娄星区', '冷水江市', '涟源市', '新化县', '双峰县']
  10185. }, {
  10186. name: '湘西土家族苗族自治州',
  10187. area: ['吉首市', '古丈县', '龙山县', '永顺县', '凤凰县', '泸溪县', '保靖县', '花垣县']
  10188. }]
  10189. }, {
  10190. name: '广东省',
  10191. city: [{
  10192. name: '广州市',
  10193. area: ['越秀区', '荔湾区', '海珠区', '天河区', '白云区', '黄埔区', '番禺区', '花都区', '南沙区', '萝岗区', '增城市', '从化市']
  10194. }, {
  10195. name: '深圳市',
  10196. area: ['福田区', '罗湖区', '南山区', '宝安区', '龙岗区', '盐田区']
  10197. }, {
  10198. name: '东莞市',
  10199. area: ['莞城', '常平', '塘厦', '塘厦', '塘厦']
  10200. }, {
  10201. name: '中山市',
  10202. area: ['中山']
  10203. }, {
  10204. name: '潮州市',
  10205. area: ['湘桥区', '潮安县', '饶平县']
  10206. }, {
  10207. name: '揭阳市',
  10208. area: ['榕城区', '揭东县', '揭西县', '惠来县', '普宁市']
  10209. }, {
  10210. name: '云浮市',
  10211. area: ['云城区', '新兴县', '郁南县', '云安县', '罗定市']
  10212. }, {
  10213. name: '珠海市',
  10214. area: ['香洲区', '斗门区', '金湾区']
  10215. }, {
  10216. name: '汕头市',
  10217. area: ['金平区', '濠江区', '龙湖区', '潮阳区', '潮南区', '澄海区', '南澳县']
  10218. }, {
  10219. name: '韶关市',
  10220. area: ['浈江区', '武江区', '曲江区', '乐昌市', '南雄市', '始兴县', '仁化县', '翁源县', '新丰县', '乳源瑶族自治县']
  10221. }, {
  10222. name: '佛山市',
  10223. area: ['禅城区', '南海区', '顺德区', '三水区', '高明区']
  10224. }, {
  10225. name: '江门市',
  10226. area: ['蓬江区', '江海区', '新会区', '恩平市', '台山市', '开平市', '鹤山市']
  10227. }, {
  10228. name: '湛江市',
  10229. area: ['赤坎区', '霞山区', '坡头区', '麻章区', '吴川市', '廉江市', '雷州市', '遂溪县', '徐闻县']
  10230. }, {
  10231. name: '茂名市',
  10232. area: ['茂南区', '茂港区', '化州市', '信宜市', '高州市', '电白县']
  10233. }, {
  10234. name: '肇庆市',
  10235. area: ['端州区', '鼎湖区', '高要市', '四会市', '广宁县', '怀集县', '封开县', '德庆县']
  10236. }, {
  10237. name: '惠州市',
  10238. area: ['惠城区', '惠阳区', '博罗县', '惠东县', '龙门县']
  10239. }, {
  10240. name: '梅州市',
  10241. area: ['梅江区', '兴宁市', '梅县', '大埔县', '丰顺县', '五华县', '平远县', '蕉岭县']
  10242. }, {
  10243. name: '汕尾市',
  10244. area: ['城区', '陆丰市', '海丰县', '陆河县']
  10245. }, {
  10246. name: '河源市',
  10247. area: ['源城区', '紫金县', '龙川县', '连平县', '和平县', '东源县']
  10248. }, {
  10249. name: '阳江市',
  10250. area: ['江城区', '阳春市', '阳西县', '阳东县']
  10251. }, {
  10252. name: '清远市',
  10253. area: ['清城区', '英德市', '连州市', '佛冈县', '阳山县', '清新县', '连山壮族瑶族自治县', '连南瑶族自治县']
  10254. }]
  10255. }, {
  10256. name: '广西',
  10257. city: [{
  10258. name: '南宁市',
  10259. area: ['青秀区', '兴宁区', '西乡塘区', '良庆区', '江南区', '邕宁区', '武鸣县', '隆安县', '马山县', '上林县', '宾阳县', '横县']
  10260. }, {
  10261. name: '柳州市',
  10262. area: ['城中区', '鱼峰区', '柳北区', '柳南区', '柳江县', '柳城县', '鹿寨县', '融安县', '融水苗族自治县', '三江侗族自治县']
  10263. }, {
  10264. name: '桂林市',
  10265. area: ['象山区', '秀峰区', '叠彩区', '七星区', '雁山区', '阳朔县', '临桂县', '灵川县', '全州县', '平乐县', '兴安县', '灌阳县', '荔浦县', '资源县', '永福县', '龙胜各族自治县', '恭城瑶族自治县']
  10266. }, {
  10267. name: '梧州市',
  10268. area: ['万秀区', '蝶山区', '长洲区', '岑溪市', '苍梧县', '藤县', '蒙山县']
  10269. }, {
  10270. name: '北海市',
  10271. area: ['海城区', '银海区', '铁山港区', '合浦县']
  10272. }, {
  10273. name: '防城港市',
  10274. area: ['港口区', '防城区', '东兴市', '上思县']
  10275. }, {
  10276. name: '钦州市',
  10277. area: ['钦南区', '钦北区', '灵山县', '浦北县']
  10278. }, {
  10279. name: '贵港市',
  10280. area: ['港北区', '港南区', '覃塘区', '桂平市', '平南县']
  10281. }, {
  10282. name: '玉林市',
  10283. area: ['玉州区', '北流市', '容县', '陆川县', '博白县', '兴业县']
  10284. }, {
  10285. name: '百色市',
  10286. area: ['右江区', '凌云县', '平果县', '西林县', '乐业县', '德保县', '田林县', '田阳县', '靖西县', '田东县', '那坡县', '隆林各族自治县']
  10287. }, {
  10288. name: '贺州市',
  10289. area: ['八步区', '钟山县', '昭平县', '富川瑶族自治县']
  10290. }, {
  10291. name: '河池市',
  10292. area: ['金城江区', '宜州市', '天峨县', '凤山县', '南丹县', '东兰县', '都安瑶族自治县', '罗城仫佬族自治县', '巴马瑶族自治县', '环江毛南族自治县', '大化瑶族自治县']
  10293. }, {
  10294. name: '来宾市',
  10295. area: ['兴宾区', '合山市', '象州县', '武宣县', '忻城县', '金秀瑶族自治县']
  10296. }, {
  10297. name: '崇左市',
  10298. area: ['江州区', '凭祥市', '宁明县', '扶绥县', '龙州县', '大新县', '天等县']
  10299. }]
  10300. }, {
  10301. name: '海南省',
  10302. city: [{
  10303. name: '海口市',
  10304. area: ['龙华区', '秀英区', '琼山区', '美兰区']
  10305. }, {
  10306. name: '三亚市',
  10307. area: ['三亚市']
  10308. }, {
  10309. name: '五指山市',
  10310. area: ['五指山']
  10311. }, {
  10312. name: '琼海市',
  10313. area: ['琼海']
  10314. }, {
  10315. name: '儋州市',
  10316. area: ['儋州']
  10317. }, {
  10318. name: '文昌市',
  10319. area: ['文昌']
  10320. }, {
  10321. name: '万宁市',
  10322. area: ['万宁']
  10323. }, {
  10324. name: '东方市',
  10325. area: ['东方']
  10326. }, {
  10327. name: '澄迈县',
  10328. area: ['澄迈县']
  10329. }, {
  10330. name: '定安县',
  10331. area: ['定安县']
  10332. }, {
  10333. name: '屯昌县',
  10334. area: ['屯昌县']
  10335. }, {
  10336. name: '临高县',
  10337. area: ['临高县']
  10338. }, {
  10339. name: '白沙黎族自治县',
  10340. area: ['白沙黎族自治县']
  10341. }, {
  10342. name: '昌江黎族自治县',
  10343. area: ['昌江黎族自治县']
  10344. }, {
  10345. name: '乐东黎族自治县',
  10346. area: ['乐东黎族自治县']
  10347. }, {
  10348. name: '陵水黎族自治县',
  10349. area: ['陵水黎族自治县']
  10350. }, {
  10351. name: '保亭黎族苗族自治县',
  10352. area: ['保亭黎族苗族自治县']
  10353. }, {
  10354. name: '琼中黎族苗族自治县',
  10355. area: ['琼中黎族苗族自治县']
  10356. }]
  10357. }, {
  10358. name: '重庆市',
  10359. city: [{
  10360. name: '重庆市',
  10361. area: ['渝中区', '大渡口区', '江北区', '南岸区', '北碚区', '渝北区', '巴南区', '长寿区', '双桥区', '沙坪坝区', '万盛区', '万州区', '涪陵区', '黔江区', '永川区', '合川区', '江津区', '九龙坡区', '南川区', '綦江县', '潼南县', '荣昌县', '璧山县', '大足县', '铜梁县', '梁平县', '开县', '忠县', '城口县', '垫江县', '武隆县', '丰都县', '奉节县', '云阳县', '巫溪县', '巫山县', '石柱土家族自治县', '秀山土家族苗族自治县', '酉阳土家族苗族自治县', '彭水苗族土家族自治县']
  10362. }]
  10363. }, {
  10364. name: '四川省',
  10365. city: [{
  10366. name: '成都市',
  10367. area: ['青羊区', '锦江区', '金牛区', '武侯区', '成华区', '龙泉驿区', '青白江区', '新都区', '温江区', '都江堰市', '彭州市', '邛崃市', '崇州市', '金堂县', '郫县', '新津县', '双流县', '蒲江县', '大邑县']
  10368. }, {
  10369. name: '自贡市',
  10370. area: ['大安区', '自流井区', '贡井区', '沿滩区', '荣县', '富顺县']
  10371. }, {
  10372. name: '攀枝花市',
  10373. area: ['仁和区', '米易县', '盐边县', '东区', '西区']
  10374. }, {
  10375. name: '泸州市',
  10376. area: ['江阳区', '纳溪区', '龙马潭区', '泸县', '合江县', '叙永县', '古蔺县']
  10377. }, {
  10378. name: '德阳市',
  10379. area: ['旌阳区', '广汉市', '什邡市', '绵竹市', '罗江县', '中江县']
  10380. }, {
  10381. name: '绵阳市',
  10382. area: ['涪城区', '游仙区', '江油市', '盐亭县', '三台县', '平武县', '安县', '梓潼县', '北川羌族自治县']
  10383. }, {
  10384. name: '广元市',
  10385. area: ['元坝区', '朝天区', '青川县', '旺苍县', '剑阁县', '苍溪县', '市中区']
  10386. }, {
  10387. name: '遂宁市',
  10388. area: ['船山区', '安居区', '射洪县', '蓬溪县', '大英县']
  10389. }, {
  10390. name: '内江市',
  10391. area: ['市中区', '东兴区', '资中县', '隆昌县', '威远县']
  10392. }, {
  10393. name: '乐山市',
  10394. area: ['市中区', '五通桥区', '沙湾区', '金口河区', '峨眉山市', '夹江县', '井研县', '犍为县', '沐川县', '马边彝族自治县', '峨边彝族自治县']
  10395. }, {
  10396. name: '南充',
  10397. area: ['顺庆区', '高坪区', '嘉陵区', '阆中市', '营山县', '蓬安县', '仪陇县', '南部县', '西充县']
  10398. }, {
  10399. name: '眉山市',
  10400. area: ['东坡区', '仁寿县', '彭山县', '洪雅县', '丹棱县', '青神县']
  10401. }, {
  10402. name: '宜宾市',
  10403. area: ['翠屏区', '宜宾县', '兴文县', '南溪县', '珙县', '长宁县', '高县', '江安县', '筠连县', '屏山县']
  10404. }, {
  10405. name: '广安市',
  10406. area: ['广安区', '华蓥市', '岳池县', '邻水县', '武胜县']
  10407. }, {
  10408. name: '达州市',
  10409. area: ['通川区', '万源市', '达县', '渠县', '宣汉县', '开江县', '大竹县']
  10410. }, {
  10411. name: '雅安市',
  10412. area: ['雨城区', '芦山县', '石棉县', '名山县', '天全县', '荥经县', '宝兴县', '汉源县']
  10413. }, {
  10414. name: '巴中市',
  10415. area: ['巴州区', '南江县', '平昌县', '通江县']
  10416. }, {
  10417. name: '资阳市',
  10418. area: ['雁江区', '简阳市', '安岳县', '乐至县']
  10419. }, {
  10420. name: '阿坝藏族羌族自治州',
  10421. area: ['马尔康县', '九寨沟县', '红原县', '汶川县', '阿坝县', '理县', '若尔盖县', '小金县', '黑水县', '金川县', '松潘县', '壤塘县', '茂县']
  10422. }, {
  10423. name: '甘孜藏族自治州',
  10424. area: ['康定县', '丹巴县', '炉霍县', '九龙县', '甘孜县', '雅江县', '新龙县', '道孚县', '白玉县', '理塘县', '德格县', '乡城县', '石渠县', '稻城县', '色达县', '巴塘县', '泸定县', '得荣县']
  10425. }, {
  10426. name: '凉山彝族自治州',
  10427. area: ['西昌市', '美姑县', '昭觉县', '金阳县', '甘洛县', '布拖县', '雷波县', '普格县', '宁南县', '喜德县', '会东县', '越西县', '会理县', '盐源县', '德昌县', '冕宁县', '木里藏族自治县']
  10428. }]
  10429. }, {
  10430. name: '贵州省',
  10431. city: [{
  10432. name: '贵阳市',
  10433. area: ['南明区', '云岩区', '花溪区', '乌当区', '白云区', '小河区', '清镇市', '开阳县', '修文县', '息烽县']
  10434. }, {
  10435. name: '六盘水市',
  10436. area: ['钟山区', '水城县', '盘县', '六枝特区']
  10437. }, {
  10438. name: '遵义市',
  10439. area: ['红花岗区', '汇川区', '赤水市', '仁怀市', '遵义县', '绥阳县', '桐梓县', '习水县', '凤冈县', '正安县', '余庆县', '湄潭县', '道真仡佬族苗族自治县', '务川仡佬族苗族自治县']
  10440. }, {
  10441. name: '安顺市',
  10442. area: ['西秀区', '普定县', '平坝县', '镇宁布依族苗族自治县', '紫云苗族布依族自治县', '关岭布依族苗族自治县']
  10443. }, {
  10444. name: '铜仁地区',
  10445. area: ['铜仁市', '德江县', '江口县', '思南县', '石阡县', '玉屏侗族自治县', '松桃苗族自治县', '印江土家族苗族自治县', '沿河土家族自治县', '万山特区']
  10446. }, {
  10447. name: '毕节地区',
  10448. area: ['毕节市', '黔西县', '大方县', '织金县', '金沙县', '赫章县', '纳雍县', '威宁彝族回族苗族自治县']
  10449. }, {
  10450. name: '黔西南布依族苗族自治州',
  10451. area: ['兴义市', '望谟县', '兴仁县', '普安县', '册亨县', '晴隆县', '贞丰县', '安龙县']
  10452. }, {
  10453. name: '黔东南苗族侗族自治州',
  10454. area: ['凯里市', '施秉县', '从江县', '锦屏县', '镇远县', '麻江县', '台江县', '天柱县', '黄平县', '榕江县', '剑河县', '三穗县', '雷山县', '黎平县', '岑巩县', '丹寨县']
  10455. }, {
  10456. name: '黔南布依族苗族自治州',
  10457. area: ['都匀市', '福泉市', '贵定县', '惠水县', '罗甸县', '瓮安县', '荔波县', '龙里县', '平塘县', '长顺县', '独山县', '三都水族自治县']
  10458. }]
  10459. }, {
  10460. name: '云南省',
  10461. city: [{
  10462. name: '昆明市',
  10463. area: ['盘龙区', '五华区', '官渡区', '西山区', '东川区', '安宁市', '呈贡县', '晋宁县', '富民县', '宜良县', '嵩明县', '石林彝族自治县', '禄劝彝族苗族自治县', '寻甸回族彝族自治县']
  10464. }, {
  10465. name: '曲靖市',
  10466. area: ['麒麟区', '宣威市', '马龙县', '沾益县', '富源县', '罗平县', '师宗县', '陆良县', '会泽县']
  10467. }, {
  10468. name: '玉溪市',
  10469. area: ['红塔区', '江川县', '澄江县', '通海县', '华宁县', '易门县', '峨山彝族自治县', '新平彝族傣族自治县', '元江哈尼族彝族傣族自治县']
  10470. }, {
  10471. name: '保山市',
  10472. area: ['隆阳区', '施甸县', '腾冲县', '龙陵县', '昌宁县']
  10473. }, {
  10474. name: '昭通市',
  10475. area: ['昭阳区', '鲁甸县', '巧家县', '盐津县', '大关县', '永善县', '绥江县', '镇雄县', '彝良县', '威信县', '水富县']
  10476. }, {
  10477. name: '丽江市',
  10478. area: ['古城区', '永胜县', '华坪县', '玉龙纳西族自治县', '宁蒗彝族自治县']
  10479. }, {
  10480. name: '普洱市',
  10481. area: ['思茅区', '普洱哈尼族彝族自治县', '墨江哈尼族自治县', '景东彝族自治县', '景谷傣族彝族自治县', '镇沅彝族哈尼族拉祜族自治县', '江城哈尼族彝族自治县', '孟连傣族拉祜族佤族自治县', '澜沧拉祜族自治县', '西盟佤族自治县']
  10482. }, {
  10483. name: '临沧市',
  10484. area: ['临翔区', '凤庆县', '云县', '永德县', '镇康县', '双江拉祜族佤族布朗族傣族自治县', '耿马傣族佤族自治县', '沧源佤族自治县']
  10485. }, {
  10486. name: '德宏傣族景颇族自治州',
  10487. area: ['潞西市', '瑞丽市', '梁河县', '盈江县', '陇川县']
  10488. }, {
  10489. name: '怒江傈僳族自治州',
  10490. area: ['泸水县', '福贡县', '贡山独龙族怒族自治县', '兰坪白族普米族自治县']
  10491. }, {
  10492. name: '迪庆藏族自治州',
  10493. area: ['香格里拉县', '德钦县', '维西傈僳族自治县']
  10494. }, {
  10495. name: '大理白族自治州',
  10496. area: ['大理市', '祥云县', '宾川县', '弥渡县', '永平县', '云龙县', '洱源县', '剑川县', '鹤庆县', '漾濞彝族自治县', '南涧彝族自治县', '巍山彝族回族自治县']
  10497. }, {
  10498. name: '楚雄彝族自治州',
  10499. area: ['楚雄市', '双柏县', '牟定县', '南华县', '姚安县', '大姚县', '永仁县', '元谋县', '武定县', '禄丰县']
  10500. }, {
  10501. name: '红河哈尼族彝族自治州',
  10502. area: ['蒙自县', '个旧市', '开远市', '绿春县', '建水县', '石屏县', '弥勒县', '泸西县', '元阳县', '红河县', '金平苗族瑶族傣族自治县', '河口瑶族自治县', '屏边苗族自治县']
  10503. }, {
  10504. name: '文山壮族苗族自治州',
  10505. area: ['文山县', '砚山县', '西畴县', '麻栗坡县', '马关县', '丘北县', '广南县', '富宁县']
  10506. }, {
  10507. name: '西双版纳傣族自治州',
  10508. area: ['景洪市', '勐海县', '勐腊县']
  10509. }]
  10510. }, {
  10511. name: '西藏',
  10512. city: [{
  10513. name: '拉萨市',
  10514. area: ['城关区', '林周县', '当雄县', '尼木县', '曲水县', '堆龙德庆县', '达孜县', '墨竹工卡县']
  10515. }, {
  10516. name: '那曲地区',
  10517. area: ['那曲县', '嘉黎县', '比如县', '聂荣县', '安多县', '申扎县', '索县', '班戈县', '巴青县', '尼玛县']
  10518. }, {
  10519. name: '昌都地区',
  10520. area: ['昌都县', '江达县', '贡觉县', '类乌齐县', '丁青县', '察雅县', '八宿县', '左贡县', '芒康县', '洛隆县', '边坝县']
  10521. }, {
  10522. name: '林芝地区',
  10523. area: ['林芝县', '工布江达县', '米林县', '墨脱县', '波密县', '察隅县', '朗县']
  10524. }, {
  10525. name: '山南地区',
  10526. area: ['乃东县', '扎囊县', '贡嘎县', '桑日县', '琼结县', '曲松县', '措美县', '洛扎县', '加查县', '隆子县', '错那县', '浪卡子县']
  10527. }, {
  10528. name: '日喀则地区',
  10529. area: ['日喀则市', '南木林县', '江孜县', '定日县', '萨迦县', '拉孜县', '昂仁县', '谢通门县', '白朗县', '仁布县', '康马县', '定结县', '仲巴县', '亚东县', '吉隆县', '聂拉木县', '萨嘎县', '岗巴县']
  10530. }, {
  10531. name: '阿里地区',
  10532. area: ['噶尔县', '普兰县', '札达县', '日土县', '革吉县', '改则县', '措勤县']
  10533. }]
  10534. }, {
  10535. name: '陕西省',
  10536. city: [{
  10537. name: '西安市',
  10538. area: ['莲湖区', '新城区', '碑林区', '雁塔区', '灞桥区', '未央区', '阎良区', '临潼区', '长安区', '高陵县', '蓝田县', '户县', '周至县']
  10539. }, {
  10540. name: '铜川市',
  10541. area: ['耀州区', '王益区', '印台区', '宜君县']
  10542. }, {
  10543. name: '宝鸡市',
  10544. area: ['渭滨区', '金台区', '陈仓区', '岐山县', '凤翔县', '陇县', '太白县', '麟游县', '扶风县', '千阳县', '眉县', '凤县']
  10545. }, {
  10546. name: '咸阳市',
  10547. area: ['秦都区', '渭城区', '杨陵区', '兴平市', '礼泉县', '泾阳县', '永寿县', '三原县', '彬县', '旬邑县', '长武县', '乾县', '武功县', '淳化县']
  10548. }, {
  10549. name: '渭南市',
  10550. area: ['临渭区', '韩城市', '华阴市', '蒲城县', '潼关县', '白水县', '澄城县', '华县', '合阳县', '富平县', '大荔县']
  10551. }, {
  10552. name: '延安市',
  10553. area: ['宝塔区', '安塞县', '洛川县', '子长县', '黄陵县', '延川县', '富县', '延长县', '甘泉县', '宜川县', '志丹县', '黄龙县', '吴起县']
  10554. }, {
  10555. name: '汉中市',
  10556. area: ['汉台区', '留坝县', '镇巴县', '城固县', '南郑县', '洋县', '宁强县', '佛坪县', '勉县', '西乡县', '略阳县']
  10557. }, {
  10558. name: '榆林市',
  10559. area: ['榆阳区', '清涧县', '绥德县', '神木县', '佳县', '府谷县', '子洲县', '靖边县', '横山县', '米脂县', '吴堡县', '定边县']
  10560. }, {
  10561. name: '安康市',
  10562. area: ['汉滨区', '紫阳县', '岚皋县', '旬阳县', '镇坪县', '平利县', '石泉县', '宁陕县', '白河县', '汉阴县']
  10563. }, {
  10564. name: '商洛市',
  10565. area: ['商州区', '镇安县', '山阳县', '洛南县', '商南县', '丹凤县', '柞水县']
  10566. }]
  10567. }, {
  10568. name: '甘肃省',
  10569. city: [{
  10570. name: '兰州市',
  10571. area: ['城关区', '七里河区', '西固区', '安宁区', '红古区', '永登县', '皋兰县', '榆中县']
  10572. }, {
  10573. name: '嘉峪关市',
  10574. area: ['嘉峪关市']
  10575. }, {
  10576. name: '金昌市',
  10577. area: ['金川区', '永昌县']
  10578. }, {
  10579. name: '白银市',
  10580. area: ['白银区', '平川区', '靖远县', '会宁县', '景泰县']
  10581. }, {
  10582. name: '天水市',
  10583. area: ['清水县', '秦安县', '甘谷县', '武山县', '张家川回族自治县', '北道区', '秦城区']
  10584. }, {
  10585. name: '武威市',
  10586. area: ['凉州区', '民勤县', '古浪县', '天祝藏族自治县']
  10587. }, {
  10588. name: '酒泉市',
  10589. area: ['肃州区', '玉门市', '敦煌市', '金塔县', '肃北蒙古族自治县', '阿克塞哈萨克族自治县', '安西县']
  10590. }, {
  10591. name: '张掖市',
  10592. area: ['甘州区', '民乐县', '临泽县', '高台县', '山丹县', '肃南裕固族自治县']
  10593. }, {
  10594. name: '庆阳市',
  10595. area: ['西峰区', '庆城县', '环县', '华池县', '合水县', '正宁县', '宁县', '镇原县']
  10596. }, {
  10597. name: '平凉市',
  10598. area: ['崆峒区', '泾川县', '灵台县', '崇信县', '华亭县', '庄浪县', '静宁县']
  10599. }, {
  10600. name: '定西市',
  10601. area: ['安定区', '通渭县', '临洮县', '漳县', '岷县', '渭源县', '陇西县']
  10602. }, {
  10603. name: '陇南市',
  10604. area: ['武都区', '成县', '宕昌县', '康县', '文县', '西和县', '礼县', '两当县', '徽县']
  10605. }, {
  10606. name: '临夏回族自治州',
  10607. area: ['临夏市', '临夏县', '康乐县', '永靖县', '广河县', '和政县', '东乡族自治县', '积石山保安族东乡族撒拉族自治县']
  10608. }, {
  10609. name: '甘南藏族自治州',
  10610. area: ['合作市', '临潭县', '卓尼县', '舟曲县', '迭部县', '玛曲县', '碌曲县', '夏河县']
  10611. }]
  10612. }, {
  10613. name: '青海省',
  10614. city: [{
  10615. name: '西宁市',
  10616. area: ['城中区', '城东区', '城西区', '城北区', '湟源县', '湟中县', '大通回族土族自治县']
  10617. }, {
  10618. name: '海东地区',
  10619. area: ['平安县', '乐都县', '民和回族土族自治县', '互助土族自治县', '化隆回族自治县', '循化撒拉族自治县']
  10620. }, {
  10621. name: '海北藏族自治州',
  10622. area: ['海晏县', '祁连县', '刚察县', '门源回族自治县']
  10623. }, {
  10624. name: '海南藏族自治州',
  10625. area: ['共和县', '同德县', '贵德县', '兴海县', '贵南县']
  10626. }, {
  10627. name: '黄南藏族自治州',
  10628. area: ['同仁县', '尖扎县', '泽库县', '河南蒙古族自治县']
  10629. }, {
  10630. name: '果洛藏族自治州',
  10631. area: ['玛沁县', '班玛县', '甘德县', '达日县', '久治县', '玛多县']
  10632. }, {
  10633. name: '玉树藏族自治州',
  10634. area: ['玉树县', '杂多县', '称多县', '治多县', '囊谦县', '曲麻莱县']
  10635. }, {
  10636. name: '海西蒙古族藏族自治州',
  10637. area: ['德令哈市', '格尔木市', '乌兰县', '都兰县', '天峻县']
  10638. }]
  10639. }, {
  10640. name: '宁夏',
  10641. city: [{
  10642. name: '银川市',
  10643. area: ['兴庆区', '西夏区', '金凤区', '灵武市', '永宁县', '贺兰县']
  10644. }, {
  10645. name: '石嘴山市',
  10646. area: ['大武口区', '惠农区', '平罗县']
  10647. }, {
  10648. name: '吴忠市',
  10649. area: ['利通区', '青铜峡市', '盐池县', '同心县']
  10650. }, {
  10651. name: '固原市',
  10652. area: ['原州区', '西吉县', '隆德县', '泾源县', '彭阳县']
  10653. }, {
  10654. name: '中卫市',
  10655. area: ['沙坡头区', '中宁县', '海原县']
  10656. }]
  10657. }, {
  10658. name: '新疆',
  10659. city: [{
  10660. name: '乌鲁木齐市',
  10661. area: ['天山区', '沙依巴克区', '新市区', '水磨沟区', '头屯河区', '达坂城区', '东山区', '乌鲁木齐县']
  10662. }, {
  10663. name: '克拉玛依市',
  10664. area: ['克拉玛依区', '独山子区', '白碱滩区', '乌尔禾区']
  10665. }, {
  10666. name: '吐鲁番地区',
  10667. area: ['吐鲁番市', '托克逊县', '鄯善县']
  10668. }, {
  10669. name: '哈密地区',
  10670. area: ['哈密市', '伊吾县', '巴里坤哈萨克自治县']
  10671. }, {
  10672. name: '和田地区',
  10673. area: ['和田市', '和田县', '洛浦县', '民丰县', '皮山县', '策勒县', '于田县', '墨玉县']
  10674. }, {
  10675. name: '阿克苏地区',
  10676. area: ['阿克苏市', '温宿县', '沙雅县', '拜城县', '阿瓦提县', '库车县', '柯坪县', '新和县', '乌什县']
  10677. }, {
  10678. name: '喀什地区',
  10679. area: ['喀什市', '巴楚县', '泽普县', '伽师县', '叶城县', '岳普湖县', '疏勒县', '麦盖提县', '英吉沙县', '莎车县', '疏附县', '塔什库尔干塔吉克自治县']
  10680. }, {
  10681. name: '克孜勒苏柯尔克孜自治州',
  10682. area: ['阿图什市', '阿合奇县', '乌恰县', '阿克陶县']
  10683. }, {
  10684. name: '巴音郭楞蒙古自治州',
  10685. area: ['库尔勒市', '和静县', '尉犁县', '和硕县', '且末县', '博湖县', '轮台县', '若羌县', '焉耆回族自治县']
  10686. }, {
  10687. name: '昌吉回族自治州',
  10688. area: ['昌吉市', '阜康市', '奇台县', '玛纳斯县', '吉木萨尔县', '呼图壁县', '木垒哈萨克自治县', '米泉市']
  10689. }, {
  10690. name: '博尔塔拉蒙古自治州',
  10691. area: ['博乐市', '精河县', '温泉县']
  10692. }, {
  10693. name: '石河子',
  10694. area: ['石河子']
  10695. }, {
  10696. name: '阿拉尔',
  10697. area: ['阿拉尔']
  10698. }, {
  10699. name: '图木舒克',
  10700. area: ['图木舒克']
  10701. }, {
  10702. name: '五家渠',
  10703. area: ['五家渠']
  10704. }, {
  10705. name: '伊犁哈萨克自治州',
  10706. area: ['伊宁市', '奎屯市', '伊宁县', '特克斯县', '尼勒克县', '昭苏县', '新源县', '霍城县', '巩留县', '察布查尔锡伯自治县', '塔城地区', '阿勒泰地区']
  10707. }]
  10708. }, {
  10709. name: '台湾省',
  10710. city: [{
  10711. name: '台北市',
  10712. area: ['内湖区', '南港区', '中正区', '万华区', '大同区', '中山区', '松山区', '大安区', '信义区', '文山区', '士林区', '北投区']
  10713. }, {
  10714. name: '新北市',
  10715. area: ['板桥区', '汐止区', '新店区']
  10716. }, {
  10717. name: '桃园市',
  10718. area: ['其他']
  10719. }, {
  10720. name: '台中市',
  10721. area: ['其他']
  10722. }, {
  10723. name: '台南市',
  10724. area: ['其他']
  10725. }, {
  10726. name: '高雄市',
  10727. area: ['其他']
  10728. }]
  10729. }, {
  10730. name: '澳门',
  10731. city: [{
  10732. name: '澳门',
  10733. area: ['花地玛堂区', '圣安多尼堂区', '大堂区', '望德堂区', '风顺堂区', '嘉模堂区', '圣方济各堂区', '路凼']
  10734. }]
  10735. }, {
  10736. name: '香港',
  10737. city: [{
  10738. name: '香港',
  10739. area: ['深水埗区', '油尖旺区', '九龙城区', '黄大仙区', '观塘区', '北区', '大埔区', '沙田区', '西贡区', '元朗区', '屯门区', '荃湾区', '葵青区', '离岛区', '中西区', '湾仔区', '东区', '南区']
  10740. }]
  10741. }],
  10742. debug: true
  10743. };
  10744. exports.default = _default;
  10745. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10746. /***/ }),
  10747. /* 38 */,
  10748. /* 39 */,
  10749. /* 40 */,
  10750. /* 41 */,
  10751. /* 42 */,
  10752. /* 43 */,
  10753. /* 44 */,
  10754. /* 45 */,
  10755. /* 46 */,
  10756. /* 47 */,
  10757. /* 48 */,
  10758. /* 49 */,
  10759. /* 50 */,
  10760. /* 51 */,
  10761. /* 52 */
  10762. /*!********************************************************************!*\
  10763. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/moment.js ***!
  10764. \********************************************************************/
  10765. /*! no static exports found */
  10766. /***/ (function(module, exports, __webpack_require__) {
  10767. /* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var require;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  10768. //! moment.js
  10769. //! version : 2.29.4
  10770. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  10771. //! license : MIT
  10772. //! momentjs.com
  10773. ;
  10774. (function (global, factory) {
  10775. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  10776. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  10777. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  10778. __WEBPACK_AMD_DEFINE_FACTORY__),
  10779. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  10780. })(this, function () {
  10781. 'use strict';
  10782. var hookCallback;
  10783. function hooks() {
  10784. return hookCallback.apply(null, arguments);
  10785. }
  10786. // This is done to register the method called with moment()
  10787. // without creating circular dependencies.
  10788. function setHookCallback(callback) {
  10789. hookCallback = callback;
  10790. }
  10791. function isArray(input) {
  10792. return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
  10793. }
  10794. function isObject(input) {
  10795. // IE8 will treat undefined and null as object if it wasn't for
  10796. // input != null
  10797. return input != null && Object.prototype.toString.call(input) === '[object Object]';
  10798. }
  10799. function hasOwnProp(a, b) {
  10800. return Object.prototype.hasOwnProperty.call(a, b);
  10801. }
  10802. function isObjectEmpty(obj) {
  10803. if (Object.getOwnPropertyNames) {
  10804. return Object.getOwnPropertyNames(obj).length === 0;
  10805. } else {
  10806. var k;
  10807. for (k in obj) {
  10808. if (hasOwnProp(obj, k)) {
  10809. return false;
  10810. }
  10811. }
  10812. return true;
  10813. }
  10814. }
  10815. function isUndefined(input) {
  10816. return input === void 0;
  10817. }
  10818. function isNumber(input) {
  10819. return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';
  10820. }
  10821. function isDate(input) {
  10822. return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
  10823. }
  10824. function map(arr, fn) {
  10825. var res = [],
  10826. i,
  10827. arrLen = arr.length;
  10828. for (i = 0; i < arrLen; ++i) {
  10829. res.push(fn(arr[i], i));
  10830. }
  10831. return res;
  10832. }
  10833. function extend(a, b) {
  10834. for (var i in b) {
  10835. if (hasOwnProp(b, i)) {
  10836. a[i] = b[i];
  10837. }
  10838. }
  10839. if (hasOwnProp(b, 'toString')) {
  10840. a.toString = b.toString;
  10841. }
  10842. if (hasOwnProp(b, 'valueOf')) {
  10843. a.valueOf = b.valueOf;
  10844. }
  10845. return a;
  10846. }
  10847. function createUTC(input, format, locale, strict) {
  10848. return createLocalOrUTC(input, format, locale, strict, true).utc();
  10849. }
  10850. function defaultParsingFlags() {
  10851. // We need to deep clone this object.
  10852. return {
  10853. empty: false,
  10854. unusedTokens: [],
  10855. unusedInput: [],
  10856. overflow: -2,
  10857. charsLeftOver: 0,
  10858. nullInput: false,
  10859. invalidEra: null,
  10860. invalidMonth: null,
  10861. invalidFormat: false,
  10862. userInvalidated: false,
  10863. iso: false,
  10864. parsedDateParts: [],
  10865. era: null,
  10866. meridiem: null,
  10867. rfc2822: false,
  10868. weekdayMismatch: false
  10869. };
  10870. }
  10871. function getParsingFlags(m) {
  10872. if (m._pf == null) {
  10873. m._pf = defaultParsingFlags();
  10874. }
  10875. return m._pf;
  10876. }
  10877. var some;
  10878. if (Array.prototype.some) {
  10879. some = Array.prototype.some;
  10880. } else {
  10881. some = function some(fun) {
  10882. var t = Object(this),
  10883. len = t.length >>> 0,
  10884. i;
  10885. for (i = 0; i < len; i++) {
  10886. if (i in t && fun.call(this, t[i], i, t)) {
  10887. return true;
  10888. }
  10889. }
  10890. return false;
  10891. };
  10892. }
  10893. function isValid(m) {
  10894. if (m._isValid == null) {
  10895. var flags = getParsingFlags(m),
  10896. parsedParts = some.call(flags.parsedDateParts, function (i) {
  10897. return i != null;
  10898. }),
  10899. isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);
  10900. if (m._strict) {
  10901. isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;
  10902. }
  10903. if (Object.isFrozen == null || !Object.isFrozen(m)) {
  10904. m._isValid = isNowValid;
  10905. } else {
  10906. return isNowValid;
  10907. }
  10908. }
  10909. return m._isValid;
  10910. }
  10911. function createInvalid(flags) {
  10912. var m = createUTC(NaN);
  10913. if (flags != null) {
  10914. extend(getParsingFlags(m), flags);
  10915. } else {
  10916. getParsingFlags(m).userInvalidated = true;
  10917. }
  10918. return m;
  10919. }
  10920. // Plugins that add properties should also add the key here (null value),
  10921. // so we can properly clone ourselves.
  10922. var momentProperties = hooks.momentProperties = [],
  10923. updateInProgress = false;
  10924. function copyConfig(to, from) {
  10925. var i,
  10926. prop,
  10927. val,
  10928. momentPropertiesLen = momentProperties.length;
  10929. if (!isUndefined(from._isAMomentObject)) {
  10930. to._isAMomentObject = from._isAMomentObject;
  10931. }
  10932. if (!isUndefined(from._i)) {
  10933. to._i = from._i;
  10934. }
  10935. if (!isUndefined(from._f)) {
  10936. to._f = from._f;
  10937. }
  10938. if (!isUndefined(from._l)) {
  10939. to._l = from._l;
  10940. }
  10941. if (!isUndefined(from._strict)) {
  10942. to._strict = from._strict;
  10943. }
  10944. if (!isUndefined(from._tzm)) {
  10945. to._tzm = from._tzm;
  10946. }
  10947. if (!isUndefined(from._isUTC)) {
  10948. to._isUTC = from._isUTC;
  10949. }
  10950. if (!isUndefined(from._offset)) {
  10951. to._offset = from._offset;
  10952. }
  10953. if (!isUndefined(from._pf)) {
  10954. to._pf = getParsingFlags(from);
  10955. }
  10956. if (!isUndefined(from._locale)) {
  10957. to._locale = from._locale;
  10958. }
  10959. if (momentPropertiesLen > 0) {
  10960. for (i = 0; i < momentPropertiesLen; i++) {
  10961. prop = momentProperties[i];
  10962. val = from[prop];
  10963. if (!isUndefined(val)) {
  10964. to[prop] = val;
  10965. }
  10966. }
  10967. }
  10968. return to;
  10969. }
  10970. // Moment prototype object
  10971. function Moment(config) {
  10972. copyConfig(this, config);
  10973. this._d = new Date(config._d != null ? config._d.getTime() : NaN);
  10974. if (!this.isValid()) {
  10975. this._d = new Date(NaN);
  10976. }
  10977. // Prevent infinite loop in case updateOffset creates new moment
  10978. // objects.
  10979. if (updateInProgress === false) {
  10980. updateInProgress = true;
  10981. hooks.updateOffset(this);
  10982. updateInProgress = false;
  10983. }
  10984. }
  10985. function isMoment(obj) {
  10986. return obj instanceof Moment || obj != null && obj._isAMomentObject != null;
  10987. }
  10988. function warn(msg) {
  10989. if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {
  10990. console.warn('Deprecation warning: ' + msg);
  10991. }
  10992. }
  10993. function deprecate(msg, fn) {
  10994. var firstTime = true;
  10995. return extend(function () {
  10996. if (hooks.deprecationHandler != null) {
  10997. hooks.deprecationHandler(null, msg);
  10998. }
  10999. if (firstTime) {
  11000. var args = [],
  11001. arg,
  11002. i,
  11003. key,
  11004. argLen = arguments.length;
  11005. for (i = 0; i < argLen; i++) {
  11006. arg = '';
  11007. if (_typeof(arguments[i]) === 'object') {
  11008. arg += '\n[' + i + '] ';
  11009. for (key in arguments[0]) {
  11010. if (hasOwnProp(arguments[0], key)) {
  11011. arg += key + ': ' + arguments[0][key] + ', ';
  11012. }
  11013. }
  11014. arg = arg.slice(0, -2); // Remove trailing comma and space
  11015. } else {
  11016. arg = arguments[i];
  11017. }
  11018. args.push(arg);
  11019. }
  11020. warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + new Error().stack);
  11021. firstTime = false;
  11022. }
  11023. return fn.apply(this, arguments);
  11024. }, fn);
  11025. }
  11026. var deprecations = {};
  11027. function deprecateSimple(name, msg) {
  11028. if (hooks.deprecationHandler != null) {
  11029. hooks.deprecationHandler(name, msg);
  11030. }
  11031. if (!deprecations[name]) {
  11032. warn(msg);
  11033. deprecations[name] = true;
  11034. }
  11035. }
  11036. hooks.suppressDeprecationWarnings = false;
  11037. hooks.deprecationHandler = null;
  11038. function isFunction(input) {
  11039. return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
  11040. }
  11041. function set(config) {
  11042. var prop, i;
  11043. for (i in config) {
  11044. if (hasOwnProp(config, i)) {
  11045. prop = config[i];
  11046. if (isFunction(prop)) {
  11047. this[i] = prop;
  11048. } else {
  11049. this['_' + i] = prop;
  11050. }
  11051. }
  11052. }
  11053. this._config = config;
  11054. // Lenient ordinal parsing accepts just a number in addition to
  11055. // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
  11056. // TODO: Remove "ordinalParse" fallback in next major release.
  11057. this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\d{1,2}/.source);
  11058. }
  11059. function mergeConfigs(parentConfig, childConfig) {
  11060. var res = extend({}, parentConfig),
  11061. prop;
  11062. for (prop in childConfig) {
  11063. if (hasOwnProp(childConfig, prop)) {
  11064. if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
  11065. res[prop] = {};
  11066. extend(res[prop], parentConfig[prop]);
  11067. extend(res[prop], childConfig[prop]);
  11068. } else if (childConfig[prop] != null) {
  11069. res[prop] = childConfig[prop];
  11070. } else {
  11071. delete res[prop];
  11072. }
  11073. }
  11074. }
  11075. for (prop in parentConfig) {
  11076. if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {
  11077. // make sure changes to properties don't modify parent config
  11078. res[prop] = extend({}, res[prop]);
  11079. }
  11080. }
  11081. return res;
  11082. }
  11083. function Locale(config) {
  11084. if (config != null) {
  11085. this.set(config);
  11086. }
  11087. }
  11088. var keys;
  11089. if (Object.keys) {
  11090. keys = Object.keys;
  11091. } else {
  11092. keys = function keys(obj) {
  11093. var i,
  11094. res = [];
  11095. for (i in obj) {
  11096. if (hasOwnProp(obj, i)) {
  11097. res.push(i);
  11098. }
  11099. }
  11100. return res;
  11101. };
  11102. }
  11103. var defaultCalendar = {
  11104. sameDay: '[Today at] LT',
  11105. nextDay: '[Tomorrow at] LT',
  11106. nextWeek: 'dddd [at] LT',
  11107. lastDay: '[Yesterday at] LT',
  11108. lastWeek: '[Last] dddd [at] LT',
  11109. sameElse: 'L'
  11110. };
  11111. function calendar(key, mom, now) {
  11112. var output = this._calendar[key] || this._calendar['sameElse'];
  11113. return isFunction(output) ? output.call(mom, now) : output;
  11114. }
  11115. function zeroFill(number, targetLength, forceSign) {
  11116. var absNumber = '' + Math.abs(number),
  11117. zerosToFill = targetLength - absNumber.length,
  11118. sign = number >= 0;
  11119. return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
  11120. }
  11121. var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
  11122. localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,
  11123. formatFunctions = {},
  11124. formatTokenFunctions = {};
  11125. // token: 'M'
  11126. // padded: ['MM', 2]
  11127. // ordinal: 'Mo'
  11128. // callback: function () { this.month() + 1 }
  11129. function addFormatToken(token, padded, ordinal, callback) {
  11130. var func = callback;
  11131. if (typeof callback === 'string') {
  11132. func = function func() {
  11133. return this[callback]();
  11134. };
  11135. }
  11136. if (token) {
  11137. formatTokenFunctions[token] = func;
  11138. }
  11139. if (padded) {
  11140. formatTokenFunctions[padded[0]] = function () {
  11141. return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
  11142. };
  11143. }
  11144. if (ordinal) {
  11145. formatTokenFunctions[ordinal] = function () {
  11146. return this.localeData().ordinal(func.apply(this, arguments), token);
  11147. };
  11148. }
  11149. }
  11150. function removeFormattingTokens(input) {
  11151. if (input.match(/\[[\s\S]/)) {
  11152. return input.replace(/^\[|\]$/g, '');
  11153. }
  11154. return input.replace(/\\/g, '');
  11155. }
  11156. function makeFormatFunction(format) {
  11157. var array = format.match(formattingTokens),
  11158. i,
  11159. length;
  11160. for (i = 0, length = array.length; i < length; i++) {
  11161. if (formatTokenFunctions[array[i]]) {
  11162. array[i] = formatTokenFunctions[array[i]];
  11163. } else {
  11164. array[i] = removeFormattingTokens(array[i]);
  11165. }
  11166. }
  11167. return function (mom) {
  11168. var output = '',
  11169. i;
  11170. for (i = 0; i < length; i++) {
  11171. output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];
  11172. }
  11173. return output;
  11174. };
  11175. }
  11176. // format date using native date object
  11177. function formatMoment(m, format) {
  11178. if (!m.isValid()) {
  11179. return m.localeData().invalidDate();
  11180. }
  11181. format = expandFormat(format, m.localeData());
  11182. formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);
  11183. return formatFunctions[format](m);
  11184. }
  11185. function expandFormat(format, locale) {
  11186. var i = 5;
  11187. function replaceLongDateFormatTokens(input) {
  11188. return locale.longDateFormat(input) || input;
  11189. }
  11190. localFormattingTokens.lastIndex = 0;
  11191. while (i >= 0 && localFormattingTokens.test(format)) {
  11192. format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);
  11193. localFormattingTokens.lastIndex = 0;
  11194. i -= 1;
  11195. }
  11196. return format;
  11197. }
  11198. var defaultLongDateFormat = {
  11199. LTS: 'h:mm:ss A',
  11200. LT: 'h:mm A',
  11201. L: 'MM/DD/YYYY',
  11202. LL: 'MMMM D, YYYY',
  11203. LLL: 'MMMM D, YYYY h:mm A',
  11204. LLLL: 'dddd, MMMM D, YYYY h:mm A'
  11205. };
  11206. function longDateFormat(key) {
  11207. var format = this._longDateFormat[key],
  11208. formatUpper = this._longDateFormat[key.toUpperCase()];
  11209. if (format || !formatUpper) {
  11210. return format;
  11211. }
  11212. this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {
  11213. if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {
  11214. return tok.slice(1);
  11215. }
  11216. return tok;
  11217. }).join('');
  11218. return this._longDateFormat[key];
  11219. }
  11220. var defaultInvalidDate = 'Invalid date';
  11221. function invalidDate() {
  11222. return this._invalidDate;
  11223. }
  11224. var defaultOrdinal = '%d',
  11225. defaultDayOfMonthOrdinalParse = /\d{1,2}/;
  11226. function ordinal(number) {
  11227. return this._ordinal.replace('%d', number);
  11228. }
  11229. var defaultRelativeTime = {
  11230. future: 'in %s',
  11231. past: '%s ago',
  11232. s: 'a few seconds',
  11233. ss: '%d seconds',
  11234. m: 'a minute',
  11235. mm: '%d minutes',
  11236. h: 'an hour',
  11237. hh: '%d hours',
  11238. d: 'a day',
  11239. dd: '%d days',
  11240. w: 'a week',
  11241. ww: '%d weeks',
  11242. M: 'a month',
  11243. MM: '%d months',
  11244. y: 'a year',
  11245. yy: '%d years'
  11246. };
  11247. function relativeTime(number, withoutSuffix, string, isFuture) {
  11248. var output = this._relativeTime[string];
  11249. return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
  11250. }
  11251. function pastFuture(diff, output) {
  11252. var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
  11253. return isFunction(format) ? format(output) : format.replace(/%s/i, output);
  11254. }
  11255. var aliases = {};
  11256. function addUnitAlias(unit, shorthand) {
  11257. var lowerCase = unit.toLowerCase();
  11258. aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;
  11259. }
  11260. function normalizeUnits(units) {
  11261. return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;
  11262. }
  11263. function normalizeObjectUnits(inputObject) {
  11264. var normalizedInput = {},
  11265. normalizedProp,
  11266. prop;
  11267. for (prop in inputObject) {
  11268. if (hasOwnProp(inputObject, prop)) {
  11269. normalizedProp = normalizeUnits(prop);
  11270. if (normalizedProp) {
  11271. normalizedInput[normalizedProp] = inputObject[prop];
  11272. }
  11273. }
  11274. }
  11275. return normalizedInput;
  11276. }
  11277. var priorities = {};
  11278. function addUnitPriority(unit, priority) {
  11279. priorities[unit] = priority;
  11280. }
  11281. function getPrioritizedUnits(unitsObj) {
  11282. var units = [],
  11283. u;
  11284. for (u in unitsObj) {
  11285. if (hasOwnProp(unitsObj, u)) {
  11286. units.push({
  11287. unit: u,
  11288. priority: priorities[u]
  11289. });
  11290. }
  11291. }
  11292. units.sort(function (a, b) {
  11293. return a.priority - b.priority;
  11294. });
  11295. return units;
  11296. }
  11297. function isLeapYear(year) {
  11298. return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
  11299. }
  11300. function absFloor(number) {
  11301. if (number < 0) {
  11302. // -0 -> 0
  11303. return Math.ceil(number) || 0;
  11304. } else {
  11305. return Math.floor(number);
  11306. }
  11307. }
  11308. function toInt(argumentForCoercion) {
  11309. var coercedNumber = +argumentForCoercion,
  11310. value = 0;
  11311. if (coercedNumber !== 0 && isFinite(coercedNumber)) {
  11312. value = absFloor(coercedNumber);
  11313. }
  11314. return value;
  11315. }
  11316. function makeGetSet(unit, keepTime) {
  11317. return function (value) {
  11318. if (value != null) {
  11319. set$1(this, unit, value);
  11320. hooks.updateOffset(this, keepTime);
  11321. return this;
  11322. } else {
  11323. return get(this, unit);
  11324. }
  11325. };
  11326. }
  11327. function get(mom, unit) {
  11328. return mom.isValid() ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;
  11329. }
  11330. function set$1(mom, unit, value) {
  11331. if (mom.isValid() && !isNaN(value)) {
  11332. if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
  11333. value = toInt(value);
  11334. mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month()));
  11335. } else {
  11336. mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
  11337. }
  11338. }
  11339. }
  11340. // MOMENTS
  11341. function stringGet(units) {
  11342. units = normalizeUnits(units);
  11343. if (isFunction(this[units])) {
  11344. return this[units]();
  11345. }
  11346. return this;
  11347. }
  11348. function stringSet(units, value) {
  11349. if (_typeof(units) === 'object') {
  11350. units = normalizeObjectUnits(units);
  11351. var prioritized = getPrioritizedUnits(units),
  11352. i,
  11353. prioritizedLen = prioritized.length;
  11354. for (i = 0; i < prioritizedLen; i++) {
  11355. this[prioritized[i].unit](units[prioritized[i].unit]);
  11356. }
  11357. } else {
  11358. units = normalizeUnits(units);
  11359. if (isFunction(this[units])) {
  11360. return this[units](value);
  11361. }
  11362. }
  11363. return this;
  11364. }
  11365. var match1 = /\d/,
  11366. // 0 - 9
  11367. match2 = /\d\d/,
  11368. // 00 - 99
  11369. match3 = /\d{3}/,
  11370. // 000 - 999
  11371. match4 = /\d{4}/,
  11372. // 0000 - 9999
  11373. match6 = /[+-]?\d{6}/,
  11374. // -999999 - 999999
  11375. match1to2 = /\d\d?/,
  11376. // 0 - 99
  11377. match3to4 = /\d\d\d\d?/,
  11378. // 999 - 9999
  11379. match5to6 = /\d\d\d\d\d\d?/,
  11380. // 99999 - 999999
  11381. match1to3 = /\d{1,3}/,
  11382. // 0 - 999
  11383. match1to4 = /\d{1,4}/,
  11384. // 0 - 9999
  11385. match1to6 = /[+-]?\d{1,6}/,
  11386. // -999999 - 999999
  11387. matchUnsigned = /\d+/,
  11388. // 0 - inf
  11389. matchSigned = /[+-]?\d+/,
  11390. // -inf - inf
  11391. matchOffset = /Z|[+-]\d\d:?\d\d/gi,
  11392. // +00:00 -00:00 +0000 -0000 or Z
  11393. matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi,
  11394. // +00 -00 +00:00 -00:00 +0000 -0000 or Z
  11395. matchTimestamp = /[+-]?\d+(\.\d{1,3})?/,
  11396. // 123456789 123456789.123
  11397. // any word (or two) characters or numbers including two/three word month in arabic.
  11398. // includes scottish gaelic two word and hyphenated months
  11399. matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,
  11400. regexes;
  11401. regexes = {};
  11402. function addRegexToken(token, regex, strictRegex) {
  11403. regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {
  11404. return isStrict && strictRegex ? strictRegex : regex;
  11405. };
  11406. }
  11407. function getParseRegexForToken(token, config) {
  11408. if (!hasOwnProp(regexes, token)) {
  11409. return new RegExp(unescapeFormat(token));
  11410. }
  11411. return regexes[token](config._strict, config._locale);
  11412. }
  11413. // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
  11414. function unescapeFormat(s) {
  11415. return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) {
  11416. return p1 || p2 || p3 || p4;
  11417. }));
  11418. }
  11419. function regexEscape(s) {
  11420. return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
  11421. }
  11422. var tokens = {};
  11423. function addParseToken(token, callback) {
  11424. var i,
  11425. func = callback,
  11426. tokenLen;
  11427. if (typeof token === 'string') {
  11428. token = [token];
  11429. }
  11430. if (isNumber(callback)) {
  11431. func = function func(input, array) {
  11432. array[callback] = toInt(input);
  11433. };
  11434. }
  11435. tokenLen = token.length;
  11436. for (i = 0; i < tokenLen; i++) {
  11437. tokens[token[i]] = func;
  11438. }
  11439. }
  11440. function addWeekParseToken(token, callback) {
  11441. addParseToken(token, function (input, array, config, token) {
  11442. config._w = config._w || {};
  11443. callback(input, config._w, config, token);
  11444. });
  11445. }
  11446. function addTimeToArrayFromToken(token, input, config) {
  11447. if (input != null && hasOwnProp(tokens, token)) {
  11448. tokens[token](input, config._a, config, token);
  11449. }
  11450. }
  11451. var YEAR = 0,
  11452. MONTH = 1,
  11453. DATE = 2,
  11454. HOUR = 3,
  11455. MINUTE = 4,
  11456. SECOND = 5,
  11457. MILLISECOND = 6,
  11458. WEEK = 7,
  11459. WEEKDAY = 8;
  11460. function mod(n, x) {
  11461. return (n % x + x) % x;
  11462. }
  11463. var indexOf;
  11464. if (Array.prototype.indexOf) {
  11465. indexOf = Array.prototype.indexOf;
  11466. } else {
  11467. indexOf = function indexOf(o) {
  11468. // I know
  11469. var i;
  11470. for (i = 0; i < this.length; ++i) {
  11471. if (this[i] === o) {
  11472. return i;
  11473. }
  11474. }
  11475. return -1;
  11476. };
  11477. }
  11478. function daysInMonth(year, month) {
  11479. if (isNaN(year) || isNaN(month)) {
  11480. return NaN;
  11481. }
  11482. var modMonth = mod(month, 12);
  11483. year += (month - modMonth) / 12;
  11484. return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;
  11485. }
  11486. // FORMATTING
  11487. addFormatToken('M', ['MM', 2], 'Mo', function () {
  11488. return this.month() + 1;
  11489. });
  11490. addFormatToken('MMM', 0, 0, function (format) {
  11491. return this.localeData().monthsShort(this, format);
  11492. });
  11493. addFormatToken('MMMM', 0, 0, function (format) {
  11494. return this.localeData().months(this, format);
  11495. });
  11496. // ALIASES
  11497. addUnitAlias('month', 'M');
  11498. // PRIORITY
  11499. addUnitPriority('month', 8);
  11500. // PARSING
  11501. addRegexToken('M', match1to2);
  11502. addRegexToken('MM', match1to2, match2);
  11503. addRegexToken('MMM', function (isStrict, locale) {
  11504. return locale.monthsShortRegex(isStrict);
  11505. });
  11506. addRegexToken('MMMM', function (isStrict, locale) {
  11507. return locale.monthsRegex(isStrict);
  11508. });
  11509. addParseToken(['M', 'MM'], function (input, array) {
  11510. array[MONTH] = toInt(input) - 1;
  11511. });
  11512. addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
  11513. var month = config._locale.monthsParse(input, token, config._strict);
  11514. // if we didn't find a month name, mark the date as invalid.
  11515. if (month != null) {
  11516. array[MONTH] = month;
  11517. } else {
  11518. getParsingFlags(config).invalidMonth = input;
  11519. }
  11520. });
  11521. // LOCALES
  11522. var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  11523. defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  11524. MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,
  11525. defaultMonthsShortRegex = matchWord,
  11526. defaultMonthsRegex = matchWord;
  11527. function localeMonths(m, format) {
  11528. if (!m) {
  11529. return isArray(this._months) ? this._months : this._months['standalone'];
  11530. }
  11531. return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
  11532. }
  11533. function localeMonthsShort(m, format) {
  11534. if (!m) {
  11535. return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];
  11536. }
  11537. return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
  11538. }
  11539. function handleStrictParse(monthName, format, strict) {
  11540. var i,
  11541. ii,
  11542. mom,
  11543. llc = monthName.toLocaleLowerCase();
  11544. if (!this._monthsParse) {
  11545. // this is not used
  11546. this._monthsParse = [];
  11547. this._longMonthsParse = [];
  11548. this._shortMonthsParse = [];
  11549. for (i = 0; i < 12; ++i) {
  11550. mom = createUTC([2000, i]);
  11551. this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();
  11552. this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
  11553. }
  11554. }
  11555. if (strict) {
  11556. if (format === 'MMM') {
  11557. ii = indexOf.call(this._shortMonthsParse, llc);
  11558. return ii !== -1 ? ii : null;
  11559. } else {
  11560. ii = indexOf.call(this._longMonthsParse, llc);
  11561. return ii !== -1 ? ii : null;
  11562. }
  11563. } else {
  11564. if (format === 'MMM') {
  11565. ii = indexOf.call(this._shortMonthsParse, llc);
  11566. if (ii !== -1) {
  11567. return ii;
  11568. }
  11569. ii = indexOf.call(this._longMonthsParse, llc);
  11570. return ii !== -1 ? ii : null;
  11571. } else {
  11572. ii = indexOf.call(this._longMonthsParse, llc);
  11573. if (ii !== -1) {
  11574. return ii;
  11575. }
  11576. ii = indexOf.call(this._shortMonthsParse, llc);
  11577. return ii !== -1 ? ii : null;
  11578. }
  11579. }
  11580. }
  11581. function localeMonthsParse(monthName, format, strict) {
  11582. var i, mom, regex;
  11583. if (this._monthsParseExact) {
  11584. return handleStrictParse.call(this, monthName, format, strict);
  11585. }
  11586. if (!this._monthsParse) {
  11587. this._monthsParse = [];
  11588. this._longMonthsParse = [];
  11589. this._shortMonthsParse = [];
  11590. }
  11591. // TODO: add sorting
  11592. // Sorting makes sure if one month (or abbr) is a prefix of another
  11593. // see sorting in computeMonthsParse
  11594. for (i = 0; i < 12; i++) {
  11595. // make the regex if we don't have it already
  11596. mom = createUTC([2000, i]);
  11597. if (strict && !this._longMonthsParse[i]) {
  11598. this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');
  11599. this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');
  11600. }
  11601. if (!strict && !this._monthsParse[i]) {
  11602. regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
  11603. this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');
  11604. }
  11605. // test the regex
  11606. if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {
  11607. return i;
  11608. } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {
  11609. return i;
  11610. } else if (!strict && this._monthsParse[i].test(monthName)) {
  11611. return i;
  11612. }
  11613. }
  11614. }
  11615. // MOMENTS
  11616. function setMonth(mom, value) {
  11617. var dayOfMonth;
  11618. if (!mom.isValid()) {
  11619. // No op
  11620. return mom;
  11621. }
  11622. if (typeof value === 'string') {
  11623. if (/^\d+$/.test(value)) {
  11624. value = toInt(value);
  11625. } else {
  11626. value = mom.localeData().monthsParse(value);
  11627. // TODO: Another silent failure?
  11628. if (!isNumber(value)) {
  11629. return mom;
  11630. }
  11631. }
  11632. }
  11633. dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
  11634. mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
  11635. return mom;
  11636. }
  11637. function getSetMonth(value) {
  11638. if (value != null) {
  11639. setMonth(this, value);
  11640. hooks.updateOffset(this, true);
  11641. return this;
  11642. } else {
  11643. return get(this, 'Month');
  11644. }
  11645. }
  11646. function getDaysInMonth() {
  11647. return daysInMonth(this.year(), this.month());
  11648. }
  11649. function monthsShortRegex(isStrict) {
  11650. if (this._monthsParseExact) {
  11651. if (!hasOwnProp(this, '_monthsRegex')) {
  11652. computeMonthsParse.call(this);
  11653. }
  11654. if (isStrict) {
  11655. return this._monthsShortStrictRegex;
  11656. } else {
  11657. return this._monthsShortRegex;
  11658. }
  11659. } else {
  11660. if (!hasOwnProp(this, '_monthsShortRegex')) {
  11661. this._monthsShortRegex = defaultMonthsShortRegex;
  11662. }
  11663. return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;
  11664. }
  11665. }
  11666. function monthsRegex(isStrict) {
  11667. if (this._monthsParseExact) {
  11668. if (!hasOwnProp(this, '_monthsRegex')) {
  11669. computeMonthsParse.call(this);
  11670. }
  11671. if (isStrict) {
  11672. return this._monthsStrictRegex;
  11673. } else {
  11674. return this._monthsRegex;
  11675. }
  11676. } else {
  11677. if (!hasOwnProp(this, '_monthsRegex')) {
  11678. this._monthsRegex = defaultMonthsRegex;
  11679. }
  11680. return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;
  11681. }
  11682. }
  11683. function computeMonthsParse() {
  11684. function cmpLenRev(a, b) {
  11685. return b.length - a.length;
  11686. }
  11687. var shortPieces = [],
  11688. longPieces = [],
  11689. mixedPieces = [],
  11690. i,
  11691. mom;
  11692. for (i = 0; i < 12; i++) {
  11693. // make the regex if we don't have it already
  11694. mom = createUTC([2000, i]);
  11695. shortPieces.push(this.monthsShort(mom, ''));
  11696. longPieces.push(this.months(mom, ''));
  11697. mixedPieces.push(this.months(mom, ''));
  11698. mixedPieces.push(this.monthsShort(mom, ''));
  11699. }
  11700. // Sorting makes sure if one month (or abbr) is a prefix of another it
  11701. // will match the longer piece.
  11702. shortPieces.sort(cmpLenRev);
  11703. longPieces.sort(cmpLenRev);
  11704. mixedPieces.sort(cmpLenRev);
  11705. for (i = 0; i < 12; i++) {
  11706. shortPieces[i] = regexEscape(shortPieces[i]);
  11707. longPieces[i] = regexEscape(longPieces[i]);
  11708. }
  11709. for (i = 0; i < 24; i++) {
  11710. mixedPieces[i] = regexEscape(mixedPieces[i]);
  11711. }
  11712. this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  11713. this._monthsShortRegex = this._monthsRegex;
  11714. this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
  11715. this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
  11716. }
  11717. // FORMATTING
  11718. addFormatToken('Y', 0, 0, function () {
  11719. var y = this.year();
  11720. return y <= 9999 ? zeroFill(y, 4) : '+' + y;
  11721. });
  11722. addFormatToken(0, ['YY', 2], 0, function () {
  11723. return this.year() % 100;
  11724. });
  11725. addFormatToken(0, ['YYYY', 4], 0, 'year');
  11726. addFormatToken(0, ['YYYYY', 5], 0, 'year');
  11727. addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');
  11728. // ALIASES
  11729. addUnitAlias('year', 'y');
  11730. // PRIORITIES
  11731. addUnitPriority('year', 1);
  11732. // PARSING
  11733. addRegexToken('Y', matchSigned);
  11734. addRegexToken('YY', match1to2, match2);
  11735. addRegexToken('YYYY', match1to4, match4);
  11736. addRegexToken('YYYYY', match1to6, match6);
  11737. addRegexToken('YYYYYY', match1to6, match6);
  11738. addParseToken(['YYYYY', 'YYYYYY'], YEAR);
  11739. addParseToken('YYYY', function (input, array) {
  11740. array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
  11741. });
  11742. addParseToken('YY', function (input, array) {
  11743. array[YEAR] = hooks.parseTwoDigitYear(input);
  11744. });
  11745. addParseToken('Y', function (input, array) {
  11746. array[YEAR] = parseInt(input, 10);
  11747. });
  11748. // HELPERS
  11749. function daysInYear(year) {
  11750. return isLeapYear(year) ? 366 : 365;
  11751. }
  11752. // HOOKS
  11753. hooks.parseTwoDigitYear = function (input) {
  11754. return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);
  11755. };
  11756. // MOMENTS
  11757. var getSetYear = makeGetSet('FullYear', true);
  11758. function getIsLeapYear() {
  11759. return isLeapYear(this.year());
  11760. }
  11761. function createDate(y, m, d, h, M, s, ms) {
  11762. // can't just apply() to create a date:
  11763. // https://stackoverflow.com/q/181348
  11764. var date;
  11765. // the date constructor remaps years 0-99 to 1900-1999
  11766. if (y < 100 && y >= 0) {
  11767. // preserve leap years using a full 400 year cycle, then reset
  11768. date = new Date(y + 400, m, d, h, M, s, ms);
  11769. if (isFinite(date.getFullYear())) {
  11770. date.setFullYear(y);
  11771. }
  11772. } else {
  11773. date = new Date(y, m, d, h, M, s, ms);
  11774. }
  11775. return date;
  11776. }
  11777. function createUTCDate(y) {
  11778. var date, args;
  11779. // the Date.UTC function remaps years 0-99 to 1900-1999
  11780. if (y < 100 && y >= 0) {
  11781. args = Array.prototype.slice.call(arguments);
  11782. // preserve leap years using a full 400 year cycle, then reset
  11783. args[0] = y + 400;
  11784. date = new Date(Date.UTC.apply(null, args));
  11785. if (isFinite(date.getUTCFullYear())) {
  11786. date.setUTCFullYear(y);
  11787. }
  11788. } else {
  11789. date = new Date(Date.UTC.apply(null, arguments));
  11790. }
  11791. return date;
  11792. }
  11793. // start-of-first-week - start-of-year
  11794. function firstWeekOffset(year, dow, doy) {
  11795. var
  11796. // first-week day -- which january is always in the first week (4 for iso, 1 for other)
  11797. fwd = 7 + dow - doy,
  11798. // first-week day local weekday -- which local weekday is fwd
  11799. fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
  11800. return -fwdlw + fwd - 1;
  11801. }
  11802. // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
  11803. function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
  11804. var localWeekday = (7 + weekday - dow) % 7,
  11805. weekOffset = firstWeekOffset(year, dow, doy),
  11806. dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,
  11807. resYear,
  11808. resDayOfYear;
  11809. if (dayOfYear <= 0) {
  11810. resYear = year - 1;
  11811. resDayOfYear = daysInYear(resYear) + dayOfYear;
  11812. } else if (dayOfYear > daysInYear(year)) {
  11813. resYear = year + 1;
  11814. resDayOfYear = dayOfYear - daysInYear(year);
  11815. } else {
  11816. resYear = year;
  11817. resDayOfYear = dayOfYear;
  11818. }
  11819. return {
  11820. year: resYear,
  11821. dayOfYear: resDayOfYear
  11822. };
  11823. }
  11824. function weekOfYear(mom, dow, doy) {
  11825. var weekOffset = firstWeekOffset(mom.year(), dow, doy),
  11826. week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
  11827. resWeek,
  11828. resYear;
  11829. if (week < 1) {
  11830. resYear = mom.year() - 1;
  11831. resWeek = week + weeksInYear(resYear, dow, doy);
  11832. } else if (week > weeksInYear(mom.year(), dow, doy)) {
  11833. resWeek = week - weeksInYear(mom.year(), dow, doy);
  11834. resYear = mom.year() + 1;
  11835. } else {
  11836. resYear = mom.year();
  11837. resWeek = week;
  11838. }
  11839. return {
  11840. week: resWeek,
  11841. year: resYear
  11842. };
  11843. }
  11844. function weeksInYear(year, dow, doy) {
  11845. var weekOffset = firstWeekOffset(year, dow, doy),
  11846. weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
  11847. return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
  11848. }
  11849. // FORMATTING
  11850. addFormatToken('w', ['ww', 2], 'wo', 'week');
  11851. addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
  11852. // ALIASES
  11853. addUnitAlias('week', 'w');
  11854. addUnitAlias('isoWeek', 'W');
  11855. // PRIORITIES
  11856. addUnitPriority('week', 5);
  11857. addUnitPriority('isoWeek', 5);
  11858. // PARSING
  11859. addRegexToken('w', match1to2);
  11860. addRegexToken('ww', match1to2, match2);
  11861. addRegexToken('W', match1to2);
  11862. addRegexToken('WW', match1to2, match2);
  11863. addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {
  11864. week[token.substr(0, 1)] = toInt(input);
  11865. });
  11866. // HELPERS
  11867. // LOCALES
  11868. function localeWeek(mom) {
  11869. return weekOfYear(mom, this._week.dow, this._week.doy).week;
  11870. }
  11871. var defaultLocaleWeek = {
  11872. dow: 0,
  11873. // Sunday is the first day of the week.
  11874. doy: 6 // The week that contains Jan 6th is the first week of the year.
  11875. };
  11876. function localeFirstDayOfWeek() {
  11877. return this._week.dow;
  11878. }
  11879. function localeFirstDayOfYear() {
  11880. return this._week.doy;
  11881. }
  11882. // MOMENTS
  11883. function getSetWeek(input) {
  11884. var week = this.localeData().week(this);
  11885. return input == null ? week : this.add((input - week) * 7, 'd');
  11886. }
  11887. function getSetISOWeek(input) {
  11888. var week = weekOfYear(this, 1, 4).week;
  11889. return input == null ? week : this.add((input - week) * 7, 'd');
  11890. }
  11891. // FORMATTING
  11892. addFormatToken('d', 0, 'do', 'day');
  11893. addFormatToken('dd', 0, 0, function (format) {
  11894. return this.localeData().weekdaysMin(this, format);
  11895. });
  11896. addFormatToken('ddd', 0, 0, function (format) {
  11897. return this.localeData().weekdaysShort(this, format);
  11898. });
  11899. addFormatToken('dddd', 0, 0, function (format) {
  11900. return this.localeData().weekdays(this, format);
  11901. });
  11902. addFormatToken('e', 0, 0, 'weekday');
  11903. addFormatToken('E', 0, 0, 'isoWeekday');
  11904. // ALIASES
  11905. addUnitAlias('day', 'd');
  11906. addUnitAlias('weekday', 'e');
  11907. addUnitAlias('isoWeekday', 'E');
  11908. // PRIORITY
  11909. addUnitPriority('day', 11);
  11910. addUnitPriority('weekday', 11);
  11911. addUnitPriority('isoWeekday', 11);
  11912. // PARSING
  11913. addRegexToken('d', match1to2);
  11914. addRegexToken('e', match1to2);
  11915. addRegexToken('E', match1to2);
  11916. addRegexToken('dd', function (isStrict, locale) {
  11917. return locale.weekdaysMinRegex(isStrict);
  11918. });
  11919. addRegexToken('ddd', function (isStrict, locale) {
  11920. return locale.weekdaysShortRegex(isStrict);
  11921. });
  11922. addRegexToken('dddd', function (isStrict, locale) {
  11923. return locale.weekdaysRegex(isStrict);
  11924. });
  11925. addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {
  11926. var weekday = config._locale.weekdaysParse(input, token, config._strict);
  11927. // if we didn't get a weekday name, mark the date as invalid
  11928. if (weekday != null) {
  11929. week.d = weekday;
  11930. } else {
  11931. getParsingFlags(config).invalidWeekday = input;
  11932. }
  11933. });
  11934. addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {
  11935. week[token] = toInt(input);
  11936. });
  11937. // HELPERS
  11938. function parseWeekday(input, locale) {
  11939. if (typeof input !== 'string') {
  11940. return input;
  11941. }
  11942. if (!isNaN(input)) {
  11943. return parseInt(input, 10);
  11944. }
  11945. input = locale.weekdaysParse(input);
  11946. if (typeof input === 'number') {
  11947. return input;
  11948. }
  11949. return null;
  11950. }
  11951. function parseIsoWeekday(input, locale) {
  11952. if (typeof input === 'string') {
  11953. return locale.weekdaysParse(input) % 7 || 7;
  11954. }
  11955. return isNaN(input) ? null : input;
  11956. }
  11957. // LOCALES
  11958. function shiftWeekdays(ws, n) {
  11959. return ws.slice(n, 7).concat(ws.slice(0, n));
  11960. }
  11961. var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  11962. defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  11963. defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  11964. defaultWeekdaysRegex = matchWord,
  11965. defaultWeekdaysShortRegex = matchWord,
  11966. defaultWeekdaysMinRegex = matchWord;
  11967. function localeWeekdays(m, format) {
  11968. var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];
  11969. return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;
  11970. }
  11971. function localeWeekdaysShort(m) {
  11972. return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;
  11973. }
  11974. function localeWeekdaysMin(m) {
  11975. return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;
  11976. }
  11977. function handleStrictParse$1(weekdayName, format, strict) {
  11978. var i,
  11979. ii,
  11980. mom,
  11981. llc = weekdayName.toLocaleLowerCase();
  11982. if (!this._weekdaysParse) {
  11983. this._weekdaysParse = [];
  11984. this._shortWeekdaysParse = [];
  11985. this._minWeekdaysParse = [];
  11986. for (i = 0; i < 7; ++i) {
  11987. mom = createUTC([2000, 1]).day(i);
  11988. this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
  11989. this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
  11990. this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
  11991. }
  11992. }
  11993. if (strict) {
  11994. if (format === 'dddd') {
  11995. ii = indexOf.call(this._weekdaysParse, llc);
  11996. return ii !== -1 ? ii : null;
  11997. } else if (format === 'ddd') {
  11998. ii = indexOf.call(this._shortWeekdaysParse, llc);
  11999. return ii !== -1 ? ii : null;
  12000. } else {
  12001. ii = indexOf.call(this._minWeekdaysParse, llc);
  12002. return ii !== -1 ? ii : null;
  12003. }
  12004. } else {
  12005. if (format === 'dddd') {
  12006. ii = indexOf.call(this._weekdaysParse, llc);
  12007. if (ii !== -1) {
  12008. return ii;
  12009. }
  12010. ii = indexOf.call(this._shortWeekdaysParse, llc);
  12011. if (ii !== -1) {
  12012. return ii;
  12013. }
  12014. ii = indexOf.call(this._minWeekdaysParse, llc);
  12015. return ii !== -1 ? ii : null;
  12016. } else if (format === 'ddd') {
  12017. ii = indexOf.call(this._shortWeekdaysParse, llc);
  12018. if (ii !== -1) {
  12019. return ii;
  12020. }
  12021. ii = indexOf.call(this._weekdaysParse, llc);
  12022. if (ii !== -1) {
  12023. return ii;
  12024. }
  12025. ii = indexOf.call(this._minWeekdaysParse, llc);
  12026. return ii !== -1 ? ii : null;
  12027. } else {
  12028. ii = indexOf.call(this._minWeekdaysParse, llc);
  12029. if (ii !== -1) {
  12030. return ii;
  12031. }
  12032. ii = indexOf.call(this._weekdaysParse, llc);
  12033. if (ii !== -1) {
  12034. return ii;
  12035. }
  12036. ii = indexOf.call(this._shortWeekdaysParse, llc);
  12037. return ii !== -1 ? ii : null;
  12038. }
  12039. }
  12040. }
  12041. function localeWeekdaysParse(weekdayName, format, strict) {
  12042. var i, mom, regex;
  12043. if (this._weekdaysParseExact) {
  12044. return handleStrictParse$1.call(this, weekdayName, format, strict);
  12045. }
  12046. if (!this._weekdaysParse) {
  12047. this._weekdaysParse = [];
  12048. this._minWeekdaysParse = [];
  12049. this._shortWeekdaysParse = [];
  12050. this._fullWeekdaysParse = [];
  12051. }
  12052. for (i = 0; i < 7; i++) {
  12053. // make the regex if we don't have it already
  12054. mom = createUTC([2000, 1]).day(i);
  12055. if (strict && !this._fullWeekdaysParse[i]) {
  12056. this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\.?') + '$', 'i');
  12057. this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\.?') + '$', 'i');
  12058. this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\.?') + '$', 'i');
  12059. }
  12060. if (!this._weekdaysParse[i]) {
  12061. regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');
  12062. this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');
  12063. }
  12064. // test the regex
  12065. if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
  12066. return i;
  12067. } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
  12068. return i;
  12069. } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
  12070. return i;
  12071. } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
  12072. return i;
  12073. }
  12074. }
  12075. }
  12076. // MOMENTS
  12077. function getSetDayOfWeek(input) {
  12078. if (!this.isValid()) {
  12079. return input != null ? this : NaN;
  12080. }
  12081. var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
  12082. if (input != null) {
  12083. input = parseWeekday(input, this.localeData());
  12084. return this.add(input - day, 'd');
  12085. } else {
  12086. return day;
  12087. }
  12088. }
  12089. function getSetLocaleDayOfWeek(input) {
  12090. if (!this.isValid()) {
  12091. return input != null ? this : NaN;
  12092. }
  12093. var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
  12094. return input == null ? weekday : this.add(input - weekday, 'd');
  12095. }
  12096. function getSetISODayOfWeek(input) {
  12097. if (!this.isValid()) {
  12098. return input != null ? this : NaN;
  12099. }
  12100. // behaves the same as moment#day except
  12101. // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
  12102. // as a setter, sunday should belong to the previous week.
  12103. if (input != null) {
  12104. var weekday = parseIsoWeekday(input, this.localeData());
  12105. return this.day(this.day() % 7 ? weekday : weekday - 7);
  12106. } else {
  12107. return this.day() || 7;
  12108. }
  12109. }
  12110. function weekdaysRegex(isStrict) {
  12111. if (this._weekdaysParseExact) {
  12112. if (!hasOwnProp(this, '_weekdaysRegex')) {
  12113. computeWeekdaysParse.call(this);
  12114. }
  12115. if (isStrict) {
  12116. return this._weekdaysStrictRegex;
  12117. } else {
  12118. return this._weekdaysRegex;
  12119. }
  12120. } else {
  12121. if (!hasOwnProp(this, '_weekdaysRegex')) {
  12122. this._weekdaysRegex = defaultWeekdaysRegex;
  12123. }
  12124. return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;
  12125. }
  12126. }
  12127. function weekdaysShortRegex(isStrict) {
  12128. if (this._weekdaysParseExact) {
  12129. if (!hasOwnProp(this, '_weekdaysRegex')) {
  12130. computeWeekdaysParse.call(this);
  12131. }
  12132. if (isStrict) {
  12133. return this._weekdaysShortStrictRegex;
  12134. } else {
  12135. return this._weekdaysShortRegex;
  12136. }
  12137. } else {
  12138. if (!hasOwnProp(this, '_weekdaysShortRegex')) {
  12139. this._weekdaysShortRegex = defaultWeekdaysShortRegex;
  12140. }
  12141. return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
  12142. }
  12143. }
  12144. function weekdaysMinRegex(isStrict) {
  12145. if (this._weekdaysParseExact) {
  12146. if (!hasOwnProp(this, '_weekdaysRegex')) {
  12147. computeWeekdaysParse.call(this);
  12148. }
  12149. if (isStrict) {
  12150. return this._weekdaysMinStrictRegex;
  12151. } else {
  12152. return this._weekdaysMinRegex;
  12153. }
  12154. } else {
  12155. if (!hasOwnProp(this, '_weekdaysMinRegex')) {
  12156. this._weekdaysMinRegex = defaultWeekdaysMinRegex;
  12157. }
  12158. return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
  12159. }
  12160. }
  12161. function computeWeekdaysParse() {
  12162. function cmpLenRev(a, b) {
  12163. return b.length - a.length;
  12164. }
  12165. var minPieces = [],
  12166. shortPieces = [],
  12167. longPieces = [],
  12168. mixedPieces = [],
  12169. i,
  12170. mom,
  12171. minp,
  12172. shortp,
  12173. longp;
  12174. for (i = 0; i < 7; i++) {
  12175. // make the regex if we don't have it already
  12176. mom = createUTC([2000, 1]).day(i);
  12177. minp = regexEscape(this.weekdaysMin(mom, ''));
  12178. shortp = regexEscape(this.weekdaysShort(mom, ''));
  12179. longp = regexEscape(this.weekdays(mom, ''));
  12180. minPieces.push(minp);
  12181. shortPieces.push(shortp);
  12182. longPieces.push(longp);
  12183. mixedPieces.push(minp);
  12184. mixedPieces.push(shortp);
  12185. mixedPieces.push(longp);
  12186. }
  12187. // Sorting makes sure if one weekday (or abbr) is a prefix of another it
  12188. // will match the longer piece.
  12189. minPieces.sort(cmpLenRev);
  12190. shortPieces.sort(cmpLenRev);
  12191. longPieces.sort(cmpLenRev);
  12192. mixedPieces.sort(cmpLenRev);
  12193. this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  12194. this._weekdaysShortRegex = this._weekdaysRegex;
  12195. this._weekdaysMinRegex = this._weekdaysRegex;
  12196. this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');
  12197. this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');
  12198. this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');
  12199. }
  12200. // FORMATTING
  12201. function hFormat() {
  12202. return this.hours() % 12 || 12;
  12203. }
  12204. function kFormat() {
  12205. return this.hours() || 24;
  12206. }
  12207. addFormatToken('H', ['HH', 2], 0, 'hour');
  12208. addFormatToken('h', ['hh', 2], 0, hFormat);
  12209. addFormatToken('k', ['kk', 2], 0, kFormat);
  12210. addFormatToken('hmm', 0, 0, function () {
  12211. return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);
  12212. });
  12213. addFormatToken('hmmss', 0, 0, function () {
  12214. return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
  12215. });
  12216. addFormatToken('Hmm', 0, 0, function () {
  12217. return '' + this.hours() + zeroFill(this.minutes(), 2);
  12218. });
  12219. addFormatToken('Hmmss', 0, 0, function () {
  12220. return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
  12221. });
  12222. function meridiem(token, lowercase) {
  12223. addFormatToken(token, 0, 0, function () {
  12224. return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);
  12225. });
  12226. }
  12227. meridiem('a', true);
  12228. meridiem('A', false);
  12229. // ALIASES
  12230. addUnitAlias('hour', 'h');
  12231. // PRIORITY
  12232. addUnitPriority('hour', 13);
  12233. // PARSING
  12234. function matchMeridiem(isStrict, locale) {
  12235. return locale._meridiemParse;
  12236. }
  12237. addRegexToken('a', matchMeridiem);
  12238. addRegexToken('A', matchMeridiem);
  12239. addRegexToken('H', match1to2);
  12240. addRegexToken('h', match1to2);
  12241. addRegexToken('k', match1to2);
  12242. addRegexToken('HH', match1to2, match2);
  12243. addRegexToken('hh', match1to2, match2);
  12244. addRegexToken('kk', match1to2, match2);
  12245. addRegexToken('hmm', match3to4);
  12246. addRegexToken('hmmss', match5to6);
  12247. addRegexToken('Hmm', match3to4);
  12248. addRegexToken('Hmmss', match5to6);
  12249. addParseToken(['H', 'HH'], HOUR);
  12250. addParseToken(['k', 'kk'], function (input, array, config) {
  12251. var kInput = toInt(input);
  12252. array[HOUR] = kInput === 24 ? 0 : kInput;
  12253. });
  12254. addParseToken(['a', 'A'], function (input, array, config) {
  12255. config._isPm = config._locale.isPM(input);
  12256. config._meridiem = input;
  12257. });
  12258. addParseToken(['h', 'hh'], function (input, array, config) {
  12259. array[HOUR] = toInt(input);
  12260. getParsingFlags(config).bigHour = true;
  12261. });
  12262. addParseToken('hmm', function (input, array, config) {
  12263. var pos = input.length - 2;
  12264. array[HOUR] = toInt(input.substr(0, pos));
  12265. array[MINUTE] = toInt(input.substr(pos));
  12266. getParsingFlags(config).bigHour = true;
  12267. });
  12268. addParseToken('hmmss', function (input, array, config) {
  12269. var pos1 = input.length - 4,
  12270. pos2 = input.length - 2;
  12271. array[HOUR] = toInt(input.substr(0, pos1));
  12272. array[MINUTE] = toInt(input.substr(pos1, 2));
  12273. array[SECOND] = toInt(input.substr(pos2));
  12274. getParsingFlags(config).bigHour = true;
  12275. });
  12276. addParseToken('Hmm', function (input, array, config) {
  12277. var pos = input.length - 2;
  12278. array[HOUR] = toInt(input.substr(0, pos));
  12279. array[MINUTE] = toInt(input.substr(pos));
  12280. });
  12281. addParseToken('Hmmss', function (input, array, config) {
  12282. var pos1 = input.length - 4,
  12283. pos2 = input.length - 2;
  12284. array[HOUR] = toInt(input.substr(0, pos1));
  12285. array[MINUTE] = toInt(input.substr(pos1, 2));
  12286. array[SECOND] = toInt(input.substr(pos2));
  12287. });
  12288. // LOCALES
  12289. function localeIsPM(input) {
  12290. // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
  12291. // Using charAt should be more compatible.
  12292. return (input + '').toLowerCase().charAt(0) === 'p';
  12293. }
  12294. var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i,
  12295. // Setting the hour should keep the time, because the user explicitly
  12296. // specified which hour they want. So trying to maintain the same hour (in
  12297. // a new timezone) makes sense. Adding/subtracting hours does not follow
  12298. // this rule.
  12299. getSetHour = makeGetSet('Hours', true);
  12300. function localeMeridiem(hours, minutes, isLower) {
  12301. if (hours > 11) {
  12302. return isLower ? 'pm' : 'PM';
  12303. } else {
  12304. return isLower ? 'am' : 'AM';
  12305. }
  12306. }
  12307. var baseConfig = {
  12308. calendar: defaultCalendar,
  12309. longDateFormat: defaultLongDateFormat,
  12310. invalidDate: defaultInvalidDate,
  12311. ordinal: defaultOrdinal,
  12312. dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
  12313. relativeTime: defaultRelativeTime,
  12314. months: defaultLocaleMonths,
  12315. monthsShort: defaultLocaleMonthsShort,
  12316. week: defaultLocaleWeek,
  12317. weekdays: defaultLocaleWeekdays,
  12318. weekdaysMin: defaultLocaleWeekdaysMin,
  12319. weekdaysShort: defaultLocaleWeekdaysShort,
  12320. meridiemParse: defaultLocaleMeridiemParse
  12321. };
  12322. // internal storage for locale config files
  12323. var locales = {},
  12324. localeFamilies = {},
  12325. globalLocale;
  12326. function commonPrefix(arr1, arr2) {
  12327. var i,
  12328. minl = Math.min(arr1.length, arr2.length);
  12329. for (i = 0; i < minl; i += 1) {
  12330. if (arr1[i] !== arr2[i]) {
  12331. return i;
  12332. }
  12333. }
  12334. return minl;
  12335. }
  12336. function normalizeLocale(key) {
  12337. return key ? key.toLowerCase().replace('_', '-') : key;
  12338. }
  12339. // pick the locale from the array
  12340. // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each
  12341. // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root
  12342. function chooseLocale(names) {
  12343. var i = 0,
  12344. j,
  12345. next,
  12346. locale,
  12347. split;
  12348. while (i < names.length) {
  12349. split = normalizeLocale(names[i]).split('-');
  12350. j = split.length;
  12351. next = normalizeLocale(names[i + 1]);
  12352. next = next ? next.split('-') : null;
  12353. while (j > 0) {
  12354. locale = loadLocale(split.slice(0, j).join('-'));
  12355. if (locale) {
  12356. return locale;
  12357. }
  12358. if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
  12359. //the next array item is better than a shallower substring of this one
  12360. break;
  12361. }
  12362. j--;
  12363. }
  12364. i++;
  12365. }
  12366. return globalLocale;
  12367. }
  12368. function isLocaleNameSane(name) {
  12369. // Prevent names that look like filesystem paths, i.e contain '/' or '\'
  12370. return name.match('^[^/\\\\]*$') != null;
  12371. }
  12372. function loadLocale(name) {
  12373. var oldLocale = null,
  12374. aliasedRequire;
  12375. // TODO: Find a better way to register and load all the locales in Node
  12376. if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports && isLocaleNameSane(name)) {
  12377. try {
  12378. oldLocale = globalLocale._abbr;
  12379. aliasedRequire = require;
  12380. __webpack_require__(54)("./" + name);
  12381. getSetGlobalLocale(oldLocale);
  12382. } catch (e) {
  12383. // mark as not found to avoid repeating expensive file require call causing high CPU
  12384. // when trying to find en-US, en_US, en-us for every format call
  12385. locales[name] = null; // null means not found
  12386. }
  12387. }
  12388. return locales[name];
  12389. }
  12390. // This function will load locale and then set the global locale. If
  12391. // no arguments are passed in, it will simply return the current global
  12392. // locale key.
  12393. function getSetGlobalLocale(key, values) {
  12394. var data;
  12395. if (key) {
  12396. if (isUndefined(values)) {
  12397. data = getLocale(key);
  12398. } else {
  12399. data = defineLocale(key, values);
  12400. }
  12401. if (data) {
  12402. // moment.duration._locale = moment._locale = data;
  12403. globalLocale = data;
  12404. } else {
  12405. if (typeof console !== 'undefined' && console.warn) {
  12406. //warn user if arguments are passed but the locale could not be set
  12407. console.warn('Locale ' + key + ' not found. Did you forget to load it?');
  12408. }
  12409. }
  12410. }
  12411. return globalLocale._abbr;
  12412. }
  12413. function defineLocale(name, config) {
  12414. if (config !== null) {
  12415. var locale,
  12416. parentConfig = baseConfig;
  12417. config.abbr = name;
  12418. if (locales[name] != null) {
  12419. deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');
  12420. parentConfig = locales[name]._config;
  12421. } else if (config.parentLocale != null) {
  12422. if (locales[config.parentLocale] != null) {
  12423. parentConfig = locales[config.parentLocale]._config;
  12424. } else {
  12425. locale = loadLocale(config.parentLocale);
  12426. if (locale != null) {
  12427. parentConfig = locale._config;
  12428. } else {
  12429. if (!localeFamilies[config.parentLocale]) {
  12430. localeFamilies[config.parentLocale] = [];
  12431. }
  12432. localeFamilies[config.parentLocale].push({
  12433. name: name,
  12434. config: config
  12435. });
  12436. return null;
  12437. }
  12438. }
  12439. }
  12440. locales[name] = new Locale(mergeConfigs(parentConfig, config));
  12441. if (localeFamilies[name]) {
  12442. localeFamilies[name].forEach(function (x) {
  12443. defineLocale(x.name, x.config);
  12444. });
  12445. }
  12446. // backwards compat for now: also set the locale
  12447. // make sure we set the locale AFTER all child locales have been
  12448. // created, so we won't end up with the child locale set.
  12449. getSetGlobalLocale(name);
  12450. return locales[name];
  12451. } else {
  12452. // useful for testing
  12453. delete locales[name];
  12454. return null;
  12455. }
  12456. }
  12457. function updateLocale(name, config) {
  12458. if (config != null) {
  12459. var locale,
  12460. tmpLocale,
  12461. parentConfig = baseConfig;
  12462. if (locales[name] != null && locales[name].parentLocale != null) {
  12463. // Update existing child locale in-place to avoid memory-leaks
  12464. locales[name].set(mergeConfigs(locales[name]._config, config));
  12465. } else {
  12466. // MERGE
  12467. tmpLocale = loadLocale(name);
  12468. if (tmpLocale != null) {
  12469. parentConfig = tmpLocale._config;
  12470. }
  12471. config = mergeConfigs(parentConfig, config);
  12472. if (tmpLocale == null) {
  12473. // updateLocale is called for creating a new locale
  12474. // Set abbr so it will have a name (getters return
  12475. // undefined otherwise).
  12476. config.abbr = name;
  12477. }
  12478. locale = new Locale(config);
  12479. locale.parentLocale = locales[name];
  12480. locales[name] = locale;
  12481. }
  12482. // backwards compat for now: also set the locale
  12483. getSetGlobalLocale(name);
  12484. } else {
  12485. // pass null for config to unupdate, useful for tests
  12486. if (locales[name] != null) {
  12487. if (locales[name].parentLocale != null) {
  12488. locales[name] = locales[name].parentLocale;
  12489. if (name === getSetGlobalLocale()) {
  12490. getSetGlobalLocale(name);
  12491. }
  12492. } else if (locales[name] != null) {
  12493. delete locales[name];
  12494. }
  12495. }
  12496. }
  12497. return locales[name];
  12498. }
  12499. // returns locale data
  12500. function getLocale(key) {
  12501. var locale;
  12502. if (key && key._locale && key._locale._abbr) {
  12503. key = key._locale._abbr;
  12504. }
  12505. if (!key) {
  12506. return globalLocale;
  12507. }
  12508. if (!isArray(key)) {
  12509. //short-circuit everything else
  12510. locale = loadLocale(key);
  12511. if (locale) {
  12512. return locale;
  12513. }
  12514. key = [key];
  12515. }
  12516. return chooseLocale(key);
  12517. }
  12518. function listLocales() {
  12519. return keys(locales);
  12520. }
  12521. function checkOverflow(m) {
  12522. var overflow,
  12523. a = m._a;
  12524. if (a && getParsingFlags(m).overflow === -2) {
  12525. overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;
  12526. if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
  12527. overflow = DATE;
  12528. }
  12529. if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
  12530. overflow = WEEK;
  12531. }
  12532. if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
  12533. overflow = WEEKDAY;
  12534. }
  12535. getParsingFlags(m).overflow = overflow;
  12536. }
  12537. return m;
  12538. }
  12539. // iso 8601 regex
  12540. // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
  12541. var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
  12542. basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
  12543. tzRegex = /Z|[+-]\d\d(?::?\d\d)?/,
  12544. isoDates = [['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], ['GGGG-[W]WW', /\d{4}-W\d\d/, false], ['YYYY-DDD', /\d{4}-\d{3}/], ['YYYY-MM', /\d{4}-\d\d/, false], ['YYYYYYMMDD', /[+-]\d{10}/], ['YYYYMMDD', /\d{8}/], ['GGGG[W]WWE', /\d{4}W\d{3}/], ['GGGG[W]WW', /\d{4}W\d{2}/, false], ['YYYYDDD', /\d{7}/], ['YYYYMM', /\d{6}/, false], ['YYYY', /\d{4}/, false]],
  12545. // iso time formats and regexes
  12546. isoTimes = [['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], ['HH:mm:ss', /\d\d:\d\d:\d\d/], ['HH:mm', /\d\d:\d\d/], ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], ['HHmmss', /\d\d\d\d\d\d/], ['HHmm', /\d\d\d\d/], ['HH', /\d\d/]],
  12547. aspNetJsonRegex = /^\/?Date\((-?\d+)/i,
  12548. // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
  12549. rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,
  12550. obsOffsets = {
  12551. UT: 0,
  12552. GMT: 0,
  12553. EDT: -4 * 60,
  12554. EST: -5 * 60,
  12555. CDT: -5 * 60,
  12556. CST: -6 * 60,
  12557. MDT: -6 * 60,
  12558. MST: -7 * 60,
  12559. PDT: -7 * 60,
  12560. PST: -8 * 60
  12561. };
  12562. // date from iso format
  12563. function configFromISO(config) {
  12564. var i,
  12565. l,
  12566. string = config._i,
  12567. match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
  12568. allowTime,
  12569. dateFormat,
  12570. timeFormat,
  12571. tzFormat,
  12572. isoDatesLen = isoDates.length,
  12573. isoTimesLen = isoTimes.length;
  12574. if (match) {
  12575. getParsingFlags(config).iso = true;
  12576. for (i = 0, l = isoDatesLen; i < l; i++) {
  12577. if (isoDates[i][1].exec(match[1])) {
  12578. dateFormat = isoDates[i][0];
  12579. allowTime = isoDates[i][2] !== false;
  12580. break;
  12581. }
  12582. }
  12583. if (dateFormat == null) {
  12584. config._isValid = false;
  12585. return;
  12586. }
  12587. if (match[3]) {
  12588. for (i = 0, l = isoTimesLen; i < l; i++) {
  12589. if (isoTimes[i][1].exec(match[3])) {
  12590. // match[2] should be 'T' or space
  12591. timeFormat = (match[2] || ' ') + isoTimes[i][0];
  12592. break;
  12593. }
  12594. }
  12595. if (timeFormat == null) {
  12596. config._isValid = false;
  12597. return;
  12598. }
  12599. }
  12600. if (!allowTime && timeFormat != null) {
  12601. config._isValid = false;
  12602. return;
  12603. }
  12604. if (match[4]) {
  12605. if (tzRegex.exec(match[4])) {
  12606. tzFormat = 'Z';
  12607. } else {
  12608. config._isValid = false;
  12609. return;
  12610. }
  12611. }
  12612. config._f = dateFormat + (timeFormat || '') + (tzFormat || '');
  12613. configFromStringAndFormat(config);
  12614. } else {
  12615. config._isValid = false;
  12616. }
  12617. }
  12618. function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {
  12619. var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];
  12620. if (secondStr) {
  12621. result.push(parseInt(secondStr, 10));
  12622. }
  12623. return result;
  12624. }
  12625. function untruncateYear(yearStr) {
  12626. var year = parseInt(yearStr, 10);
  12627. if (year <= 49) {
  12628. return 2000 + year;
  12629. } else if (year <= 999) {
  12630. return 1900 + year;
  12631. }
  12632. return year;
  12633. }
  12634. function preprocessRFC2822(s) {
  12635. // Remove comments and folding whitespace and replace multiple-spaces with a single space
  12636. return s.replace(/\([^()]*\)|[\n\t]/g, ' ').replace(/(\s\s+)/g, ' ').replace(/^\s\s*/, '').replace(/\s\s*$/, '');
  12637. }
  12638. function checkWeekday(weekdayStr, parsedInput, config) {
  12639. if (weekdayStr) {
  12640. // TODO: Replace the vanilla JS Date object with an independent day-of-week check.
  12641. var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),
  12642. weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();
  12643. if (weekdayProvided !== weekdayActual) {
  12644. getParsingFlags(config).weekdayMismatch = true;
  12645. config._isValid = false;
  12646. return false;
  12647. }
  12648. }
  12649. return true;
  12650. }
  12651. function calculateOffset(obsOffset, militaryOffset, numOffset) {
  12652. if (obsOffset) {
  12653. return obsOffsets[obsOffset];
  12654. } else if (militaryOffset) {
  12655. // the only allowed military tz is Z
  12656. return 0;
  12657. } else {
  12658. var hm = parseInt(numOffset, 10),
  12659. m = hm % 100,
  12660. h = (hm - m) / 100;
  12661. return h * 60 + m;
  12662. }
  12663. }
  12664. // date and time from ref 2822 format
  12665. function configFromRFC2822(config) {
  12666. var match = rfc2822.exec(preprocessRFC2822(config._i)),
  12667. parsedArray;
  12668. if (match) {
  12669. parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);
  12670. if (!checkWeekday(match[1], parsedArray, config)) {
  12671. return;
  12672. }
  12673. config._a = parsedArray;
  12674. config._tzm = calculateOffset(match[8], match[9], match[10]);
  12675. config._d = createUTCDate.apply(null, config._a);
  12676. config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
  12677. getParsingFlags(config).rfc2822 = true;
  12678. } else {
  12679. config._isValid = false;
  12680. }
  12681. }
  12682. // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
  12683. function configFromString(config) {
  12684. var matched = aspNetJsonRegex.exec(config._i);
  12685. if (matched !== null) {
  12686. config._d = new Date(+matched[1]);
  12687. return;
  12688. }
  12689. configFromISO(config);
  12690. if (config._isValid === false) {
  12691. delete config._isValid;
  12692. } else {
  12693. return;
  12694. }
  12695. configFromRFC2822(config);
  12696. if (config._isValid === false) {
  12697. delete config._isValid;
  12698. } else {
  12699. return;
  12700. }
  12701. if (config._strict) {
  12702. config._isValid = false;
  12703. } else {
  12704. // Final attempt, use Input Fallback
  12705. hooks.createFromInputFallback(config);
  12706. }
  12707. }
  12708. hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {
  12709. config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));
  12710. });
  12711. // Pick the first defined of two or three arguments.
  12712. function defaults(a, b, c) {
  12713. if (a != null) {
  12714. return a;
  12715. }
  12716. if (b != null) {
  12717. return b;
  12718. }
  12719. return c;
  12720. }
  12721. function currentDateArray(config) {
  12722. // hooks is actually the exported moment object
  12723. var nowValue = new Date(hooks.now());
  12724. if (config._useUTC) {
  12725. return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];
  12726. }
  12727. return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
  12728. }
  12729. // convert an array to a date.
  12730. // the array should mirror the parameters below
  12731. // note: all values past the year are optional and will default to the lowest possible value.
  12732. // [year, month, day , hour, minute, second, millisecond]
  12733. function configFromArray(config) {
  12734. var i,
  12735. date,
  12736. input = [],
  12737. currentDate,
  12738. expectedWeekday,
  12739. yearToUse;
  12740. if (config._d) {
  12741. return;
  12742. }
  12743. currentDate = currentDateArray(config);
  12744. //compute day of the year from weeks and weekdays
  12745. if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
  12746. dayOfYearFromWeekInfo(config);
  12747. }
  12748. //if the day of the year is set, figure out what it is
  12749. if (config._dayOfYear != null) {
  12750. yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
  12751. if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
  12752. getParsingFlags(config)._overflowDayOfYear = true;
  12753. }
  12754. date = createUTCDate(yearToUse, 0, config._dayOfYear);
  12755. config._a[MONTH] = date.getUTCMonth();
  12756. config._a[DATE] = date.getUTCDate();
  12757. }
  12758. // Default to current date.
  12759. // * if no year, month, day of month are given, default to today
  12760. // * if day of month is given, default month and year
  12761. // * if month is given, default only year
  12762. // * if year is given, don't default anything
  12763. for (i = 0; i < 3 && config._a[i] == null; ++i) {
  12764. config._a[i] = input[i] = currentDate[i];
  12765. }
  12766. // Zero out whatever was not defaulted, including time
  12767. for (; i < 7; i++) {
  12768. config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];
  12769. }
  12770. // Check for 24:00:00.000
  12771. if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {
  12772. config._nextDay = true;
  12773. config._a[HOUR] = 0;
  12774. }
  12775. config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);
  12776. expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();
  12777. // Apply timezone offset from input. The actual utcOffset can be changed
  12778. // with parseZone.
  12779. if (config._tzm != null) {
  12780. config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
  12781. }
  12782. if (config._nextDay) {
  12783. config._a[HOUR] = 24;
  12784. }
  12785. // check for mismatching day of week
  12786. if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {
  12787. getParsingFlags(config).weekdayMismatch = true;
  12788. }
  12789. }
  12790. function dayOfYearFromWeekInfo(config) {
  12791. var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;
  12792. w = config._w;
  12793. if (w.GG != null || w.W != null || w.E != null) {
  12794. dow = 1;
  12795. doy = 4;
  12796. // TODO: We need to take the current isoWeekYear, but that depends on
  12797. // how we interpret now (local, utc, fixed offset). So create
  12798. // a now version of current config (take local/utc/offset flags, and
  12799. // create now).
  12800. weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);
  12801. week = defaults(w.W, 1);
  12802. weekday = defaults(w.E, 1);
  12803. if (weekday < 1 || weekday > 7) {
  12804. weekdayOverflow = true;
  12805. }
  12806. } else {
  12807. dow = config._locale._week.dow;
  12808. doy = config._locale._week.doy;
  12809. curWeek = weekOfYear(createLocal(), dow, doy);
  12810. weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
  12811. // Default to current week.
  12812. week = defaults(w.w, curWeek.week);
  12813. if (w.d != null) {
  12814. // weekday -- low day numbers are considered next week
  12815. weekday = w.d;
  12816. if (weekday < 0 || weekday > 6) {
  12817. weekdayOverflow = true;
  12818. }
  12819. } else if (w.e != null) {
  12820. // local weekday -- counting starts from beginning of week
  12821. weekday = w.e + dow;
  12822. if (w.e < 0 || w.e > 6) {
  12823. weekdayOverflow = true;
  12824. }
  12825. } else {
  12826. // default to beginning of week
  12827. weekday = dow;
  12828. }
  12829. }
  12830. if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
  12831. getParsingFlags(config)._overflowWeeks = true;
  12832. } else if (weekdayOverflow != null) {
  12833. getParsingFlags(config)._overflowWeekday = true;
  12834. } else {
  12835. temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
  12836. config._a[YEAR] = temp.year;
  12837. config._dayOfYear = temp.dayOfYear;
  12838. }
  12839. }
  12840. // constant that refers to the ISO standard
  12841. hooks.ISO_8601 = function () {};
  12842. // constant that refers to the RFC 2822 form
  12843. hooks.RFC_2822 = function () {};
  12844. // date from string and format string
  12845. function configFromStringAndFormat(config) {
  12846. // TODO: Move this to another part of the creation flow to prevent circular deps
  12847. if (config._f === hooks.ISO_8601) {
  12848. configFromISO(config);
  12849. return;
  12850. }
  12851. if (config._f === hooks.RFC_2822) {
  12852. configFromRFC2822(config);
  12853. return;
  12854. }
  12855. config._a = [];
  12856. getParsingFlags(config).empty = true;
  12857. // This array is used to make a Date, either with `new Date` or `Date.UTC`
  12858. var string = '' + config._i,
  12859. i,
  12860. parsedInput,
  12861. tokens,
  12862. token,
  12863. skipped,
  12864. stringLength = string.length,
  12865. totalParsedInputLength = 0,
  12866. era,
  12867. tokenLen;
  12868. tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];
  12869. tokenLen = tokens.length;
  12870. for (i = 0; i < tokenLen; i++) {
  12871. token = tokens[i];
  12872. parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];
  12873. if (parsedInput) {
  12874. skipped = string.substr(0, string.indexOf(parsedInput));
  12875. if (skipped.length > 0) {
  12876. getParsingFlags(config).unusedInput.push(skipped);
  12877. }
  12878. string = string.slice(string.indexOf(parsedInput) + parsedInput.length);
  12879. totalParsedInputLength += parsedInput.length;
  12880. }
  12881. // don't parse if it's not a known token
  12882. if (formatTokenFunctions[token]) {
  12883. if (parsedInput) {
  12884. getParsingFlags(config).empty = false;
  12885. } else {
  12886. getParsingFlags(config).unusedTokens.push(token);
  12887. }
  12888. addTimeToArrayFromToken(token, parsedInput, config);
  12889. } else if (config._strict && !parsedInput) {
  12890. getParsingFlags(config).unusedTokens.push(token);
  12891. }
  12892. }
  12893. // add remaining unparsed input length to the string
  12894. getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
  12895. if (string.length > 0) {
  12896. getParsingFlags(config).unusedInput.push(string);
  12897. }
  12898. // clear _12h flag if hour is <= 12
  12899. if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {
  12900. getParsingFlags(config).bigHour = undefined;
  12901. }
  12902. getParsingFlags(config).parsedDateParts = config._a.slice(0);
  12903. getParsingFlags(config).meridiem = config._meridiem;
  12904. // handle meridiem
  12905. config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);
  12906. // handle era
  12907. era = getParsingFlags(config).era;
  12908. if (era !== null) {
  12909. config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
  12910. }
  12911. configFromArray(config);
  12912. checkOverflow(config);
  12913. }
  12914. function meridiemFixWrap(locale, hour, meridiem) {
  12915. var isPm;
  12916. if (meridiem == null) {
  12917. // nothing to do
  12918. return hour;
  12919. }
  12920. if (locale.meridiemHour != null) {
  12921. return locale.meridiemHour(hour, meridiem);
  12922. } else if (locale.isPM != null) {
  12923. // Fallback
  12924. isPm = locale.isPM(meridiem);
  12925. if (isPm && hour < 12) {
  12926. hour += 12;
  12927. }
  12928. if (!isPm && hour === 12) {
  12929. hour = 0;
  12930. }
  12931. return hour;
  12932. } else {
  12933. // this is not supposed to happen
  12934. return hour;
  12935. }
  12936. }
  12937. // date from string and array of format strings
  12938. function configFromStringAndArray(config) {
  12939. var tempConfig,
  12940. bestMoment,
  12941. scoreToBeat,
  12942. i,
  12943. currentScore,
  12944. validFormatFound,
  12945. bestFormatIsValid = false,
  12946. configfLen = config._f.length;
  12947. if (configfLen === 0) {
  12948. getParsingFlags(config).invalidFormat = true;
  12949. config._d = new Date(NaN);
  12950. return;
  12951. }
  12952. for (i = 0; i < configfLen; i++) {
  12953. currentScore = 0;
  12954. validFormatFound = false;
  12955. tempConfig = copyConfig({}, config);
  12956. if (config._useUTC != null) {
  12957. tempConfig._useUTC = config._useUTC;
  12958. }
  12959. tempConfig._f = config._f[i];
  12960. configFromStringAndFormat(tempConfig);
  12961. if (isValid(tempConfig)) {
  12962. validFormatFound = true;
  12963. }
  12964. // if there is any input that was not parsed add a penalty for that format
  12965. currentScore += getParsingFlags(tempConfig).charsLeftOver;
  12966. //or tokens
  12967. currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
  12968. getParsingFlags(tempConfig).score = currentScore;
  12969. if (!bestFormatIsValid) {
  12970. if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {
  12971. scoreToBeat = currentScore;
  12972. bestMoment = tempConfig;
  12973. if (validFormatFound) {
  12974. bestFormatIsValid = true;
  12975. }
  12976. }
  12977. } else {
  12978. if (currentScore < scoreToBeat) {
  12979. scoreToBeat = currentScore;
  12980. bestMoment = tempConfig;
  12981. }
  12982. }
  12983. }
  12984. extend(config, bestMoment || tempConfig);
  12985. }
  12986. function configFromObject(config) {
  12987. if (config._d) {
  12988. return;
  12989. }
  12990. var i = normalizeObjectUnits(config._i),
  12991. dayOrDate = i.day === undefined ? i.date : i.day;
  12992. config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {
  12993. return obj && parseInt(obj, 10);
  12994. });
  12995. configFromArray(config);
  12996. }
  12997. function createFromConfig(config) {
  12998. var res = new Moment(checkOverflow(prepareConfig(config)));
  12999. if (res._nextDay) {
  13000. // Adding is smart enough around DST
  13001. res.add(1, 'd');
  13002. res._nextDay = undefined;
  13003. }
  13004. return res;
  13005. }
  13006. function prepareConfig(config) {
  13007. var input = config._i,
  13008. format = config._f;
  13009. config._locale = config._locale || getLocale(config._l);
  13010. if (input === null || format === undefined && input === '') {
  13011. return createInvalid({
  13012. nullInput: true
  13013. });
  13014. }
  13015. if (typeof input === 'string') {
  13016. config._i = input = config._locale.preparse(input);
  13017. }
  13018. if (isMoment(input)) {
  13019. return new Moment(checkOverflow(input));
  13020. } else if (isDate(input)) {
  13021. config._d = input;
  13022. } else if (isArray(format)) {
  13023. configFromStringAndArray(config);
  13024. } else if (format) {
  13025. configFromStringAndFormat(config);
  13026. } else {
  13027. configFromInput(config);
  13028. }
  13029. if (!isValid(config)) {
  13030. config._d = null;
  13031. }
  13032. return config;
  13033. }
  13034. function configFromInput(config) {
  13035. var input = config._i;
  13036. if (isUndefined(input)) {
  13037. config._d = new Date(hooks.now());
  13038. } else if (isDate(input)) {
  13039. config._d = new Date(input.valueOf());
  13040. } else if (typeof input === 'string') {
  13041. configFromString(config);
  13042. } else if (isArray(input)) {
  13043. config._a = map(input.slice(0), function (obj) {
  13044. return parseInt(obj, 10);
  13045. });
  13046. configFromArray(config);
  13047. } else if (isObject(input)) {
  13048. configFromObject(config);
  13049. } else if (isNumber(input)) {
  13050. // from milliseconds
  13051. config._d = new Date(input);
  13052. } else {
  13053. hooks.createFromInputFallback(config);
  13054. }
  13055. }
  13056. function createLocalOrUTC(input, format, locale, strict, isUTC) {
  13057. var c = {};
  13058. if (format === true || format === false) {
  13059. strict = format;
  13060. format = undefined;
  13061. }
  13062. if (locale === true || locale === false) {
  13063. strict = locale;
  13064. locale = undefined;
  13065. }
  13066. if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {
  13067. input = undefined;
  13068. }
  13069. // object construction must be done this way.
  13070. // https://github.com/moment/moment/issues/1423
  13071. c._isAMomentObject = true;
  13072. c._useUTC = c._isUTC = isUTC;
  13073. c._l = locale;
  13074. c._i = input;
  13075. c._f = format;
  13076. c._strict = strict;
  13077. return createFromConfig(c);
  13078. }
  13079. function createLocal(input, format, locale, strict) {
  13080. return createLocalOrUTC(input, format, locale, strict, false);
  13081. }
  13082. var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {
  13083. var other = createLocal.apply(null, arguments);
  13084. if (this.isValid() && other.isValid()) {
  13085. return other < this ? this : other;
  13086. } else {
  13087. return createInvalid();
  13088. }
  13089. }),
  13090. prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {
  13091. var other = createLocal.apply(null, arguments);
  13092. if (this.isValid() && other.isValid()) {
  13093. return other > this ? this : other;
  13094. } else {
  13095. return createInvalid();
  13096. }
  13097. });
  13098. // Pick a moment m from moments so that m[fn](other) is true for all
  13099. // other. This relies on the function fn to be transitive.
  13100. //
  13101. // moments should either be an array of moment objects or an array, whose
  13102. // first element is an array of moment objects.
  13103. function pickBy(fn, moments) {
  13104. var res, i;
  13105. if (moments.length === 1 && isArray(moments[0])) {
  13106. moments = moments[0];
  13107. }
  13108. if (!moments.length) {
  13109. return createLocal();
  13110. }
  13111. res = moments[0];
  13112. for (i = 1; i < moments.length; ++i) {
  13113. if (!moments[i].isValid() || moments[i][fn](res)) {
  13114. res = moments[i];
  13115. }
  13116. }
  13117. return res;
  13118. }
  13119. // TODO: Use [].sort instead?
  13120. function min() {
  13121. var args = [].slice.call(arguments, 0);
  13122. return pickBy('isBefore', args);
  13123. }
  13124. function max() {
  13125. var args = [].slice.call(arguments, 0);
  13126. return pickBy('isAfter', args);
  13127. }
  13128. var now = function now() {
  13129. return Date.now ? Date.now() : +new Date();
  13130. };
  13131. var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];
  13132. function isDurationValid(m) {
  13133. var key,
  13134. unitHasDecimal = false,
  13135. i,
  13136. orderLen = ordering.length;
  13137. for (key in m) {
  13138. if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
  13139. return false;
  13140. }
  13141. }
  13142. for (i = 0; i < orderLen; ++i) {
  13143. if (m[ordering[i]]) {
  13144. if (unitHasDecimal) {
  13145. return false; // only allow non-integers for smallest unit
  13146. }
  13147. if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
  13148. unitHasDecimal = true;
  13149. }
  13150. }
  13151. }
  13152. return true;
  13153. }
  13154. function isValid$1() {
  13155. return this._isValid;
  13156. }
  13157. function createInvalid$1() {
  13158. return createDuration(NaN);
  13159. }
  13160. function Duration(duration) {
  13161. var normalizedInput = normalizeObjectUnits(duration),
  13162. years = normalizedInput.year || 0,
  13163. quarters = normalizedInput.quarter || 0,
  13164. months = normalizedInput.month || 0,
  13165. weeks = normalizedInput.week || normalizedInput.isoWeek || 0,
  13166. days = normalizedInput.day || 0,
  13167. hours = normalizedInput.hour || 0,
  13168. minutes = normalizedInput.minute || 0,
  13169. seconds = normalizedInput.second || 0,
  13170. milliseconds = normalizedInput.millisecond || 0;
  13171. this._isValid = isDurationValid(normalizedInput);
  13172. // representation for dateAddRemove
  13173. this._milliseconds = +milliseconds + seconds * 1e3 +
  13174. // 1000
  13175. minutes * 6e4 +
  13176. // 1000 * 60
  13177. hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978
  13178. // Because of dateAddRemove treats 24 hours as different from a
  13179. // day when working around DST, we need to store them separately
  13180. this._days = +days + weeks * 7;
  13181. // It is impossible to translate months into days without knowing
  13182. // which months you are are talking about, so we have to store
  13183. // it separately.
  13184. this._months = +months + quarters * 3 + years * 12;
  13185. this._data = {};
  13186. this._locale = getLocale();
  13187. this._bubble();
  13188. }
  13189. function isDuration(obj) {
  13190. return obj instanceof Duration;
  13191. }
  13192. function absRound(number) {
  13193. if (number < 0) {
  13194. return Math.round(-1 * number) * -1;
  13195. } else {
  13196. return Math.round(number);
  13197. }
  13198. }
  13199. // compare two arrays, return the number of differences
  13200. function compareArrays(array1, array2, dontConvert) {
  13201. var len = Math.min(array1.length, array2.length),
  13202. lengthDiff = Math.abs(array1.length - array2.length),
  13203. diffs = 0,
  13204. i;
  13205. for (i = 0; i < len; i++) {
  13206. if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {
  13207. diffs++;
  13208. }
  13209. }
  13210. return diffs + lengthDiff;
  13211. }
  13212. // FORMATTING
  13213. function offset(token, separator) {
  13214. addFormatToken(token, 0, 0, function () {
  13215. var offset = this.utcOffset(),
  13216. sign = '+';
  13217. if (offset < 0) {
  13218. offset = -offset;
  13219. sign = '-';
  13220. }
  13221. return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);
  13222. });
  13223. }
  13224. offset('Z', ':');
  13225. offset('ZZ', '');
  13226. // PARSING
  13227. addRegexToken('Z', matchShortOffset);
  13228. addRegexToken('ZZ', matchShortOffset);
  13229. addParseToken(['Z', 'ZZ'], function (input, array, config) {
  13230. config._useUTC = true;
  13231. config._tzm = offsetFromString(matchShortOffset, input);
  13232. });
  13233. // HELPERS
  13234. // timezone chunker
  13235. // '+10:00' > ['10', '00']
  13236. // '-1530' > ['-15', '30']
  13237. var chunkOffset = /([\+\-]|\d\d)/gi;
  13238. function offsetFromString(matcher, string) {
  13239. var matches = (string || '').match(matcher),
  13240. chunk,
  13241. parts,
  13242. minutes;
  13243. if (matches === null) {
  13244. return null;
  13245. }
  13246. chunk = matches[matches.length - 1] || [];
  13247. parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];
  13248. minutes = +(parts[1] * 60) + toInt(parts[2]);
  13249. return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;
  13250. }
  13251. // Return a moment from input, that is local/utc/zone equivalent to model.
  13252. function cloneWithOffset(input, model) {
  13253. var res, diff;
  13254. if (model._isUTC) {
  13255. res = model.clone();
  13256. diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
  13257. // Use low-level api, because this fn is low-level api.
  13258. res._d.setTime(res._d.valueOf() + diff);
  13259. hooks.updateOffset(res, false);
  13260. return res;
  13261. } else {
  13262. return createLocal(input).local();
  13263. }
  13264. }
  13265. function getDateOffset(m) {
  13266. // On Firefox.24 Date#getTimezoneOffset returns a floating point.
  13267. // https://github.com/moment/moment/pull/1871
  13268. return -Math.round(m._d.getTimezoneOffset());
  13269. }
  13270. // HOOKS
  13271. // This function will be called whenever a moment is mutated.
  13272. // It is intended to keep the offset in sync with the timezone.
  13273. hooks.updateOffset = function () {};
  13274. // MOMENTS
  13275. // keepLocalTime = true means only change the timezone, without
  13276. // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->
  13277. // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset
  13278. // +0200, so we adjust the time as needed, to be valid.
  13279. //
  13280. // Keeping the time actually adds/subtracts (one hour)
  13281. // from the actual represented time. That is why we call updateOffset
  13282. // a second time. In case it wants us to change the offset again
  13283. // _changeInProgress == true case, then we have to adjust, because
  13284. // there is no such time in the given timezone.
  13285. function getSetOffset(input, keepLocalTime, keepMinutes) {
  13286. var offset = this._offset || 0,
  13287. localAdjust;
  13288. if (!this.isValid()) {
  13289. return input != null ? this : NaN;
  13290. }
  13291. if (input != null) {
  13292. if (typeof input === 'string') {
  13293. input = offsetFromString(matchShortOffset, input);
  13294. if (input === null) {
  13295. return this;
  13296. }
  13297. } else if (Math.abs(input) < 16 && !keepMinutes) {
  13298. input = input * 60;
  13299. }
  13300. if (!this._isUTC && keepLocalTime) {
  13301. localAdjust = getDateOffset(this);
  13302. }
  13303. this._offset = input;
  13304. this._isUTC = true;
  13305. if (localAdjust != null) {
  13306. this.add(localAdjust, 'm');
  13307. }
  13308. if (offset !== input) {
  13309. if (!keepLocalTime || this._changeInProgress) {
  13310. addSubtract(this, createDuration(input - offset, 'm'), 1, false);
  13311. } else if (!this._changeInProgress) {
  13312. this._changeInProgress = true;
  13313. hooks.updateOffset(this, true);
  13314. this._changeInProgress = null;
  13315. }
  13316. }
  13317. return this;
  13318. } else {
  13319. return this._isUTC ? offset : getDateOffset(this);
  13320. }
  13321. }
  13322. function getSetZone(input, keepLocalTime) {
  13323. if (input != null) {
  13324. if (typeof input !== 'string') {
  13325. input = -input;
  13326. }
  13327. this.utcOffset(input, keepLocalTime);
  13328. return this;
  13329. } else {
  13330. return -this.utcOffset();
  13331. }
  13332. }
  13333. function setOffsetToUTC(keepLocalTime) {
  13334. return this.utcOffset(0, keepLocalTime);
  13335. }
  13336. function setOffsetToLocal(keepLocalTime) {
  13337. if (this._isUTC) {
  13338. this.utcOffset(0, keepLocalTime);
  13339. this._isUTC = false;
  13340. if (keepLocalTime) {
  13341. this.subtract(getDateOffset(this), 'm');
  13342. }
  13343. }
  13344. return this;
  13345. }
  13346. function setOffsetToParsedOffset() {
  13347. if (this._tzm != null) {
  13348. this.utcOffset(this._tzm, false, true);
  13349. } else if (typeof this._i === 'string') {
  13350. var tZone = offsetFromString(matchOffset, this._i);
  13351. if (tZone != null) {
  13352. this.utcOffset(tZone);
  13353. } else {
  13354. this.utcOffset(0, true);
  13355. }
  13356. }
  13357. return this;
  13358. }
  13359. function hasAlignedHourOffset(input) {
  13360. if (!this.isValid()) {
  13361. return false;
  13362. }
  13363. input = input ? createLocal(input).utcOffset() : 0;
  13364. return (this.utcOffset() - input) % 60 === 0;
  13365. }
  13366. function isDaylightSavingTime() {
  13367. return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
  13368. }
  13369. function isDaylightSavingTimeShifted() {
  13370. if (!isUndefined(this._isDSTShifted)) {
  13371. return this._isDSTShifted;
  13372. }
  13373. var c = {},
  13374. other;
  13375. copyConfig(c, this);
  13376. c = prepareConfig(c);
  13377. if (c._a) {
  13378. other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
  13379. this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;
  13380. } else {
  13381. this._isDSTShifted = false;
  13382. }
  13383. return this._isDSTShifted;
  13384. }
  13385. function isLocal() {
  13386. return this.isValid() ? !this._isUTC : false;
  13387. }
  13388. function isUtcOffset() {
  13389. return this.isValid() ? this._isUTC : false;
  13390. }
  13391. function isUtc() {
  13392. return this.isValid() ? this._isUTC && this._offset === 0 : false;
  13393. }
  13394. // ASP.NET json date format regex
  13395. var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
  13396. // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
  13397. // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
  13398. // and further modified to allow for strings containing both week and day
  13399. isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
  13400. function createDuration(input, key) {
  13401. var duration = input,
  13402. // matching against regexp is expensive, do it on demand
  13403. match = null,
  13404. sign,
  13405. ret,
  13406. diffRes;
  13407. if (isDuration(input)) {
  13408. duration = {
  13409. ms: input._milliseconds,
  13410. d: input._days,
  13411. M: input._months
  13412. };
  13413. } else if (isNumber(input) || !isNaN(+input)) {
  13414. duration = {};
  13415. if (key) {
  13416. duration[key] = +input;
  13417. } else {
  13418. duration.milliseconds = +input;
  13419. }
  13420. } else if (match = aspNetRegex.exec(input)) {
  13421. sign = match[1] === '-' ? -1 : 1;
  13422. duration = {
  13423. y: 0,
  13424. d: toInt(match[DATE]) * sign,
  13425. h: toInt(match[HOUR]) * sign,
  13426. m: toInt(match[MINUTE]) * sign,
  13427. s: toInt(match[SECOND]) * sign,
  13428. ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match
  13429. };
  13430. } else if (match = isoRegex.exec(input)) {
  13431. sign = match[1] === '-' ? -1 : 1;
  13432. duration = {
  13433. y: parseIso(match[2], sign),
  13434. M: parseIso(match[3], sign),
  13435. w: parseIso(match[4], sign),
  13436. d: parseIso(match[5], sign),
  13437. h: parseIso(match[6], sign),
  13438. m: parseIso(match[7], sign),
  13439. s: parseIso(match[8], sign)
  13440. };
  13441. } else if (duration == null) {
  13442. // checks for null or undefined
  13443. duration = {};
  13444. } else if (_typeof(duration) === 'object' && ('from' in duration || 'to' in duration)) {
  13445. diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));
  13446. duration = {};
  13447. duration.ms = diffRes.milliseconds;
  13448. duration.M = diffRes.months;
  13449. }
  13450. ret = new Duration(duration);
  13451. if (isDuration(input) && hasOwnProp(input, '_locale')) {
  13452. ret._locale = input._locale;
  13453. }
  13454. if (isDuration(input) && hasOwnProp(input, '_isValid')) {
  13455. ret._isValid = input._isValid;
  13456. }
  13457. return ret;
  13458. }
  13459. createDuration.fn = Duration.prototype;
  13460. createDuration.invalid = createInvalid$1;
  13461. function parseIso(inp, sign) {
  13462. // We'd normally use ~~inp for this, but unfortunately it also
  13463. // converts floats to ints.
  13464. // inp may be undefined, so careful calling replace on it.
  13465. var res = inp && parseFloat(inp.replace(',', '.'));
  13466. // apply sign while we're at it
  13467. return (isNaN(res) ? 0 : res) * sign;
  13468. }
  13469. function positiveMomentsDifference(base, other) {
  13470. var res = {};
  13471. res.months = other.month() - base.month() + (other.year() - base.year()) * 12;
  13472. if (base.clone().add(res.months, 'M').isAfter(other)) {
  13473. --res.months;
  13474. }
  13475. res.milliseconds = +other - +base.clone().add(res.months, 'M');
  13476. return res;
  13477. }
  13478. function momentsDifference(base, other) {
  13479. var res;
  13480. if (!(base.isValid() && other.isValid())) {
  13481. return {
  13482. milliseconds: 0,
  13483. months: 0
  13484. };
  13485. }
  13486. other = cloneWithOffset(other, base);
  13487. if (base.isBefore(other)) {
  13488. res = positiveMomentsDifference(base, other);
  13489. } else {
  13490. res = positiveMomentsDifference(other, base);
  13491. res.milliseconds = -res.milliseconds;
  13492. res.months = -res.months;
  13493. }
  13494. return res;
  13495. }
  13496. // TODO: remove 'name' arg after deprecation is removed
  13497. function createAdder(direction, name) {
  13498. return function (val, period) {
  13499. var dur, tmp;
  13500. //invert the arguments, but complain about it
  13501. if (period !== null && !isNaN(+period)) {
  13502. deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');
  13503. tmp = val;
  13504. val = period;
  13505. period = tmp;
  13506. }
  13507. dur = createDuration(val, period);
  13508. addSubtract(this, dur, direction);
  13509. return this;
  13510. };
  13511. }
  13512. function addSubtract(mom, duration, isAdding, updateOffset) {
  13513. var milliseconds = duration._milliseconds,
  13514. days = absRound(duration._days),
  13515. months = absRound(duration._months);
  13516. if (!mom.isValid()) {
  13517. // No op
  13518. return;
  13519. }
  13520. updateOffset = updateOffset == null ? true : updateOffset;
  13521. if (months) {
  13522. setMonth(mom, get(mom, 'Month') + months * isAdding);
  13523. }
  13524. if (days) {
  13525. set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
  13526. }
  13527. if (milliseconds) {
  13528. mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
  13529. }
  13530. if (updateOffset) {
  13531. hooks.updateOffset(mom, days || months);
  13532. }
  13533. }
  13534. var add = createAdder(1, 'add'),
  13535. subtract = createAdder(-1, 'subtract');
  13536. function isString(input) {
  13537. return typeof input === 'string' || input instanceof String;
  13538. }
  13539. // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
  13540. function isMomentInput(input) {
  13541. return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;
  13542. }
  13543. function isMomentInputObject(input) {
  13544. var objectTest = isObject(input) && !isObjectEmpty(input),
  13545. propertyTest = false,
  13546. properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],
  13547. i,
  13548. property,
  13549. propertyLen = properties.length;
  13550. for (i = 0; i < propertyLen; i += 1) {
  13551. property = properties[i];
  13552. propertyTest = propertyTest || hasOwnProp(input, property);
  13553. }
  13554. return objectTest && propertyTest;
  13555. }
  13556. function isNumberOrStringArray(input) {
  13557. var arrayTest = isArray(input),
  13558. dataTypeTest = false;
  13559. if (arrayTest) {
  13560. dataTypeTest = input.filter(function (item) {
  13561. return !isNumber(item) && isString(input);
  13562. }).length === 0;
  13563. }
  13564. return arrayTest && dataTypeTest;
  13565. }
  13566. function isCalendarSpec(input) {
  13567. var objectTest = isObject(input) && !isObjectEmpty(input),
  13568. propertyTest = false,
  13569. properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],
  13570. i,
  13571. property;
  13572. for (i = 0; i < properties.length; i += 1) {
  13573. property = properties[i];
  13574. propertyTest = propertyTest || hasOwnProp(input, property);
  13575. }
  13576. return objectTest && propertyTest;
  13577. }
  13578. function getCalendarFormat(myMoment, now) {
  13579. var diff = myMoment.diff(now, 'days', true);
  13580. return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';
  13581. }
  13582. function calendar$1(time, formats) {
  13583. // Support for single parameter, formats only overload to the calendar function
  13584. if (arguments.length === 1) {
  13585. if (!arguments[0]) {
  13586. time = undefined;
  13587. formats = undefined;
  13588. } else if (isMomentInput(arguments[0])) {
  13589. time = arguments[0];
  13590. formats = undefined;
  13591. } else if (isCalendarSpec(arguments[0])) {
  13592. formats = arguments[0];
  13593. time = undefined;
  13594. }
  13595. }
  13596. // We want to compare the start of today, vs this.
  13597. // Getting start-of-today depends on whether we're local/utc/offset or not.
  13598. var now = time || createLocal(),
  13599. sod = cloneWithOffset(now, this).startOf('day'),
  13600. format = hooks.calendarFormat(this, sod) || 'sameElse',
  13601. output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);
  13602. return this.format(output || this.localeData().calendar(format, this, createLocal(now)));
  13603. }
  13604. function clone() {
  13605. return new Moment(this);
  13606. }
  13607. function isAfter(input, units) {
  13608. var localInput = isMoment(input) ? input : createLocal(input);
  13609. if (!(this.isValid() && localInput.isValid())) {
  13610. return false;
  13611. }
  13612. units = normalizeUnits(units) || 'millisecond';
  13613. if (units === 'millisecond') {
  13614. return this.valueOf() > localInput.valueOf();
  13615. } else {
  13616. return localInput.valueOf() < this.clone().startOf(units).valueOf();
  13617. }
  13618. }
  13619. function isBefore(input, units) {
  13620. var localInput = isMoment(input) ? input : createLocal(input);
  13621. if (!(this.isValid() && localInput.isValid())) {
  13622. return false;
  13623. }
  13624. units = normalizeUnits(units) || 'millisecond';
  13625. if (units === 'millisecond') {
  13626. return this.valueOf() < localInput.valueOf();
  13627. } else {
  13628. return this.clone().endOf(units).valueOf() < localInput.valueOf();
  13629. }
  13630. }
  13631. function isBetween(from, to, units, inclusivity) {
  13632. var localFrom = isMoment(from) ? from : createLocal(from),
  13633. localTo = isMoment(to) ? to : createLocal(to);
  13634. if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
  13635. return false;
  13636. }
  13637. inclusivity = inclusivity || '()';
  13638. return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));
  13639. }
  13640. function isSame(input, units) {
  13641. var localInput = isMoment(input) ? input : createLocal(input),
  13642. inputMs;
  13643. if (!(this.isValid() && localInput.isValid())) {
  13644. return false;
  13645. }
  13646. units = normalizeUnits(units) || 'millisecond';
  13647. if (units === 'millisecond') {
  13648. return this.valueOf() === localInput.valueOf();
  13649. } else {
  13650. inputMs = localInput.valueOf();
  13651. return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();
  13652. }
  13653. }
  13654. function isSameOrAfter(input, units) {
  13655. return this.isSame(input, units) || this.isAfter(input, units);
  13656. }
  13657. function isSameOrBefore(input, units) {
  13658. return this.isSame(input, units) || this.isBefore(input, units);
  13659. }
  13660. function diff(input, units, asFloat) {
  13661. var that, zoneDelta, output;
  13662. if (!this.isValid()) {
  13663. return NaN;
  13664. }
  13665. that = cloneWithOffset(input, this);
  13666. if (!that.isValid()) {
  13667. return NaN;
  13668. }
  13669. zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
  13670. units = normalizeUnits(units);
  13671. switch (units) {
  13672. case 'year':
  13673. output = monthDiff(this, that) / 12;
  13674. break;
  13675. case 'month':
  13676. output = monthDiff(this, that);
  13677. break;
  13678. case 'quarter':
  13679. output = monthDiff(this, that) / 3;
  13680. break;
  13681. case 'second':
  13682. output = (this - that) / 1e3;
  13683. break;
  13684. // 1000
  13685. case 'minute':
  13686. output = (this - that) / 6e4;
  13687. break;
  13688. // 1000 * 60
  13689. case 'hour':
  13690. output = (this - that) / 36e5;
  13691. break;
  13692. // 1000 * 60 * 60
  13693. case 'day':
  13694. output = (this - that - zoneDelta) / 864e5;
  13695. break;
  13696. // 1000 * 60 * 60 * 24, negate dst
  13697. case 'week':
  13698. output = (this - that - zoneDelta) / 6048e5;
  13699. break;
  13700. // 1000 * 60 * 60 * 24 * 7, negate dst
  13701. default:
  13702. output = this - that;
  13703. }
  13704. return asFloat ? output : absFloor(output);
  13705. }
  13706. function monthDiff(a, b) {
  13707. if (a.date() < b.date()) {
  13708. // end-of-month calculations work correct when the start month has more
  13709. // days than the end month.
  13710. return -monthDiff(b, a);
  13711. }
  13712. // difference in months
  13713. var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),
  13714. // b is in (anchor - 1 month, anchor + 1 month)
  13715. anchor = a.clone().add(wholeMonthDiff, 'months'),
  13716. anchor2,
  13717. adjust;
  13718. if (b - anchor < 0) {
  13719. anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');
  13720. // linear across the month
  13721. adjust = (b - anchor) / (anchor - anchor2);
  13722. } else {
  13723. anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');
  13724. // linear across the month
  13725. adjust = (b - anchor) / (anchor2 - anchor);
  13726. }
  13727. //check for negative zero, return zero if negative zero
  13728. return -(wholeMonthDiff + adjust) || 0;
  13729. }
  13730. hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';
  13731. hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';
  13732. function toString() {
  13733. return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
  13734. }
  13735. function toISOString(keepOffset) {
  13736. if (!this.isValid()) {
  13737. return null;
  13738. }
  13739. var utc = keepOffset !== true,
  13740. m = utc ? this.clone().utc() : this;
  13741. if (m.year() < 0 || m.year() > 9999) {
  13742. return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');
  13743. }
  13744. if (isFunction(Date.prototype.toISOString)) {
  13745. // native implementation is ~50x faster, use it when we can
  13746. if (utc) {
  13747. return this.toDate().toISOString();
  13748. } else {
  13749. return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));
  13750. }
  13751. }
  13752. return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');
  13753. }
  13754. /**
  13755. * Return a human readable representation of a moment that can
  13756. * also be evaluated to get a new moment which is the same
  13757. *
  13758. * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
  13759. */
  13760. function inspect() {
  13761. if (!this.isValid()) {
  13762. return 'moment.invalid(/* ' + this._i + ' */)';
  13763. }
  13764. var func = 'moment',
  13765. zone = '',
  13766. prefix,
  13767. year,
  13768. datetime,
  13769. suffix;
  13770. if (!this.isLocal()) {
  13771. func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';
  13772. zone = 'Z';
  13773. }
  13774. prefix = '[' + func + '("]';
  13775. year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';
  13776. datetime = '-MM-DD[T]HH:mm:ss.SSS';
  13777. suffix = zone + '[")]';
  13778. return this.format(prefix + year + datetime + suffix);
  13779. }
  13780. function format(inputString) {
  13781. if (!inputString) {
  13782. inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;
  13783. }
  13784. var output = formatMoment(this, inputString);
  13785. return this.localeData().postformat(output);
  13786. }
  13787. function from(time, withoutSuffix) {
  13788. if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
  13789. return createDuration({
  13790. to: this,
  13791. from: time
  13792. }).locale(this.locale()).humanize(!withoutSuffix);
  13793. } else {
  13794. return this.localeData().invalidDate();
  13795. }
  13796. }
  13797. function fromNow(withoutSuffix) {
  13798. return this.from(createLocal(), withoutSuffix);
  13799. }
  13800. function to(time, withoutSuffix) {
  13801. if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
  13802. return createDuration({
  13803. from: this,
  13804. to: time
  13805. }).locale(this.locale()).humanize(!withoutSuffix);
  13806. } else {
  13807. return this.localeData().invalidDate();
  13808. }
  13809. }
  13810. function toNow(withoutSuffix) {
  13811. return this.to(createLocal(), withoutSuffix);
  13812. }
  13813. // If passed a locale key, it will set the locale for this
  13814. // instance. Otherwise, it will return the locale configuration
  13815. // variables for this instance.
  13816. function locale(key) {
  13817. var newLocaleData;
  13818. if (key === undefined) {
  13819. return this._locale._abbr;
  13820. } else {
  13821. newLocaleData = getLocale(key);
  13822. if (newLocaleData != null) {
  13823. this._locale = newLocaleData;
  13824. }
  13825. return this;
  13826. }
  13827. }
  13828. var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {
  13829. if (key === undefined) {
  13830. return this.localeData();
  13831. } else {
  13832. return this.locale(key);
  13833. }
  13834. });
  13835. function localeData() {
  13836. return this._locale;
  13837. }
  13838. var MS_PER_SECOND = 1000,
  13839. MS_PER_MINUTE = 60 * MS_PER_SECOND,
  13840. MS_PER_HOUR = 60 * MS_PER_MINUTE,
  13841. MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
  13842. // actual modulo - handles negative numbers (for dates before 1970):
  13843. function mod$1(dividend, divisor) {
  13844. return (dividend % divisor + divisor) % divisor;
  13845. }
  13846. function localStartOfDate(y, m, d) {
  13847. // the date constructor remaps years 0-99 to 1900-1999
  13848. if (y < 100 && y >= 0) {
  13849. // preserve leap years using a full 400 year cycle, then reset
  13850. return new Date(y + 400, m, d) - MS_PER_400_YEARS;
  13851. } else {
  13852. return new Date(y, m, d).valueOf();
  13853. }
  13854. }
  13855. function utcStartOfDate(y, m, d) {
  13856. // Date.UTC remaps years 0-99 to 1900-1999
  13857. if (y < 100 && y >= 0) {
  13858. // preserve leap years using a full 400 year cycle, then reset
  13859. return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
  13860. } else {
  13861. return Date.UTC(y, m, d);
  13862. }
  13863. }
  13864. function startOf(units) {
  13865. var time, startOfDate;
  13866. units = normalizeUnits(units);
  13867. if (units === undefined || units === 'millisecond' || !this.isValid()) {
  13868. return this;
  13869. }
  13870. startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
  13871. switch (units) {
  13872. case 'year':
  13873. time = startOfDate(this.year(), 0, 1);
  13874. break;
  13875. case 'quarter':
  13876. time = startOfDate(this.year(), this.month() - this.month() % 3, 1);
  13877. break;
  13878. case 'month':
  13879. time = startOfDate(this.year(), this.month(), 1);
  13880. break;
  13881. case 'week':
  13882. time = startOfDate(this.year(), this.month(), this.date() - this.weekday());
  13883. break;
  13884. case 'isoWeek':
  13885. time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));
  13886. break;
  13887. case 'day':
  13888. case 'date':
  13889. time = startOfDate(this.year(), this.month(), this.date());
  13890. break;
  13891. case 'hour':
  13892. time = this._d.valueOf();
  13893. time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);
  13894. break;
  13895. case 'minute':
  13896. time = this._d.valueOf();
  13897. time -= mod$1(time, MS_PER_MINUTE);
  13898. break;
  13899. case 'second':
  13900. time = this._d.valueOf();
  13901. time -= mod$1(time, MS_PER_SECOND);
  13902. break;
  13903. }
  13904. this._d.setTime(time);
  13905. hooks.updateOffset(this, true);
  13906. return this;
  13907. }
  13908. function endOf(units) {
  13909. var time, startOfDate;
  13910. units = normalizeUnits(units);
  13911. if (units === undefined || units === 'millisecond' || !this.isValid()) {
  13912. return this;
  13913. }
  13914. startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
  13915. switch (units) {
  13916. case 'year':
  13917. time = startOfDate(this.year() + 1, 0, 1) - 1;
  13918. break;
  13919. case 'quarter':
  13920. time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;
  13921. break;
  13922. case 'month':
  13923. time = startOfDate(this.year(), this.month() + 1, 1) - 1;
  13924. break;
  13925. case 'week':
  13926. time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;
  13927. break;
  13928. case 'isoWeek':
  13929. time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;
  13930. break;
  13931. case 'day':
  13932. case 'date':
  13933. time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
  13934. break;
  13935. case 'hour':
  13936. time = this._d.valueOf();
  13937. time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;
  13938. break;
  13939. case 'minute':
  13940. time = this._d.valueOf();
  13941. time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
  13942. break;
  13943. case 'second':
  13944. time = this._d.valueOf();
  13945. time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
  13946. break;
  13947. }
  13948. this._d.setTime(time);
  13949. hooks.updateOffset(this, true);
  13950. return this;
  13951. }
  13952. function valueOf() {
  13953. return this._d.valueOf() - (this._offset || 0) * 60000;
  13954. }
  13955. function unix() {
  13956. return Math.floor(this.valueOf() / 1000);
  13957. }
  13958. function toDate() {
  13959. return new Date(this.valueOf());
  13960. }
  13961. function toArray() {
  13962. var m = this;
  13963. return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
  13964. }
  13965. function toObject() {
  13966. var m = this;
  13967. return {
  13968. years: m.year(),
  13969. months: m.month(),
  13970. date: m.date(),
  13971. hours: m.hours(),
  13972. minutes: m.minutes(),
  13973. seconds: m.seconds(),
  13974. milliseconds: m.milliseconds()
  13975. };
  13976. }
  13977. function toJSON() {
  13978. // new Date(NaN).toJSON() === null
  13979. return this.isValid() ? this.toISOString() : null;
  13980. }
  13981. function isValid$2() {
  13982. return isValid(this);
  13983. }
  13984. function parsingFlags() {
  13985. return extend({}, getParsingFlags(this));
  13986. }
  13987. function invalidAt() {
  13988. return getParsingFlags(this).overflow;
  13989. }
  13990. function creationData() {
  13991. return {
  13992. input: this._i,
  13993. format: this._f,
  13994. locale: this._locale,
  13995. isUTC: this._isUTC,
  13996. strict: this._strict
  13997. };
  13998. }
  13999. addFormatToken('N', 0, 0, 'eraAbbr');
  14000. addFormatToken('NN', 0, 0, 'eraAbbr');
  14001. addFormatToken('NNN', 0, 0, 'eraAbbr');
  14002. addFormatToken('NNNN', 0, 0, 'eraName');
  14003. addFormatToken('NNNNN', 0, 0, 'eraNarrow');
  14004. addFormatToken('y', ['y', 1], 'yo', 'eraYear');
  14005. addFormatToken('y', ['yy', 2], 0, 'eraYear');
  14006. addFormatToken('y', ['yyy', 3], 0, 'eraYear');
  14007. addFormatToken('y', ['yyyy', 4], 0, 'eraYear');
  14008. addRegexToken('N', matchEraAbbr);
  14009. addRegexToken('NN', matchEraAbbr);
  14010. addRegexToken('NNN', matchEraAbbr);
  14011. addRegexToken('NNNN', matchEraName);
  14012. addRegexToken('NNNNN', matchEraNarrow);
  14013. addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {
  14014. var era = config._locale.erasParse(input, token, config._strict);
  14015. if (era) {
  14016. getParsingFlags(config).era = era;
  14017. } else {
  14018. getParsingFlags(config).invalidEra = input;
  14019. }
  14020. });
  14021. addRegexToken('y', matchUnsigned);
  14022. addRegexToken('yy', matchUnsigned);
  14023. addRegexToken('yyy', matchUnsigned);
  14024. addRegexToken('yyyy', matchUnsigned);
  14025. addRegexToken('yo', matchEraYearOrdinal);
  14026. addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
  14027. addParseToken(['yo'], function (input, array, config, token) {
  14028. var match;
  14029. if (config._locale._eraYearOrdinalRegex) {
  14030. match = input.match(config._locale._eraYearOrdinalRegex);
  14031. }
  14032. if (config._locale.eraYearOrdinalParse) {
  14033. array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
  14034. } else {
  14035. array[YEAR] = parseInt(input, 10);
  14036. }
  14037. });
  14038. function localeEras(m, format) {
  14039. var i,
  14040. l,
  14041. date,
  14042. eras = this._eras || getLocale('en')._eras;
  14043. for (i = 0, l = eras.length; i < l; ++i) {
  14044. switch (_typeof(eras[i].since)) {
  14045. case 'string':
  14046. // truncate time
  14047. date = hooks(eras[i].since).startOf('day');
  14048. eras[i].since = date.valueOf();
  14049. break;
  14050. }
  14051. switch (_typeof(eras[i].until)) {
  14052. case 'undefined':
  14053. eras[i].until = +Infinity;
  14054. break;
  14055. case 'string':
  14056. // truncate time
  14057. date = hooks(eras[i].until).startOf('day').valueOf();
  14058. eras[i].until = date.valueOf();
  14059. break;
  14060. }
  14061. }
  14062. return eras;
  14063. }
  14064. function localeErasParse(eraName, format, strict) {
  14065. var i,
  14066. l,
  14067. eras = this.eras(),
  14068. name,
  14069. abbr,
  14070. narrow;
  14071. eraName = eraName.toUpperCase();
  14072. for (i = 0, l = eras.length; i < l; ++i) {
  14073. name = eras[i].name.toUpperCase();
  14074. abbr = eras[i].abbr.toUpperCase();
  14075. narrow = eras[i].narrow.toUpperCase();
  14076. if (strict) {
  14077. switch (format) {
  14078. case 'N':
  14079. case 'NN':
  14080. case 'NNN':
  14081. if (abbr === eraName) {
  14082. return eras[i];
  14083. }
  14084. break;
  14085. case 'NNNN':
  14086. if (name === eraName) {
  14087. return eras[i];
  14088. }
  14089. break;
  14090. case 'NNNNN':
  14091. if (narrow === eraName) {
  14092. return eras[i];
  14093. }
  14094. break;
  14095. }
  14096. } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
  14097. return eras[i];
  14098. }
  14099. }
  14100. }
  14101. function localeErasConvertYear(era, year) {
  14102. var dir = era.since <= era.until ? +1 : -1;
  14103. if (year === undefined) {
  14104. return hooks(era.since).year();
  14105. } else {
  14106. return hooks(era.since).year() + (year - era.offset) * dir;
  14107. }
  14108. }
  14109. function getEraName() {
  14110. var i,
  14111. l,
  14112. val,
  14113. eras = this.localeData().eras();
  14114. for (i = 0, l = eras.length; i < l; ++i) {
  14115. // truncate time
  14116. val = this.clone().startOf('day').valueOf();
  14117. if (eras[i].since <= val && val <= eras[i].until) {
  14118. return eras[i].name;
  14119. }
  14120. if (eras[i].until <= val && val <= eras[i].since) {
  14121. return eras[i].name;
  14122. }
  14123. }
  14124. return '';
  14125. }
  14126. function getEraNarrow() {
  14127. var i,
  14128. l,
  14129. val,
  14130. eras = this.localeData().eras();
  14131. for (i = 0, l = eras.length; i < l; ++i) {
  14132. // truncate time
  14133. val = this.clone().startOf('day').valueOf();
  14134. if (eras[i].since <= val && val <= eras[i].until) {
  14135. return eras[i].narrow;
  14136. }
  14137. if (eras[i].until <= val && val <= eras[i].since) {
  14138. return eras[i].narrow;
  14139. }
  14140. }
  14141. return '';
  14142. }
  14143. function getEraAbbr() {
  14144. var i,
  14145. l,
  14146. val,
  14147. eras = this.localeData().eras();
  14148. for (i = 0, l = eras.length; i < l; ++i) {
  14149. // truncate time
  14150. val = this.clone().startOf('day').valueOf();
  14151. if (eras[i].since <= val && val <= eras[i].until) {
  14152. return eras[i].abbr;
  14153. }
  14154. if (eras[i].until <= val && val <= eras[i].since) {
  14155. return eras[i].abbr;
  14156. }
  14157. }
  14158. return '';
  14159. }
  14160. function getEraYear() {
  14161. var i,
  14162. l,
  14163. dir,
  14164. val,
  14165. eras = this.localeData().eras();
  14166. for (i = 0, l = eras.length; i < l; ++i) {
  14167. dir = eras[i].since <= eras[i].until ? +1 : -1;
  14168. // truncate time
  14169. val = this.clone().startOf('day').valueOf();
  14170. if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {
  14171. return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;
  14172. }
  14173. }
  14174. return this.year();
  14175. }
  14176. function erasNameRegex(isStrict) {
  14177. if (!hasOwnProp(this, '_erasNameRegex')) {
  14178. computeErasParse.call(this);
  14179. }
  14180. return isStrict ? this._erasNameRegex : this._erasRegex;
  14181. }
  14182. function erasAbbrRegex(isStrict) {
  14183. if (!hasOwnProp(this, '_erasAbbrRegex')) {
  14184. computeErasParse.call(this);
  14185. }
  14186. return isStrict ? this._erasAbbrRegex : this._erasRegex;
  14187. }
  14188. function erasNarrowRegex(isStrict) {
  14189. if (!hasOwnProp(this, '_erasNarrowRegex')) {
  14190. computeErasParse.call(this);
  14191. }
  14192. return isStrict ? this._erasNarrowRegex : this._erasRegex;
  14193. }
  14194. function matchEraAbbr(isStrict, locale) {
  14195. return locale.erasAbbrRegex(isStrict);
  14196. }
  14197. function matchEraName(isStrict, locale) {
  14198. return locale.erasNameRegex(isStrict);
  14199. }
  14200. function matchEraNarrow(isStrict, locale) {
  14201. return locale.erasNarrowRegex(isStrict);
  14202. }
  14203. function matchEraYearOrdinal(isStrict, locale) {
  14204. return locale._eraYearOrdinalRegex || matchUnsigned;
  14205. }
  14206. function computeErasParse() {
  14207. var abbrPieces = [],
  14208. namePieces = [],
  14209. narrowPieces = [],
  14210. mixedPieces = [],
  14211. i,
  14212. l,
  14213. eras = this.eras();
  14214. for (i = 0, l = eras.length; i < l; ++i) {
  14215. namePieces.push(regexEscape(eras[i].name));
  14216. abbrPieces.push(regexEscape(eras[i].abbr));
  14217. narrowPieces.push(regexEscape(eras[i].narrow));
  14218. mixedPieces.push(regexEscape(eras[i].name));
  14219. mixedPieces.push(regexEscape(eras[i].abbr));
  14220. mixedPieces.push(regexEscape(eras[i].narrow));
  14221. }
  14222. this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');
  14223. this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');
  14224. this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');
  14225. this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');
  14226. }
  14227. // FORMATTING
  14228. addFormatToken(0, ['gg', 2], 0, function () {
  14229. return this.weekYear() % 100;
  14230. });
  14231. addFormatToken(0, ['GG', 2], 0, function () {
  14232. return this.isoWeekYear() % 100;
  14233. });
  14234. function addWeekYearFormatToken(token, getter) {
  14235. addFormatToken(0, [token, token.length], 0, getter);
  14236. }
  14237. addWeekYearFormatToken('gggg', 'weekYear');
  14238. addWeekYearFormatToken('ggggg', 'weekYear');
  14239. addWeekYearFormatToken('GGGG', 'isoWeekYear');
  14240. addWeekYearFormatToken('GGGGG', 'isoWeekYear');
  14241. // ALIASES
  14242. addUnitAlias('weekYear', 'gg');
  14243. addUnitAlias('isoWeekYear', 'GG');
  14244. // PRIORITY
  14245. addUnitPriority('weekYear', 1);
  14246. addUnitPriority('isoWeekYear', 1);
  14247. // PARSING
  14248. addRegexToken('G', matchSigned);
  14249. addRegexToken('g', matchSigned);
  14250. addRegexToken('GG', match1to2, match2);
  14251. addRegexToken('gg', match1to2, match2);
  14252. addRegexToken('GGGG', match1to4, match4);
  14253. addRegexToken('gggg', match1to4, match4);
  14254. addRegexToken('GGGGG', match1to6, match6);
  14255. addRegexToken('ggggg', match1to6, match6);
  14256. addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {
  14257. week[token.substr(0, 2)] = toInt(input);
  14258. });
  14259. addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {
  14260. week[token] = hooks.parseTwoDigitYear(input);
  14261. });
  14262. // MOMENTS
  14263. function getSetWeekYear(input) {
  14264. return getSetWeekYearHelper.call(this, input, this.week(), this.weekday(), this.localeData()._week.dow, this.localeData()._week.doy);
  14265. }
  14266. function getSetISOWeekYear(input) {
  14267. return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);
  14268. }
  14269. function getISOWeeksInYear() {
  14270. return weeksInYear(this.year(), 1, 4);
  14271. }
  14272. function getISOWeeksInISOWeekYear() {
  14273. return weeksInYear(this.isoWeekYear(), 1, 4);
  14274. }
  14275. function getWeeksInYear() {
  14276. var weekInfo = this.localeData()._week;
  14277. return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
  14278. }
  14279. function getWeeksInWeekYear() {
  14280. var weekInfo = this.localeData()._week;
  14281. return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
  14282. }
  14283. function getSetWeekYearHelper(input, week, weekday, dow, doy) {
  14284. var weeksTarget;
  14285. if (input == null) {
  14286. return weekOfYear(this, dow, doy).year;
  14287. } else {
  14288. weeksTarget = weeksInYear(input, dow, doy);
  14289. if (week > weeksTarget) {
  14290. week = weeksTarget;
  14291. }
  14292. return setWeekAll.call(this, input, week, weekday, dow, doy);
  14293. }
  14294. }
  14295. function setWeekAll(weekYear, week, weekday, dow, doy) {
  14296. var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),
  14297. date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
  14298. this.year(date.getUTCFullYear());
  14299. this.month(date.getUTCMonth());
  14300. this.date(date.getUTCDate());
  14301. return this;
  14302. }
  14303. // FORMATTING
  14304. addFormatToken('Q', 0, 'Qo', 'quarter');
  14305. // ALIASES
  14306. addUnitAlias('quarter', 'Q');
  14307. // PRIORITY
  14308. addUnitPriority('quarter', 7);
  14309. // PARSING
  14310. addRegexToken('Q', match1);
  14311. addParseToken('Q', function (input, array) {
  14312. array[MONTH] = (toInt(input) - 1) * 3;
  14313. });
  14314. // MOMENTS
  14315. function getSetQuarter(input) {
  14316. return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
  14317. }
  14318. // FORMATTING
  14319. addFormatToken('D', ['DD', 2], 'Do', 'date');
  14320. // ALIASES
  14321. addUnitAlias('date', 'D');
  14322. // PRIORITY
  14323. addUnitPriority('date', 9);
  14324. // PARSING
  14325. addRegexToken('D', match1to2);
  14326. addRegexToken('DD', match1to2, match2);
  14327. addRegexToken('Do', function (isStrict, locale) {
  14328. // TODO: Remove "ordinalParse" fallback in next major release.
  14329. return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;
  14330. });
  14331. addParseToken(['D', 'DD'], DATE);
  14332. addParseToken('Do', function (input, array) {
  14333. array[DATE] = toInt(input.match(match1to2)[0]);
  14334. });
  14335. // MOMENTS
  14336. var getSetDayOfMonth = makeGetSet('Date', true);
  14337. // FORMATTING
  14338. addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
  14339. // ALIASES
  14340. addUnitAlias('dayOfYear', 'DDD');
  14341. // PRIORITY
  14342. addUnitPriority('dayOfYear', 4);
  14343. // PARSING
  14344. addRegexToken('DDD', match1to3);
  14345. addRegexToken('DDDD', match3);
  14346. addParseToken(['DDD', 'DDDD'], function (input, array, config) {
  14347. config._dayOfYear = toInt(input);
  14348. });
  14349. // HELPERS
  14350. // MOMENTS
  14351. function getSetDayOfYear(input) {
  14352. var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;
  14353. return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');
  14354. }
  14355. // FORMATTING
  14356. addFormatToken('m', ['mm', 2], 0, 'minute');
  14357. // ALIASES
  14358. addUnitAlias('minute', 'm');
  14359. // PRIORITY
  14360. addUnitPriority('minute', 14);
  14361. // PARSING
  14362. addRegexToken('m', match1to2);
  14363. addRegexToken('mm', match1to2, match2);
  14364. addParseToken(['m', 'mm'], MINUTE);
  14365. // MOMENTS
  14366. var getSetMinute = makeGetSet('Minutes', false);
  14367. // FORMATTING
  14368. addFormatToken('s', ['ss', 2], 0, 'second');
  14369. // ALIASES
  14370. addUnitAlias('second', 's');
  14371. // PRIORITY
  14372. addUnitPriority('second', 15);
  14373. // PARSING
  14374. addRegexToken('s', match1to2);
  14375. addRegexToken('ss', match1to2, match2);
  14376. addParseToken(['s', 'ss'], SECOND);
  14377. // MOMENTS
  14378. var getSetSecond = makeGetSet('Seconds', false);
  14379. // FORMATTING
  14380. addFormatToken('S', 0, 0, function () {
  14381. return ~~(this.millisecond() / 100);
  14382. });
  14383. addFormatToken(0, ['SS', 2], 0, function () {
  14384. return ~~(this.millisecond() / 10);
  14385. });
  14386. addFormatToken(0, ['SSS', 3], 0, 'millisecond');
  14387. addFormatToken(0, ['SSSS', 4], 0, function () {
  14388. return this.millisecond() * 10;
  14389. });
  14390. addFormatToken(0, ['SSSSS', 5], 0, function () {
  14391. return this.millisecond() * 100;
  14392. });
  14393. addFormatToken(0, ['SSSSSS', 6], 0, function () {
  14394. return this.millisecond() * 1000;
  14395. });
  14396. addFormatToken(0, ['SSSSSSS', 7], 0, function () {
  14397. return this.millisecond() * 10000;
  14398. });
  14399. addFormatToken(0, ['SSSSSSSS', 8], 0, function () {
  14400. return this.millisecond() * 100000;
  14401. });
  14402. addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
  14403. return this.millisecond() * 1000000;
  14404. });
  14405. // ALIASES
  14406. addUnitAlias('millisecond', 'ms');
  14407. // PRIORITY
  14408. addUnitPriority('millisecond', 16);
  14409. // PARSING
  14410. addRegexToken('S', match1to3, match1);
  14411. addRegexToken('SS', match1to3, match2);
  14412. addRegexToken('SSS', match1to3, match3);
  14413. var token, getSetMillisecond;
  14414. for (token = 'SSSS'; token.length <= 9; token += 'S') {
  14415. addRegexToken(token, matchUnsigned);
  14416. }
  14417. function parseMs(input, array) {
  14418. array[MILLISECOND] = toInt(('0.' + input) * 1000);
  14419. }
  14420. for (token = 'S'; token.length <= 9; token += 'S') {
  14421. addParseToken(token, parseMs);
  14422. }
  14423. getSetMillisecond = makeGetSet('Milliseconds', false);
  14424. // FORMATTING
  14425. addFormatToken('z', 0, 0, 'zoneAbbr');
  14426. addFormatToken('zz', 0, 0, 'zoneName');
  14427. // MOMENTS
  14428. function getZoneAbbr() {
  14429. return this._isUTC ? 'UTC' : '';
  14430. }
  14431. function getZoneName() {
  14432. return this._isUTC ? 'Coordinated Universal Time' : '';
  14433. }
  14434. var proto = Moment.prototype;
  14435. proto.add = add;
  14436. proto.calendar = calendar$1;
  14437. proto.clone = clone;
  14438. proto.diff = diff;
  14439. proto.endOf = endOf;
  14440. proto.format = format;
  14441. proto.from = from;
  14442. proto.fromNow = fromNow;
  14443. proto.to = to;
  14444. proto.toNow = toNow;
  14445. proto.get = stringGet;
  14446. proto.invalidAt = invalidAt;
  14447. proto.isAfter = isAfter;
  14448. proto.isBefore = isBefore;
  14449. proto.isBetween = isBetween;
  14450. proto.isSame = isSame;
  14451. proto.isSameOrAfter = isSameOrAfter;
  14452. proto.isSameOrBefore = isSameOrBefore;
  14453. proto.isValid = isValid$2;
  14454. proto.lang = lang;
  14455. proto.locale = locale;
  14456. proto.localeData = localeData;
  14457. proto.max = prototypeMax;
  14458. proto.min = prototypeMin;
  14459. proto.parsingFlags = parsingFlags;
  14460. proto.set = stringSet;
  14461. proto.startOf = startOf;
  14462. proto.subtract = subtract;
  14463. proto.toArray = toArray;
  14464. proto.toObject = toObject;
  14465. proto.toDate = toDate;
  14466. proto.toISOString = toISOString;
  14467. proto.inspect = inspect;
  14468. if (typeof Symbol !== 'undefined' && Symbol.for != null) {
  14469. proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
  14470. return 'Moment<' + this.format() + '>';
  14471. };
  14472. }
  14473. proto.toJSON = toJSON;
  14474. proto.toString = toString;
  14475. proto.unix = unix;
  14476. proto.valueOf = valueOf;
  14477. proto.creationData = creationData;
  14478. proto.eraName = getEraName;
  14479. proto.eraNarrow = getEraNarrow;
  14480. proto.eraAbbr = getEraAbbr;
  14481. proto.eraYear = getEraYear;
  14482. proto.year = getSetYear;
  14483. proto.isLeapYear = getIsLeapYear;
  14484. proto.weekYear = getSetWeekYear;
  14485. proto.isoWeekYear = getSetISOWeekYear;
  14486. proto.quarter = proto.quarters = getSetQuarter;
  14487. proto.month = getSetMonth;
  14488. proto.daysInMonth = getDaysInMonth;
  14489. proto.week = proto.weeks = getSetWeek;
  14490. proto.isoWeek = proto.isoWeeks = getSetISOWeek;
  14491. proto.weeksInYear = getWeeksInYear;
  14492. proto.weeksInWeekYear = getWeeksInWeekYear;
  14493. proto.isoWeeksInYear = getISOWeeksInYear;
  14494. proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
  14495. proto.date = getSetDayOfMonth;
  14496. proto.day = proto.days = getSetDayOfWeek;
  14497. proto.weekday = getSetLocaleDayOfWeek;
  14498. proto.isoWeekday = getSetISODayOfWeek;
  14499. proto.dayOfYear = getSetDayOfYear;
  14500. proto.hour = proto.hours = getSetHour;
  14501. proto.minute = proto.minutes = getSetMinute;
  14502. proto.second = proto.seconds = getSetSecond;
  14503. proto.millisecond = proto.milliseconds = getSetMillisecond;
  14504. proto.utcOffset = getSetOffset;
  14505. proto.utc = setOffsetToUTC;
  14506. proto.local = setOffsetToLocal;
  14507. proto.parseZone = setOffsetToParsedOffset;
  14508. proto.hasAlignedHourOffset = hasAlignedHourOffset;
  14509. proto.isDST = isDaylightSavingTime;
  14510. proto.isLocal = isLocal;
  14511. proto.isUtcOffset = isUtcOffset;
  14512. proto.isUtc = isUtc;
  14513. proto.isUTC = isUtc;
  14514. proto.zoneAbbr = getZoneAbbr;
  14515. proto.zoneName = getZoneName;
  14516. proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);
  14517. proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
  14518. proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);
  14519. proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);
  14520. proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);
  14521. function createUnix(input) {
  14522. return createLocal(input * 1000);
  14523. }
  14524. function createInZone() {
  14525. return createLocal.apply(null, arguments).parseZone();
  14526. }
  14527. function preParsePostFormat(string) {
  14528. return string;
  14529. }
  14530. var proto$1 = Locale.prototype;
  14531. proto$1.calendar = calendar;
  14532. proto$1.longDateFormat = longDateFormat;
  14533. proto$1.invalidDate = invalidDate;
  14534. proto$1.ordinal = ordinal;
  14535. proto$1.preparse = preParsePostFormat;
  14536. proto$1.postformat = preParsePostFormat;
  14537. proto$1.relativeTime = relativeTime;
  14538. proto$1.pastFuture = pastFuture;
  14539. proto$1.set = set;
  14540. proto$1.eras = localeEras;
  14541. proto$1.erasParse = localeErasParse;
  14542. proto$1.erasConvertYear = localeErasConvertYear;
  14543. proto$1.erasAbbrRegex = erasAbbrRegex;
  14544. proto$1.erasNameRegex = erasNameRegex;
  14545. proto$1.erasNarrowRegex = erasNarrowRegex;
  14546. proto$1.months = localeMonths;
  14547. proto$1.monthsShort = localeMonthsShort;
  14548. proto$1.monthsParse = localeMonthsParse;
  14549. proto$1.monthsRegex = monthsRegex;
  14550. proto$1.monthsShortRegex = monthsShortRegex;
  14551. proto$1.week = localeWeek;
  14552. proto$1.firstDayOfYear = localeFirstDayOfYear;
  14553. proto$1.firstDayOfWeek = localeFirstDayOfWeek;
  14554. proto$1.weekdays = localeWeekdays;
  14555. proto$1.weekdaysMin = localeWeekdaysMin;
  14556. proto$1.weekdaysShort = localeWeekdaysShort;
  14557. proto$1.weekdaysParse = localeWeekdaysParse;
  14558. proto$1.weekdaysRegex = weekdaysRegex;
  14559. proto$1.weekdaysShortRegex = weekdaysShortRegex;
  14560. proto$1.weekdaysMinRegex = weekdaysMinRegex;
  14561. proto$1.isPM = localeIsPM;
  14562. proto$1.meridiem = localeMeridiem;
  14563. function get$1(format, index, field, setter) {
  14564. var locale = getLocale(),
  14565. utc = createUTC().set(setter, index);
  14566. return locale[field](utc, format);
  14567. }
  14568. function listMonthsImpl(format, index, field) {
  14569. if (isNumber(format)) {
  14570. index = format;
  14571. format = undefined;
  14572. }
  14573. format = format || '';
  14574. if (index != null) {
  14575. return get$1(format, index, field, 'month');
  14576. }
  14577. var i,
  14578. out = [];
  14579. for (i = 0; i < 12; i++) {
  14580. out[i] = get$1(format, i, field, 'month');
  14581. }
  14582. return out;
  14583. }
  14584. // ()
  14585. // (5)
  14586. // (fmt, 5)
  14587. // (fmt)
  14588. // (true)
  14589. // (true, 5)
  14590. // (true, fmt, 5)
  14591. // (true, fmt)
  14592. function listWeekdaysImpl(localeSorted, format, index, field) {
  14593. if (typeof localeSorted === 'boolean') {
  14594. if (isNumber(format)) {
  14595. index = format;
  14596. format = undefined;
  14597. }
  14598. format = format || '';
  14599. } else {
  14600. format = localeSorted;
  14601. index = format;
  14602. localeSorted = false;
  14603. if (isNumber(format)) {
  14604. index = format;
  14605. format = undefined;
  14606. }
  14607. format = format || '';
  14608. }
  14609. var locale = getLocale(),
  14610. shift = localeSorted ? locale._week.dow : 0,
  14611. i,
  14612. out = [];
  14613. if (index != null) {
  14614. return get$1(format, (index + shift) % 7, field, 'day');
  14615. }
  14616. for (i = 0; i < 7; i++) {
  14617. out[i] = get$1(format, (i + shift) % 7, field, 'day');
  14618. }
  14619. return out;
  14620. }
  14621. function listMonths(format, index) {
  14622. return listMonthsImpl(format, index, 'months');
  14623. }
  14624. function listMonthsShort(format, index) {
  14625. return listMonthsImpl(format, index, 'monthsShort');
  14626. }
  14627. function listWeekdays(localeSorted, format, index) {
  14628. return listWeekdaysImpl(localeSorted, format, index, 'weekdays');
  14629. }
  14630. function listWeekdaysShort(localeSorted, format, index) {
  14631. return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');
  14632. }
  14633. function listWeekdaysMin(localeSorted, format, index) {
  14634. return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');
  14635. }
  14636. getSetGlobalLocale('en', {
  14637. eras: [{
  14638. since: '0001-01-01',
  14639. until: +Infinity,
  14640. offset: 1,
  14641. name: 'Anno Domini',
  14642. narrow: 'AD',
  14643. abbr: 'AD'
  14644. }, {
  14645. since: '0000-12-31',
  14646. until: -Infinity,
  14647. offset: 1,
  14648. name: 'Before Christ',
  14649. narrow: 'BC',
  14650. abbr: 'BC'
  14651. }],
  14652. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  14653. ordinal: function ordinal(number) {
  14654. var b = number % 10,
  14655. output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  14656. return number + output;
  14657. }
  14658. });
  14659. // Side effect imports
  14660. hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);
  14661. hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);
  14662. var mathAbs = Math.abs;
  14663. function abs() {
  14664. var data = this._data;
  14665. this._milliseconds = mathAbs(this._milliseconds);
  14666. this._days = mathAbs(this._days);
  14667. this._months = mathAbs(this._months);
  14668. data.milliseconds = mathAbs(data.milliseconds);
  14669. data.seconds = mathAbs(data.seconds);
  14670. data.minutes = mathAbs(data.minutes);
  14671. data.hours = mathAbs(data.hours);
  14672. data.months = mathAbs(data.months);
  14673. data.years = mathAbs(data.years);
  14674. return this;
  14675. }
  14676. function addSubtract$1(duration, input, value, direction) {
  14677. var other = createDuration(input, value);
  14678. duration._milliseconds += direction * other._milliseconds;
  14679. duration._days += direction * other._days;
  14680. duration._months += direction * other._months;
  14681. return duration._bubble();
  14682. }
  14683. // supports only 2.0-style add(1, 's') or add(duration)
  14684. function add$1(input, value) {
  14685. return addSubtract$1(this, input, value, 1);
  14686. }
  14687. // supports only 2.0-style subtract(1, 's') or subtract(duration)
  14688. function subtract$1(input, value) {
  14689. return addSubtract$1(this, input, value, -1);
  14690. }
  14691. function absCeil(number) {
  14692. if (number < 0) {
  14693. return Math.floor(number);
  14694. } else {
  14695. return Math.ceil(number);
  14696. }
  14697. }
  14698. function bubble() {
  14699. var milliseconds = this._milliseconds,
  14700. days = this._days,
  14701. months = this._months,
  14702. data = this._data,
  14703. seconds,
  14704. minutes,
  14705. hours,
  14706. years,
  14707. monthsFromDays;
  14708. // if we have a mix of positive and negative values, bubble down first
  14709. // check: https://github.com/moment/moment/issues/2166
  14710. if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {
  14711. milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
  14712. days = 0;
  14713. months = 0;
  14714. }
  14715. // The following code bubbles up values, see the tests for
  14716. // examples of what that means.
  14717. data.milliseconds = milliseconds % 1000;
  14718. seconds = absFloor(milliseconds / 1000);
  14719. data.seconds = seconds % 60;
  14720. minutes = absFloor(seconds / 60);
  14721. data.minutes = minutes % 60;
  14722. hours = absFloor(minutes / 60);
  14723. data.hours = hours % 24;
  14724. days += absFloor(hours / 24);
  14725. // convert days to months
  14726. monthsFromDays = absFloor(daysToMonths(days));
  14727. months += monthsFromDays;
  14728. days -= absCeil(monthsToDays(monthsFromDays));
  14729. // 12 months -> 1 year
  14730. years = absFloor(months / 12);
  14731. months %= 12;
  14732. data.days = days;
  14733. data.months = months;
  14734. data.years = years;
  14735. return this;
  14736. }
  14737. function daysToMonths(days) {
  14738. // 400 years have 146097 days (taking into account leap year rules)
  14739. // 400 years have 12 months === 4800
  14740. return days * 4800 / 146097;
  14741. }
  14742. function monthsToDays(months) {
  14743. // the reverse of daysToMonths
  14744. return months * 146097 / 4800;
  14745. }
  14746. function as(units) {
  14747. if (!this.isValid()) {
  14748. return NaN;
  14749. }
  14750. var days,
  14751. months,
  14752. milliseconds = this._milliseconds;
  14753. units = normalizeUnits(units);
  14754. if (units === 'month' || units === 'quarter' || units === 'year') {
  14755. days = this._days + milliseconds / 864e5;
  14756. months = this._months + daysToMonths(days);
  14757. switch (units) {
  14758. case 'month':
  14759. return months;
  14760. case 'quarter':
  14761. return months / 3;
  14762. case 'year':
  14763. return months / 12;
  14764. }
  14765. } else {
  14766. // handle milliseconds separately because of floating point math errors (issue #1867)
  14767. days = this._days + Math.round(monthsToDays(this._months));
  14768. switch (units) {
  14769. case 'week':
  14770. return days / 7 + milliseconds / 6048e5;
  14771. case 'day':
  14772. return days + milliseconds / 864e5;
  14773. case 'hour':
  14774. return days * 24 + milliseconds / 36e5;
  14775. case 'minute':
  14776. return days * 1440 + milliseconds / 6e4;
  14777. case 'second':
  14778. return days * 86400 + milliseconds / 1000;
  14779. // Math.floor prevents floating point math errors here
  14780. case 'millisecond':
  14781. return Math.floor(days * 864e5) + milliseconds;
  14782. default:
  14783. throw new Error('Unknown unit ' + units);
  14784. }
  14785. }
  14786. }
  14787. // TODO: Use this.as('ms')?
  14788. function valueOf$1() {
  14789. if (!this.isValid()) {
  14790. return NaN;
  14791. }
  14792. return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;
  14793. }
  14794. function makeAs(alias) {
  14795. return function () {
  14796. return this.as(alias);
  14797. };
  14798. }
  14799. var asMilliseconds = makeAs('ms'),
  14800. asSeconds = makeAs('s'),
  14801. asMinutes = makeAs('m'),
  14802. asHours = makeAs('h'),
  14803. asDays = makeAs('d'),
  14804. asWeeks = makeAs('w'),
  14805. asMonths = makeAs('M'),
  14806. asQuarters = makeAs('Q'),
  14807. asYears = makeAs('y');
  14808. function clone$1() {
  14809. return createDuration(this);
  14810. }
  14811. function get$2(units) {
  14812. units = normalizeUnits(units);
  14813. return this.isValid() ? this[units + 's']() : NaN;
  14814. }
  14815. function makeGetter(name) {
  14816. return function () {
  14817. return this.isValid() ? this._data[name] : NaN;
  14818. };
  14819. }
  14820. var milliseconds = makeGetter('milliseconds'),
  14821. seconds = makeGetter('seconds'),
  14822. minutes = makeGetter('minutes'),
  14823. hours = makeGetter('hours'),
  14824. days = makeGetter('days'),
  14825. months = makeGetter('months'),
  14826. years = makeGetter('years');
  14827. function weeks() {
  14828. return absFloor(this.days() / 7);
  14829. }
  14830. var round = Math.round,
  14831. thresholds = {
  14832. ss: 44,
  14833. // a few seconds to seconds
  14834. s: 45,
  14835. // seconds to minute
  14836. m: 45,
  14837. // minutes to hour
  14838. h: 22,
  14839. // hours to day
  14840. d: 26,
  14841. // days to month/week
  14842. w: null,
  14843. // weeks to month
  14844. M: 11 // months to year
  14845. };
  14846. // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
  14847. function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
  14848. return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
  14849. }
  14850. function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {
  14851. var duration = createDuration(posNegDuration).abs(),
  14852. seconds = round(duration.as('s')),
  14853. minutes = round(duration.as('m')),
  14854. hours = round(duration.as('h')),
  14855. days = round(duration.as('d')),
  14856. months = round(duration.as('M')),
  14857. weeks = round(duration.as('w')),
  14858. years = round(duration.as('y')),
  14859. a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];
  14860. if (thresholds.w != null) {
  14861. a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];
  14862. }
  14863. a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];
  14864. a[2] = withoutSuffix;
  14865. a[3] = +posNegDuration > 0;
  14866. a[4] = locale;
  14867. return substituteTimeAgo.apply(null, a);
  14868. }
  14869. // This function allows you to set the rounding function for relative time strings
  14870. function getSetRelativeTimeRounding(roundingFunction) {
  14871. if (roundingFunction === undefined) {
  14872. return round;
  14873. }
  14874. if (typeof roundingFunction === 'function') {
  14875. round = roundingFunction;
  14876. return true;
  14877. }
  14878. return false;
  14879. }
  14880. // This function allows you to set a threshold for relative time strings
  14881. function getSetRelativeTimeThreshold(threshold, limit) {
  14882. if (thresholds[threshold] === undefined) {
  14883. return false;
  14884. }
  14885. if (limit === undefined) {
  14886. return thresholds[threshold];
  14887. }
  14888. thresholds[threshold] = limit;
  14889. if (threshold === 's') {
  14890. thresholds.ss = limit - 1;
  14891. }
  14892. return true;
  14893. }
  14894. function humanize(argWithSuffix, argThresholds) {
  14895. if (!this.isValid()) {
  14896. return this.localeData().invalidDate();
  14897. }
  14898. var withSuffix = false,
  14899. th = thresholds,
  14900. locale,
  14901. output;
  14902. if (_typeof(argWithSuffix) === 'object') {
  14903. argThresholds = argWithSuffix;
  14904. argWithSuffix = false;
  14905. }
  14906. if (typeof argWithSuffix === 'boolean') {
  14907. withSuffix = argWithSuffix;
  14908. }
  14909. if (_typeof(argThresholds) === 'object') {
  14910. th = Object.assign({}, thresholds, argThresholds);
  14911. if (argThresholds.s != null && argThresholds.ss == null) {
  14912. th.ss = argThresholds.s - 1;
  14913. }
  14914. }
  14915. locale = this.localeData();
  14916. output = relativeTime$1(this, !withSuffix, th, locale);
  14917. if (withSuffix) {
  14918. output = locale.pastFuture(+this, output);
  14919. }
  14920. return locale.postformat(output);
  14921. }
  14922. var abs$1 = Math.abs;
  14923. function sign(x) {
  14924. return (x > 0) - (x < 0) || +x;
  14925. }
  14926. function toISOString$1() {
  14927. // for ISO strings we do not use the normal bubbling rules:
  14928. // * milliseconds bubble up until they become hours
  14929. // * days do not bubble at all
  14930. // * months bubble up until they become years
  14931. // This is because there is no context-free conversion between hours and days
  14932. // (think of clock changes)
  14933. // and also not between days and months (28-31 days per month)
  14934. if (!this.isValid()) {
  14935. return this.localeData().invalidDate();
  14936. }
  14937. var seconds = abs$1(this._milliseconds) / 1000,
  14938. days = abs$1(this._days),
  14939. months = abs$1(this._months),
  14940. minutes,
  14941. hours,
  14942. years,
  14943. s,
  14944. total = this.asSeconds(),
  14945. totalSign,
  14946. ymSign,
  14947. daysSign,
  14948. hmsSign;
  14949. if (!total) {
  14950. // this is the same as C#'s (Noda) and python (isodate)...
  14951. // but not other JS (goog.date)
  14952. return 'P0D';
  14953. }
  14954. // 3600 seconds -> 60 minutes -> 1 hour
  14955. minutes = absFloor(seconds / 60);
  14956. hours = absFloor(minutes / 60);
  14957. seconds %= 60;
  14958. minutes %= 60;
  14959. // 12 months -> 1 year
  14960. years = absFloor(months / 12);
  14961. months %= 12;
  14962. // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
  14963. s = seconds ? seconds.toFixed(3).replace(/\.?0+$/, '') : '';
  14964. totalSign = total < 0 ? '-' : '';
  14965. ymSign = sign(this._months) !== sign(total) ? '-' : '';
  14966. daysSign = sign(this._days) !== sign(total) ? '-' : '';
  14967. hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';
  14968. return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');
  14969. }
  14970. var proto$2 = Duration.prototype;
  14971. proto$2.isValid = isValid$1;
  14972. proto$2.abs = abs;
  14973. proto$2.add = add$1;
  14974. proto$2.subtract = subtract$1;
  14975. proto$2.as = as;
  14976. proto$2.asMilliseconds = asMilliseconds;
  14977. proto$2.asSeconds = asSeconds;
  14978. proto$2.asMinutes = asMinutes;
  14979. proto$2.asHours = asHours;
  14980. proto$2.asDays = asDays;
  14981. proto$2.asWeeks = asWeeks;
  14982. proto$2.asMonths = asMonths;
  14983. proto$2.asQuarters = asQuarters;
  14984. proto$2.asYears = asYears;
  14985. proto$2.valueOf = valueOf$1;
  14986. proto$2._bubble = bubble;
  14987. proto$2.clone = clone$1;
  14988. proto$2.get = get$2;
  14989. proto$2.milliseconds = milliseconds;
  14990. proto$2.seconds = seconds;
  14991. proto$2.minutes = minutes;
  14992. proto$2.hours = hours;
  14993. proto$2.days = days;
  14994. proto$2.weeks = weeks;
  14995. proto$2.months = months;
  14996. proto$2.years = years;
  14997. proto$2.humanize = humanize;
  14998. proto$2.toISOString = toISOString$1;
  14999. proto$2.toString = toISOString$1;
  15000. proto$2.toJSON = toISOString$1;
  15001. proto$2.locale = locale;
  15002. proto$2.localeData = localeData;
  15003. proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);
  15004. proto$2.lang = lang;
  15005. // FORMATTING
  15006. addFormatToken('X', 0, 0, 'unix');
  15007. addFormatToken('x', 0, 0, 'valueOf');
  15008. // PARSING
  15009. addRegexToken('x', matchSigned);
  15010. addRegexToken('X', matchTimestamp);
  15011. addParseToken('X', function (input, array, config) {
  15012. config._d = new Date(parseFloat(input) * 1000);
  15013. });
  15014. addParseToken('x', function (input, array, config) {
  15015. config._d = new Date(toInt(input));
  15016. });
  15017. //! moment.js
  15018. hooks.version = '2.29.4';
  15019. setHookCallback(createLocal);
  15020. hooks.fn = proto;
  15021. hooks.min = min;
  15022. hooks.max = max;
  15023. hooks.now = now;
  15024. hooks.utc = createUTC;
  15025. hooks.unix = createUnix;
  15026. hooks.months = listMonths;
  15027. hooks.isDate = isDate;
  15028. hooks.locale = getSetGlobalLocale;
  15029. hooks.invalid = createInvalid;
  15030. hooks.duration = createDuration;
  15031. hooks.isMoment = isMoment;
  15032. hooks.weekdays = listWeekdays;
  15033. hooks.parseZone = createInZone;
  15034. hooks.localeData = getLocale;
  15035. hooks.isDuration = isDuration;
  15036. hooks.monthsShort = listMonthsShort;
  15037. hooks.weekdaysMin = listWeekdaysMin;
  15038. hooks.defineLocale = defineLocale;
  15039. hooks.updateLocale = updateLocale;
  15040. hooks.locales = listLocales;
  15041. hooks.weekdaysShort = listWeekdaysShort;
  15042. hooks.normalizeUnits = normalizeUnits;
  15043. hooks.relativeTimeRounding = getSetRelativeTimeRounding;
  15044. hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
  15045. hooks.calendarFormat = getCalendarFormat;
  15046. hooks.prototype = proto;
  15047. // currently HTML5 input type only supports 24-hour formats
  15048. hooks.HTML5_FMT = {
  15049. DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',
  15050. // <input type="datetime-local" />
  15051. DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',
  15052. // <input type="datetime-local" step="1" />
  15053. DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',
  15054. // <input type="datetime-local" step="0.001" />
  15055. DATE: 'YYYY-MM-DD',
  15056. // <input type="date" />
  15057. TIME: 'HH:mm',
  15058. // <input type="time" />
  15059. TIME_SECONDS: 'HH:mm:ss',
  15060. // <input type="time" step="1" />
  15061. TIME_MS: 'HH:mm:ss.SSS',
  15062. // <input type="time" step="0.001" />
  15063. WEEK: 'GGGG-[W]WW',
  15064. // <input type="week" />
  15065. MONTH: 'YYYY-MM' // <input type="month" />
  15066. };
  15067. return hooks;
  15068. });
  15069. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../HBuilderX/plugins/uniapp-cli/node_modules/webpack/buildin/module.js */ 53)(module)))
  15070. /***/ }),
  15071. /* 53 */
  15072. /*!***********************************!*\
  15073. !*** (webpack)/buildin/module.js ***!
  15074. \***********************************/
  15075. /*! no static exports found */
  15076. /***/ (function(module, exports) {
  15077. module.exports = function(module) {
  15078. if (!module.webpackPolyfill) {
  15079. module.deprecate = function() {};
  15080. module.paths = [];
  15081. // module.parent = undefined by default
  15082. if (!module.children) module.children = [];
  15083. Object.defineProperty(module, "loaded", {
  15084. enumerable: true,
  15085. get: function() {
  15086. return module.l;
  15087. }
  15088. });
  15089. Object.defineProperty(module, "id", {
  15090. enumerable: true,
  15091. get: function() {
  15092. return module.i;
  15093. }
  15094. });
  15095. module.webpackPolyfill = 1;
  15096. }
  15097. return module;
  15098. };
  15099. /***/ }),
  15100. /* 54 */
  15101. /*!*******************************************************************************!*\
  15102. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale sync ^\.\/.*$ ***!
  15103. \*******************************************************************************/
  15104. /*! no static exports found */
  15105. /***/ (function(module, exports, __webpack_require__) {
  15106. var map = {
  15107. "./af": 55,
  15108. "./af.js": 55,
  15109. "./ar": 56,
  15110. "./ar-dz": 57,
  15111. "./ar-dz.js": 57,
  15112. "./ar-kw": 58,
  15113. "./ar-kw.js": 58,
  15114. "./ar-ly": 59,
  15115. "./ar-ly.js": 59,
  15116. "./ar-ma": 60,
  15117. "./ar-ma.js": 60,
  15118. "./ar-sa": 61,
  15119. "./ar-sa.js": 61,
  15120. "./ar-tn": 62,
  15121. "./ar-tn.js": 62,
  15122. "./ar.js": 56,
  15123. "./az": 63,
  15124. "./az.js": 63,
  15125. "./be": 64,
  15126. "./be.js": 64,
  15127. "./bg": 65,
  15128. "./bg.js": 65,
  15129. "./bm": 66,
  15130. "./bm.js": 66,
  15131. "./bn": 67,
  15132. "./bn-bd": 68,
  15133. "./bn-bd.js": 68,
  15134. "./bn.js": 67,
  15135. "./bo": 69,
  15136. "./bo.js": 69,
  15137. "./br": 70,
  15138. "./br.js": 70,
  15139. "./bs": 71,
  15140. "./bs.js": 71,
  15141. "./ca": 72,
  15142. "./ca.js": 72,
  15143. "./cs": 73,
  15144. "./cs.js": 73,
  15145. "./cv": 74,
  15146. "./cv.js": 74,
  15147. "./cy": 75,
  15148. "./cy.js": 75,
  15149. "./da": 76,
  15150. "./da.js": 76,
  15151. "./de": 77,
  15152. "./de-at": 78,
  15153. "./de-at.js": 78,
  15154. "./de-ch": 79,
  15155. "./de-ch.js": 79,
  15156. "./de.js": 77,
  15157. "./dv": 80,
  15158. "./dv.js": 80,
  15159. "./el": 81,
  15160. "./el.js": 81,
  15161. "./en-au": 82,
  15162. "./en-au.js": 82,
  15163. "./en-ca": 83,
  15164. "./en-ca.js": 83,
  15165. "./en-gb": 84,
  15166. "./en-gb.js": 84,
  15167. "./en-ie": 85,
  15168. "./en-ie.js": 85,
  15169. "./en-il": 86,
  15170. "./en-il.js": 86,
  15171. "./en-in": 87,
  15172. "./en-in.js": 87,
  15173. "./en-nz": 88,
  15174. "./en-nz.js": 88,
  15175. "./en-sg": 89,
  15176. "./en-sg.js": 89,
  15177. "./eo": 90,
  15178. "./eo.js": 90,
  15179. "./es": 91,
  15180. "./es-do": 92,
  15181. "./es-do.js": 92,
  15182. "./es-mx": 93,
  15183. "./es-mx.js": 93,
  15184. "./es-us": 94,
  15185. "./es-us.js": 94,
  15186. "./es.js": 91,
  15187. "./et": 95,
  15188. "./et.js": 95,
  15189. "./eu": 96,
  15190. "./eu.js": 96,
  15191. "./fa": 97,
  15192. "./fa.js": 97,
  15193. "./fi": 98,
  15194. "./fi.js": 98,
  15195. "./fil": 99,
  15196. "./fil.js": 99,
  15197. "./fo": 100,
  15198. "./fo.js": 100,
  15199. "./fr": 101,
  15200. "./fr-ca": 102,
  15201. "./fr-ca.js": 102,
  15202. "./fr-ch": 103,
  15203. "./fr-ch.js": 103,
  15204. "./fr.js": 101,
  15205. "./fy": 104,
  15206. "./fy.js": 104,
  15207. "./ga": 105,
  15208. "./ga.js": 105,
  15209. "./gd": 106,
  15210. "./gd.js": 106,
  15211. "./gl": 107,
  15212. "./gl.js": 107,
  15213. "./gom-deva": 108,
  15214. "./gom-deva.js": 108,
  15215. "./gom-latn": 109,
  15216. "./gom-latn.js": 109,
  15217. "./gu": 110,
  15218. "./gu.js": 110,
  15219. "./he": 111,
  15220. "./he.js": 111,
  15221. "./hi": 112,
  15222. "./hi.js": 112,
  15223. "./hr": 113,
  15224. "./hr.js": 113,
  15225. "./hu": 114,
  15226. "./hu.js": 114,
  15227. "./hy-am": 115,
  15228. "./hy-am.js": 115,
  15229. "./id": 116,
  15230. "./id.js": 116,
  15231. "./is": 117,
  15232. "./is.js": 117,
  15233. "./it": 118,
  15234. "./it-ch": 119,
  15235. "./it-ch.js": 119,
  15236. "./it.js": 118,
  15237. "./ja": 120,
  15238. "./ja.js": 120,
  15239. "./jv": 121,
  15240. "./jv.js": 121,
  15241. "./ka": 122,
  15242. "./ka.js": 122,
  15243. "./kk": 123,
  15244. "./kk.js": 123,
  15245. "./km": 124,
  15246. "./km.js": 124,
  15247. "./kn": 125,
  15248. "./kn.js": 125,
  15249. "./ko": 126,
  15250. "./ko.js": 126,
  15251. "./ku": 127,
  15252. "./ku.js": 127,
  15253. "./ky": 128,
  15254. "./ky.js": 128,
  15255. "./lb": 129,
  15256. "./lb.js": 129,
  15257. "./lo": 130,
  15258. "./lo.js": 130,
  15259. "./lt": 131,
  15260. "./lt.js": 131,
  15261. "./lv": 132,
  15262. "./lv.js": 132,
  15263. "./me": 133,
  15264. "./me.js": 133,
  15265. "./mi": 134,
  15266. "./mi.js": 134,
  15267. "./mk": 135,
  15268. "./mk.js": 135,
  15269. "./ml": 136,
  15270. "./ml.js": 136,
  15271. "./mn": 137,
  15272. "./mn.js": 137,
  15273. "./mr": 138,
  15274. "./mr.js": 138,
  15275. "./ms": 139,
  15276. "./ms-my": 140,
  15277. "./ms-my.js": 140,
  15278. "./ms.js": 139,
  15279. "./mt": 141,
  15280. "./mt.js": 141,
  15281. "./my": 142,
  15282. "./my.js": 142,
  15283. "./nb": 143,
  15284. "./nb.js": 143,
  15285. "./ne": 144,
  15286. "./ne.js": 144,
  15287. "./nl": 145,
  15288. "./nl-be": 146,
  15289. "./nl-be.js": 146,
  15290. "./nl.js": 145,
  15291. "./nn": 147,
  15292. "./nn.js": 147,
  15293. "./oc-lnc": 148,
  15294. "./oc-lnc.js": 148,
  15295. "./pa-in": 149,
  15296. "./pa-in.js": 149,
  15297. "./pl": 150,
  15298. "./pl.js": 150,
  15299. "./pt": 151,
  15300. "./pt-br": 152,
  15301. "./pt-br.js": 152,
  15302. "./pt.js": 151,
  15303. "./ro": 153,
  15304. "./ro.js": 153,
  15305. "./ru": 154,
  15306. "./ru.js": 154,
  15307. "./sd": 155,
  15308. "./sd.js": 155,
  15309. "./se": 156,
  15310. "./se.js": 156,
  15311. "./si": 157,
  15312. "./si.js": 157,
  15313. "./sk": 158,
  15314. "./sk.js": 158,
  15315. "./sl": 159,
  15316. "./sl.js": 159,
  15317. "./sq": 160,
  15318. "./sq.js": 160,
  15319. "./sr": 161,
  15320. "./sr-cyrl": 162,
  15321. "./sr-cyrl.js": 162,
  15322. "./sr.js": 161,
  15323. "./ss": 163,
  15324. "./ss.js": 163,
  15325. "./sv": 164,
  15326. "./sv.js": 164,
  15327. "./sw": 165,
  15328. "./sw.js": 165,
  15329. "./ta": 166,
  15330. "./ta.js": 166,
  15331. "./te": 167,
  15332. "./te.js": 167,
  15333. "./tet": 168,
  15334. "./tet.js": 168,
  15335. "./tg": 169,
  15336. "./tg.js": 169,
  15337. "./th": 170,
  15338. "./th.js": 170,
  15339. "./tk": 171,
  15340. "./tk.js": 171,
  15341. "./tl-ph": 172,
  15342. "./tl-ph.js": 172,
  15343. "./tlh": 173,
  15344. "./tlh.js": 173,
  15345. "./tr": 174,
  15346. "./tr.js": 174,
  15347. "./tzl": 175,
  15348. "./tzl.js": 175,
  15349. "./tzm": 176,
  15350. "./tzm-latn": 177,
  15351. "./tzm-latn.js": 177,
  15352. "./tzm.js": 176,
  15353. "./ug-cn": 178,
  15354. "./ug-cn.js": 178,
  15355. "./uk": 179,
  15356. "./uk.js": 179,
  15357. "./ur": 180,
  15358. "./ur.js": 180,
  15359. "./uz": 181,
  15360. "./uz-latn": 182,
  15361. "./uz-latn.js": 182,
  15362. "./uz.js": 181,
  15363. "./vi": 183,
  15364. "./vi.js": 183,
  15365. "./x-pseudo": 184,
  15366. "./x-pseudo.js": 184,
  15367. "./yo": 185,
  15368. "./yo.js": 185,
  15369. "./zh-cn": 186,
  15370. "./zh-cn.js": 186,
  15371. "./zh-hk": 187,
  15372. "./zh-hk.js": 187,
  15373. "./zh-mo": 188,
  15374. "./zh-mo.js": 188,
  15375. "./zh-tw": 189,
  15376. "./zh-tw.js": 189
  15377. };
  15378. function webpackContext(req) {
  15379. var id = webpackContextResolve(req);
  15380. return __webpack_require__(id);
  15381. }
  15382. function webpackContextResolve(req) {
  15383. if(!__webpack_require__.o(map, req)) {
  15384. var e = new Error("Cannot find module '" + req + "'");
  15385. e.code = 'MODULE_NOT_FOUND';
  15386. throw e;
  15387. }
  15388. return map[req];
  15389. }
  15390. webpackContext.keys = function webpackContextKeys() {
  15391. return Object.keys(map);
  15392. };
  15393. webpackContext.resolve = webpackContextResolve;
  15394. module.exports = webpackContext;
  15395. webpackContext.id = 54;
  15396. /***/ }),
  15397. /* 55 */
  15398. /*!***********************************************************************!*\
  15399. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/af.js ***!
  15400. \***********************************************************************/
  15401. /*! no static exports found */
  15402. /***/ (function(module, exports, __webpack_require__) {
  15403. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15404. //! moment.js locale configuration
  15405. //! locale : Afrikaans [af]
  15406. //! author : Werner Mollentze : https://github.com/wernerm
  15407. ;
  15408. (function (global, factory) {
  15409. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15410. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15411. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15412. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15413. })(this, function (moment) {
  15414. 'use strict';
  15415. //! moment.js locale configuration
  15416. var af = moment.defineLocale('af', {
  15417. months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'),
  15418. monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  15419. weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'),
  15420. weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  15421. weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  15422. meridiemParse: /vm|nm/i,
  15423. isPM: function isPM(input) {
  15424. return /^nm$/i.test(input);
  15425. },
  15426. meridiem: function meridiem(hours, minutes, isLower) {
  15427. if (hours < 12) {
  15428. return isLower ? 'vm' : 'VM';
  15429. } else {
  15430. return isLower ? 'nm' : 'NM';
  15431. }
  15432. },
  15433. longDateFormat: {
  15434. LT: 'HH:mm',
  15435. LTS: 'HH:mm:ss',
  15436. L: 'DD/MM/YYYY',
  15437. LL: 'D MMMM YYYY',
  15438. LLL: 'D MMMM YYYY HH:mm',
  15439. LLLL: 'dddd, D MMMM YYYY HH:mm'
  15440. },
  15441. calendar: {
  15442. sameDay: '[Vandag om] LT',
  15443. nextDay: '[Môre om] LT',
  15444. nextWeek: 'dddd [om] LT',
  15445. lastDay: '[Gister om] LT',
  15446. lastWeek: '[Laas] dddd [om] LT',
  15447. sameElse: 'L'
  15448. },
  15449. relativeTime: {
  15450. future: 'oor %s',
  15451. past: '%s gelede',
  15452. s: "'n paar sekondes",
  15453. ss: '%d sekondes',
  15454. m: "'n minuut",
  15455. mm: '%d minute',
  15456. h: "'n uur",
  15457. hh: '%d ure',
  15458. d: "'n dag",
  15459. dd: '%d dae',
  15460. M: "'n maand",
  15461. MM: '%d maande',
  15462. y: "'n jaar",
  15463. yy: '%d jaar'
  15464. },
  15465. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  15466. ordinal: function ordinal(number) {
  15467. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter
  15468. },
  15469. week: {
  15470. dow: 1,
  15471. // Maandag is die eerste dag van die week.
  15472. doy: 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  15473. }
  15474. });
  15475. return af;
  15476. });
  15477. /***/ }),
  15478. /* 56 */
  15479. /*!***********************************************************************!*\
  15480. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar.js ***!
  15481. \***********************************************************************/
  15482. /*! no static exports found */
  15483. /***/ (function(module, exports, __webpack_require__) {
  15484. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15485. //! moment.js locale configuration
  15486. //! locale : Arabic [ar]
  15487. //! author : Abdel Said: https://github.com/abdelsaid
  15488. //! author : Ahmed Elkhatib
  15489. //! author : forabi https://github.com/forabi
  15490. ;
  15491. (function (global, factory) {
  15492. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15493. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15494. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15495. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15496. })(this, function (moment) {
  15497. 'use strict';
  15498. //! moment.js locale configuration
  15499. var symbolMap = {
  15500. 1: '١',
  15501. 2: '٢',
  15502. 3: '٣',
  15503. 4: '٤',
  15504. 5: '٥',
  15505. 6: '٦',
  15506. 7: '٧',
  15507. 8: '٨',
  15508. 9: '٩',
  15509. 0: '٠'
  15510. },
  15511. numberMap = {
  15512. '١': '1',
  15513. '٢': '2',
  15514. '٣': '3',
  15515. '٤': '4',
  15516. '٥': '5',
  15517. '٦': '6',
  15518. '٧': '7',
  15519. '٨': '8',
  15520. '٩': '9',
  15521. '٠': '0'
  15522. },
  15523. pluralForm = function pluralForm(n) {
  15524. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  15525. },
  15526. plurals = {
  15527. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  15528. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  15529. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  15530. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  15531. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  15532. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  15533. },
  15534. pluralize = function pluralize(u) {
  15535. return function (number, withoutSuffix, string, isFuture) {
  15536. var f = pluralForm(number),
  15537. str = plurals[u][pluralForm(number)];
  15538. if (f === 2) {
  15539. str = str[withoutSuffix ? 0 : 1];
  15540. }
  15541. return str.replace(/%d/i, number);
  15542. };
  15543. },
  15544. months = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  15545. var ar = moment.defineLocale('ar', {
  15546. months: months,
  15547. monthsShort: months,
  15548. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  15549. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  15550. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  15551. weekdaysParseExact: true,
  15552. longDateFormat: {
  15553. LT: 'HH:mm',
  15554. LTS: 'HH:mm:ss',
  15555. L: "D/\u200FM/\u200FYYYY",
  15556. LL: 'D MMMM YYYY',
  15557. LLL: 'D MMMM YYYY HH:mm',
  15558. LLLL: 'dddd D MMMM YYYY HH:mm'
  15559. },
  15560. meridiemParse: /ص|م/,
  15561. isPM: function isPM(input) {
  15562. return 'م' === input;
  15563. },
  15564. meridiem: function meridiem(hour, minute, isLower) {
  15565. if (hour < 12) {
  15566. return 'ص';
  15567. } else {
  15568. return 'م';
  15569. }
  15570. },
  15571. calendar: {
  15572. sameDay: '[اليوم عند الساعة] LT',
  15573. nextDay: '[غدًا عند الساعة] LT',
  15574. nextWeek: 'dddd [عند الساعة] LT',
  15575. lastDay: '[أمس عند الساعة] LT',
  15576. lastWeek: 'dddd [عند الساعة] LT',
  15577. sameElse: 'L'
  15578. },
  15579. relativeTime: {
  15580. future: 'بعد %s',
  15581. past: 'منذ %s',
  15582. s: pluralize('s'),
  15583. ss: pluralize('s'),
  15584. m: pluralize('m'),
  15585. mm: pluralize('m'),
  15586. h: pluralize('h'),
  15587. hh: pluralize('h'),
  15588. d: pluralize('d'),
  15589. dd: pluralize('d'),
  15590. M: pluralize('M'),
  15591. MM: pluralize('M'),
  15592. y: pluralize('y'),
  15593. yy: pluralize('y')
  15594. },
  15595. preparse: function preparse(string) {
  15596. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  15597. return numberMap[match];
  15598. }).replace(/،/g, ',');
  15599. },
  15600. postformat: function postformat(string) {
  15601. return string.replace(/\d/g, function (match) {
  15602. return symbolMap[match];
  15603. }).replace(/,/g, '،');
  15604. },
  15605. week: {
  15606. dow: 6,
  15607. // Saturday is the first day of the week.
  15608. doy: 12 // The week that contains Jan 12th is the first week of the year.
  15609. }
  15610. });
  15611. return ar;
  15612. });
  15613. /***/ }),
  15614. /* 57 */
  15615. /*!**************************************************************************!*\
  15616. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-dz.js ***!
  15617. \**************************************************************************/
  15618. /*! no static exports found */
  15619. /***/ (function(module, exports, __webpack_require__) {
  15620. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15621. //! moment.js locale configuration
  15622. //! locale : Arabic (Algeria) [ar-dz]
  15623. //! author : Amine Roukh: https://github.com/Amine27
  15624. //! author : Abdel Said: https://github.com/abdelsaid
  15625. //! author : Ahmed Elkhatib
  15626. //! author : forabi https://github.com/forabi
  15627. //! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
  15628. ;
  15629. (function (global, factory) {
  15630. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15631. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15632. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15633. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15634. })(this, function (moment) {
  15635. 'use strict';
  15636. //! moment.js locale configuration
  15637. var pluralForm = function pluralForm(n) {
  15638. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  15639. },
  15640. plurals = {
  15641. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  15642. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  15643. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  15644. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  15645. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  15646. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  15647. },
  15648. pluralize = function pluralize(u) {
  15649. return function (number, withoutSuffix, string, isFuture) {
  15650. var f = pluralForm(number),
  15651. str = plurals[u][pluralForm(number)];
  15652. if (f === 2) {
  15653. str = str[withoutSuffix ? 0 : 1];
  15654. }
  15655. return str.replace(/%d/i, number);
  15656. };
  15657. },
  15658. months = ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', 'جويلية', 'أوت', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  15659. var arDz = moment.defineLocale('ar-dz', {
  15660. months: months,
  15661. monthsShort: months,
  15662. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  15663. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  15664. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  15665. weekdaysParseExact: true,
  15666. longDateFormat: {
  15667. LT: 'HH:mm',
  15668. LTS: 'HH:mm:ss',
  15669. L: "D/\u200FM/\u200FYYYY",
  15670. LL: 'D MMMM YYYY',
  15671. LLL: 'D MMMM YYYY HH:mm',
  15672. LLLL: 'dddd D MMMM YYYY HH:mm'
  15673. },
  15674. meridiemParse: /ص|م/,
  15675. isPM: function isPM(input) {
  15676. return 'م' === input;
  15677. },
  15678. meridiem: function meridiem(hour, minute, isLower) {
  15679. if (hour < 12) {
  15680. return 'ص';
  15681. } else {
  15682. return 'م';
  15683. }
  15684. },
  15685. calendar: {
  15686. sameDay: '[اليوم عند الساعة] LT',
  15687. nextDay: '[غدًا عند الساعة] LT',
  15688. nextWeek: 'dddd [عند الساعة] LT',
  15689. lastDay: '[أمس عند الساعة] LT',
  15690. lastWeek: 'dddd [عند الساعة] LT',
  15691. sameElse: 'L'
  15692. },
  15693. relativeTime: {
  15694. future: 'بعد %s',
  15695. past: 'منذ %s',
  15696. s: pluralize('s'),
  15697. ss: pluralize('s'),
  15698. m: pluralize('m'),
  15699. mm: pluralize('m'),
  15700. h: pluralize('h'),
  15701. hh: pluralize('h'),
  15702. d: pluralize('d'),
  15703. dd: pluralize('d'),
  15704. M: pluralize('M'),
  15705. MM: pluralize('M'),
  15706. y: pluralize('y'),
  15707. yy: pluralize('y')
  15708. },
  15709. postformat: function postformat(string) {
  15710. return string.replace(/,/g, '،');
  15711. },
  15712. week: {
  15713. dow: 0,
  15714. // Sunday is the first day of the week.
  15715. doy: 4 // The week that contains Jan 4th is the first week of the year.
  15716. }
  15717. });
  15718. return arDz;
  15719. });
  15720. /***/ }),
  15721. /* 58 */
  15722. /*!**************************************************************************!*\
  15723. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-kw.js ***!
  15724. \**************************************************************************/
  15725. /*! no static exports found */
  15726. /***/ (function(module, exports, __webpack_require__) {
  15727. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15728. //! moment.js locale configuration
  15729. //! locale : Arabic (Kuwait) [ar-kw]
  15730. //! author : Nusret Parlak: https://github.com/nusretparlak
  15731. ;
  15732. (function (global, factory) {
  15733. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15734. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15735. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15736. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15737. })(this, function (moment) {
  15738. 'use strict';
  15739. //! moment.js locale configuration
  15740. var arKw = moment.defineLocale('ar-kw', {
  15741. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  15742. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  15743. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  15744. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  15745. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  15746. weekdaysParseExact: true,
  15747. longDateFormat: {
  15748. LT: 'HH:mm',
  15749. LTS: 'HH:mm:ss',
  15750. L: 'DD/MM/YYYY',
  15751. LL: 'D MMMM YYYY',
  15752. LLL: 'D MMMM YYYY HH:mm',
  15753. LLLL: 'dddd D MMMM YYYY HH:mm'
  15754. },
  15755. calendar: {
  15756. sameDay: '[اليوم على الساعة] LT',
  15757. nextDay: '[غدا على الساعة] LT',
  15758. nextWeek: 'dddd [على الساعة] LT',
  15759. lastDay: '[أمس على الساعة] LT',
  15760. lastWeek: 'dddd [على الساعة] LT',
  15761. sameElse: 'L'
  15762. },
  15763. relativeTime: {
  15764. future: 'في %s',
  15765. past: 'منذ %s',
  15766. s: 'ثوان',
  15767. ss: '%d ثانية',
  15768. m: 'دقيقة',
  15769. mm: '%d دقائق',
  15770. h: 'ساعة',
  15771. hh: '%d ساعات',
  15772. d: 'يوم',
  15773. dd: '%d أيام',
  15774. M: 'شهر',
  15775. MM: '%d أشهر',
  15776. y: 'سنة',
  15777. yy: '%d سنوات'
  15778. },
  15779. week: {
  15780. dow: 0,
  15781. // Sunday is the first day of the week.
  15782. doy: 12 // The week that contains Jan 12th is the first week of the year.
  15783. }
  15784. });
  15785. return arKw;
  15786. });
  15787. /***/ }),
  15788. /* 59 */
  15789. /*!**************************************************************************!*\
  15790. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-ly.js ***!
  15791. \**************************************************************************/
  15792. /*! no static exports found */
  15793. /***/ (function(module, exports, __webpack_require__) {
  15794. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15795. //! moment.js locale configuration
  15796. //! locale : Arabic (Libya) [ar-ly]
  15797. //! author : Ali Hmer: https://github.com/kikoanis
  15798. ;
  15799. (function (global, factory) {
  15800. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15801. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15802. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15803. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15804. })(this, function (moment) {
  15805. 'use strict';
  15806. //! moment.js locale configuration
  15807. var symbolMap = {
  15808. 1: '1',
  15809. 2: '2',
  15810. 3: '3',
  15811. 4: '4',
  15812. 5: '5',
  15813. 6: '6',
  15814. 7: '7',
  15815. 8: '8',
  15816. 9: '9',
  15817. 0: '0'
  15818. },
  15819. pluralForm = function pluralForm(n) {
  15820. return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5;
  15821. },
  15822. plurals = {
  15823. s: ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'],
  15824. m: ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'],
  15825. h: ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'],
  15826. d: ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'],
  15827. M: ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'],
  15828. y: ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام']
  15829. },
  15830. pluralize = function pluralize(u) {
  15831. return function (number, withoutSuffix, string, isFuture) {
  15832. var f = pluralForm(number),
  15833. str = plurals[u][pluralForm(number)];
  15834. if (f === 2) {
  15835. str = str[withoutSuffix ? 0 : 1];
  15836. }
  15837. return str.replace(/%d/i, number);
  15838. };
  15839. },
  15840. months = ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'];
  15841. var arLy = moment.defineLocale('ar-ly', {
  15842. months: months,
  15843. monthsShort: months,
  15844. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  15845. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  15846. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  15847. weekdaysParseExact: true,
  15848. longDateFormat: {
  15849. LT: 'HH:mm',
  15850. LTS: 'HH:mm:ss',
  15851. L: "D/\u200FM/\u200FYYYY",
  15852. LL: 'D MMMM YYYY',
  15853. LLL: 'D MMMM YYYY HH:mm',
  15854. LLLL: 'dddd D MMMM YYYY HH:mm'
  15855. },
  15856. meridiemParse: /ص|م/,
  15857. isPM: function isPM(input) {
  15858. return 'م' === input;
  15859. },
  15860. meridiem: function meridiem(hour, minute, isLower) {
  15861. if (hour < 12) {
  15862. return 'ص';
  15863. } else {
  15864. return 'م';
  15865. }
  15866. },
  15867. calendar: {
  15868. sameDay: '[اليوم عند الساعة] LT',
  15869. nextDay: '[غدًا عند الساعة] LT',
  15870. nextWeek: 'dddd [عند الساعة] LT',
  15871. lastDay: '[أمس عند الساعة] LT',
  15872. lastWeek: 'dddd [عند الساعة] LT',
  15873. sameElse: 'L'
  15874. },
  15875. relativeTime: {
  15876. future: 'بعد %s',
  15877. past: 'منذ %s',
  15878. s: pluralize('s'),
  15879. ss: pluralize('s'),
  15880. m: pluralize('m'),
  15881. mm: pluralize('m'),
  15882. h: pluralize('h'),
  15883. hh: pluralize('h'),
  15884. d: pluralize('d'),
  15885. dd: pluralize('d'),
  15886. M: pluralize('M'),
  15887. MM: pluralize('M'),
  15888. y: pluralize('y'),
  15889. yy: pluralize('y')
  15890. },
  15891. preparse: function preparse(string) {
  15892. return string.replace(/،/g, ',');
  15893. },
  15894. postformat: function postformat(string) {
  15895. return string.replace(/\d/g, function (match) {
  15896. return symbolMap[match];
  15897. }).replace(/,/g, '،');
  15898. },
  15899. week: {
  15900. dow: 6,
  15901. // Saturday is the first day of the week.
  15902. doy: 12 // The week that contains Jan 12th is the first week of the year.
  15903. }
  15904. });
  15905. return arLy;
  15906. });
  15907. /***/ }),
  15908. /* 60 */
  15909. /*!**************************************************************************!*\
  15910. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-ma.js ***!
  15911. \**************************************************************************/
  15912. /*! no static exports found */
  15913. /***/ (function(module, exports, __webpack_require__) {
  15914. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15915. //! moment.js locale configuration
  15916. //! locale : Arabic (Morocco) [ar-ma]
  15917. //! author : ElFadili Yassine : https://github.com/ElFadiliY
  15918. //! author : Abdel Said : https://github.com/abdelsaid
  15919. ;
  15920. (function (global, factory) {
  15921. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15922. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15923. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15924. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15925. })(this, function (moment) {
  15926. 'use strict';
  15927. //! moment.js locale configuration
  15928. var arMa = moment.defineLocale('ar-ma', {
  15929. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  15930. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'),
  15931. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  15932. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  15933. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  15934. weekdaysParseExact: true,
  15935. longDateFormat: {
  15936. LT: 'HH:mm',
  15937. LTS: 'HH:mm:ss',
  15938. L: 'DD/MM/YYYY',
  15939. LL: 'D MMMM YYYY',
  15940. LLL: 'D MMMM YYYY HH:mm',
  15941. LLLL: 'dddd D MMMM YYYY HH:mm'
  15942. },
  15943. calendar: {
  15944. sameDay: '[اليوم على الساعة] LT',
  15945. nextDay: '[غدا على الساعة] LT',
  15946. nextWeek: 'dddd [على الساعة] LT',
  15947. lastDay: '[أمس على الساعة] LT',
  15948. lastWeek: 'dddd [على الساعة] LT',
  15949. sameElse: 'L'
  15950. },
  15951. relativeTime: {
  15952. future: 'في %s',
  15953. past: 'منذ %s',
  15954. s: 'ثوان',
  15955. ss: '%d ثانية',
  15956. m: 'دقيقة',
  15957. mm: '%d دقائق',
  15958. h: 'ساعة',
  15959. hh: '%d ساعات',
  15960. d: 'يوم',
  15961. dd: '%d أيام',
  15962. M: 'شهر',
  15963. MM: '%d أشهر',
  15964. y: 'سنة',
  15965. yy: '%d سنوات'
  15966. },
  15967. week: {
  15968. dow: 1,
  15969. // Monday is the first day of the week.
  15970. doy: 4 // The week that contains Jan 4th is the first week of the year.
  15971. }
  15972. });
  15973. return arMa;
  15974. });
  15975. /***/ }),
  15976. /* 61 */
  15977. /*!**************************************************************************!*\
  15978. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-sa.js ***!
  15979. \**************************************************************************/
  15980. /*! no static exports found */
  15981. /***/ (function(module, exports, __webpack_require__) {
  15982. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  15983. //! moment.js locale configuration
  15984. //! locale : Arabic (Saudi Arabia) [ar-sa]
  15985. //! author : Suhail Alkowaileet : https://github.com/xsoh
  15986. ;
  15987. (function (global, factory) {
  15988. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  15989. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  15990. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  15991. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  15992. })(this, function (moment) {
  15993. 'use strict';
  15994. //! moment.js locale configuration
  15995. var symbolMap = {
  15996. 1: '١',
  15997. 2: '٢',
  15998. 3: '٣',
  15999. 4: '٤',
  16000. 5: '٥',
  16001. 6: '٦',
  16002. 7: '٧',
  16003. 8: '٨',
  16004. 9: '٩',
  16005. 0: '٠'
  16006. },
  16007. numberMap = {
  16008. '١': '1',
  16009. '٢': '2',
  16010. '٣': '3',
  16011. '٤': '4',
  16012. '٥': '5',
  16013. '٦': '6',
  16014. '٧': '7',
  16015. '٨': '8',
  16016. '٩': '9',
  16017. '٠': '0'
  16018. };
  16019. var arSa = moment.defineLocale('ar-sa', {
  16020. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  16021. monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  16022. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  16023. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  16024. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  16025. weekdaysParseExact: true,
  16026. longDateFormat: {
  16027. LT: 'HH:mm',
  16028. LTS: 'HH:mm:ss',
  16029. L: 'DD/MM/YYYY',
  16030. LL: 'D MMMM YYYY',
  16031. LLL: 'D MMMM YYYY HH:mm',
  16032. LLLL: 'dddd D MMMM YYYY HH:mm'
  16033. },
  16034. meridiemParse: /ص|م/,
  16035. isPM: function isPM(input) {
  16036. return 'م' === input;
  16037. },
  16038. meridiem: function meridiem(hour, minute, isLower) {
  16039. if (hour < 12) {
  16040. return 'ص';
  16041. } else {
  16042. return 'م';
  16043. }
  16044. },
  16045. calendar: {
  16046. sameDay: '[اليوم على الساعة] LT',
  16047. nextDay: '[غدا على الساعة] LT',
  16048. nextWeek: 'dddd [على الساعة] LT',
  16049. lastDay: '[أمس على الساعة] LT',
  16050. lastWeek: 'dddd [على الساعة] LT',
  16051. sameElse: 'L'
  16052. },
  16053. relativeTime: {
  16054. future: 'في %s',
  16055. past: 'منذ %s',
  16056. s: 'ثوان',
  16057. ss: '%d ثانية',
  16058. m: 'دقيقة',
  16059. mm: '%d دقائق',
  16060. h: 'ساعة',
  16061. hh: '%d ساعات',
  16062. d: 'يوم',
  16063. dd: '%d أيام',
  16064. M: 'شهر',
  16065. MM: '%d أشهر',
  16066. y: 'سنة',
  16067. yy: '%d سنوات'
  16068. },
  16069. preparse: function preparse(string) {
  16070. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  16071. return numberMap[match];
  16072. }).replace(/،/g, ',');
  16073. },
  16074. postformat: function postformat(string) {
  16075. return string.replace(/\d/g, function (match) {
  16076. return symbolMap[match];
  16077. }).replace(/,/g, '،');
  16078. },
  16079. week: {
  16080. dow: 0,
  16081. // Sunday is the first day of the week.
  16082. doy: 6 // The week that contains Jan 6th is the first week of the year.
  16083. }
  16084. });
  16085. return arSa;
  16086. });
  16087. /***/ }),
  16088. /* 62 */
  16089. /*!**************************************************************************!*\
  16090. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ar-tn.js ***!
  16091. \**************************************************************************/
  16092. /*! no static exports found */
  16093. /***/ (function(module, exports, __webpack_require__) {
  16094. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16095. //! moment.js locale configuration
  16096. //! locale : Arabic (Tunisia) [ar-tn]
  16097. //! author : Nader Toukabri : https://github.com/naderio
  16098. ;
  16099. (function (global, factory) {
  16100. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16101. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16102. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16103. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16104. })(this, function (moment) {
  16105. 'use strict';
  16106. //! moment.js locale configuration
  16107. var arTn = moment.defineLocale('ar-tn', {
  16108. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  16109. monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
  16110. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  16111. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  16112. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  16113. weekdaysParseExact: true,
  16114. longDateFormat: {
  16115. LT: 'HH:mm',
  16116. LTS: 'HH:mm:ss',
  16117. L: 'DD/MM/YYYY',
  16118. LL: 'D MMMM YYYY',
  16119. LLL: 'D MMMM YYYY HH:mm',
  16120. LLLL: 'dddd D MMMM YYYY HH:mm'
  16121. },
  16122. calendar: {
  16123. sameDay: '[اليوم على الساعة] LT',
  16124. nextDay: '[غدا على الساعة] LT',
  16125. nextWeek: 'dddd [على الساعة] LT',
  16126. lastDay: '[أمس على الساعة] LT',
  16127. lastWeek: 'dddd [على الساعة] LT',
  16128. sameElse: 'L'
  16129. },
  16130. relativeTime: {
  16131. future: 'في %s',
  16132. past: 'منذ %s',
  16133. s: 'ثوان',
  16134. ss: '%d ثانية',
  16135. m: 'دقيقة',
  16136. mm: '%d دقائق',
  16137. h: 'ساعة',
  16138. hh: '%d ساعات',
  16139. d: 'يوم',
  16140. dd: '%d أيام',
  16141. M: 'شهر',
  16142. MM: '%d أشهر',
  16143. y: 'سنة',
  16144. yy: '%d سنوات'
  16145. },
  16146. week: {
  16147. dow: 1,
  16148. // Monday is the first day of the week.
  16149. doy: 4 // The week that contains Jan 4th is the first week of the year.
  16150. }
  16151. });
  16152. return arTn;
  16153. });
  16154. /***/ }),
  16155. /* 63 */
  16156. /*!***********************************************************************!*\
  16157. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/az.js ***!
  16158. \***********************************************************************/
  16159. /*! no static exports found */
  16160. /***/ (function(module, exports, __webpack_require__) {
  16161. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16162. //! moment.js locale configuration
  16163. //! locale : Azerbaijani [az]
  16164. //! author : topchiyev : https://github.com/topchiyev
  16165. ;
  16166. (function (global, factory) {
  16167. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16168. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16169. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16170. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16171. })(this, function (moment) {
  16172. 'use strict';
  16173. //! moment.js locale configuration
  16174. var suffixes = {
  16175. 1: '-inci',
  16176. 5: '-inci',
  16177. 8: '-inci',
  16178. 70: '-inci',
  16179. 80: '-inci',
  16180. 2: '-nci',
  16181. 7: '-nci',
  16182. 20: '-nci',
  16183. 50: '-nci',
  16184. 3: '-üncü',
  16185. 4: '-üncü',
  16186. 100: '-üncü',
  16187. 6: '-ncı',
  16188. 9: '-uncu',
  16189. 10: '-uncu',
  16190. 30: '-uncu',
  16191. 60: '-ıncı',
  16192. 90: '-ıncı'
  16193. };
  16194. var az = moment.defineLocale('az', {
  16195. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'),
  16196. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  16197. weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'),
  16198. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  16199. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  16200. weekdaysParseExact: true,
  16201. longDateFormat: {
  16202. LT: 'HH:mm',
  16203. LTS: 'HH:mm:ss',
  16204. L: 'DD.MM.YYYY',
  16205. LL: 'D MMMM YYYY',
  16206. LLL: 'D MMMM YYYY HH:mm',
  16207. LLLL: 'dddd, D MMMM YYYY HH:mm'
  16208. },
  16209. calendar: {
  16210. sameDay: '[bugün saat] LT',
  16211. nextDay: '[sabah saat] LT',
  16212. nextWeek: '[gələn həftə] dddd [saat] LT',
  16213. lastDay: '[dünən] LT',
  16214. lastWeek: '[keçən həftə] dddd [saat] LT',
  16215. sameElse: 'L'
  16216. },
  16217. relativeTime: {
  16218. future: '%s sonra',
  16219. past: '%s əvvəl',
  16220. s: 'bir neçə saniyə',
  16221. ss: '%d saniyə',
  16222. m: 'bir dəqiqə',
  16223. mm: '%d dəqiqə',
  16224. h: 'bir saat',
  16225. hh: '%d saat',
  16226. d: 'bir gün',
  16227. dd: '%d gün',
  16228. M: 'bir ay',
  16229. MM: '%d ay',
  16230. y: 'bir il',
  16231. yy: '%d il'
  16232. },
  16233. meridiemParse: /gecə|səhər|gündüz|axşam/,
  16234. isPM: function isPM(input) {
  16235. return /^(gündüz|axşam)$/.test(input);
  16236. },
  16237. meridiem: function meridiem(hour, minute, isLower) {
  16238. if (hour < 4) {
  16239. return 'gecə';
  16240. } else if (hour < 12) {
  16241. return 'səhər';
  16242. } else if (hour < 17) {
  16243. return 'gündüz';
  16244. } else {
  16245. return 'axşam';
  16246. }
  16247. },
  16248. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  16249. ordinal: function ordinal(number) {
  16250. if (number === 0) {
  16251. // special case for zero
  16252. return number + '-ıncı';
  16253. }
  16254. var a = number % 10,
  16255. b = number % 100 - a,
  16256. c = number >= 100 ? 100 : null;
  16257. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  16258. },
  16259. week: {
  16260. dow: 1,
  16261. // Monday is the first day of the week.
  16262. doy: 7 // The week that contains Jan 7th is the first week of the year.
  16263. }
  16264. });
  16265. return az;
  16266. });
  16267. /***/ }),
  16268. /* 64 */
  16269. /*!***********************************************************************!*\
  16270. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/be.js ***!
  16271. \***********************************************************************/
  16272. /*! no static exports found */
  16273. /***/ (function(module, exports, __webpack_require__) {
  16274. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16275. //! moment.js locale configuration
  16276. //! locale : Belarusian [be]
  16277. //! author : Dmitry Demidov : https://github.com/demidov91
  16278. //! author: Praleska: http://praleska.pro/
  16279. //! Author : Menelion Elensúle : https://github.com/Oire
  16280. ;
  16281. (function (global, factory) {
  16282. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16283. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16284. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16285. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16286. })(this, function (moment) {
  16287. 'use strict';
  16288. //! moment.js locale configuration
  16289. function plural(word, num) {
  16290. var forms = word.split('_');
  16291. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  16292. }
  16293. function relativeTimeWithPlural(number, withoutSuffix, key) {
  16294. var format = {
  16295. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  16296. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  16297. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  16298. dd: 'дзень_дні_дзён',
  16299. MM: 'месяц_месяцы_месяцаў',
  16300. yy: 'год_гады_гадоў'
  16301. };
  16302. if (key === 'm') {
  16303. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  16304. } else if (key === 'h') {
  16305. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  16306. } else {
  16307. return number + ' ' + plural(format[key], +number);
  16308. }
  16309. }
  16310. var be = moment.defineLocale('be', {
  16311. months: {
  16312. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'),
  16313. standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_')
  16314. },
  16315. monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
  16316. weekdays: {
  16317. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'),
  16318. standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'),
  16319. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
  16320. },
  16321. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  16322. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  16323. longDateFormat: {
  16324. LT: 'HH:mm',
  16325. LTS: 'HH:mm:ss',
  16326. L: 'DD.MM.YYYY',
  16327. LL: 'D MMMM YYYY г.',
  16328. LLL: 'D MMMM YYYY г., HH:mm',
  16329. LLLL: 'dddd, D MMMM YYYY г., HH:mm'
  16330. },
  16331. calendar: {
  16332. sameDay: '[Сёння ў] LT',
  16333. nextDay: '[Заўтра ў] LT',
  16334. lastDay: '[Учора ў] LT',
  16335. nextWeek: function nextWeek() {
  16336. return '[У] dddd [ў] LT';
  16337. },
  16338. lastWeek: function lastWeek() {
  16339. switch (this.day()) {
  16340. case 0:
  16341. case 3:
  16342. case 5:
  16343. case 6:
  16344. return '[У мінулую] dddd [ў] LT';
  16345. case 1:
  16346. case 2:
  16347. case 4:
  16348. return '[У мінулы] dddd [ў] LT';
  16349. }
  16350. },
  16351. sameElse: 'L'
  16352. },
  16353. relativeTime: {
  16354. future: 'праз %s',
  16355. past: '%s таму',
  16356. s: 'некалькі секунд',
  16357. m: relativeTimeWithPlural,
  16358. mm: relativeTimeWithPlural,
  16359. h: relativeTimeWithPlural,
  16360. hh: relativeTimeWithPlural,
  16361. d: 'дзень',
  16362. dd: relativeTimeWithPlural,
  16363. M: 'месяц',
  16364. MM: relativeTimeWithPlural,
  16365. y: 'год',
  16366. yy: relativeTimeWithPlural
  16367. },
  16368. meridiemParse: /ночы|раніцы|дня|вечара/,
  16369. isPM: function isPM(input) {
  16370. return /^(дня|вечара)$/.test(input);
  16371. },
  16372. meridiem: function meridiem(hour, minute, isLower) {
  16373. if (hour < 4) {
  16374. return 'ночы';
  16375. } else if (hour < 12) {
  16376. return 'раніцы';
  16377. } else if (hour < 17) {
  16378. return 'дня';
  16379. } else {
  16380. return 'вечара';
  16381. }
  16382. },
  16383. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  16384. ordinal: function ordinal(number, period) {
  16385. switch (period) {
  16386. case 'M':
  16387. case 'd':
  16388. case 'DDD':
  16389. case 'w':
  16390. case 'W':
  16391. return (number % 10 === 2 || number % 10 === 3) && number % 100 !== 12 && number % 100 !== 13 ? number + '-і' : number + '-ы';
  16392. case 'D':
  16393. return number + '-га';
  16394. default:
  16395. return number;
  16396. }
  16397. },
  16398. week: {
  16399. dow: 1,
  16400. // Monday is the first day of the week.
  16401. doy: 7 // The week that contains Jan 7th is the first week of the year.
  16402. }
  16403. });
  16404. return be;
  16405. });
  16406. /***/ }),
  16407. /* 65 */
  16408. /*!***********************************************************************!*\
  16409. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bg.js ***!
  16410. \***********************************************************************/
  16411. /*! no static exports found */
  16412. /***/ (function(module, exports, __webpack_require__) {
  16413. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16414. //! moment.js locale configuration
  16415. //! locale : Bulgarian [bg]
  16416. //! author : Krasen Borisov : https://github.com/kraz
  16417. ;
  16418. (function (global, factory) {
  16419. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16420. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16421. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16422. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16423. })(this, function (moment) {
  16424. 'use strict';
  16425. //! moment.js locale configuration
  16426. var bg = moment.defineLocale('bg', {
  16427. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'),
  16428. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  16429. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'),
  16430. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  16431. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  16432. longDateFormat: {
  16433. LT: 'H:mm',
  16434. LTS: 'H:mm:ss',
  16435. L: 'D.MM.YYYY',
  16436. LL: 'D MMMM YYYY',
  16437. LLL: 'D MMMM YYYY H:mm',
  16438. LLLL: 'dddd, D MMMM YYYY H:mm'
  16439. },
  16440. calendar: {
  16441. sameDay: '[Днес в] LT',
  16442. nextDay: '[Утре в] LT',
  16443. nextWeek: 'dddd [в] LT',
  16444. lastDay: '[Вчера в] LT',
  16445. lastWeek: function lastWeek() {
  16446. switch (this.day()) {
  16447. case 0:
  16448. case 3:
  16449. case 6:
  16450. return '[Миналата] dddd [в] LT';
  16451. case 1:
  16452. case 2:
  16453. case 4:
  16454. case 5:
  16455. return '[Миналия] dddd [в] LT';
  16456. }
  16457. },
  16458. sameElse: 'L'
  16459. },
  16460. relativeTime: {
  16461. future: 'след %s',
  16462. past: 'преди %s',
  16463. s: 'няколко секунди',
  16464. ss: '%d секунди',
  16465. m: 'минута',
  16466. mm: '%d минути',
  16467. h: 'час',
  16468. hh: '%d часа',
  16469. d: 'ден',
  16470. dd: '%d дена',
  16471. w: 'седмица',
  16472. ww: '%d седмици',
  16473. M: 'месец',
  16474. MM: '%d месеца',
  16475. y: 'година',
  16476. yy: '%d години'
  16477. },
  16478. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  16479. ordinal: function ordinal(number) {
  16480. var lastDigit = number % 10,
  16481. last2Digits = number % 100;
  16482. if (number === 0) {
  16483. return number + '-ев';
  16484. } else if (last2Digits === 0) {
  16485. return number + '-ен';
  16486. } else if (last2Digits > 10 && last2Digits < 20) {
  16487. return number + '-ти';
  16488. } else if (lastDigit === 1) {
  16489. return number + '-ви';
  16490. } else if (lastDigit === 2) {
  16491. return number + '-ри';
  16492. } else if (lastDigit === 7 || lastDigit === 8) {
  16493. return number + '-ми';
  16494. } else {
  16495. return number + '-ти';
  16496. }
  16497. },
  16498. week: {
  16499. dow: 1,
  16500. // Monday is the first day of the week.
  16501. doy: 7 // The week that contains Jan 7th is the first week of the year.
  16502. }
  16503. });
  16504. return bg;
  16505. });
  16506. /***/ }),
  16507. /* 66 */
  16508. /*!***********************************************************************!*\
  16509. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bm.js ***!
  16510. \***********************************************************************/
  16511. /*! no static exports found */
  16512. /***/ (function(module, exports, __webpack_require__) {
  16513. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16514. //! moment.js locale configuration
  16515. //! locale : Bambara [bm]
  16516. //! author : Estelle Comment : https://github.com/estellecomment
  16517. ;
  16518. (function (global, factory) {
  16519. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16520. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16521. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16522. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16523. })(this, function (moment) {
  16524. 'use strict';
  16525. //! moment.js locale configuration
  16526. var bm = moment.defineLocale('bm', {
  16527. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'),
  16528. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  16529. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  16530. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  16531. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  16532. longDateFormat: {
  16533. LT: 'HH:mm',
  16534. LTS: 'HH:mm:ss',
  16535. L: 'DD/MM/YYYY',
  16536. LL: 'MMMM [tile] D [san] YYYY',
  16537. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  16538. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm'
  16539. },
  16540. calendar: {
  16541. sameDay: '[Bi lɛrɛ] LT',
  16542. nextDay: '[Sini lɛrɛ] LT',
  16543. nextWeek: 'dddd [don lɛrɛ] LT',
  16544. lastDay: '[Kunu lɛrɛ] LT',
  16545. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  16546. sameElse: 'L'
  16547. },
  16548. relativeTime: {
  16549. future: '%s kɔnɔ',
  16550. past: 'a bɛ %s bɔ',
  16551. s: 'sanga dama dama',
  16552. ss: 'sekondi %d',
  16553. m: 'miniti kelen',
  16554. mm: 'miniti %d',
  16555. h: 'lɛrɛ kelen',
  16556. hh: 'lɛrɛ %d',
  16557. d: 'tile kelen',
  16558. dd: 'tile %d',
  16559. M: 'kalo kelen',
  16560. MM: 'kalo %d',
  16561. y: 'san kelen',
  16562. yy: 'san %d'
  16563. },
  16564. week: {
  16565. dow: 1,
  16566. // Monday is the first day of the week.
  16567. doy: 4 // The week that contains Jan 4th is the first week of the year.
  16568. }
  16569. });
  16570. return bm;
  16571. });
  16572. /***/ }),
  16573. /* 67 */
  16574. /*!***********************************************************************!*\
  16575. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bn.js ***!
  16576. \***********************************************************************/
  16577. /*! no static exports found */
  16578. /***/ (function(module, exports, __webpack_require__) {
  16579. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16580. //! moment.js locale configuration
  16581. //! locale : Bengali [bn]
  16582. //! author : Kaushik Gandhi : https://github.com/kaushikgandhi
  16583. ;
  16584. (function (global, factory) {
  16585. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16586. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16587. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16588. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16589. })(this, function (moment) {
  16590. 'use strict';
  16591. //! moment.js locale configuration
  16592. var symbolMap = {
  16593. 1: '১',
  16594. 2: '২',
  16595. 3: '৩',
  16596. 4: '৪',
  16597. 5: '৫',
  16598. 6: '৬',
  16599. 7: '৭',
  16600. 8: '৮',
  16601. 9: '৯',
  16602. 0: '০'
  16603. },
  16604. numberMap = {
  16605. '১': '1',
  16606. '২': '2',
  16607. '৩': '3',
  16608. '৪': '4',
  16609. '৫': '5',
  16610. '৬': '6',
  16611. '৭': '7',
  16612. '৮': '8',
  16613. '৯': '9',
  16614. '০': '0'
  16615. };
  16616. var bn = moment.defineLocale('bn', {
  16617. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
  16618. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
  16619. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
  16620. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  16621. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  16622. longDateFormat: {
  16623. LT: 'A h:mm সময়',
  16624. LTS: 'A h:mm:ss সময়',
  16625. L: 'DD/MM/YYYY',
  16626. LL: 'D MMMM YYYY',
  16627. LLL: 'D MMMM YYYY, A h:mm সময়',
  16628. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'
  16629. },
  16630. calendar: {
  16631. sameDay: '[আজ] LT',
  16632. nextDay: '[আগামীকাল] LT',
  16633. nextWeek: 'dddd, LT',
  16634. lastDay: '[গতকাল] LT',
  16635. lastWeek: '[গত] dddd, LT',
  16636. sameElse: 'L'
  16637. },
  16638. relativeTime: {
  16639. future: '%s পরে',
  16640. past: '%s আগে',
  16641. s: 'কয়েক সেকেন্ড',
  16642. ss: '%d সেকেন্ড',
  16643. m: 'এক মিনিট',
  16644. mm: '%d মিনিট',
  16645. h: 'এক ঘন্টা',
  16646. hh: '%d ঘন্টা',
  16647. d: 'এক দিন',
  16648. dd: '%d দিন',
  16649. M: 'এক মাস',
  16650. MM: '%d মাস',
  16651. y: 'এক বছর',
  16652. yy: '%d বছর'
  16653. },
  16654. preparse: function preparse(string) {
  16655. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  16656. return numberMap[match];
  16657. });
  16658. },
  16659. postformat: function postformat(string) {
  16660. return string.replace(/\d/g, function (match) {
  16661. return symbolMap[match];
  16662. });
  16663. },
  16664. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  16665. meridiemHour: function meridiemHour(hour, meridiem) {
  16666. if (hour === 12) {
  16667. hour = 0;
  16668. }
  16669. if (meridiem === 'রাত' && hour >= 4 || meridiem === 'দুপুর' && hour < 5 || meridiem === 'বিকাল') {
  16670. return hour + 12;
  16671. } else {
  16672. return hour;
  16673. }
  16674. },
  16675. meridiem: function meridiem(hour, minute, isLower) {
  16676. if (hour < 4) {
  16677. return 'রাত';
  16678. } else if (hour < 10) {
  16679. return 'সকাল';
  16680. } else if (hour < 17) {
  16681. return 'দুপুর';
  16682. } else if (hour < 20) {
  16683. return 'বিকাল';
  16684. } else {
  16685. return 'রাত';
  16686. }
  16687. },
  16688. week: {
  16689. dow: 0,
  16690. // Sunday is the first day of the week.
  16691. doy: 6 // The week that contains Jan 6th is the first week of the year.
  16692. }
  16693. });
  16694. return bn;
  16695. });
  16696. /***/ }),
  16697. /* 68 */
  16698. /*!**************************************************************************!*\
  16699. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bn-bd.js ***!
  16700. \**************************************************************************/
  16701. /*! no static exports found */
  16702. /***/ (function(module, exports, __webpack_require__) {
  16703. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16704. //! moment.js locale configuration
  16705. //! locale : Bengali (Bangladesh) [bn-bd]
  16706. //! author : Asraf Hossain Patoary : https://github.com/ashwoolford
  16707. ;
  16708. (function (global, factory) {
  16709. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16710. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16711. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16712. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16713. })(this, function (moment) {
  16714. 'use strict';
  16715. //! moment.js locale configuration
  16716. var symbolMap = {
  16717. 1: '১',
  16718. 2: '২',
  16719. 3: '৩',
  16720. 4: '৪',
  16721. 5: '৫',
  16722. 6: '৬',
  16723. 7: '৭',
  16724. 8: '৮',
  16725. 9: '৯',
  16726. 0: '০'
  16727. },
  16728. numberMap = {
  16729. '১': '1',
  16730. '২': '2',
  16731. '৩': '3',
  16732. '৪': '4',
  16733. '৫': '5',
  16734. '৬': '6',
  16735. '৭': '7',
  16736. '৮': '8',
  16737. '৯': '9',
  16738. '০': '0'
  16739. };
  16740. var bnBd = moment.defineLocale('bn-bd', {
  16741. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'),
  16742. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'),
  16743. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'),
  16744. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  16745. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  16746. longDateFormat: {
  16747. LT: 'A h:mm সময়',
  16748. LTS: 'A h:mm:ss সময়',
  16749. L: 'DD/MM/YYYY',
  16750. LL: 'D MMMM YYYY',
  16751. LLL: 'D MMMM YYYY, A h:mm সময়',
  16752. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়'
  16753. },
  16754. calendar: {
  16755. sameDay: '[আজ] LT',
  16756. nextDay: '[আগামীকাল] LT',
  16757. nextWeek: 'dddd, LT',
  16758. lastDay: '[গতকাল] LT',
  16759. lastWeek: '[গত] dddd, LT',
  16760. sameElse: 'L'
  16761. },
  16762. relativeTime: {
  16763. future: '%s পরে',
  16764. past: '%s আগে',
  16765. s: 'কয়েক সেকেন্ড',
  16766. ss: '%d সেকেন্ড',
  16767. m: 'এক মিনিট',
  16768. mm: '%d মিনিট',
  16769. h: 'এক ঘন্টা',
  16770. hh: '%d ঘন্টা',
  16771. d: 'এক দিন',
  16772. dd: '%d দিন',
  16773. M: 'এক মাস',
  16774. MM: '%d মাস',
  16775. y: 'এক বছর',
  16776. yy: '%d বছর'
  16777. },
  16778. preparse: function preparse(string) {
  16779. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  16780. return numberMap[match];
  16781. });
  16782. },
  16783. postformat: function postformat(string) {
  16784. return string.replace(/\d/g, function (match) {
  16785. return symbolMap[match];
  16786. });
  16787. },
  16788. meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
  16789. meridiemHour: function meridiemHour(hour, meridiem) {
  16790. if (hour === 12) {
  16791. hour = 0;
  16792. }
  16793. if (meridiem === 'রাত') {
  16794. return hour < 4 ? hour : hour + 12;
  16795. } else if (meridiem === 'ভোর') {
  16796. return hour;
  16797. } else if (meridiem === 'সকাল') {
  16798. return hour;
  16799. } else if (meridiem === 'দুপুর') {
  16800. return hour >= 3 ? hour : hour + 12;
  16801. } else if (meridiem === 'বিকাল') {
  16802. return hour + 12;
  16803. } else if (meridiem === 'সন্ধ্যা') {
  16804. return hour + 12;
  16805. }
  16806. },
  16807. meridiem: function meridiem(hour, minute, isLower) {
  16808. if (hour < 4) {
  16809. return 'রাত';
  16810. } else if (hour < 6) {
  16811. return 'ভোর';
  16812. } else if (hour < 12) {
  16813. return 'সকাল';
  16814. } else if (hour < 15) {
  16815. return 'দুপুর';
  16816. } else if (hour < 18) {
  16817. return 'বিকাল';
  16818. } else if (hour < 20) {
  16819. return 'সন্ধ্যা';
  16820. } else {
  16821. return 'রাত';
  16822. }
  16823. },
  16824. week: {
  16825. dow: 0,
  16826. // Sunday is the first day of the week.
  16827. doy: 6 // The week that contains Jan 6th is the first week of the year.
  16828. }
  16829. });
  16830. return bnBd;
  16831. });
  16832. /***/ }),
  16833. /* 69 */
  16834. /*!***********************************************************************!*\
  16835. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bo.js ***!
  16836. \***********************************************************************/
  16837. /*! no static exports found */
  16838. /***/ (function(module, exports, __webpack_require__) {
  16839. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16840. //! moment.js locale configuration
  16841. //! locale : Tibetan [bo]
  16842. //! author : Thupten N. Chakrishar : https://github.com/vajradog
  16843. ;
  16844. (function (global, factory) {
  16845. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16846. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16847. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16848. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16849. })(this, function (moment) {
  16850. 'use strict';
  16851. //! moment.js locale configuration
  16852. var symbolMap = {
  16853. 1: '༡',
  16854. 2: '༢',
  16855. 3: '༣',
  16856. 4: '༤',
  16857. 5: '༥',
  16858. 6: '༦',
  16859. 7: '༧',
  16860. 8: '༨',
  16861. 9: '༩',
  16862. 0: '༠'
  16863. },
  16864. numberMap = {
  16865. '༡': '1',
  16866. '༢': '2',
  16867. '༣': '3',
  16868. '༤': '4',
  16869. '༥': '5',
  16870. '༦': '6',
  16871. '༧': '7',
  16872. '༨': '8',
  16873. '༩': '9',
  16874. '༠': '0'
  16875. };
  16876. var bo = moment.defineLocale('bo', {
  16877. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'),
  16878. monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split('_'),
  16879. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  16880. monthsParseExact: true,
  16881. weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'),
  16882. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'),
  16883. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  16884. longDateFormat: {
  16885. LT: 'A h:mm',
  16886. LTS: 'A h:mm:ss',
  16887. L: 'DD/MM/YYYY',
  16888. LL: 'D MMMM YYYY',
  16889. LLL: 'D MMMM YYYY, A h:mm',
  16890. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  16891. },
  16892. calendar: {
  16893. sameDay: '[དི་རིང] LT',
  16894. nextDay: '[སང་ཉིན] LT',
  16895. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  16896. lastDay: '[ཁ་སང] LT',
  16897. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  16898. sameElse: 'L'
  16899. },
  16900. relativeTime: {
  16901. future: '%s ལ་',
  16902. past: '%s སྔན་ལ',
  16903. s: 'ལམ་སང',
  16904. ss: '%d སྐར་ཆ།',
  16905. m: 'སྐར་མ་གཅིག',
  16906. mm: '%d སྐར་མ',
  16907. h: 'ཆུ་ཚོད་གཅིག',
  16908. hh: '%d ཆུ་ཚོད',
  16909. d: 'ཉིན་གཅིག',
  16910. dd: '%d ཉིན་',
  16911. M: 'ཟླ་བ་གཅིག',
  16912. MM: '%d ཟླ་བ',
  16913. y: 'ལོ་གཅིག',
  16914. yy: '%d ལོ'
  16915. },
  16916. preparse: function preparse(string) {
  16917. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  16918. return numberMap[match];
  16919. });
  16920. },
  16921. postformat: function postformat(string) {
  16922. return string.replace(/\d/g, function (match) {
  16923. return symbolMap[match];
  16924. });
  16925. },
  16926. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  16927. meridiemHour: function meridiemHour(hour, meridiem) {
  16928. if (hour === 12) {
  16929. hour = 0;
  16930. }
  16931. if (meridiem === 'མཚན་མོ' && hour >= 4 || meridiem === 'ཉིན་གུང' && hour < 5 || meridiem === 'དགོང་དག') {
  16932. return hour + 12;
  16933. } else {
  16934. return hour;
  16935. }
  16936. },
  16937. meridiem: function meridiem(hour, minute, isLower) {
  16938. if (hour < 4) {
  16939. return 'མཚན་མོ';
  16940. } else if (hour < 10) {
  16941. return 'ཞོགས་ཀས';
  16942. } else if (hour < 17) {
  16943. return 'ཉིན་གུང';
  16944. } else if (hour < 20) {
  16945. return 'དགོང་དག';
  16946. } else {
  16947. return 'མཚན་མོ';
  16948. }
  16949. },
  16950. week: {
  16951. dow: 0,
  16952. // Sunday is the first day of the week.
  16953. doy: 6 // The week that contains Jan 6th is the first week of the year.
  16954. }
  16955. });
  16956. return bo;
  16957. });
  16958. /***/ }),
  16959. /* 70 */
  16960. /*!***********************************************************************!*\
  16961. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/br.js ***!
  16962. \***********************************************************************/
  16963. /*! no static exports found */
  16964. /***/ (function(module, exports, __webpack_require__) {
  16965. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  16966. //! moment.js locale configuration
  16967. //! locale : Breton [br]
  16968. //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
  16969. ;
  16970. (function (global, factory) {
  16971. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  16972. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  16973. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  16974. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  16975. })(this, function (moment) {
  16976. 'use strict';
  16977. //! moment.js locale configuration
  16978. function relativeTimeWithMutation(number, withoutSuffix, key) {
  16979. var format = {
  16980. mm: 'munutenn',
  16981. MM: 'miz',
  16982. dd: 'devezh'
  16983. };
  16984. return number + ' ' + mutation(format[key], number);
  16985. }
  16986. function specialMutationForYears(number) {
  16987. switch (lastNumber(number)) {
  16988. case 1:
  16989. case 3:
  16990. case 4:
  16991. case 5:
  16992. case 9:
  16993. return number + ' bloaz';
  16994. default:
  16995. return number + ' vloaz';
  16996. }
  16997. }
  16998. function lastNumber(number) {
  16999. if (number > 9) {
  17000. return lastNumber(number % 10);
  17001. }
  17002. return number;
  17003. }
  17004. function mutation(text, number) {
  17005. if (number === 2) {
  17006. return softMutation(text);
  17007. }
  17008. return text;
  17009. }
  17010. function softMutation(text) {
  17011. var mutationTable = {
  17012. m: 'v',
  17013. b: 'v',
  17014. d: 'z'
  17015. };
  17016. if (mutationTable[text.charAt(0)] === undefined) {
  17017. return text;
  17018. }
  17019. return mutationTable[text.charAt(0)] + text.substring(1);
  17020. }
  17021. var monthsParse = [/^gen/i, /^c[ʼ\']hwe/i, /^meu/i, /^ebr/i, /^mae/i, /^(mez|eve)/i, /^gou/i, /^eos/i, /^gwe/i, /^her/i, /^du/i, /^ker/i],
  17022. monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  17023. monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  17024. monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  17025. fullWeekdaysParse = [/^sul/i, /^lun/i, /^meurzh/i, /^merc[ʼ\']her/i, /^yaou/i, /^gwener/i, /^sadorn/i],
  17026. shortWeekdaysParse = [/^Sul/i, /^Lun/i, /^Meu/i, /^Mer/i, /^Yao/i, /^Gwe/i, /^Sad/i],
  17027. minWeekdaysParse = [/^Su/i, /^Lu/i, /^Me([^r]|$)/i, /^Mer/i, /^Ya/i, /^Gw/i, /^Sa/i];
  17028. var br = moment.defineLocale('br', {
  17029. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'),
  17030. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  17031. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  17032. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  17033. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  17034. weekdaysParse: minWeekdaysParse,
  17035. fullWeekdaysParse: fullWeekdaysParse,
  17036. shortWeekdaysParse: shortWeekdaysParse,
  17037. minWeekdaysParse: minWeekdaysParse,
  17038. monthsRegex: monthsRegex,
  17039. monthsShortRegex: monthsRegex,
  17040. monthsStrictRegex: monthsStrictRegex,
  17041. monthsShortStrictRegex: monthsShortStrictRegex,
  17042. monthsParse: monthsParse,
  17043. longMonthsParse: monthsParse,
  17044. shortMonthsParse: monthsParse,
  17045. longDateFormat: {
  17046. LT: 'HH:mm',
  17047. LTS: 'HH:mm:ss',
  17048. L: 'DD/MM/YYYY',
  17049. LL: 'D [a viz] MMMM YYYY',
  17050. LLL: 'D [a viz] MMMM YYYY HH:mm',
  17051. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm'
  17052. },
  17053. calendar: {
  17054. sameDay: '[Hiziv da] LT',
  17055. nextDay: '[Warcʼhoazh da] LT',
  17056. nextWeek: 'dddd [da] LT',
  17057. lastDay: '[Decʼh da] LT',
  17058. lastWeek: 'dddd [paset da] LT',
  17059. sameElse: 'L'
  17060. },
  17061. relativeTime: {
  17062. future: 'a-benn %s',
  17063. past: '%s ʼzo',
  17064. s: 'un nebeud segondennoù',
  17065. ss: '%d eilenn',
  17066. m: 'ur vunutenn',
  17067. mm: relativeTimeWithMutation,
  17068. h: 'un eur',
  17069. hh: '%d eur',
  17070. d: 'un devezh',
  17071. dd: relativeTimeWithMutation,
  17072. M: 'ur miz',
  17073. MM: relativeTimeWithMutation,
  17074. y: 'ur bloaz',
  17075. yy: specialMutationForYears
  17076. },
  17077. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  17078. ordinal: function ordinal(number) {
  17079. var output = number === 1 ? 'añ' : 'vet';
  17080. return number + output;
  17081. },
  17082. week: {
  17083. dow: 1,
  17084. // Monday is the first day of the week.
  17085. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17086. },
  17087. meridiemParse: /a.m.|g.m./,
  17088. // goude merenn | a-raok merenn
  17089. isPM: function isPM(token) {
  17090. return token === 'g.m.';
  17091. },
  17092. meridiem: function meridiem(hour, minute, isLower) {
  17093. return hour < 12 ? 'a.m.' : 'g.m.';
  17094. }
  17095. });
  17096. return br;
  17097. });
  17098. /***/ }),
  17099. /* 71 */
  17100. /*!***********************************************************************!*\
  17101. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/bs.js ***!
  17102. \***********************************************************************/
  17103. /*! no static exports found */
  17104. /***/ (function(module, exports, __webpack_require__) {
  17105. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17106. //! moment.js locale configuration
  17107. //! locale : Bosnian [bs]
  17108. //! author : Nedim Cholich : https://github.com/frontyard
  17109. //! based on (hr) translation by Bojan Marković
  17110. ;
  17111. (function (global, factory) {
  17112. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17113. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17114. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17115. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17116. })(this, function (moment) {
  17117. 'use strict';
  17118. //! moment.js locale configuration
  17119. function translate(number, withoutSuffix, key) {
  17120. var result = number + ' ';
  17121. switch (key) {
  17122. case 'ss':
  17123. if (number === 1) {
  17124. result += 'sekunda';
  17125. } else if (number === 2 || number === 3 || number === 4) {
  17126. result += 'sekunde';
  17127. } else {
  17128. result += 'sekundi';
  17129. }
  17130. return result;
  17131. case 'm':
  17132. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  17133. case 'mm':
  17134. if (number === 1) {
  17135. result += 'minuta';
  17136. } else if (number === 2 || number === 3 || number === 4) {
  17137. result += 'minute';
  17138. } else {
  17139. result += 'minuta';
  17140. }
  17141. return result;
  17142. case 'h':
  17143. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  17144. case 'hh':
  17145. if (number === 1) {
  17146. result += 'sat';
  17147. } else if (number === 2 || number === 3 || number === 4) {
  17148. result += 'sata';
  17149. } else {
  17150. result += 'sati';
  17151. }
  17152. return result;
  17153. case 'dd':
  17154. if (number === 1) {
  17155. result += 'dan';
  17156. } else {
  17157. result += 'dana';
  17158. }
  17159. return result;
  17160. case 'MM':
  17161. if (number === 1) {
  17162. result += 'mjesec';
  17163. } else if (number === 2 || number === 3 || number === 4) {
  17164. result += 'mjeseca';
  17165. } else {
  17166. result += 'mjeseci';
  17167. }
  17168. return result;
  17169. case 'yy':
  17170. if (number === 1) {
  17171. result += 'godina';
  17172. } else if (number === 2 || number === 3 || number === 4) {
  17173. result += 'godine';
  17174. } else {
  17175. result += 'godina';
  17176. }
  17177. return result;
  17178. }
  17179. }
  17180. var bs = moment.defineLocale('bs', {
  17181. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
  17182. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  17183. monthsParseExact: true,
  17184. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  17185. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  17186. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  17187. weekdaysParseExact: true,
  17188. longDateFormat: {
  17189. LT: 'H:mm',
  17190. LTS: 'H:mm:ss',
  17191. L: 'DD.MM.YYYY',
  17192. LL: 'D. MMMM YYYY',
  17193. LLL: 'D. MMMM YYYY H:mm',
  17194. LLLL: 'dddd, D. MMMM YYYY H:mm'
  17195. },
  17196. calendar: {
  17197. sameDay: '[danas u] LT',
  17198. nextDay: '[sutra u] LT',
  17199. nextWeek: function nextWeek() {
  17200. switch (this.day()) {
  17201. case 0:
  17202. return '[u] [nedjelju] [u] LT';
  17203. case 3:
  17204. return '[u] [srijedu] [u] LT';
  17205. case 6:
  17206. return '[u] [subotu] [u] LT';
  17207. case 1:
  17208. case 2:
  17209. case 4:
  17210. case 5:
  17211. return '[u] dddd [u] LT';
  17212. }
  17213. },
  17214. lastDay: '[jučer u] LT',
  17215. lastWeek: function lastWeek() {
  17216. switch (this.day()) {
  17217. case 0:
  17218. case 3:
  17219. return '[prošlu] dddd [u] LT';
  17220. case 6:
  17221. return '[prošle] [subote] [u] LT';
  17222. case 1:
  17223. case 2:
  17224. case 4:
  17225. case 5:
  17226. return '[prošli] dddd [u] LT';
  17227. }
  17228. },
  17229. sameElse: 'L'
  17230. },
  17231. relativeTime: {
  17232. future: 'za %s',
  17233. past: 'prije %s',
  17234. s: 'par sekundi',
  17235. ss: translate,
  17236. m: translate,
  17237. mm: translate,
  17238. h: translate,
  17239. hh: translate,
  17240. d: 'dan',
  17241. dd: translate,
  17242. M: 'mjesec',
  17243. MM: translate,
  17244. y: 'godinu',
  17245. yy: translate
  17246. },
  17247. dayOfMonthOrdinalParse: /\d{1,2}\./,
  17248. ordinal: '%d.',
  17249. week: {
  17250. dow: 1,
  17251. // Monday is the first day of the week.
  17252. doy: 7 // The week that contains Jan 7th is the first week of the year.
  17253. }
  17254. });
  17255. return bs;
  17256. });
  17257. /***/ }),
  17258. /* 72 */
  17259. /*!***********************************************************************!*\
  17260. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ca.js ***!
  17261. \***********************************************************************/
  17262. /*! no static exports found */
  17263. /***/ (function(module, exports, __webpack_require__) {
  17264. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17265. //! moment.js locale configuration
  17266. //! locale : Catalan [ca]
  17267. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  17268. ;
  17269. (function (global, factory) {
  17270. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17271. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17272. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17273. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17274. })(this, function (moment) {
  17275. 'use strict';
  17276. //! moment.js locale configuration
  17277. var ca = moment.defineLocale('ca', {
  17278. months: {
  17279. standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'),
  17280. format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split('_'),
  17281. isFormat: /D[oD]?(\s)+MMMM/
  17282. },
  17283. monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split('_'),
  17284. monthsParseExact: true,
  17285. weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'),
  17286. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  17287. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  17288. weekdaysParseExact: true,
  17289. longDateFormat: {
  17290. LT: 'H:mm',
  17291. LTS: 'H:mm:ss',
  17292. L: 'DD/MM/YYYY',
  17293. LL: 'D MMMM [de] YYYY',
  17294. ll: 'D MMM YYYY',
  17295. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  17296. lll: 'D MMM YYYY, H:mm',
  17297. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  17298. llll: 'ddd D MMM YYYY, H:mm'
  17299. },
  17300. calendar: {
  17301. sameDay: function sameDay() {
  17302. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  17303. },
  17304. nextDay: function nextDay() {
  17305. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  17306. },
  17307. nextWeek: function nextWeek() {
  17308. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  17309. },
  17310. lastDay: function lastDay() {
  17311. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  17312. },
  17313. lastWeek: function lastWeek() {
  17314. return '[el] dddd [passat a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  17315. },
  17316. sameElse: 'L'
  17317. },
  17318. relativeTime: {
  17319. future: "d'aquí %s",
  17320. past: 'fa %s',
  17321. s: 'uns segons',
  17322. ss: '%d segons',
  17323. m: 'un minut',
  17324. mm: '%d minuts',
  17325. h: 'una hora',
  17326. hh: '%d hores',
  17327. d: 'un dia',
  17328. dd: '%d dies',
  17329. M: 'un mes',
  17330. MM: '%d mesos',
  17331. y: 'un any',
  17332. yy: '%d anys'
  17333. },
  17334. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  17335. ordinal: function ordinal(number, period) {
  17336. var output = number === 1 ? 'r' : number === 2 ? 'n' : number === 3 ? 'r' : number === 4 ? 't' : 'è';
  17337. if (period === 'w' || period === 'W') {
  17338. output = 'a';
  17339. }
  17340. return number + output;
  17341. },
  17342. week: {
  17343. dow: 1,
  17344. // Monday is the first day of the week.
  17345. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17346. }
  17347. });
  17348. return ca;
  17349. });
  17350. /***/ }),
  17351. /* 73 */
  17352. /*!***********************************************************************!*\
  17353. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/cs.js ***!
  17354. \***********************************************************************/
  17355. /*! no static exports found */
  17356. /***/ (function(module, exports, __webpack_require__) {
  17357. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17358. //! moment.js locale configuration
  17359. //! locale : Czech [cs]
  17360. //! author : petrbela : https://github.com/petrbela
  17361. ;
  17362. (function (global, factory) {
  17363. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17364. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17365. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17366. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17367. })(this, function (moment) {
  17368. 'use strict';
  17369. //! moment.js locale configuration
  17370. var months = {
  17371. format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'),
  17372. standalone: 'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split('_')
  17373. },
  17374. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  17375. monthsParse = [/^led/i, /^úno/i, /^bře/i, /^dub/i, /^kvě/i, /^(čvn|červen$|června)/i, /^(čvc|červenec|července)/i, /^srp/i, /^zář/i, /^říj/i, /^lis/i, /^pro/i],
  17376. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  17377. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  17378. monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
  17379. function plural(n) {
  17380. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  17381. }
  17382. function translate(number, withoutSuffix, key, isFuture) {
  17383. var result = number + ' ';
  17384. switch (key) {
  17385. case 's':
  17386. // a few seconds / in a few seconds / a few seconds ago
  17387. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  17388. case 'ss':
  17389. // 9 seconds / in 9 seconds / 9 seconds ago
  17390. if (withoutSuffix || isFuture) {
  17391. return result + (plural(number) ? 'sekundy' : 'sekund');
  17392. } else {
  17393. return result + 'sekundami';
  17394. }
  17395. case 'm':
  17396. // a minute / in a minute / a minute ago
  17397. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  17398. case 'mm':
  17399. // 9 minutes / in 9 minutes / 9 minutes ago
  17400. if (withoutSuffix || isFuture) {
  17401. return result + (plural(number) ? 'minuty' : 'minut');
  17402. } else {
  17403. return result + 'minutami';
  17404. }
  17405. case 'h':
  17406. // an hour / in an hour / an hour ago
  17407. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  17408. case 'hh':
  17409. // 9 hours / in 9 hours / 9 hours ago
  17410. if (withoutSuffix || isFuture) {
  17411. return result + (plural(number) ? 'hodiny' : 'hodin');
  17412. } else {
  17413. return result + 'hodinami';
  17414. }
  17415. case 'd':
  17416. // a day / in a day / a day ago
  17417. return withoutSuffix || isFuture ? 'den' : 'dnem';
  17418. case 'dd':
  17419. // 9 days / in 9 days / 9 days ago
  17420. if (withoutSuffix || isFuture) {
  17421. return result + (plural(number) ? 'dny' : 'dní');
  17422. } else {
  17423. return result + 'dny';
  17424. }
  17425. case 'M':
  17426. // a month / in a month / a month ago
  17427. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  17428. case 'MM':
  17429. // 9 months / in 9 months / 9 months ago
  17430. if (withoutSuffix || isFuture) {
  17431. return result + (plural(number) ? 'měsíce' : 'měsíců');
  17432. } else {
  17433. return result + 'měsíci';
  17434. }
  17435. case 'y':
  17436. // a year / in a year / a year ago
  17437. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  17438. case 'yy':
  17439. // 9 years / in 9 years / 9 years ago
  17440. if (withoutSuffix || isFuture) {
  17441. return result + (plural(number) ? 'roky' : 'let');
  17442. } else {
  17443. return result + 'lety';
  17444. }
  17445. }
  17446. }
  17447. var cs = moment.defineLocale('cs', {
  17448. months: months,
  17449. monthsShort: monthsShort,
  17450. monthsRegex: monthsRegex,
  17451. monthsShortRegex: monthsRegex,
  17452. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  17453. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  17454. monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
  17455. monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  17456. monthsParse: monthsParse,
  17457. longMonthsParse: monthsParse,
  17458. shortMonthsParse: monthsParse,
  17459. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  17460. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  17461. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  17462. longDateFormat: {
  17463. LT: 'H:mm',
  17464. LTS: 'H:mm:ss',
  17465. L: 'DD.MM.YYYY',
  17466. LL: 'D. MMMM YYYY',
  17467. LLL: 'D. MMMM YYYY H:mm',
  17468. LLLL: 'dddd D. MMMM YYYY H:mm',
  17469. l: 'D. M. YYYY'
  17470. },
  17471. calendar: {
  17472. sameDay: '[dnes v] LT',
  17473. nextDay: '[zítra v] LT',
  17474. nextWeek: function nextWeek() {
  17475. switch (this.day()) {
  17476. case 0:
  17477. return '[v neděli v] LT';
  17478. case 1:
  17479. case 2:
  17480. return '[v] dddd [v] LT';
  17481. case 3:
  17482. return '[ve středu v] LT';
  17483. case 4:
  17484. return '[ve čtvrtek v] LT';
  17485. case 5:
  17486. return '[v pátek v] LT';
  17487. case 6:
  17488. return '[v sobotu v] LT';
  17489. }
  17490. },
  17491. lastDay: '[včera v] LT',
  17492. lastWeek: function lastWeek() {
  17493. switch (this.day()) {
  17494. case 0:
  17495. return '[minulou neděli v] LT';
  17496. case 1:
  17497. case 2:
  17498. return '[minulé] dddd [v] LT';
  17499. case 3:
  17500. return '[minulou středu v] LT';
  17501. case 4:
  17502. case 5:
  17503. return '[minulý] dddd [v] LT';
  17504. case 6:
  17505. return '[minulou sobotu v] LT';
  17506. }
  17507. },
  17508. sameElse: 'L'
  17509. },
  17510. relativeTime: {
  17511. future: 'za %s',
  17512. past: 'před %s',
  17513. s: translate,
  17514. ss: translate,
  17515. m: translate,
  17516. mm: translate,
  17517. h: translate,
  17518. hh: translate,
  17519. d: translate,
  17520. dd: translate,
  17521. M: translate,
  17522. MM: translate,
  17523. y: translate,
  17524. yy: translate
  17525. },
  17526. dayOfMonthOrdinalParse: /\d{1,2}\./,
  17527. ordinal: '%d.',
  17528. week: {
  17529. dow: 1,
  17530. // Monday is the first day of the week.
  17531. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17532. }
  17533. });
  17534. return cs;
  17535. });
  17536. /***/ }),
  17537. /* 74 */
  17538. /*!***********************************************************************!*\
  17539. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/cv.js ***!
  17540. \***********************************************************************/
  17541. /*! no static exports found */
  17542. /***/ (function(module, exports, __webpack_require__) {
  17543. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17544. //! moment.js locale configuration
  17545. //! locale : Chuvash [cv]
  17546. //! author : Anatoly Mironov : https://github.com/mirontoli
  17547. ;
  17548. (function (global, factory) {
  17549. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17550. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17551. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17552. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17553. })(this, function (moment) {
  17554. 'use strict';
  17555. //! moment.js locale configuration
  17556. var cv = moment.defineLocale('cv', {
  17557. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'),
  17558. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  17559. weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'),
  17560. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  17561. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  17562. longDateFormat: {
  17563. LT: 'HH:mm',
  17564. LTS: 'HH:mm:ss',
  17565. L: 'DD-MM-YYYY',
  17566. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  17567. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  17568. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm'
  17569. },
  17570. calendar: {
  17571. sameDay: '[Паян] LT [сехетре]',
  17572. nextDay: '[Ыран] LT [сехетре]',
  17573. lastDay: '[Ӗнер] LT [сехетре]',
  17574. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  17575. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  17576. sameElse: 'L'
  17577. },
  17578. relativeTime: {
  17579. future: function future(output) {
  17580. var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран';
  17581. return output + affix;
  17582. },
  17583. past: '%s каялла',
  17584. s: 'пӗр-ик ҫеккунт',
  17585. ss: '%d ҫеккунт',
  17586. m: 'пӗр минут',
  17587. mm: '%d минут',
  17588. h: 'пӗр сехет',
  17589. hh: '%d сехет',
  17590. d: 'пӗр кун',
  17591. dd: '%d кун',
  17592. M: 'пӗр уйӑх',
  17593. MM: '%d уйӑх',
  17594. y: 'пӗр ҫул',
  17595. yy: '%d ҫул'
  17596. },
  17597. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  17598. ordinal: '%d-мӗш',
  17599. week: {
  17600. dow: 1,
  17601. // Monday is the first day of the week.
  17602. doy: 7 // The week that contains Jan 7th is the first week of the year.
  17603. }
  17604. });
  17605. return cv;
  17606. });
  17607. /***/ }),
  17608. /* 75 */
  17609. /*!***********************************************************************!*\
  17610. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/cy.js ***!
  17611. \***********************************************************************/
  17612. /*! no static exports found */
  17613. /***/ (function(module, exports, __webpack_require__) {
  17614. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17615. //! moment.js locale configuration
  17616. //! locale : Welsh [cy]
  17617. //! author : Robert Allen : https://github.com/robgallen
  17618. //! author : https://github.com/ryangreaves
  17619. ;
  17620. (function (global, factory) {
  17621. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17622. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17623. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17624. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17625. })(this, function (moment) {
  17626. 'use strict';
  17627. //! moment.js locale configuration
  17628. var cy = moment.defineLocale('cy', {
  17629. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'),
  17630. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'),
  17631. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'),
  17632. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  17633. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  17634. weekdaysParseExact: true,
  17635. // time formats are the same as en-gb
  17636. longDateFormat: {
  17637. LT: 'HH:mm',
  17638. LTS: 'HH:mm:ss',
  17639. L: 'DD/MM/YYYY',
  17640. LL: 'D MMMM YYYY',
  17641. LLL: 'D MMMM YYYY HH:mm',
  17642. LLLL: 'dddd, D MMMM YYYY HH:mm'
  17643. },
  17644. calendar: {
  17645. sameDay: '[Heddiw am] LT',
  17646. nextDay: '[Yfory am] LT',
  17647. nextWeek: 'dddd [am] LT',
  17648. lastDay: '[Ddoe am] LT',
  17649. lastWeek: 'dddd [diwethaf am] LT',
  17650. sameElse: 'L'
  17651. },
  17652. relativeTime: {
  17653. future: 'mewn %s',
  17654. past: '%s yn ôl',
  17655. s: 'ychydig eiliadau',
  17656. ss: '%d eiliad',
  17657. m: 'munud',
  17658. mm: '%d munud',
  17659. h: 'awr',
  17660. hh: '%d awr',
  17661. d: 'diwrnod',
  17662. dd: '%d diwrnod',
  17663. M: 'mis',
  17664. MM: '%d mis',
  17665. y: 'blwyddyn',
  17666. yy: '%d flynedd'
  17667. },
  17668. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  17669. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  17670. ordinal: function ordinal(number) {
  17671. var b = number,
  17672. output = '',
  17673. lookup = ['', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed',
  17674. // 1af to 10fed
  17675. 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed
  17676. ];
  17677. if (b > 20) {
  17678. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  17679. output = 'fed'; // not 30ain, 70ain or 90ain
  17680. } else {
  17681. output = 'ain';
  17682. }
  17683. } else if (b > 0) {
  17684. output = lookup[b];
  17685. }
  17686. return number + output;
  17687. },
  17688. week: {
  17689. dow: 1,
  17690. // Monday is the first day of the week.
  17691. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17692. }
  17693. });
  17694. return cy;
  17695. });
  17696. /***/ }),
  17697. /* 76 */
  17698. /*!***********************************************************************!*\
  17699. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/da.js ***!
  17700. \***********************************************************************/
  17701. /*! no static exports found */
  17702. /***/ (function(module, exports, __webpack_require__) {
  17703. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17704. //! moment.js locale configuration
  17705. //! locale : Danish [da]
  17706. //! author : Ulrik Nielsen : https://github.com/mrbase
  17707. ;
  17708. (function (global, factory) {
  17709. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17710. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17711. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17712. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17713. })(this, function (moment) {
  17714. 'use strict';
  17715. //! moment.js locale configuration
  17716. var da = moment.defineLocale('da', {
  17717. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
  17718. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  17719. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  17720. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  17721. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  17722. longDateFormat: {
  17723. LT: 'HH:mm',
  17724. LTS: 'HH:mm:ss',
  17725. L: 'DD.MM.YYYY',
  17726. LL: 'D. MMMM YYYY',
  17727. LLL: 'D. MMMM YYYY HH:mm',
  17728. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'
  17729. },
  17730. calendar: {
  17731. sameDay: '[i dag kl.] LT',
  17732. nextDay: '[i morgen kl.] LT',
  17733. nextWeek: 'på dddd [kl.] LT',
  17734. lastDay: '[i går kl.] LT',
  17735. lastWeek: '[i] dddd[s kl.] LT',
  17736. sameElse: 'L'
  17737. },
  17738. relativeTime: {
  17739. future: 'om %s',
  17740. past: '%s siden',
  17741. s: 'få sekunder',
  17742. ss: '%d sekunder',
  17743. m: 'et minut',
  17744. mm: '%d minutter',
  17745. h: 'en time',
  17746. hh: '%d timer',
  17747. d: 'en dag',
  17748. dd: '%d dage',
  17749. M: 'en måned',
  17750. MM: '%d måneder',
  17751. y: 'et år',
  17752. yy: '%d år'
  17753. },
  17754. dayOfMonthOrdinalParse: /\d{1,2}\./,
  17755. ordinal: '%d.',
  17756. week: {
  17757. dow: 1,
  17758. // Monday is the first day of the week.
  17759. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17760. }
  17761. });
  17762. return da;
  17763. });
  17764. /***/ }),
  17765. /* 77 */
  17766. /*!***********************************************************************!*\
  17767. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/de.js ***!
  17768. \***********************************************************************/
  17769. /*! no static exports found */
  17770. /***/ (function(module, exports, __webpack_require__) {
  17771. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17772. //! moment.js locale configuration
  17773. //! locale : German [de]
  17774. //! author : lluchs : https://github.com/lluchs
  17775. //! author: Menelion Elensúle: https://github.com/Oire
  17776. //! author : Mikolaj Dadela : https://github.com/mik01aj
  17777. ;
  17778. (function (global, factory) {
  17779. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17780. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17781. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17782. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17783. })(this, function (moment) {
  17784. 'use strict';
  17785. //! moment.js locale configuration
  17786. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  17787. var format = {
  17788. m: ['eine Minute', 'einer Minute'],
  17789. h: ['eine Stunde', 'einer Stunde'],
  17790. d: ['ein Tag', 'einem Tag'],
  17791. dd: [number + ' Tage', number + ' Tagen'],
  17792. w: ['eine Woche', 'einer Woche'],
  17793. M: ['ein Monat', 'einem Monat'],
  17794. MM: [number + ' Monate', number + ' Monaten'],
  17795. y: ['ein Jahr', 'einem Jahr'],
  17796. yy: [number + ' Jahre', number + ' Jahren']
  17797. };
  17798. return withoutSuffix ? format[key][0] : format[key][1];
  17799. }
  17800. var de = moment.defineLocale('de', {
  17801. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  17802. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  17803. monthsParseExact: true,
  17804. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  17805. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  17806. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  17807. weekdaysParseExact: true,
  17808. longDateFormat: {
  17809. LT: 'HH:mm',
  17810. LTS: 'HH:mm:ss',
  17811. L: 'DD.MM.YYYY',
  17812. LL: 'D. MMMM YYYY',
  17813. LLL: 'D. MMMM YYYY HH:mm',
  17814. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  17815. },
  17816. calendar: {
  17817. sameDay: '[heute um] LT [Uhr]',
  17818. sameElse: 'L',
  17819. nextDay: '[morgen um] LT [Uhr]',
  17820. nextWeek: 'dddd [um] LT [Uhr]',
  17821. lastDay: '[gestern um] LT [Uhr]',
  17822. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  17823. },
  17824. relativeTime: {
  17825. future: 'in %s',
  17826. past: 'vor %s',
  17827. s: 'ein paar Sekunden',
  17828. ss: '%d Sekunden',
  17829. m: processRelativeTime,
  17830. mm: '%d Minuten',
  17831. h: processRelativeTime,
  17832. hh: '%d Stunden',
  17833. d: processRelativeTime,
  17834. dd: processRelativeTime,
  17835. w: processRelativeTime,
  17836. ww: '%d Wochen',
  17837. M: processRelativeTime,
  17838. MM: processRelativeTime,
  17839. y: processRelativeTime,
  17840. yy: processRelativeTime
  17841. },
  17842. dayOfMonthOrdinalParse: /\d{1,2}\./,
  17843. ordinal: '%d.',
  17844. week: {
  17845. dow: 1,
  17846. // Monday is the first day of the week.
  17847. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17848. }
  17849. });
  17850. return de;
  17851. });
  17852. /***/ }),
  17853. /* 78 */
  17854. /*!**************************************************************************!*\
  17855. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/de-at.js ***!
  17856. \**************************************************************************/
  17857. /*! no static exports found */
  17858. /***/ (function(module, exports, __webpack_require__) {
  17859. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17860. //! moment.js locale configuration
  17861. //! locale : German (Austria) [de-at]
  17862. //! author : lluchs : https://github.com/lluchs
  17863. //! author: Menelion Elensúle: https://github.com/Oire
  17864. //! author : Martin Groller : https://github.com/MadMG
  17865. //! author : Mikolaj Dadela : https://github.com/mik01aj
  17866. ;
  17867. (function (global, factory) {
  17868. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17869. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17870. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17871. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17872. })(this, function (moment) {
  17873. 'use strict';
  17874. //! moment.js locale configuration
  17875. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  17876. var format = {
  17877. m: ['eine Minute', 'einer Minute'],
  17878. h: ['eine Stunde', 'einer Stunde'],
  17879. d: ['ein Tag', 'einem Tag'],
  17880. dd: [number + ' Tage', number + ' Tagen'],
  17881. w: ['eine Woche', 'einer Woche'],
  17882. M: ['ein Monat', 'einem Monat'],
  17883. MM: [number + ' Monate', number + ' Monaten'],
  17884. y: ['ein Jahr', 'einem Jahr'],
  17885. yy: [number + ' Jahre', number + ' Jahren']
  17886. };
  17887. return withoutSuffix ? format[key][0] : format[key][1];
  17888. }
  17889. var deAt = moment.defineLocale('de-at', {
  17890. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  17891. monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  17892. monthsParseExact: true,
  17893. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  17894. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  17895. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  17896. weekdaysParseExact: true,
  17897. longDateFormat: {
  17898. LT: 'HH:mm',
  17899. LTS: 'HH:mm:ss',
  17900. L: 'DD.MM.YYYY',
  17901. LL: 'D. MMMM YYYY',
  17902. LLL: 'D. MMMM YYYY HH:mm',
  17903. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  17904. },
  17905. calendar: {
  17906. sameDay: '[heute um] LT [Uhr]',
  17907. sameElse: 'L',
  17908. nextDay: '[morgen um] LT [Uhr]',
  17909. nextWeek: 'dddd [um] LT [Uhr]',
  17910. lastDay: '[gestern um] LT [Uhr]',
  17911. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  17912. },
  17913. relativeTime: {
  17914. future: 'in %s',
  17915. past: 'vor %s',
  17916. s: 'ein paar Sekunden',
  17917. ss: '%d Sekunden',
  17918. m: processRelativeTime,
  17919. mm: '%d Minuten',
  17920. h: processRelativeTime,
  17921. hh: '%d Stunden',
  17922. d: processRelativeTime,
  17923. dd: processRelativeTime,
  17924. w: processRelativeTime,
  17925. ww: '%d Wochen',
  17926. M: processRelativeTime,
  17927. MM: processRelativeTime,
  17928. y: processRelativeTime,
  17929. yy: processRelativeTime
  17930. },
  17931. dayOfMonthOrdinalParse: /\d{1,2}\./,
  17932. ordinal: '%d.',
  17933. week: {
  17934. dow: 1,
  17935. // Monday is the first day of the week.
  17936. doy: 4 // The week that contains Jan 4th is the first week of the year.
  17937. }
  17938. });
  17939. return deAt;
  17940. });
  17941. /***/ }),
  17942. /* 79 */
  17943. /*!**************************************************************************!*\
  17944. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/de-ch.js ***!
  17945. \**************************************************************************/
  17946. /*! no static exports found */
  17947. /***/ (function(module, exports, __webpack_require__) {
  17948. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  17949. //! moment.js locale configuration
  17950. //! locale : German (Switzerland) [de-ch]
  17951. //! author : sschueller : https://github.com/sschueller
  17952. ;
  17953. (function (global, factory) {
  17954. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  17955. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  17956. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  17957. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  17958. })(this, function (moment) {
  17959. 'use strict';
  17960. //! moment.js locale configuration
  17961. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  17962. var format = {
  17963. m: ['eine Minute', 'einer Minute'],
  17964. h: ['eine Stunde', 'einer Stunde'],
  17965. d: ['ein Tag', 'einem Tag'],
  17966. dd: [number + ' Tage', number + ' Tagen'],
  17967. w: ['eine Woche', 'einer Woche'],
  17968. M: ['ein Monat', 'einem Monat'],
  17969. MM: [number + ' Monate', number + ' Monaten'],
  17970. y: ['ein Jahr', 'einem Jahr'],
  17971. yy: [number + ' Jahre', number + ' Jahren']
  17972. };
  17973. return withoutSuffix ? format[key][0] : format[key][1];
  17974. }
  17975. var deCh = moment.defineLocale('de-ch', {
  17976. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  17977. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
  17978. monthsParseExact: true,
  17979. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
  17980. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  17981. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  17982. weekdaysParseExact: true,
  17983. longDateFormat: {
  17984. LT: 'HH:mm',
  17985. LTS: 'HH:mm:ss',
  17986. L: 'DD.MM.YYYY',
  17987. LL: 'D. MMMM YYYY',
  17988. LLL: 'D. MMMM YYYY HH:mm',
  17989. LLLL: 'dddd, D. MMMM YYYY HH:mm'
  17990. },
  17991. calendar: {
  17992. sameDay: '[heute um] LT [Uhr]',
  17993. sameElse: 'L',
  17994. nextDay: '[morgen um] LT [Uhr]',
  17995. nextWeek: 'dddd [um] LT [Uhr]',
  17996. lastDay: '[gestern um] LT [Uhr]',
  17997. lastWeek: '[letzten] dddd [um] LT [Uhr]'
  17998. },
  17999. relativeTime: {
  18000. future: 'in %s',
  18001. past: 'vor %s',
  18002. s: 'ein paar Sekunden',
  18003. ss: '%d Sekunden',
  18004. m: processRelativeTime,
  18005. mm: '%d Minuten',
  18006. h: processRelativeTime,
  18007. hh: '%d Stunden',
  18008. d: processRelativeTime,
  18009. dd: processRelativeTime,
  18010. w: processRelativeTime,
  18011. ww: '%d Wochen',
  18012. M: processRelativeTime,
  18013. MM: processRelativeTime,
  18014. y: processRelativeTime,
  18015. yy: processRelativeTime
  18016. },
  18017. dayOfMonthOrdinalParse: /\d{1,2}\./,
  18018. ordinal: '%d.',
  18019. week: {
  18020. dow: 1,
  18021. // Monday is the first day of the week.
  18022. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18023. }
  18024. });
  18025. return deCh;
  18026. });
  18027. /***/ }),
  18028. /* 80 */
  18029. /*!***********************************************************************!*\
  18030. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/dv.js ***!
  18031. \***********************************************************************/
  18032. /*! no static exports found */
  18033. /***/ (function(module, exports, __webpack_require__) {
  18034. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18035. //! moment.js locale configuration
  18036. //! locale : Maldivian [dv]
  18037. //! author : Jawish Hameed : https://github.com/jawish
  18038. ;
  18039. (function (global, factory) {
  18040. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18041. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18042. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18043. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18044. })(this, function (moment) {
  18045. 'use strict';
  18046. //! moment.js locale configuration
  18047. var months = ['ޖެނުއަރީ', 'ފެބްރުއަރީ', 'މާރިޗު', 'އޭޕްރީލު', 'މޭ', 'ޖޫން', 'ޖުލައި', 'އޯގަސްޓު', 'ސެޕްޓެމްބަރު', 'އޮކްޓޯބަރު', 'ނޮވެމްބަރު', 'ޑިސެމްބަރު'],
  18048. weekdays = ['އާދިއްތަ', 'ހޯމަ', 'އަންގާރަ', 'ބުދަ', 'ބުރާސްފަތި', 'ހުކުރު', 'ހޮނިހިރު'];
  18049. var dv = moment.defineLocale('dv', {
  18050. months: months,
  18051. monthsShort: months,
  18052. weekdays: weekdays,
  18053. weekdaysShort: weekdays,
  18054. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  18055. longDateFormat: {
  18056. LT: 'HH:mm',
  18057. LTS: 'HH:mm:ss',
  18058. L: 'D/M/YYYY',
  18059. LL: 'D MMMM YYYY',
  18060. LLL: 'D MMMM YYYY HH:mm',
  18061. LLLL: 'dddd D MMMM YYYY HH:mm'
  18062. },
  18063. meridiemParse: /މކ|މފ/,
  18064. isPM: function isPM(input) {
  18065. return 'މފ' === input;
  18066. },
  18067. meridiem: function meridiem(hour, minute, isLower) {
  18068. if (hour < 12) {
  18069. return 'މކ';
  18070. } else {
  18071. return 'މފ';
  18072. }
  18073. },
  18074. calendar: {
  18075. sameDay: '[މިއަދު] LT',
  18076. nextDay: '[މާދަމާ] LT',
  18077. nextWeek: 'dddd LT',
  18078. lastDay: '[އިއްޔެ] LT',
  18079. lastWeek: '[ފާއިތުވި] dddd LT',
  18080. sameElse: 'L'
  18081. },
  18082. relativeTime: {
  18083. future: 'ތެރޭގައި %s',
  18084. past: 'ކުރިން %s',
  18085. s: 'ސިކުންތުކޮޅެއް',
  18086. ss: 'd% ސިކުންތު',
  18087. m: 'މިނިޓެއް',
  18088. mm: 'މިނިޓު %d',
  18089. h: 'ގަޑިއިރެއް',
  18090. hh: 'ގަޑިއިރު %d',
  18091. d: 'ދުވަހެއް',
  18092. dd: 'ދުވަސް %d',
  18093. M: 'މަހެއް',
  18094. MM: 'މަސް %d',
  18095. y: 'އަހަރެއް',
  18096. yy: 'އަހަރު %d'
  18097. },
  18098. preparse: function preparse(string) {
  18099. return string.replace(/،/g, ',');
  18100. },
  18101. postformat: function postformat(string) {
  18102. return string.replace(/,/g, '،');
  18103. },
  18104. week: {
  18105. dow: 7,
  18106. // Sunday is the first day of the week.
  18107. doy: 12 // The week that contains Jan 12th is the first week of the year.
  18108. }
  18109. });
  18110. return dv;
  18111. });
  18112. /***/ }),
  18113. /* 81 */
  18114. /*!***********************************************************************!*\
  18115. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/el.js ***!
  18116. \***********************************************************************/
  18117. /*! no static exports found */
  18118. /***/ (function(module, exports, __webpack_require__) {
  18119. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18120. //! moment.js locale configuration
  18121. //! locale : Greek [el]
  18122. //! author : Aggelos Karalias : https://github.com/mehiel
  18123. ;
  18124. (function (global, factory) {
  18125. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18126. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18127. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18128. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18129. })(this, function (moment) {
  18130. 'use strict';
  18131. //! moment.js locale configuration
  18132. function isFunction(input) {
  18133. return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
  18134. }
  18135. var el = moment.defineLocale('el', {
  18136. monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
  18137. monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
  18138. months: function months(momentToFormat, format) {
  18139. if (!momentToFormat) {
  18140. return this._monthsNominativeEl;
  18141. } else if (typeof format === 'string' && /D/.test(format.substring(0, format.indexOf('MMMM')))) {
  18142. // if there is a day number before 'MMMM'
  18143. return this._monthsGenitiveEl[momentToFormat.month()];
  18144. } else {
  18145. return this._monthsNominativeEl[momentToFormat.month()];
  18146. }
  18147. },
  18148. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  18149. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
  18150. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  18151. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  18152. meridiem: function meridiem(hours, minutes, isLower) {
  18153. if (hours > 11) {
  18154. return isLower ? 'μμ' : 'ΜΜ';
  18155. } else {
  18156. return isLower ? 'πμ' : 'ΠΜ';
  18157. }
  18158. },
  18159. isPM: function isPM(input) {
  18160. return (input + '').toLowerCase()[0] === 'μ';
  18161. },
  18162. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  18163. longDateFormat: {
  18164. LT: 'h:mm A',
  18165. LTS: 'h:mm:ss A',
  18166. L: 'DD/MM/YYYY',
  18167. LL: 'D MMMM YYYY',
  18168. LLL: 'D MMMM YYYY h:mm A',
  18169. LLLL: 'dddd, D MMMM YYYY h:mm A'
  18170. },
  18171. calendarEl: {
  18172. sameDay: '[Σήμερα {}] LT',
  18173. nextDay: '[Αύριο {}] LT',
  18174. nextWeek: 'dddd [{}] LT',
  18175. lastDay: '[Χθες {}] LT',
  18176. lastWeek: function lastWeek() {
  18177. switch (this.day()) {
  18178. case 6:
  18179. return '[το προηγούμενο] dddd [{}] LT';
  18180. default:
  18181. return '[την προηγούμενη] dddd [{}] LT';
  18182. }
  18183. },
  18184. sameElse: 'L'
  18185. },
  18186. calendar: function calendar(key, mom) {
  18187. var output = this._calendarEl[key],
  18188. hours = mom && mom.hours();
  18189. if (isFunction(output)) {
  18190. output = output.apply(mom);
  18191. }
  18192. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  18193. },
  18194. relativeTime: {
  18195. future: 'σε %s',
  18196. past: '%s πριν',
  18197. s: 'λίγα δευτερόλεπτα',
  18198. ss: '%d δευτερόλεπτα',
  18199. m: 'ένα λεπτό',
  18200. mm: '%d λεπτά',
  18201. h: 'μία ώρα',
  18202. hh: '%d ώρες',
  18203. d: 'μία μέρα',
  18204. dd: '%d μέρες',
  18205. M: 'ένας μήνας',
  18206. MM: '%d μήνες',
  18207. y: 'ένας χρόνος',
  18208. yy: '%d χρόνια'
  18209. },
  18210. dayOfMonthOrdinalParse: /\d{1,2}η/,
  18211. ordinal: '%dη',
  18212. week: {
  18213. dow: 1,
  18214. // Monday is the first day of the week.
  18215. doy: 4 // The week that contains Jan 4st is the first week of the year.
  18216. }
  18217. });
  18218. return el;
  18219. });
  18220. /***/ }),
  18221. /* 82 */
  18222. /*!**************************************************************************!*\
  18223. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-au.js ***!
  18224. \**************************************************************************/
  18225. /*! no static exports found */
  18226. /***/ (function(module, exports, __webpack_require__) {
  18227. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18228. //! moment.js locale configuration
  18229. //! locale : English (Australia) [en-au]
  18230. //! author : Jared Morse : https://github.com/jarcoal
  18231. ;
  18232. (function (global, factory) {
  18233. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18234. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18235. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18236. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18237. })(this, function (moment) {
  18238. 'use strict';
  18239. //! moment.js locale configuration
  18240. var enAu = moment.defineLocale('en-au', {
  18241. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18242. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18243. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18244. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18245. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18246. longDateFormat: {
  18247. LT: 'h:mm A',
  18248. LTS: 'h:mm:ss A',
  18249. L: 'DD/MM/YYYY',
  18250. LL: 'D MMMM YYYY',
  18251. LLL: 'D MMMM YYYY h:mm A',
  18252. LLLL: 'dddd, D MMMM YYYY h:mm A'
  18253. },
  18254. calendar: {
  18255. sameDay: '[Today at] LT',
  18256. nextDay: '[Tomorrow at] LT',
  18257. nextWeek: 'dddd [at] LT',
  18258. lastDay: '[Yesterday at] LT',
  18259. lastWeek: '[Last] dddd [at] LT',
  18260. sameElse: 'L'
  18261. },
  18262. relativeTime: {
  18263. future: 'in %s',
  18264. past: '%s ago',
  18265. s: 'a few seconds',
  18266. ss: '%d seconds',
  18267. m: 'a minute',
  18268. mm: '%d minutes',
  18269. h: 'an hour',
  18270. hh: '%d hours',
  18271. d: 'a day',
  18272. dd: '%d days',
  18273. M: 'a month',
  18274. MM: '%d months',
  18275. y: 'a year',
  18276. yy: '%d years'
  18277. },
  18278. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18279. ordinal: function ordinal(number) {
  18280. var b = number % 10,
  18281. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18282. return number + output;
  18283. },
  18284. week: {
  18285. dow: 0,
  18286. // Sunday is the first day of the week.
  18287. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18288. }
  18289. });
  18290. return enAu;
  18291. });
  18292. /***/ }),
  18293. /* 83 */
  18294. /*!**************************************************************************!*\
  18295. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-ca.js ***!
  18296. \**************************************************************************/
  18297. /*! no static exports found */
  18298. /***/ (function(module, exports, __webpack_require__) {
  18299. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18300. //! moment.js locale configuration
  18301. //! locale : English (Canada) [en-ca]
  18302. //! author : Jonathan Abourbih : https://github.com/jonbca
  18303. ;
  18304. (function (global, factory) {
  18305. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18306. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18307. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18308. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18309. })(this, function (moment) {
  18310. 'use strict';
  18311. //! moment.js locale configuration
  18312. var enCa = moment.defineLocale('en-ca', {
  18313. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18314. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18315. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18316. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18317. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18318. longDateFormat: {
  18319. LT: 'h:mm A',
  18320. LTS: 'h:mm:ss A',
  18321. L: 'YYYY-MM-DD',
  18322. LL: 'MMMM D, YYYY',
  18323. LLL: 'MMMM D, YYYY h:mm A',
  18324. LLLL: 'dddd, MMMM D, YYYY h:mm A'
  18325. },
  18326. calendar: {
  18327. sameDay: '[Today at] LT',
  18328. nextDay: '[Tomorrow at] LT',
  18329. nextWeek: 'dddd [at] LT',
  18330. lastDay: '[Yesterday at] LT',
  18331. lastWeek: '[Last] dddd [at] LT',
  18332. sameElse: 'L'
  18333. },
  18334. relativeTime: {
  18335. future: 'in %s',
  18336. past: '%s ago',
  18337. s: 'a few seconds',
  18338. ss: '%d seconds',
  18339. m: 'a minute',
  18340. mm: '%d minutes',
  18341. h: 'an hour',
  18342. hh: '%d hours',
  18343. d: 'a day',
  18344. dd: '%d days',
  18345. M: 'a month',
  18346. MM: '%d months',
  18347. y: 'a year',
  18348. yy: '%d years'
  18349. },
  18350. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18351. ordinal: function ordinal(number) {
  18352. var b = number % 10,
  18353. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18354. return number + output;
  18355. }
  18356. });
  18357. return enCa;
  18358. });
  18359. /***/ }),
  18360. /* 84 */
  18361. /*!**************************************************************************!*\
  18362. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-gb.js ***!
  18363. \**************************************************************************/
  18364. /*! no static exports found */
  18365. /***/ (function(module, exports, __webpack_require__) {
  18366. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18367. //! moment.js locale configuration
  18368. //! locale : English (United Kingdom) [en-gb]
  18369. //! author : Chris Gedrim : https://github.com/chrisgedrim
  18370. ;
  18371. (function (global, factory) {
  18372. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18373. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18374. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18375. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18376. })(this, function (moment) {
  18377. 'use strict';
  18378. //! moment.js locale configuration
  18379. var enGb = moment.defineLocale('en-gb', {
  18380. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18381. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18382. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18383. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18384. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18385. longDateFormat: {
  18386. LT: 'HH:mm',
  18387. LTS: 'HH:mm:ss',
  18388. L: 'DD/MM/YYYY',
  18389. LL: 'D MMMM YYYY',
  18390. LLL: 'D MMMM YYYY HH:mm',
  18391. LLLL: 'dddd, D MMMM YYYY HH:mm'
  18392. },
  18393. calendar: {
  18394. sameDay: '[Today at] LT',
  18395. nextDay: '[Tomorrow at] LT',
  18396. nextWeek: 'dddd [at] LT',
  18397. lastDay: '[Yesterday at] LT',
  18398. lastWeek: '[Last] dddd [at] LT',
  18399. sameElse: 'L'
  18400. },
  18401. relativeTime: {
  18402. future: 'in %s',
  18403. past: '%s ago',
  18404. s: 'a few seconds',
  18405. ss: '%d seconds',
  18406. m: 'a minute',
  18407. mm: '%d minutes',
  18408. h: 'an hour',
  18409. hh: '%d hours',
  18410. d: 'a day',
  18411. dd: '%d days',
  18412. M: 'a month',
  18413. MM: '%d months',
  18414. y: 'a year',
  18415. yy: '%d years'
  18416. },
  18417. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18418. ordinal: function ordinal(number) {
  18419. var b = number % 10,
  18420. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18421. return number + output;
  18422. },
  18423. week: {
  18424. dow: 1,
  18425. // Monday is the first day of the week.
  18426. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18427. }
  18428. });
  18429. return enGb;
  18430. });
  18431. /***/ }),
  18432. /* 85 */
  18433. /*!**************************************************************************!*\
  18434. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-ie.js ***!
  18435. \**************************************************************************/
  18436. /*! no static exports found */
  18437. /***/ (function(module, exports, __webpack_require__) {
  18438. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18439. //! moment.js locale configuration
  18440. //! locale : English (Ireland) [en-ie]
  18441. //! author : Chris Cartlidge : https://github.com/chriscartlidge
  18442. ;
  18443. (function (global, factory) {
  18444. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18445. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18446. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18447. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18448. })(this, function (moment) {
  18449. 'use strict';
  18450. //! moment.js locale configuration
  18451. var enIe = moment.defineLocale('en-ie', {
  18452. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18453. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18454. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18455. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18456. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18457. longDateFormat: {
  18458. LT: 'HH:mm',
  18459. LTS: 'HH:mm:ss',
  18460. L: 'DD/MM/YYYY',
  18461. LL: 'D MMMM YYYY',
  18462. LLL: 'D MMMM YYYY HH:mm',
  18463. LLLL: 'dddd D MMMM YYYY HH:mm'
  18464. },
  18465. calendar: {
  18466. sameDay: '[Today at] LT',
  18467. nextDay: '[Tomorrow at] LT',
  18468. nextWeek: 'dddd [at] LT',
  18469. lastDay: '[Yesterday at] LT',
  18470. lastWeek: '[Last] dddd [at] LT',
  18471. sameElse: 'L'
  18472. },
  18473. relativeTime: {
  18474. future: 'in %s',
  18475. past: '%s ago',
  18476. s: 'a few seconds',
  18477. ss: '%d seconds',
  18478. m: 'a minute',
  18479. mm: '%d minutes',
  18480. h: 'an hour',
  18481. hh: '%d hours',
  18482. d: 'a day',
  18483. dd: '%d days',
  18484. M: 'a month',
  18485. MM: '%d months',
  18486. y: 'a year',
  18487. yy: '%d years'
  18488. },
  18489. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18490. ordinal: function ordinal(number) {
  18491. var b = number % 10,
  18492. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18493. return number + output;
  18494. },
  18495. week: {
  18496. dow: 1,
  18497. // Monday is the first day of the week.
  18498. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18499. }
  18500. });
  18501. return enIe;
  18502. });
  18503. /***/ }),
  18504. /* 86 */
  18505. /*!**************************************************************************!*\
  18506. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-il.js ***!
  18507. \**************************************************************************/
  18508. /*! no static exports found */
  18509. /***/ (function(module, exports, __webpack_require__) {
  18510. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18511. //! moment.js locale configuration
  18512. //! locale : English (Israel) [en-il]
  18513. //! author : Chris Gedrim : https://github.com/chrisgedrim
  18514. ;
  18515. (function (global, factory) {
  18516. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18517. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18518. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18519. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18520. })(this, function (moment) {
  18521. 'use strict';
  18522. //! moment.js locale configuration
  18523. var enIl = moment.defineLocale('en-il', {
  18524. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18525. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18526. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18527. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18528. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18529. longDateFormat: {
  18530. LT: 'HH:mm',
  18531. LTS: 'HH:mm:ss',
  18532. L: 'DD/MM/YYYY',
  18533. LL: 'D MMMM YYYY',
  18534. LLL: 'D MMMM YYYY HH:mm',
  18535. LLLL: 'dddd, D MMMM YYYY HH:mm'
  18536. },
  18537. calendar: {
  18538. sameDay: '[Today at] LT',
  18539. nextDay: '[Tomorrow at] LT',
  18540. nextWeek: 'dddd [at] LT',
  18541. lastDay: '[Yesterday at] LT',
  18542. lastWeek: '[Last] dddd [at] LT',
  18543. sameElse: 'L'
  18544. },
  18545. relativeTime: {
  18546. future: 'in %s',
  18547. past: '%s ago',
  18548. s: 'a few seconds',
  18549. ss: '%d seconds',
  18550. m: 'a minute',
  18551. mm: '%d minutes',
  18552. h: 'an hour',
  18553. hh: '%d hours',
  18554. d: 'a day',
  18555. dd: '%d days',
  18556. M: 'a month',
  18557. MM: '%d months',
  18558. y: 'a year',
  18559. yy: '%d years'
  18560. },
  18561. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18562. ordinal: function ordinal(number) {
  18563. var b = number % 10,
  18564. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18565. return number + output;
  18566. }
  18567. });
  18568. return enIl;
  18569. });
  18570. /***/ }),
  18571. /* 87 */
  18572. /*!**************************************************************************!*\
  18573. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-in.js ***!
  18574. \**************************************************************************/
  18575. /*! no static exports found */
  18576. /***/ (function(module, exports, __webpack_require__) {
  18577. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18578. //! moment.js locale configuration
  18579. //! locale : English (India) [en-in]
  18580. //! author : Jatin Agrawal : https://github.com/jatinag22
  18581. ;
  18582. (function (global, factory) {
  18583. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18584. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18585. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18586. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18587. })(this, function (moment) {
  18588. 'use strict';
  18589. //! moment.js locale configuration
  18590. var enIn = moment.defineLocale('en-in', {
  18591. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18592. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18593. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18594. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18595. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18596. longDateFormat: {
  18597. LT: 'h:mm A',
  18598. LTS: 'h:mm:ss A',
  18599. L: 'DD/MM/YYYY',
  18600. LL: 'D MMMM YYYY',
  18601. LLL: 'D MMMM YYYY h:mm A',
  18602. LLLL: 'dddd, D MMMM YYYY h:mm A'
  18603. },
  18604. calendar: {
  18605. sameDay: '[Today at] LT',
  18606. nextDay: '[Tomorrow at] LT',
  18607. nextWeek: 'dddd [at] LT',
  18608. lastDay: '[Yesterday at] LT',
  18609. lastWeek: '[Last] dddd [at] LT',
  18610. sameElse: 'L'
  18611. },
  18612. relativeTime: {
  18613. future: 'in %s',
  18614. past: '%s ago',
  18615. s: 'a few seconds',
  18616. ss: '%d seconds',
  18617. m: 'a minute',
  18618. mm: '%d minutes',
  18619. h: 'an hour',
  18620. hh: '%d hours',
  18621. d: 'a day',
  18622. dd: '%d days',
  18623. M: 'a month',
  18624. MM: '%d months',
  18625. y: 'a year',
  18626. yy: '%d years'
  18627. },
  18628. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18629. ordinal: function ordinal(number) {
  18630. var b = number % 10,
  18631. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18632. return number + output;
  18633. },
  18634. week: {
  18635. dow: 0,
  18636. // Sunday is the first day of the week.
  18637. doy: 6 // The week that contains Jan 1st is the first week of the year.
  18638. }
  18639. });
  18640. return enIn;
  18641. });
  18642. /***/ }),
  18643. /* 88 */
  18644. /*!**************************************************************************!*\
  18645. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-nz.js ***!
  18646. \**************************************************************************/
  18647. /*! no static exports found */
  18648. /***/ (function(module, exports, __webpack_require__) {
  18649. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18650. //! moment.js locale configuration
  18651. //! locale : English (New Zealand) [en-nz]
  18652. //! author : Luke McGregor : https://github.com/lukemcgregor
  18653. ;
  18654. (function (global, factory) {
  18655. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18656. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18657. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18658. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18659. })(this, function (moment) {
  18660. 'use strict';
  18661. //! moment.js locale configuration
  18662. var enNz = moment.defineLocale('en-nz', {
  18663. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18664. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18665. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18666. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18667. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18668. longDateFormat: {
  18669. LT: 'h:mm A',
  18670. LTS: 'h:mm:ss A',
  18671. L: 'DD/MM/YYYY',
  18672. LL: 'D MMMM YYYY',
  18673. LLL: 'D MMMM YYYY h:mm A',
  18674. LLLL: 'dddd, D MMMM YYYY h:mm A'
  18675. },
  18676. calendar: {
  18677. sameDay: '[Today at] LT',
  18678. nextDay: '[Tomorrow at] LT',
  18679. nextWeek: 'dddd [at] LT',
  18680. lastDay: '[Yesterday at] LT',
  18681. lastWeek: '[Last] dddd [at] LT',
  18682. sameElse: 'L'
  18683. },
  18684. relativeTime: {
  18685. future: 'in %s',
  18686. past: '%s ago',
  18687. s: 'a few seconds',
  18688. ss: '%d seconds',
  18689. m: 'a minute',
  18690. mm: '%d minutes',
  18691. h: 'an hour',
  18692. hh: '%d hours',
  18693. d: 'a day',
  18694. dd: '%d days',
  18695. M: 'a month',
  18696. MM: '%d months',
  18697. y: 'a year',
  18698. yy: '%d years'
  18699. },
  18700. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18701. ordinal: function ordinal(number) {
  18702. var b = number % 10,
  18703. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18704. return number + output;
  18705. },
  18706. week: {
  18707. dow: 1,
  18708. // Monday is the first day of the week.
  18709. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18710. }
  18711. });
  18712. return enNz;
  18713. });
  18714. /***/ }),
  18715. /* 89 */
  18716. /*!**************************************************************************!*\
  18717. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/en-sg.js ***!
  18718. \**************************************************************************/
  18719. /*! no static exports found */
  18720. /***/ (function(module, exports, __webpack_require__) {
  18721. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18722. //! moment.js locale configuration
  18723. //! locale : English (Singapore) [en-sg]
  18724. //! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
  18725. ;
  18726. (function (global, factory) {
  18727. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18728. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18729. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18730. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18731. })(this, function (moment) {
  18732. 'use strict';
  18733. //! moment.js locale configuration
  18734. var enSg = moment.defineLocale('en-sg', {
  18735. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
  18736. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  18737. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  18738. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  18739. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  18740. longDateFormat: {
  18741. LT: 'HH:mm',
  18742. LTS: 'HH:mm:ss',
  18743. L: 'DD/MM/YYYY',
  18744. LL: 'D MMMM YYYY',
  18745. LLL: 'D MMMM YYYY HH:mm',
  18746. LLLL: 'dddd, D MMMM YYYY HH:mm'
  18747. },
  18748. calendar: {
  18749. sameDay: '[Today at] LT',
  18750. nextDay: '[Tomorrow at] LT',
  18751. nextWeek: 'dddd [at] LT',
  18752. lastDay: '[Yesterday at] LT',
  18753. lastWeek: '[Last] dddd [at] LT',
  18754. sameElse: 'L'
  18755. },
  18756. relativeTime: {
  18757. future: 'in %s',
  18758. past: '%s ago',
  18759. s: 'a few seconds',
  18760. ss: '%d seconds',
  18761. m: 'a minute',
  18762. mm: '%d minutes',
  18763. h: 'an hour',
  18764. hh: '%d hours',
  18765. d: 'a day',
  18766. dd: '%d days',
  18767. M: 'a month',
  18768. MM: '%d months',
  18769. y: 'a year',
  18770. yy: '%d years'
  18771. },
  18772. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  18773. ordinal: function ordinal(number) {
  18774. var b = number % 10,
  18775. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  18776. return number + output;
  18777. },
  18778. week: {
  18779. dow: 1,
  18780. // Monday is the first day of the week.
  18781. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18782. }
  18783. });
  18784. return enSg;
  18785. });
  18786. /***/ }),
  18787. /* 90 */
  18788. /*!***********************************************************************!*\
  18789. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/eo.js ***!
  18790. \***********************************************************************/
  18791. /*! no static exports found */
  18792. /***/ (function(module, exports, __webpack_require__) {
  18793. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18794. //! moment.js locale configuration
  18795. //! locale : Esperanto [eo]
  18796. //! author : Colin Dean : https://github.com/colindean
  18797. //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
  18798. //! comment : miestasmia corrected the translation by colindean
  18799. //! comment : Vivakvo corrected the translation by colindean and miestasmia
  18800. ;
  18801. (function (global, factory) {
  18802. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18803. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18804. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18805. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18806. })(this, function (moment) {
  18807. 'use strict';
  18808. //! moment.js locale configuration
  18809. var eo = moment.defineLocale('eo', {
  18810. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'),
  18811. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  18812. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  18813. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  18814. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  18815. longDateFormat: {
  18816. LT: 'HH:mm',
  18817. LTS: 'HH:mm:ss',
  18818. L: 'YYYY-MM-DD',
  18819. LL: '[la] D[-an de] MMMM, YYYY',
  18820. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  18821. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  18822. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm'
  18823. },
  18824. meridiemParse: /[ap]\.t\.m/i,
  18825. isPM: function isPM(input) {
  18826. return input.charAt(0).toLowerCase() === 'p';
  18827. },
  18828. meridiem: function meridiem(hours, minutes, isLower) {
  18829. if (hours > 11) {
  18830. return isLower ? 'p.t.m.' : 'P.T.M.';
  18831. } else {
  18832. return isLower ? 'a.t.m.' : 'A.T.M.';
  18833. }
  18834. },
  18835. calendar: {
  18836. sameDay: '[Hodiaŭ je] LT',
  18837. nextDay: '[Morgaŭ je] LT',
  18838. nextWeek: 'dddd[n je] LT',
  18839. lastDay: '[Hieraŭ je] LT',
  18840. lastWeek: '[pasintan] dddd[n je] LT',
  18841. sameElse: 'L'
  18842. },
  18843. relativeTime: {
  18844. future: 'post %s',
  18845. past: 'antaŭ %s',
  18846. s: 'kelkaj sekundoj',
  18847. ss: '%d sekundoj',
  18848. m: 'unu minuto',
  18849. mm: '%d minutoj',
  18850. h: 'unu horo',
  18851. hh: '%d horoj',
  18852. d: 'unu tago',
  18853. //ne 'diurno', ĉar estas uzita por proksimumo
  18854. dd: '%d tagoj',
  18855. M: 'unu monato',
  18856. MM: '%d monatoj',
  18857. y: 'unu jaro',
  18858. yy: '%d jaroj'
  18859. },
  18860. dayOfMonthOrdinalParse: /\d{1,2}a/,
  18861. ordinal: '%da',
  18862. week: {
  18863. dow: 1,
  18864. // Monday is the first day of the week.
  18865. doy: 7 // The week that contains Jan 7th is the first week of the year.
  18866. }
  18867. });
  18868. return eo;
  18869. });
  18870. /***/ }),
  18871. /* 91 */
  18872. /*!***********************************************************************!*\
  18873. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/es.js ***!
  18874. \***********************************************************************/
  18875. /*! no static exports found */
  18876. /***/ (function(module, exports, __webpack_require__) {
  18877. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18878. //! moment.js locale configuration
  18879. //! locale : Spanish [es]
  18880. //! author : Julio Napurí : https://github.com/julionc
  18881. ;
  18882. (function (global, factory) {
  18883. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18884. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18885. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18886. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18887. })(this, function (moment) {
  18888. 'use strict';
  18889. //! moment.js locale configuration
  18890. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  18891. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  18892. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  18893. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  18894. var es = moment.defineLocale('es', {
  18895. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  18896. monthsShort: function monthsShort(m, format) {
  18897. if (!m) {
  18898. return monthsShortDot;
  18899. } else if (/-MMM-/.test(format)) {
  18900. return _monthsShort[m.month()];
  18901. } else {
  18902. return monthsShortDot[m.month()];
  18903. }
  18904. },
  18905. monthsRegex: monthsRegex,
  18906. monthsShortRegex: monthsRegex,
  18907. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  18908. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  18909. monthsParse: monthsParse,
  18910. longMonthsParse: monthsParse,
  18911. shortMonthsParse: monthsParse,
  18912. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  18913. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  18914. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  18915. weekdaysParseExact: true,
  18916. longDateFormat: {
  18917. LT: 'H:mm',
  18918. LTS: 'H:mm:ss',
  18919. L: 'DD/MM/YYYY',
  18920. LL: 'D [de] MMMM [de] YYYY',
  18921. LLL: 'D [de] MMMM [de] YYYY H:mm',
  18922. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  18923. },
  18924. calendar: {
  18925. sameDay: function sameDay() {
  18926. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  18927. },
  18928. nextDay: function nextDay() {
  18929. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  18930. },
  18931. nextWeek: function nextWeek() {
  18932. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  18933. },
  18934. lastDay: function lastDay() {
  18935. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  18936. },
  18937. lastWeek: function lastWeek() {
  18938. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  18939. },
  18940. sameElse: 'L'
  18941. },
  18942. relativeTime: {
  18943. future: 'en %s',
  18944. past: 'hace %s',
  18945. s: 'unos segundos',
  18946. ss: '%d segundos',
  18947. m: 'un minuto',
  18948. mm: '%d minutos',
  18949. h: 'una hora',
  18950. hh: '%d horas',
  18951. d: 'un día',
  18952. dd: '%d días',
  18953. w: 'una semana',
  18954. ww: '%d semanas',
  18955. M: 'un mes',
  18956. MM: '%d meses',
  18957. y: 'un año',
  18958. yy: '%d años'
  18959. },
  18960. dayOfMonthOrdinalParse: /\d{1,2}º/,
  18961. ordinal: '%dº',
  18962. week: {
  18963. dow: 1,
  18964. // Monday is the first day of the week.
  18965. doy: 4 // The week that contains Jan 4th is the first week of the year.
  18966. },
  18967. invalidDate: 'Fecha inválida'
  18968. });
  18969. return es;
  18970. });
  18971. /***/ }),
  18972. /* 92 */
  18973. /*!**************************************************************************!*\
  18974. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/es-do.js ***!
  18975. \**************************************************************************/
  18976. /*! no static exports found */
  18977. /***/ (function(module, exports, __webpack_require__) {
  18978. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  18979. //! moment.js locale configuration
  18980. //! locale : Spanish (Dominican Republic) [es-do]
  18981. ;
  18982. (function (global, factory) {
  18983. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  18984. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  18985. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  18986. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  18987. })(this, function (moment) {
  18988. 'use strict';
  18989. //! moment.js locale configuration
  18990. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  18991. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  18992. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  18993. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  18994. var esDo = moment.defineLocale('es-do', {
  18995. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  18996. monthsShort: function monthsShort(m, format) {
  18997. if (!m) {
  18998. return monthsShortDot;
  18999. } else if (/-MMM-/.test(format)) {
  19000. return _monthsShort[m.month()];
  19001. } else {
  19002. return monthsShortDot[m.month()];
  19003. }
  19004. },
  19005. monthsRegex: monthsRegex,
  19006. monthsShortRegex: monthsRegex,
  19007. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  19008. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  19009. monthsParse: monthsParse,
  19010. longMonthsParse: monthsParse,
  19011. shortMonthsParse: monthsParse,
  19012. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  19013. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  19014. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  19015. weekdaysParseExact: true,
  19016. longDateFormat: {
  19017. LT: 'h:mm A',
  19018. LTS: 'h:mm:ss A',
  19019. L: 'DD/MM/YYYY',
  19020. LL: 'D [de] MMMM [de] YYYY',
  19021. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  19022. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
  19023. },
  19024. calendar: {
  19025. sameDay: function sameDay() {
  19026. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19027. },
  19028. nextDay: function nextDay() {
  19029. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19030. },
  19031. nextWeek: function nextWeek() {
  19032. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19033. },
  19034. lastDay: function lastDay() {
  19035. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19036. },
  19037. lastWeek: function lastWeek() {
  19038. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19039. },
  19040. sameElse: 'L'
  19041. },
  19042. relativeTime: {
  19043. future: 'en %s',
  19044. past: 'hace %s',
  19045. s: 'unos segundos',
  19046. ss: '%d segundos',
  19047. m: 'un minuto',
  19048. mm: '%d minutos',
  19049. h: 'una hora',
  19050. hh: '%d horas',
  19051. d: 'un día',
  19052. dd: '%d días',
  19053. w: 'una semana',
  19054. ww: '%d semanas',
  19055. M: 'un mes',
  19056. MM: '%d meses',
  19057. y: 'un año',
  19058. yy: '%d años'
  19059. },
  19060. dayOfMonthOrdinalParse: /\d{1,2}º/,
  19061. ordinal: '%dº',
  19062. week: {
  19063. dow: 1,
  19064. // Monday is the first day of the week.
  19065. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19066. }
  19067. });
  19068. return esDo;
  19069. });
  19070. /***/ }),
  19071. /* 93 */
  19072. /*!**************************************************************************!*\
  19073. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/es-mx.js ***!
  19074. \**************************************************************************/
  19075. /*! no static exports found */
  19076. /***/ (function(module, exports, __webpack_require__) {
  19077. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19078. //! moment.js locale configuration
  19079. //! locale : Spanish (Mexico) [es-mx]
  19080. //! author : JC Franco : https://github.com/jcfranco
  19081. ;
  19082. (function (global, factory) {
  19083. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19084. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19085. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19086. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19087. })(this, function (moment) {
  19088. 'use strict';
  19089. //! moment.js locale configuration
  19090. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  19091. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  19092. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  19093. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  19094. var esMx = moment.defineLocale('es-mx', {
  19095. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  19096. monthsShort: function monthsShort(m, format) {
  19097. if (!m) {
  19098. return monthsShortDot;
  19099. } else if (/-MMM-/.test(format)) {
  19100. return _monthsShort[m.month()];
  19101. } else {
  19102. return monthsShortDot[m.month()];
  19103. }
  19104. },
  19105. monthsRegex: monthsRegex,
  19106. monthsShortRegex: monthsRegex,
  19107. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  19108. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  19109. monthsParse: monthsParse,
  19110. longMonthsParse: monthsParse,
  19111. shortMonthsParse: monthsParse,
  19112. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  19113. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  19114. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  19115. weekdaysParseExact: true,
  19116. longDateFormat: {
  19117. LT: 'H:mm',
  19118. LTS: 'H:mm:ss',
  19119. L: 'DD/MM/YYYY',
  19120. LL: 'D [de] MMMM [de] YYYY',
  19121. LLL: 'D [de] MMMM [de] YYYY H:mm',
  19122. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  19123. },
  19124. calendar: {
  19125. sameDay: function sameDay() {
  19126. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19127. },
  19128. nextDay: function nextDay() {
  19129. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19130. },
  19131. nextWeek: function nextWeek() {
  19132. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19133. },
  19134. lastDay: function lastDay() {
  19135. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19136. },
  19137. lastWeek: function lastWeek() {
  19138. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19139. },
  19140. sameElse: 'L'
  19141. },
  19142. relativeTime: {
  19143. future: 'en %s',
  19144. past: 'hace %s',
  19145. s: 'unos segundos',
  19146. ss: '%d segundos',
  19147. m: 'un minuto',
  19148. mm: '%d minutos',
  19149. h: 'una hora',
  19150. hh: '%d horas',
  19151. d: 'un día',
  19152. dd: '%d días',
  19153. w: 'una semana',
  19154. ww: '%d semanas',
  19155. M: 'un mes',
  19156. MM: '%d meses',
  19157. y: 'un año',
  19158. yy: '%d años'
  19159. },
  19160. dayOfMonthOrdinalParse: /\d{1,2}º/,
  19161. ordinal: '%dº',
  19162. week: {
  19163. dow: 0,
  19164. // Sunday is the first day of the week.
  19165. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19166. },
  19167. invalidDate: 'Fecha inválida'
  19168. });
  19169. return esMx;
  19170. });
  19171. /***/ }),
  19172. /* 94 */
  19173. /*!**************************************************************************!*\
  19174. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/es-us.js ***!
  19175. \**************************************************************************/
  19176. /*! no static exports found */
  19177. /***/ (function(module, exports, __webpack_require__) {
  19178. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19179. //! moment.js locale configuration
  19180. //! locale : Spanish (United States) [es-us]
  19181. //! author : bustta : https://github.com/bustta
  19182. //! author : chrisrodz : https://github.com/chrisrodz
  19183. ;
  19184. (function (global, factory) {
  19185. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19186. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19187. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19188. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19189. })(this, function (moment) {
  19190. 'use strict';
  19191. //! moment.js locale configuration
  19192. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
  19193. _monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  19194. monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i],
  19195. monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  19196. var esUs = moment.defineLocale('es-us', {
  19197. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
  19198. monthsShort: function monthsShort(m, format) {
  19199. if (!m) {
  19200. return monthsShortDot;
  19201. } else if (/-MMM-/.test(format)) {
  19202. return _monthsShort[m.month()];
  19203. } else {
  19204. return monthsShortDot[m.month()];
  19205. }
  19206. },
  19207. monthsRegex: monthsRegex,
  19208. monthsShortRegex: monthsRegex,
  19209. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  19210. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  19211. monthsParse: monthsParse,
  19212. longMonthsParse: monthsParse,
  19213. shortMonthsParse: monthsParse,
  19214. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  19215. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  19216. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  19217. weekdaysParseExact: true,
  19218. longDateFormat: {
  19219. LT: 'h:mm A',
  19220. LTS: 'h:mm:ss A',
  19221. L: 'MM/DD/YYYY',
  19222. LL: 'D [de] MMMM [de] YYYY',
  19223. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  19224. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A'
  19225. },
  19226. calendar: {
  19227. sameDay: function sameDay() {
  19228. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19229. },
  19230. nextDay: function nextDay() {
  19231. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19232. },
  19233. nextWeek: function nextWeek() {
  19234. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19235. },
  19236. lastDay: function lastDay() {
  19237. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19238. },
  19239. lastWeek: function lastWeek() {
  19240. return '[el] dddd [pasado a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  19241. },
  19242. sameElse: 'L'
  19243. },
  19244. relativeTime: {
  19245. future: 'en %s',
  19246. past: 'hace %s',
  19247. s: 'unos segundos',
  19248. ss: '%d segundos',
  19249. m: 'un minuto',
  19250. mm: '%d minutos',
  19251. h: 'una hora',
  19252. hh: '%d horas',
  19253. d: 'un día',
  19254. dd: '%d días',
  19255. w: 'una semana',
  19256. ww: '%d semanas',
  19257. M: 'un mes',
  19258. MM: '%d meses',
  19259. y: 'un año',
  19260. yy: '%d años'
  19261. },
  19262. dayOfMonthOrdinalParse: /\d{1,2}º/,
  19263. ordinal: '%dº',
  19264. week: {
  19265. dow: 0,
  19266. // Sunday is the first day of the week.
  19267. doy: 6 // The week that contains Jan 6th is the first week of the year.
  19268. }
  19269. });
  19270. return esUs;
  19271. });
  19272. /***/ }),
  19273. /* 95 */
  19274. /*!***********************************************************************!*\
  19275. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/et.js ***!
  19276. \***********************************************************************/
  19277. /*! no static exports found */
  19278. /***/ (function(module, exports, __webpack_require__) {
  19279. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19280. //! moment.js locale configuration
  19281. //! locale : Estonian [et]
  19282. //! author : Henry Kehlmann : https://github.com/madhenry
  19283. //! improvements : Illimar Tambek : https://github.com/ragulka
  19284. ;
  19285. (function (global, factory) {
  19286. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19287. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19288. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19289. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19290. })(this, function (moment) {
  19291. 'use strict';
  19292. //! moment.js locale configuration
  19293. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  19294. var format = {
  19295. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  19296. ss: [number + 'sekundi', number + 'sekundit'],
  19297. m: ['ühe minuti', 'üks minut'],
  19298. mm: [number + ' minuti', number + ' minutit'],
  19299. h: ['ühe tunni', 'tund aega', 'üks tund'],
  19300. hh: [number + ' tunni', number + ' tundi'],
  19301. d: ['ühe päeva', 'üks päev'],
  19302. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  19303. MM: [number + ' kuu', number + ' kuud'],
  19304. y: ['ühe aasta', 'aasta', 'üks aasta'],
  19305. yy: [number + ' aasta', number + ' aastat']
  19306. };
  19307. if (withoutSuffix) {
  19308. return format[key][2] ? format[key][2] : format[key][1];
  19309. }
  19310. return isFuture ? format[key][0] : format[key][1];
  19311. }
  19312. var et = moment.defineLocale('et', {
  19313. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
  19314. monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
  19315. weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
  19316. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  19317. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  19318. longDateFormat: {
  19319. LT: 'H:mm',
  19320. LTS: 'H:mm:ss',
  19321. L: 'DD.MM.YYYY',
  19322. LL: 'D. MMMM YYYY',
  19323. LLL: 'D. MMMM YYYY H:mm',
  19324. LLLL: 'dddd, D. MMMM YYYY H:mm'
  19325. },
  19326. calendar: {
  19327. sameDay: '[Täna,] LT',
  19328. nextDay: '[Homme,] LT',
  19329. nextWeek: '[Järgmine] dddd LT',
  19330. lastDay: '[Eile,] LT',
  19331. lastWeek: '[Eelmine] dddd LT',
  19332. sameElse: 'L'
  19333. },
  19334. relativeTime: {
  19335. future: '%s pärast',
  19336. past: '%s tagasi',
  19337. s: processRelativeTime,
  19338. ss: processRelativeTime,
  19339. m: processRelativeTime,
  19340. mm: processRelativeTime,
  19341. h: processRelativeTime,
  19342. hh: processRelativeTime,
  19343. d: processRelativeTime,
  19344. dd: '%d päeva',
  19345. M: processRelativeTime,
  19346. MM: processRelativeTime,
  19347. y: processRelativeTime,
  19348. yy: processRelativeTime
  19349. },
  19350. dayOfMonthOrdinalParse: /\d{1,2}\./,
  19351. ordinal: '%d.',
  19352. week: {
  19353. dow: 1,
  19354. // Monday is the first day of the week.
  19355. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19356. }
  19357. });
  19358. return et;
  19359. });
  19360. /***/ }),
  19361. /* 96 */
  19362. /*!***********************************************************************!*\
  19363. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/eu.js ***!
  19364. \***********************************************************************/
  19365. /*! no static exports found */
  19366. /***/ (function(module, exports, __webpack_require__) {
  19367. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19368. //! moment.js locale configuration
  19369. //! locale : Basque [eu]
  19370. //! author : Eneko Illarramendi : https://github.com/eillarra
  19371. ;
  19372. (function (global, factory) {
  19373. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19374. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19375. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19376. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19377. })(this, function (moment) {
  19378. 'use strict';
  19379. //! moment.js locale configuration
  19380. var eu = moment.defineLocale('eu', {
  19381. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
  19382. monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
  19383. monthsParseExact: true,
  19384. weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
  19385. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  19386. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  19387. weekdaysParseExact: true,
  19388. longDateFormat: {
  19389. LT: 'HH:mm',
  19390. LTS: 'HH:mm:ss',
  19391. L: 'YYYY-MM-DD',
  19392. LL: 'YYYY[ko] MMMM[ren] D[a]',
  19393. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  19394. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  19395. l: 'YYYY-M-D',
  19396. ll: 'YYYY[ko] MMM D[a]',
  19397. lll: 'YYYY[ko] MMM D[a] HH:mm',
  19398. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm'
  19399. },
  19400. calendar: {
  19401. sameDay: '[gaur] LT[etan]',
  19402. nextDay: '[bihar] LT[etan]',
  19403. nextWeek: 'dddd LT[etan]',
  19404. lastDay: '[atzo] LT[etan]',
  19405. lastWeek: '[aurreko] dddd LT[etan]',
  19406. sameElse: 'L'
  19407. },
  19408. relativeTime: {
  19409. future: '%s barru',
  19410. past: 'duela %s',
  19411. s: 'segundo batzuk',
  19412. ss: '%d segundo',
  19413. m: 'minutu bat',
  19414. mm: '%d minutu',
  19415. h: 'ordu bat',
  19416. hh: '%d ordu',
  19417. d: 'egun bat',
  19418. dd: '%d egun',
  19419. M: 'hilabete bat',
  19420. MM: '%d hilabete',
  19421. y: 'urte bat',
  19422. yy: '%d urte'
  19423. },
  19424. dayOfMonthOrdinalParse: /\d{1,2}\./,
  19425. ordinal: '%d.',
  19426. week: {
  19427. dow: 1,
  19428. // Monday is the first day of the week.
  19429. doy: 7 // The week that contains Jan 7th is the first week of the year.
  19430. }
  19431. });
  19432. return eu;
  19433. });
  19434. /***/ }),
  19435. /* 97 */
  19436. /*!***********************************************************************!*\
  19437. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fa.js ***!
  19438. \***********************************************************************/
  19439. /*! no static exports found */
  19440. /***/ (function(module, exports, __webpack_require__) {
  19441. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19442. //! moment.js locale configuration
  19443. //! locale : Persian [fa]
  19444. //! author : Ebrahim Byagowi : https://github.com/ebraminio
  19445. ;
  19446. (function (global, factory) {
  19447. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19448. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19449. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19450. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19451. })(this, function (moment) {
  19452. 'use strict';
  19453. //! moment.js locale configuration
  19454. var symbolMap = {
  19455. 1: '۱',
  19456. 2: '۲',
  19457. 3: '۳',
  19458. 4: '۴',
  19459. 5: '۵',
  19460. 6: '۶',
  19461. 7: '۷',
  19462. 8: '۸',
  19463. 9: '۹',
  19464. 0: '۰'
  19465. },
  19466. numberMap = {
  19467. '۱': '1',
  19468. '۲': '2',
  19469. '۳': '3',
  19470. '۴': '4',
  19471. '۵': '5',
  19472. '۶': '6',
  19473. '۷': '7',
  19474. '۸': '8',
  19475. '۹': '9',
  19476. '۰': '0'
  19477. };
  19478. var fa = moment.defineLocale('fa', {
  19479. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  19480. monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
  19481. weekdays: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'),
  19482. weekdaysShort: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'),
  19483. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  19484. weekdaysParseExact: true,
  19485. longDateFormat: {
  19486. LT: 'HH:mm',
  19487. LTS: 'HH:mm:ss',
  19488. L: 'DD/MM/YYYY',
  19489. LL: 'D MMMM YYYY',
  19490. LLL: 'D MMMM YYYY HH:mm',
  19491. LLLL: 'dddd, D MMMM YYYY HH:mm'
  19492. },
  19493. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  19494. isPM: function isPM(input) {
  19495. return /بعد از ظهر/.test(input);
  19496. },
  19497. meridiem: function meridiem(hour, minute, isLower) {
  19498. if (hour < 12) {
  19499. return 'قبل از ظهر';
  19500. } else {
  19501. return 'بعد از ظهر';
  19502. }
  19503. },
  19504. calendar: {
  19505. sameDay: '[امروز ساعت] LT',
  19506. nextDay: '[فردا ساعت] LT',
  19507. nextWeek: 'dddd [ساعت] LT',
  19508. lastDay: '[دیروز ساعت] LT',
  19509. lastWeek: 'dddd [پیش] [ساعت] LT',
  19510. sameElse: 'L'
  19511. },
  19512. relativeTime: {
  19513. future: 'در %s',
  19514. past: '%s پیش',
  19515. s: 'چند ثانیه',
  19516. ss: '%d ثانیه',
  19517. m: 'یک دقیقه',
  19518. mm: '%d دقیقه',
  19519. h: 'یک ساعت',
  19520. hh: '%d ساعت',
  19521. d: 'یک روز',
  19522. dd: '%d روز',
  19523. M: 'یک ماه',
  19524. MM: '%d ماه',
  19525. y: 'یک سال',
  19526. yy: '%d سال'
  19527. },
  19528. preparse: function preparse(string) {
  19529. return string.replace(/[۰-۹]/g, function (match) {
  19530. return numberMap[match];
  19531. }).replace(/،/g, ',');
  19532. },
  19533. postformat: function postformat(string) {
  19534. return string.replace(/\d/g, function (match) {
  19535. return symbolMap[match];
  19536. }).replace(/,/g, '،');
  19537. },
  19538. dayOfMonthOrdinalParse: /\d{1,2}م/,
  19539. ordinal: '%dم',
  19540. week: {
  19541. dow: 6,
  19542. // Saturday is the first day of the week.
  19543. doy: 12 // The week that contains Jan 12th is the first week of the year.
  19544. }
  19545. });
  19546. return fa;
  19547. });
  19548. /***/ }),
  19549. /* 98 */
  19550. /*!***********************************************************************!*\
  19551. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fi.js ***!
  19552. \***********************************************************************/
  19553. /*! no static exports found */
  19554. /***/ (function(module, exports, __webpack_require__) {
  19555. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19556. //! moment.js locale configuration
  19557. //! locale : Finnish [fi]
  19558. //! author : Tarmo Aidantausta : https://github.com/bleadof
  19559. ;
  19560. (function (global, factory) {
  19561. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19562. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19563. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19564. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19565. })(this, function (moment) {
  19566. 'use strict';
  19567. //! moment.js locale configuration
  19568. var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '),
  19569. numbersFuture = ['nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', numbersPast[7], numbersPast[8], numbersPast[9]];
  19570. function translate(number, withoutSuffix, key, isFuture) {
  19571. var result = '';
  19572. switch (key) {
  19573. case 's':
  19574. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  19575. case 'ss':
  19576. result = isFuture ? 'sekunnin' : 'sekuntia';
  19577. break;
  19578. case 'm':
  19579. return isFuture ? 'minuutin' : 'minuutti';
  19580. case 'mm':
  19581. result = isFuture ? 'minuutin' : 'minuuttia';
  19582. break;
  19583. case 'h':
  19584. return isFuture ? 'tunnin' : 'tunti';
  19585. case 'hh':
  19586. result = isFuture ? 'tunnin' : 'tuntia';
  19587. break;
  19588. case 'd':
  19589. return isFuture ? 'päivän' : 'päivä';
  19590. case 'dd':
  19591. result = isFuture ? 'päivän' : 'päivää';
  19592. break;
  19593. case 'M':
  19594. return isFuture ? 'kuukauden' : 'kuukausi';
  19595. case 'MM':
  19596. result = isFuture ? 'kuukauden' : 'kuukautta';
  19597. break;
  19598. case 'y':
  19599. return isFuture ? 'vuoden' : 'vuosi';
  19600. case 'yy':
  19601. result = isFuture ? 'vuoden' : 'vuotta';
  19602. break;
  19603. }
  19604. result = verbalNumber(number, isFuture) + ' ' + result;
  19605. return result;
  19606. }
  19607. function verbalNumber(number, isFuture) {
  19608. return number < 10 ? isFuture ? numbersFuture[number] : numbersPast[number] : number;
  19609. }
  19610. var fi = moment.defineLocale('fi', {
  19611. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'),
  19612. monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'),
  19613. weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'),
  19614. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  19615. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  19616. longDateFormat: {
  19617. LT: 'HH.mm',
  19618. LTS: 'HH.mm.ss',
  19619. L: 'DD.MM.YYYY',
  19620. LL: 'Do MMMM[ta] YYYY',
  19621. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  19622. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  19623. l: 'D.M.YYYY',
  19624. ll: 'Do MMM YYYY',
  19625. lll: 'Do MMM YYYY, [klo] HH.mm',
  19626. llll: 'ddd, Do MMM YYYY, [klo] HH.mm'
  19627. },
  19628. calendar: {
  19629. sameDay: '[tänään] [klo] LT',
  19630. nextDay: '[huomenna] [klo] LT',
  19631. nextWeek: 'dddd [klo] LT',
  19632. lastDay: '[eilen] [klo] LT',
  19633. lastWeek: '[viime] dddd[na] [klo] LT',
  19634. sameElse: 'L'
  19635. },
  19636. relativeTime: {
  19637. future: '%s päästä',
  19638. past: '%s sitten',
  19639. s: translate,
  19640. ss: translate,
  19641. m: translate,
  19642. mm: translate,
  19643. h: translate,
  19644. hh: translate,
  19645. d: translate,
  19646. dd: translate,
  19647. M: translate,
  19648. MM: translate,
  19649. y: translate,
  19650. yy: translate
  19651. },
  19652. dayOfMonthOrdinalParse: /\d{1,2}\./,
  19653. ordinal: '%d.',
  19654. week: {
  19655. dow: 1,
  19656. // Monday is the first day of the week.
  19657. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19658. }
  19659. });
  19660. return fi;
  19661. });
  19662. /***/ }),
  19663. /* 99 */
  19664. /*!************************************************************************!*\
  19665. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fil.js ***!
  19666. \************************************************************************/
  19667. /*! no static exports found */
  19668. /***/ (function(module, exports, __webpack_require__) {
  19669. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19670. //! moment.js locale configuration
  19671. //! locale : Filipino [fil]
  19672. //! author : Dan Hagman : https://github.com/hagmandan
  19673. //! author : Matthew Co : https://github.com/matthewdeeco
  19674. ;
  19675. (function (global, factory) {
  19676. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19677. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19678. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19679. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19680. })(this, function (moment) {
  19681. 'use strict';
  19682. //! moment.js locale configuration
  19683. var fil = moment.defineLocale('fil', {
  19684. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  19685. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  19686. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  19687. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  19688. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  19689. longDateFormat: {
  19690. LT: 'HH:mm',
  19691. LTS: 'HH:mm:ss',
  19692. L: 'MM/D/YYYY',
  19693. LL: 'MMMM D, YYYY',
  19694. LLL: 'MMMM D, YYYY HH:mm',
  19695. LLLL: 'dddd, MMMM DD, YYYY HH:mm'
  19696. },
  19697. calendar: {
  19698. sameDay: 'LT [ngayong araw]',
  19699. nextDay: '[Bukas ng] LT',
  19700. nextWeek: 'LT [sa susunod na] dddd',
  19701. lastDay: 'LT [kahapon]',
  19702. lastWeek: 'LT [noong nakaraang] dddd',
  19703. sameElse: 'L'
  19704. },
  19705. relativeTime: {
  19706. future: 'sa loob ng %s',
  19707. past: '%s ang nakalipas',
  19708. s: 'ilang segundo',
  19709. ss: '%d segundo',
  19710. m: 'isang minuto',
  19711. mm: '%d minuto',
  19712. h: 'isang oras',
  19713. hh: '%d oras',
  19714. d: 'isang araw',
  19715. dd: '%d araw',
  19716. M: 'isang buwan',
  19717. MM: '%d buwan',
  19718. y: 'isang taon',
  19719. yy: '%d taon'
  19720. },
  19721. dayOfMonthOrdinalParse: /\d{1,2}/,
  19722. ordinal: function ordinal(number) {
  19723. return number;
  19724. },
  19725. week: {
  19726. dow: 1,
  19727. // Monday is the first day of the week.
  19728. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19729. }
  19730. });
  19731. return fil;
  19732. });
  19733. /***/ }),
  19734. /* 100 */
  19735. /*!***********************************************************************!*\
  19736. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fo.js ***!
  19737. \***********************************************************************/
  19738. /*! no static exports found */
  19739. /***/ (function(module, exports, __webpack_require__) {
  19740. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19741. //! moment.js locale configuration
  19742. //! locale : Faroese [fo]
  19743. //! author : Ragnar Johannesen : https://github.com/ragnar123
  19744. //! author : Kristian Sakarisson : https://github.com/sakarisson
  19745. ;
  19746. (function (global, factory) {
  19747. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19748. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19749. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19750. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19751. })(this, function (moment) {
  19752. 'use strict';
  19753. //! moment.js locale configuration
  19754. var fo = moment.defineLocale('fo', {
  19755. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  19756. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  19757. weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
  19758. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  19759. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  19760. longDateFormat: {
  19761. LT: 'HH:mm',
  19762. LTS: 'HH:mm:ss',
  19763. L: 'DD/MM/YYYY',
  19764. LL: 'D MMMM YYYY',
  19765. LLL: 'D MMMM YYYY HH:mm',
  19766. LLLL: 'dddd D. MMMM, YYYY HH:mm'
  19767. },
  19768. calendar: {
  19769. sameDay: '[Í dag kl.] LT',
  19770. nextDay: '[Í morgin kl.] LT',
  19771. nextWeek: 'dddd [kl.] LT',
  19772. lastDay: '[Í gjár kl.] LT',
  19773. lastWeek: '[síðstu] dddd [kl] LT',
  19774. sameElse: 'L'
  19775. },
  19776. relativeTime: {
  19777. future: 'um %s',
  19778. past: '%s síðani',
  19779. s: 'fá sekund',
  19780. ss: '%d sekundir',
  19781. m: 'ein minuttur',
  19782. mm: '%d minuttir',
  19783. h: 'ein tími',
  19784. hh: '%d tímar',
  19785. d: 'ein dagur',
  19786. dd: '%d dagar',
  19787. M: 'ein mánaður',
  19788. MM: '%d mánaðir',
  19789. y: 'eitt ár',
  19790. yy: '%d ár'
  19791. },
  19792. dayOfMonthOrdinalParse: /\d{1,2}\./,
  19793. ordinal: '%d.',
  19794. week: {
  19795. dow: 1,
  19796. // Monday is the first day of the week.
  19797. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19798. }
  19799. });
  19800. return fo;
  19801. });
  19802. /***/ }),
  19803. /* 101 */
  19804. /*!***********************************************************************!*\
  19805. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fr.js ***!
  19806. \***********************************************************************/
  19807. /*! no static exports found */
  19808. /***/ (function(module, exports, __webpack_require__) {
  19809. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19810. //! moment.js locale configuration
  19811. //! locale : French [fr]
  19812. //! author : John Fischer : https://github.com/jfroffice
  19813. ;
  19814. (function (global, factory) {
  19815. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19816. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19817. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19818. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19819. })(this, function (moment) {
  19820. 'use strict';
  19821. //! moment.js locale configuration
  19822. var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  19823. monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  19824. monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  19825. monthsParse = [/^janv/i, /^févr/i, /^mars/i, /^avr/i, /^mai/i, /^juin/i, /^juil/i, /^août/i, /^sept/i, /^oct/i, /^nov/i, /^déc/i];
  19826. var fr = moment.defineLocale('fr', {
  19827. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  19828. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  19829. monthsRegex: monthsRegex,
  19830. monthsShortRegex: monthsRegex,
  19831. monthsStrictRegex: monthsStrictRegex,
  19832. monthsShortStrictRegex: monthsShortStrictRegex,
  19833. monthsParse: monthsParse,
  19834. longMonthsParse: monthsParse,
  19835. shortMonthsParse: monthsParse,
  19836. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  19837. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  19838. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  19839. weekdaysParseExact: true,
  19840. longDateFormat: {
  19841. LT: 'HH:mm',
  19842. LTS: 'HH:mm:ss',
  19843. L: 'DD/MM/YYYY',
  19844. LL: 'D MMMM YYYY',
  19845. LLL: 'D MMMM YYYY HH:mm',
  19846. LLLL: 'dddd D MMMM YYYY HH:mm'
  19847. },
  19848. calendar: {
  19849. sameDay: '[Aujourd’hui à] LT',
  19850. nextDay: '[Demain à] LT',
  19851. nextWeek: 'dddd [à] LT',
  19852. lastDay: '[Hier à] LT',
  19853. lastWeek: 'dddd [dernier à] LT',
  19854. sameElse: 'L'
  19855. },
  19856. relativeTime: {
  19857. future: 'dans %s',
  19858. past: 'il y a %s',
  19859. s: 'quelques secondes',
  19860. ss: '%d secondes',
  19861. m: 'une minute',
  19862. mm: '%d minutes',
  19863. h: 'une heure',
  19864. hh: '%d heures',
  19865. d: 'un jour',
  19866. dd: '%d jours',
  19867. w: 'une semaine',
  19868. ww: '%d semaines',
  19869. M: 'un mois',
  19870. MM: '%d mois',
  19871. y: 'un an',
  19872. yy: '%d ans'
  19873. },
  19874. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  19875. ordinal: function ordinal(number, period) {
  19876. switch (period) {
  19877. // TODO: Return 'e' when day of month > 1. Move this case inside
  19878. // block for masculine words below.
  19879. // See https://github.com/moment/moment/issues/3375
  19880. case 'D':
  19881. return number + (number === 1 ? 'er' : '');
  19882. // Words with masculine grammatical gender: mois, trimestre, jour
  19883. default:
  19884. case 'M':
  19885. case 'Q':
  19886. case 'DDD':
  19887. case 'd':
  19888. return number + (number === 1 ? 'er' : 'e');
  19889. // Words with feminine grammatical gender: semaine
  19890. case 'w':
  19891. case 'W':
  19892. return number + (number === 1 ? 're' : 'e');
  19893. }
  19894. },
  19895. week: {
  19896. dow: 1,
  19897. // Monday is the first day of the week.
  19898. doy: 4 // The week that contains Jan 4th is the first week of the year.
  19899. }
  19900. });
  19901. return fr;
  19902. });
  19903. /***/ }),
  19904. /* 102 */
  19905. /*!**************************************************************************!*\
  19906. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fr-ca.js ***!
  19907. \**************************************************************************/
  19908. /*! no static exports found */
  19909. /***/ (function(module, exports, __webpack_require__) {
  19910. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19911. //! moment.js locale configuration
  19912. //! locale : French (Canada) [fr-ca]
  19913. //! author : Jonathan Abourbih : https://github.com/jonbca
  19914. ;
  19915. (function (global, factory) {
  19916. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19917. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19918. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19919. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  19920. })(this, function (moment) {
  19921. 'use strict';
  19922. //! moment.js locale configuration
  19923. var frCa = moment.defineLocale('fr-ca', {
  19924. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  19925. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  19926. monthsParseExact: true,
  19927. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  19928. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  19929. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  19930. weekdaysParseExact: true,
  19931. longDateFormat: {
  19932. LT: 'HH:mm',
  19933. LTS: 'HH:mm:ss',
  19934. L: 'YYYY-MM-DD',
  19935. LL: 'D MMMM YYYY',
  19936. LLL: 'D MMMM YYYY HH:mm',
  19937. LLLL: 'dddd D MMMM YYYY HH:mm'
  19938. },
  19939. calendar: {
  19940. sameDay: '[Aujourd’hui à] LT',
  19941. nextDay: '[Demain à] LT',
  19942. nextWeek: 'dddd [à] LT',
  19943. lastDay: '[Hier à] LT',
  19944. lastWeek: 'dddd [dernier à] LT',
  19945. sameElse: 'L'
  19946. },
  19947. relativeTime: {
  19948. future: 'dans %s',
  19949. past: 'il y a %s',
  19950. s: 'quelques secondes',
  19951. ss: '%d secondes',
  19952. m: 'une minute',
  19953. mm: '%d minutes',
  19954. h: 'une heure',
  19955. hh: '%d heures',
  19956. d: 'un jour',
  19957. dd: '%d jours',
  19958. M: 'un mois',
  19959. MM: '%d mois',
  19960. y: 'un an',
  19961. yy: '%d ans'
  19962. },
  19963. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  19964. ordinal: function ordinal(number, period) {
  19965. switch (period) {
  19966. // Words with masculine grammatical gender: mois, trimestre, jour
  19967. default:
  19968. case 'M':
  19969. case 'Q':
  19970. case 'D':
  19971. case 'DDD':
  19972. case 'd':
  19973. return number + (number === 1 ? 'er' : 'e');
  19974. // Words with feminine grammatical gender: semaine
  19975. case 'w':
  19976. case 'W':
  19977. return number + (number === 1 ? 're' : 'e');
  19978. }
  19979. }
  19980. });
  19981. return frCa;
  19982. });
  19983. /***/ }),
  19984. /* 103 */
  19985. /*!**************************************************************************!*\
  19986. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fr-ch.js ***!
  19987. \**************************************************************************/
  19988. /*! no static exports found */
  19989. /***/ (function(module, exports, __webpack_require__) {
  19990. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  19991. //! moment.js locale configuration
  19992. //! locale : French (Switzerland) [fr-ch]
  19993. //! author : Gaspard Bucher : https://github.com/gaspard
  19994. ;
  19995. (function (global, factory) {
  19996. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  19997. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  19998. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  19999. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20000. })(this, function (moment) {
  20001. 'use strict';
  20002. //! moment.js locale configuration
  20003. var frCh = moment.defineLocale('fr-ch', {
  20004. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
  20005. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
  20006. monthsParseExact: true,
  20007. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  20008. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  20009. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  20010. weekdaysParseExact: true,
  20011. longDateFormat: {
  20012. LT: 'HH:mm',
  20013. LTS: 'HH:mm:ss',
  20014. L: 'DD.MM.YYYY',
  20015. LL: 'D MMMM YYYY',
  20016. LLL: 'D MMMM YYYY HH:mm',
  20017. LLLL: 'dddd D MMMM YYYY HH:mm'
  20018. },
  20019. calendar: {
  20020. sameDay: '[Aujourd’hui à] LT',
  20021. nextDay: '[Demain à] LT',
  20022. nextWeek: 'dddd [à] LT',
  20023. lastDay: '[Hier à] LT',
  20024. lastWeek: 'dddd [dernier à] LT',
  20025. sameElse: 'L'
  20026. },
  20027. relativeTime: {
  20028. future: 'dans %s',
  20029. past: 'il y a %s',
  20030. s: 'quelques secondes',
  20031. ss: '%d secondes',
  20032. m: 'une minute',
  20033. mm: '%d minutes',
  20034. h: 'une heure',
  20035. hh: '%d heures',
  20036. d: 'un jour',
  20037. dd: '%d jours',
  20038. M: 'un mois',
  20039. MM: '%d mois',
  20040. y: 'un an',
  20041. yy: '%d ans'
  20042. },
  20043. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  20044. ordinal: function ordinal(number, period) {
  20045. switch (period) {
  20046. // Words with masculine grammatical gender: mois, trimestre, jour
  20047. default:
  20048. case 'M':
  20049. case 'Q':
  20050. case 'D':
  20051. case 'DDD':
  20052. case 'd':
  20053. return number + (number === 1 ? 'er' : 'e');
  20054. // Words with feminine grammatical gender: semaine
  20055. case 'w':
  20056. case 'W':
  20057. return number + (number === 1 ? 're' : 'e');
  20058. }
  20059. },
  20060. week: {
  20061. dow: 1,
  20062. // Monday is the first day of the week.
  20063. doy: 4 // The week that contains Jan 4th is the first week of the year.
  20064. }
  20065. });
  20066. return frCh;
  20067. });
  20068. /***/ }),
  20069. /* 104 */
  20070. /*!***********************************************************************!*\
  20071. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/fy.js ***!
  20072. \***********************************************************************/
  20073. /*! no static exports found */
  20074. /***/ (function(module, exports, __webpack_require__) {
  20075. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20076. //! moment.js locale configuration
  20077. //! locale : Frisian [fy]
  20078. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  20079. ;
  20080. (function (global, factory) {
  20081. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20082. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20083. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20084. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20085. })(this, function (moment) {
  20086. 'use strict';
  20087. //! moment.js locale configuration
  20088. var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
  20089. monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
  20090. var fy = moment.defineLocale('fy', {
  20091. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
  20092. monthsShort: function monthsShort(m, format) {
  20093. if (!m) {
  20094. return monthsShortWithDots;
  20095. } else if (/-MMM-/.test(format)) {
  20096. return monthsShortWithoutDots[m.month()];
  20097. } else {
  20098. return monthsShortWithDots[m.month()];
  20099. }
  20100. },
  20101. monthsParseExact: true,
  20102. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
  20103. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  20104. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  20105. weekdaysParseExact: true,
  20106. longDateFormat: {
  20107. LT: 'HH:mm',
  20108. LTS: 'HH:mm:ss',
  20109. L: 'DD-MM-YYYY',
  20110. LL: 'D MMMM YYYY',
  20111. LLL: 'D MMMM YYYY HH:mm',
  20112. LLLL: 'dddd D MMMM YYYY HH:mm'
  20113. },
  20114. calendar: {
  20115. sameDay: '[hjoed om] LT',
  20116. nextDay: '[moarn om] LT',
  20117. nextWeek: 'dddd [om] LT',
  20118. lastDay: '[juster om] LT',
  20119. lastWeek: '[ôfrûne] dddd [om] LT',
  20120. sameElse: 'L'
  20121. },
  20122. relativeTime: {
  20123. future: 'oer %s',
  20124. past: '%s lyn',
  20125. s: 'in pear sekonden',
  20126. ss: '%d sekonden',
  20127. m: 'ien minút',
  20128. mm: '%d minuten',
  20129. h: 'ien oere',
  20130. hh: '%d oeren',
  20131. d: 'ien dei',
  20132. dd: '%d dagen',
  20133. M: 'ien moanne',
  20134. MM: '%d moannen',
  20135. y: 'ien jier',
  20136. yy: '%d jierren'
  20137. },
  20138. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  20139. ordinal: function ordinal(number) {
  20140. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  20141. },
  20142. week: {
  20143. dow: 1,
  20144. // Monday is the first day of the week.
  20145. doy: 4 // The week that contains Jan 4th is the first week of the year.
  20146. }
  20147. });
  20148. return fy;
  20149. });
  20150. /***/ }),
  20151. /* 105 */
  20152. /*!***********************************************************************!*\
  20153. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ga.js ***!
  20154. \***********************************************************************/
  20155. /*! no static exports found */
  20156. /***/ (function(module, exports, __webpack_require__) {
  20157. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20158. //! moment.js locale configuration
  20159. //! locale : Irish or Irish Gaelic [ga]
  20160. //! author : André Silva : https://github.com/askpt
  20161. ;
  20162. (function (global, factory) {
  20163. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20164. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20165. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20166. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20167. })(this, function (moment) {
  20168. 'use strict';
  20169. //! moment.js locale configuration
  20170. var months = ['Eanáir', 'Feabhra', 'Márta', 'Aibreán', 'Bealtaine', 'Meitheamh', 'Iúil', 'Lúnasa', 'Meán Fómhair', 'Deireadh Fómhair', 'Samhain', 'Nollaig'],
  20171. monthsShort = ['Ean', 'Feabh', 'Márt', 'Aib', 'Beal', 'Meith', 'Iúil', 'Lún', 'M.F.', 'D.F.', 'Samh', 'Noll'],
  20172. weekdays = ['Dé Domhnaigh', 'Dé Luain', 'Dé Máirt', 'Dé Céadaoin', 'Déardaoin', 'Dé hAoine', 'Dé Sathairn'],
  20173. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  20174. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  20175. var ga = moment.defineLocale('ga', {
  20176. months: months,
  20177. monthsShort: monthsShort,
  20178. monthsParseExact: true,
  20179. weekdays: weekdays,
  20180. weekdaysShort: weekdaysShort,
  20181. weekdaysMin: weekdaysMin,
  20182. longDateFormat: {
  20183. LT: 'HH:mm',
  20184. LTS: 'HH:mm:ss',
  20185. L: 'DD/MM/YYYY',
  20186. LL: 'D MMMM YYYY',
  20187. LLL: 'D MMMM YYYY HH:mm',
  20188. LLLL: 'dddd, D MMMM YYYY HH:mm'
  20189. },
  20190. calendar: {
  20191. sameDay: '[Inniu ag] LT',
  20192. nextDay: '[Amárach ag] LT',
  20193. nextWeek: 'dddd [ag] LT',
  20194. lastDay: '[Inné ag] LT',
  20195. lastWeek: 'dddd [seo caite] [ag] LT',
  20196. sameElse: 'L'
  20197. },
  20198. relativeTime: {
  20199. future: 'i %s',
  20200. past: '%s ó shin',
  20201. s: 'cúpla soicind',
  20202. ss: '%d soicind',
  20203. m: 'nóiméad',
  20204. mm: '%d nóiméad',
  20205. h: 'uair an chloig',
  20206. hh: '%d uair an chloig',
  20207. d: 'lá',
  20208. dd: '%d lá',
  20209. M: 'mí',
  20210. MM: '%d míonna',
  20211. y: 'bliain',
  20212. yy: '%d bliain'
  20213. },
  20214. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  20215. ordinal: function ordinal(number) {
  20216. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  20217. return number + output;
  20218. },
  20219. week: {
  20220. dow: 1,
  20221. // Monday is the first day of the week.
  20222. doy: 4 // The week that contains Jan 4th is the first week of the year.
  20223. }
  20224. });
  20225. return ga;
  20226. });
  20227. /***/ }),
  20228. /* 106 */
  20229. /*!***********************************************************************!*\
  20230. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/gd.js ***!
  20231. \***********************************************************************/
  20232. /*! no static exports found */
  20233. /***/ (function(module, exports, __webpack_require__) {
  20234. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20235. //! moment.js locale configuration
  20236. //! locale : Scottish Gaelic [gd]
  20237. //! author : Jon Ashdown : https://github.com/jonashdown
  20238. ;
  20239. (function (global, factory) {
  20240. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20241. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20242. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20243. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20244. })(this, function (moment) {
  20245. 'use strict';
  20246. //! moment.js locale configuration
  20247. var months = ['Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd'],
  20248. monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh'],
  20249. weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne'],
  20250. weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  20251. weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  20252. var gd = moment.defineLocale('gd', {
  20253. months: months,
  20254. monthsShort: monthsShort,
  20255. monthsParseExact: true,
  20256. weekdays: weekdays,
  20257. weekdaysShort: weekdaysShort,
  20258. weekdaysMin: weekdaysMin,
  20259. longDateFormat: {
  20260. LT: 'HH:mm',
  20261. LTS: 'HH:mm:ss',
  20262. L: 'DD/MM/YYYY',
  20263. LL: 'D MMMM YYYY',
  20264. LLL: 'D MMMM YYYY HH:mm',
  20265. LLLL: 'dddd, D MMMM YYYY HH:mm'
  20266. },
  20267. calendar: {
  20268. sameDay: '[An-diugh aig] LT',
  20269. nextDay: '[A-màireach aig] LT',
  20270. nextWeek: 'dddd [aig] LT',
  20271. lastDay: '[An-dè aig] LT',
  20272. lastWeek: 'dddd [seo chaidh] [aig] LT',
  20273. sameElse: 'L'
  20274. },
  20275. relativeTime: {
  20276. future: 'ann an %s',
  20277. past: 'bho chionn %s',
  20278. s: 'beagan diogan',
  20279. ss: '%d diogan',
  20280. m: 'mionaid',
  20281. mm: '%d mionaidean',
  20282. h: 'uair',
  20283. hh: '%d uairean',
  20284. d: 'latha',
  20285. dd: '%d latha',
  20286. M: 'mìos',
  20287. MM: '%d mìosan',
  20288. y: 'bliadhna',
  20289. yy: '%d bliadhna'
  20290. },
  20291. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  20292. ordinal: function ordinal(number) {
  20293. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  20294. return number + output;
  20295. },
  20296. week: {
  20297. dow: 1,
  20298. // Monday is the first day of the week.
  20299. doy: 4 // The week that contains Jan 4th is the first week of the year.
  20300. }
  20301. });
  20302. return gd;
  20303. });
  20304. /***/ }),
  20305. /* 107 */
  20306. /*!***********************************************************************!*\
  20307. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/gl.js ***!
  20308. \***********************************************************************/
  20309. /*! no static exports found */
  20310. /***/ (function(module, exports, __webpack_require__) {
  20311. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20312. //! moment.js locale configuration
  20313. //! locale : Galician [gl]
  20314. //! author : Juan G. Hurtado : https://github.com/juanghurtado
  20315. ;
  20316. (function (global, factory) {
  20317. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20318. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20319. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20320. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20321. })(this, function (moment) {
  20322. 'use strict';
  20323. //! moment.js locale configuration
  20324. var gl = moment.defineLocale('gl', {
  20325. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
  20326. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
  20327. monthsParseExact: true,
  20328. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  20329. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  20330. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  20331. weekdaysParseExact: true,
  20332. longDateFormat: {
  20333. LT: 'H:mm',
  20334. LTS: 'H:mm:ss',
  20335. L: 'DD/MM/YYYY',
  20336. LL: 'D [de] MMMM [de] YYYY',
  20337. LLL: 'D [de] MMMM [de] YYYY H:mm',
  20338. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm'
  20339. },
  20340. calendar: {
  20341. sameDay: function sameDay() {
  20342. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  20343. },
  20344. nextDay: function nextDay() {
  20345. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  20346. },
  20347. nextWeek: function nextWeek() {
  20348. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  20349. },
  20350. lastDay: function lastDay() {
  20351. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  20352. },
  20353. lastWeek: function lastWeek() {
  20354. return '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  20355. },
  20356. sameElse: 'L'
  20357. },
  20358. relativeTime: {
  20359. future: function future(str) {
  20360. if (str.indexOf('un') === 0) {
  20361. return 'n' + str;
  20362. }
  20363. return 'en ' + str;
  20364. },
  20365. past: 'hai %s',
  20366. s: 'uns segundos',
  20367. ss: '%d segundos',
  20368. m: 'un minuto',
  20369. mm: '%d minutos',
  20370. h: 'unha hora',
  20371. hh: '%d horas',
  20372. d: 'un día',
  20373. dd: '%d días',
  20374. M: 'un mes',
  20375. MM: '%d meses',
  20376. y: 'un ano',
  20377. yy: '%d anos'
  20378. },
  20379. dayOfMonthOrdinalParse: /\d{1,2}º/,
  20380. ordinal: '%dº',
  20381. week: {
  20382. dow: 1,
  20383. // Monday is the first day of the week.
  20384. doy: 4 // The week that contains Jan 4th is the first week of the year.
  20385. }
  20386. });
  20387. return gl;
  20388. });
  20389. /***/ }),
  20390. /* 108 */
  20391. /*!*****************************************************************************!*\
  20392. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/gom-deva.js ***!
  20393. \*****************************************************************************/
  20394. /*! no static exports found */
  20395. /***/ (function(module, exports, __webpack_require__) {
  20396. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20397. //! moment.js locale configuration
  20398. //! locale : Konkani Devanagari script [gom-deva]
  20399. //! author : The Discoverer : https://github.com/WikiDiscoverer
  20400. ;
  20401. (function (global, factory) {
  20402. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20403. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20404. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20405. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20406. })(this, function (moment) {
  20407. 'use strict';
  20408. //! moment.js locale configuration
  20409. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  20410. var format = {
  20411. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  20412. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  20413. m: ['एका मिणटान', 'एक मिनूट'],
  20414. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  20415. h: ['एका वरान', 'एक वर'],
  20416. hh: [number + ' वरांनी', number + ' वरां'],
  20417. d: ['एका दिसान', 'एक दीस'],
  20418. dd: [number + ' दिसांनी', number + ' दीस'],
  20419. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  20420. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  20421. y: ['एका वर्सान', 'एक वर्स'],
  20422. yy: [number + ' वर्सांनी', number + ' वर्सां']
  20423. };
  20424. return isFuture ? format[key][0] : format[key][1];
  20425. }
  20426. var gomDeva = moment.defineLocale('gom-deva', {
  20427. months: {
  20428. standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
  20429. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split('_'),
  20430. isFormat: /MMMM(\s)+D[oD]?/
  20431. },
  20432. monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
  20433. monthsParseExact: true,
  20434. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  20435. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  20436. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  20437. weekdaysParseExact: true,
  20438. longDateFormat: {
  20439. LT: 'A h:mm [वाजतां]',
  20440. LTS: 'A h:mm:ss [वाजतां]',
  20441. L: 'DD-MM-YYYY',
  20442. LL: 'D MMMM YYYY',
  20443. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  20444. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  20445. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]'
  20446. },
  20447. calendar: {
  20448. sameDay: '[आयज] LT',
  20449. nextDay: '[फाल्यां] LT',
  20450. nextWeek: '[फुडलो] dddd[,] LT',
  20451. lastDay: '[काल] LT',
  20452. lastWeek: '[फाटलो] dddd[,] LT',
  20453. sameElse: 'L'
  20454. },
  20455. relativeTime: {
  20456. future: '%s',
  20457. past: '%s आदीं',
  20458. s: processRelativeTime,
  20459. ss: processRelativeTime,
  20460. m: processRelativeTime,
  20461. mm: processRelativeTime,
  20462. h: processRelativeTime,
  20463. hh: processRelativeTime,
  20464. d: processRelativeTime,
  20465. dd: processRelativeTime,
  20466. M: processRelativeTime,
  20467. MM: processRelativeTime,
  20468. y: processRelativeTime,
  20469. yy: processRelativeTime
  20470. },
  20471. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  20472. ordinal: function ordinal(number, period) {
  20473. switch (period) {
  20474. // the ordinal 'वेर' only applies to day of the month
  20475. case 'D':
  20476. return number + 'वेर';
  20477. default:
  20478. case 'M':
  20479. case 'Q':
  20480. case 'DDD':
  20481. case 'd':
  20482. case 'w':
  20483. case 'W':
  20484. return number;
  20485. }
  20486. },
  20487. week: {
  20488. dow: 0,
  20489. // Sunday is the first day of the week
  20490. doy: 3 // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  20491. },
  20492. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  20493. meridiemHour: function meridiemHour(hour, meridiem) {
  20494. if (hour === 12) {
  20495. hour = 0;
  20496. }
  20497. if (meridiem === 'राती') {
  20498. return hour < 4 ? hour : hour + 12;
  20499. } else if (meridiem === 'सकाळीं') {
  20500. return hour;
  20501. } else if (meridiem === 'दनपारां') {
  20502. return hour > 12 ? hour : hour + 12;
  20503. } else if (meridiem === 'सांजे') {
  20504. return hour + 12;
  20505. }
  20506. },
  20507. meridiem: function meridiem(hour, minute, isLower) {
  20508. if (hour < 4) {
  20509. return 'राती';
  20510. } else if (hour < 12) {
  20511. return 'सकाळीं';
  20512. } else if (hour < 16) {
  20513. return 'दनपारां';
  20514. } else if (hour < 20) {
  20515. return 'सांजे';
  20516. } else {
  20517. return 'राती';
  20518. }
  20519. }
  20520. });
  20521. return gomDeva;
  20522. });
  20523. /***/ }),
  20524. /* 109 */
  20525. /*!*****************************************************************************!*\
  20526. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/gom-latn.js ***!
  20527. \*****************************************************************************/
  20528. /*! no static exports found */
  20529. /***/ (function(module, exports, __webpack_require__) {
  20530. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20531. //! moment.js locale configuration
  20532. //! locale : Konkani Latin script [gom-latn]
  20533. //! author : The Discoverer : https://github.com/WikiDiscoverer
  20534. ;
  20535. (function (global, factory) {
  20536. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20537. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20538. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20539. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20540. })(this, function (moment) {
  20541. 'use strict';
  20542. //! moment.js locale configuration
  20543. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  20544. var format = {
  20545. s: ['thoddea sekondamni', 'thodde sekond'],
  20546. ss: [number + ' sekondamni', number + ' sekond'],
  20547. m: ['eka mintan', 'ek minut'],
  20548. mm: [number + ' mintamni', number + ' mintam'],
  20549. h: ['eka voran', 'ek vor'],
  20550. hh: [number + ' voramni', number + ' voram'],
  20551. d: ['eka disan', 'ek dis'],
  20552. dd: [number + ' disamni', number + ' dis'],
  20553. M: ['eka mhoinean', 'ek mhoino'],
  20554. MM: [number + ' mhoineamni', number + ' mhoine'],
  20555. y: ['eka vorsan', 'ek voros'],
  20556. yy: [number + ' vorsamni', number + ' vorsam']
  20557. };
  20558. return isFuture ? format[key][0] : format[key][1];
  20559. }
  20560. var gomLatn = moment.defineLocale('gom-latn', {
  20561. months: {
  20562. standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'),
  20563. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split('_'),
  20564. isFormat: /MMMM(\s)+D[oD]?/
  20565. },
  20566. monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'),
  20567. monthsParseExact: true,
  20568. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  20569. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  20570. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  20571. weekdaysParseExact: true,
  20572. longDateFormat: {
  20573. LT: 'A h:mm [vazta]',
  20574. LTS: 'A h:mm:ss [vazta]',
  20575. L: 'DD-MM-YYYY',
  20576. LL: 'D MMMM YYYY',
  20577. LLL: 'D MMMM YYYY A h:mm [vazta]',
  20578. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  20579. llll: 'ddd, D MMM YYYY, A h:mm [vazta]'
  20580. },
  20581. calendar: {
  20582. sameDay: '[Aiz] LT',
  20583. nextDay: '[Faleam] LT',
  20584. nextWeek: '[Fuddlo] dddd[,] LT',
  20585. lastDay: '[Kal] LT',
  20586. lastWeek: '[Fattlo] dddd[,] LT',
  20587. sameElse: 'L'
  20588. },
  20589. relativeTime: {
  20590. future: '%s',
  20591. past: '%s adim',
  20592. s: processRelativeTime,
  20593. ss: processRelativeTime,
  20594. m: processRelativeTime,
  20595. mm: processRelativeTime,
  20596. h: processRelativeTime,
  20597. hh: processRelativeTime,
  20598. d: processRelativeTime,
  20599. dd: processRelativeTime,
  20600. M: processRelativeTime,
  20601. MM: processRelativeTime,
  20602. y: processRelativeTime,
  20603. yy: processRelativeTime
  20604. },
  20605. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  20606. ordinal: function ordinal(number, period) {
  20607. switch (period) {
  20608. // the ordinal 'er' only applies to day of the month
  20609. case 'D':
  20610. return number + 'er';
  20611. default:
  20612. case 'M':
  20613. case 'Q':
  20614. case 'DDD':
  20615. case 'd':
  20616. case 'w':
  20617. case 'W':
  20618. return number;
  20619. }
  20620. },
  20621. week: {
  20622. dow: 0,
  20623. // Sunday is the first day of the week
  20624. doy: 3 // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  20625. },
  20626. meridiemParse: /rati|sokallim|donparam|sanje/,
  20627. meridiemHour: function meridiemHour(hour, meridiem) {
  20628. if (hour === 12) {
  20629. hour = 0;
  20630. }
  20631. if (meridiem === 'rati') {
  20632. return hour < 4 ? hour : hour + 12;
  20633. } else if (meridiem === 'sokallim') {
  20634. return hour;
  20635. } else if (meridiem === 'donparam') {
  20636. return hour > 12 ? hour : hour + 12;
  20637. } else if (meridiem === 'sanje') {
  20638. return hour + 12;
  20639. }
  20640. },
  20641. meridiem: function meridiem(hour, minute, isLower) {
  20642. if (hour < 4) {
  20643. return 'rati';
  20644. } else if (hour < 12) {
  20645. return 'sokallim';
  20646. } else if (hour < 16) {
  20647. return 'donparam';
  20648. } else if (hour < 20) {
  20649. return 'sanje';
  20650. } else {
  20651. return 'rati';
  20652. }
  20653. }
  20654. });
  20655. return gomLatn;
  20656. });
  20657. /***/ }),
  20658. /* 110 */
  20659. /*!***********************************************************************!*\
  20660. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/gu.js ***!
  20661. \***********************************************************************/
  20662. /*! no static exports found */
  20663. /***/ (function(module, exports, __webpack_require__) {
  20664. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20665. //! moment.js locale configuration
  20666. //! locale : Gujarati [gu]
  20667. //! author : Kaushik Thanki : https://github.com/Kaushik1987
  20668. ;
  20669. (function (global, factory) {
  20670. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20671. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20672. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20673. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20674. })(this, function (moment) {
  20675. 'use strict';
  20676. //! moment.js locale configuration
  20677. var symbolMap = {
  20678. 1: '૧',
  20679. 2: '૨',
  20680. 3: '૩',
  20681. 4: '૪',
  20682. 5: '૫',
  20683. 6: '૬',
  20684. 7: '૭',
  20685. 8: '૮',
  20686. 9: '૯',
  20687. 0: '૦'
  20688. },
  20689. numberMap = {
  20690. '૧': '1',
  20691. '૨': '2',
  20692. '૩': '3',
  20693. '૪': '4',
  20694. '૫': '5',
  20695. '૬': '6',
  20696. '૭': '7',
  20697. '૮': '8',
  20698. '૯': '9',
  20699. '૦': '0'
  20700. };
  20701. var gu = moment.defineLocale('gu', {
  20702. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'),
  20703. monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'),
  20704. monthsParseExact: true,
  20705. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'),
  20706. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  20707. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  20708. longDateFormat: {
  20709. LT: 'A h:mm વાગ્યે',
  20710. LTS: 'A h:mm:ss વાગ્યે',
  20711. L: 'DD/MM/YYYY',
  20712. LL: 'D MMMM YYYY',
  20713. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  20714. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે'
  20715. },
  20716. calendar: {
  20717. sameDay: '[આજ] LT',
  20718. nextDay: '[કાલે] LT',
  20719. nextWeek: 'dddd, LT',
  20720. lastDay: '[ગઇકાલે] LT',
  20721. lastWeek: '[પાછલા] dddd, LT',
  20722. sameElse: 'L'
  20723. },
  20724. relativeTime: {
  20725. future: '%s મા',
  20726. past: '%s પહેલા',
  20727. s: 'અમુક પળો',
  20728. ss: '%d સેકંડ',
  20729. m: 'એક મિનિટ',
  20730. mm: '%d મિનિટ',
  20731. h: 'એક કલાક',
  20732. hh: '%d કલાક',
  20733. d: 'એક દિવસ',
  20734. dd: '%d દિવસ',
  20735. M: 'એક મહિનો',
  20736. MM: '%d મહિનો',
  20737. y: 'એક વર્ષ',
  20738. yy: '%d વર્ષ'
  20739. },
  20740. preparse: function preparse(string) {
  20741. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  20742. return numberMap[match];
  20743. });
  20744. },
  20745. postformat: function postformat(string) {
  20746. return string.replace(/\d/g, function (match) {
  20747. return symbolMap[match];
  20748. });
  20749. },
  20750. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  20751. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  20752. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  20753. meridiemHour: function meridiemHour(hour, meridiem) {
  20754. if (hour === 12) {
  20755. hour = 0;
  20756. }
  20757. if (meridiem === 'રાત') {
  20758. return hour < 4 ? hour : hour + 12;
  20759. } else if (meridiem === 'સવાર') {
  20760. return hour;
  20761. } else if (meridiem === 'બપોર') {
  20762. return hour >= 10 ? hour : hour + 12;
  20763. } else if (meridiem === 'સાંજ') {
  20764. return hour + 12;
  20765. }
  20766. },
  20767. meridiem: function meridiem(hour, minute, isLower) {
  20768. if (hour < 4) {
  20769. return 'રાત';
  20770. } else if (hour < 10) {
  20771. return 'સવાર';
  20772. } else if (hour < 17) {
  20773. return 'બપોર';
  20774. } else if (hour < 20) {
  20775. return 'સાંજ';
  20776. } else {
  20777. return 'રાત';
  20778. }
  20779. },
  20780. week: {
  20781. dow: 0,
  20782. // Sunday is the first day of the week.
  20783. doy: 6 // The week that contains Jan 6th is the first week of the year.
  20784. }
  20785. });
  20786. return gu;
  20787. });
  20788. /***/ }),
  20789. /* 111 */
  20790. /*!***********************************************************************!*\
  20791. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/he.js ***!
  20792. \***********************************************************************/
  20793. /*! no static exports found */
  20794. /***/ (function(module, exports, __webpack_require__) {
  20795. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20796. //! moment.js locale configuration
  20797. //! locale : Hebrew [he]
  20798. //! author : Tomer Cohen : https://github.com/tomer
  20799. //! author : Moshe Simantov : https://github.com/DevelopmentIL
  20800. //! author : Tal Ater : https://github.com/TalAter
  20801. ;
  20802. (function (global, factory) {
  20803. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20804. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20805. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20806. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20807. })(this, function (moment) {
  20808. 'use strict';
  20809. //! moment.js locale configuration
  20810. var he = moment.defineLocale('he', {
  20811. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
  20812. monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
  20813. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  20814. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  20815. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  20816. longDateFormat: {
  20817. LT: 'HH:mm',
  20818. LTS: 'HH:mm:ss',
  20819. L: 'DD/MM/YYYY',
  20820. LL: 'D [ב]MMMM YYYY',
  20821. LLL: 'D [ב]MMMM YYYY HH:mm',
  20822. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  20823. l: 'D/M/YYYY',
  20824. ll: 'D MMM YYYY',
  20825. lll: 'D MMM YYYY HH:mm',
  20826. llll: 'ddd, D MMM YYYY HH:mm'
  20827. },
  20828. calendar: {
  20829. sameDay: '[היום ב־]LT',
  20830. nextDay: '[מחר ב־]LT',
  20831. nextWeek: 'dddd [בשעה] LT',
  20832. lastDay: '[אתמול ב־]LT',
  20833. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  20834. sameElse: 'L'
  20835. },
  20836. relativeTime: {
  20837. future: 'בעוד %s',
  20838. past: 'לפני %s',
  20839. s: 'מספר שניות',
  20840. ss: '%d שניות',
  20841. m: 'דקה',
  20842. mm: '%d דקות',
  20843. h: 'שעה',
  20844. hh: function hh(number) {
  20845. if (number === 2) {
  20846. return 'שעתיים';
  20847. }
  20848. return number + ' שעות';
  20849. },
  20850. d: 'יום',
  20851. dd: function dd(number) {
  20852. if (number === 2) {
  20853. return 'יומיים';
  20854. }
  20855. return number + ' ימים';
  20856. },
  20857. M: 'חודש',
  20858. MM: function MM(number) {
  20859. if (number === 2) {
  20860. return 'חודשיים';
  20861. }
  20862. return number + ' חודשים';
  20863. },
  20864. y: 'שנה',
  20865. yy: function yy(number) {
  20866. if (number === 2) {
  20867. return 'שנתיים';
  20868. } else if (number % 10 === 0 && number !== 10) {
  20869. return number + ' שנה';
  20870. }
  20871. return number + ' שנים';
  20872. }
  20873. },
  20874. meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  20875. isPM: function isPM(input) {
  20876. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  20877. },
  20878. meridiem: function meridiem(hour, minute, isLower) {
  20879. if (hour < 5) {
  20880. return 'לפנות בוקר';
  20881. } else if (hour < 10) {
  20882. return 'בבוקר';
  20883. } else if (hour < 12) {
  20884. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  20885. } else if (hour < 18) {
  20886. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  20887. } else {
  20888. return 'בערב';
  20889. }
  20890. }
  20891. });
  20892. return he;
  20893. });
  20894. /***/ }),
  20895. /* 112 */
  20896. /*!***********************************************************************!*\
  20897. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/hi.js ***!
  20898. \***********************************************************************/
  20899. /*! no static exports found */
  20900. /***/ (function(module, exports, __webpack_require__) {
  20901. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20902. //! moment.js locale configuration
  20903. //! locale : Hindi [hi]
  20904. //! author : Mayank Singhal : https://github.com/mayanksinghal
  20905. ;
  20906. (function (global, factory) {
  20907. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  20908. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20909. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  20910. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20911. })(this, function (moment) {
  20912. 'use strict';
  20913. //! moment.js locale configuration
  20914. var symbolMap = {
  20915. 1: '१',
  20916. 2: '२',
  20917. 3: '३',
  20918. 4: '४',
  20919. 5: '५',
  20920. 6: '६',
  20921. 7: '७',
  20922. 8: '८',
  20923. 9: '९',
  20924. 0: '०'
  20925. },
  20926. numberMap = {
  20927. '१': '1',
  20928. '२': '2',
  20929. '३': '3',
  20930. '४': '4',
  20931. '५': '5',
  20932. '६': '6',
  20933. '७': '7',
  20934. '८': '8',
  20935. '९': '9',
  20936. '०': '0'
  20937. },
  20938. monthsParse = [/^जन/i, /^फ़र|फर/i, /^मार्च/i, /^अप्रै/i, /^मई/i, /^जून/i, /^जुल/i, /^अग/i, /^सितं|सित/i, /^अक्टू/i, /^नव|नवं/i, /^दिसं|दिस/i],
  20939. shortMonthsParse = [/^जन/i, /^फ़र/i, /^मार्च/i, /^अप्रै/i, /^मई/i, /^जून/i, /^जुल/i, /^अग/i, /^सित/i, /^अक्टू/i, /^नव/i, /^दिस/i];
  20940. var hi = moment.defineLocale('hi', {
  20941. months: {
  20942. format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'),
  20943. standalone: 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split('_')
  20944. },
  20945. monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'),
  20946. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  20947. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  20948. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  20949. longDateFormat: {
  20950. LT: 'A h:mm बजे',
  20951. LTS: 'A h:mm:ss बजे',
  20952. L: 'DD/MM/YYYY',
  20953. LL: 'D MMMM YYYY',
  20954. LLL: 'D MMMM YYYY, A h:mm बजे',
  20955. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे'
  20956. },
  20957. monthsParse: monthsParse,
  20958. longMonthsParse: monthsParse,
  20959. shortMonthsParse: shortMonthsParse,
  20960. monthsRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  20961. monthsShortRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  20962. monthsStrictRegex: /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
  20963. monthsShortStrictRegex: /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
  20964. calendar: {
  20965. sameDay: '[आज] LT',
  20966. nextDay: '[कल] LT',
  20967. nextWeek: 'dddd, LT',
  20968. lastDay: '[कल] LT',
  20969. lastWeek: '[पिछले] dddd, LT',
  20970. sameElse: 'L'
  20971. },
  20972. relativeTime: {
  20973. future: '%s में',
  20974. past: '%s पहले',
  20975. s: 'कुछ ही क्षण',
  20976. ss: '%d सेकंड',
  20977. m: 'एक मिनट',
  20978. mm: '%d मिनट',
  20979. h: 'एक घंटा',
  20980. hh: '%d घंटे',
  20981. d: 'एक दिन',
  20982. dd: '%d दिन',
  20983. M: 'एक महीने',
  20984. MM: '%d महीने',
  20985. y: 'एक वर्ष',
  20986. yy: '%d वर्ष'
  20987. },
  20988. preparse: function preparse(string) {
  20989. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  20990. return numberMap[match];
  20991. });
  20992. },
  20993. postformat: function postformat(string) {
  20994. return string.replace(/\d/g, function (match) {
  20995. return symbolMap[match];
  20996. });
  20997. },
  20998. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  20999. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  21000. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  21001. meridiemHour: function meridiemHour(hour, meridiem) {
  21002. if (hour === 12) {
  21003. hour = 0;
  21004. }
  21005. if (meridiem === 'रात') {
  21006. return hour < 4 ? hour : hour + 12;
  21007. } else if (meridiem === 'सुबह') {
  21008. return hour;
  21009. } else if (meridiem === 'दोपहर') {
  21010. return hour >= 10 ? hour : hour + 12;
  21011. } else if (meridiem === 'शाम') {
  21012. return hour + 12;
  21013. }
  21014. },
  21015. meridiem: function meridiem(hour, minute, isLower) {
  21016. if (hour < 4) {
  21017. return 'रात';
  21018. } else if (hour < 10) {
  21019. return 'सुबह';
  21020. } else if (hour < 17) {
  21021. return 'दोपहर';
  21022. } else if (hour < 20) {
  21023. return 'शाम';
  21024. } else {
  21025. return 'रात';
  21026. }
  21027. },
  21028. week: {
  21029. dow: 0,
  21030. // Sunday is the first day of the week.
  21031. doy: 6 // The week that contains Jan 6th is the first week of the year.
  21032. }
  21033. });
  21034. return hi;
  21035. });
  21036. /***/ }),
  21037. /* 113 */
  21038. /*!***********************************************************************!*\
  21039. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/hr.js ***!
  21040. \***********************************************************************/
  21041. /*! no static exports found */
  21042. /***/ (function(module, exports, __webpack_require__) {
  21043. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21044. //! moment.js locale configuration
  21045. //! locale : Croatian [hr]
  21046. //! author : Bojan Marković : https://github.com/bmarkovic
  21047. ;
  21048. (function (global, factory) {
  21049. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21050. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21051. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21052. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21053. })(this, function (moment) {
  21054. 'use strict';
  21055. //! moment.js locale configuration
  21056. function translate(number, withoutSuffix, key) {
  21057. var result = number + ' ';
  21058. switch (key) {
  21059. case 'ss':
  21060. if (number === 1) {
  21061. result += 'sekunda';
  21062. } else if (number === 2 || number === 3 || number === 4) {
  21063. result += 'sekunde';
  21064. } else {
  21065. result += 'sekundi';
  21066. }
  21067. return result;
  21068. case 'm':
  21069. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  21070. case 'mm':
  21071. if (number === 1) {
  21072. result += 'minuta';
  21073. } else if (number === 2 || number === 3 || number === 4) {
  21074. result += 'minute';
  21075. } else {
  21076. result += 'minuta';
  21077. }
  21078. return result;
  21079. case 'h':
  21080. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  21081. case 'hh':
  21082. if (number === 1) {
  21083. result += 'sat';
  21084. } else if (number === 2 || number === 3 || number === 4) {
  21085. result += 'sata';
  21086. } else {
  21087. result += 'sati';
  21088. }
  21089. return result;
  21090. case 'dd':
  21091. if (number === 1) {
  21092. result += 'dan';
  21093. } else {
  21094. result += 'dana';
  21095. }
  21096. return result;
  21097. case 'MM':
  21098. if (number === 1) {
  21099. result += 'mjesec';
  21100. } else if (number === 2 || number === 3 || number === 4) {
  21101. result += 'mjeseca';
  21102. } else {
  21103. result += 'mjeseci';
  21104. }
  21105. return result;
  21106. case 'yy':
  21107. if (number === 1) {
  21108. result += 'godina';
  21109. } else if (number === 2 || number === 3 || number === 4) {
  21110. result += 'godine';
  21111. } else {
  21112. result += 'godina';
  21113. }
  21114. return result;
  21115. }
  21116. }
  21117. var hr = moment.defineLocale('hr', {
  21118. months: {
  21119. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'),
  21120. standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_')
  21121. },
  21122. monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
  21123. monthsParseExact: true,
  21124. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  21125. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  21126. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  21127. weekdaysParseExact: true,
  21128. longDateFormat: {
  21129. LT: 'H:mm',
  21130. LTS: 'H:mm:ss',
  21131. L: 'DD.MM.YYYY',
  21132. LL: 'Do MMMM YYYY',
  21133. LLL: 'Do MMMM YYYY H:mm',
  21134. LLLL: 'dddd, Do MMMM YYYY H:mm'
  21135. },
  21136. calendar: {
  21137. sameDay: '[danas u] LT',
  21138. nextDay: '[sutra u] LT',
  21139. nextWeek: function nextWeek() {
  21140. switch (this.day()) {
  21141. case 0:
  21142. return '[u] [nedjelju] [u] LT';
  21143. case 3:
  21144. return '[u] [srijedu] [u] LT';
  21145. case 6:
  21146. return '[u] [subotu] [u] LT';
  21147. case 1:
  21148. case 2:
  21149. case 4:
  21150. case 5:
  21151. return '[u] dddd [u] LT';
  21152. }
  21153. },
  21154. lastDay: '[jučer u] LT',
  21155. lastWeek: function lastWeek() {
  21156. switch (this.day()) {
  21157. case 0:
  21158. return '[prošlu] [nedjelju] [u] LT';
  21159. case 3:
  21160. return '[prošlu] [srijedu] [u] LT';
  21161. case 6:
  21162. return '[prošle] [subote] [u] LT';
  21163. case 1:
  21164. case 2:
  21165. case 4:
  21166. case 5:
  21167. return '[prošli] dddd [u] LT';
  21168. }
  21169. },
  21170. sameElse: 'L'
  21171. },
  21172. relativeTime: {
  21173. future: 'za %s',
  21174. past: 'prije %s',
  21175. s: 'par sekundi',
  21176. ss: translate,
  21177. m: translate,
  21178. mm: translate,
  21179. h: translate,
  21180. hh: translate,
  21181. d: 'dan',
  21182. dd: translate,
  21183. M: 'mjesec',
  21184. MM: translate,
  21185. y: 'godinu',
  21186. yy: translate
  21187. },
  21188. dayOfMonthOrdinalParse: /\d{1,2}\./,
  21189. ordinal: '%d.',
  21190. week: {
  21191. dow: 1,
  21192. // Monday is the first day of the week.
  21193. doy: 7 // The week that contains Jan 7th is the first week of the year.
  21194. }
  21195. });
  21196. return hr;
  21197. });
  21198. /***/ }),
  21199. /* 114 */
  21200. /*!***********************************************************************!*\
  21201. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/hu.js ***!
  21202. \***********************************************************************/
  21203. /*! no static exports found */
  21204. /***/ (function(module, exports, __webpack_require__) {
  21205. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21206. //! moment.js locale configuration
  21207. //! locale : Hungarian [hu]
  21208. //! author : Adam Brunner : https://github.com/adambrunner
  21209. //! author : Peter Viszt : https://github.com/passatgt
  21210. ;
  21211. (function (global, factory) {
  21212. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21213. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21214. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21215. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21216. })(this, function (moment) {
  21217. 'use strict';
  21218. //! moment.js locale configuration
  21219. var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
  21220. function translate(number, withoutSuffix, key, isFuture) {
  21221. var num = number;
  21222. switch (key) {
  21223. case 's':
  21224. return isFuture || withoutSuffix ? 'néhány másodperc' : 'néhány másodperce';
  21225. case 'ss':
  21226. return num + (isFuture || withoutSuffix) ? ' másodperc' : ' másodperce';
  21227. case 'm':
  21228. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  21229. case 'mm':
  21230. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  21231. case 'h':
  21232. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  21233. case 'hh':
  21234. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  21235. case 'd':
  21236. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  21237. case 'dd':
  21238. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  21239. case 'M':
  21240. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  21241. case 'MM':
  21242. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  21243. case 'y':
  21244. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  21245. case 'yy':
  21246. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  21247. }
  21248. return '';
  21249. }
  21250. function week(isFuture) {
  21251. return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
  21252. }
  21253. var hu = moment.defineLocale('hu', {
  21254. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'),
  21255. monthsShort: 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split('_'),
  21256. monthsParseExact: true,
  21257. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  21258. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  21259. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  21260. longDateFormat: {
  21261. LT: 'H:mm',
  21262. LTS: 'H:mm:ss',
  21263. L: 'YYYY.MM.DD.',
  21264. LL: 'YYYY. MMMM D.',
  21265. LLL: 'YYYY. MMMM D. H:mm',
  21266. LLLL: 'YYYY. MMMM D., dddd H:mm'
  21267. },
  21268. meridiemParse: /de|du/i,
  21269. isPM: function isPM(input) {
  21270. return input.charAt(1).toLowerCase() === 'u';
  21271. },
  21272. meridiem: function meridiem(hours, minutes, isLower) {
  21273. if (hours < 12) {
  21274. return isLower === true ? 'de' : 'DE';
  21275. } else {
  21276. return isLower === true ? 'du' : 'DU';
  21277. }
  21278. },
  21279. calendar: {
  21280. sameDay: '[ma] LT[-kor]',
  21281. nextDay: '[holnap] LT[-kor]',
  21282. nextWeek: function nextWeek() {
  21283. return week.call(this, true);
  21284. },
  21285. lastDay: '[tegnap] LT[-kor]',
  21286. lastWeek: function lastWeek() {
  21287. return week.call(this, false);
  21288. },
  21289. sameElse: 'L'
  21290. },
  21291. relativeTime: {
  21292. future: '%s múlva',
  21293. past: '%s',
  21294. s: translate,
  21295. ss: translate,
  21296. m: translate,
  21297. mm: translate,
  21298. h: translate,
  21299. hh: translate,
  21300. d: translate,
  21301. dd: translate,
  21302. M: translate,
  21303. MM: translate,
  21304. y: translate,
  21305. yy: translate
  21306. },
  21307. dayOfMonthOrdinalParse: /\d{1,2}\./,
  21308. ordinal: '%d.',
  21309. week: {
  21310. dow: 1,
  21311. // Monday is the first day of the week.
  21312. doy: 4 // The week that contains Jan 4th is the first week of the year.
  21313. }
  21314. });
  21315. return hu;
  21316. });
  21317. /***/ }),
  21318. /* 115 */
  21319. /*!**************************************************************************!*\
  21320. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/hy-am.js ***!
  21321. \**************************************************************************/
  21322. /*! no static exports found */
  21323. /***/ (function(module, exports, __webpack_require__) {
  21324. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21325. //! moment.js locale configuration
  21326. //! locale : Armenian [hy-am]
  21327. //! author : Armendarabyan : https://github.com/armendarabyan
  21328. ;
  21329. (function (global, factory) {
  21330. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21331. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21332. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21333. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21334. })(this, function (moment) {
  21335. 'use strict';
  21336. //! moment.js locale configuration
  21337. var hyAm = moment.defineLocale('hy-am', {
  21338. months: {
  21339. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
  21340. standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
  21341. },
  21342. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  21343. weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
  21344. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  21345. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  21346. longDateFormat: {
  21347. LT: 'HH:mm',
  21348. LTS: 'HH:mm:ss',
  21349. L: 'DD.MM.YYYY',
  21350. LL: 'D MMMM YYYY թ.',
  21351. LLL: 'D MMMM YYYY թ., HH:mm',
  21352. LLLL: 'dddd, D MMMM YYYY թ., HH:mm'
  21353. },
  21354. calendar: {
  21355. sameDay: '[այսօր] LT',
  21356. nextDay: '[վաղը] LT',
  21357. lastDay: '[երեկ] LT',
  21358. nextWeek: function nextWeek() {
  21359. return 'dddd [օրը ժամը] LT';
  21360. },
  21361. lastWeek: function lastWeek() {
  21362. return '[անցած] dddd [օրը ժամը] LT';
  21363. },
  21364. sameElse: 'L'
  21365. },
  21366. relativeTime: {
  21367. future: '%s հետո',
  21368. past: '%s առաջ',
  21369. s: 'մի քանի վայրկյան',
  21370. ss: '%d վայրկյան',
  21371. m: 'րոպե',
  21372. mm: '%d րոպե',
  21373. h: 'ժամ',
  21374. hh: '%d ժամ',
  21375. d: 'օր',
  21376. dd: '%d օր',
  21377. M: 'ամիս',
  21378. MM: '%d ամիս',
  21379. y: 'տարի',
  21380. yy: '%d տարի'
  21381. },
  21382. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  21383. isPM: function isPM(input) {
  21384. return /^(ցերեկվա|երեկոյան)$/.test(input);
  21385. },
  21386. meridiem: function meridiem(hour) {
  21387. if (hour < 4) {
  21388. return 'գիշերվա';
  21389. } else if (hour < 12) {
  21390. return 'առավոտվա';
  21391. } else if (hour < 17) {
  21392. return 'ցերեկվա';
  21393. } else {
  21394. return 'երեկոյան';
  21395. }
  21396. },
  21397. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  21398. ordinal: function ordinal(number, period) {
  21399. switch (period) {
  21400. case 'DDD':
  21401. case 'w':
  21402. case 'W':
  21403. case 'DDDo':
  21404. if (number === 1) {
  21405. return number + '-ին';
  21406. }
  21407. return number + '-րդ';
  21408. default:
  21409. return number;
  21410. }
  21411. },
  21412. week: {
  21413. dow: 1,
  21414. // Monday is the first day of the week.
  21415. doy: 7 // The week that contains Jan 7th is the first week of the year.
  21416. }
  21417. });
  21418. return hyAm;
  21419. });
  21420. /***/ }),
  21421. /* 116 */
  21422. /*!***********************************************************************!*\
  21423. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/id.js ***!
  21424. \***********************************************************************/
  21425. /*! no static exports found */
  21426. /***/ (function(module, exports, __webpack_require__) {
  21427. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21428. //! moment.js locale configuration
  21429. //! locale : Indonesian [id]
  21430. //! author : Mohammad Satrio Utomo : https://github.com/tyok
  21431. //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
  21432. ;
  21433. (function (global, factory) {
  21434. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21435. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21436. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21437. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21438. })(this, function (moment) {
  21439. 'use strict';
  21440. //! moment.js locale configuration
  21441. var id = moment.defineLocale('id', {
  21442. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
  21443. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  21444. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  21445. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  21446. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  21447. longDateFormat: {
  21448. LT: 'HH.mm',
  21449. LTS: 'HH.mm.ss',
  21450. L: 'DD/MM/YYYY',
  21451. LL: 'D MMMM YYYY',
  21452. LLL: 'D MMMM YYYY [pukul] HH.mm',
  21453. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  21454. },
  21455. meridiemParse: /pagi|siang|sore|malam/,
  21456. meridiemHour: function meridiemHour(hour, meridiem) {
  21457. if (hour === 12) {
  21458. hour = 0;
  21459. }
  21460. if (meridiem === 'pagi') {
  21461. return hour;
  21462. } else if (meridiem === 'siang') {
  21463. return hour >= 11 ? hour : hour + 12;
  21464. } else if (meridiem === 'sore' || meridiem === 'malam') {
  21465. return hour + 12;
  21466. }
  21467. },
  21468. meridiem: function meridiem(hours, minutes, isLower) {
  21469. if (hours < 11) {
  21470. return 'pagi';
  21471. } else if (hours < 15) {
  21472. return 'siang';
  21473. } else if (hours < 19) {
  21474. return 'sore';
  21475. } else {
  21476. return 'malam';
  21477. }
  21478. },
  21479. calendar: {
  21480. sameDay: '[Hari ini pukul] LT',
  21481. nextDay: '[Besok pukul] LT',
  21482. nextWeek: 'dddd [pukul] LT',
  21483. lastDay: '[Kemarin pukul] LT',
  21484. lastWeek: 'dddd [lalu pukul] LT',
  21485. sameElse: 'L'
  21486. },
  21487. relativeTime: {
  21488. future: 'dalam %s',
  21489. past: '%s yang lalu',
  21490. s: 'beberapa detik',
  21491. ss: '%d detik',
  21492. m: 'semenit',
  21493. mm: '%d menit',
  21494. h: 'sejam',
  21495. hh: '%d jam',
  21496. d: 'sehari',
  21497. dd: '%d hari',
  21498. M: 'sebulan',
  21499. MM: '%d bulan',
  21500. y: 'setahun',
  21501. yy: '%d tahun'
  21502. },
  21503. week: {
  21504. dow: 0,
  21505. // Sunday is the first day of the week.
  21506. doy: 6 // The week that contains Jan 6th is the first week of the year.
  21507. }
  21508. });
  21509. return id;
  21510. });
  21511. /***/ }),
  21512. /* 117 */
  21513. /*!***********************************************************************!*\
  21514. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/is.js ***!
  21515. \***********************************************************************/
  21516. /*! no static exports found */
  21517. /***/ (function(module, exports, __webpack_require__) {
  21518. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21519. //! moment.js locale configuration
  21520. //! locale : Icelandic [is]
  21521. //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
  21522. ;
  21523. (function (global, factory) {
  21524. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21525. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21526. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21527. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21528. })(this, function (moment) {
  21529. 'use strict';
  21530. //! moment.js locale configuration
  21531. function plural(n) {
  21532. if (n % 100 === 11) {
  21533. return true;
  21534. } else if (n % 10 === 1) {
  21535. return false;
  21536. }
  21537. return true;
  21538. }
  21539. function translate(number, withoutSuffix, key, isFuture) {
  21540. var result = number + ' ';
  21541. switch (key) {
  21542. case 's':
  21543. return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
  21544. case 'ss':
  21545. if (plural(number)) {
  21546. return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');
  21547. }
  21548. return result + 'sekúnda';
  21549. case 'm':
  21550. return withoutSuffix ? 'mínúta' : 'mínútu';
  21551. case 'mm':
  21552. if (plural(number)) {
  21553. return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
  21554. } else if (withoutSuffix) {
  21555. return result + 'mínúta';
  21556. }
  21557. return result + 'mínútu';
  21558. case 'hh':
  21559. if (plural(number)) {
  21560. return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
  21561. }
  21562. return result + 'klukkustund';
  21563. case 'd':
  21564. if (withoutSuffix) {
  21565. return 'dagur';
  21566. }
  21567. return isFuture ? 'dag' : 'degi';
  21568. case 'dd':
  21569. if (plural(number)) {
  21570. if (withoutSuffix) {
  21571. return result + 'dagar';
  21572. }
  21573. return result + (isFuture ? 'daga' : 'dögum');
  21574. } else if (withoutSuffix) {
  21575. return result + 'dagur';
  21576. }
  21577. return result + (isFuture ? 'dag' : 'degi');
  21578. case 'M':
  21579. if (withoutSuffix) {
  21580. return 'mánuður';
  21581. }
  21582. return isFuture ? 'mánuð' : 'mánuði';
  21583. case 'MM':
  21584. if (plural(number)) {
  21585. if (withoutSuffix) {
  21586. return result + 'mánuðir';
  21587. }
  21588. return result + (isFuture ? 'mánuði' : 'mánuðum');
  21589. } else if (withoutSuffix) {
  21590. return result + 'mánuður';
  21591. }
  21592. return result + (isFuture ? 'mánuð' : 'mánuði');
  21593. case 'y':
  21594. return withoutSuffix || isFuture ? 'ár' : 'ári';
  21595. case 'yy':
  21596. if (plural(number)) {
  21597. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  21598. }
  21599. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  21600. }
  21601. }
  21602. var is = moment.defineLocale('is', {
  21603. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
  21604. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  21605. weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
  21606. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  21607. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  21608. longDateFormat: {
  21609. LT: 'H:mm',
  21610. LTS: 'H:mm:ss',
  21611. L: 'DD.MM.YYYY',
  21612. LL: 'D. MMMM YYYY',
  21613. LLL: 'D. MMMM YYYY [kl.] H:mm',
  21614. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm'
  21615. },
  21616. calendar: {
  21617. sameDay: '[í dag kl.] LT',
  21618. nextDay: '[á morgun kl.] LT',
  21619. nextWeek: 'dddd [kl.] LT',
  21620. lastDay: '[í gær kl.] LT',
  21621. lastWeek: '[síðasta] dddd [kl.] LT',
  21622. sameElse: 'L'
  21623. },
  21624. relativeTime: {
  21625. future: 'eftir %s',
  21626. past: 'fyrir %s síðan',
  21627. s: translate,
  21628. ss: translate,
  21629. m: translate,
  21630. mm: translate,
  21631. h: 'klukkustund',
  21632. hh: translate,
  21633. d: translate,
  21634. dd: translate,
  21635. M: translate,
  21636. MM: translate,
  21637. y: translate,
  21638. yy: translate
  21639. },
  21640. dayOfMonthOrdinalParse: /\d{1,2}\./,
  21641. ordinal: '%d.',
  21642. week: {
  21643. dow: 1,
  21644. // Monday is the first day of the week.
  21645. doy: 4 // The week that contains Jan 4th is the first week of the year.
  21646. }
  21647. });
  21648. return is;
  21649. });
  21650. /***/ }),
  21651. /* 118 */
  21652. /*!***********************************************************************!*\
  21653. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/it.js ***!
  21654. \***********************************************************************/
  21655. /*! no static exports found */
  21656. /***/ (function(module, exports, __webpack_require__) {
  21657. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21658. //! moment.js locale configuration
  21659. //! locale : Italian [it]
  21660. //! author : Lorenzo : https://github.com/aliem
  21661. //! author: Mattia Larentis: https://github.com/nostalgiaz
  21662. //! author: Marco : https://github.com/Manfre98
  21663. ;
  21664. (function (global, factory) {
  21665. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21666. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21667. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21668. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21669. })(this, function (moment) {
  21670. 'use strict';
  21671. //! moment.js locale configuration
  21672. var it = moment.defineLocale('it', {
  21673. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
  21674. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  21675. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
  21676. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  21677. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  21678. longDateFormat: {
  21679. LT: 'HH:mm',
  21680. LTS: 'HH:mm:ss',
  21681. L: 'DD/MM/YYYY',
  21682. LL: 'D MMMM YYYY',
  21683. LLL: 'D MMMM YYYY HH:mm',
  21684. LLLL: 'dddd D MMMM YYYY HH:mm'
  21685. },
  21686. calendar: {
  21687. sameDay: function sameDay() {
  21688. return '[Oggi a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21689. },
  21690. nextDay: function nextDay() {
  21691. return '[Domani a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21692. },
  21693. nextWeek: function nextWeek() {
  21694. return 'dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21695. },
  21696. lastDay: function lastDay() {
  21697. return '[Ieri a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21698. },
  21699. lastWeek: function lastWeek() {
  21700. switch (this.day()) {
  21701. case 0:
  21702. return '[La scorsa] dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21703. default:
  21704. return '[Lo scorso] dddd [a' + (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") + ']LT';
  21705. }
  21706. },
  21707. sameElse: 'L'
  21708. },
  21709. relativeTime: {
  21710. future: 'tra %s',
  21711. past: '%s fa',
  21712. s: 'alcuni secondi',
  21713. ss: '%d secondi',
  21714. m: 'un minuto',
  21715. mm: '%d minuti',
  21716. h: "un'ora",
  21717. hh: '%d ore',
  21718. d: 'un giorno',
  21719. dd: '%d giorni',
  21720. w: 'una settimana',
  21721. ww: '%d settimane',
  21722. M: 'un mese',
  21723. MM: '%d mesi',
  21724. y: 'un anno',
  21725. yy: '%d anni'
  21726. },
  21727. dayOfMonthOrdinalParse: /\d{1,2}º/,
  21728. ordinal: '%dº',
  21729. week: {
  21730. dow: 1,
  21731. // Monday is the first day of the week.
  21732. doy: 4 // The week that contains Jan 4th is the first week of the year.
  21733. }
  21734. });
  21735. return it;
  21736. });
  21737. /***/ }),
  21738. /* 119 */
  21739. /*!**************************************************************************!*\
  21740. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/it-ch.js ***!
  21741. \**************************************************************************/
  21742. /*! no static exports found */
  21743. /***/ (function(module, exports, __webpack_require__) {
  21744. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21745. //! moment.js locale configuration
  21746. //! locale : Italian (Switzerland) [it-ch]
  21747. //! author : xfh : https://github.com/xfh
  21748. ;
  21749. (function (global, factory) {
  21750. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21751. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21752. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21753. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21754. })(this, function (moment) {
  21755. 'use strict';
  21756. //! moment.js locale configuration
  21757. var itCh = moment.defineLocale('it-ch', {
  21758. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
  21759. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  21760. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
  21761. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  21762. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  21763. longDateFormat: {
  21764. LT: 'HH:mm',
  21765. LTS: 'HH:mm:ss',
  21766. L: 'DD.MM.YYYY',
  21767. LL: 'D MMMM YYYY',
  21768. LLL: 'D MMMM YYYY HH:mm',
  21769. LLLL: 'dddd D MMMM YYYY HH:mm'
  21770. },
  21771. calendar: {
  21772. sameDay: '[Oggi alle] LT',
  21773. nextDay: '[Domani alle] LT',
  21774. nextWeek: 'dddd [alle] LT',
  21775. lastDay: '[Ieri alle] LT',
  21776. lastWeek: function lastWeek() {
  21777. switch (this.day()) {
  21778. case 0:
  21779. return '[la scorsa] dddd [alle] LT';
  21780. default:
  21781. return '[lo scorso] dddd [alle] LT';
  21782. }
  21783. },
  21784. sameElse: 'L'
  21785. },
  21786. relativeTime: {
  21787. future: function future(s) {
  21788. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  21789. },
  21790. past: '%s fa',
  21791. s: 'alcuni secondi',
  21792. ss: '%d secondi',
  21793. m: 'un minuto',
  21794. mm: '%d minuti',
  21795. h: "un'ora",
  21796. hh: '%d ore',
  21797. d: 'un giorno',
  21798. dd: '%d giorni',
  21799. M: 'un mese',
  21800. MM: '%d mesi',
  21801. y: 'un anno',
  21802. yy: '%d anni'
  21803. },
  21804. dayOfMonthOrdinalParse: /\d{1,2}º/,
  21805. ordinal: '%dº',
  21806. week: {
  21807. dow: 1,
  21808. // Monday is the first day of the week.
  21809. doy: 4 // The week that contains Jan 4th is the first week of the year.
  21810. }
  21811. });
  21812. return itCh;
  21813. });
  21814. /***/ }),
  21815. /* 120 */
  21816. /*!***********************************************************************!*\
  21817. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ja.js ***!
  21818. \***********************************************************************/
  21819. /*! no static exports found */
  21820. /***/ (function(module, exports, __webpack_require__) {
  21821. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21822. //! moment.js locale configuration
  21823. //! locale : Japanese [ja]
  21824. //! author : LI Long : https://github.com/baryon
  21825. ;
  21826. (function (global, factory) {
  21827. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21828. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21829. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21830. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21831. })(this, function (moment) {
  21832. 'use strict';
  21833. //! moment.js locale configuration
  21834. var ja = moment.defineLocale('ja', {
  21835. eras: [{
  21836. since: '2019-05-01',
  21837. offset: 1,
  21838. name: '令和',
  21839. narrow: '㋿',
  21840. abbr: 'R'
  21841. }, {
  21842. since: '1989-01-08',
  21843. until: '2019-04-30',
  21844. offset: 1,
  21845. name: '平成',
  21846. narrow: '㍻',
  21847. abbr: 'H'
  21848. }, {
  21849. since: '1926-12-25',
  21850. until: '1989-01-07',
  21851. offset: 1,
  21852. name: '昭和',
  21853. narrow: '㍼',
  21854. abbr: 'S'
  21855. }, {
  21856. since: '1912-07-30',
  21857. until: '1926-12-24',
  21858. offset: 1,
  21859. name: '大正',
  21860. narrow: '㍽',
  21861. abbr: 'T'
  21862. }, {
  21863. since: '1873-01-01',
  21864. until: '1912-07-29',
  21865. offset: 6,
  21866. name: '明治',
  21867. narrow: '㍾',
  21868. abbr: 'M'
  21869. }, {
  21870. since: '0001-01-01',
  21871. until: '1873-12-31',
  21872. offset: 1,
  21873. name: '西暦',
  21874. narrow: 'AD',
  21875. abbr: 'AD'
  21876. }, {
  21877. since: '0000-12-31',
  21878. until: -Infinity,
  21879. offset: 1,
  21880. name: '紀元前',
  21881. narrow: 'BC',
  21882. abbr: 'BC'
  21883. }],
  21884. eraYearOrdinalRegex: /(元|\d+)年/,
  21885. eraYearOrdinalParse: function eraYearOrdinalParse(input, match) {
  21886. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  21887. },
  21888. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  21889. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  21890. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  21891. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  21892. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  21893. longDateFormat: {
  21894. LT: 'HH:mm',
  21895. LTS: 'HH:mm:ss',
  21896. L: 'YYYY/MM/DD',
  21897. LL: 'YYYY年M月D日',
  21898. LLL: 'YYYY年M月D日 HH:mm',
  21899. LLLL: 'YYYY年M月D日 dddd HH:mm',
  21900. l: 'YYYY/MM/DD',
  21901. ll: 'YYYY年M月D日',
  21902. lll: 'YYYY年M月D日 HH:mm',
  21903. llll: 'YYYY年M月D日(ddd) HH:mm'
  21904. },
  21905. meridiemParse: /午前|午後/i,
  21906. isPM: function isPM(input) {
  21907. return input === '午後';
  21908. },
  21909. meridiem: function meridiem(hour, minute, isLower) {
  21910. if (hour < 12) {
  21911. return '午前';
  21912. } else {
  21913. return '午後';
  21914. }
  21915. },
  21916. calendar: {
  21917. sameDay: '[今日] LT',
  21918. nextDay: '[明日] LT',
  21919. nextWeek: function nextWeek(now) {
  21920. if (now.week() !== this.week()) {
  21921. return '[来週]dddd LT';
  21922. } else {
  21923. return 'dddd LT';
  21924. }
  21925. },
  21926. lastDay: '[昨日] LT',
  21927. lastWeek: function lastWeek(now) {
  21928. if (this.week() !== now.week()) {
  21929. return '[先週]dddd LT';
  21930. } else {
  21931. return 'dddd LT';
  21932. }
  21933. },
  21934. sameElse: 'L'
  21935. },
  21936. dayOfMonthOrdinalParse: /\d{1,2}日/,
  21937. ordinal: function ordinal(number, period) {
  21938. switch (period) {
  21939. case 'y':
  21940. return number === 1 ? '元年' : number + '年';
  21941. case 'd':
  21942. case 'D':
  21943. case 'DDD':
  21944. return number + '日';
  21945. default:
  21946. return number;
  21947. }
  21948. },
  21949. relativeTime: {
  21950. future: '%s後',
  21951. past: '%s前',
  21952. s: '数秒',
  21953. ss: '%d秒',
  21954. m: '1分',
  21955. mm: '%d分',
  21956. h: '1時間',
  21957. hh: '%d時間',
  21958. d: '1日',
  21959. dd: '%d日',
  21960. M: '1ヶ月',
  21961. MM: '%dヶ月',
  21962. y: '1年',
  21963. yy: '%d年'
  21964. }
  21965. });
  21966. return ja;
  21967. });
  21968. /***/ }),
  21969. /* 121 */
  21970. /*!***********************************************************************!*\
  21971. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/jv.js ***!
  21972. \***********************************************************************/
  21973. /*! no static exports found */
  21974. /***/ (function(module, exports, __webpack_require__) {
  21975. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  21976. //! moment.js locale configuration
  21977. //! locale : Javanese [jv]
  21978. //! author : Rony Lantip : https://github.com/lantip
  21979. //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
  21980. ;
  21981. (function (global, factory) {
  21982. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  21983. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  21984. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  21985. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  21986. })(this, function (moment) {
  21987. 'use strict';
  21988. //! moment.js locale configuration
  21989. var jv = moment.defineLocale('jv', {
  21990. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'),
  21991. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  21992. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  21993. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  21994. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  21995. longDateFormat: {
  21996. LT: 'HH.mm',
  21997. LTS: 'HH.mm.ss',
  21998. L: 'DD/MM/YYYY',
  21999. LL: 'D MMMM YYYY',
  22000. LLL: 'D MMMM YYYY [pukul] HH.mm',
  22001. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  22002. },
  22003. meridiemParse: /enjing|siyang|sonten|ndalu/,
  22004. meridiemHour: function meridiemHour(hour, meridiem) {
  22005. if (hour === 12) {
  22006. hour = 0;
  22007. }
  22008. if (meridiem === 'enjing') {
  22009. return hour;
  22010. } else if (meridiem === 'siyang') {
  22011. return hour >= 11 ? hour : hour + 12;
  22012. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  22013. return hour + 12;
  22014. }
  22015. },
  22016. meridiem: function meridiem(hours, minutes, isLower) {
  22017. if (hours < 11) {
  22018. return 'enjing';
  22019. } else if (hours < 15) {
  22020. return 'siyang';
  22021. } else if (hours < 19) {
  22022. return 'sonten';
  22023. } else {
  22024. return 'ndalu';
  22025. }
  22026. },
  22027. calendar: {
  22028. sameDay: '[Dinten puniko pukul] LT',
  22029. nextDay: '[Mbenjang pukul] LT',
  22030. nextWeek: 'dddd [pukul] LT',
  22031. lastDay: '[Kala wingi pukul] LT',
  22032. lastWeek: 'dddd [kepengker pukul] LT',
  22033. sameElse: 'L'
  22034. },
  22035. relativeTime: {
  22036. future: 'wonten ing %s',
  22037. past: '%s ingkang kepengker',
  22038. s: 'sawetawis detik',
  22039. ss: '%d detik',
  22040. m: 'setunggal menit',
  22041. mm: '%d menit',
  22042. h: 'setunggal jam',
  22043. hh: '%d jam',
  22044. d: 'sedinten',
  22045. dd: '%d dinten',
  22046. M: 'sewulan',
  22047. MM: '%d wulan',
  22048. y: 'setaun',
  22049. yy: '%d taun'
  22050. },
  22051. week: {
  22052. dow: 1,
  22053. // Monday is the first day of the week.
  22054. doy: 7 // The week that contains Jan 7th is the first week of the year.
  22055. }
  22056. });
  22057. return jv;
  22058. });
  22059. /***/ }),
  22060. /* 122 */
  22061. /*!***********************************************************************!*\
  22062. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ka.js ***!
  22063. \***********************************************************************/
  22064. /*! no static exports found */
  22065. /***/ (function(module, exports, __webpack_require__) {
  22066. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22067. //! moment.js locale configuration
  22068. //! locale : Georgian [ka]
  22069. //! author : Irakli Janiashvili : https://github.com/IrakliJani
  22070. ;
  22071. (function (global, factory) {
  22072. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22073. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22074. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22075. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22076. })(this, function (moment) {
  22077. 'use strict';
  22078. //! moment.js locale configuration
  22079. var ka = moment.defineLocale('ka', {
  22080. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'),
  22081. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  22082. weekdays: {
  22083. standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'),
  22084. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'),
  22085. isFormat: /(წინა|შემდეგ)/
  22086. },
  22087. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  22088. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  22089. longDateFormat: {
  22090. LT: 'HH:mm',
  22091. LTS: 'HH:mm:ss',
  22092. L: 'DD/MM/YYYY',
  22093. LL: 'D MMMM YYYY',
  22094. LLL: 'D MMMM YYYY HH:mm',
  22095. LLLL: 'dddd, D MMMM YYYY HH:mm'
  22096. },
  22097. calendar: {
  22098. sameDay: '[დღეს] LT[-ზე]',
  22099. nextDay: '[ხვალ] LT[-ზე]',
  22100. lastDay: '[გუშინ] LT[-ზე]',
  22101. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  22102. lastWeek: '[წინა] dddd LT-ზე',
  22103. sameElse: 'L'
  22104. },
  22105. relativeTime: {
  22106. future: function future(s) {
  22107. return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function ($0, $1, $2) {
  22108. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  22109. });
  22110. },
  22111. past: function past(s) {
  22112. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  22113. return s.replace(/(ი|ე)$/, 'ის წინ');
  22114. }
  22115. if (/წელი/.test(s)) {
  22116. return s.replace(/წელი$/, 'წლის წინ');
  22117. }
  22118. return s;
  22119. },
  22120. s: 'რამდენიმე წამი',
  22121. ss: '%d წამი',
  22122. m: 'წუთი',
  22123. mm: '%d წუთი',
  22124. h: 'საათი',
  22125. hh: '%d საათი',
  22126. d: 'დღე',
  22127. dd: '%d დღე',
  22128. M: 'თვე',
  22129. MM: '%d თვე',
  22130. y: 'წელი',
  22131. yy: '%d წელი'
  22132. },
  22133. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  22134. ordinal: function ordinal(number) {
  22135. if (number === 0) {
  22136. return number;
  22137. }
  22138. if (number === 1) {
  22139. return number + '-ლი';
  22140. }
  22141. if (number < 20 || number <= 100 && number % 20 === 0 || number % 100 === 0) {
  22142. return 'მე-' + number;
  22143. }
  22144. return number + '-ე';
  22145. },
  22146. week: {
  22147. dow: 1,
  22148. doy: 7
  22149. }
  22150. });
  22151. return ka;
  22152. });
  22153. /***/ }),
  22154. /* 123 */
  22155. /*!***********************************************************************!*\
  22156. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/kk.js ***!
  22157. \***********************************************************************/
  22158. /*! no static exports found */
  22159. /***/ (function(module, exports, __webpack_require__) {
  22160. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22161. //! moment.js locale configuration
  22162. //! locale : Kazakh [kk]
  22163. //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
  22164. ;
  22165. (function (global, factory) {
  22166. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22167. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22168. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22169. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22170. })(this, function (moment) {
  22171. 'use strict';
  22172. //! moment.js locale configuration
  22173. var suffixes = {
  22174. 0: '-ші',
  22175. 1: '-ші',
  22176. 2: '-ші',
  22177. 3: '-ші',
  22178. 4: '-ші',
  22179. 5: '-ші',
  22180. 6: '-шы',
  22181. 7: '-ші',
  22182. 8: '-ші',
  22183. 9: '-шы',
  22184. 10: '-шы',
  22185. 20: '-шы',
  22186. 30: '-шы',
  22187. 40: '-шы',
  22188. 50: '-ші',
  22189. 60: '-шы',
  22190. 70: '-ші',
  22191. 80: '-ші',
  22192. 90: '-шы',
  22193. 100: '-ші'
  22194. };
  22195. var kk = moment.defineLocale('kk', {
  22196. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'),
  22197. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  22198. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'),
  22199. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  22200. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  22201. longDateFormat: {
  22202. LT: 'HH:mm',
  22203. LTS: 'HH:mm:ss',
  22204. L: 'DD.MM.YYYY',
  22205. LL: 'D MMMM YYYY',
  22206. LLL: 'D MMMM YYYY HH:mm',
  22207. LLLL: 'dddd, D MMMM YYYY HH:mm'
  22208. },
  22209. calendar: {
  22210. sameDay: '[Бүгін сағат] LT',
  22211. nextDay: '[Ертең сағат] LT',
  22212. nextWeek: 'dddd [сағат] LT',
  22213. lastDay: '[Кеше сағат] LT',
  22214. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  22215. sameElse: 'L'
  22216. },
  22217. relativeTime: {
  22218. future: '%s ішінде',
  22219. past: '%s бұрын',
  22220. s: 'бірнеше секунд',
  22221. ss: '%d секунд',
  22222. m: 'бір минут',
  22223. mm: '%d минут',
  22224. h: 'бір сағат',
  22225. hh: '%d сағат',
  22226. d: 'бір күн',
  22227. dd: '%d күн',
  22228. M: 'бір ай',
  22229. MM: '%d ай',
  22230. y: 'бір жыл',
  22231. yy: '%d жыл'
  22232. },
  22233. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  22234. ordinal: function ordinal(number) {
  22235. var a = number % 10,
  22236. b = number >= 100 ? 100 : null;
  22237. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  22238. },
  22239. week: {
  22240. dow: 1,
  22241. // Monday is the first day of the week.
  22242. doy: 7 // The week that contains Jan 7th is the first week of the year.
  22243. }
  22244. });
  22245. return kk;
  22246. });
  22247. /***/ }),
  22248. /* 124 */
  22249. /*!***********************************************************************!*\
  22250. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/km.js ***!
  22251. \***********************************************************************/
  22252. /*! no static exports found */
  22253. /***/ (function(module, exports, __webpack_require__) {
  22254. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22255. //! moment.js locale configuration
  22256. //! locale : Cambodian [km]
  22257. //! author : Kruy Vanna : https://github.com/kruyvanna
  22258. ;
  22259. (function (global, factory) {
  22260. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22261. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22262. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22263. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22264. })(this, function (moment) {
  22265. 'use strict';
  22266. //! moment.js locale configuration
  22267. var symbolMap = {
  22268. 1: '១',
  22269. 2: '២',
  22270. 3: '៣',
  22271. 4: '៤',
  22272. 5: '៥',
  22273. 6: '៦',
  22274. 7: '៧',
  22275. 8: '៨',
  22276. 9: '៩',
  22277. 0: '០'
  22278. },
  22279. numberMap = {
  22280. '១': '1',
  22281. '២': '2',
  22282. '៣': '3',
  22283. '៤': '4',
  22284. '៥': '5',
  22285. '៦': '6',
  22286. '៧': '7',
  22287. '៨': '8',
  22288. '៩': '9',
  22289. '០': '0'
  22290. };
  22291. var km = moment.defineLocale('km', {
  22292. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  22293. monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'),
  22294. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  22295. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  22296. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  22297. weekdaysParseExact: true,
  22298. longDateFormat: {
  22299. LT: 'HH:mm',
  22300. LTS: 'HH:mm:ss',
  22301. L: 'DD/MM/YYYY',
  22302. LL: 'D MMMM YYYY',
  22303. LLL: 'D MMMM YYYY HH:mm',
  22304. LLLL: 'dddd, D MMMM YYYY HH:mm'
  22305. },
  22306. meridiemParse: /ព្រឹក|ល្ងាច/,
  22307. isPM: function isPM(input) {
  22308. return input === 'ល្ងាច';
  22309. },
  22310. meridiem: function meridiem(hour, minute, isLower) {
  22311. if (hour < 12) {
  22312. return 'ព្រឹក';
  22313. } else {
  22314. return 'ល្ងាច';
  22315. }
  22316. },
  22317. calendar: {
  22318. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  22319. nextDay: '[ស្អែក ម៉ោង] LT',
  22320. nextWeek: 'dddd [ម៉ោង] LT',
  22321. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  22322. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  22323. sameElse: 'L'
  22324. },
  22325. relativeTime: {
  22326. future: '%sទៀត',
  22327. past: '%sមុន',
  22328. s: 'ប៉ុន្មានវិនាទី',
  22329. ss: '%d វិនាទី',
  22330. m: 'មួយនាទី',
  22331. mm: '%d នាទី',
  22332. h: 'មួយម៉ោង',
  22333. hh: '%d ម៉ោង',
  22334. d: 'មួយថ្ងៃ',
  22335. dd: '%d ថ្ងៃ',
  22336. M: 'មួយខែ',
  22337. MM: '%d ខែ',
  22338. y: 'មួយឆ្នាំ',
  22339. yy: '%d ឆ្នាំ'
  22340. },
  22341. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  22342. ordinal: 'ទី%d',
  22343. preparse: function preparse(string) {
  22344. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  22345. return numberMap[match];
  22346. });
  22347. },
  22348. postformat: function postformat(string) {
  22349. return string.replace(/\d/g, function (match) {
  22350. return symbolMap[match];
  22351. });
  22352. },
  22353. week: {
  22354. dow: 1,
  22355. // Monday is the first day of the week.
  22356. doy: 4 // The week that contains Jan 4th is the first week of the year.
  22357. }
  22358. });
  22359. return km;
  22360. });
  22361. /***/ }),
  22362. /* 125 */
  22363. /*!***********************************************************************!*\
  22364. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/kn.js ***!
  22365. \***********************************************************************/
  22366. /*! no static exports found */
  22367. /***/ (function(module, exports, __webpack_require__) {
  22368. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22369. //! moment.js locale configuration
  22370. //! locale : Kannada [kn]
  22371. //! author : Rajeev Naik : https://github.com/rajeevnaikte
  22372. ;
  22373. (function (global, factory) {
  22374. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22375. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22376. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22377. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22378. })(this, function (moment) {
  22379. 'use strict';
  22380. //! moment.js locale configuration
  22381. var symbolMap = {
  22382. 1: '೧',
  22383. 2: '೨',
  22384. 3: '೩',
  22385. 4: '೪',
  22386. 5: '೫',
  22387. 6: '೬',
  22388. 7: '೭',
  22389. 8: '೮',
  22390. 9: '೯',
  22391. 0: '೦'
  22392. },
  22393. numberMap = {
  22394. '೧': '1',
  22395. '೨': '2',
  22396. '೩': '3',
  22397. '೪': '4',
  22398. '೫': '5',
  22399. '೬': '6',
  22400. '೭': '7',
  22401. '೮': '8',
  22402. '೯': '9',
  22403. '೦': '0'
  22404. };
  22405. var kn = moment.defineLocale('kn', {
  22406. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'),
  22407. monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'),
  22408. monthsParseExact: true,
  22409. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'),
  22410. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  22411. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  22412. longDateFormat: {
  22413. LT: 'A h:mm',
  22414. LTS: 'A h:mm:ss',
  22415. L: 'DD/MM/YYYY',
  22416. LL: 'D MMMM YYYY',
  22417. LLL: 'D MMMM YYYY, A h:mm',
  22418. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  22419. },
  22420. calendar: {
  22421. sameDay: '[ಇಂದು] LT',
  22422. nextDay: '[ನಾಳೆ] LT',
  22423. nextWeek: 'dddd, LT',
  22424. lastDay: '[ನಿನ್ನೆ] LT',
  22425. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  22426. sameElse: 'L'
  22427. },
  22428. relativeTime: {
  22429. future: '%s ನಂತರ',
  22430. past: '%s ಹಿಂದೆ',
  22431. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  22432. ss: '%d ಸೆಕೆಂಡುಗಳು',
  22433. m: 'ಒಂದು ನಿಮಿಷ',
  22434. mm: '%d ನಿಮಿಷ',
  22435. h: 'ಒಂದು ಗಂಟೆ',
  22436. hh: '%d ಗಂಟೆ',
  22437. d: 'ಒಂದು ದಿನ',
  22438. dd: '%d ದಿನ',
  22439. M: 'ಒಂದು ತಿಂಗಳು',
  22440. MM: '%d ತಿಂಗಳು',
  22441. y: 'ಒಂದು ವರ್ಷ',
  22442. yy: '%d ವರ್ಷ'
  22443. },
  22444. preparse: function preparse(string) {
  22445. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  22446. return numberMap[match];
  22447. });
  22448. },
  22449. postformat: function postformat(string) {
  22450. return string.replace(/\d/g, function (match) {
  22451. return symbolMap[match];
  22452. });
  22453. },
  22454. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  22455. meridiemHour: function meridiemHour(hour, meridiem) {
  22456. if (hour === 12) {
  22457. hour = 0;
  22458. }
  22459. if (meridiem === 'ರಾತ್ರಿ') {
  22460. return hour < 4 ? hour : hour + 12;
  22461. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  22462. return hour;
  22463. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  22464. return hour >= 10 ? hour : hour + 12;
  22465. } else if (meridiem === 'ಸಂಜೆ') {
  22466. return hour + 12;
  22467. }
  22468. },
  22469. meridiem: function meridiem(hour, minute, isLower) {
  22470. if (hour < 4) {
  22471. return 'ರಾತ್ರಿ';
  22472. } else if (hour < 10) {
  22473. return 'ಬೆಳಿಗ್ಗೆ';
  22474. } else if (hour < 17) {
  22475. return 'ಮಧ್ಯಾಹ್ನ';
  22476. } else if (hour < 20) {
  22477. return 'ಸಂಜೆ';
  22478. } else {
  22479. return 'ರಾತ್ರಿ';
  22480. }
  22481. },
  22482. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  22483. ordinal: function ordinal(number) {
  22484. return number + 'ನೇ';
  22485. },
  22486. week: {
  22487. dow: 0,
  22488. // Sunday is the first day of the week.
  22489. doy: 6 // The week that contains Jan 6th is the first week of the year.
  22490. }
  22491. });
  22492. return kn;
  22493. });
  22494. /***/ }),
  22495. /* 126 */
  22496. /*!***********************************************************************!*\
  22497. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ko.js ***!
  22498. \***********************************************************************/
  22499. /*! no static exports found */
  22500. /***/ (function(module, exports, __webpack_require__) {
  22501. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22502. //! moment.js locale configuration
  22503. //! locale : Korean [ko]
  22504. //! author : Kyungwook, Park : https://github.com/kyungw00k
  22505. //! author : Jeeeyul Lee <jeeeyul@gmail.com>
  22506. ;
  22507. (function (global, factory) {
  22508. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22509. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22510. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22511. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22512. })(this, function (moment) {
  22513. 'use strict';
  22514. //! moment.js locale configuration
  22515. var ko = moment.defineLocale('ko', {
  22516. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  22517. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  22518. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  22519. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  22520. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  22521. longDateFormat: {
  22522. LT: 'A h:mm',
  22523. LTS: 'A h:mm:ss',
  22524. L: 'YYYY.MM.DD.',
  22525. LL: 'YYYY년 MMMM D일',
  22526. LLL: 'YYYY년 MMMM D일 A h:mm',
  22527. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  22528. l: 'YYYY.MM.DD.',
  22529. ll: 'YYYY년 MMMM D일',
  22530. lll: 'YYYY년 MMMM D일 A h:mm',
  22531. llll: 'YYYY년 MMMM D일 dddd A h:mm'
  22532. },
  22533. calendar: {
  22534. sameDay: '오늘 LT',
  22535. nextDay: '내일 LT',
  22536. nextWeek: 'dddd LT',
  22537. lastDay: '어제 LT',
  22538. lastWeek: '지난주 dddd LT',
  22539. sameElse: 'L'
  22540. },
  22541. relativeTime: {
  22542. future: '%s 후',
  22543. past: '%s 전',
  22544. s: '몇 초',
  22545. ss: '%d초',
  22546. m: '1분',
  22547. mm: '%d분',
  22548. h: '한 시간',
  22549. hh: '%d시간',
  22550. d: '하루',
  22551. dd: '%d일',
  22552. M: '한 달',
  22553. MM: '%d달',
  22554. y: '일 년',
  22555. yy: '%d년'
  22556. },
  22557. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  22558. ordinal: function ordinal(number, period) {
  22559. switch (period) {
  22560. case 'd':
  22561. case 'D':
  22562. case 'DDD':
  22563. return number + '일';
  22564. case 'M':
  22565. return number + '월';
  22566. case 'w':
  22567. case 'W':
  22568. return number + '주';
  22569. default:
  22570. return number;
  22571. }
  22572. },
  22573. meridiemParse: /오전|오후/,
  22574. isPM: function isPM(token) {
  22575. return token === '오후';
  22576. },
  22577. meridiem: function meridiem(hour, minute, isUpper) {
  22578. return hour < 12 ? '오전' : '오후';
  22579. }
  22580. });
  22581. return ko;
  22582. });
  22583. /***/ }),
  22584. /* 127 */
  22585. /*!***********************************************************************!*\
  22586. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ku.js ***!
  22587. \***********************************************************************/
  22588. /*! no static exports found */
  22589. /***/ (function(module, exports, __webpack_require__) {
  22590. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22591. //! moment.js locale configuration
  22592. //! locale : Kurdish [ku]
  22593. //! author : Shahram Mebashar : https://github.com/ShahramMebashar
  22594. ;
  22595. (function (global, factory) {
  22596. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22597. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22598. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22599. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22600. })(this, function (moment) {
  22601. 'use strict';
  22602. //! moment.js locale configuration
  22603. var symbolMap = {
  22604. 1: '١',
  22605. 2: '٢',
  22606. 3: '٣',
  22607. 4: '٤',
  22608. 5: '٥',
  22609. 6: '٦',
  22610. 7: '٧',
  22611. 8: '٨',
  22612. 9: '٩',
  22613. 0: '٠'
  22614. },
  22615. numberMap = {
  22616. '١': '1',
  22617. '٢': '2',
  22618. '٣': '3',
  22619. '٤': '4',
  22620. '٥': '5',
  22621. '٦': '6',
  22622. '٧': '7',
  22623. '٨': '8',
  22624. '٩': '9',
  22625. '٠': '0'
  22626. },
  22627. months = ['کانونی دووەم', 'شوبات', 'ئازار', 'نیسان', 'ئایار', 'حوزەیران', 'تەمموز', 'ئاب', 'ئەیلوول', 'تشرینی یەكەم', 'تشرینی دووەم', 'كانونی یەکەم'];
  22628. var ku = moment.defineLocale('ku', {
  22629. months: months,
  22630. monthsShort: months,
  22631. weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split('_'),
  22632. weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split('_'),
  22633. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  22634. weekdaysParseExact: true,
  22635. longDateFormat: {
  22636. LT: 'HH:mm',
  22637. LTS: 'HH:mm:ss',
  22638. L: 'DD/MM/YYYY',
  22639. LL: 'D MMMM YYYY',
  22640. LLL: 'D MMMM YYYY HH:mm',
  22641. LLLL: 'dddd, D MMMM YYYY HH:mm'
  22642. },
  22643. meridiemParse: /ئێواره‌|به‌یانی/,
  22644. isPM: function isPM(input) {
  22645. return /ئێواره‌/.test(input);
  22646. },
  22647. meridiem: function meridiem(hour, minute, isLower) {
  22648. if (hour < 12) {
  22649. return 'به‌یانی';
  22650. } else {
  22651. return 'ئێواره‌';
  22652. }
  22653. },
  22654. calendar: {
  22655. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  22656. nextDay: '[به‌یانی كاتژمێر] LT',
  22657. nextWeek: 'dddd [كاتژمێر] LT',
  22658. lastDay: '[دوێنێ كاتژمێر] LT',
  22659. lastWeek: 'dddd [كاتژمێر] LT',
  22660. sameElse: 'L'
  22661. },
  22662. relativeTime: {
  22663. future: 'له‌ %s',
  22664. past: '%s',
  22665. s: 'چه‌ند چركه‌یه‌ك',
  22666. ss: 'چركه‌ %d',
  22667. m: 'یه‌ك خوله‌ك',
  22668. mm: '%d خوله‌ك',
  22669. h: 'یه‌ك كاتژمێر',
  22670. hh: '%d كاتژمێر',
  22671. d: 'یه‌ك ڕۆژ',
  22672. dd: '%d ڕۆژ',
  22673. M: 'یه‌ك مانگ',
  22674. MM: '%d مانگ',
  22675. y: 'یه‌ك ساڵ',
  22676. yy: '%d ساڵ'
  22677. },
  22678. preparse: function preparse(string) {
  22679. return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  22680. return numberMap[match];
  22681. }).replace(/،/g, ',');
  22682. },
  22683. postformat: function postformat(string) {
  22684. return string.replace(/\d/g, function (match) {
  22685. return symbolMap[match];
  22686. }).replace(/,/g, '،');
  22687. },
  22688. week: {
  22689. dow: 6,
  22690. // Saturday is the first day of the week.
  22691. doy: 12 // The week that contains Jan 12th is the first week of the year.
  22692. }
  22693. });
  22694. return ku;
  22695. });
  22696. /***/ }),
  22697. /* 128 */
  22698. /*!***********************************************************************!*\
  22699. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ky.js ***!
  22700. \***********************************************************************/
  22701. /*! no static exports found */
  22702. /***/ (function(module, exports, __webpack_require__) {
  22703. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22704. //! moment.js locale configuration
  22705. //! locale : Kyrgyz [ky]
  22706. //! author : Chyngyz Arystan uulu : https://github.com/chyngyz
  22707. ;
  22708. (function (global, factory) {
  22709. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22710. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22711. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22712. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22713. })(this, function (moment) {
  22714. 'use strict';
  22715. //! moment.js locale configuration
  22716. var suffixes = {
  22717. 0: '-чү',
  22718. 1: '-чи',
  22719. 2: '-чи',
  22720. 3: '-чү',
  22721. 4: '-чү',
  22722. 5: '-чи',
  22723. 6: '-чы',
  22724. 7: '-чи',
  22725. 8: '-чи',
  22726. 9: '-чу',
  22727. 10: '-чу',
  22728. 20: '-чы',
  22729. 30: '-чу',
  22730. 40: '-чы',
  22731. 50: '-чү',
  22732. 60: '-чы',
  22733. 70: '-чи',
  22734. 80: '-чи',
  22735. 90: '-чу',
  22736. 100: '-чү'
  22737. };
  22738. var ky = moment.defineLocale('ky', {
  22739. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'),
  22740. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'),
  22741. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'),
  22742. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  22743. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  22744. longDateFormat: {
  22745. LT: 'HH:mm',
  22746. LTS: 'HH:mm:ss',
  22747. L: 'DD.MM.YYYY',
  22748. LL: 'D MMMM YYYY',
  22749. LLL: 'D MMMM YYYY HH:mm',
  22750. LLLL: 'dddd, D MMMM YYYY HH:mm'
  22751. },
  22752. calendar: {
  22753. sameDay: '[Бүгүн саат] LT',
  22754. nextDay: '[Эртең саат] LT',
  22755. nextWeek: 'dddd [саат] LT',
  22756. lastDay: '[Кечээ саат] LT',
  22757. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  22758. sameElse: 'L'
  22759. },
  22760. relativeTime: {
  22761. future: '%s ичинде',
  22762. past: '%s мурун',
  22763. s: 'бирнече секунд',
  22764. ss: '%d секунд',
  22765. m: 'бир мүнөт',
  22766. mm: '%d мүнөт',
  22767. h: 'бир саат',
  22768. hh: '%d саат',
  22769. d: 'бир күн',
  22770. dd: '%d күн',
  22771. M: 'бир ай',
  22772. MM: '%d ай',
  22773. y: 'бир жыл',
  22774. yy: '%d жыл'
  22775. },
  22776. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  22777. ordinal: function ordinal(number) {
  22778. var a = number % 10,
  22779. b = number >= 100 ? 100 : null;
  22780. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  22781. },
  22782. week: {
  22783. dow: 1,
  22784. // Monday is the first day of the week.
  22785. doy: 7 // The week that contains Jan 7th is the first week of the year.
  22786. }
  22787. });
  22788. return ky;
  22789. });
  22790. /***/ }),
  22791. /* 129 */
  22792. /*!***********************************************************************!*\
  22793. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/lb.js ***!
  22794. \***********************************************************************/
  22795. /*! no static exports found */
  22796. /***/ (function(module, exports, __webpack_require__) {
  22797. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22798. //! moment.js locale configuration
  22799. //! locale : Luxembourgish [lb]
  22800. //! author : mweimerskirch : https://github.com/mweimerskirch
  22801. //! author : David Raison : https://github.com/kwisatz
  22802. ;
  22803. (function (global, factory) {
  22804. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22805. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22806. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22807. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22808. })(this, function (moment) {
  22809. 'use strict';
  22810. //! moment.js locale configuration
  22811. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  22812. var format = {
  22813. m: ['eng Minutt', 'enger Minutt'],
  22814. h: ['eng Stonn', 'enger Stonn'],
  22815. d: ['een Dag', 'engem Dag'],
  22816. M: ['ee Mount', 'engem Mount'],
  22817. y: ['ee Joer', 'engem Joer']
  22818. };
  22819. return withoutSuffix ? format[key][0] : format[key][1];
  22820. }
  22821. function processFutureTime(string) {
  22822. var number = string.substr(0, string.indexOf(' '));
  22823. if (eifelerRegelAppliesToNumber(number)) {
  22824. return 'a ' + string;
  22825. }
  22826. return 'an ' + string;
  22827. }
  22828. function processPastTime(string) {
  22829. var number = string.substr(0, string.indexOf(' '));
  22830. if (eifelerRegelAppliesToNumber(number)) {
  22831. return 'viru ' + string;
  22832. }
  22833. return 'virun ' + string;
  22834. }
  22835. /**
  22836. * Returns true if the word before the given number loses the '-n' ending.
  22837. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  22838. *
  22839. * @param number {integer}
  22840. * @returns {boolean}
  22841. */
  22842. function eifelerRegelAppliesToNumber(number) {
  22843. number = parseInt(number, 10);
  22844. if (isNaN(number)) {
  22845. return false;
  22846. }
  22847. if (number < 0) {
  22848. // Negative Number --> always true
  22849. return true;
  22850. } else if (number < 10) {
  22851. // Only 1 digit
  22852. if (4 <= number && number <= 7) {
  22853. return true;
  22854. }
  22855. return false;
  22856. } else if (number < 100) {
  22857. // 2 digits
  22858. var lastDigit = number % 10,
  22859. firstDigit = number / 10;
  22860. if (lastDigit === 0) {
  22861. return eifelerRegelAppliesToNumber(firstDigit);
  22862. }
  22863. return eifelerRegelAppliesToNumber(lastDigit);
  22864. } else if (number < 10000) {
  22865. // 3 or 4 digits --> recursively check first digit
  22866. while (number >= 10) {
  22867. number = number / 10;
  22868. }
  22869. return eifelerRegelAppliesToNumber(number);
  22870. } else {
  22871. // Anything larger than 4 digits: recursively check first n-3 digits
  22872. number = number / 1000;
  22873. return eifelerRegelAppliesToNumber(number);
  22874. }
  22875. }
  22876. var lb = moment.defineLocale('lb', {
  22877. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'),
  22878. monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'),
  22879. monthsParseExact: true,
  22880. weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'),
  22881. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  22882. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  22883. weekdaysParseExact: true,
  22884. longDateFormat: {
  22885. LT: 'H:mm [Auer]',
  22886. LTS: 'H:mm:ss [Auer]',
  22887. L: 'DD.MM.YYYY',
  22888. LL: 'D. MMMM YYYY',
  22889. LLL: 'D. MMMM YYYY H:mm [Auer]',
  22890. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]'
  22891. },
  22892. calendar: {
  22893. sameDay: '[Haut um] LT',
  22894. sameElse: 'L',
  22895. nextDay: '[Muer um] LT',
  22896. nextWeek: 'dddd [um] LT',
  22897. lastDay: '[Gëschter um] LT',
  22898. lastWeek: function lastWeek() {
  22899. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  22900. switch (this.day()) {
  22901. case 2:
  22902. case 4:
  22903. return '[Leschten] dddd [um] LT';
  22904. default:
  22905. return '[Leschte] dddd [um] LT';
  22906. }
  22907. }
  22908. },
  22909. relativeTime: {
  22910. future: processFutureTime,
  22911. past: processPastTime,
  22912. s: 'e puer Sekonnen',
  22913. ss: '%d Sekonnen',
  22914. m: processRelativeTime,
  22915. mm: '%d Minutten',
  22916. h: processRelativeTime,
  22917. hh: '%d Stonnen',
  22918. d: processRelativeTime,
  22919. dd: '%d Deeg',
  22920. M: processRelativeTime,
  22921. MM: '%d Méint',
  22922. y: processRelativeTime,
  22923. yy: '%d Joer'
  22924. },
  22925. dayOfMonthOrdinalParse: /\d{1,2}\./,
  22926. ordinal: '%d.',
  22927. week: {
  22928. dow: 1,
  22929. // Monday is the first day of the week.
  22930. doy: 4 // The week that contains Jan 4th is the first week of the year.
  22931. }
  22932. });
  22933. return lb;
  22934. });
  22935. /***/ }),
  22936. /* 130 */
  22937. /*!***********************************************************************!*\
  22938. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/lo.js ***!
  22939. \***********************************************************************/
  22940. /*! no static exports found */
  22941. /***/ (function(module, exports, __webpack_require__) {
  22942. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  22943. //! moment.js locale configuration
  22944. //! locale : Lao [lo]
  22945. //! author : Ryan Hart : https://github.com/ryanhart2
  22946. ;
  22947. (function (global, factory) {
  22948. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  22949. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  22950. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  22951. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  22952. })(this, function (moment) {
  22953. 'use strict';
  22954. //! moment.js locale configuration
  22955. var lo = moment.defineLocale('lo', {
  22956. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  22957. monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'),
  22958. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  22959. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  22960. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  22961. weekdaysParseExact: true,
  22962. longDateFormat: {
  22963. LT: 'HH:mm',
  22964. LTS: 'HH:mm:ss',
  22965. L: 'DD/MM/YYYY',
  22966. LL: 'D MMMM YYYY',
  22967. LLL: 'D MMMM YYYY HH:mm',
  22968. LLLL: 'ວັນdddd D MMMM YYYY HH:mm'
  22969. },
  22970. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  22971. isPM: function isPM(input) {
  22972. return input === 'ຕອນແລງ';
  22973. },
  22974. meridiem: function meridiem(hour, minute, isLower) {
  22975. if (hour < 12) {
  22976. return 'ຕອນເຊົ້າ';
  22977. } else {
  22978. return 'ຕອນແລງ';
  22979. }
  22980. },
  22981. calendar: {
  22982. sameDay: '[ມື້ນີ້ເວລາ] LT',
  22983. nextDay: '[ມື້ອື່ນເວລາ] LT',
  22984. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  22985. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  22986. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  22987. sameElse: 'L'
  22988. },
  22989. relativeTime: {
  22990. future: 'ອີກ %s',
  22991. past: '%sຜ່ານມາ',
  22992. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  22993. ss: '%d ວິນາທີ',
  22994. m: '1 ນາທີ',
  22995. mm: '%d ນາທີ',
  22996. h: '1 ຊົ່ວໂມງ',
  22997. hh: '%d ຊົ່ວໂມງ',
  22998. d: '1 ມື້',
  22999. dd: '%d ມື້',
  23000. M: '1 ເດືອນ',
  23001. MM: '%d ເດືອນ',
  23002. y: '1 ປີ',
  23003. yy: '%d ປີ'
  23004. },
  23005. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  23006. ordinal: function ordinal(number) {
  23007. return 'ທີ່' + number;
  23008. }
  23009. });
  23010. return lo;
  23011. });
  23012. /***/ }),
  23013. /* 131 */
  23014. /*!***********************************************************************!*\
  23015. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/lt.js ***!
  23016. \***********************************************************************/
  23017. /*! no static exports found */
  23018. /***/ (function(module, exports, __webpack_require__) {
  23019. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23020. //! moment.js locale configuration
  23021. //! locale : Lithuanian [lt]
  23022. //! author : Mindaugas Mozūras : https://github.com/mmozuras
  23023. ;
  23024. (function (global, factory) {
  23025. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23026. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23027. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23028. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23029. })(this, function (moment) {
  23030. 'use strict';
  23031. //! moment.js locale configuration
  23032. var units = {
  23033. ss: 'sekundė_sekundžių_sekundes',
  23034. m: 'minutė_minutės_minutę',
  23035. mm: 'minutės_minučių_minutes',
  23036. h: 'valanda_valandos_valandą',
  23037. hh: 'valandos_valandų_valandas',
  23038. d: 'diena_dienos_dieną',
  23039. dd: 'dienos_dienų_dienas',
  23040. M: 'mėnuo_mėnesio_mėnesį',
  23041. MM: 'mėnesiai_mėnesių_mėnesius',
  23042. y: 'metai_metų_metus',
  23043. yy: 'metai_metų_metus'
  23044. };
  23045. function translateSeconds(number, withoutSuffix, key, isFuture) {
  23046. if (withoutSuffix) {
  23047. return 'kelios sekundės';
  23048. } else {
  23049. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  23050. }
  23051. }
  23052. function translateSingular(number, withoutSuffix, key, isFuture) {
  23053. return withoutSuffix ? forms(key)[0] : isFuture ? forms(key)[1] : forms(key)[2];
  23054. }
  23055. function special(number) {
  23056. return number % 10 === 0 || number > 10 && number < 20;
  23057. }
  23058. function forms(key) {
  23059. return units[key].split('_');
  23060. }
  23061. function translate(number, withoutSuffix, key, isFuture) {
  23062. var result = number + ' ';
  23063. if (number === 1) {
  23064. return result + translateSingular(number, withoutSuffix, key[0], isFuture);
  23065. } else if (withoutSuffix) {
  23066. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  23067. } else {
  23068. if (isFuture) {
  23069. return result + forms(key)[1];
  23070. } else {
  23071. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  23072. }
  23073. }
  23074. }
  23075. var lt = moment.defineLocale('lt', {
  23076. months: {
  23077. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
  23078. standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
  23079. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
  23080. },
  23081. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  23082. weekdays: {
  23083. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'),
  23084. standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'),
  23085. isFormat: /dddd HH:mm/
  23086. },
  23087. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  23088. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  23089. weekdaysParseExact: true,
  23090. longDateFormat: {
  23091. LT: 'HH:mm',
  23092. LTS: 'HH:mm:ss',
  23093. L: 'YYYY-MM-DD',
  23094. LL: 'YYYY [m.] MMMM D [d.]',
  23095. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  23096. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  23097. l: 'YYYY-MM-DD',
  23098. ll: 'YYYY [m.] MMMM D [d.]',
  23099. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  23100. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]'
  23101. },
  23102. calendar: {
  23103. sameDay: '[Šiandien] LT',
  23104. nextDay: '[Rytoj] LT',
  23105. nextWeek: 'dddd LT',
  23106. lastDay: '[Vakar] LT',
  23107. lastWeek: '[Praėjusį] dddd LT',
  23108. sameElse: 'L'
  23109. },
  23110. relativeTime: {
  23111. future: 'po %s',
  23112. past: 'prieš %s',
  23113. s: translateSeconds,
  23114. ss: translate,
  23115. m: translateSingular,
  23116. mm: translate,
  23117. h: translateSingular,
  23118. hh: translate,
  23119. d: translateSingular,
  23120. dd: translate,
  23121. M: translateSingular,
  23122. MM: translate,
  23123. y: translateSingular,
  23124. yy: translate
  23125. },
  23126. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  23127. ordinal: function ordinal(number) {
  23128. return number + '-oji';
  23129. },
  23130. week: {
  23131. dow: 1,
  23132. // Monday is the first day of the week.
  23133. doy: 4 // The week that contains Jan 4th is the first week of the year.
  23134. }
  23135. });
  23136. return lt;
  23137. });
  23138. /***/ }),
  23139. /* 132 */
  23140. /*!***********************************************************************!*\
  23141. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/lv.js ***!
  23142. \***********************************************************************/
  23143. /*! no static exports found */
  23144. /***/ (function(module, exports, __webpack_require__) {
  23145. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23146. //! moment.js locale configuration
  23147. //! locale : Latvian [lv]
  23148. //! author : Kristaps Karlsons : https://github.com/skakri
  23149. //! author : Jānis Elmeris : https://github.com/JanisE
  23150. ;
  23151. (function (global, factory) {
  23152. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23153. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23154. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23155. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23156. })(this, function (moment) {
  23157. 'use strict';
  23158. //! moment.js locale configuration
  23159. var units = {
  23160. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  23161. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  23162. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  23163. h: 'stundas_stundām_stunda_stundas'.split('_'),
  23164. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  23165. d: 'dienas_dienām_diena_dienas'.split('_'),
  23166. dd: 'dienas_dienām_diena_dienas'.split('_'),
  23167. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  23168. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  23169. y: 'gada_gadiem_gads_gadi'.split('_'),
  23170. yy: 'gada_gadiem_gads_gadi'.split('_')
  23171. };
  23172. /**
  23173. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  23174. */
  23175. function format(forms, number, withoutSuffix) {
  23176. if (withoutSuffix) {
  23177. // E.g. "21 minūte", "3 minūtes".
  23178. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  23179. } else {
  23180. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  23181. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  23182. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  23183. }
  23184. }
  23185. function relativeTimeWithPlural(number, withoutSuffix, key) {
  23186. return number + ' ' + format(units[key], number, withoutSuffix);
  23187. }
  23188. function relativeTimeWithSingular(number, withoutSuffix, key) {
  23189. return format(units[key], number, withoutSuffix);
  23190. }
  23191. function relativeSeconds(number, withoutSuffix) {
  23192. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  23193. }
  23194. var lv = moment.defineLocale('lv', {
  23195. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'),
  23196. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  23197. weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'),
  23198. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  23199. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  23200. weekdaysParseExact: true,
  23201. longDateFormat: {
  23202. LT: 'HH:mm',
  23203. LTS: 'HH:mm:ss',
  23204. L: 'DD.MM.YYYY.',
  23205. LL: 'YYYY. [gada] D. MMMM',
  23206. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  23207. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm'
  23208. },
  23209. calendar: {
  23210. sameDay: '[Šodien pulksten] LT',
  23211. nextDay: '[Rīt pulksten] LT',
  23212. nextWeek: 'dddd [pulksten] LT',
  23213. lastDay: '[Vakar pulksten] LT',
  23214. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  23215. sameElse: 'L'
  23216. },
  23217. relativeTime: {
  23218. future: 'pēc %s',
  23219. past: 'pirms %s',
  23220. s: relativeSeconds,
  23221. ss: relativeTimeWithPlural,
  23222. m: relativeTimeWithSingular,
  23223. mm: relativeTimeWithPlural,
  23224. h: relativeTimeWithSingular,
  23225. hh: relativeTimeWithPlural,
  23226. d: relativeTimeWithSingular,
  23227. dd: relativeTimeWithPlural,
  23228. M: relativeTimeWithSingular,
  23229. MM: relativeTimeWithPlural,
  23230. y: relativeTimeWithSingular,
  23231. yy: relativeTimeWithPlural
  23232. },
  23233. dayOfMonthOrdinalParse: /\d{1,2}\./,
  23234. ordinal: '%d.',
  23235. week: {
  23236. dow: 1,
  23237. // Monday is the first day of the week.
  23238. doy: 4 // The week that contains Jan 4th is the first week of the year.
  23239. }
  23240. });
  23241. return lv;
  23242. });
  23243. /***/ }),
  23244. /* 133 */
  23245. /*!***********************************************************************!*\
  23246. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/me.js ***!
  23247. \***********************************************************************/
  23248. /*! no static exports found */
  23249. /***/ (function(module, exports, __webpack_require__) {
  23250. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23251. //! moment.js locale configuration
  23252. //! locale : Montenegrin [me]
  23253. //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
  23254. ;
  23255. (function (global, factory) {
  23256. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23257. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23258. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23259. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23260. })(this, function (moment) {
  23261. 'use strict';
  23262. //! moment.js locale configuration
  23263. var translator = {
  23264. words: {
  23265. //Different grammatical cases
  23266. ss: ['sekund', 'sekunda', 'sekundi'],
  23267. m: ['jedan minut', 'jednog minuta'],
  23268. mm: ['minut', 'minuta', 'minuta'],
  23269. h: ['jedan sat', 'jednog sata'],
  23270. hh: ['sat', 'sata', 'sati'],
  23271. dd: ['dan', 'dana', 'dana'],
  23272. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  23273. yy: ['godina', 'godine', 'godina']
  23274. },
  23275. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  23276. return number === 1 ? wordKey[0] : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2];
  23277. },
  23278. translate: function translate(number, withoutSuffix, key) {
  23279. var wordKey = translator.words[key];
  23280. if (key.length === 1) {
  23281. return withoutSuffix ? wordKey[0] : wordKey[1];
  23282. } else {
  23283. return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
  23284. }
  23285. }
  23286. };
  23287. var me = moment.defineLocale('me', {
  23288. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  23289. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  23290. monthsParseExact: true,
  23291. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
  23292. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  23293. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  23294. weekdaysParseExact: true,
  23295. longDateFormat: {
  23296. LT: 'H:mm',
  23297. LTS: 'H:mm:ss',
  23298. L: 'DD.MM.YYYY',
  23299. LL: 'D. MMMM YYYY',
  23300. LLL: 'D. MMMM YYYY H:mm',
  23301. LLLL: 'dddd, D. MMMM YYYY H:mm'
  23302. },
  23303. calendar: {
  23304. sameDay: '[danas u] LT',
  23305. nextDay: '[sjutra u] LT',
  23306. nextWeek: function nextWeek() {
  23307. switch (this.day()) {
  23308. case 0:
  23309. return '[u] [nedjelju] [u] LT';
  23310. case 3:
  23311. return '[u] [srijedu] [u] LT';
  23312. case 6:
  23313. return '[u] [subotu] [u] LT';
  23314. case 1:
  23315. case 2:
  23316. case 4:
  23317. case 5:
  23318. return '[u] dddd [u] LT';
  23319. }
  23320. },
  23321. lastDay: '[juče u] LT',
  23322. lastWeek: function lastWeek() {
  23323. var lastWeekDays = ['[prošle] [nedjelje] [u] LT', '[prošlog] [ponedjeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srijede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT'];
  23324. return lastWeekDays[this.day()];
  23325. },
  23326. sameElse: 'L'
  23327. },
  23328. relativeTime: {
  23329. future: 'za %s',
  23330. past: 'prije %s',
  23331. s: 'nekoliko sekundi',
  23332. ss: translator.translate,
  23333. m: translator.translate,
  23334. mm: translator.translate,
  23335. h: translator.translate,
  23336. hh: translator.translate,
  23337. d: 'dan',
  23338. dd: translator.translate,
  23339. M: 'mjesec',
  23340. MM: translator.translate,
  23341. y: 'godinu',
  23342. yy: translator.translate
  23343. },
  23344. dayOfMonthOrdinalParse: /\d{1,2}\./,
  23345. ordinal: '%d.',
  23346. week: {
  23347. dow: 1,
  23348. // Monday is the first day of the week.
  23349. doy: 7 // The week that contains Jan 7th is the first week of the year.
  23350. }
  23351. });
  23352. return me;
  23353. });
  23354. /***/ }),
  23355. /* 134 */
  23356. /*!***********************************************************************!*\
  23357. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/mi.js ***!
  23358. \***********************************************************************/
  23359. /*! no static exports found */
  23360. /***/ (function(module, exports, __webpack_require__) {
  23361. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23362. //! moment.js locale configuration
  23363. //! locale : Maori [mi]
  23364. //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
  23365. ;
  23366. (function (global, factory) {
  23367. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23368. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23369. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23370. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23371. })(this, function (moment) {
  23372. 'use strict';
  23373. //! moment.js locale configuration
  23374. var mi = moment.defineLocale('mi', {
  23375. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'),
  23376. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'),
  23377. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  23378. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  23379. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  23380. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  23381. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  23382. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  23383. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  23384. longDateFormat: {
  23385. LT: 'HH:mm',
  23386. LTS: 'HH:mm:ss',
  23387. L: 'DD/MM/YYYY',
  23388. LL: 'D MMMM YYYY',
  23389. LLL: 'D MMMM YYYY [i] HH:mm',
  23390. LLLL: 'dddd, D MMMM YYYY [i] HH:mm'
  23391. },
  23392. calendar: {
  23393. sameDay: '[i teie mahana, i] LT',
  23394. nextDay: '[apopo i] LT',
  23395. nextWeek: 'dddd [i] LT',
  23396. lastDay: '[inanahi i] LT',
  23397. lastWeek: 'dddd [whakamutunga i] LT',
  23398. sameElse: 'L'
  23399. },
  23400. relativeTime: {
  23401. future: 'i roto i %s',
  23402. past: '%s i mua',
  23403. s: 'te hēkona ruarua',
  23404. ss: '%d hēkona',
  23405. m: 'he meneti',
  23406. mm: '%d meneti',
  23407. h: 'te haora',
  23408. hh: '%d haora',
  23409. d: 'he ra',
  23410. dd: '%d ra',
  23411. M: 'he marama',
  23412. MM: '%d marama',
  23413. y: 'he tau',
  23414. yy: '%d tau'
  23415. },
  23416. dayOfMonthOrdinalParse: /\d{1,2}º/,
  23417. ordinal: '%dº',
  23418. week: {
  23419. dow: 1,
  23420. // Monday is the first day of the week.
  23421. doy: 4 // The week that contains Jan 4th is the first week of the year.
  23422. }
  23423. });
  23424. return mi;
  23425. });
  23426. /***/ }),
  23427. /* 135 */
  23428. /*!***********************************************************************!*\
  23429. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/mk.js ***!
  23430. \***********************************************************************/
  23431. /*! no static exports found */
  23432. /***/ (function(module, exports, __webpack_require__) {
  23433. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23434. //! moment.js locale configuration
  23435. //! locale : Macedonian [mk]
  23436. //! author : Borislav Mickov : https://github.com/B0k0
  23437. //! author : Sashko Todorov : https://github.com/bkyceh
  23438. ;
  23439. (function (global, factory) {
  23440. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23441. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23442. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23443. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23444. })(this, function (moment) {
  23445. 'use strict';
  23446. //! moment.js locale configuration
  23447. var mk = moment.defineLocale('mk', {
  23448. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
  23449. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  23450. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
  23451. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  23452. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  23453. longDateFormat: {
  23454. LT: 'H:mm',
  23455. LTS: 'H:mm:ss',
  23456. L: 'D.MM.YYYY',
  23457. LL: 'D MMMM YYYY',
  23458. LLL: 'D MMMM YYYY H:mm',
  23459. LLLL: 'dddd, D MMMM YYYY H:mm'
  23460. },
  23461. calendar: {
  23462. sameDay: '[Денес во] LT',
  23463. nextDay: '[Утре во] LT',
  23464. nextWeek: '[Во] dddd [во] LT',
  23465. lastDay: '[Вчера во] LT',
  23466. lastWeek: function lastWeek() {
  23467. switch (this.day()) {
  23468. case 0:
  23469. case 3:
  23470. case 6:
  23471. return '[Изминатата] dddd [во] LT';
  23472. case 1:
  23473. case 2:
  23474. case 4:
  23475. case 5:
  23476. return '[Изминатиот] dddd [во] LT';
  23477. }
  23478. },
  23479. sameElse: 'L'
  23480. },
  23481. relativeTime: {
  23482. future: 'за %s',
  23483. past: 'пред %s',
  23484. s: 'неколку секунди',
  23485. ss: '%d секунди',
  23486. m: 'една минута',
  23487. mm: '%d минути',
  23488. h: 'еден час',
  23489. hh: '%d часа',
  23490. d: 'еден ден',
  23491. dd: '%d дена',
  23492. M: 'еден месец',
  23493. MM: '%d месеци',
  23494. y: 'една година',
  23495. yy: '%d години'
  23496. },
  23497. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  23498. ordinal: function ordinal(number) {
  23499. var lastDigit = number % 10,
  23500. last2Digits = number % 100;
  23501. if (number === 0) {
  23502. return number + '-ев';
  23503. } else if (last2Digits === 0) {
  23504. return number + '-ен';
  23505. } else if (last2Digits > 10 && last2Digits < 20) {
  23506. return number + '-ти';
  23507. } else if (lastDigit === 1) {
  23508. return number + '-ви';
  23509. } else if (lastDigit === 2) {
  23510. return number + '-ри';
  23511. } else if (lastDigit === 7 || lastDigit === 8) {
  23512. return number + '-ми';
  23513. } else {
  23514. return number + '-ти';
  23515. }
  23516. },
  23517. week: {
  23518. dow: 1,
  23519. // Monday is the first day of the week.
  23520. doy: 7 // The week that contains Jan 7th is the first week of the year.
  23521. }
  23522. });
  23523. return mk;
  23524. });
  23525. /***/ }),
  23526. /* 136 */
  23527. /*!***********************************************************************!*\
  23528. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ml.js ***!
  23529. \***********************************************************************/
  23530. /*! no static exports found */
  23531. /***/ (function(module, exports, __webpack_require__) {
  23532. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23533. //! moment.js locale configuration
  23534. //! locale : Malayalam [ml]
  23535. //! author : Floyd Pink : https://github.com/floydpink
  23536. ;
  23537. (function (global, factory) {
  23538. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23539. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23540. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23541. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23542. })(this, function (moment) {
  23543. 'use strict';
  23544. //! moment.js locale configuration
  23545. var ml = moment.defineLocale('ml', {
  23546. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
  23547. monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
  23548. monthsParseExact: true,
  23549. weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
  23550. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  23551. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  23552. longDateFormat: {
  23553. LT: 'A h:mm -നു',
  23554. LTS: 'A h:mm:ss -നു',
  23555. L: 'DD/MM/YYYY',
  23556. LL: 'D MMMM YYYY',
  23557. LLL: 'D MMMM YYYY, A h:mm -നു',
  23558. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു'
  23559. },
  23560. calendar: {
  23561. sameDay: '[ഇന്ന്] LT',
  23562. nextDay: '[നാളെ] LT',
  23563. nextWeek: 'dddd, LT',
  23564. lastDay: '[ഇന്നലെ] LT',
  23565. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  23566. sameElse: 'L'
  23567. },
  23568. relativeTime: {
  23569. future: '%s കഴിഞ്ഞ്',
  23570. past: '%s മുൻപ്',
  23571. s: 'അൽപ നിമിഷങ്ങൾ',
  23572. ss: '%d സെക്കൻഡ്',
  23573. m: 'ഒരു മിനിറ്റ്',
  23574. mm: '%d മിനിറ്റ്',
  23575. h: 'ഒരു മണിക്കൂർ',
  23576. hh: '%d മണിക്കൂർ',
  23577. d: 'ഒരു ദിവസം',
  23578. dd: '%d ദിവസം',
  23579. M: 'ഒരു മാസം',
  23580. MM: '%d മാസം',
  23581. y: 'ഒരു വർഷം',
  23582. yy: '%d വർഷം'
  23583. },
  23584. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  23585. meridiemHour: function meridiemHour(hour, meridiem) {
  23586. if (hour === 12) {
  23587. hour = 0;
  23588. }
  23589. if (meridiem === 'രാത്രി' && hour >= 4 || meridiem === 'ഉച്ച കഴിഞ്ഞ്' || meridiem === 'വൈകുന്നേരം') {
  23590. return hour + 12;
  23591. } else {
  23592. return hour;
  23593. }
  23594. },
  23595. meridiem: function meridiem(hour, minute, isLower) {
  23596. if (hour < 4) {
  23597. return 'രാത്രി';
  23598. } else if (hour < 12) {
  23599. return 'രാവിലെ';
  23600. } else if (hour < 17) {
  23601. return 'ഉച്ച കഴിഞ്ഞ്';
  23602. } else if (hour < 20) {
  23603. return 'വൈകുന്നേരം';
  23604. } else {
  23605. return 'രാത്രി';
  23606. }
  23607. }
  23608. });
  23609. return ml;
  23610. });
  23611. /***/ }),
  23612. /* 137 */
  23613. /*!***********************************************************************!*\
  23614. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/mn.js ***!
  23615. \***********************************************************************/
  23616. /*! no static exports found */
  23617. /***/ (function(module, exports, __webpack_require__) {
  23618. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23619. //! moment.js locale configuration
  23620. //! locale : Mongolian [mn]
  23621. //! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7
  23622. ;
  23623. (function (global, factory) {
  23624. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23625. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23626. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23627. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23628. })(this, function (moment) {
  23629. 'use strict';
  23630. //! moment.js locale configuration
  23631. function translate(number, withoutSuffix, key, isFuture) {
  23632. switch (key) {
  23633. case 's':
  23634. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  23635. case 'ss':
  23636. return number + (withoutSuffix ? ' секунд' : ' секундын');
  23637. case 'm':
  23638. case 'mm':
  23639. return number + (withoutSuffix ? ' минут' : ' минутын');
  23640. case 'h':
  23641. case 'hh':
  23642. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  23643. case 'd':
  23644. case 'dd':
  23645. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  23646. case 'M':
  23647. case 'MM':
  23648. return number + (withoutSuffix ? ' сар' : ' сарын');
  23649. case 'y':
  23650. case 'yy':
  23651. return number + (withoutSuffix ? ' жил' : ' жилийн');
  23652. default:
  23653. return number;
  23654. }
  23655. }
  23656. var mn = moment.defineLocale('mn', {
  23657. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split('_'),
  23658. monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'),
  23659. monthsParseExact: true,
  23660. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  23661. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  23662. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  23663. weekdaysParseExact: true,
  23664. longDateFormat: {
  23665. LT: 'HH:mm',
  23666. LTS: 'HH:mm:ss',
  23667. L: 'YYYY-MM-DD',
  23668. LL: 'YYYY оны MMMMын D',
  23669. LLL: 'YYYY оны MMMMын D HH:mm',
  23670. LLLL: 'dddd, YYYY оны MMMMын D HH:mm'
  23671. },
  23672. meridiemParse: /ҮӨ|ҮХ/i,
  23673. isPM: function isPM(input) {
  23674. return input === 'ҮХ';
  23675. },
  23676. meridiem: function meridiem(hour, minute, isLower) {
  23677. if (hour < 12) {
  23678. return 'ҮӨ';
  23679. } else {
  23680. return 'ҮХ';
  23681. }
  23682. },
  23683. calendar: {
  23684. sameDay: '[Өнөөдөр] LT',
  23685. nextDay: '[Маргааш] LT',
  23686. nextWeek: '[Ирэх] dddd LT',
  23687. lastDay: '[Өчигдөр] LT',
  23688. lastWeek: '[Өнгөрсөн] dddd LT',
  23689. sameElse: 'L'
  23690. },
  23691. relativeTime: {
  23692. future: '%s дараа',
  23693. past: '%s өмнө',
  23694. s: translate,
  23695. ss: translate,
  23696. m: translate,
  23697. mm: translate,
  23698. h: translate,
  23699. hh: translate,
  23700. d: translate,
  23701. dd: translate,
  23702. M: translate,
  23703. MM: translate,
  23704. y: translate,
  23705. yy: translate
  23706. },
  23707. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  23708. ordinal: function ordinal(number, period) {
  23709. switch (period) {
  23710. case 'd':
  23711. case 'D':
  23712. case 'DDD':
  23713. return number + ' өдөр';
  23714. default:
  23715. return number;
  23716. }
  23717. }
  23718. });
  23719. return mn;
  23720. });
  23721. /***/ }),
  23722. /* 138 */
  23723. /*!***********************************************************************!*\
  23724. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/mr.js ***!
  23725. \***********************************************************************/
  23726. /*! no static exports found */
  23727. /***/ (function(module, exports, __webpack_require__) {
  23728. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23729. //! moment.js locale configuration
  23730. //! locale : Marathi [mr]
  23731. //! author : Harshad Kale : https://github.com/kalehv
  23732. //! author : Vivek Athalye : https://github.com/vnathalye
  23733. ;
  23734. (function (global, factory) {
  23735. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23736. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23737. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23738. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23739. })(this, function (moment) {
  23740. 'use strict';
  23741. //! moment.js locale configuration
  23742. var symbolMap = {
  23743. 1: '१',
  23744. 2: '२',
  23745. 3: '३',
  23746. 4: '४',
  23747. 5: '५',
  23748. 6: '६',
  23749. 7: '७',
  23750. 8: '८',
  23751. 9: '९',
  23752. 0: '०'
  23753. },
  23754. numberMap = {
  23755. '१': '1',
  23756. '२': '2',
  23757. '३': '3',
  23758. '४': '4',
  23759. '५': '5',
  23760. '६': '6',
  23761. '७': '7',
  23762. '८': '8',
  23763. '९': '9',
  23764. '०': '0'
  23765. };
  23766. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  23767. var output = '';
  23768. if (withoutSuffix) {
  23769. switch (string) {
  23770. case 's':
  23771. output = 'काही सेकंद';
  23772. break;
  23773. case 'ss':
  23774. output = '%d सेकंद';
  23775. break;
  23776. case 'm':
  23777. output = 'एक मिनिट';
  23778. break;
  23779. case 'mm':
  23780. output = '%d मिनिटे';
  23781. break;
  23782. case 'h':
  23783. output = 'एक तास';
  23784. break;
  23785. case 'hh':
  23786. output = '%d तास';
  23787. break;
  23788. case 'd':
  23789. output = 'एक दिवस';
  23790. break;
  23791. case 'dd':
  23792. output = '%d दिवस';
  23793. break;
  23794. case 'M':
  23795. output = 'एक महिना';
  23796. break;
  23797. case 'MM':
  23798. output = '%d महिने';
  23799. break;
  23800. case 'y':
  23801. output = 'एक वर्ष';
  23802. break;
  23803. case 'yy':
  23804. output = '%d वर्षे';
  23805. break;
  23806. }
  23807. } else {
  23808. switch (string) {
  23809. case 's':
  23810. output = 'काही सेकंदां';
  23811. break;
  23812. case 'ss':
  23813. output = '%d सेकंदां';
  23814. break;
  23815. case 'm':
  23816. output = 'एका मिनिटा';
  23817. break;
  23818. case 'mm':
  23819. output = '%d मिनिटां';
  23820. break;
  23821. case 'h':
  23822. output = 'एका तासा';
  23823. break;
  23824. case 'hh':
  23825. output = '%d तासां';
  23826. break;
  23827. case 'd':
  23828. output = 'एका दिवसा';
  23829. break;
  23830. case 'dd':
  23831. output = '%d दिवसां';
  23832. break;
  23833. case 'M':
  23834. output = 'एका महिन्या';
  23835. break;
  23836. case 'MM':
  23837. output = '%d महिन्यां';
  23838. break;
  23839. case 'y':
  23840. output = 'एका वर्षा';
  23841. break;
  23842. case 'yy':
  23843. output = '%d वर्षां';
  23844. break;
  23845. }
  23846. }
  23847. return output.replace(/%d/i, number);
  23848. }
  23849. var mr = moment.defineLocale('mr', {
  23850. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
  23851. monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
  23852. monthsParseExact: true,
  23853. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  23854. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  23855. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  23856. longDateFormat: {
  23857. LT: 'A h:mm वाजता',
  23858. LTS: 'A h:mm:ss वाजता',
  23859. L: 'DD/MM/YYYY',
  23860. LL: 'D MMMM YYYY',
  23861. LLL: 'D MMMM YYYY, A h:mm वाजता',
  23862. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता'
  23863. },
  23864. calendar: {
  23865. sameDay: '[आज] LT',
  23866. nextDay: '[उद्या] LT',
  23867. nextWeek: 'dddd, LT',
  23868. lastDay: '[काल] LT',
  23869. lastWeek: '[मागील] dddd, LT',
  23870. sameElse: 'L'
  23871. },
  23872. relativeTime: {
  23873. future: '%sमध्ये',
  23874. past: '%sपूर्वी',
  23875. s: relativeTimeMr,
  23876. ss: relativeTimeMr,
  23877. m: relativeTimeMr,
  23878. mm: relativeTimeMr,
  23879. h: relativeTimeMr,
  23880. hh: relativeTimeMr,
  23881. d: relativeTimeMr,
  23882. dd: relativeTimeMr,
  23883. M: relativeTimeMr,
  23884. MM: relativeTimeMr,
  23885. y: relativeTimeMr,
  23886. yy: relativeTimeMr
  23887. },
  23888. preparse: function preparse(string) {
  23889. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  23890. return numberMap[match];
  23891. });
  23892. },
  23893. postformat: function postformat(string) {
  23894. return string.replace(/\d/g, function (match) {
  23895. return symbolMap[match];
  23896. });
  23897. },
  23898. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  23899. meridiemHour: function meridiemHour(hour, meridiem) {
  23900. if (hour === 12) {
  23901. hour = 0;
  23902. }
  23903. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  23904. return hour;
  23905. } else if (meridiem === 'दुपारी' || meridiem === 'सायंकाळी' || meridiem === 'रात्री') {
  23906. return hour >= 12 ? hour : hour + 12;
  23907. }
  23908. },
  23909. meridiem: function meridiem(hour, minute, isLower) {
  23910. if (hour >= 0 && hour < 6) {
  23911. return 'पहाटे';
  23912. } else if (hour < 12) {
  23913. return 'सकाळी';
  23914. } else if (hour < 17) {
  23915. return 'दुपारी';
  23916. } else if (hour < 20) {
  23917. return 'सायंकाळी';
  23918. } else {
  23919. return 'रात्री';
  23920. }
  23921. },
  23922. week: {
  23923. dow: 0,
  23924. // Sunday is the first day of the week.
  23925. doy: 6 // The week that contains Jan 6th is the first week of the year.
  23926. }
  23927. });
  23928. return mr;
  23929. });
  23930. /***/ }),
  23931. /* 139 */
  23932. /*!***********************************************************************!*\
  23933. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ms.js ***!
  23934. \***********************************************************************/
  23935. /*! no static exports found */
  23936. /***/ (function(module, exports, __webpack_require__) {
  23937. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  23938. //! moment.js locale configuration
  23939. //! locale : Malay [ms]
  23940. //! author : Weldan Jamili : https://github.com/weldan
  23941. ;
  23942. (function (global, factory) {
  23943. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23944. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23945. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  23946. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  23947. })(this, function (moment) {
  23948. 'use strict';
  23949. //! moment.js locale configuration
  23950. var ms = moment.defineLocale('ms', {
  23951. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  23952. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  23953. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  23954. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  23955. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  23956. longDateFormat: {
  23957. LT: 'HH.mm',
  23958. LTS: 'HH.mm.ss',
  23959. L: 'DD/MM/YYYY',
  23960. LL: 'D MMMM YYYY',
  23961. LLL: 'D MMMM YYYY [pukul] HH.mm',
  23962. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  23963. },
  23964. meridiemParse: /pagi|tengahari|petang|malam/,
  23965. meridiemHour: function meridiemHour(hour, meridiem) {
  23966. if (hour === 12) {
  23967. hour = 0;
  23968. }
  23969. if (meridiem === 'pagi') {
  23970. return hour;
  23971. } else if (meridiem === 'tengahari') {
  23972. return hour >= 11 ? hour : hour + 12;
  23973. } else if (meridiem === 'petang' || meridiem === 'malam') {
  23974. return hour + 12;
  23975. }
  23976. },
  23977. meridiem: function meridiem(hours, minutes, isLower) {
  23978. if (hours < 11) {
  23979. return 'pagi';
  23980. } else if (hours < 15) {
  23981. return 'tengahari';
  23982. } else if (hours < 19) {
  23983. return 'petang';
  23984. } else {
  23985. return 'malam';
  23986. }
  23987. },
  23988. calendar: {
  23989. sameDay: '[Hari ini pukul] LT',
  23990. nextDay: '[Esok pukul] LT',
  23991. nextWeek: 'dddd [pukul] LT',
  23992. lastDay: '[Kelmarin pukul] LT',
  23993. lastWeek: 'dddd [lepas pukul] LT',
  23994. sameElse: 'L'
  23995. },
  23996. relativeTime: {
  23997. future: 'dalam %s',
  23998. past: '%s yang lepas',
  23999. s: 'beberapa saat',
  24000. ss: '%d saat',
  24001. m: 'seminit',
  24002. mm: '%d minit',
  24003. h: 'sejam',
  24004. hh: '%d jam',
  24005. d: 'sehari',
  24006. dd: '%d hari',
  24007. M: 'sebulan',
  24008. MM: '%d bulan',
  24009. y: 'setahun',
  24010. yy: '%d tahun'
  24011. },
  24012. week: {
  24013. dow: 1,
  24014. // Monday is the first day of the week.
  24015. doy: 7 // The week that contains Jan 7th is the first week of the year.
  24016. }
  24017. });
  24018. return ms;
  24019. });
  24020. /***/ }),
  24021. /* 140 */
  24022. /*!**************************************************************************!*\
  24023. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ms-my.js ***!
  24024. \**************************************************************************/
  24025. /*! no static exports found */
  24026. /***/ (function(module, exports, __webpack_require__) {
  24027. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24028. //! moment.js locale configuration
  24029. //! locale : Malay [ms-my]
  24030. //! note : DEPRECATED, the correct one is [ms]
  24031. //! author : Weldan Jamili : https://github.com/weldan
  24032. ;
  24033. (function (global, factory) {
  24034. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24035. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24036. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24037. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24038. })(this, function (moment) {
  24039. 'use strict';
  24040. //! moment.js locale configuration
  24041. var msMy = moment.defineLocale('ms-my', {
  24042. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
  24043. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  24044. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  24045. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  24046. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  24047. longDateFormat: {
  24048. LT: 'HH.mm',
  24049. LTS: 'HH.mm.ss',
  24050. L: 'DD/MM/YYYY',
  24051. LL: 'D MMMM YYYY',
  24052. LLL: 'D MMMM YYYY [pukul] HH.mm',
  24053. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm'
  24054. },
  24055. meridiemParse: /pagi|tengahari|petang|malam/,
  24056. meridiemHour: function meridiemHour(hour, meridiem) {
  24057. if (hour === 12) {
  24058. hour = 0;
  24059. }
  24060. if (meridiem === 'pagi') {
  24061. return hour;
  24062. } else if (meridiem === 'tengahari') {
  24063. return hour >= 11 ? hour : hour + 12;
  24064. } else if (meridiem === 'petang' || meridiem === 'malam') {
  24065. return hour + 12;
  24066. }
  24067. },
  24068. meridiem: function meridiem(hours, minutes, isLower) {
  24069. if (hours < 11) {
  24070. return 'pagi';
  24071. } else if (hours < 15) {
  24072. return 'tengahari';
  24073. } else if (hours < 19) {
  24074. return 'petang';
  24075. } else {
  24076. return 'malam';
  24077. }
  24078. },
  24079. calendar: {
  24080. sameDay: '[Hari ini pukul] LT',
  24081. nextDay: '[Esok pukul] LT',
  24082. nextWeek: 'dddd [pukul] LT',
  24083. lastDay: '[Kelmarin pukul] LT',
  24084. lastWeek: 'dddd [lepas pukul] LT',
  24085. sameElse: 'L'
  24086. },
  24087. relativeTime: {
  24088. future: 'dalam %s',
  24089. past: '%s yang lepas',
  24090. s: 'beberapa saat',
  24091. ss: '%d saat',
  24092. m: 'seminit',
  24093. mm: '%d minit',
  24094. h: 'sejam',
  24095. hh: '%d jam',
  24096. d: 'sehari',
  24097. dd: '%d hari',
  24098. M: 'sebulan',
  24099. MM: '%d bulan',
  24100. y: 'setahun',
  24101. yy: '%d tahun'
  24102. },
  24103. week: {
  24104. dow: 1,
  24105. // Monday is the first day of the week.
  24106. doy: 7 // The week that contains Jan 7th is the first week of the year.
  24107. }
  24108. });
  24109. return msMy;
  24110. });
  24111. /***/ }),
  24112. /* 141 */
  24113. /*!***********************************************************************!*\
  24114. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/mt.js ***!
  24115. \***********************************************************************/
  24116. /*! no static exports found */
  24117. /***/ (function(module, exports, __webpack_require__) {
  24118. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24119. //! moment.js locale configuration
  24120. //! locale : Maltese (Malta) [mt]
  24121. //! author : Alessandro Maruccia : https://github.com/alesma
  24122. ;
  24123. (function (global, factory) {
  24124. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24125. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24126. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24127. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24128. })(this, function (moment) {
  24129. 'use strict';
  24130. //! moment.js locale configuration
  24131. var mt = moment.defineLocale('mt', {
  24132. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),
  24133. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  24134. weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),
  24135. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  24136. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  24137. longDateFormat: {
  24138. LT: 'HH:mm',
  24139. LTS: 'HH:mm:ss',
  24140. L: 'DD/MM/YYYY',
  24141. LL: 'D MMMM YYYY',
  24142. LLL: 'D MMMM YYYY HH:mm',
  24143. LLLL: 'dddd, D MMMM YYYY HH:mm'
  24144. },
  24145. calendar: {
  24146. sameDay: '[Illum fil-]LT',
  24147. nextDay: '[Għada fil-]LT',
  24148. nextWeek: 'dddd [fil-]LT',
  24149. lastDay: '[Il-bieraħ fil-]LT',
  24150. lastWeek: 'dddd [li għadda] [fil-]LT',
  24151. sameElse: 'L'
  24152. },
  24153. relativeTime: {
  24154. future: 'f’ %s',
  24155. past: '%s ilu',
  24156. s: 'ftit sekondi',
  24157. ss: '%d sekondi',
  24158. m: 'minuta',
  24159. mm: '%d minuti',
  24160. h: 'siegħa',
  24161. hh: '%d siegħat',
  24162. d: 'ġurnata',
  24163. dd: '%d ġranet',
  24164. M: 'xahar',
  24165. MM: '%d xhur',
  24166. y: 'sena',
  24167. yy: '%d sni'
  24168. },
  24169. dayOfMonthOrdinalParse: /\d{1,2}º/,
  24170. ordinal: '%dº',
  24171. week: {
  24172. dow: 1,
  24173. // Monday is the first day of the week.
  24174. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24175. }
  24176. });
  24177. return mt;
  24178. });
  24179. /***/ }),
  24180. /* 142 */
  24181. /*!***********************************************************************!*\
  24182. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/my.js ***!
  24183. \***********************************************************************/
  24184. /*! no static exports found */
  24185. /***/ (function(module, exports, __webpack_require__) {
  24186. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24187. //! moment.js locale configuration
  24188. //! locale : Burmese [my]
  24189. //! author : Squar team, mysquar.com
  24190. //! author : David Rossellat : https://github.com/gholadr
  24191. //! author : Tin Aung Lin : https://github.com/thanyawzinmin
  24192. ;
  24193. (function (global, factory) {
  24194. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24195. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24196. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24197. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24198. })(this, function (moment) {
  24199. 'use strict';
  24200. //! moment.js locale configuration
  24201. var symbolMap = {
  24202. 1: '၁',
  24203. 2: '၂',
  24204. 3: '၃',
  24205. 4: '၄',
  24206. 5: '၅',
  24207. 6: '၆',
  24208. 7: '၇',
  24209. 8: '၈',
  24210. 9: '၉',
  24211. 0: '၀'
  24212. },
  24213. numberMap = {
  24214. '၁': '1',
  24215. '၂': '2',
  24216. '၃': '3',
  24217. '၄': '4',
  24218. '၅': '5',
  24219. '၆': '6',
  24220. '၇': '7',
  24221. '၈': '8',
  24222. '၉': '9',
  24223. '၀': '0'
  24224. };
  24225. var my = moment.defineLocale('my', {
  24226. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
  24227. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  24228. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
  24229. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  24230. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  24231. longDateFormat: {
  24232. LT: 'HH:mm',
  24233. LTS: 'HH:mm:ss',
  24234. L: 'DD/MM/YYYY',
  24235. LL: 'D MMMM YYYY',
  24236. LLL: 'D MMMM YYYY HH:mm',
  24237. LLLL: 'dddd D MMMM YYYY HH:mm'
  24238. },
  24239. calendar: {
  24240. sameDay: '[ယနေ.] LT [မှာ]',
  24241. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  24242. nextWeek: 'dddd LT [မှာ]',
  24243. lastDay: '[မနေ.က] LT [မှာ]',
  24244. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  24245. sameElse: 'L'
  24246. },
  24247. relativeTime: {
  24248. future: 'လာမည့် %s မှာ',
  24249. past: 'လွန်ခဲ့သော %s က',
  24250. s: 'စက္ကန်.အနည်းငယ်',
  24251. ss: '%d စက္ကန့်',
  24252. m: 'တစ်မိနစ်',
  24253. mm: '%d မိနစ်',
  24254. h: 'တစ်နာရီ',
  24255. hh: '%d နာရီ',
  24256. d: 'တစ်ရက်',
  24257. dd: '%d ရက်',
  24258. M: 'တစ်လ',
  24259. MM: '%d လ',
  24260. y: 'တစ်နှစ်',
  24261. yy: '%d နှစ်'
  24262. },
  24263. preparse: function preparse(string) {
  24264. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  24265. return numberMap[match];
  24266. });
  24267. },
  24268. postformat: function postformat(string) {
  24269. return string.replace(/\d/g, function (match) {
  24270. return symbolMap[match];
  24271. });
  24272. },
  24273. week: {
  24274. dow: 1,
  24275. // Monday is the first day of the week.
  24276. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24277. }
  24278. });
  24279. return my;
  24280. });
  24281. /***/ }),
  24282. /* 143 */
  24283. /*!***********************************************************************!*\
  24284. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/nb.js ***!
  24285. \***********************************************************************/
  24286. /*! no static exports found */
  24287. /***/ (function(module, exports, __webpack_require__) {
  24288. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24289. //! moment.js locale configuration
  24290. //! locale : Norwegian Bokmål [nb]
  24291. //! authors : Espen Hovlandsdal : https://github.com/rexxars
  24292. //! Sigurd Gartmann : https://github.com/sigurdga
  24293. //! Stephen Ramthun : https://github.com/stephenramthun
  24294. ;
  24295. (function (global, factory) {
  24296. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24297. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24298. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24299. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24300. })(this, function (moment) {
  24301. 'use strict';
  24302. //! moment.js locale configuration
  24303. var nb = moment.defineLocale('nb', {
  24304. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  24305. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  24306. monthsParseExact: true,
  24307. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  24308. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  24309. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  24310. weekdaysParseExact: true,
  24311. longDateFormat: {
  24312. LT: 'HH:mm',
  24313. LTS: 'HH:mm:ss',
  24314. L: 'DD.MM.YYYY',
  24315. LL: 'D. MMMM YYYY',
  24316. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  24317. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
  24318. },
  24319. calendar: {
  24320. sameDay: '[i dag kl.] LT',
  24321. nextDay: '[i morgen kl.] LT',
  24322. nextWeek: 'dddd [kl.] LT',
  24323. lastDay: '[i går kl.] LT',
  24324. lastWeek: '[forrige] dddd [kl.] LT',
  24325. sameElse: 'L'
  24326. },
  24327. relativeTime: {
  24328. future: 'om %s',
  24329. past: '%s siden',
  24330. s: 'noen sekunder',
  24331. ss: '%d sekunder',
  24332. m: 'ett minutt',
  24333. mm: '%d minutter',
  24334. h: 'en time',
  24335. hh: '%d timer',
  24336. d: 'en dag',
  24337. dd: '%d dager',
  24338. w: 'en uke',
  24339. ww: '%d uker',
  24340. M: 'en måned',
  24341. MM: '%d måneder',
  24342. y: 'ett år',
  24343. yy: '%d år'
  24344. },
  24345. dayOfMonthOrdinalParse: /\d{1,2}\./,
  24346. ordinal: '%d.',
  24347. week: {
  24348. dow: 1,
  24349. // Monday is the first day of the week.
  24350. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24351. }
  24352. });
  24353. return nb;
  24354. });
  24355. /***/ }),
  24356. /* 144 */
  24357. /*!***********************************************************************!*\
  24358. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ne.js ***!
  24359. \***********************************************************************/
  24360. /*! no static exports found */
  24361. /***/ (function(module, exports, __webpack_require__) {
  24362. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24363. //! moment.js locale configuration
  24364. //! locale : Nepalese [ne]
  24365. //! author : suvash : https://github.com/suvash
  24366. ;
  24367. (function (global, factory) {
  24368. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24369. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24370. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24371. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24372. })(this, function (moment) {
  24373. 'use strict';
  24374. //! moment.js locale configuration
  24375. var symbolMap = {
  24376. 1: '१',
  24377. 2: '२',
  24378. 3: '३',
  24379. 4: '४',
  24380. 5: '५',
  24381. 6: '६',
  24382. 7: '७',
  24383. 8: '८',
  24384. 9: '९',
  24385. 0: '०'
  24386. },
  24387. numberMap = {
  24388. '१': '1',
  24389. '२': '2',
  24390. '३': '3',
  24391. '४': '4',
  24392. '५': '5',
  24393. '६': '6',
  24394. '७': '7',
  24395. '८': '8',
  24396. '९': '9',
  24397. '०': '0'
  24398. };
  24399. var ne = moment.defineLocale('ne', {
  24400. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
  24401. monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
  24402. monthsParseExact: true,
  24403. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
  24404. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  24405. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  24406. weekdaysParseExact: true,
  24407. longDateFormat: {
  24408. LT: 'Aको h:mm बजे',
  24409. LTS: 'Aको h:mm:ss बजे',
  24410. L: 'DD/MM/YYYY',
  24411. LL: 'D MMMM YYYY',
  24412. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  24413. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे'
  24414. },
  24415. preparse: function preparse(string) {
  24416. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  24417. return numberMap[match];
  24418. });
  24419. },
  24420. postformat: function postformat(string) {
  24421. return string.replace(/\d/g, function (match) {
  24422. return symbolMap[match];
  24423. });
  24424. },
  24425. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  24426. meridiemHour: function meridiemHour(hour, meridiem) {
  24427. if (hour === 12) {
  24428. hour = 0;
  24429. }
  24430. if (meridiem === 'राति') {
  24431. return hour < 4 ? hour : hour + 12;
  24432. } else if (meridiem === 'बिहान') {
  24433. return hour;
  24434. } else if (meridiem === 'दिउँसो') {
  24435. return hour >= 10 ? hour : hour + 12;
  24436. } else if (meridiem === 'साँझ') {
  24437. return hour + 12;
  24438. }
  24439. },
  24440. meridiem: function meridiem(hour, minute, isLower) {
  24441. if (hour < 3) {
  24442. return 'राति';
  24443. } else if (hour < 12) {
  24444. return 'बिहान';
  24445. } else if (hour < 16) {
  24446. return 'दिउँसो';
  24447. } else if (hour < 20) {
  24448. return 'साँझ';
  24449. } else {
  24450. return 'राति';
  24451. }
  24452. },
  24453. calendar: {
  24454. sameDay: '[आज] LT',
  24455. nextDay: '[भोलि] LT',
  24456. nextWeek: '[आउँदो] dddd[,] LT',
  24457. lastDay: '[हिजो] LT',
  24458. lastWeek: '[गएको] dddd[,] LT',
  24459. sameElse: 'L'
  24460. },
  24461. relativeTime: {
  24462. future: '%sमा',
  24463. past: '%s अगाडि',
  24464. s: 'केही क्षण',
  24465. ss: '%d सेकेण्ड',
  24466. m: 'एक मिनेट',
  24467. mm: '%d मिनेट',
  24468. h: 'एक घण्टा',
  24469. hh: '%d घण्टा',
  24470. d: 'एक दिन',
  24471. dd: '%d दिन',
  24472. M: 'एक महिना',
  24473. MM: '%d महिना',
  24474. y: 'एक बर्ष',
  24475. yy: '%d बर्ष'
  24476. },
  24477. week: {
  24478. dow: 0,
  24479. // Sunday is the first day of the week.
  24480. doy: 6 // The week that contains Jan 6th is the first week of the year.
  24481. }
  24482. });
  24483. return ne;
  24484. });
  24485. /***/ }),
  24486. /* 145 */
  24487. /*!***********************************************************************!*\
  24488. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/nl.js ***!
  24489. \***********************************************************************/
  24490. /*! no static exports found */
  24491. /***/ (function(module, exports, __webpack_require__) {
  24492. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24493. //! moment.js locale configuration
  24494. //! locale : Dutch [nl]
  24495. //! author : Joris Röling : https://github.com/jorisroling
  24496. //! author : Jacob Middag : https://github.com/middagj
  24497. ;
  24498. (function (global, factory) {
  24499. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24500. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24501. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24502. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24503. })(this, function (moment) {
  24504. 'use strict';
  24505. //! moment.js locale configuration
  24506. var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  24507. monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  24508. monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
  24509. monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  24510. var nl = moment.defineLocale('nl', {
  24511. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  24512. monthsShort: function monthsShort(m, format) {
  24513. if (!m) {
  24514. return monthsShortWithDots;
  24515. } else if (/-MMM-/.test(format)) {
  24516. return monthsShortWithoutDots[m.month()];
  24517. } else {
  24518. return monthsShortWithDots[m.month()];
  24519. }
  24520. },
  24521. monthsRegex: monthsRegex,
  24522. monthsShortRegex: monthsRegex,
  24523. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  24524. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  24525. monthsParse: monthsParse,
  24526. longMonthsParse: monthsParse,
  24527. shortMonthsParse: monthsParse,
  24528. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  24529. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  24530. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  24531. weekdaysParseExact: true,
  24532. longDateFormat: {
  24533. LT: 'HH:mm',
  24534. LTS: 'HH:mm:ss',
  24535. L: 'DD-MM-YYYY',
  24536. LL: 'D MMMM YYYY',
  24537. LLL: 'D MMMM YYYY HH:mm',
  24538. LLLL: 'dddd D MMMM YYYY HH:mm'
  24539. },
  24540. calendar: {
  24541. sameDay: '[vandaag om] LT',
  24542. nextDay: '[morgen om] LT',
  24543. nextWeek: 'dddd [om] LT',
  24544. lastDay: '[gisteren om] LT',
  24545. lastWeek: '[afgelopen] dddd [om] LT',
  24546. sameElse: 'L'
  24547. },
  24548. relativeTime: {
  24549. future: 'over %s',
  24550. past: '%s geleden',
  24551. s: 'een paar seconden',
  24552. ss: '%d seconden',
  24553. m: 'één minuut',
  24554. mm: '%d minuten',
  24555. h: 'één uur',
  24556. hh: '%d uur',
  24557. d: 'één dag',
  24558. dd: '%d dagen',
  24559. w: 'één week',
  24560. ww: '%d weken',
  24561. M: 'één maand',
  24562. MM: '%d maanden',
  24563. y: 'één jaar',
  24564. yy: '%d jaar'
  24565. },
  24566. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  24567. ordinal: function ordinal(number) {
  24568. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  24569. },
  24570. week: {
  24571. dow: 1,
  24572. // Monday is the first day of the week.
  24573. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24574. }
  24575. });
  24576. return nl;
  24577. });
  24578. /***/ }),
  24579. /* 146 */
  24580. /*!**************************************************************************!*\
  24581. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/nl-be.js ***!
  24582. \**************************************************************************/
  24583. /*! no static exports found */
  24584. /***/ (function(module, exports, __webpack_require__) {
  24585. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24586. //! moment.js locale configuration
  24587. //! locale : Dutch (Belgium) [nl-be]
  24588. //! author : Joris Röling : https://github.com/jorisroling
  24589. //! author : Jacob Middag : https://github.com/middagj
  24590. ;
  24591. (function (global, factory) {
  24592. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24593. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24594. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24595. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24596. })(this, function (moment) {
  24597. 'use strict';
  24598. //! moment.js locale configuration
  24599. var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
  24600. monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  24601. monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i],
  24602. monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  24603. var nlBe = moment.defineLocale('nl-be', {
  24604. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
  24605. monthsShort: function monthsShort(m, format) {
  24606. if (!m) {
  24607. return monthsShortWithDots;
  24608. } else if (/-MMM-/.test(format)) {
  24609. return monthsShortWithoutDots[m.month()];
  24610. } else {
  24611. return monthsShortWithDots[m.month()];
  24612. }
  24613. },
  24614. monthsRegex: monthsRegex,
  24615. monthsShortRegex: monthsRegex,
  24616. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  24617. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  24618. monthsParse: monthsParse,
  24619. longMonthsParse: monthsParse,
  24620. shortMonthsParse: monthsParse,
  24621. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
  24622. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  24623. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  24624. weekdaysParseExact: true,
  24625. longDateFormat: {
  24626. LT: 'HH:mm',
  24627. LTS: 'HH:mm:ss',
  24628. L: 'DD/MM/YYYY',
  24629. LL: 'D MMMM YYYY',
  24630. LLL: 'D MMMM YYYY HH:mm',
  24631. LLLL: 'dddd D MMMM YYYY HH:mm'
  24632. },
  24633. calendar: {
  24634. sameDay: '[vandaag om] LT',
  24635. nextDay: '[morgen om] LT',
  24636. nextWeek: 'dddd [om] LT',
  24637. lastDay: '[gisteren om] LT',
  24638. lastWeek: '[afgelopen] dddd [om] LT',
  24639. sameElse: 'L'
  24640. },
  24641. relativeTime: {
  24642. future: 'over %s',
  24643. past: '%s geleden',
  24644. s: 'een paar seconden',
  24645. ss: '%d seconden',
  24646. m: 'één minuut',
  24647. mm: '%d minuten',
  24648. h: 'één uur',
  24649. hh: '%d uur',
  24650. d: 'één dag',
  24651. dd: '%d dagen',
  24652. M: 'één maand',
  24653. MM: '%d maanden',
  24654. y: 'één jaar',
  24655. yy: '%d jaar'
  24656. },
  24657. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  24658. ordinal: function ordinal(number) {
  24659. return number + (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de');
  24660. },
  24661. week: {
  24662. dow: 1,
  24663. // Monday is the first day of the week.
  24664. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24665. }
  24666. });
  24667. return nlBe;
  24668. });
  24669. /***/ }),
  24670. /* 147 */
  24671. /*!***********************************************************************!*\
  24672. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/nn.js ***!
  24673. \***********************************************************************/
  24674. /*! no static exports found */
  24675. /***/ (function(module, exports, __webpack_require__) {
  24676. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24677. //! moment.js locale configuration
  24678. //! locale : Nynorsk [nn]
  24679. //! authors : https://github.com/mechuwind
  24680. //! Stephen Ramthun : https://github.com/stephenramthun
  24681. ;
  24682. (function (global, factory) {
  24683. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24684. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24685. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24686. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24687. })(this, function (moment) {
  24688. 'use strict';
  24689. //! moment.js locale configuration
  24690. var nn = moment.defineLocale('nn', {
  24691. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  24692. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  24693. monthsParseExact: true,
  24694. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  24695. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  24696. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  24697. weekdaysParseExact: true,
  24698. longDateFormat: {
  24699. LT: 'HH:mm',
  24700. LTS: 'HH:mm:ss',
  24701. L: 'DD.MM.YYYY',
  24702. LL: 'D. MMMM YYYY',
  24703. LLL: 'D. MMMM YYYY [kl.] H:mm',
  24704. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm'
  24705. },
  24706. calendar: {
  24707. sameDay: '[I dag klokka] LT',
  24708. nextDay: '[I morgon klokka] LT',
  24709. nextWeek: 'dddd [klokka] LT',
  24710. lastDay: '[I går klokka] LT',
  24711. lastWeek: '[Føregåande] dddd [klokka] LT',
  24712. sameElse: 'L'
  24713. },
  24714. relativeTime: {
  24715. future: 'om %s',
  24716. past: '%s sidan',
  24717. s: 'nokre sekund',
  24718. ss: '%d sekund',
  24719. m: 'eit minutt',
  24720. mm: '%d minutt',
  24721. h: 'ein time',
  24722. hh: '%d timar',
  24723. d: 'ein dag',
  24724. dd: '%d dagar',
  24725. w: 'ei veke',
  24726. ww: '%d veker',
  24727. M: 'ein månad',
  24728. MM: '%d månader',
  24729. y: 'eit år',
  24730. yy: '%d år'
  24731. },
  24732. dayOfMonthOrdinalParse: /\d{1,2}\./,
  24733. ordinal: '%d.',
  24734. week: {
  24735. dow: 1,
  24736. // Monday is the first day of the week.
  24737. doy: 4 // The week that contains Jan 4th is the first week of the year.
  24738. }
  24739. });
  24740. return nn;
  24741. });
  24742. /***/ }),
  24743. /* 148 */
  24744. /*!***************************************************************************!*\
  24745. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/oc-lnc.js ***!
  24746. \***************************************************************************/
  24747. /*! no static exports found */
  24748. /***/ (function(module, exports, __webpack_require__) {
  24749. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24750. //! moment.js locale configuration
  24751. //! locale : Occitan, lengadocian dialecte [oc-lnc]
  24752. //! author : Quentin PAGÈS : https://github.com/Quenty31
  24753. ;
  24754. (function (global, factory) {
  24755. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24756. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24757. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24758. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24759. })(this, function (moment) {
  24760. 'use strict';
  24761. //! moment.js locale configuration
  24762. var ocLnc = moment.defineLocale('oc-lnc', {
  24763. months: {
  24764. standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'),
  24765. format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split('_'),
  24766. isFormat: /D[oD]?(\s)+MMMM/
  24767. },
  24768. monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split('_'),
  24769. monthsParseExact: true,
  24770. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'),
  24771. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  24772. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  24773. weekdaysParseExact: true,
  24774. longDateFormat: {
  24775. LT: 'H:mm',
  24776. LTS: 'H:mm:ss',
  24777. L: 'DD/MM/YYYY',
  24778. LL: 'D MMMM [de] YYYY',
  24779. ll: 'D MMM YYYY',
  24780. LLL: 'D MMMM [de] YYYY [a] H:mm',
  24781. lll: 'D MMM YYYY, H:mm',
  24782. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  24783. llll: 'ddd D MMM YYYY, H:mm'
  24784. },
  24785. calendar: {
  24786. sameDay: '[uèi a] LT',
  24787. nextDay: '[deman a] LT',
  24788. nextWeek: 'dddd [a] LT',
  24789. lastDay: '[ièr a] LT',
  24790. lastWeek: 'dddd [passat a] LT',
  24791. sameElse: 'L'
  24792. },
  24793. relativeTime: {
  24794. future: "d'aquí %s",
  24795. past: 'fa %s',
  24796. s: 'unas segondas',
  24797. ss: '%d segondas',
  24798. m: 'una minuta',
  24799. mm: '%d minutas',
  24800. h: 'una ora',
  24801. hh: '%d oras',
  24802. d: 'un jorn',
  24803. dd: '%d jorns',
  24804. M: 'un mes',
  24805. MM: '%d meses',
  24806. y: 'un an',
  24807. yy: '%d ans'
  24808. },
  24809. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  24810. ordinal: function ordinal(number, period) {
  24811. var output = number === 1 ? 'r' : number === 2 ? 'n' : number === 3 ? 'r' : number === 4 ? 't' : 'è';
  24812. if (period === 'w' || period === 'W') {
  24813. output = 'a';
  24814. }
  24815. return number + output;
  24816. },
  24817. week: {
  24818. dow: 1,
  24819. // Monday is the first day of the week.
  24820. doy: 4
  24821. }
  24822. });
  24823. return ocLnc;
  24824. });
  24825. /***/ }),
  24826. /* 149 */
  24827. /*!**************************************************************************!*\
  24828. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/pa-in.js ***!
  24829. \**************************************************************************/
  24830. /*! no static exports found */
  24831. /***/ (function(module, exports, __webpack_require__) {
  24832. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24833. //! moment.js locale configuration
  24834. //! locale : Punjabi (India) [pa-in]
  24835. //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
  24836. ;
  24837. (function (global, factory) {
  24838. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24839. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24840. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24841. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24842. })(this, function (moment) {
  24843. 'use strict';
  24844. //! moment.js locale configuration
  24845. var symbolMap = {
  24846. 1: '੧',
  24847. 2: '੨',
  24848. 3: '੩',
  24849. 4: '੪',
  24850. 5: '੫',
  24851. 6: '੬',
  24852. 7: '੭',
  24853. 8: '੮',
  24854. 9: '੯',
  24855. 0: '੦'
  24856. },
  24857. numberMap = {
  24858. '੧': '1',
  24859. '੨': '2',
  24860. '੩': '3',
  24861. '੪': '4',
  24862. '੫': '5',
  24863. '੬': '6',
  24864. '੭': '7',
  24865. '੮': '8',
  24866. '੯': '9',
  24867. '੦': '0'
  24868. };
  24869. var paIn = moment.defineLocale('pa-in', {
  24870. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  24871. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  24872. monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'),
  24873. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'),
  24874. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  24875. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  24876. longDateFormat: {
  24877. LT: 'A h:mm ਵਜੇ',
  24878. LTS: 'A h:mm:ss ਵਜੇ',
  24879. L: 'DD/MM/YYYY',
  24880. LL: 'D MMMM YYYY',
  24881. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  24882. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ'
  24883. },
  24884. calendar: {
  24885. sameDay: '[ਅਜ] LT',
  24886. nextDay: '[ਕਲ] LT',
  24887. nextWeek: '[ਅਗਲਾ] dddd, LT',
  24888. lastDay: '[ਕਲ] LT',
  24889. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  24890. sameElse: 'L'
  24891. },
  24892. relativeTime: {
  24893. future: '%s ਵਿੱਚ',
  24894. past: '%s ਪਿਛਲੇ',
  24895. s: 'ਕੁਝ ਸਕਿੰਟ',
  24896. ss: '%d ਸਕਿੰਟ',
  24897. m: 'ਇਕ ਮਿੰਟ',
  24898. mm: '%d ਮਿੰਟ',
  24899. h: 'ਇੱਕ ਘੰਟਾ',
  24900. hh: '%d ਘੰਟੇ',
  24901. d: 'ਇੱਕ ਦਿਨ',
  24902. dd: '%d ਦਿਨ',
  24903. M: 'ਇੱਕ ਮਹੀਨਾ',
  24904. MM: '%d ਮਹੀਨੇ',
  24905. y: 'ਇੱਕ ਸਾਲ',
  24906. yy: '%d ਸਾਲ'
  24907. },
  24908. preparse: function preparse(string) {
  24909. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  24910. return numberMap[match];
  24911. });
  24912. },
  24913. postformat: function postformat(string) {
  24914. return string.replace(/\d/g, function (match) {
  24915. return symbolMap[match];
  24916. });
  24917. },
  24918. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  24919. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  24920. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  24921. meridiemHour: function meridiemHour(hour, meridiem) {
  24922. if (hour === 12) {
  24923. hour = 0;
  24924. }
  24925. if (meridiem === 'ਰਾਤ') {
  24926. return hour < 4 ? hour : hour + 12;
  24927. } else if (meridiem === 'ਸਵੇਰ') {
  24928. return hour;
  24929. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  24930. return hour >= 10 ? hour : hour + 12;
  24931. } else if (meridiem === 'ਸ਼ਾਮ') {
  24932. return hour + 12;
  24933. }
  24934. },
  24935. meridiem: function meridiem(hour, minute, isLower) {
  24936. if (hour < 4) {
  24937. return 'ਰਾਤ';
  24938. } else if (hour < 10) {
  24939. return 'ਸਵੇਰ';
  24940. } else if (hour < 17) {
  24941. return 'ਦੁਪਹਿਰ';
  24942. } else if (hour < 20) {
  24943. return 'ਸ਼ਾਮ';
  24944. } else {
  24945. return 'ਰਾਤ';
  24946. }
  24947. },
  24948. week: {
  24949. dow: 0,
  24950. // Sunday is the first day of the week.
  24951. doy: 6 // The week that contains Jan 6th is the first week of the year.
  24952. }
  24953. });
  24954. return paIn;
  24955. });
  24956. /***/ }),
  24957. /* 150 */
  24958. /*!***********************************************************************!*\
  24959. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/pl.js ***!
  24960. \***********************************************************************/
  24961. /*! no static exports found */
  24962. /***/ (function(module, exports, __webpack_require__) {
  24963. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  24964. //! moment.js locale configuration
  24965. //! locale : Polish [pl]
  24966. //! author : Rafal Hirsz : https://github.com/evoL
  24967. ;
  24968. (function (global, factory) {
  24969. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  24970. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  24971. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  24972. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  24973. })(this, function (moment) {
  24974. 'use strict';
  24975. //! moment.js locale configuration
  24976. var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'),
  24977. monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'),
  24978. monthsParse = [/^sty/i, /^lut/i, /^mar/i, /^kwi/i, /^maj/i, /^cze/i, /^lip/i, /^sie/i, /^wrz/i, /^paź/i, /^lis/i, /^gru/i];
  24979. function plural(n) {
  24980. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  24981. }
  24982. function translate(number, withoutSuffix, key) {
  24983. var result = number + ' ';
  24984. switch (key) {
  24985. case 'ss':
  24986. return result + (plural(number) ? 'sekundy' : 'sekund');
  24987. case 'm':
  24988. return withoutSuffix ? 'minuta' : 'minutę';
  24989. case 'mm':
  24990. return result + (plural(number) ? 'minuty' : 'minut');
  24991. case 'h':
  24992. return withoutSuffix ? 'godzina' : 'godzinę';
  24993. case 'hh':
  24994. return result + (plural(number) ? 'godziny' : 'godzin');
  24995. case 'ww':
  24996. return result + (plural(number) ? 'tygodnie' : 'tygodni');
  24997. case 'MM':
  24998. return result + (plural(number) ? 'miesiące' : 'miesięcy');
  24999. case 'yy':
  25000. return result + (plural(number) ? 'lata' : 'lat');
  25001. }
  25002. }
  25003. var pl = moment.defineLocale('pl', {
  25004. months: function months(momentToFormat, format) {
  25005. if (!momentToFormat) {
  25006. return monthsNominative;
  25007. } else if (/D MMMM/.test(format)) {
  25008. return monthsSubjective[momentToFormat.month()];
  25009. } else {
  25010. return monthsNominative[momentToFormat.month()];
  25011. }
  25012. },
  25013. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  25014. monthsParse: monthsParse,
  25015. longMonthsParse: monthsParse,
  25016. shortMonthsParse: monthsParse,
  25017. weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
  25018. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  25019. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  25020. longDateFormat: {
  25021. LT: 'HH:mm',
  25022. LTS: 'HH:mm:ss',
  25023. L: 'DD.MM.YYYY',
  25024. LL: 'D MMMM YYYY',
  25025. LLL: 'D MMMM YYYY HH:mm',
  25026. LLLL: 'dddd, D MMMM YYYY HH:mm'
  25027. },
  25028. calendar: {
  25029. sameDay: '[Dziś o] LT',
  25030. nextDay: '[Jutro o] LT',
  25031. nextWeek: function nextWeek() {
  25032. switch (this.day()) {
  25033. case 0:
  25034. return '[W niedzielę o] LT';
  25035. case 2:
  25036. return '[We wtorek o] LT';
  25037. case 3:
  25038. return '[W środę o] LT';
  25039. case 6:
  25040. return '[W sobotę o] LT';
  25041. default:
  25042. return '[W] dddd [o] LT';
  25043. }
  25044. },
  25045. lastDay: '[Wczoraj o] LT',
  25046. lastWeek: function lastWeek() {
  25047. switch (this.day()) {
  25048. case 0:
  25049. return '[W zeszłą niedzielę o] LT';
  25050. case 3:
  25051. return '[W zeszłą środę o] LT';
  25052. case 6:
  25053. return '[W zeszłą sobotę o] LT';
  25054. default:
  25055. return '[W zeszły] dddd [o] LT';
  25056. }
  25057. },
  25058. sameElse: 'L'
  25059. },
  25060. relativeTime: {
  25061. future: 'za %s',
  25062. past: '%s temu',
  25063. s: 'kilka sekund',
  25064. ss: translate,
  25065. m: translate,
  25066. mm: translate,
  25067. h: translate,
  25068. hh: translate,
  25069. d: '1 dzień',
  25070. dd: '%d dni',
  25071. w: 'tydzień',
  25072. ww: translate,
  25073. M: 'miesiąc',
  25074. MM: translate,
  25075. y: 'rok',
  25076. yy: translate
  25077. },
  25078. dayOfMonthOrdinalParse: /\d{1,2}\./,
  25079. ordinal: '%d.',
  25080. week: {
  25081. dow: 1,
  25082. // Monday is the first day of the week.
  25083. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25084. }
  25085. });
  25086. return pl;
  25087. });
  25088. /***/ }),
  25089. /* 151 */
  25090. /*!***********************************************************************!*\
  25091. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/pt.js ***!
  25092. \***********************************************************************/
  25093. /*! no static exports found */
  25094. /***/ (function(module, exports, __webpack_require__) {
  25095. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25096. //! moment.js locale configuration
  25097. //! locale : Portuguese [pt]
  25098. //! author : Jefferson : https://github.com/jalex79
  25099. ;
  25100. (function (global, factory) {
  25101. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25102. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25103. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25104. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25105. })(this, function (moment) {
  25106. 'use strict';
  25107. //! moment.js locale configuration
  25108. var pt = moment.defineLocale('pt', {
  25109. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
  25110. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  25111. weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
  25112. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  25113. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  25114. weekdaysParseExact: true,
  25115. longDateFormat: {
  25116. LT: 'HH:mm',
  25117. LTS: 'HH:mm:ss',
  25118. L: 'DD/MM/YYYY',
  25119. LL: 'D [de] MMMM [de] YYYY',
  25120. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  25121. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm'
  25122. },
  25123. calendar: {
  25124. sameDay: '[Hoje às] LT',
  25125. nextDay: '[Amanhã às] LT',
  25126. nextWeek: 'dddd [às] LT',
  25127. lastDay: '[Ontem às] LT',
  25128. lastWeek: function lastWeek() {
  25129. return this.day() === 0 || this.day() === 6 ? '[Último] dddd [às] LT' // Saturday + Sunday
  25130. : '[Última] dddd [às] LT'; // Monday - Friday
  25131. },
  25132. sameElse: 'L'
  25133. },
  25134. relativeTime: {
  25135. future: 'em %s',
  25136. past: 'há %s',
  25137. s: 'segundos',
  25138. ss: '%d segundos',
  25139. m: 'um minuto',
  25140. mm: '%d minutos',
  25141. h: 'uma hora',
  25142. hh: '%d horas',
  25143. d: 'um dia',
  25144. dd: '%d dias',
  25145. w: 'uma semana',
  25146. ww: '%d semanas',
  25147. M: 'um mês',
  25148. MM: '%d meses',
  25149. y: 'um ano',
  25150. yy: '%d anos'
  25151. },
  25152. dayOfMonthOrdinalParse: /\d{1,2}º/,
  25153. ordinal: '%dº',
  25154. week: {
  25155. dow: 1,
  25156. // Monday is the first day of the week.
  25157. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25158. }
  25159. });
  25160. return pt;
  25161. });
  25162. /***/ }),
  25163. /* 152 */
  25164. /*!**************************************************************************!*\
  25165. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/pt-br.js ***!
  25166. \**************************************************************************/
  25167. /*! no static exports found */
  25168. /***/ (function(module, exports, __webpack_require__) {
  25169. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25170. //! moment.js locale configuration
  25171. //! locale : Portuguese (Brazil) [pt-br]
  25172. //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
  25173. ;
  25174. (function (global, factory) {
  25175. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25176. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25177. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25178. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25179. })(this, function (moment) {
  25180. 'use strict';
  25181. //! moment.js locale configuration
  25182. var ptBr = moment.defineLocale('pt-br', {
  25183. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
  25184. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  25185. weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'),
  25186. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  25187. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  25188. weekdaysParseExact: true,
  25189. longDateFormat: {
  25190. LT: 'HH:mm',
  25191. LTS: 'HH:mm:ss',
  25192. L: 'DD/MM/YYYY',
  25193. LL: 'D [de] MMMM [de] YYYY',
  25194. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  25195. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
  25196. },
  25197. calendar: {
  25198. sameDay: '[Hoje às] LT',
  25199. nextDay: '[Amanhã às] LT',
  25200. nextWeek: 'dddd [às] LT',
  25201. lastDay: '[Ontem às] LT',
  25202. lastWeek: function lastWeek() {
  25203. return this.day() === 0 || this.day() === 6 ? '[Último] dddd [às] LT' // Saturday + Sunday
  25204. : '[Última] dddd [às] LT'; // Monday - Friday
  25205. },
  25206. sameElse: 'L'
  25207. },
  25208. relativeTime: {
  25209. future: 'em %s',
  25210. past: 'há %s',
  25211. s: 'poucos segundos',
  25212. ss: '%d segundos',
  25213. m: 'um minuto',
  25214. mm: '%d minutos',
  25215. h: 'uma hora',
  25216. hh: '%d horas',
  25217. d: 'um dia',
  25218. dd: '%d dias',
  25219. M: 'um mês',
  25220. MM: '%d meses',
  25221. y: 'um ano',
  25222. yy: '%d anos'
  25223. },
  25224. dayOfMonthOrdinalParse: /\d{1,2}º/,
  25225. ordinal: '%dº',
  25226. invalidDate: 'Data inválida'
  25227. });
  25228. return ptBr;
  25229. });
  25230. /***/ }),
  25231. /* 153 */
  25232. /*!***********************************************************************!*\
  25233. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ro.js ***!
  25234. \***********************************************************************/
  25235. /*! no static exports found */
  25236. /***/ (function(module, exports, __webpack_require__) {
  25237. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25238. //! moment.js locale configuration
  25239. //! locale : Romanian [ro]
  25240. //! author : Vlad Gurdiga : https://github.com/gurdiga
  25241. //! author : Valentin Agachi : https://github.com/avaly
  25242. //! author : Emanuel Cepoi : https://github.com/cepem
  25243. ;
  25244. (function (global, factory) {
  25245. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25246. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25247. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25248. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25249. })(this, function (moment) {
  25250. 'use strict';
  25251. //! moment.js locale configuration
  25252. function relativeTimeWithPlural(number, withoutSuffix, key) {
  25253. var format = {
  25254. ss: 'secunde',
  25255. mm: 'minute',
  25256. hh: 'ore',
  25257. dd: 'zile',
  25258. ww: 'săptămâni',
  25259. MM: 'luni',
  25260. yy: 'ani'
  25261. },
  25262. separator = ' ';
  25263. if (number % 100 >= 20 || number >= 100 && number % 100 === 0) {
  25264. separator = ' de ';
  25265. }
  25266. return number + separator + format[key];
  25267. }
  25268. var ro = moment.defineLocale('ro', {
  25269. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'),
  25270. monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'),
  25271. monthsParseExact: true,
  25272. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  25273. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  25274. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  25275. longDateFormat: {
  25276. LT: 'H:mm',
  25277. LTS: 'H:mm:ss',
  25278. L: 'DD.MM.YYYY',
  25279. LL: 'D MMMM YYYY',
  25280. LLL: 'D MMMM YYYY H:mm',
  25281. LLLL: 'dddd, D MMMM YYYY H:mm'
  25282. },
  25283. calendar: {
  25284. sameDay: '[azi la] LT',
  25285. nextDay: '[mâine la] LT',
  25286. nextWeek: 'dddd [la] LT',
  25287. lastDay: '[ieri la] LT',
  25288. lastWeek: '[fosta] dddd [la] LT',
  25289. sameElse: 'L'
  25290. },
  25291. relativeTime: {
  25292. future: 'peste %s',
  25293. past: '%s în urmă',
  25294. s: 'câteva secunde',
  25295. ss: relativeTimeWithPlural,
  25296. m: 'un minut',
  25297. mm: relativeTimeWithPlural,
  25298. h: 'o oră',
  25299. hh: relativeTimeWithPlural,
  25300. d: 'o zi',
  25301. dd: relativeTimeWithPlural,
  25302. w: 'o săptămână',
  25303. ww: relativeTimeWithPlural,
  25304. M: 'o lună',
  25305. MM: relativeTimeWithPlural,
  25306. y: 'un an',
  25307. yy: relativeTimeWithPlural
  25308. },
  25309. week: {
  25310. dow: 1,
  25311. // Monday is the first day of the week.
  25312. doy: 7 // The week that contains Jan 7th is the first week of the year.
  25313. }
  25314. });
  25315. return ro;
  25316. });
  25317. /***/ }),
  25318. /* 154 */
  25319. /*!***********************************************************************!*\
  25320. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ru.js ***!
  25321. \***********************************************************************/
  25322. /*! no static exports found */
  25323. /***/ (function(module, exports, __webpack_require__) {
  25324. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25325. //! moment.js locale configuration
  25326. //! locale : Russian [ru]
  25327. //! author : Viktorminator : https://github.com/Viktorminator
  25328. //! author : Menelion Elensúle : https://github.com/Oire
  25329. //! author : Коренберг Марк : https://github.com/socketpair
  25330. ;
  25331. (function (global, factory) {
  25332. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25333. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25334. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25335. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25336. })(this, function (moment) {
  25337. 'use strict';
  25338. //! moment.js locale configuration
  25339. function plural(word, num) {
  25340. var forms = word.split('_');
  25341. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  25342. }
  25343. function relativeTimeWithPlural(number, withoutSuffix, key) {
  25344. var format = {
  25345. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  25346. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  25347. hh: 'час_часа_часов',
  25348. dd: 'день_дня_дней',
  25349. ww: 'неделя_недели_недель',
  25350. MM: 'месяц_месяца_месяцев',
  25351. yy: 'год_года_лет'
  25352. };
  25353. if (key === 'm') {
  25354. return withoutSuffix ? 'минута' : 'минуту';
  25355. } else {
  25356. return number + ' ' + plural(format[key], +number);
  25357. }
  25358. }
  25359. var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
  25360. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  25361. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  25362. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  25363. var ru = moment.defineLocale('ru', {
  25364. months: {
  25365. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'),
  25366. standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_')
  25367. },
  25368. monthsShort: {
  25369. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  25370. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'),
  25371. standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_')
  25372. },
  25373. weekdays: {
  25374. standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'),
  25375. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'),
  25376. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/
  25377. },
  25378. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  25379. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  25380. monthsParse: monthsParse,
  25381. longMonthsParse: monthsParse,
  25382. shortMonthsParse: monthsParse,
  25383. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  25384. monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  25385. // копия предыдущего
  25386. monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  25387. // полные названия с падежами
  25388. monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  25389. // Выражение, которое соответствует только сокращённым формам
  25390. monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  25391. longDateFormat: {
  25392. LT: 'H:mm',
  25393. LTS: 'H:mm:ss',
  25394. L: 'DD.MM.YYYY',
  25395. LL: 'D MMMM YYYY г.',
  25396. LLL: 'D MMMM YYYY г., H:mm',
  25397. LLLL: 'dddd, D MMMM YYYY г., H:mm'
  25398. },
  25399. calendar: {
  25400. sameDay: '[Сегодня, в] LT',
  25401. nextDay: '[Завтра, в] LT',
  25402. lastDay: '[Вчера, в] LT',
  25403. nextWeek: function nextWeek(now) {
  25404. if (now.week() !== this.week()) {
  25405. switch (this.day()) {
  25406. case 0:
  25407. return '[В следующее] dddd, [в] LT';
  25408. case 1:
  25409. case 2:
  25410. case 4:
  25411. return '[В следующий] dddd, [в] LT';
  25412. case 3:
  25413. case 5:
  25414. case 6:
  25415. return '[В следующую] dddd, [в] LT';
  25416. }
  25417. } else {
  25418. if (this.day() === 2) {
  25419. return '[Во] dddd, [в] LT';
  25420. } else {
  25421. return '[В] dddd, [в] LT';
  25422. }
  25423. }
  25424. },
  25425. lastWeek: function lastWeek(now) {
  25426. if (now.week() !== this.week()) {
  25427. switch (this.day()) {
  25428. case 0:
  25429. return '[В прошлое] dddd, [в] LT';
  25430. case 1:
  25431. case 2:
  25432. case 4:
  25433. return '[В прошлый] dddd, [в] LT';
  25434. case 3:
  25435. case 5:
  25436. case 6:
  25437. return '[В прошлую] dddd, [в] LT';
  25438. }
  25439. } else {
  25440. if (this.day() === 2) {
  25441. return '[Во] dddd, [в] LT';
  25442. } else {
  25443. return '[В] dddd, [в] LT';
  25444. }
  25445. }
  25446. },
  25447. sameElse: 'L'
  25448. },
  25449. relativeTime: {
  25450. future: 'через %s',
  25451. past: '%s назад',
  25452. s: 'несколько секунд',
  25453. ss: relativeTimeWithPlural,
  25454. m: relativeTimeWithPlural,
  25455. mm: relativeTimeWithPlural,
  25456. h: 'час',
  25457. hh: relativeTimeWithPlural,
  25458. d: 'день',
  25459. dd: relativeTimeWithPlural,
  25460. w: 'неделя',
  25461. ww: relativeTimeWithPlural,
  25462. M: 'месяц',
  25463. MM: relativeTimeWithPlural,
  25464. y: 'год',
  25465. yy: relativeTimeWithPlural
  25466. },
  25467. meridiemParse: /ночи|утра|дня|вечера/i,
  25468. isPM: function isPM(input) {
  25469. return /^(дня|вечера)$/.test(input);
  25470. },
  25471. meridiem: function meridiem(hour, minute, isLower) {
  25472. if (hour < 4) {
  25473. return 'ночи';
  25474. } else if (hour < 12) {
  25475. return 'утра';
  25476. } else if (hour < 17) {
  25477. return 'дня';
  25478. } else {
  25479. return 'вечера';
  25480. }
  25481. },
  25482. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  25483. ordinal: function ordinal(number, period) {
  25484. switch (period) {
  25485. case 'M':
  25486. case 'd':
  25487. case 'DDD':
  25488. return number + '-й';
  25489. case 'D':
  25490. return number + '-го';
  25491. case 'w':
  25492. case 'W':
  25493. return number + '-я';
  25494. default:
  25495. return number;
  25496. }
  25497. },
  25498. week: {
  25499. dow: 1,
  25500. // Monday is the first day of the week.
  25501. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25502. }
  25503. });
  25504. return ru;
  25505. });
  25506. /***/ }),
  25507. /* 155 */
  25508. /*!***********************************************************************!*\
  25509. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sd.js ***!
  25510. \***********************************************************************/
  25511. /*! no static exports found */
  25512. /***/ (function(module, exports, __webpack_require__) {
  25513. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25514. //! moment.js locale configuration
  25515. //! locale : Sindhi [sd]
  25516. //! author : Narain Sagar : https://github.com/narainsagar
  25517. ;
  25518. (function (global, factory) {
  25519. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25520. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25521. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25522. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25523. })(this, function (moment) {
  25524. 'use strict';
  25525. //! moment.js locale configuration
  25526. var months = ['جنوري', 'فيبروري', 'مارچ', 'اپريل', 'مئي', 'جون', 'جولاءِ', 'آگسٽ', 'سيپٽمبر', 'آڪٽوبر', 'نومبر', 'ڊسمبر'],
  25527. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  25528. var sd = moment.defineLocale('sd', {
  25529. months: months,
  25530. monthsShort: months,
  25531. weekdays: days,
  25532. weekdaysShort: days,
  25533. weekdaysMin: days,
  25534. longDateFormat: {
  25535. LT: 'HH:mm',
  25536. LTS: 'HH:mm:ss',
  25537. L: 'DD/MM/YYYY',
  25538. LL: 'D MMMM YYYY',
  25539. LLL: 'D MMMM YYYY HH:mm',
  25540. LLLL: 'dddd، D MMMM YYYY HH:mm'
  25541. },
  25542. meridiemParse: /صبح|شام/,
  25543. isPM: function isPM(input) {
  25544. return 'شام' === input;
  25545. },
  25546. meridiem: function meridiem(hour, minute, isLower) {
  25547. if (hour < 12) {
  25548. return 'صبح';
  25549. }
  25550. return 'شام';
  25551. },
  25552. calendar: {
  25553. sameDay: '[اڄ] LT',
  25554. nextDay: '[سڀاڻي] LT',
  25555. nextWeek: 'dddd [اڳين هفتي تي] LT',
  25556. lastDay: '[ڪالهه] LT',
  25557. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  25558. sameElse: 'L'
  25559. },
  25560. relativeTime: {
  25561. future: '%s پوء',
  25562. past: '%s اڳ',
  25563. s: 'چند سيڪنڊ',
  25564. ss: '%d سيڪنڊ',
  25565. m: 'هڪ منٽ',
  25566. mm: '%d منٽ',
  25567. h: 'هڪ ڪلاڪ',
  25568. hh: '%d ڪلاڪ',
  25569. d: 'هڪ ڏينهن',
  25570. dd: '%d ڏينهن',
  25571. M: 'هڪ مهينو',
  25572. MM: '%d مهينا',
  25573. y: 'هڪ سال',
  25574. yy: '%d سال'
  25575. },
  25576. preparse: function preparse(string) {
  25577. return string.replace(/،/g, ',');
  25578. },
  25579. postformat: function postformat(string) {
  25580. return string.replace(/,/g, '،');
  25581. },
  25582. week: {
  25583. dow: 1,
  25584. // Monday is the first day of the week.
  25585. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25586. }
  25587. });
  25588. return sd;
  25589. });
  25590. /***/ }),
  25591. /* 156 */
  25592. /*!***********************************************************************!*\
  25593. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/se.js ***!
  25594. \***********************************************************************/
  25595. /*! no static exports found */
  25596. /***/ (function(module, exports, __webpack_require__) {
  25597. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25598. //! moment.js locale configuration
  25599. //! locale : Northern Sami [se]
  25600. //! authors : Bård Rolstad Henriksen : https://github.com/karamell
  25601. ;
  25602. (function (global, factory) {
  25603. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25604. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25605. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25606. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25607. })(this, function (moment) {
  25608. 'use strict';
  25609. //! moment.js locale configuration
  25610. var se = moment.defineLocale('se', {
  25611. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'),
  25612. monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'),
  25613. weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'),
  25614. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  25615. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  25616. longDateFormat: {
  25617. LT: 'HH:mm',
  25618. LTS: 'HH:mm:ss',
  25619. L: 'DD.MM.YYYY',
  25620. LL: 'MMMM D. [b.] YYYY',
  25621. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  25622. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm'
  25623. },
  25624. calendar: {
  25625. sameDay: '[otne ti] LT',
  25626. nextDay: '[ihttin ti] LT',
  25627. nextWeek: 'dddd [ti] LT',
  25628. lastDay: '[ikte ti] LT',
  25629. lastWeek: '[ovddit] dddd [ti] LT',
  25630. sameElse: 'L'
  25631. },
  25632. relativeTime: {
  25633. future: '%s geažes',
  25634. past: 'maŋit %s',
  25635. s: 'moadde sekunddat',
  25636. ss: '%d sekunddat',
  25637. m: 'okta minuhta',
  25638. mm: '%d minuhtat',
  25639. h: 'okta diimmu',
  25640. hh: '%d diimmut',
  25641. d: 'okta beaivi',
  25642. dd: '%d beaivvit',
  25643. M: 'okta mánnu',
  25644. MM: '%d mánut',
  25645. y: 'okta jahki',
  25646. yy: '%d jagit'
  25647. },
  25648. dayOfMonthOrdinalParse: /\d{1,2}\./,
  25649. ordinal: '%d.',
  25650. week: {
  25651. dow: 1,
  25652. // Monday is the first day of the week.
  25653. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25654. }
  25655. });
  25656. return se;
  25657. });
  25658. /***/ }),
  25659. /* 157 */
  25660. /*!***********************************************************************!*\
  25661. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/si.js ***!
  25662. \***********************************************************************/
  25663. /*! no static exports found */
  25664. /***/ (function(module, exports, __webpack_require__) {
  25665. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25666. //! moment.js locale configuration
  25667. //! locale : Sinhalese [si]
  25668. //! author : Sampath Sitinamaluwa : https://github.com/sampathsris
  25669. ;
  25670. (function (global, factory) {
  25671. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25672. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25673. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25674. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25675. })(this, function (moment) {
  25676. 'use strict';
  25677. //! moment.js locale configuration
  25678. /*jshint -W100*/
  25679. var si = moment.defineLocale('si', {
  25680. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'),
  25681. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'),
  25682. weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'),
  25683. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  25684. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  25685. weekdaysParseExact: true,
  25686. longDateFormat: {
  25687. LT: 'a h:mm',
  25688. LTS: 'a h:mm:ss',
  25689. L: 'YYYY/MM/DD',
  25690. LL: 'YYYY MMMM D',
  25691. LLL: 'YYYY MMMM D, a h:mm',
  25692. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss'
  25693. },
  25694. calendar: {
  25695. sameDay: '[අද] LT[ට]',
  25696. nextDay: '[හෙට] LT[ට]',
  25697. nextWeek: 'dddd LT[ට]',
  25698. lastDay: '[ඊයේ] LT[ට]',
  25699. lastWeek: '[පසුගිය] dddd LT[ට]',
  25700. sameElse: 'L'
  25701. },
  25702. relativeTime: {
  25703. future: '%sකින්',
  25704. past: '%sකට පෙර',
  25705. s: 'තත්පර කිහිපය',
  25706. ss: 'තත්පර %d',
  25707. m: 'මිනිත්තුව',
  25708. mm: 'මිනිත්තු %d',
  25709. h: 'පැය',
  25710. hh: 'පැය %d',
  25711. d: 'දිනය',
  25712. dd: 'දින %d',
  25713. M: 'මාසය',
  25714. MM: 'මාස %d',
  25715. y: 'වසර',
  25716. yy: 'වසර %d'
  25717. },
  25718. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  25719. ordinal: function ordinal(number) {
  25720. return number + ' වැනි';
  25721. },
  25722. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  25723. isPM: function isPM(input) {
  25724. return input === 'ප.ව.' || input === 'පස් වරු';
  25725. },
  25726. meridiem: function meridiem(hours, minutes, isLower) {
  25727. if (hours > 11) {
  25728. return isLower ? 'ප.ව.' : 'පස් වරු';
  25729. } else {
  25730. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  25731. }
  25732. }
  25733. });
  25734. return si;
  25735. });
  25736. /***/ }),
  25737. /* 158 */
  25738. /*!***********************************************************************!*\
  25739. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sk.js ***!
  25740. \***********************************************************************/
  25741. /*! no static exports found */
  25742. /***/ (function(module, exports, __webpack_require__) {
  25743. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25744. //! moment.js locale configuration
  25745. //! locale : Slovak [sk]
  25746. //! author : Martin Minka : https://github.com/k2s
  25747. //! based on work of petrbela : https://github.com/petrbela
  25748. ;
  25749. (function (global, factory) {
  25750. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25751. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25752. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25753. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25754. })(this, function (moment) {
  25755. 'use strict';
  25756. //! moment.js locale configuration
  25757. var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'),
  25758. monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  25759. function plural(n) {
  25760. return n > 1 && n < 5;
  25761. }
  25762. function translate(number, withoutSuffix, key, isFuture) {
  25763. var result = number + ' ';
  25764. switch (key) {
  25765. case 's':
  25766. // a few seconds / in a few seconds / a few seconds ago
  25767. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  25768. case 'ss':
  25769. // 9 seconds / in 9 seconds / 9 seconds ago
  25770. if (withoutSuffix || isFuture) {
  25771. return result + (plural(number) ? 'sekundy' : 'sekúnd');
  25772. } else {
  25773. return result + 'sekundami';
  25774. }
  25775. case 'm':
  25776. // a minute / in a minute / a minute ago
  25777. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  25778. case 'mm':
  25779. // 9 minutes / in 9 minutes / 9 minutes ago
  25780. if (withoutSuffix || isFuture) {
  25781. return result + (plural(number) ? 'minúty' : 'minút');
  25782. } else {
  25783. return result + 'minútami';
  25784. }
  25785. case 'h':
  25786. // an hour / in an hour / an hour ago
  25787. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  25788. case 'hh':
  25789. // 9 hours / in 9 hours / 9 hours ago
  25790. if (withoutSuffix || isFuture) {
  25791. return result + (plural(number) ? 'hodiny' : 'hodín');
  25792. } else {
  25793. return result + 'hodinami';
  25794. }
  25795. case 'd':
  25796. // a day / in a day / a day ago
  25797. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  25798. case 'dd':
  25799. // 9 days / in 9 days / 9 days ago
  25800. if (withoutSuffix || isFuture) {
  25801. return result + (plural(number) ? 'dni' : 'dní');
  25802. } else {
  25803. return result + 'dňami';
  25804. }
  25805. case 'M':
  25806. // a month / in a month / a month ago
  25807. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  25808. case 'MM':
  25809. // 9 months / in 9 months / 9 months ago
  25810. if (withoutSuffix || isFuture) {
  25811. return result + (plural(number) ? 'mesiace' : 'mesiacov');
  25812. } else {
  25813. return result + 'mesiacmi';
  25814. }
  25815. case 'y':
  25816. // a year / in a year / a year ago
  25817. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  25818. case 'yy':
  25819. // 9 years / in 9 years / 9 years ago
  25820. if (withoutSuffix || isFuture) {
  25821. return result + (plural(number) ? 'roky' : 'rokov');
  25822. } else {
  25823. return result + 'rokmi';
  25824. }
  25825. }
  25826. }
  25827. var sk = moment.defineLocale('sk', {
  25828. months: months,
  25829. monthsShort: monthsShort,
  25830. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  25831. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  25832. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  25833. longDateFormat: {
  25834. LT: 'H:mm',
  25835. LTS: 'H:mm:ss',
  25836. L: 'DD.MM.YYYY',
  25837. LL: 'D. MMMM YYYY',
  25838. LLL: 'D. MMMM YYYY H:mm',
  25839. LLLL: 'dddd D. MMMM YYYY H:mm'
  25840. },
  25841. calendar: {
  25842. sameDay: '[dnes o] LT',
  25843. nextDay: '[zajtra o] LT',
  25844. nextWeek: function nextWeek() {
  25845. switch (this.day()) {
  25846. case 0:
  25847. return '[v nedeľu o] LT';
  25848. case 1:
  25849. case 2:
  25850. return '[v] dddd [o] LT';
  25851. case 3:
  25852. return '[v stredu o] LT';
  25853. case 4:
  25854. return '[vo štvrtok o] LT';
  25855. case 5:
  25856. return '[v piatok o] LT';
  25857. case 6:
  25858. return '[v sobotu o] LT';
  25859. }
  25860. },
  25861. lastDay: '[včera o] LT',
  25862. lastWeek: function lastWeek() {
  25863. switch (this.day()) {
  25864. case 0:
  25865. return '[minulú nedeľu o] LT';
  25866. case 1:
  25867. case 2:
  25868. return '[minulý] dddd [o] LT';
  25869. case 3:
  25870. return '[minulú stredu o] LT';
  25871. case 4:
  25872. case 5:
  25873. return '[minulý] dddd [o] LT';
  25874. case 6:
  25875. return '[minulú sobotu o] LT';
  25876. }
  25877. },
  25878. sameElse: 'L'
  25879. },
  25880. relativeTime: {
  25881. future: 'za %s',
  25882. past: 'pred %s',
  25883. s: translate,
  25884. ss: translate,
  25885. m: translate,
  25886. mm: translate,
  25887. h: translate,
  25888. hh: translate,
  25889. d: translate,
  25890. dd: translate,
  25891. M: translate,
  25892. MM: translate,
  25893. y: translate,
  25894. yy: translate
  25895. },
  25896. dayOfMonthOrdinalParse: /\d{1,2}\./,
  25897. ordinal: '%d.',
  25898. week: {
  25899. dow: 1,
  25900. // Monday is the first day of the week.
  25901. doy: 4 // The week that contains Jan 4th is the first week of the year.
  25902. }
  25903. });
  25904. return sk;
  25905. });
  25906. /***/ }),
  25907. /* 159 */
  25908. /*!***********************************************************************!*\
  25909. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sl.js ***!
  25910. \***********************************************************************/
  25911. /*! no static exports found */
  25912. /***/ (function(module, exports, __webpack_require__) {
  25913. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  25914. //! moment.js locale configuration
  25915. //! locale : Slovenian [sl]
  25916. //! author : Robert Sedovšek : https://github.com/sedovsek
  25917. ;
  25918. (function (global, factory) {
  25919. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  25920. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  25921. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  25922. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  25923. })(this, function (moment) {
  25924. 'use strict';
  25925. //! moment.js locale configuration
  25926. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  25927. var result = number + ' ';
  25928. switch (key) {
  25929. case 's':
  25930. return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami';
  25931. case 'ss':
  25932. if (number === 1) {
  25933. result += withoutSuffix ? 'sekundo' : 'sekundi';
  25934. } else if (number === 2) {
  25935. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  25936. } else if (number < 5) {
  25937. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  25938. } else {
  25939. result += 'sekund';
  25940. }
  25941. return result;
  25942. case 'm':
  25943. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  25944. case 'mm':
  25945. if (number === 1) {
  25946. result += withoutSuffix ? 'minuta' : 'minuto';
  25947. } else if (number === 2) {
  25948. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  25949. } else if (number < 5) {
  25950. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  25951. } else {
  25952. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  25953. }
  25954. return result;
  25955. case 'h':
  25956. return withoutSuffix ? 'ena ura' : 'eno uro';
  25957. case 'hh':
  25958. if (number === 1) {
  25959. result += withoutSuffix ? 'ura' : 'uro';
  25960. } else if (number === 2) {
  25961. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  25962. } else if (number < 5) {
  25963. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  25964. } else {
  25965. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  25966. }
  25967. return result;
  25968. case 'd':
  25969. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  25970. case 'dd':
  25971. if (number === 1) {
  25972. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  25973. } else if (number === 2) {
  25974. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  25975. } else {
  25976. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  25977. }
  25978. return result;
  25979. case 'M':
  25980. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  25981. case 'MM':
  25982. if (number === 1) {
  25983. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  25984. } else if (number === 2) {
  25985. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  25986. } else if (number < 5) {
  25987. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  25988. } else {
  25989. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  25990. }
  25991. return result;
  25992. case 'y':
  25993. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  25994. case 'yy':
  25995. if (number === 1) {
  25996. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  25997. } else if (number === 2) {
  25998. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  25999. } else if (number < 5) {
  26000. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  26001. } else {
  26002. result += withoutSuffix || isFuture ? 'let' : 'leti';
  26003. }
  26004. return result;
  26005. }
  26006. }
  26007. var sl = moment.defineLocale('sl', {
  26008. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'),
  26009. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
  26010. monthsParseExact: true,
  26011. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  26012. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  26013. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  26014. weekdaysParseExact: true,
  26015. longDateFormat: {
  26016. LT: 'H:mm',
  26017. LTS: 'H:mm:ss',
  26018. L: 'DD. MM. YYYY',
  26019. LL: 'D. MMMM YYYY',
  26020. LLL: 'D. MMMM YYYY H:mm',
  26021. LLLL: 'dddd, D. MMMM YYYY H:mm'
  26022. },
  26023. calendar: {
  26024. sameDay: '[danes ob] LT',
  26025. nextDay: '[jutri ob] LT',
  26026. nextWeek: function nextWeek() {
  26027. switch (this.day()) {
  26028. case 0:
  26029. return '[v] [nedeljo] [ob] LT';
  26030. case 3:
  26031. return '[v] [sredo] [ob] LT';
  26032. case 6:
  26033. return '[v] [soboto] [ob] LT';
  26034. case 1:
  26035. case 2:
  26036. case 4:
  26037. case 5:
  26038. return '[v] dddd [ob] LT';
  26039. }
  26040. },
  26041. lastDay: '[včeraj ob] LT',
  26042. lastWeek: function lastWeek() {
  26043. switch (this.day()) {
  26044. case 0:
  26045. return '[prejšnjo] [nedeljo] [ob] LT';
  26046. case 3:
  26047. return '[prejšnjo] [sredo] [ob] LT';
  26048. case 6:
  26049. return '[prejšnjo] [soboto] [ob] LT';
  26050. case 1:
  26051. case 2:
  26052. case 4:
  26053. case 5:
  26054. return '[prejšnji] dddd [ob] LT';
  26055. }
  26056. },
  26057. sameElse: 'L'
  26058. },
  26059. relativeTime: {
  26060. future: 'čez %s',
  26061. past: 'pred %s',
  26062. s: processRelativeTime,
  26063. ss: processRelativeTime,
  26064. m: processRelativeTime,
  26065. mm: processRelativeTime,
  26066. h: processRelativeTime,
  26067. hh: processRelativeTime,
  26068. d: processRelativeTime,
  26069. dd: processRelativeTime,
  26070. M: processRelativeTime,
  26071. MM: processRelativeTime,
  26072. y: processRelativeTime,
  26073. yy: processRelativeTime
  26074. },
  26075. dayOfMonthOrdinalParse: /\d{1,2}\./,
  26076. ordinal: '%d.',
  26077. week: {
  26078. dow: 1,
  26079. // Monday is the first day of the week.
  26080. doy: 7 // The week that contains Jan 7th is the first week of the year.
  26081. }
  26082. });
  26083. return sl;
  26084. });
  26085. /***/ }),
  26086. /* 160 */
  26087. /*!***********************************************************************!*\
  26088. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sq.js ***!
  26089. \***********************************************************************/
  26090. /*! no static exports found */
  26091. /***/ (function(module, exports, __webpack_require__) {
  26092. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26093. //! moment.js locale configuration
  26094. //! locale : Albanian [sq]
  26095. //! author : Flakërim Ismani : https://github.com/flakerimi
  26096. //! author : Menelion Elensúle : https://github.com/Oire
  26097. //! author : Oerd Cukalla : https://github.com/oerd
  26098. ;
  26099. (function (global, factory) {
  26100. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26101. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26102. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26103. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26104. })(this, function (moment) {
  26105. 'use strict';
  26106. //! moment.js locale configuration
  26107. var sq = moment.defineLocale('sq', {
  26108. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'),
  26109. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  26110. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'),
  26111. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  26112. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  26113. weekdaysParseExact: true,
  26114. meridiemParse: /PD|MD/,
  26115. isPM: function isPM(input) {
  26116. return input.charAt(0) === 'M';
  26117. },
  26118. meridiem: function meridiem(hours, minutes, isLower) {
  26119. return hours < 12 ? 'PD' : 'MD';
  26120. },
  26121. longDateFormat: {
  26122. LT: 'HH:mm',
  26123. LTS: 'HH:mm:ss',
  26124. L: 'DD/MM/YYYY',
  26125. LL: 'D MMMM YYYY',
  26126. LLL: 'D MMMM YYYY HH:mm',
  26127. LLLL: 'dddd, D MMMM YYYY HH:mm'
  26128. },
  26129. calendar: {
  26130. sameDay: '[Sot në] LT',
  26131. nextDay: '[Nesër në] LT',
  26132. nextWeek: 'dddd [në] LT',
  26133. lastDay: '[Dje në] LT',
  26134. lastWeek: 'dddd [e kaluar në] LT',
  26135. sameElse: 'L'
  26136. },
  26137. relativeTime: {
  26138. future: 'në %s',
  26139. past: '%s më parë',
  26140. s: 'disa sekonda',
  26141. ss: '%d sekonda',
  26142. m: 'një minutë',
  26143. mm: '%d minuta',
  26144. h: 'një orë',
  26145. hh: '%d orë',
  26146. d: 'një ditë',
  26147. dd: '%d ditë',
  26148. M: 'një muaj',
  26149. MM: '%d muaj',
  26150. y: 'një vit',
  26151. yy: '%d vite'
  26152. },
  26153. dayOfMonthOrdinalParse: /\d{1,2}\./,
  26154. ordinal: '%d.',
  26155. week: {
  26156. dow: 1,
  26157. // Monday is the first day of the week.
  26158. doy: 4 // The week that contains Jan 4th is the first week of the year.
  26159. }
  26160. });
  26161. return sq;
  26162. });
  26163. /***/ }),
  26164. /* 161 */
  26165. /*!***********************************************************************!*\
  26166. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sr.js ***!
  26167. \***********************************************************************/
  26168. /*! no static exports found */
  26169. /***/ (function(module, exports, __webpack_require__) {
  26170. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26171. //! moment.js locale configuration
  26172. //! locale : Serbian [sr]
  26173. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  26174. //! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
  26175. ;
  26176. (function (global, factory) {
  26177. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26178. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26179. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26180. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26181. })(this, function (moment) {
  26182. 'use strict';
  26183. //! moment.js locale configuration
  26184. var translator = {
  26185. words: {
  26186. //Different grammatical cases
  26187. ss: ['sekunda', 'sekunde', 'sekundi'],
  26188. m: ['jedan minut', 'jednog minuta'],
  26189. mm: ['minut', 'minuta', 'minuta'],
  26190. h: ['jedan sat', 'jednog sata'],
  26191. hh: ['sat', 'sata', 'sati'],
  26192. d: ['jedan dan', 'jednog dana'],
  26193. dd: ['dan', 'dana', 'dana'],
  26194. M: ['jedan mesec', 'jednog meseca'],
  26195. MM: ['mesec', 'meseca', 'meseci'],
  26196. y: ['jednu godinu', 'jedne godine'],
  26197. yy: ['godinu', 'godine', 'godina']
  26198. },
  26199. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  26200. if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) {
  26201. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  26202. }
  26203. return wordKey[2];
  26204. },
  26205. translate: function translate(number, withoutSuffix, key, isFuture) {
  26206. var wordKey = translator.words[key],
  26207. word;
  26208. if (key.length === 1) {
  26209. // Nominativ
  26210. if (key === 'y' && withoutSuffix) return 'jedna godina';
  26211. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  26212. }
  26213. word = translator.correctGrammaticalCase(number, wordKey);
  26214. // Nominativ
  26215. if (key === 'yy' && withoutSuffix && word === 'godinu') {
  26216. return number + ' godina';
  26217. }
  26218. return number + ' ' + word;
  26219. }
  26220. };
  26221. var sr = moment.defineLocale('sr', {
  26222. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'),
  26223. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'),
  26224. monthsParseExact: true,
  26225. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'),
  26226. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  26227. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  26228. weekdaysParseExact: true,
  26229. longDateFormat: {
  26230. LT: 'H:mm',
  26231. LTS: 'H:mm:ss',
  26232. L: 'D. M. YYYY.',
  26233. LL: 'D. MMMM YYYY.',
  26234. LLL: 'D. MMMM YYYY. H:mm',
  26235. LLLL: 'dddd, D. MMMM YYYY. H:mm'
  26236. },
  26237. calendar: {
  26238. sameDay: '[danas u] LT',
  26239. nextDay: '[sutra u] LT',
  26240. nextWeek: function nextWeek() {
  26241. switch (this.day()) {
  26242. case 0:
  26243. return '[u] [nedelju] [u] LT';
  26244. case 3:
  26245. return '[u] [sredu] [u] LT';
  26246. case 6:
  26247. return '[u] [subotu] [u] LT';
  26248. case 1:
  26249. case 2:
  26250. case 4:
  26251. case 5:
  26252. return '[u] dddd [u] LT';
  26253. }
  26254. },
  26255. lastDay: '[juče u] LT',
  26256. lastWeek: function lastWeek() {
  26257. var lastWeekDays = ['[prošle] [nedelje] [u] LT', '[prošlog] [ponedeljka] [u] LT', '[prošlog] [utorka] [u] LT', '[prošle] [srede] [u] LT', '[prošlog] [četvrtka] [u] LT', '[prošlog] [petka] [u] LT', '[prošle] [subote] [u] LT'];
  26258. return lastWeekDays[this.day()];
  26259. },
  26260. sameElse: 'L'
  26261. },
  26262. relativeTime: {
  26263. future: 'za %s',
  26264. past: 'pre %s',
  26265. s: 'nekoliko sekundi',
  26266. ss: translator.translate,
  26267. m: translator.translate,
  26268. mm: translator.translate,
  26269. h: translator.translate,
  26270. hh: translator.translate,
  26271. d: translator.translate,
  26272. dd: translator.translate,
  26273. M: translator.translate,
  26274. MM: translator.translate,
  26275. y: translator.translate,
  26276. yy: translator.translate
  26277. },
  26278. dayOfMonthOrdinalParse: /\d{1,2}\./,
  26279. ordinal: '%d.',
  26280. week: {
  26281. dow: 1,
  26282. // Monday is the first day of the week.
  26283. doy: 7 // The week that contains Jan 7th is the first week of the year.
  26284. }
  26285. });
  26286. return sr;
  26287. });
  26288. /***/ }),
  26289. /* 162 */
  26290. /*!****************************************************************************!*\
  26291. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sr-cyrl.js ***!
  26292. \****************************************************************************/
  26293. /*! no static exports found */
  26294. /***/ (function(module, exports, __webpack_require__) {
  26295. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26296. //! moment.js locale configuration
  26297. //! locale : Serbian Cyrillic [sr-cyrl]
  26298. //! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
  26299. //! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
  26300. ;
  26301. (function (global, factory) {
  26302. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26303. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26304. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26305. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26306. })(this, function (moment) {
  26307. 'use strict';
  26308. //! moment.js locale configuration
  26309. var translator = {
  26310. words: {
  26311. //Different grammatical cases
  26312. ss: ['секунда', 'секунде', 'секунди'],
  26313. m: ['један минут', 'једног минута'],
  26314. mm: ['минут', 'минута', 'минута'],
  26315. h: ['један сат', 'једног сата'],
  26316. hh: ['сат', 'сата', 'сати'],
  26317. d: ['један дан', 'једног дана'],
  26318. dd: ['дан', 'дана', 'дана'],
  26319. M: ['један месец', 'једног месеца'],
  26320. MM: ['месец', 'месеца', 'месеци'],
  26321. y: ['једну годину', 'једне године'],
  26322. yy: ['годину', 'године', 'година']
  26323. },
  26324. correctGrammaticalCase: function correctGrammaticalCase(number, wordKey) {
  26325. if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) {
  26326. return number % 10 === 1 ? wordKey[0] : wordKey[1];
  26327. }
  26328. return wordKey[2];
  26329. },
  26330. translate: function translate(number, withoutSuffix, key, isFuture) {
  26331. var wordKey = translator.words[key],
  26332. word;
  26333. if (key.length === 1) {
  26334. // Nominativ
  26335. if (key === 'y' && withoutSuffix) return 'једна година';
  26336. return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
  26337. }
  26338. word = translator.correctGrammaticalCase(number, wordKey);
  26339. // Nominativ
  26340. if (key === 'yy' && withoutSuffix && word === 'годину') {
  26341. return number + ' година';
  26342. }
  26343. return number + ' ' + word;
  26344. }
  26345. };
  26346. var srCyrl = moment.defineLocale('sr-cyrl', {
  26347. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'),
  26348. monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'),
  26349. monthsParseExact: true,
  26350. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  26351. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  26352. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  26353. weekdaysParseExact: true,
  26354. longDateFormat: {
  26355. LT: 'H:mm',
  26356. LTS: 'H:mm:ss',
  26357. L: 'D. M. YYYY.',
  26358. LL: 'D. MMMM YYYY.',
  26359. LLL: 'D. MMMM YYYY. H:mm',
  26360. LLLL: 'dddd, D. MMMM YYYY. H:mm'
  26361. },
  26362. calendar: {
  26363. sameDay: '[данас у] LT',
  26364. nextDay: '[сутра у] LT',
  26365. nextWeek: function nextWeek() {
  26366. switch (this.day()) {
  26367. case 0:
  26368. return '[у] [недељу] [у] LT';
  26369. case 3:
  26370. return '[у] [среду] [у] LT';
  26371. case 6:
  26372. return '[у] [суботу] [у] LT';
  26373. case 1:
  26374. case 2:
  26375. case 4:
  26376. case 5:
  26377. return '[у] dddd [у] LT';
  26378. }
  26379. },
  26380. lastDay: '[јуче у] LT',
  26381. lastWeek: function lastWeek() {
  26382. var lastWeekDays = ['[прошле] [недеље] [у] LT', '[прошлог] [понедељка] [у] LT', '[прошлог] [уторка] [у] LT', '[прошле] [среде] [у] LT', '[прошлог] [четвртка] [у] LT', '[прошлог] [петка] [у] LT', '[прошле] [суботе] [у] LT'];
  26383. return lastWeekDays[this.day()];
  26384. },
  26385. sameElse: 'L'
  26386. },
  26387. relativeTime: {
  26388. future: 'за %s',
  26389. past: 'пре %s',
  26390. s: 'неколико секунди',
  26391. ss: translator.translate,
  26392. m: translator.translate,
  26393. mm: translator.translate,
  26394. h: translator.translate,
  26395. hh: translator.translate,
  26396. d: translator.translate,
  26397. dd: translator.translate,
  26398. M: translator.translate,
  26399. MM: translator.translate,
  26400. y: translator.translate,
  26401. yy: translator.translate
  26402. },
  26403. dayOfMonthOrdinalParse: /\d{1,2}\./,
  26404. ordinal: '%d.',
  26405. week: {
  26406. dow: 1,
  26407. // Monday is the first day of the week.
  26408. doy: 7 // The week that contains Jan 1st is the first week of the year.
  26409. }
  26410. });
  26411. return srCyrl;
  26412. });
  26413. /***/ }),
  26414. /* 163 */
  26415. /*!***********************************************************************!*\
  26416. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ss.js ***!
  26417. \***********************************************************************/
  26418. /*! no static exports found */
  26419. /***/ (function(module, exports, __webpack_require__) {
  26420. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26421. //! moment.js locale configuration
  26422. //! locale : siSwati [ss]
  26423. //! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
  26424. ;
  26425. (function (global, factory) {
  26426. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26427. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26428. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26429. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26430. })(this, function (moment) {
  26431. 'use strict';
  26432. //! moment.js locale configuration
  26433. var ss = moment.defineLocale('ss', {
  26434. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'),
  26435. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  26436. weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'),
  26437. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  26438. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  26439. weekdaysParseExact: true,
  26440. longDateFormat: {
  26441. LT: 'h:mm A',
  26442. LTS: 'h:mm:ss A',
  26443. L: 'DD/MM/YYYY',
  26444. LL: 'D MMMM YYYY',
  26445. LLL: 'D MMMM YYYY h:mm A',
  26446. LLLL: 'dddd, D MMMM YYYY h:mm A'
  26447. },
  26448. calendar: {
  26449. sameDay: '[Namuhla nga] LT',
  26450. nextDay: '[Kusasa nga] LT',
  26451. nextWeek: 'dddd [nga] LT',
  26452. lastDay: '[Itolo nga] LT',
  26453. lastWeek: 'dddd [leliphelile] [nga] LT',
  26454. sameElse: 'L'
  26455. },
  26456. relativeTime: {
  26457. future: 'nga %s',
  26458. past: 'wenteka nga %s',
  26459. s: 'emizuzwana lomcane',
  26460. ss: '%d mzuzwana',
  26461. m: 'umzuzu',
  26462. mm: '%d emizuzu',
  26463. h: 'lihora',
  26464. hh: '%d emahora',
  26465. d: 'lilanga',
  26466. dd: '%d emalanga',
  26467. M: 'inyanga',
  26468. MM: '%d tinyanga',
  26469. y: 'umnyaka',
  26470. yy: '%d iminyaka'
  26471. },
  26472. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  26473. meridiem: function meridiem(hours, minutes, isLower) {
  26474. if (hours < 11) {
  26475. return 'ekuseni';
  26476. } else if (hours < 15) {
  26477. return 'emini';
  26478. } else if (hours < 19) {
  26479. return 'entsambama';
  26480. } else {
  26481. return 'ebusuku';
  26482. }
  26483. },
  26484. meridiemHour: function meridiemHour(hour, meridiem) {
  26485. if (hour === 12) {
  26486. hour = 0;
  26487. }
  26488. if (meridiem === 'ekuseni') {
  26489. return hour;
  26490. } else if (meridiem === 'emini') {
  26491. return hour >= 11 ? hour : hour + 12;
  26492. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  26493. if (hour === 0) {
  26494. return 0;
  26495. }
  26496. return hour + 12;
  26497. }
  26498. },
  26499. dayOfMonthOrdinalParse: /\d{1,2}/,
  26500. ordinal: '%d',
  26501. week: {
  26502. dow: 1,
  26503. // Monday is the first day of the week.
  26504. doy: 4 // The week that contains Jan 4th is the first week of the year.
  26505. }
  26506. });
  26507. return ss;
  26508. });
  26509. /***/ }),
  26510. /* 164 */
  26511. /*!***********************************************************************!*\
  26512. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sv.js ***!
  26513. \***********************************************************************/
  26514. /*! no static exports found */
  26515. /***/ (function(module, exports, __webpack_require__) {
  26516. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26517. //! moment.js locale configuration
  26518. //! locale : Swedish [sv]
  26519. //! author : Jens Alm : https://github.com/ulmus
  26520. ;
  26521. (function (global, factory) {
  26522. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26523. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26524. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26525. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26526. })(this, function (moment) {
  26527. 'use strict';
  26528. //! moment.js locale configuration
  26529. var sv = moment.defineLocale('sv', {
  26530. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'),
  26531. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  26532. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  26533. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  26534. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  26535. longDateFormat: {
  26536. LT: 'HH:mm',
  26537. LTS: 'HH:mm:ss',
  26538. L: 'YYYY-MM-DD',
  26539. LL: 'D MMMM YYYY',
  26540. LLL: 'D MMMM YYYY [kl.] HH:mm',
  26541. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  26542. lll: 'D MMM YYYY HH:mm',
  26543. llll: 'ddd D MMM YYYY HH:mm'
  26544. },
  26545. calendar: {
  26546. sameDay: '[Idag] LT',
  26547. nextDay: '[Imorgon] LT',
  26548. lastDay: '[Igår] LT',
  26549. nextWeek: '[På] dddd LT',
  26550. lastWeek: '[I] dddd[s] LT',
  26551. sameElse: 'L'
  26552. },
  26553. relativeTime: {
  26554. future: 'om %s',
  26555. past: 'för %s sedan',
  26556. s: 'några sekunder',
  26557. ss: '%d sekunder',
  26558. m: 'en minut',
  26559. mm: '%d minuter',
  26560. h: 'en timme',
  26561. hh: '%d timmar',
  26562. d: 'en dag',
  26563. dd: '%d dagar',
  26564. M: 'en månad',
  26565. MM: '%d månader',
  26566. y: 'ett år',
  26567. yy: '%d år'
  26568. },
  26569. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  26570. ordinal: function ordinal(number) {
  26571. var b = number % 10,
  26572. output = ~~(number % 100 / 10) === 1 ? ':e' : b === 1 ? ':a' : b === 2 ? ':a' : b === 3 ? ':e' : ':e';
  26573. return number + output;
  26574. },
  26575. week: {
  26576. dow: 1,
  26577. // Monday is the first day of the week.
  26578. doy: 4 // The week that contains Jan 4th is the first week of the year.
  26579. }
  26580. });
  26581. return sv;
  26582. });
  26583. /***/ }),
  26584. /* 165 */
  26585. /*!***********************************************************************!*\
  26586. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/sw.js ***!
  26587. \***********************************************************************/
  26588. /*! no static exports found */
  26589. /***/ (function(module, exports, __webpack_require__) {
  26590. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26591. //! moment.js locale configuration
  26592. //! locale : Swahili [sw]
  26593. //! author : Fahad Kassim : https://github.com/fadsel
  26594. ;
  26595. (function (global, factory) {
  26596. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26597. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26598. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26599. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26600. })(this, function (moment) {
  26601. 'use strict';
  26602. //! moment.js locale configuration
  26603. var sw = moment.defineLocale('sw', {
  26604. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'),
  26605. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  26606. weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'),
  26607. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  26608. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  26609. weekdaysParseExact: true,
  26610. longDateFormat: {
  26611. LT: 'hh:mm A',
  26612. LTS: 'HH:mm:ss',
  26613. L: 'DD.MM.YYYY',
  26614. LL: 'D MMMM YYYY',
  26615. LLL: 'D MMMM YYYY HH:mm',
  26616. LLLL: 'dddd, D MMMM YYYY HH:mm'
  26617. },
  26618. calendar: {
  26619. sameDay: '[leo saa] LT',
  26620. nextDay: '[kesho saa] LT',
  26621. nextWeek: '[wiki ijayo] dddd [saat] LT',
  26622. lastDay: '[jana] LT',
  26623. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  26624. sameElse: 'L'
  26625. },
  26626. relativeTime: {
  26627. future: '%s baadaye',
  26628. past: 'tokea %s',
  26629. s: 'hivi punde',
  26630. ss: 'sekunde %d',
  26631. m: 'dakika moja',
  26632. mm: 'dakika %d',
  26633. h: 'saa limoja',
  26634. hh: 'masaa %d',
  26635. d: 'siku moja',
  26636. dd: 'siku %d',
  26637. M: 'mwezi mmoja',
  26638. MM: 'miezi %d',
  26639. y: 'mwaka mmoja',
  26640. yy: 'miaka %d'
  26641. },
  26642. week: {
  26643. dow: 1,
  26644. // Monday is the first day of the week.
  26645. doy: 7 // The week that contains Jan 7th is the first week of the year.
  26646. }
  26647. });
  26648. return sw;
  26649. });
  26650. /***/ }),
  26651. /* 166 */
  26652. /*!***********************************************************************!*\
  26653. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ta.js ***!
  26654. \***********************************************************************/
  26655. /*! no static exports found */
  26656. /***/ (function(module, exports, __webpack_require__) {
  26657. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26658. //! moment.js locale configuration
  26659. //! locale : Tamil [ta]
  26660. //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
  26661. ;
  26662. (function (global, factory) {
  26663. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26664. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26665. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26666. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26667. })(this, function (moment) {
  26668. 'use strict';
  26669. //! moment.js locale configuration
  26670. var symbolMap = {
  26671. 1: '௧',
  26672. 2: '௨',
  26673. 3: '௩',
  26674. 4: '௪',
  26675. 5: '௫',
  26676. 6: '௬',
  26677. 7: '௭',
  26678. 8: '௮',
  26679. 9: '௯',
  26680. 0: '௦'
  26681. },
  26682. numberMap = {
  26683. '௧': '1',
  26684. '௨': '2',
  26685. '௩': '3',
  26686. '௪': '4',
  26687. '௫': '5',
  26688. '௬': '6',
  26689. '௭': '7',
  26690. '௮': '8',
  26691. '௯': '9',
  26692. '௦': '0'
  26693. };
  26694. var ta = moment.defineLocale('ta', {
  26695. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  26696. monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'),
  26697. weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'),
  26698. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'),
  26699. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  26700. longDateFormat: {
  26701. LT: 'HH:mm',
  26702. LTS: 'HH:mm:ss',
  26703. L: 'DD/MM/YYYY',
  26704. LL: 'D MMMM YYYY',
  26705. LLL: 'D MMMM YYYY, HH:mm',
  26706. LLLL: 'dddd, D MMMM YYYY, HH:mm'
  26707. },
  26708. calendar: {
  26709. sameDay: '[இன்று] LT',
  26710. nextDay: '[நாளை] LT',
  26711. nextWeek: 'dddd, LT',
  26712. lastDay: '[நேற்று] LT',
  26713. lastWeek: '[கடந்த வாரம்] dddd, LT',
  26714. sameElse: 'L'
  26715. },
  26716. relativeTime: {
  26717. future: '%s இல்',
  26718. past: '%s முன்',
  26719. s: 'ஒரு சில விநாடிகள்',
  26720. ss: '%d விநாடிகள்',
  26721. m: 'ஒரு நிமிடம்',
  26722. mm: '%d நிமிடங்கள்',
  26723. h: 'ஒரு மணி நேரம்',
  26724. hh: '%d மணி நேரம்',
  26725. d: 'ஒரு நாள்',
  26726. dd: '%d நாட்கள்',
  26727. M: 'ஒரு மாதம்',
  26728. MM: '%d மாதங்கள்',
  26729. y: 'ஒரு வருடம்',
  26730. yy: '%d ஆண்டுகள்'
  26731. },
  26732. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  26733. ordinal: function ordinal(number) {
  26734. return number + 'வது';
  26735. },
  26736. preparse: function preparse(string) {
  26737. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  26738. return numberMap[match];
  26739. });
  26740. },
  26741. postformat: function postformat(string) {
  26742. return string.replace(/\d/g, function (match) {
  26743. return symbolMap[match];
  26744. });
  26745. },
  26746. // refer http://ta.wikipedia.org/s/1er1
  26747. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  26748. meridiem: function meridiem(hour, minute, isLower) {
  26749. if (hour < 2) {
  26750. return ' யாமம்';
  26751. } else if (hour < 6) {
  26752. return ' வைகறை'; // வைகறை
  26753. } else if (hour < 10) {
  26754. return ' காலை'; // காலை
  26755. } else if (hour < 14) {
  26756. return ' நண்பகல்'; // நண்பகல்
  26757. } else if (hour < 18) {
  26758. return ' எற்பாடு'; // எற்பாடு
  26759. } else if (hour < 22) {
  26760. return ' மாலை'; // மாலை
  26761. } else {
  26762. return ' யாமம்';
  26763. }
  26764. },
  26765. meridiemHour: function meridiemHour(hour, meridiem) {
  26766. if (hour === 12) {
  26767. hour = 0;
  26768. }
  26769. if (meridiem === 'யாமம்') {
  26770. return hour < 2 ? hour : hour + 12;
  26771. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  26772. return hour;
  26773. } else if (meridiem === 'நண்பகல்') {
  26774. return hour >= 10 ? hour : hour + 12;
  26775. } else {
  26776. return hour + 12;
  26777. }
  26778. },
  26779. week: {
  26780. dow: 0,
  26781. // Sunday is the first day of the week.
  26782. doy: 6 // The week that contains Jan 6th is the first week of the year.
  26783. }
  26784. });
  26785. return ta;
  26786. });
  26787. /***/ }),
  26788. /* 167 */
  26789. /*!***********************************************************************!*\
  26790. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/te.js ***!
  26791. \***********************************************************************/
  26792. /*! no static exports found */
  26793. /***/ (function(module, exports, __webpack_require__) {
  26794. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26795. //! moment.js locale configuration
  26796. //! locale : Telugu [te]
  26797. //! author : Krishna Chaitanya Thota : https://github.com/kcthota
  26798. ;
  26799. (function (global, factory) {
  26800. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26801. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26802. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26803. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26804. })(this, function (moment) {
  26805. 'use strict';
  26806. //! moment.js locale configuration
  26807. var te = moment.defineLocale('te', {
  26808. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
  26809. monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
  26810. monthsParseExact: true,
  26811. weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
  26812. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  26813. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  26814. longDateFormat: {
  26815. LT: 'A h:mm',
  26816. LTS: 'A h:mm:ss',
  26817. L: 'DD/MM/YYYY',
  26818. LL: 'D MMMM YYYY',
  26819. LLL: 'D MMMM YYYY, A h:mm',
  26820. LLLL: 'dddd, D MMMM YYYY, A h:mm'
  26821. },
  26822. calendar: {
  26823. sameDay: '[నేడు] LT',
  26824. nextDay: '[రేపు] LT',
  26825. nextWeek: 'dddd, LT',
  26826. lastDay: '[నిన్న] LT',
  26827. lastWeek: '[గత] dddd, LT',
  26828. sameElse: 'L'
  26829. },
  26830. relativeTime: {
  26831. future: '%s లో',
  26832. past: '%s క్రితం',
  26833. s: 'కొన్ని క్షణాలు',
  26834. ss: '%d సెకన్లు',
  26835. m: 'ఒక నిమిషం',
  26836. mm: '%d నిమిషాలు',
  26837. h: 'ఒక గంట',
  26838. hh: '%d గంటలు',
  26839. d: 'ఒక రోజు',
  26840. dd: '%d రోజులు',
  26841. M: 'ఒక నెల',
  26842. MM: '%d నెలలు',
  26843. y: 'ఒక సంవత్సరం',
  26844. yy: '%d సంవత్సరాలు'
  26845. },
  26846. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  26847. ordinal: '%dవ',
  26848. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  26849. meridiemHour: function meridiemHour(hour, meridiem) {
  26850. if (hour === 12) {
  26851. hour = 0;
  26852. }
  26853. if (meridiem === 'రాత్రి') {
  26854. return hour < 4 ? hour : hour + 12;
  26855. } else if (meridiem === 'ఉదయం') {
  26856. return hour;
  26857. } else if (meridiem === 'మధ్యాహ్నం') {
  26858. return hour >= 10 ? hour : hour + 12;
  26859. } else if (meridiem === 'సాయంత్రం') {
  26860. return hour + 12;
  26861. }
  26862. },
  26863. meridiem: function meridiem(hour, minute, isLower) {
  26864. if (hour < 4) {
  26865. return 'రాత్రి';
  26866. } else if (hour < 10) {
  26867. return 'ఉదయం';
  26868. } else if (hour < 17) {
  26869. return 'మధ్యాహ్నం';
  26870. } else if (hour < 20) {
  26871. return 'సాయంత్రం';
  26872. } else {
  26873. return 'రాత్రి';
  26874. }
  26875. },
  26876. week: {
  26877. dow: 0,
  26878. // Sunday is the first day of the week.
  26879. doy: 6 // The week that contains Jan 6th is the first week of the year.
  26880. }
  26881. });
  26882. return te;
  26883. });
  26884. /***/ }),
  26885. /* 168 */
  26886. /*!************************************************************************!*\
  26887. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tet.js ***!
  26888. \************************************************************************/
  26889. /*! no static exports found */
  26890. /***/ (function(module, exports, __webpack_require__) {
  26891. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26892. //! moment.js locale configuration
  26893. //! locale : Tetun Dili (East Timor) [tet]
  26894. //! author : Joshua Brooks : https://github.com/joshbrooks
  26895. //! author : Onorio De J. Afonso : https://github.com/marobo
  26896. //! author : Sonia Simoes : https://github.com/soniasimoes
  26897. ;
  26898. (function (global, factory) {
  26899. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26900. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26901. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26902. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26903. })(this, function (moment) {
  26904. 'use strict';
  26905. //! moment.js locale configuration
  26906. var tet = moment.defineLocale('tet', {
  26907. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'),
  26908. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  26909. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  26910. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  26911. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  26912. longDateFormat: {
  26913. LT: 'HH:mm',
  26914. LTS: 'HH:mm:ss',
  26915. L: 'DD/MM/YYYY',
  26916. LL: 'D MMMM YYYY',
  26917. LLL: 'D MMMM YYYY HH:mm',
  26918. LLLL: 'dddd, D MMMM YYYY HH:mm'
  26919. },
  26920. calendar: {
  26921. sameDay: '[Ohin iha] LT',
  26922. nextDay: '[Aban iha] LT',
  26923. nextWeek: 'dddd [iha] LT',
  26924. lastDay: '[Horiseik iha] LT',
  26925. lastWeek: 'dddd [semana kotuk] [iha] LT',
  26926. sameElse: 'L'
  26927. },
  26928. relativeTime: {
  26929. future: 'iha %s',
  26930. past: '%s liuba',
  26931. s: 'segundu balun',
  26932. ss: 'segundu %d',
  26933. m: 'minutu ida',
  26934. mm: 'minutu %d',
  26935. h: 'oras ida',
  26936. hh: 'oras %d',
  26937. d: 'loron ida',
  26938. dd: 'loron %d',
  26939. M: 'fulan ida',
  26940. MM: 'fulan %d',
  26941. y: 'tinan ida',
  26942. yy: 'tinan %d'
  26943. },
  26944. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  26945. ordinal: function ordinal(number) {
  26946. var b = number % 10,
  26947. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  26948. return number + output;
  26949. },
  26950. week: {
  26951. dow: 1,
  26952. // Monday is the first day of the week.
  26953. doy: 4 // The week that contains Jan 4th is the first week of the year.
  26954. }
  26955. });
  26956. return tet;
  26957. });
  26958. /***/ }),
  26959. /* 169 */
  26960. /*!***********************************************************************!*\
  26961. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tg.js ***!
  26962. \***********************************************************************/
  26963. /*! no static exports found */
  26964. /***/ (function(module, exports, __webpack_require__) {
  26965. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  26966. //! moment.js locale configuration
  26967. //! locale : Tajik [tg]
  26968. //! author : Orif N. Jr. : https://github.com/orif-jr
  26969. ;
  26970. (function (global, factory) {
  26971. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  26972. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  26973. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  26974. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  26975. })(this, function (moment) {
  26976. 'use strict';
  26977. //! moment.js locale configuration
  26978. var suffixes = {
  26979. 0: '-ум',
  26980. 1: '-ум',
  26981. 2: '-юм',
  26982. 3: '-юм',
  26983. 4: '-ум',
  26984. 5: '-ум',
  26985. 6: '-ум',
  26986. 7: '-ум',
  26987. 8: '-ум',
  26988. 9: '-ум',
  26989. 10: '-ум',
  26990. 12: '-ум',
  26991. 13: '-ум',
  26992. 20: '-ум',
  26993. 30: '-юм',
  26994. 40: '-ум',
  26995. 50: '-ум',
  26996. 60: '-ум',
  26997. 70: '-ум',
  26998. 80: '-ум',
  26999. 90: '-ум',
  27000. 100: '-ум'
  27001. };
  27002. var tg = moment.defineLocale('tg', {
  27003. months: {
  27004. format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split('_'),
  27005. standalone: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_')
  27006. },
  27007. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  27008. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'),
  27009. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  27010. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  27011. longDateFormat: {
  27012. LT: 'HH:mm',
  27013. LTS: 'HH:mm:ss',
  27014. L: 'DD.MM.YYYY',
  27015. LL: 'D MMMM YYYY',
  27016. LLL: 'D MMMM YYYY HH:mm',
  27017. LLLL: 'dddd, D MMMM YYYY HH:mm'
  27018. },
  27019. calendar: {
  27020. sameDay: '[Имрӯз соати] LT',
  27021. nextDay: '[Фардо соати] LT',
  27022. lastDay: '[Дирӯз соати] LT',
  27023. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  27024. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  27025. sameElse: 'L'
  27026. },
  27027. relativeTime: {
  27028. future: 'баъди %s',
  27029. past: '%s пеш',
  27030. s: 'якчанд сония',
  27031. m: 'як дақиқа',
  27032. mm: '%d дақиқа',
  27033. h: 'як соат',
  27034. hh: '%d соат',
  27035. d: 'як рӯз',
  27036. dd: '%d рӯз',
  27037. M: 'як моҳ',
  27038. MM: '%d моҳ',
  27039. y: 'як сол',
  27040. yy: '%d сол'
  27041. },
  27042. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  27043. meridiemHour: function meridiemHour(hour, meridiem) {
  27044. if (hour === 12) {
  27045. hour = 0;
  27046. }
  27047. if (meridiem === 'шаб') {
  27048. return hour < 4 ? hour : hour + 12;
  27049. } else if (meridiem === 'субҳ') {
  27050. return hour;
  27051. } else if (meridiem === 'рӯз') {
  27052. return hour >= 11 ? hour : hour + 12;
  27053. } else if (meridiem === 'бегоҳ') {
  27054. return hour + 12;
  27055. }
  27056. },
  27057. meridiem: function meridiem(hour, minute, isLower) {
  27058. if (hour < 4) {
  27059. return 'шаб';
  27060. } else if (hour < 11) {
  27061. return 'субҳ';
  27062. } else if (hour < 16) {
  27063. return 'рӯз';
  27064. } else if (hour < 19) {
  27065. return 'бегоҳ';
  27066. } else {
  27067. return 'шаб';
  27068. }
  27069. },
  27070. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  27071. ordinal: function ordinal(number) {
  27072. var a = number % 10,
  27073. b = number >= 100 ? 100 : null;
  27074. return number + (suffixes[number] || suffixes[a] || suffixes[b]);
  27075. },
  27076. week: {
  27077. dow: 1,
  27078. // Monday is the first day of the week.
  27079. doy: 7 // The week that contains Jan 1th is the first week of the year.
  27080. }
  27081. });
  27082. return tg;
  27083. });
  27084. /***/ }),
  27085. /* 170 */
  27086. /*!***********************************************************************!*\
  27087. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/th.js ***!
  27088. \***********************************************************************/
  27089. /*! no static exports found */
  27090. /***/ (function(module, exports, __webpack_require__) {
  27091. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27092. //! moment.js locale configuration
  27093. //! locale : Thai [th]
  27094. //! author : Kridsada Thanabulpong : https://github.com/sirn
  27095. ;
  27096. (function (global, factory) {
  27097. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27098. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27099. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27100. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27101. })(this, function (moment) {
  27102. 'use strict';
  27103. //! moment.js locale configuration
  27104. var th = moment.defineLocale('th', {
  27105. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
  27106. monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
  27107. monthsParseExact: true,
  27108. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  27109. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'),
  27110. // yes, three characters difference
  27111. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  27112. weekdaysParseExact: true,
  27113. longDateFormat: {
  27114. LT: 'H:mm',
  27115. LTS: 'H:mm:ss',
  27116. L: 'DD/MM/YYYY',
  27117. LL: 'D MMMM YYYY',
  27118. LLL: 'D MMMM YYYY เวลา H:mm',
  27119. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm'
  27120. },
  27121. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  27122. isPM: function isPM(input) {
  27123. return input === 'หลังเที่ยง';
  27124. },
  27125. meridiem: function meridiem(hour, minute, isLower) {
  27126. if (hour < 12) {
  27127. return 'ก่อนเที่ยง';
  27128. } else {
  27129. return 'หลังเที่ยง';
  27130. }
  27131. },
  27132. calendar: {
  27133. sameDay: '[วันนี้ เวลา] LT',
  27134. nextDay: '[พรุ่งนี้ เวลา] LT',
  27135. nextWeek: 'dddd[หน้า เวลา] LT',
  27136. lastDay: '[เมื่อวานนี้ เวลา] LT',
  27137. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  27138. sameElse: 'L'
  27139. },
  27140. relativeTime: {
  27141. future: 'อีก %s',
  27142. past: '%sที่แล้ว',
  27143. s: 'ไม่กี่วินาที',
  27144. ss: '%d วินาที',
  27145. m: '1 นาที',
  27146. mm: '%d นาที',
  27147. h: '1 ชั่วโมง',
  27148. hh: '%d ชั่วโมง',
  27149. d: '1 วัน',
  27150. dd: '%d วัน',
  27151. w: '1 สัปดาห์',
  27152. ww: '%d สัปดาห์',
  27153. M: '1 เดือน',
  27154. MM: '%d เดือน',
  27155. y: '1 ปี',
  27156. yy: '%d ปี'
  27157. }
  27158. });
  27159. return th;
  27160. });
  27161. /***/ }),
  27162. /* 171 */
  27163. /*!***********************************************************************!*\
  27164. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tk.js ***!
  27165. \***********************************************************************/
  27166. /*! no static exports found */
  27167. /***/ (function(module, exports, __webpack_require__) {
  27168. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27169. //! moment.js locale configuration
  27170. //! locale : Turkmen [tk]
  27171. //! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
  27172. ;
  27173. (function (global, factory) {
  27174. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27175. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27176. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27177. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27178. })(this, function (moment) {
  27179. 'use strict';
  27180. //! moment.js locale configuration
  27181. var suffixes = {
  27182. 1: "'inji",
  27183. 5: "'inji",
  27184. 8: "'inji",
  27185. 70: "'inji",
  27186. 80: "'inji",
  27187. 2: "'nji",
  27188. 7: "'nji",
  27189. 20: "'nji",
  27190. 50: "'nji",
  27191. 3: "'ünji",
  27192. 4: "'ünji",
  27193. 100: "'ünji",
  27194. 6: "'njy",
  27195. 9: "'unjy",
  27196. 10: "'unjy",
  27197. 30: "'unjy",
  27198. 60: "'ynjy",
  27199. 90: "'ynjy"
  27200. };
  27201. var tk = moment.defineLocale('tk', {
  27202. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split('_'),
  27203. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  27204. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split('_'),
  27205. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  27206. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  27207. longDateFormat: {
  27208. LT: 'HH:mm',
  27209. LTS: 'HH:mm:ss',
  27210. L: 'DD.MM.YYYY',
  27211. LL: 'D MMMM YYYY',
  27212. LLL: 'D MMMM YYYY HH:mm',
  27213. LLLL: 'dddd, D MMMM YYYY HH:mm'
  27214. },
  27215. calendar: {
  27216. sameDay: '[bugün sagat] LT',
  27217. nextDay: '[ertir sagat] LT',
  27218. nextWeek: '[indiki] dddd [sagat] LT',
  27219. lastDay: '[düýn] LT',
  27220. lastWeek: '[geçen] dddd [sagat] LT',
  27221. sameElse: 'L'
  27222. },
  27223. relativeTime: {
  27224. future: '%s soň',
  27225. past: '%s öň',
  27226. s: 'birnäçe sekunt',
  27227. m: 'bir minut',
  27228. mm: '%d minut',
  27229. h: 'bir sagat',
  27230. hh: '%d sagat',
  27231. d: 'bir gün',
  27232. dd: '%d gün',
  27233. M: 'bir aý',
  27234. MM: '%d aý',
  27235. y: 'bir ýyl',
  27236. yy: '%d ýyl'
  27237. },
  27238. ordinal: function ordinal(number, period) {
  27239. switch (period) {
  27240. case 'd':
  27241. case 'D':
  27242. case 'Do':
  27243. case 'DD':
  27244. return number;
  27245. default:
  27246. if (number === 0) {
  27247. // special case for zero
  27248. return number + "'unjy";
  27249. }
  27250. var a = number % 10,
  27251. b = number % 100 - a,
  27252. c = number >= 100 ? 100 : null;
  27253. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  27254. }
  27255. },
  27256. week: {
  27257. dow: 1,
  27258. // Monday is the first day of the week.
  27259. doy: 7 // The week that contains Jan 7th is the first week of the year.
  27260. }
  27261. });
  27262. return tk;
  27263. });
  27264. /***/ }),
  27265. /* 172 */
  27266. /*!**************************************************************************!*\
  27267. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tl-ph.js ***!
  27268. \**************************************************************************/
  27269. /*! no static exports found */
  27270. /***/ (function(module, exports, __webpack_require__) {
  27271. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27272. //! moment.js locale configuration
  27273. //! locale : Tagalog (Philippines) [tl-ph]
  27274. //! author : Dan Hagman : https://github.com/hagmandan
  27275. ;
  27276. (function (global, factory) {
  27277. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27278. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27279. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27280. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27281. })(this, function (moment) {
  27282. 'use strict';
  27283. //! moment.js locale configuration
  27284. var tlPh = moment.defineLocale('tl-ph', {
  27285. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
  27286. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  27287. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
  27288. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  27289. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  27290. longDateFormat: {
  27291. LT: 'HH:mm',
  27292. LTS: 'HH:mm:ss',
  27293. L: 'MM/D/YYYY',
  27294. LL: 'MMMM D, YYYY',
  27295. LLL: 'MMMM D, YYYY HH:mm',
  27296. LLLL: 'dddd, MMMM DD, YYYY HH:mm'
  27297. },
  27298. calendar: {
  27299. sameDay: 'LT [ngayong araw]',
  27300. nextDay: '[Bukas ng] LT',
  27301. nextWeek: 'LT [sa susunod na] dddd',
  27302. lastDay: 'LT [kahapon]',
  27303. lastWeek: 'LT [noong nakaraang] dddd',
  27304. sameElse: 'L'
  27305. },
  27306. relativeTime: {
  27307. future: 'sa loob ng %s',
  27308. past: '%s ang nakalipas',
  27309. s: 'ilang segundo',
  27310. ss: '%d segundo',
  27311. m: 'isang minuto',
  27312. mm: '%d minuto',
  27313. h: 'isang oras',
  27314. hh: '%d oras',
  27315. d: 'isang araw',
  27316. dd: '%d araw',
  27317. M: 'isang buwan',
  27318. MM: '%d buwan',
  27319. y: 'isang taon',
  27320. yy: '%d taon'
  27321. },
  27322. dayOfMonthOrdinalParse: /\d{1,2}/,
  27323. ordinal: function ordinal(number) {
  27324. return number;
  27325. },
  27326. week: {
  27327. dow: 1,
  27328. // Monday is the first day of the week.
  27329. doy: 4 // The week that contains Jan 4th is the first week of the year.
  27330. }
  27331. });
  27332. return tlPh;
  27333. });
  27334. /***/ }),
  27335. /* 173 */
  27336. /*!************************************************************************!*\
  27337. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tlh.js ***!
  27338. \************************************************************************/
  27339. /*! no static exports found */
  27340. /***/ (function(module, exports, __webpack_require__) {
  27341. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27342. //! moment.js locale configuration
  27343. //! locale : Klingon [tlh]
  27344. //! author : Dominika Kruk : https://github.com/amaranthrose
  27345. ;
  27346. (function (global, factory) {
  27347. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27348. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27349. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27350. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27351. })(this, function (moment) {
  27352. 'use strict';
  27353. //! moment.js locale configuration
  27354. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  27355. function translateFuture(output) {
  27356. var time = output;
  27357. time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'leS' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'waQ' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'nem' : time + ' pIq';
  27358. return time;
  27359. }
  27360. function translatePast(output) {
  27361. var time = output;
  27362. time = output.indexOf('jaj') !== -1 ? time.slice(0, -3) + 'Hu’' : output.indexOf('jar') !== -1 ? time.slice(0, -3) + 'wen' : output.indexOf('DIS') !== -1 ? time.slice(0, -3) + 'ben' : time + ' ret';
  27363. return time;
  27364. }
  27365. function translate(number, withoutSuffix, string, isFuture) {
  27366. var numberNoun = numberAsNoun(number);
  27367. switch (string) {
  27368. case 'ss':
  27369. return numberNoun + ' lup';
  27370. case 'mm':
  27371. return numberNoun + ' tup';
  27372. case 'hh':
  27373. return numberNoun + ' rep';
  27374. case 'dd':
  27375. return numberNoun + ' jaj';
  27376. case 'MM':
  27377. return numberNoun + ' jar';
  27378. case 'yy':
  27379. return numberNoun + ' DIS';
  27380. }
  27381. }
  27382. function numberAsNoun(number) {
  27383. var hundred = Math.floor(number % 1000 / 100),
  27384. ten = Math.floor(number % 100 / 10),
  27385. one = number % 10,
  27386. word = '';
  27387. if (hundred > 0) {
  27388. word += numbersNouns[hundred] + 'vatlh';
  27389. }
  27390. if (ten > 0) {
  27391. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  27392. }
  27393. if (one > 0) {
  27394. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  27395. }
  27396. return word === '' ? 'pagh' : word;
  27397. }
  27398. var tlh = moment.defineLocale('tlh', {
  27399. months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
  27400. monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
  27401. monthsParseExact: true,
  27402. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  27403. weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  27404. weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
  27405. longDateFormat: {
  27406. LT: 'HH:mm',
  27407. LTS: 'HH:mm:ss',
  27408. L: 'DD.MM.YYYY',
  27409. LL: 'D MMMM YYYY',
  27410. LLL: 'D MMMM YYYY HH:mm',
  27411. LLLL: 'dddd, D MMMM YYYY HH:mm'
  27412. },
  27413. calendar: {
  27414. sameDay: '[DaHjaj] LT',
  27415. nextDay: '[wa’leS] LT',
  27416. nextWeek: 'LLL',
  27417. lastDay: '[wa’Hu’] LT',
  27418. lastWeek: 'LLL',
  27419. sameElse: 'L'
  27420. },
  27421. relativeTime: {
  27422. future: translateFuture,
  27423. past: translatePast,
  27424. s: 'puS lup',
  27425. ss: translate,
  27426. m: 'wa’ tup',
  27427. mm: translate,
  27428. h: 'wa’ rep',
  27429. hh: translate,
  27430. d: 'wa’ jaj',
  27431. dd: translate,
  27432. M: 'wa’ jar',
  27433. MM: translate,
  27434. y: 'wa’ DIS',
  27435. yy: translate
  27436. },
  27437. dayOfMonthOrdinalParse: /\d{1,2}\./,
  27438. ordinal: '%d.',
  27439. week: {
  27440. dow: 1,
  27441. // Monday is the first day of the week.
  27442. doy: 4 // The week that contains Jan 4th is the first week of the year.
  27443. }
  27444. });
  27445. return tlh;
  27446. });
  27447. /***/ }),
  27448. /* 174 */
  27449. /*!***********************************************************************!*\
  27450. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tr.js ***!
  27451. \***********************************************************************/
  27452. /*! no static exports found */
  27453. /***/ (function(module, exports, __webpack_require__) {
  27454. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27455. //! moment.js locale configuration
  27456. //! locale : Turkish [tr]
  27457. //! authors : Erhan Gundogan : https://github.com/erhangundogan,
  27458. //! Burak Yiğit Kaya: https://github.com/BYK
  27459. ;
  27460. (function (global, factory) {
  27461. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27462. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27463. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27464. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27465. })(this, function (moment) {
  27466. 'use strict';
  27467. //! moment.js locale configuration
  27468. var suffixes = {
  27469. 1: "'inci",
  27470. 5: "'inci",
  27471. 8: "'inci",
  27472. 70: "'inci",
  27473. 80: "'inci",
  27474. 2: "'nci",
  27475. 7: "'nci",
  27476. 20: "'nci",
  27477. 50: "'nci",
  27478. 3: "'üncü",
  27479. 4: "'üncü",
  27480. 100: "'üncü",
  27481. 6: "'ncı",
  27482. 9: "'uncu",
  27483. 10: "'uncu",
  27484. 30: "'uncu",
  27485. 60: "'ıncı",
  27486. 90: "'ıncı"
  27487. };
  27488. var tr = moment.defineLocale('tr', {
  27489. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
  27490. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  27491. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
  27492. weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
  27493. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  27494. meridiem: function meridiem(hours, minutes, isLower) {
  27495. if (hours < 12) {
  27496. return isLower ? 'öö' : 'ÖÖ';
  27497. } else {
  27498. return isLower ? 'ös' : 'ÖS';
  27499. }
  27500. },
  27501. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  27502. isPM: function isPM(input) {
  27503. return input === 'ös' || input === 'ÖS';
  27504. },
  27505. longDateFormat: {
  27506. LT: 'HH:mm',
  27507. LTS: 'HH:mm:ss',
  27508. L: 'DD.MM.YYYY',
  27509. LL: 'D MMMM YYYY',
  27510. LLL: 'D MMMM YYYY HH:mm',
  27511. LLLL: 'dddd, D MMMM YYYY HH:mm'
  27512. },
  27513. calendar: {
  27514. sameDay: '[bugün saat] LT',
  27515. nextDay: '[yarın saat] LT',
  27516. nextWeek: '[gelecek] dddd [saat] LT',
  27517. lastDay: '[dün] LT',
  27518. lastWeek: '[geçen] dddd [saat] LT',
  27519. sameElse: 'L'
  27520. },
  27521. relativeTime: {
  27522. future: '%s sonra',
  27523. past: '%s önce',
  27524. s: 'birkaç saniye',
  27525. ss: '%d saniye',
  27526. m: 'bir dakika',
  27527. mm: '%d dakika',
  27528. h: 'bir saat',
  27529. hh: '%d saat',
  27530. d: 'bir gün',
  27531. dd: '%d gün',
  27532. w: 'bir hafta',
  27533. ww: '%d hafta',
  27534. M: 'bir ay',
  27535. MM: '%d ay',
  27536. y: 'bir yıl',
  27537. yy: '%d yıl'
  27538. },
  27539. ordinal: function ordinal(number, period) {
  27540. switch (period) {
  27541. case 'd':
  27542. case 'D':
  27543. case 'Do':
  27544. case 'DD':
  27545. return number;
  27546. default:
  27547. if (number === 0) {
  27548. // special case for zero
  27549. return number + "'ıncı";
  27550. }
  27551. var a = number % 10,
  27552. b = number % 100 - a,
  27553. c = number >= 100 ? 100 : null;
  27554. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  27555. }
  27556. },
  27557. week: {
  27558. dow: 1,
  27559. // Monday is the first day of the week.
  27560. doy: 7 // The week that contains Jan 7th is the first week of the year.
  27561. }
  27562. });
  27563. return tr;
  27564. });
  27565. /***/ }),
  27566. /* 175 */
  27567. /*!************************************************************************!*\
  27568. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tzl.js ***!
  27569. \************************************************************************/
  27570. /*! no static exports found */
  27571. /***/ (function(module, exports, __webpack_require__) {
  27572. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27573. //! moment.js locale configuration
  27574. //! locale : Talossan [tzl]
  27575. //! author : Robin van der Vliet : https://github.com/robin0van0der0v
  27576. //! author : Iustì Canun
  27577. ;
  27578. (function (global, factory) {
  27579. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27580. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27581. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27582. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27583. })(this, function (moment) {
  27584. 'use strict';
  27585. //! moment.js locale configuration
  27586. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  27587. // This is currently too difficult (maybe even impossible) to add.
  27588. var tzl = moment.defineLocale('tzl', {
  27589. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
  27590. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  27591. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  27592. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  27593. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  27594. longDateFormat: {
  27595. LT: 'HH.mm',
  27596. LTS: 'HH.mm.ss',
  27597. L: 'DD.MM.YYYY',
  27598. LL: 'D. MMMM [dallas] YYYY',
  27599. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  27600. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
  27601. },
  27602. meridiemParse: /d\'o|d\'a/i,
  27603. isPM: function isPM(input) {
  27604. return "d'o" === input.toLowerCase();
  27605. },
  27606. meridiem: function meridiem(hours, minutes, isLower) {
  27607. if (hours > 11) {
  27608. return isLower ? "d'o" : "D'O";
  27609. } else {
  27610. return isLower ? "d'a" : "D'A";
  27611. }
  27612. },
  27613. calendar: {
  27614. sameDay: '[oxhi à] LT',
  27615. nextDay: '[demà à] LT',
  27616. nextWeek: 'dddd [à] LT',
  27617. lastDay: '[ieiri à] LT',
  27618. lastWeek: '[sür el] dddd [lasteu à] LT',
  27619. sameElse: 'L'
  27620. },
  27621. relativeTime: {
  27622. future: 'osprei %s',
  27623. past: 'ja%s',
  27624. s: processRelativeTime,
  27625. ss: processRelativeTime,
  27626. m: processRelativeTime,
  27627. mm: processRelativeTime,
  27628. h: processRelativeTime,
  27629. hh: processRelativeTime,
  27630. d: processRelativeTime,
  27631. dd: processRelativeTime,
  27632. M: processRelativeTime,
  27633. MM: processRelativeTime,
  27634. y: processRelativeTime,
  27635. yy: processRelativeTime
  27636. },
  27637. dayOfMonthOrdinalParse: /\d{1,2}\./,
  27638. ordinal: '%d.',
  27639. week: {
  27640. dow: 1,
  27641. // Monday is the first day of the week.
  27642. doy: 4 // The week that contains Jan 4th is the first week of the year.
  27643. }
  27644. });
  27645. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  27646. var format = {
  27647. s: ['viensas secunds', "'iensas secunds"],
  27648. ss: [number + ' secunds', '' + number + ' secunds'],
  27649. m: ["'n míut", "'iens míut"],
  27650. mm: [number + ' míuts', '' + number + ' míuts'],
  27651. h: ["'n þora", "'iensa þora"],
  27652. hh: [number + ' þoras', '' + number + ' þoras'],
  27653. d: ["'n ziua", "'iensa ziua"],
  27654. dd: [number + ' ziuas', '' + number + ' ziuas'],
  27655. M: ["'n mes", "'iens mes"],
  27656. MM: [number + ' mesen', '' + number + ' mesen'],
  27657. y: ["'n ar", "'iens ar"],
  27658. yy: [number + ' ars', '' + number + ' ars']
  27659. };
  27660. return isFuture ? format[key][0] : withoutSuffix ? format[key][0] : format[key][1];
  27661. }
  27662. return tzl;
  27663. });
  27664. /***/ }),
  27665. /* 176 */
  27666. /*!************************************************************************!*\
  27667. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tzm.js ***!
  27668. \************************************************************************/
  27669. /*! no static exports found */
  27670. /***/ (function(module, exports, __webpack_require__) {
  27671. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27672. //! moment.js locale configuration
  27673. //! locale : Central Atlas Tamazight [tzm]
  27674. //! author : Abdel Said : https://github.com/abdelsaid
  27675. ;
  27676. (function (global, factory) {
  27677. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27678. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27679. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27680. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27681. })(this, function (moment) {
  27682. 'use strict';
  27683. //! moment.js locale configuration
  27684. var tzm = moment.defineLocale('tzm', {
  27685. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  27686. monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'),
  27687. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  27688. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  27689. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  27690. longDateFormat: {
  27691. LT: 'HH:mm',
  27692. LTS: 'HH:mm:ss',
  27693. L: 'DD/MM/YYYY',
  27694. LL: 'D MMMM YYYY',
  27695. LLL: 'D MMMM YYYY HH:mm',
  27696. LLLL: 'dddd D MMMM YYYY HH:mm'
  27697. },
  27698. calendar: {
  27699. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  27700. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  27701. nextWeek: 'dddd [ⴴ] LT',
  27702. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  27703. lastWeek: 'dddd [ⴴ] LT',
  27704. sameElse: 'L'
  27705. },
  27706. relativeTime: {
  27707. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  27708. past: 'ⵢⴰⵏ %s',
  27709. s: 'ⵉⵎⵉⴽ',
  27710. ss: '%d ⵉⵎⵉⴽ',
  27711. m: 'ⵎⵉⵏⵓⴺ',
  27712. mm: '%d ⵎⵉⵏⵓⴺ',
  27713. h: 'ⵙⴰⵄⴰ',
  27714. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  27715. d: 'ⴰⵙⵙ',
  27716. dd: '%d oⵙⵙⴰⵏ',
  27717. M: 'ⴰⵢoⵓⵔ',
  27718. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  27719. y: 'ⴰⵙⴳⴰⵙ',
  27720. yy: '%d ⵉⵙⴳⴰⵙⵏ'
  27721. },
  27722. week: {
  27723. dow: 6,
  27724. // Saturday is the first day of the week.
  27725. doy: 12 // The week that contains Jan 12th is the first week of the year.
  27726. }
  27727. });
  27728. return tzm;
  27729. });
  27730. /***/ }),
  27731. /* 177 */
  27732. /*!*****************************************************************************!*\
  27733. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/tzm-latn.js ***!
  27734. \*****************************************************************************/
  27735. /*! no static exports found */
  27736. /***/ (function(module, exports, __webpack_require__) {
  27737. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27738. //! moment.js locale configuration
  27739. //! locale : Central Atlas Tamazight Latin [tzm-latn]
  27740. //! author : Abdel Said : https://github.com/abdelsaid
  27741. ;
  27742. (function (global, factory) {
  27743. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27744. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27745. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27746. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27747. })(this, function (moment) {
  27748. 'use strict';
  27749. //! moment.js locale configuration
  27750. var tzmLatn = moment.defineLocale('tzm-latn', {
  27751. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  27752. monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'),
  27753. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  27754. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  27755. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  27756. longDateFormat: {
  27757. LT: 'HH:mm',
  27758. LTS: 'HH:mm:ss',
  27759. L: 'DD/MM/YYYY',
  27760. LL: 'D MMMM YYYY',
  27761. LLL: 'D MMMM YYYY HH:mm',
  27762. LLLL: 'dddd D MMMM YYYY HH:mm'
  27763. },
  27764. calendar: {
  27765. sameDay: '[asdkh g] LT',
  27766. nextDay: '[aska g] LT',
  27767. nextWeek: 'dddd [g] LT',
  27768. lastDay: '[assant g] LT',
  27769. lastWeek: 'dddd [g] LT',
  27770. sameElse: 'L'
  27771. },
  27772. relativeTime: {
  27773. future: 'dadkh s yan %s',
  27774. past: 'yan %s',
  27775. s: 'imik',
  27776. ss: '%d imik',
  27777. m: 'minuḍ',
  27778. mm: '%d minuḍ',
  27779. h: 'saɛa',
  27780. hh: '%d tassaɛin',
  27781. d: 'ass',
  27782. dd: '%d ossan',
  27783. M: 'ayowr',
  27784. MM: '%d iyyirn',
  27785. y: 'asgas',
  27786. yy: '%d isgasn'
  27787. },
  27788. week: {
  27789. dow: 6,
  27790. // Saturday is the first day of the week.
  27791. doy: 12 // The week that contains Jan 12th is the first week of the year.
  27792. }
  27793. });
  27794. return tzmLatn;
  27795. });
  27796. /***/ }),
  27797. /* 178 */
  27798. /*!**************************************************************************!*\
  27799. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ug-cn.js ***!
  27800. \**************************************************************************/
  27801. /*! no static exports found */
  27802. /***/ (function(module, exports, __webpack_require__) {
  27803. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27804. //! moment.js locale configuration
  27805. //! locale : Uyghur (China) [ug-cn]
  27806. //! author: boyaq : https://github.com/boyaq
  27807. ;
  27808. (function (global, factory) {
  27809. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27810. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27811. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27812. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27813. })(this, function (moment) {
  27814. 'use strict';
  27815. //! moment.js locale configuration
  27816. var ugCn = moment.defineLocale('ug-cn', {
  27817. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'),
  27818. monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'),
  27819. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'),
  27820. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  27821. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  27822. longDateFormat: {
  27823. LT: 'HH:mm',
  27824. LTS: 'HH:mm:ss',
  27825. L: 'YYYY-MM-DD',
  27826. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  27827. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  27828. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm'
  27829. },
  27830. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  27831. meridiemHour: function meridiemHour(hour, meridiem) {
  27832. if (hour === 12) {
  27833. hour = 0;
  27834. }
  27835. if (meridiem === 'يېرىم كېچە' || meridiem === 'سەھەر' || meridiem === 'چۈشتىن بۇرۇن') {
  27836. return hour;
  27837. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  27838. return hour + 12;
  27839. } else {
  27840. return hour >= 11 ? hour : hour + 12;
  27841. }
  27842. },
  27843. meridiem: function meridiem(hour, minute, isLower) {
  27844. var hm = hour * 100 + minute;
  27845. if (hm < 600) {
  27846. return 'يېرىم كېچە';
  27847. } else if (hm < 900) {
  27848. return 'سەھەر';
  27849. } else if (hm < 1130) {
  27850. return 'چۈشتىن بۇرۇن';
  27851. } else if (hm < 1230) {
  27852. return 'چۈش';
  27853. } else if (hm < 1800) {
  27854. return 'چۈشتىن كېيىن';
  27855. } else {
  27856. return 'كەچ';
  27857. }
  27858. },
  27859. calendar: {
  27860. sameDay: '[بۈگۈن سائەت] LT',
  27861. nextDay: '[ئەتە سائەت] LT',
  27862. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  27863. lastDay: '[تۆنۈگۈن] LT',
  27864. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  27865. sameElse: 'L'
  27866. },
  27867. relativeTime: {
  27868. future: '%s كېيىن',
  27869. past: '%s بۇرۇن',
  27870. s: 'نەچچە سېكونت',
  27871. ss: '%d سېكونت',
  27872. m: 'بىر مىنۇت',
  27873. mm: '%d مىنۇت',
  27874. h: 'بىر سائەت',
  27875. hh: '%d سائەت',
  27876. d: 'بىر كۈن',
  27877. dd: '%d كۈن',
  27878. M: 'بىر ئاي',
  27879. MM: '%d ئاي',
  27880. y: 'بىر يىل',
  27881. yy: '%d يىل'
  27882. },
  27883. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  27884. ordinal: function ordinal(number, period) {
  27885. switch (period) {
  27886. case 'd':
  27887. case 'D':
  27888. case 'DDD':
  27889. return number + '-كۈنى';
  27890. case 'w':
  27891. case 'W':
  27892. return number + '-ھەپتە';
  27893. default:
  27894. return number;
  27895. }
  27896. },
  27897. preparse: function preparse(string) {
  27898. return string.replace(/،/g, ',');
  27899. },
  27900. postformat: function postformat(string) {
  27901. return string.replace(/,/g, '،');
  27902. },
  27903. week: {
  27904. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  27905. dow: 1,
  27906. // Monday is the first day of the week.
  27907. doy: 7 // The week that contains Jan 1st is the first week of the year.
  27908. }
  27909. });
  27910. return ugCn;
  27911. });
  27912. /***/ }),
  27913. /* 179 */
  27914. /*!***********************************************************************!*\
  27915. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/uk.js ***!
  27916. \***********************************************************************/
  27917. /*! no static exports found */
  27918. /***/ (function(module, exports, __webpack_require__) {
  27919. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  27920. //! moment.js locale configuration
  27921. //! locale : Ukrainian [uk]
  27922. //! author : zemlanin : https://github.com/zemlanin
  27923. //! Author : Menelion Elensúle : https://github.com/Oire
  27924. ;
  27925. (function (global, factory) {
  27926. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  27927. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  27928. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  27929. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  27930. })(this, function (moment) {
  27931. 'use strict';
  27932. //! moment.js locale configuration
  27933. function plural(word, num) {
  27934. var forms = word.split('_');
  27935. return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2];
  27936. }
  27937. function relativeTimeWithPlural(number, withoutSuffix, key) {
  27938. var format = {
  27939. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  27940. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  27941. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  27942. dd: 'день_дні_днів',
  27943. MM: 'місяць_місяці_місяців',
  27944. yy: 'рік_роки_років'
  27945. };
  27946. if (key === 'm') {
  27947. return withoutSuffix ? 'хвилина' : 'хвилину';
  27948. } else if (key === 'h') {
  27949. return withoutSuffix ? 'година' : 'годину';
  27950. } else {
  27951. return number + ' ' + plural(format[key], +number);
  27952. }
  27953. }
  27954. function weekdaysCaseReplace(m, format) {
  27955. var weekdays = {
  27956. nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'),
  27957. accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'),
  27958. genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_')
  27959. },
  27960. nounCase;
  27961. if (m === true) {
  27962. return weekdays['nominative'].slice(1, 7).concat(weekdays['nominative'].slice(0, 1));
  27963. }
  27964. if (!m) {
  27965. return weekdays['nominative'];
  27966. }
  27967. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format) ? 'accusative' : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format) ? 'genitive' : 'nominative';
  27968. return weekdays[nounCase][m.day()];
  27969. }
  27970. function processHoursFunction(str) {
  27971. return function () {
  27972. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  27973. };
  27974. }
  27975. var uk = moment.defineLocale('uk', {
  27976. months: {
  27977. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'),
  27978. standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_')
  27979. },
  27980. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'),
  27981. weekdays: weekdaysCaseReplace,
  27982. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  27983. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  27984. longDateFormat: {
  27985. LT: 'HH:mm',
  27986. LTS: 'HH:mm:ss',
  27987. L: 'DD.MM.YYYY',
  27988. LL: 'D MMMM YYYY р.',
  27989. LLL: 'D MMMM YYYY р., HH:mm',
  27990. LLLL: 'dddd, D MMMM YYYY р., HH:mm'
  27991. },
  27992. calendar: {
  27993. sameDay: processHoursFunction('[Сьогодні '),
  27994. nextDay: processHoursFunction('[Завтра '),
  27995. lastDay: processHoursFunction('[Вчора '),
  27996. nextWeek: processHoursFunction('[У] dddd ['),
  27997. lastWeek: function lastWeek() {
  27998. switch (this.day()) {
  27999. case 0:
  28000. case 3:
  28001. case 5:
  28002. case 6:
  28003. return processHoursFunction('[Минулої] dddd [').call(this);
  28004. case 1:
  28005. case 2:
  28006. case 4:
  28007. return processHoursFunction('[Минулого] dddd [').call(this);
  28008. }
  28009. },
  28010. sameElse: 'L'
  28011. },
  28012. relativeTime: {
  28013. future: 'за %s',
  28014. past: '%s тому',
  28015. s: 'декілька секунд',
  28016. ss: relativeTimeWithPlural,
  28017. m: relativeTimeWithPlural,
  28018. mm: relativeTimeWithPlural,
  28019. h: 'годину',
  28020. hh: relativeTimeWithPlural,
  28021. d: 'день',
  28022. dd: relativeTimeWithPlural,
  28023. M: 'місяць',
  28024. MM: relativeTimeWithPlural,
  28025. y: 'рік',
  28026. yy: relativeTimeWithPlural
  28027. },
  28028. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  28029. meridiemParse: /ночі|ранку|дня|вечора/,
  28030. isPM: function isPM(input) {
  28031. return /^(дня|вечора)$/.test(input);
  28032. },
  28033. meridiem: function meridiem(hour, minute, isLower) {
  28034. if (hour < 4) {
  28035. return 'ночі';
  28036. } else if (hour < 12) {
  28037. return 'ранку';
  28038. } else if (hour < 17) {
  28039. return 'дня';
  28040. } else {
  28041. return 'вечора';
  28042. }
  28043. },
  28044. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  28045. ordinal: function ordinal(number, period) {
  28046. switch (period) {
  28047. case 'M':
  28048. case 'd':
  28049. case 'DDD':
  28050. case 'w':
  28051. case 'W':
  28052. return number + '-й';
  28053. case 'D':
  28054. return number + '-го';
  28055. default:
  28056. return number;
  28057. }
  28058. },
  28059. week: {
  28060. dow: 1,
  28061. // Monday is the first day of the week.
  28062. doy: 7 // The week that contains Jan 7th is the first week of the year.
  28063. }
  28064. });
  28065. return uk;
  28066. });
  28067. /***/ }),
  28068. /* 180 */
  28069. /*!***********************************************************************!*\
  28070. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/ur.js ***!
  28071. \***********************************************************************/
  28072. /*! no static exports found */
  28073. /***/ (function(module, exports, __webpack_require__) {
  28074. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28075. //! moment.js locale configuration
  28076. //! locale : Urdu [ur]
  28077. //! author : Sawood Alam : https://github.com/ibnesayeed
  28078. //! author : Zack : https://github.com/ZackVision
  28079. ;
  28080. (function (global, factory) {
  28081. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28082. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28083. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28084. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28085. })(this, function (moment) {
  28086. 'use strict';
  28087. //! moment.js locale configuration
  28088. var months = ['جنوری', 'فروری', 'مارچ', 'اپریل', 'مئی', 'جون', 'جولائی', 'اگست', 'ستمبر', 'اکتوبر', 'نومبر', 'دسمبر'],
  28089. days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  28090. var ur = moment.defineLocale('ur', {
  28091. months: months,
  28092. monthsShort: months,
  28093. weekdays: days,
  28094. weekdaysShort: days,
  28095. weekdaysMin: days,
  28096. longDateFormat: {
  28097. LT: 'HH:mm',
  28098. LTS: 'HH:mm:ss',
  28099. L: 'DD/MM/YYYY',
  28100. LL: 'D MMMM YYYY',
  28101. LLL: 'D MMMM YYYY HH:mm',
  28102. LLLL: 'dddd، D MMMM YYYY HH:mm'
  28103. },
  28104. meridiemParse: /صبح|شام/,
  28105. isPM: function isPM(input) {
  28106. return 'شام' === input;
  28107. },
  28108. meridiem: function meridiem(hour, minute, isLower) {
  28109. if (hour < 12) {
  28110. return 'صبح';
  28111. }
  28112. return 'شام';
  28113. },
  28114. calendar: {
  28115. sameDay: '[آج بوقت] LT',
  28116. nextDay: '[کل بوقت] LT',
  28117. nextWeek: 'dddd [بوقت] LT',
  28118. lastDay: '[گذشتہ روز بوقت] LT',
  28119. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  28120. sameElse: 'L'
  28121. },
  28122. relativeTime: {
  28123. future: '%s بعد',
  28124. past: '%s قبل',
  28125. s: 'چند سیکنڈ',
  28126. ss: '%d سیکنڈ',
  28127. m: 'ایک منٹ',
  28128. mm: '%d منٹ',
  28129. h: 'ایک گھنٹہ',
  28130. hh: '%d گھنٹے',
  28131. d: 'ایک دن',
  28132. dd: '%d دن',
  28133. M: 'ایک ماہ',
  28134. MM: '%d ماہ',
  28135. y: 'ایک سال',
  28136. yy: '%d سال'
  28137. },
  28138. preparse: function preparse(string) {
  28139. return string.replace(/،/g, ',');
  28140. },
  28141. postformat: function postformat(string) {
  28142. return string.replace(/,/g, '،');
  28143. },
  28144. week: {
  28145. dow: 1,
  28146. // Monday is the first day of the week.
  28147. doy: 4 // The week that contains Jan 4th is the first week of the year.
  28148. }
  28149. });
  28150. return ur;
  28151. });
  28152. /***/ }),
  28153. /* 181 */
  28154. /*!***********************************************************************!*\
  28155. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/uz.js ***!
  28156. \***********************************************************************/
  28157. /*! no static exports found */
  28158. /***/ (function(module, exports, __webpack_require__) {
  28159. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28160. //! moment.js locale configuration
  28161. //! locale : Uzbek [uz]
  28162. //! author : Sardor Muminov : https://github.com/muminoff
  28163. ;
  28164. (function (global, factory) {
  28165. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28166. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28167. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28168. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28169. })(this, function (moment) {
  28170. 'use strict';
  28171. //! moment.js locale configuration
  28172. var uz = moment.defineLocale('uz', {
  28173. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'),
  28174. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  28175. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  28176. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  28177. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  28178. longDateFormat: {
  28179. LT: 'HH:mm',
  28180. LTS: 'HH:mm:ss',
  28181. L: 'DD/MM/YYYY',
  28182. LL: 'D MMMM YYYY',
  28183. LLL: 'D MMMM YYYY HH:mm',
  28184. LLLL: 'D MMMM YYYY, dddd HH:mm'
  28185. },
  28186. calendar: {
  28187. sameDay: '[Бугун соат] LT [да]',
  28188. nextDay: '[Эртага] LT [да]',
  28189. nextWeek: 'dddd [куни соат] LT [да]',
  28190. lastDay: '[Кеча соат] LT [да]',
  28191. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  28192. sameElse: 'L'
  28193. },
  28194. relativeTime: {
  28195. future: 'Якин %s ичида',
  28196. past: 'Бир неча %s олдин',
  28197. s: 'фурсат',
  28198. ss: '%d фурсат',
  28199. m: 'бир дакика',
  28200. mm: '%d дакика',
  28201. h: 'бир соат',
  28202. hh: '%d соат',
  28203. d: 'бир кун',
  28204. dd: '%d кун',
  28205. M: 'бир ой',
  28206. MM: '%d ой',
  28207. y: 'бир йил',
  28208. yy: '%d йил'
  28209. },
  28210. week: {
  28211. dow: 1,
  28212. // Monday is the first day of the week.
  28213. doy: 7 // The week that contains Jan 4th is the first week of the year.
  28214. }
  28215. });
  28216. return uz;
  28217. });
  28218. /***/ }),
  28219. /* 182 */
  28220. /*!****************************************************************************!*\
  28221. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/uz-latn.js ***!
  28222. \****************************************************************************/
  28223. /*! no static exports found */
  28224. /***/ (function(module, exports, __webpack_require__) {
  28225. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28226. //! moment.js locale configuration
  28227. //! locale : Uzbek Latin [uz-latn]
  28228. //! author : Rasulbek Mirzayev : github.com/Rasulbeeek
  28229. ;
  28230. (function (global, factory) {
  28231. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28232. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28233. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28234. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28235. })(this, function (moment) {
  28236. 'use strict';
  28237. //! moment.js locale configuration
  28238. var uzLatn = moment.defineLocale('uz-latn', {
  28239. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'),
  28240. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  28241. weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'),
  28242. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  28243. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  28244. longDateFormat: {
  28245. LT: 'HH:mm',
  28246. LTS: 'HH:mm:ss',
  28247. L: 'DD/MM/YYYY',
  28248. LL: 'D MMMM YYYY',
  28249. LLL: 'D MMMM YYYY HH:mm',
  28250. LLLL: 'D MMMM YYYY, dddd HH:mm'
  28251. },
  28252. calendar: {
  28253. sameDay: '[Bugun soat] LT [da]',
  28254. nextDay: '[Ertaga] LT [da]',
  28255. nextWeek: 'dddd [kuni soat] LT [da]',
  28256. lastDay: '[Kecha soat] LT [da]',
  28257. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  28258. sameElse: 'L'
  28259. },
  28260. relativeTime: {
  28261. future: 'Yaqin %s ichida',
  28262. past: 'Bir necha %s oldin',
  28263. s: 'soniya',
  28264. ss: '%d soniya',
  28265. m: 'bir daqiqa',
  28266. mm: '%d daqiqa',
  28267. h: 'bir soat',
  28268. hh: '%d soat',
  28269. d: 'bir kun',
  28270. dd: '%d kun',
  28271. M: 'bir oy',
  28272. MM: '%d oy',
  28273. y: 'bir yil',
  28274. yy: '%d yil'
  28275. },
  28276. week: {
  28277. dow: 1,
  28278. // Monday is the first day of the week.
  28279. doy: 7 // The week that contains Jan 7th is the first week of the year.
  28280. }
  28281. });
  28282. return uzLatn;
  28283. });
  28284. /***/ }),
  28285. /* 183 */
  28286. /*!***********************************************************************!*\
  28287. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/vi.js ***!
  28288. \***********************************************************************/
  28289. /*! no static exports found */
  28290. /***/ (function(module, exports, __webpack_require__) {
  28291. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28292. //! moment.js locale configuration
  28293. //! locale : Vietnamese [vi]
  28294. //! author : Bang Nguyen : https://github.com/bangnk
  28295. //! author : Chien Kira : https://github.com/chienkira
  28296. ;
  28297. (function (global, factory) {
  28298. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28299. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28300. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28301. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28302. })(this, function (moment) {
  28303. 'use strict';
  28304. //! moment.js locale configuration
  28305. var vi = moment.defineLocale('vi', {
  28306. months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
  28307. monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split('_'),
  28308. monthsParseExact: true,
  28309. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
  28310. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  28311. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  28312. weekdaysParseExact: true,
  28313. meridiemParse: /sa|ch/i,
  28314. isPM: function isPM(input) {
  28315. return /^ch$/i.test(input);
  28316. },
  28317. meridiem: function meridiem(hours, minutes, isLower) {
  28318. if (hours < 12) {
  28319. return isLower ? 'sa' : 'SA';
  28320. } else {
  28321. return isLower ? 'ch' : 'CH';
  28322. }
  28323. },
  28324. longDateFormat: {
  28325. LT: 'HH:mm',
  28326. LTS: 'HH:mm:ss',
  28327. L: 'DD/MM/YYYY',
  28328. LL: 'D MMMM [năm] YYYY',
  28329. LLL: 'D MMMM [năm] YYYY HH:mm',
  28330. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  28331. l: 'DD/M/YYYY',
  28332. ll: 'D MMM YYYY',
  28333. lll: 'D MMM YYYY HH:mm',
  28334. llll: 'ddd, D MMM YYYY HH:mm'
  28335. },
  28336. calendar: {
  28337. sameDay: '[Hôm nay lúc] LT',
  28338. nextDay: '[Ngày mai lúc] LT',
  28339. nextWeek: 'dddd [tuần tới lúc] LT',
  28340. lastDay: '[Hôm qua lúc] LT',
  28341. lastWeek: 'dddd [tuần trước lúc] LT',
  28342. sameElse: 'L'
  28343. },
  28344. relativeTime: {
  28345. future: '%s tới',
  28346. past: '%s trước',
  28347. s: 'vài giây',
  28348. ss: '%d giây',
  28349. m: 'một phút',
  28350. mm: '%d phút',
  28351. h: 'một giờ',
  28352. hh: '%d giờ',
  28353. d: 'một ngày',
  28354. dd: '%d ngày',
  28355. w: 'một tuần',
  28356. ww: '%d tuần',
  28357. M: 'một tháng',
  28358. MM: '%d tháng',
  28359. y: 'một năm',
  28360. yy: '%d năm'
  28361. },
  28362. dayOfMonthOrdinalParse: /\d{1,2}/,
  28363. ordinal: function ordinal(number) {
  28364. return number;
  28365. },
  28366. week: {
  28367. dow: 1,
  28368. // Monday is the first day of the week.
  28369. doy: 4 // The week that contains Jan 4th is the first week of the year.
  28370. }
  28371. });
  28372. return vi;
  28373. });
  28374. /***/ }),
  28375. /* 184 */
  28376. /*!*****************************************************************************!*\
  28377. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/x-pseudo.js ***!
  28378. \*****************************************************************************/
  28379. /*! no static exports found */
  28380. /***/ (function(module, exports, __webpack_require__) {
  28381. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28382. //! moment.js locale configuration
  28383. //! locale : Pseudo [x-pseudo]
  28384. //! author : Andrew Hood : https://github.com/andrewhood125
  28385. ;
  28386. (function (global, factory) {
  28387. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28388. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28389. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28390. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28391. })(this, function (moment) {
  28392. 'use strict';
  28393. //! moment.js locale configuration
  28394. var xPseudo = moment.defineLocale('x-pseudo', {
  28395. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'),
  28396. monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'),
  28397. monthsParseExact: true,
  28398. weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'),
  28399. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  28400. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  28401. weekdaysParseExact: true,
  28402. longDateFormat: {
  28403. LT: 'HH:mm',
  28404. L: 'DD/MM/YYYY',
  28405. LL: 'D MMMM YYYY',
  28406. LLL: 'D MMMM YYYY HH:mm',
  28407. LLLL: 'dddd, D MMMM YYYY HH:mm'
  28408. },
  28409. calendar: {
  28410. sameDay: '[T~ódá~ý át] LT',
  28411. nextDay: '[T~ómó~rró~w át] LT',
  28412. nextWeek: 'dddd [át] LT',
  28413. lastDay: '[Ý~ést~érdá~ý át] LT',
  28414. lastWeek: '[L~ást] dddd [át] LT',
  28415. sameElse: 'L'
  28416. },
  28417. relativeTime: {
  28418. future: 'í~ñ %s',
  28419. past: '%s á~gó',
  28420. s: 'á ~féw ~sécó~ñds',
  28421. ss: '%d s~écóñ~ds',
  28422. m: 'á ~míñ~úté',
  28423. mm: '%d m~íñú~tés',
  28424. h: 'á~ñ hó~úr',
  28425. hh: '%d h~óúrs',
  28426. d: 'á ~dáý',
  28427. dd: '%d d~áýs',
  28428. M: 'á ~móñ~th',
  28429. MM: '%d m~óñt~hs',
  28430. y: 'á ~ýéár',
  28431. yy: '%d ý~éárs'
  28432. },
  28433. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  28434. ordinal: function ordinal(number) {
  28435. var b = number % 10,
  28436. output = ~~(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';
  28437. return number + output;
  28438. },
  28439. week: {
  28440. dow: 1,
  28441. // Monday is the first day of the week.
  28442. doy: 4 // The week that contains Jan 4th is the first week of the year.
  28443. }
  28444. });
  28445. return xPseudo;
  28446. });
  28447. /***/ }),
  28448. /* 185 */
  28449. /*!***********************************************************************!*\
  28450. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/yo.js ***!
  28451. \***********************************************************************/
  28452. /*! no static exports found */
  28453. /***/ (function(module, exports, __webpack_require__) {
  28454. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28455. //! moment.js locale configuration
  28456. //! locale : Yoruba Nigeria [yo]
  28457. //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
  28458. ;
  28459. (function (global, factory) {
  28460. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28461. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28462. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28463. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28464. })(this, function (moment) {
  28465. 'use strict';
  28466. //! moment.js locale configuration
  28467. var yo = moment.defineLocale('yo', {
  28468. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'),
  28469. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  28470. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  28471. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  28472. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  28473. longDateFormat: {
  28474. LT: 'h:mm A',
  28475. LTS: 'h:mm:ss A',
  28476. L: 'DD/MM/YYYY',
  28477. LL: 'D MMMM YYYY',
  28478. LLL: 'D MMMM YYYY h:mm A',
  28479. LLLL: 'dddd, D MMMM YYYY h:mm A'
  28480. },
  28481. calendar: {
  28482. sameDay: '[Ònì ni] LT',
  28483. nextDay: '[Ọ̀la ni] LT',
  28484. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  28485. lastDay: '[Àna ni] LT',
  28486. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  28487. sameElse: 'L'
  28488. },
  28489. relativeTime: {
  28490. future: 'ní %s',
  28491. past: '%s kọjá',
  28492. s: 'ìsẹjú aayá die',
  28493. ss: 'aayá %d',
  28494. m: 'ìsẹjú kan',
  28495. mm: 'ìsẹjú %d',
  28496. h: 'wákati kan',
  28497. hh: 'wákati %d',
  28498. d: 'ọjọ́ kan',
  28499. dd: 'ọjọ́ %d',
  28500. M: 'osù kan',
  28501. MM: 'osù %d',
  28502. y: 'ọdún kan',
  28503. yy: 'ọdún %d'
  28504. },
  28505. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  28506. ordinal: 'ọjọ́ %d',
  28507. week: {
  28508. dow: 1,
  28509. // Monday is the first day of the week.
  28510. doy: 4 // The week that contains Jan 4th is the first week of the year.
  28511. }
  28512. });
  28513. return yo;
  28514. });
  28515. /***/ }),
  28516. /* 186 */
  28517. /*!**************************************************************************!*\
  28518. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/zh-cn.js ***!
  28519. \**************************************************************************/
  28520. /*! no static exports found */
  28521. /***/ (function(module, exports, __webpack_require__) {
  28522. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28523. //! moment.js locale configuration
  28524. //! locale : Chinese (China) [zh-cn]
  28525. //! author : suupic : https://github.com/suupic
  28526. //! author : Zeno Zeng : https://github.com/zenozeng
  28527. //! author : uu109 : https://github.com/uu109
  28528. ;
  28529. (function (global, factory) {
  28530. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28531. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28532. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28533. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28534. })(this, function (moment) {
  28535. 'use strict';
  28536. //! moment.js locale configuration
  28537. var zhCn = moment.defineLocale('zh-cn', {
  28538. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  28539. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  28540. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  28541. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  28542. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  28543. longDateFormat: {
  28544. LT: 'HH:mm',
  28545. LTS: 'HH:mm:ss',
  28546. L: 'YYYY/MM/DD',
  28547. LL: 'YYYY年M月D日',
  28548. LLL: 'YYYY年M月D日Ah点mm分',
  28549. LLLL: 'YYYY年M月D日ddddAh点mm分',
  28550. l: 'YYYY/M/D',
  28551. ll: 'YYYY年M月D日',
  28552. lll: 'YYYY年M月D日 HH:mm',
  28553. llll: 'YYYY年M月D日dddd HH:mm'
  28554. },
  28555. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  28556. meridiemHour: function meridiemHour(hour, meridiem) {
  28557. if (hour === 12) {
  28558. hour = 0;
  28559. }
  28560. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  28561. return hour;
  28562. } else if (meridiem === '下午' || meridiem === '晚上') {
  28563. return hour + 12;
  28564. } else {
  28565. // '中午'
  28566. return hour >= 11 ? hour : hour + 12;
  28567. }
  28568. },
  28569. meridiem: function meridiem(hour, minute, isLower) {
  28570. var hm = hour * 100 + minute;
  28571. if (hm < 600) {
  28572. return '凌晨';
  28573. } else if (hm < 900) {
  28574. return '早上';
  28575. } else if (hm < 1130) {
  28576. return '上午';
  28577. } else if (hm < 1230) {
  28578. return '中午';
  28579. } else if (hm < 1800) {
  28580. return '下午';
  28581. } else {
  28582. return '晚上';
  28583. }
  28584. },
  28585. calendar: {
  28586. sameDay: '[今天]LT',
  28587. nextDay: '[明天]LT',
  28588. nextWeek: function nextWeek(now) {
  28589. if (now.week() !== this.week()) {
  28590. return '[下]dddLT';
  28591. } else {
  28592. return '[本]dddLT';
  28593. }
  28594. },
  28595. lastDay: '[昨天]LT',
  28596. lastWeek: function lastWeek(now) {
  28597. if (this.week() !== now.week()) {
  28598. return '[上]dddLT';
  28599. } else {
  28600. return '[本]dddLT';
  28601. }
  28602. },
  28603. sameElse: 'L'
  28604. },
  28605. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  28606. ordinal: function ordinal(number, period) {
  28607. switch (period) {
  28608. case 'd':
  28609. case 'D':
  28610. case 'DDD':
  28611. return number + '日';
  28612. case 'M':
  28613. return number + '月';
  28614. case 'w':
  28615. case 'W':
  28616. return number + '周';
  28617. default:
  28618. return number;
  28619. }
  28620. },
  28621. relativeTime: {
  28622. future: '%s后',
  28623. past: '%s前',
  28624. s: '几秒',
  28625. ss: '%d 秒',
  28626. m: '1 分钟',
  28627. mm: '%d 分钟',
  28628. h: '1 小时',
  28629. hh: '%d 小时',
  28630. d: '1 天',
  28631. dd: '%d 天',
  28632. w: '1 周',
  28633. ww: '%d 周',
  28634. M: '1 个月',
  28635. MM: '%d 个月',
  28636. y: '1 年',
  28637. yy: '%d 年'
  28638. },
  28639. week: {
  28640. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  28641. dow: 1,
  28642. // Monday is the first day of the week.
  28643. doy: 4 // The week that contains Jan 4th is the first week of the year.
  28644. }
  28645. });
  28646. return zhCn;
  28647. });
  28648. /***/ }),
  28649. /* 187 */
  28650. /*!**************************************************************************!*\
  28651. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/zh-hk.js ***!
  28652. \**************************************************************************/
  28653. /*! no static exports found */
  28654. /***/ (function(module, exports, __webpack_require__) {
  28655. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28656. //! moment.js locale configuration
  28657. //! locale : Chinese (Hong Kong) [zh-hk]
  28658. //! author : Ben : https://github.com/ben-lin
  28659. //! author : Chris Lam : https://github.com/hehachris
  28660. //! author : Konstantin : https://github.com/skfd
  28661. //! author : Anthony : https://github.com/anthonylau
  28662. ;
  28663. (function (global, factory) {
  28664. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28665. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28666. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28667. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28668. })(this, function (moment) {
  28669. 'use strict';
  28670. //! moment.js locale configuration
  28671. var zhHk = moment.defineLocale('zh-hk', {
  28672. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  28673. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  28674. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  28675. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  28676. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  28677. longDateFormat: {
  28678. LT: 'HH:mm',
  28679. LTS: 'HH:mm:ss',
  28680. L: 'YYYY/MM/DD',
  28681. LL: 'YYYY年M月D日',
  28682. LLL: 'YYYY年M月D日 HH:mm',
  28683. LLLL: 'YYYY年M月D日dddd HH:mm',
  28684. l: 'YYYY/M/D',
  28685. ll: 'YYYY年M月D日',
  28686. lll: 'YYYY年M月D日 HH:mm',
  28687. llll: 'YYYY年M月D日dddd HH:mm'
  28688. },
  28689. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  28690. meridiemHour: function meridiemHour(hour, meridiem) {
  28691. if (hour === 12) {
  28692. hour = 0;
  28693. }
  28694. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  28695. return hour;
  28696. } else if (meridiem === '中午') {
  28697. return hour >= 11 ? hour : hour + 12;
  28698. } else if (meridiem === '下午' || meridiem === '晚上') {
  28699. return hour + 12;
  28700. }
  28701. },
  28702. meridiem: function meridiem(hour, minute, isLower) {
  28703. var hm = hour * 100 + minute;
  28704. if (hm < 600) {
  28705. return '凌晨';
  28706. } else if (hm < 900) {
  28707. return '早上';
  28708. } else if (hm < 1200) {
  28709. return '上午';
  28710. } else if (hm === 1200) {
  28711. return '中午';
  28712. } else if (hm < 1800) {
  28713. return '下午';
  28714. } else {
  28715. return '晚上';
  28716. }
  28717. },
  28718. calendar: {
  28719. sameDay: '[今天]LT',
  28720. nextDay: '[明天]LT',
  28721. nextWeek: '[下]ddddLT',
  28722. lastDay: '[昨天]LT',
  28723. lastWeek: '[上]ddddLT',
  28724. sameElse: 'L'
  28725. },
  28726. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  28727. ordinal: function ordinal(number, period) {
  28728. switch (period) {
  28729. case 'd':
  28730. case 'D':
  28731. case 'DDD':
  28732. return number + '日';
  28733. case 'M':
  28734. return number + '月';
  28735. case 'w':
  28736. case 'W':
  28737. return number + '週';
  28738. default:
  28739. return number;
  28740. }
  28741. },
  28742. relativeTime: {
  28743. future: '%s後',
  28744. past: '%s前',
  28745. s: '幾秒',
  28746. ss: '%d 秒',
  28747. m: '1 分鐘',
  28748. mm: '%d 分鐘',
  28749. h: '1 小時',
  28750. hh: '%d 小時',
  28751. d: '1 天',
  28752. dd: '%d 天',
  28753. M: '1 個月',
  28754. MM: '%d 個月',
  28755. y: '1 年',
  28756. yy: '%d 年'
  28757. }
  28758. });
  28759. return zhHk;
  28760. });
  28761. /***/ }),
  28762. /* 188 */
  28763. /*!**************************************************************************!*\
  28764. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/zh-mo.js ***!
  28765. \**************************************************************************/
  28766. /*! no static exports found */
  28767. /***/ (function(module, exports, __webpack_require__) {
  28768. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28769. //! moment.js locale configuration
  28770. //! locale : Chinese (Macau) [zh-mo]
  28771. //! author : Ben : https://github.com/ben-lin
  28772. //! author : Chris Lam : https://github.com/hehachris
  28773. //! author : Tan Yuanhong : https://github.com/le0tan
  28774. ;
  28775. (function (global, factory) {
  28776. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28777. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28778. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28779. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28780. })(this, function (moment) {
  28781. 'use strict';
  28782. //! moment.js locale configuration
  28783. var zhMo = moment.defineLocale('zh-mo', {
  28784. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  28785. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  28786. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  28787. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  28788. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  28789. longDateFormat: {
  28790. LT: 'HH:mm',
  28791. LTS: 'HH:mm:ss',
  28792. L: 'DD/MM/YYYY',
  28793. LL: 'YYYY年M月D日',
  28794. LLL: 'YYYY年M月D日 HH:mm',
  28795. LLLL: 'YYYY年M月D日dddd HH:mm',
  28796. l: 'D/M/YYYY',
  28797. ll: 'YYYY年M月D日',
  28798. lll: 'YYYY年M月D日 HH:mm',
  28799. llll: 'YYYY年M月D日dddd HH:mm'
  28800. },
  28801. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  28802. meridiemHour: function meridiemHour(hour, meridiem) {
  28803. if (hour === 12) {
  28804. hour = 0;
  28805. }
  28806. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  28807. return hour;
  28808. } else if (meridiem === '中午') {
  28809. return hour >= 11 ? hour : hour + 12;
  28810. } else if (meridiem === '下午' || meridiem === '晚上') {
  28811. return hour + 12;
  28812. }
  28813. },
  28814. meridiem: function meridiem(hour, minute, isLower) {
  28815. var hm = hour * 100 + minute;
  28816. if (hm < 600) {
  28817. return '凌晨';
  28818. } else if (hm < 900) {
  28819. return '早上';
  28820. } else if (hm < 1130) {
  28821. return '上午';
  28822. } else if (hm < 1230) {
  28823. return '中午';
  28824. } else if (hm < 1800) {
  28825. return '下午';
  28826. } else {
  28827. return '晚上';
  28828. }
  28829. },
  28830. calendar: {
  28831. sameDay: '[今天] LT',
  28832. nextDay: '[明天] LT',
  28833. nextWeek: '[下]dddd LT',
  28834. lastDay: '[昨天] LT',
  28835. lastWeek: '[上]dddd LT',
  28836. sameElse: 'L'
  28837. },
  28838. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  28839. ordinal: function ordinal(number, period) {
  28840. switch (period) {
  28841. case 'd':
  28842. case 'D':
  28843. case 'DDD':
  28844. return number + '日';
  28845. case 'M':
  28846. return number + '月';
  28847. case 'w':
  28848. case 'W':
  28849. return number + '週';
  28850. default:
  28851. return number;
  28852. }
  28853. },
  28854. relativeTime: {
  28855. future: '%s內',
  28856. past: '%s前',
  28857. s: '幾秒',
  28858. ss: '%d 秒',
  28859. m: '1 分鐘',
  28860. mm: '%d 分鐘',
  28861. h: '1 小時',
  28862. hh: '%d 小時',
  28863. d: '1 天',
  28864. dd: '%d 天',
  28865. M: '1 個月',
  28866. MM: '%d 個月',
  28867. y: '1 年',
  28868. yy: '%d 年'
  28869. }
  28870. });
  28871. return zhMo;
  28872. });
  28873. /***/ }),
  28874. /* 189 */
  28875. /*!**************************************************************************!*\
  28876. !*** D:/project/神鹿峰旅游/travel_applet/node_modules/moment/locale/zh-tw.js ***!
  28877. \**************************************************************************/
  28878. /*! no static exports found */
  28879. /***/ (function(module, exports, __webpack_require__) {
  28880. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  28881. //! moment.js locale configuration
  28882. //! locale : Chinese (Taiwan) [zh-tw]
  28883. //! author : Ben : https://github.com/ben-lin
  28884. //! author : Chris Lam : https://github.com/hehachris
  28885. ;
  28886. (function (global, factory) {
  28887. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' && "function" === 'function' ? factory(__webpack_require__(/*! ../moment */ 52)) : true ? !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! ../moment */ 52)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  28888. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  28889. (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
  28890. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  28891. })(this, function (moment) {
  28892. 'use strict';
  28893. //! moment.js locale configuration
  28894. var zhTw = moment.defineLocale('zh-tw', {
  28895. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),
  28896. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  28897. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  28898. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  28899. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  28900. longDateFormat: {
  28901. LT: 'HH:mm',
  28902. LTS: 'HH:mm:ss',
  28903. L: 'YYYY/MM/DD',
  28904. LL: 'YYYY年M月D日',
  28905. LLL: 'YYYY年M月D日 HH:mm',
  28906. LLLL: 'YYYY年M月D日dddd HH:mm',
  28907. l: 'YYYY/M/D',
  28908. ll: 'YYYY年M月D日',
  28909. lll: 'YYYY年M月D日 HH:mm',
  28910. llll: 'YYYY年M月D日dddd HH:mm'
  28911. },
  28912. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  28913. meridiemHour: function meridiemHour(hour, meridiem) {
  28914. if (hour === 12) {
  28915. hour = 0;
  28916. }
  28917. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  28918. return hour;
  28919. } else if (meridiem === '中午') {
  28920. return hour >= 11 ? hour : hour + 12;
  28921. } else if (meridiem === '下午' || meridiem === '晚上') {
  28922. return hour + 12;
  28923. }
  28924. },
  28925. meridiem: function meridiem(hour, minute, isLower) {
  28926. var hm = hour * 100 + minute;
  28927. if (hm < 600) {
  28928. return '凌晨';
  28929. } else if (hm < 900) {
  28930. return '早上';
  28931. } else if (hm < 1130) {
  28932. return '上午';
  28933. } else if (hm < 1230) {
  28934. return '中午';
  28935. } else if (hm < 1800) {
  28936. return '下午';
  28937. } else {
  28938. return '晚上';
  28939. }
  28940. },
  28941. calendar: {
  28942. sameDay: '[今天] LT',
  28943. nextDay: '[明天] LT',
  28944. nextWeek: '[下]dddd LT',
  28945. lastDay: '[昨天] LT',
  28946. lastWeek: '[上]dddd LT',
  28947. sameElse: 'L'
  28948. },
  28949. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  28950. ordinal: function ordinal(number, period) {
  28951. switch (period) {
  28952. case 'd':
  28953. case 'D':
  28954. case 'DDD':
  28955. return number + '日';
  28956. case 'M':
  28957. return number + '月';
  28958. case 'w':
  28959. case 'W':
  28960. return number + '週';
  28961. default:
  28962. return number;
  28963. }
  28964. },
  28965. relativeTime: {
  28966. future: '%s後',
  28967. past: '%s前',
  28968. s: '幾秒',
  28969. ss: '%d 秒',
  28970. m: '1 分鐘',
  28971. mm: '%d 分鐘',
  28972. h: '1 小時',
  28973. hh: '%d 小時',
  28974. d: '1 天',
  28975. dd: '%d 天',
  28976. M: '1 個月',
  28977. MM: '%d 個月',
  28978. y: '1 年',
  28979. yy: '%d 年'
  28980. }
  28981. });
  28982. return zhTw;
  28983. });
  28984. /***/ }),
  28985. /* 190 */,
  28986. /* 191 */,
  28987. /* 192 */,
  28988. /* 193 */,
  28989. /* 194 */,
  28990. /* 195 */,
  28991. /* 196 */,
  28992. /* 197 */,
  28993. /* 198 */,
  28994. /* 199 */,
  28995. /* 200 */,
  28996. /* 201 */,
  28997. /* 202 */,
  28998. /* 203 */,
  28999. /* 204 */,
  29000. /* 205 */,
  29001. /* 206 */,
  29002. /* 207 */,
  29003. /* 208 */,
  29004. /* 209 */,
  29005. /* 210 */,
  29006. /* 211 */,
  29007. /* 212 */,
  29008. /* 213 */,
  29009. /* 214 */,
  29010. /* 215 */,
  29011. /* 216 */,
  29012. /* 217 */,
  29013. /* 218 */,
  29014. /* 219 */,
  29015. /* 220 */,
  29016. /* 221 */,
  29017. /* 222 */,
  29018. /* 223 */,
  29019. /* 224 */,
  29020. /* 225 */,
  29021. /* 226 */,
  29022. /* 227 */,
  29023. /* 228 */,
  29024. /* 229 */,
  29025. /* 230 */,
  29026. /* 231 */,
  29027. /* 232 */,
  29028. /* 233 */,
  29029. /* 234 */,
  29030. /* 235 */,
  29031. /* 236 */,
  29032. /* 237 */,
  29033. /* 238 */,
  29034. /* 239 */,
  29035. /* 240 */,
  29036. /* 241 */,
  29037. /* 242 */,
  29038. /* 243 */,
  29039. /* 244 */,
  29040. /* 245 */,
  29041. /* 246 */,
  29042. /* 247 */,
  29043. /* 248 */,
  29044. /* 249 */,
  29045. /* 250 */,
  29046. /* 251 */,
  29047. /* 252 */,
  29048. /* 253 */,
  29049. /* 254 */,
  29050. /* 255 */,
  29051. /* 256 */,
  29052. /* 257 */,
  29053. /* 258 */,
  29054. /* 259 */,
  29055. /* 260 */,
  29056. /* 261 */,
  29057. /* 262 */,
  29058. /* 263 */,
  29059. /* 264 */,
  29060. /* 265 */,
  29061. /* 266 */,
  29062. /* 267 */,
  29063. /* 268 */,
  29064. /* 269 */,
  29065. /* 270 */,
  29066. /* 271 */,
  29067. /* 272 */,
  29068. /* 273 */,
  29069. /* 274 */,
  29070. /* 275 */,
  29071. /* 276 */,
  29072. /* 277 */,
  29073. /* 278 */,
  29074. /* 279 */,
  29075. /* 280 */,
  29076. /* 281 */,
  29077. /* 282 */,
  29078. /* 283 */,
  29079. /* 284 */,
  29080. /* 285 */,
  29081. /* 286 */,
  29082. /* 287 */,
  29083. /* 288 */,
  29084. /* 289 */,
  29085. /* 290 */,
  29086. /* 291 */,
  29087. /* 292 */,
  29088. /* 293 */,
  29089. /* 294 */,
  29090. /* 295 */,
  29091. /* 296 */,
  29092. /* 297 */,
  29093. /* 298 */,
  29094. /* 299 */,
  29095. /* 300 */,
  29096. /* 301 */,
  29097. /* 302 */,
  29098. /* 303 */,
  29099. /* 304 */,
  29100. /* 305 */,
  29101. /* 306 */,
  29102. /* 307 */,
  29103. /* 308 */,
  29104. /* 309 */,
  29105. /* 310 */,
  29106. /* 311 */,
  29107. /* 312 */,
  29108. /* 313 */,
  29109. /* 314 */,
  29110. /* 315 */,
  29111. /* 316 */,
  29112. /* 317 */,
  29113. /* 318 */,
  29114. /* 319 */,
  29115. /* 320 */,
  29116. /* 321 */,
  29117. /* 322 */,
  29118. /* 323 */,
  29119. /* 324 */,
  29120. /* 325 */,
  29121. /* 326 */,
  29122. /* 327 */,
  29123. /* 328 */,
  29124. /* 329 */,
  29125. /* 330 */,
  29126. /* 331 */,
  29127. /* 332 */,
  29128. /* 333 */,
  29129. /* 334 */,
  29130. /* 335 */,
  29131. /* 336 */,
  29132. /* 337 */,
  29133. /* 338 */,
  29134. /* 339 */,
  29135. /* 340 */,
  29136. /* 341 */,
  29137. /* 342 */,
  29138. /* 343 */,
  29139. /* 344 */,
  29140. /* 345 */,
  29141. /* 346 */,
  29142. /* 347 */,
  29143. /* 348 */,
  29144. /* 349 */,
  29145. /* 350 */,
  29146. /* 351 */,
  29147. /* 352 */,
  29148. /* 353 */,
  29149. /* 354 */,
  29150. /* 355 */,
  29151. /* 356 */,
  29152. /* 357 */,
  29153. /* 358 */,
  29154. /* 359 */,
  29155. /* 360 */,
  29156. /* 361 */,
  29157. /* 362 */,
  29158. /* 363 */,
  29159. /* 364 */,
  29160. /* 365 */,
  29161. /* 366 */,
  29162. /* 367 */,
  29163. /* 368 */,
  29164. /* 369 */,
  29165. /* 370 */,
  29166. /* 371 */,
  29167. /* 372 */,
  29168. /* 373 */,
  29169. /* 374 */,
  29170. /* 375 */,
  29171. /* 376 */,
  29172. /* 377 */,
  29173. /* 378 */,
  29174. /* 379 */,
  29175. /* 380 */,
  29176. /* 381 */,
  29177. /* 382 */,
  29178. /* 383 */,
  29179. /* 384 */,
  29180. /* 385 */,
  29181. /* 386 */,
  29182. /* 387 */,
  29183. /* 388 */,
  29184. /* 389 */,
  29185. /* 390 */,
  29186. /* 391 */,
  29187. /* 392 */,
  29188. /* 393 */,
  29189. /* 394 */,
  29190. /* 395 */,
  29191. /* 396 */,
  29192. /* 397 */,
  29193. /* 398 */,
  29194. /* 399 */,
  29195. /* 400 */,
  29196. /* 401 */,
  29197. /* 402 */,
  29198. /* 403 */,
  29199. /* 404 */,
  29200. /* 405 */,
  29201. /* 406 */,
  29202. /* 407 */,
  29203. /* 408 */,
  29204. /* 409 */,
  29205. /* 410 */,
  29206. /* 411 */,
  29207. /* 412 */,
  29208. /* 413 */,
  29209. /* 414 */,
  29210. /* 415 */,
  29211. /* 416 */,
  29212. /* 417 */,
  29213. /* 418 */,
  29214. /* 419 */,
  29215. /* 420 */,
  29216. /* 421 */,
  29217. /* 422 */,
  29218. /* 423 */,
  29219. /* 424 */,
  29220. /* 425 */,
  29221. /* 426 */,
  29222. /* 427 */,
  29223. /* 428 */,
  29224. /* 429 */,
  29225. /* 430 */,
  29226. /* 431 */,
  29227. /* 432 */,
  29228. /* 433 */,
  29229. /* 434 */,
  29230. /* 435 */,
  29231. /* 436 */,
  29232. /* 437 */,
  29233. /* 438 */,
  29234. /* 439 */,
  29235. /* 440 */,
  29236. /* 441 */,
  29237. /* 442 */,
  29238. /* 443 */,
  29239. /* 444 */,
  29240. /* 445 */,
  29241. /* 446 */,
  29242. /* 447 */,
  29243. /* 448 */,
  29244. /* 449 */,
  29245. /* 450 */,
  29246. /* 451 */,
  29247. /* 452 */,
  29248. /* 453 */,
  29249. /* 454 */,
  29250. /* 455 */,
  29251. /* 456 */,
  29252. /* 457 */,
  29253. /* 458 */,
  29254. /* 459 */,
  29255. /* 460 */,
  29256. /* 461 */,
  29257. /* 462 */
  29258. /*!***********************************************************************************************!*\
  29259. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/util.js ***!
  29260. \***********************************************************************************************/
  29261. /*! no static exports found */
  29262. /***/ (function(module, exports, __webpack_require__) {
  29263. "use strict";
  29264. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  29265. Object.defineProperty(exports, "__esModule", {
  29266. value: true
  29267. });
  29268. exports.default = void 0;
  29269. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  29270. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  29271. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  29272. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./calendar.js */ 463));
  29273. var Calendar = /*#__PURE__*/function () {
  29274. function Calendar() {
  29275. var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  29276. date = _ref.date,
  29277. selected = _ref.selected,
  29278. startDate = _ref.startDate,
  29279. endDate = _ref.endDate,
  29280. range = _ref.range;
  29281. (0, _classCallCheck2.default)(this, Calendar);
  29282. // 当前日期
  29283. this.date = this.getDate(new Date()); // 当前初入日期
  29284. // 打点信息
  29285. this.selected = selected || [];
  29286. // 范围开始
  29287. this.startDate = startDate;
  29288. // 范围结束
  29289. this.endDate = endDate;
  29290. this.range = range;
  29291. // 多选状态
  29292. this.cleanMultipleStatus();
  29293. // 每周日期
  29294. this.weeks = {};
  29295. // this._getWeek(this.date.fullDate)
  29296. }
  29297. /**
  29298. * 设置日期
  29299. * @param {Object} date
  29300. */
  29301. (0, _createClass2.default)(Calendar, [{
  29302. key: "setDate",
  29303. value: function setDate(date) {
  29304. this.selectDate = this.getDate(date);
  29305. this._getWeek(this.selectDate.fullDate);
  29306. }
  29307. /**
  29308. * 清理多选状态
  29309. */
  29310. }, {
  29311. key: "cleanMultipleStatus",
  29312. value: function cleanMultipleStatus() {
  29313. this.multipleStatus = {
  29314. before: '',
  29315. after: '',
  29316. data: []
  29317. };
  29318. }
  29319. /**
  29320. * 重置开始日期
  29321. */
  29322. }, {
  29323. key: "resetSatrtDate",
  29324. value: function resetSatrtDate(startDate) {
  29325. // 范围开始
  29326. this.startDate = startDate;
  29327. }
  29328. /**
  29329. * 重置结束日期
  29330. */
  29331. }, {
  29332. key: "resetEndDate",
  29333. value: function resetEndDate(endDate) {
  29334. // 范围结束
  29335. this.endDate = endDate;
  29336. }
  29337. /**
  29338. * 获取任意时间
  29339. */
  29340. }, {
  29341. key: "getDate",
  29342. value: function getDate(date) {
  29343. var AddDayCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  29344. var str = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'day';
  29345. if (!date) {
  29346. date = new Date();
  29347. }
  29348. if ((0, _typeof2.default)(date) !== 'object') {
  29349. date = date.replace(/-/g, '/');
  29350. }
  29351. var dd = new Date(date);
  29352. switch (str) {
  29353. case 'day':
  29354. dd.setDate(dd.getDate() + AddDayCount); // 获取AddDayCount天后的日期
  29355. break;
  29356. case 'month':
  29357. if (dd.getDate() === 31 && AddDayCount > 0) {
  29358. dd.setDate(dd.getDate() + AddDayCount);
  29359. } else {
  29360. var preMonth = dd.getMonth();
  29361. dd.setMonth(preMonth + AddDayCount); // 获取AddDayCount天后的日期
  29362. var nextMonth = dd.getMonth();
  29363. // 处理 pre 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
  29364. if (AddDayCount < 0 && preMonth !== 0 && nextMonth - preMonth > AddDayCount) {
  29365. dd.setMonth(nextMonth + (nextMonth - preMonth + AddDayCount));
  29366. }
  29367. // 处理 next 切换月份目标月份为2月没有当前日(30 31) 切换错误问题
  29368. if (AddDayCount > 0 && nextMonth - preMonth > AddDayCount) {
  29369. dd.setMonth(nextMonth - (nextMonth - preMonth - AddDayCount));
  29370. }
  29371. }
  29372. break;
  29373. case 'year':
  29374. dd.setFullYear(dd.getFullYear() + AddDayCount); // 获取AddDayCount天后的日期
  29375. break;
  29376. }
  29377. var y = dd.getFullYear();
  29378. var m = dd.getMonth() + 1 < 10 ? '0' + (dd.getMonth() + 1) : dd.getMonth() + 1; // 获取当前月份的日期,不足10补0
  29379. var d = dd.getDate() < 10 ? '0' + dd.getDate() : dd.getDate(); // 获取当前几号,不足10补0
  29380. return {
  29381. fullDate: y + '-' + m + '-' + d,
  29382. year: y,
  29383. month: m,
  29384. date: d,
  29385. day: dd.getDay()
  29386. };
  29387. }
  29388. /**
  29389. * 获取上月剩余天数
  29390. */
  29391. }, {
  29392. key: "_getLastMonthDays",
  29393. value: function _getLastMonthDays(firstDay, full) {
  29394. var dateArr = [];
  29395. for (var i = firstDay; i > 0; i--) {
  29396. var beforeDate = new Date(full.year, full.month - 1, -i + 1).getDate();
  29397. dateArr.push({
  29398. date: beforeDate,
  29399. month: full.month - 1,
  29400. lunar: this.getlunar(full.year, full.month - 1, beforeDate),
  29401. disable: true
  29402. });
  29403. }
  29404. return dateArr;
  29405. }
  29406. /**
  29407. * 获取本月天数
  29408. */
  29409. }, {
  29410. key: "_currentMonthDys",
  29411. value: function _currentMonthDys(dateData, full) {
  29412. var _this = this;
  29413. var dateArr = [];
  29414. var fullDate = this.date.fullDate;
  29415. var _loop = function _loop(i) {
  29416. var nowDate = full.year + '-' + (full.month < 10 ? full.month : full.month) + '-' + (i < 10 ? '0' + i : i);
  29417. // 是否今天
  29418. var isDay = fullDate === nowDate;
  29419. // 获取打点信息
  29420. var info = _this.selected && _this.selected.find(function (item) {
  29421. if (_this.dateEqual(nowDate, item.date)) {
  29422. return item;
  29423. }
  29424. });
  29425. // 日期禁用
  29426. var disableBefore = true;
  29427. var disableAfter = true;
  29428. if (_this.startDate) {
  29429. // let dateCompBefore = this.dateCompare(this.startDate, fullDate)
  29430. // disableBefore = this.dateCompare(dateCompBefore ? this.startDate : fullDate, nowDate)
  29431. disableBefore = _this.dateCompare(_this.startDate, nowDate);
  29432. }
  29433. if (_this.endDate) {
  29434. // let dateCompAfter = this.dateCompare(fullDate, this.endDate)
  29435. // disableAfter = this.dateCompare(nowDate, dateCompAfter ? this.endDate : fullDate)
  29436. disableAfter = _this.dateCompare(nowDate, _this.endDate);
  29437. }
  29438. var multiples = _this.multipleStatus.data;
  29439. var checked = false;
  29440. var multiplesStatus = -1;
  29441. if (_this.range) {
  29442. if (multiples) {
  29443. multiplesStatus = multiples.findIndex(function (item) {
  29444. return _this.dateEqual(item, nowDate);
  29445. });
  29446. }
  29447. if (multiplesStatus !== -1) {
  29448. checked = true;
  29449. }
  29450. }
  29451. var data = {
  29452. fullDate: nowDate,
  29453. year: full.year,
  29454. date: i,
  29455. multiple: _this.range ? checked : false,
  29456. beforeMultiple: _this.dateEqual(_this.multipleStatus.before, nowDate),
  29457. afterMultiple: _this.dateEqual(_this.multipleStatus.after, nowDate),
  29458. month: full.month,
  29459. lunar: _this.getlunar(full.year, full.month, i),
  29460. disable: !(disableBefore && disableAfter),
  29461. isDay: isDay
  29462. };
  29463. if (info) {
  29464. data.extraInfo = info;
  29465. }
  29466. dateArr.push(data);
  29467. };
  29468. for (var i = 1; i <= dateData; i++) {
  29469. _loop(i);
  29470. }
  29471. return dateArr;
  29472. }
  29473. /**
  29474. * 获取下月天数
  29475. */
  29476. }, {
  29477. key: "_getNextMonthDays",
  29478. value: function _getNextMonthDays(surplus, full) {
  29479. var dateArr = [];
  29480. for (var i = 1; i < surplus + 1; i++) {
  29481. dateArr.push({
  29482. date: i,
  29483. month: Number(full.month) + 1,
  29484. lunar: this.getlunar(full.year, Number(full.month) + 1, i),
  29485. disable: true
  29486. });
  29487. }
  29488. return dateArr;
  29489. }
  29490. /**
  29491. * 获取当前日期详情
  29492. * @param {Object} date
  29493. */
  29494. }, {
  29495. key: "getInfo",
  29496. value: function getInfo(date) {
  29497. var _this2 = this;
  29498. if (!date) {
  29499. date = new Date();
  29500. }
  29501. var dateInfo = this.canlender.find(function (item) {
  29502. return item.fullDate === _this2.getDate(date).fullDate;
  29503. });
  29504. return dateInfo;
  29505. }
  29506. /**
  29507. * 比较时间大小
  29508. */
  29509. }, {
  29510. key: "dateCompare",
  29511. value: function dateCompare(startDate, endDate) {
  29512. // 计算截止时间
  29513. startDate = new Date(startDate.replace('-', '/').replace('-', '/'));
  29514. // 计算详细项的截止时间
  29515. endDate = new Date(endDate.replace('-', '/').replace('-', '/'));
  29516. if (startDate <= endDate) {
  29517. return true;
  29518. } else {
  29519. return false;
  29520. }
  29521. }
  29522. /**
  29523. * 比较时间是否相等
  29524. */
  29525. }, {
  29526. key: "dateEqual",
  29527. value: function dateEqual(before, after) {
  29528. // 计算截止时间
  29529. before = new Date(before.replace('-', '/').replace('-', '/'));
  29530. // 计算详细项的截止时间
  29531. after = new Date(after.replace('-', '/').replace('-', '/'));
  29532. if (before.getTime() - after.getTime() === 0) {
  29533. return true;
  29534. } else {
  29535. return false;
  29536. }
  29537. }
  29538. /**
  29539. * 获取日期范围内所有日期
  29540. * @param {Object} begin
  29541. * @param {Object} end
  29542. */
  29543. }, {
  29544. key: "geDateAll",
  29545. value: function geDateAll(begin, end) {
  29546. var arr = [];
  29547. var ab = begin.split('-');
  29548. var ae = end.split('-');
  29549. var db = new Date();
  29550. db.setFullYear(ab[0], ab[1] - 1, ab[2]);
  29551. var de = new Date();
  29552. de.setFullYear(ae[0], ae[1] - 1, ae[2]);
  29553. var unixDb = db.getTime() - 24 * 60 * 60 * 1000;
  29554. var unixDe = de.getTime() - 24 * 60 * 60 * 1000;
  29555. for (var k = unixDb; k <= unixDe;) {
  29556. k = k + 24 * 60 * 60 * 1000;
  29557. arr.push(this.getDate(new Date(parseInt(k))).fullDate);
  29558. }
  29559. return arr;
  29560. }
  29561. /**
  29562. * 计算阴历日期显示
  29563. */
  29564. }, {
  29565. key: "getlunar",
  29566. value: function getlunar(year, month, date) {
  29567. return _calendar.default.solar2lunar(year, month, date);
  29568. }
  29569. /**
  29570. * 设置打点
  29571. */
  29572. }, {
  29573. key: "setSelectInfo",
  29574. value: function setSelectInfo(data, value) {
  29575. this.selected = value;
  29576. this._getWeek(data);
  29577. }
  29578. /**
  29579. * 获取多选状态
  29580. */
  29581. }, {
  29582. key: "setMultiple",
  29583. value: function setMultiple(fullDate) {
  29584. var _this$multipleStatus = this.multipleStatus,
  29585. before = _this$multipleStatus.before,
  29586. after = _this$multipleStatus.after;
  29587. if (!this.range) return;
  29588. if (before && after) {
  29589. this.multipleStatus.before = '';
  29590. this.multipleStatus.after = '';
  29591. this.multipleStatus.data = [];
  29592. } else {
  29593. if (!before) {
  29594. this.multipleStatus.before = fullDate;
  29595. } else {
  29596. this.multipleStatus.after = fullDate;
  29597. if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) {
  29598. this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after);
  29599. } else {
  29600. this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before);
  29601. }
  29602. }
  29603. }
  29604. this._getWeek(fullDate);
  29605. }
  29606. /**
  29607. * 获取每周数据
  29608. * @param {Object} dateData
  29609. */
  29610. }, {
  29611. key: "_getWeek",
  29612. value: function _getWeek(dateData) {
  29613. var _this$getDate = this.getDate(dateData),
  29614. year = _this$getDate.year,
  29615. month = _this$getDate.month;
  29616. var firstDay = new Date(year, month - 1, 1).getDay();
  29617. var currentDay = new Date(year, month, 0).getDate();
  29618. var dates = {
  29619. lastMonthDays: this._getLastMonthDays(firstDay, this.getDate(dateData)),
  29620. // 上个月末尾几天
  29621. currentMonthDys: this._currentMonthDys(currentDay, this.getDate(dateData)),
  29622. // 本月天数
  29623. nextMonthDays: [],
  29624. // 下个月开始几天
  29625. weeks: []
  29626. };
  29627. var canlender = [];
  29628. var surplus = 42 - (dates.lastMonthDays.length + dates.currentMonthDys.length);
  29629. dates.nextMonthDays = this._getNextMonthDays(surplus, this.getDate(dateData));
  29630. canlender = canlender.concat(dates.lastMonthDays, dates.currentMonthDys, dates.nextMonthDays);
  29631. var weeks = {};
  29632. // 拼接数组 上个月开始几天 + 本月天数+ 下个月开始几天
  29633. for (var i = 0; i < canlender.length; i++) {
  29634. if (i % 7 === 0) {
  29635. weeks[parseInt(i / 7)] = new Array(7);
  29636. }
  29637. weeks[parseInt(i / 7)][i % 7] = canlender[i];
  29638. }
  29639. this.canlender = canlender;
  29640. this.weeks = weeks;
  29641. }
  29642. //静态方法
  29643. // static init(date) {
  29644. // if (!this.instance) {
  29645. // this.instance = new Calendar(date);
  29646. // }
  29647. // return this.instance;
  29648. // }
  29649. }]);
  29650. return Calendar;
  29651. }();
  29652. var _default = Calendar;
  29653. exports.default = _default;
  29654. /***/ }),
  29655. /* 463 */
  29656. /*!***************************************************************************************************!*\
  29657. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/calendar.js ***!
  29658. \***************************************************************************************************/
  29659. /*! no static exports found */
  29660. /***/ (function(module, exports, __webpack_require__) {
  29661. "use strict";
  29662. Object.defineProperty(exports, "__esModule", {
  29663. value: true
  29664. });
  29665. exports.default = void 0;
  29666. /**
  29667. * @1900-2100区间内的公历、农历互转
  29668. * @charset UTF-8
  29669. * @github https://github.com/jjonline/calendar.js
  29670. * @Author Jea杨(JJonline@JJonline.Cn)
  29671. * @Time 2014-7-21
  29672. * @Time 2016-8-13 Fixed 2033hex、Attribution Annals
  29673. * @Time 2016-9-25 Fixed lunar LeapMonth Param Bug
  29674. * @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year
  29675. * @Version 1.0.3
  29676. * @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0]
  29677. * @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0]
  29678. */
  29679. /* eslint-disable */
  29680. var calendar = {
  29681. /**
  29682. * 农历1900-2100的润大小信息表
  29683. * @Array Of Property
  29684. * @return Hex
  29685. */
  29686. lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2,
  29687. // 1900-1909
  29688. 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977,
  29689. // 1910-1919
  29690. 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970,
  29691. // 1920-1929
  29692. 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950,
  29693. // 1930-1939
  29694. 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557,
  29695. // 1940-1949
  29696. 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0,
  29697. // 1950-1959
  29698. 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0,
  29699. // 1960-1969
  29700. 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6,
  29701. // 1970-1979
  29702. 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570,
  29703. // 1980-1989
  29704. 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0,
  29705. // 1990-1999
  29706. 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5,
  29707. // 2000-2009
  29708. 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930,
  29709. // 2010-2019
  29710. 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530,
  29711. // 2020-2029
  29712. 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45,
  29713. // 2030-2039
  29714. 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0,
  29715. // 2040-2049
  29716. /** Add By JJonline@JJonline.Cn**/
  29717. 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0,
  29718. // 2050-2059
  29719. 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4,
  29720. // 2060-2069
  29721. 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0,
  29722. // 2070-2079
  29723. 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160,
  29724. // 2080-2089
  29725. 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252,
  29726. // 2090-2099
  29727. 0x0d520],
  29728. // 2100
  29729. /**
  29730. * 公历每个月份的天数普通表
  29731. * @Array Of Property
  29732. * @return Number
  29733. */
  29734. solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
  29735. /**
  29736. * 天干地支之天干速查表
  29737. * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"]
  29738. * @return Cn string
  29739. */
  29740. Gan: ["\u7532", "\u4E59", "\u4E19", "\u4E01", "\u620A", "\u5DF1", "\u5E9A", "\u8F9B", "\u58EC", "\u7678"],
  29741. /**
  29742. * 天干地支之地支速查表
  29743. * @Array Of Property
  29744. * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"]
  29745. * @return Cn string
  29746. */
  29747. Zhi: ["\u5B50", "\u4E11", "\u5BC5", "\u536F", "\u8FB0", "\u5DF3", "\u5348", "\u672A", "\u7533", "\u9149", "\u620C", "\u4EA5"],
  29748. /**
  29749. * 天干地支之地支速查表<=>生肖
  29750. * @Array Of Property
  29751. * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"]
  29752. * @return Cn string
  29753. */
  29754. Animals: ["\u9F20", "\u725B", "\u864E", "\u5154", "\u9F99", "\u86C7", "\u9A6C", "\u7F8A", "\u7334", "\u9E21", "\u72D7", "\u732A"],
  29755. /**
  29756. * 24节气速查表
  29757. * @Array Of Property
  29758. * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"]
  29759. * @return Cn string
  29760. */
  29761. solarTerm: ["\u5C0F\u5BD2", "\u5927\u5BD2", "\u7ACB\u6625", "\u96E8\u6C34", "\u60CA\u86F0", "\u6625\u5206", "\u6E05\u660E", "\u8C37\u96E8", "\u7ACB\u590F", "\u5C0F\u6EE1", "\u8292\u79CD", "\u590F\u81F3", "\u5C0F\u6691", "\u5927\u6691", "\u7ACB\u79CB", "\u5904\u6691", "\u767D\u9732", "\u79CB\u5206", "\u5BD2\u9732", "\u971C\u964D", "\u7ACB\u51AC", "\u5C0F\u96EA", "\u5927\u96EA", "\u51AC\u81F3"],
  29762. /**
  29763. * 1900-2100各年的24节气日期速查表
  29764. * @Array Of Property
  29765. * @return 0x string For splice
  29766. */
  29767. sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722'],
  29768. /**
  29769. * 数字转中文速查表
  29770. * @Array Of Property
  29771. * @trans ['日','一','二','三','四','五','六','七','八','九','十']
  29772. * @return Cn string
  29773. */
  29774. nStr1: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"],
  29775. /**
  29776. * 日期转农历称呼速查表
  29777. * @Array Of Property
  29778. * @trans ['初','十','廿','卅']
  29779. * @return Cn string
  29780. */
  29781. nStr2: ["\u521D", "\u5341", "\u5EFF", "\u5345"],
  29782. /**
  29783. * 月份转农历称呼速查表
  29784. * @Array Of Property
  29785. * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊']
  29786. * @return Cn string
  29787. */
  29788. nStr3: ["\u6B63", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341", "\u51AC", "\u814A"],
  29789. /**
  29790. * 返回农历y年一整年的总天数
  29791. * @param lunar Year
  29792. * @return Number
  29793. * @eg:var count = calendar.lYearDays(1987) ;//count=387
  29794. */
  29795. lYearDays: function lYearDays(y) {
  29796. var i;
  29797. var sum = 348;
  29798. for (i = 0x8000; i > 0x8; i >>= 1) {
  29799. sum += this.lunarInfo[y - 1900] & i ? 1 : 0;
  29800. }
  29801. return sum + this.leapDays(y);
  29802. },
  29803. /**
  29804. * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0
  29805. * @param lunar Year
  29806. * @return Number (0-12)
  29807. * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6
  29808. */
  29809. leapMonth: function leapMonth(y) {
  29810. // 闰字编码 \u95f0
  29811. return this.lunarInfo[y - 1900] & 0xf;
  29812. },
  29813. /**
  29814. * 返回农历y年闰月的天数 若该年没有闰月则返回0
  29815. * @param lunar Year
  29816. * @return Number (0、29、30)
  29817. * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29
  29818. */
  29819. leapDays: function leapDays(y) {
  29820. if (this.leapMonth(y)) {
  29821. return this.lunarInfo[y - 1900] & 0x10000 ? 30 : 29;
  29822. }
  29823. return 0;
  29824. },
  29825. /**
  29826. * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法
  29827. * @param lunar Year
  29828. * @return Number (-1、29、30)
  29829. * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29
  29830. */
  29831. monthDays: function monthDays(y, m) {
  29832. if (m > 12 || m < 1) {
  29833. return -1;
  29834. } // 月份参数从1至12,参数错误返回-1
  29835. return this.lunarInfo[y - 1900] & 0x10000 >> m ? 30 : 29;
  29836. },
  29837. /**
  29838. * 返回公历(!)y年m月的天数
  29839. * @param solar Year
  29840. * @return Number (-1、28、29、30、31)
  29841. * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30
  29842. */
  29843. solarDays: function solarDays(y, m) {
  29844. if (m > 12 || m < 1) {
  29845. return -1;
  29846. } // 若参数错误 返回-1
  29847. var ms = m - 1;
  29848. if (ms == 1) {
  29849. // 2月份的闰平规律测算后确认返回28或29
  29850. return y % 4 == 0 && y % 100 != 0 || y % 400 == 0 ? 29 : 28;
  29851. } else {
  29852. return this.solarMonth[ms];
  29853. }
  29854. },
  29855. /**
  29856. * 农历年份转换为干支纪年
  29857. * @param lYear 农历年的年份数
  29858. * @return Cn string
  29859. */
  29860. toGanZhiYear: function toGanZhiYear(lYear) {
  29861. var ganKey = (lYear - 3) % 10;
  29862. var zhiKey = (lYear - 3) % 12;
  29863. if (ganKey == 0) ganKey = 10; // 如果余数为0则为最后一个天干
  29864. if (zhiKey == 0) zhiKey = 12; // 如果余数为0则为最后一个地支
  29865. return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1];
  29866. },
  29867. /**
  29868. * 公历月、日判断所属星座
  29869. * @param cMonth [description]
  29870. * @param cDay [description]
  29871. * @return Cn string
  29872. */
  29873. toAstro: function toAstro(cMonth, cDay) {
  29874. var s = "\u9B54\u7FAF\u6C34\u74F6\u53CC\u9C7C\u767D\u7F8A\u91D1\u725B\u53CC\u5B50\u5DE8\u87F9\u72EE\u5B50\u5904\u5973\u5929\u79E4\u5929\u874E\u5C04\u624B\u9B54\u7FAF";
  29875. var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22];
  29876. return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5EA7"; // 座
  29877. },
  29878. /**
  29879. * 传入offset偏移量返回干支
  29880. * @param offset 相对甲子的偏移量
  29881. * @return Cn string
  29882. */
  29883. toGanZhi: function toGanZhi(offset) {
  29884. return this.Gan[offset % 10] + this.Zhi[offset % 12];
  29885. },
  29886. /**
  29887. * 传入公历(!)y年获得该年第n个节气的公历日期
  29888. * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起
  29889. * @return day Number
  29890. * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春
  29891. */
  29892. getTerm: function getTerm(y, n) {
  29893. if (y < 1900 || y > 2100) {
  29894. return -1;
  29895. }
  29896. if (n < 1 || n > 24) {
  29897. return -1;
  29898. }
  29899. var _table = this.sTermInfo[y - 1900];
  29900. var _info = [parseInt('0x' + _table.substr(0, 5)).toString(), parseInt('0x' + _table.substr(5, 5)).toString(), parseInt('0x' + _table.substr(10, 5)).toString(), parseInt('0x' + _table.substr(15, 5)).toString(), parseInt('0x' + _table.substr(20, 5)).toString(), parseInt('0x' + _table.substr(25, 5)).toString()];
  29901. var _calday = [_info[0].substr(0, 1), _info[0].substr(1, 2), _info[0].substr(3, 1), _info[0].substr(4, 2), _info[1].substr(0, 1), _info[1].substr(1, 2), _info[1].substr(3, 1), _info[1].substr(4, 2), _info[2].substr(0, 1), _info[2].substr(1, 2), _info[2].substr(3, 1), _info[2].substr(4, 2), _info[3].substr(0, 1), _info[3].substr(1, 2), _info[3].substr(3, 1), _info[3].substr(4, 2), _info[4].substr(0, 1), _info[4].substr(1, 2), _info[4].substr(3, 1), _info[4].substr(4, 2), _info[5].substr(0, 1), _info[5].substr(1, 2), _info[5].substr(3, 1), _info[5].substr(4, 2)];
  29902. return parseInt(_calday[n - 1]);
  29903. },
  29904. /**
  29905. * 传入农历数字月份返回汉语通俗表示法
  29906. * @param lunar month
  29907. * @return Cn string
  29908. * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月'
  29909. */
  29910. toChinaMonth: function toChinaMonth(m) {
  29911. // 月 => \u6708
  29912. if (m > 12 || m < 1) {
  29913. return -1;
  29914. } // 若参数错误 返回-1
  29915. var s = this.nStr3[m - 1];
  29916. s += "\u6708"; // 加上月字
  29917. return s;
  29918. },
  29919. /**
  29920. * 传入农历日期数字返回汉字表示法
  29921. * @param lunar day
  29922. * @return Cn string
  29923. * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一'
  29924. */
  29925. toChinaDay: function toChinaDay(d) {
  29926. // 日 => \u65e5
  29927. var s;
  29928. switch (d) {
  29929. case 10:
  29930. s = "\u521D\u5341";
  29931. break;
  29932. case 20:
  29933. s = "\u4E8C\u5341";
  29934. break;
  29935. break;
  29936. case 30:
  29937. s = "\u4E09\u5341";
  29938. break;
  29939. break;
  29940. default:
  29941. s = this.nStr2[Math.floor(d / 10)];
  29942. s += this.nStr1[d % 10];
  29943. }
  29944. return s;
  29945. },
  29946. /**
  29947. * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春”
  29948. * @param y year
  29949. * @return Cn string
  29950. * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔'
  29951. */
  29952. getAnimal: function getAnimal(y) {
  29953. return this.Animals[(y - 4) % 12];
  29954. },
  29955. /**
  29956. * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON
  29957. * @param y solar year
  29958. * @param m solar month
  29959. * @param d solar day
  29960. * @return JSON object
  29961. * @eg:console.log(calendar.solar2lunar(1987,11,01));
  29962. */
  29963. solar2lunar: function solar2lunar(y, m, d) {
  29964. // 参数区间1900.1.31~2100.12.31
  29965. // 年份限定、上限
  29966. if (y < 1900 || y > 2100) {
  29967. return -1; // undefined转换为数字变为NaN
  29968. }
  29969. // 公历传参最下限
  29970. if (y == 1900 && m == 1 && d < 31) {
  29971. return -1;
  29972. }
  29973. // 未传参 获得当天
  29974. if (!y) {
  29975. var objDate = new Date();
  29976. } else {
  29977. var objDate = new Date(y, parseInt(m) - 1, d);
  29978. }
  29979. var i;
  29980. var leap = 0;
  29981. var temp = 0;
  29982. // 修正ymd参数
  29983. var y = objDate.getFullYear();
  29984. var m = objDate.getMonth() + 1;
  29985. var d = objDate.getDate();
  29986. var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000;
  29987. for (i = 1900; i < 2101 && offset > 0; i++) {
  29988. temp = this.lYearDays(i);
  29989. offset -= temp;
  29990. }
  29991. if (offset < 0) {
  29992. offset += temp;
  29993. i--;
  29994. }
  29995. // 是否今天
  29996. var isTodayObj = new Date();
  29997. var isToday = false;
  29998. if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) {
  29999. isToday = true;
  30000. }
  30001. // 星期几
  30002. var nWeek = objDate.getDay();
  30003. var cWeek = this.nStr1[nWeek];
  30004. // 数字表示周几顺应天朝周一开始的惯例
  30005. if (nWeek == 0) {
  30006. nWeek = 7;
  30007. }
  30008. // 农历年
  30009. var year = i;
  30010. var leap = this.leapMonth(i); // 闰哪个月
  30011. var isLeap = false;
  30012. // 效验闰月
  30013. for (i = 1; i < 13 && offset > 0; i++) {
  30014. // 闰月
  30015. if (leap > 0 && i == leap + 1 && isLeap == false) {
  30016. --i;
  30017. isLeap = true;
  30018. temp = this.leapDays(year); // 计算农历闰月天数
  30019. } else {
  30020. temp = this.monthDays(year, i); // 计算农历普通月天数
  30021. }
  30022. // 解除闰月
  30023. if (isLeap == true && i == leap + 1) {
  30024. isLeap = false;
  30025. }
  30026. offset -= temp;
  30027. }
  30028. // 闰月导致数组下标重叠取反
  30029. if (offset == 0 && leap > 0 && i == leap + 1) {
  30030. if (isLeap) {
  30031. isLeap = false;
  30032. } else {
  30033. isLeap = true;
  30034. --i;
  30035. }
  30036. }
  30037. if (offset < 0) {
  30038. offset += temp;
  30039. --i;
  30040. }
  30041. // 农历月
  30042. var month = i;
  30043. // 农历日
  30044. var day = offset + 1;
  30045. // 天干地支处理
  30046. var sm = m - 1;
  30047. var gzY = this.toGanZhiYear(year);
  30048. // 当月的两个节气
  30049. // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year`
  30050. var firstNode = this.getTerm(y, m * 2 - 1); // 返回当月「节」为几日开始
  30051. var secondNode = this.getTerm(y, m * 2); // 返回当月「节」为几日开始
  30052. // 依据12节气修正干支月
  30053. var gzM = this.toGanZhi((y - 1900) * 12 + m + 11);
  30054. if (d >= firstNode) {
  30055. gzM = this.toGanZhi((y - 1900) * 12 + m + 12);
  30056. }
  30057. // 传入的日期的节气与否
  30058. var isTerm = false;
  30059. var Term = null;
  30060. if (firstNode == d) {
  30061. isTerm = true;
  30062. Term = this.solarTerm[m * 2 - 2];
  30063. }
  30064. if (secondNode == d) {
  30065. isTerm = true;
  30066. Term = this.solarTerm[m * 2 - 1];
  30067. }
  30068. // 日柱 当月一日与 1900/1/1 相差天数
  30069. var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10;
  30070. var gzD = this.toGanZhi(dayCyclical + d - 1);
  30071. // 该日期所属的星座
  30072. var astro = this.toAstro(m, d);
  30073. return {
  30074. 'lYear': year,
  30075. 'lMonth': month,
  30076. 'lDay': day,
  30077. 'Animal': this.getAnimal(year),
  30078. 'IMonthCn': (isLeap ? "\u95F0" : '') + this.toChinaMonth(month),
  30079. 'IDayCn': this.toChinaDay(day),
  30080. 'cYear': y,
  30081. 'cMonth': m,
  30082. 'cDay': d,
  30083. 'gzYear': gzY,
  30084. 'gzMonth': gzM,
  30085. 'gzDay': gzD,
  30086. 'isToday': isToday,
  30087. 'isLeap': isLeap,
  30088. 'nWeek': nWeek,
  30089. 'ncWeek': "\u661F\u671F" + cWeek,
  30090. 'isTerm': isTerm,
  30091. 'Term': Term,
  30092. 'astro': astro
  30093. };
  30094. },
  30095. /**
  30096. * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON
  30097. * @param y lunar year
  30098. * @param m lunar month
  30099. * @param d lunar day
  30100. * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可]
  30101. * @return JSON object
  30102. * @eg:console.log(calendar.lunar2solar(1987,9,10));
  30103. */
  30104. lunar2solar: function lunar2solar(y, m, d, isLeapMonth) {
  30105. // 参数区间1900.1.31~2100.12.1
  30106. var isLeapMonth = !!isLeapMonth;
  30107. var leapOffset = 0;
  30108. var leapMonth = this.leapMonth(y);
  30109. var leapDay = this.leapDays(y);
  30110. if (isLeapMonth && leapMonth != m) {
  30111. return -1;
  30112. } // 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同
  30113. if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) {
  30114. return -1;
  30115. } // 超出了最大极限值
  30116. var day = this.monthDays(y, m);
  30117. var _day = day;
  30118. // bugFix 2016-9-25
  30119. // if month is leap, _day use leapDays method
  30120. if (isLeapMonth) {
  30121. _day = this.leapDays(y, m);
  30122. }
  30123. if (y < 1900 || y > 2100 || d > _day) {
  30124. return -1;
  30125. } // 参数合法性效验
  30126. // 计算农历的时间差
  30127. var offset = 0;
  30128. for (var i = 1900; i < y; i++) {
  30129. offset += this.lYearDays(i);
  30130. }
  30131. var leap = 0;
  30132. var isAdd = false;
  30133. for (var i = 1; i < m; i++) {
  30134. leap = this.leapMonth(y);
  30135. if (!isAdd) {
  30136. // 处理闰月
  30137. if (leap <= i && leap > 0) {
  30138. offset += this.leapDays(y);
  30139. isAdd = true;
  30140. }
  30141. }
  30142. offset += this.monthDays(y, i);
  30143. }
  30144. // 转换闰月农历 需补充该年闰月的前一个月的时差
  30145. if (isLeapMonth) {
  30146. offset += day;
  30147. }
  30148. // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点)
  30149. var stmap = Date.UTC(1900, 1, 30, 0, 0, 0);
  30150. var calObj = new Date((offset + d - 31) * 86400000 + stmap);
  30151. var cY = calObj.getUTCFullYear();
  30152. var cM = calObj.getUTCMonth() + 1;
  30153. var cD = calObj.getUTCDate();
  30154. return this.solar2lunar(cY, cM, cD);
  30155. }
  30156. };
  30157. var _default = calendar;
  30158. exports.default = _default;
  30159. /***/ }),
  30160. /* 464 */
  30161. /*!*****************************************************************************************************!*\
  30162. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/index.js ***!
  30163. \*****************************************************************************************************/
  30164. /*! no static exports found */
  30165. /***/ (function(module, exports, __webpack_require__) {
  30166. "use strict";
  30167. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  30168. Object.defineProperty(exports, "__esModule", {
  30169. value: true
  30170. });
  30171. exports.default = void 0;
  30172. var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 465));
  30173. var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 466));
  30174. var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 467));
  30175. var _default = {
  30176. en: _en.default,
  30177. 'zh-Hans': _zhHans.default,
  30178. 'zh-Hant': _zhHant.default
  30179. };
  30180. exports.default = _default;
  30181. /***/ }),
  30182. /* 465 */
  30183. /*!****************************************************************************************************!*\
  30184. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/en.json ***!
  30185. \****************************************************************************************************/
  30186. /*! exports provided: uni-calender.ok, uni-calender.cancel, uni-calender.today, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, uni-calender.SUN, default */
  30187. /***/ (function(module) {
  30188. module.exports = JSON.parse("{\"uni-calender.ok\":\"ok\",\"uni-calender.cancel\":\"cancel\",\"uni-calender.today\":\"today\",\"uni-calender.MON\":\"MON\",\"uni-calender.TUE\":\"TUE\",\"uni-calender.WED\":\"WED\",\"uni-calender.THU\":\"THU\",\"uni-calender.FRI\":\"FRI\",\"uni-calender.SAT\":\"SAT\",\"uni-calender.SUN\":\"SUN\"}");
  30189. /***/ }),
  30190. /* 466 */
  30191. /*!*********************************************************************************************************!*\
  30192. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hans.json ***!
  30193. \*********************************************************************************************************/
  30194. /*! exports provided: uni-calender.ok, uni-calender.cancel, uni-calender.today, uni-calender.SUN, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, default */
  30195. /***/ (function(module) {
  30196. module.exports = JSON.parse("{\"uni-calender.ok\":\"确定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
  30197. /***/ }),
  30198. /* 467 */
  30199. /*!*********************************************************************************************************!*\
  30200. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-calendar/components/uni-calendar/i18n/zh-Hant.json ***!
  30201. \*********************************************************************************************************/
  30202. /*! exports provided: uni-calender.ok, uni-calender.cancel, uni-calender.today, uni-calender.SUN, uni-calender.MON, uni-calender.TUE, uni-calender.WED, uni-calender.THU, uni-calender.FRI, uni-calender.SAT, default */
  30203. /***/ (function(module) {
  30204. module.exports = JSON.parse("{\"uni-calender.ok\":\"確定\",\"uni-calender.cancel\":\"取消\",\"uni-calender.today\":\"今日\",\"uni-calender.SUN\":\"日\",\"uni-calender.MON\":\"一\",\"uni-calender.TUE\":\"二\",\"uni-calender.WED\":\"三\",\"uni-calender.THU\":\"四\",\"uni-calender.FRI\":\"五\",\"uni-calender.SAT\":\"六\"}");
  30205. /***/ }),
  30206. /* 468 */,
  30207. /* 469 */,
  30208. /* 470 */,
  30209. /* 471 */,
  30210. /* 472 */,
  30211. /* 473 */,
  30212. /* 474 */,
  30213. /* 475 */,
  30214. /* 476 */,
  30215. /* 477 */,
  30216. /* 478 */,
  30217. /* 479 */,
  30218. /* 480 */,
  30219. /* 481 */,
  30220. /* 482 */
  30221. /*!*********************************************************************************************!*\
  30222. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-forms/components/uni-forms/validate.js ***!
  30223. \*********************************************************************************************/
  30224. /*! no static exports found */
  30225. /***/ (function(module, exports, __webpack_require__) {
  30226. "use strict";
  30227. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  30228. Object.defineProperty(exports, "__esModule", {
  30229. value: true
  30230. });
  30231. exports.default = void 0;
  30232. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
  30233. var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 483));
  30234. var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 484));
  30235. var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 486));
  30236. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
  30237. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  30238. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  30239. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  30240. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
  30241. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  30242. var pattern = {
  30243. email: /^\S+?@\S+?\.\S+?$/,
  30244. idcard: /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
  30245. url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i')
  30246. };
  30247. var FORMAT_MAPPING = {
  30248. "int": 'integer',
  30249. "bool": 'boolean',
  30250. "double": 'number',
  30251. "long": 'number',
  30252. "password": 'string'
  30253. // "fileurls": 'array'
  30254. };
  30255. function formatMessage(args) {
  30256. var resources = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
  30257. var defaultMessage = ['label'];
  30258. defaultMessage.forEach(function (item) {
  30259. if (args[item] === undefined) {
  30260. args[item] = '';
  30261. }
  30262. });
  30263. var str = resources;
  30264. for (var key in args) {
  30265. var reg = new RegExp('{' + key + '}');
  30266. str = str.replace(reg, args[key]);
  30267. }
  30268. return str;
  30269. }
  30270. function isEmptyValue(value, type) {
  30271. if (value === undefined || value === null) {
  30272. return true;
  30273. }
  30274. if (typeof value === 'string' && !value) {
  30275. return true;
  30276. }
  30277. if (Array.isArray(value) && !value.length) {
  30278. return true;
  30279. }
  30280. if (type === 'object' && !Object.keys(value).length) {
  30281. return true;
  30282. }
  30283. return false;
  30284. }
  30285. var types = {
  30286. integer: function integer(value) {
  30287. return types.number(value) && parseInt(value, 10) === value;
  30288. },
  30289. string: function string(value) {
  30290. return typeof value === 'string';
  30291. },
  30292. number: function number(value) {
  30293. if (isNaN(value)) {
  30294. return false;
  30295. }
  30296. return typeof value === 'number';
  30297. },
  30298. "boolean": function boolean(value) {
  30299. return typeof value === 'boolean';
  30300. },
  30301. "float": function float(value) {
  30302. return types.number(value) && !types.integer(value);
  30303. },
  30304. array: function array(value) {
  30305. return Array.isArray(value);
  30306. },
  30307. object: function object(value) {
  30308. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  30309. },
  30310. date: function date(value) {
  30311. return value instanceof Date;
  30312. },
  30313. timestamp: function timestamp(value) {
  30314. if (!this.integer(value) || Math.abs(value).toString().length > 16) {
  30315. return false;
  30316. }
  30317. return true;
  30318. },
  30319. file: function file(value) {
  30320. return typeof value.url === 'string';
  30321. },
  30322. email: function email(value) {
  30323. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  30324. },
  30325. url: function url(value) {
  30326. return typeof value === 'string' && !!value.match(pattern.url);
  30327. },
  30328. pattern: function pattern(reg, value) {
  30329. try {
  30330. return new RegExp(reg).test(value);
  30331. } catch (e) {
  30332. return false;
  30333. }
  30334. },
  30335. method: function method(value) {
  30336. return typeof value === 'function';
  30337. },
  30338. idcard: function idcard(value) {
  30339. return typeof value === 'string' && !!value.match(pattern.idcard);
  30340. },
  30341. 'url-https': function urlHttps(value) {
  30342. return this.url(value) && value.startsWith('https://');
  30343. },
  30344. 'url-scheme': function urlScheme(value) {
  30345. return value.startsWith('://');
  30346. },
  30347. 'url-web': function urlWeb(value) {
  30348. return false;
  30349. }
  30350. };
  30351. var RuleValidator = /*#__PURE__*/function () {
  30352. function RuleValidator(message) {
  30353. (0, _classCallCheck2.default)(this, RuleValidator);
  30354. this._message = message;
  30355. }
  30356. (0, _createClass2.default)(RuleValidator, [{
  30357. key: "validateRule",
  30358. value: function () {
  30359. var _validateRule = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(fieldKey, fieldValue, value, data, allData) {
  30360. var result, rules, hasRequired, message, i, rule, vt, now, resultExpr;
  30361. return _regenerator.default.wrap(function _callee$(_context) {
  30362. while (1) {
  30363. switch (_context.prev = _context.next) {
  30364. case 0:
  30365. result = null;
  30366. rules = fieldValue.rules;
  30367. hasRequired = rules.findIndex(function (item) {
  30368. return item.required;
  30369. });
  30370. if (!(hasRequired < 0)) {
  30371. _context.next = 8;
  30372. break;
  30373. }
  30374. if (!(value === null || value === undefined)) {
  30375. _context.next = 6;
  30376. break;
  30377. }
  30378. return _context.abrupt("return", result);
  30379. case 6:
  30380. if (!(typeof value === 'string' && !value.length)) {
  30381. _context.next = 8;
  30382. break;
  30383. }
  30384. return _context.abrupt("return", result);
  30385. case 8:
  30386. message = this._message;
  30387. if (!(rules === undefined)) {
  30388. _context.next = 11;
  30389. break;
  30390. }
  30391. return _context.abrupt("return", message['default']);
  30392. case 11:
  30393. i = 0;
  30394. case 12:
  30395. if (!(i < rules.length)) {
  30396. _context.next = 35;
  30397. break;
  30398. }
  30399. rule = rules[i];
  30400. vt = this._getValidateType(rule);
  30401. Object.assign(rule, {
  30402. label: fieldValue.label || "[\"".concat(fieldKey, "\"]")
  30403. });
  30404. if (!RuleValidatorHelper[vt]) {
  30405. _context.next = 20;
  30406. break;
  30407. }
  30408. result = RuleValidatorHelper[vt](rule, value, message);
  30409. if (!(result != null)) {
  30410. _context.next = 20;
  30411. break;
  30412. }
  30413. return _context.abrupt("break", 35);
  30414. case 20:
  30415. if (!rule.validateExpr) {
  30416. _context.next = 26;
  30417. break;
  30418. }
  30419. now = Date.now();
  30420. resultExpr = rule.validateExpr(value, allData, now);
  30421. if (!(resultExpr === false)) {
  30422. _context.next = 26;
  30423. break;
  30424. }
  30425. result = this._getMessage(rule, rule.errorMessage || this._message['default']);
  30426. return _context.abrupt("break", 35);
  30427. case 26:
  30428. if (!rule.validateFunction) {
  30429. _context.next = 32;
  30430. break;
  30431. }
  30432. _context.next = 29;
  30433. return this.validateFunction(rule, value, data, allData, vt);
  30434. case 29:
  30435. result = _context.sent;
  30436. if (!(result !== null)) {
  30437. _context.next = 32;
  30438. break;
  30439. }
  30440. return _context.abrupt("break", 35);
  30441. case 32:
  30442. i++;
  30443. _context.next = 12;
  30444. break;
  30445. case 35:
  30446. if (result !== null) {
  30447. result = message.TAG + result;
  30448. }
  30449. return _context.abrupt("return", result);
  30450. case 37:
  30451. case "end":
  30452. return _context.stop();
  30453. }
  30454. }
  30455. }, _callee, this);
  30456. }));
  30457. function validateRule(_x, _x2, _x3, _x4, _x5) {
  30458. return _validateRule.apply(this, arguments);
  30459. }
  30460. return validateRule;
  30461. }()
  30462. }, {
  30463. key: "validateFunction",
  30464. value: function () {
  30465. var _validateFunction = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(rule, value, data, allData, vt) {
  30466. var result, callbackMessage, res;
  30467. return _regenerator.default.wrap(function _callee2$(_context2) {
  30468. while (1) {
  30469. switch (_context2.prev = _context2.next) {
  30470. case 0:
  30471. result = null;
  30472. _context2.prev = 1;
  30473. callbackMessage = null;
  30474. _context2.next = 5;
  30475. return rule.validateFunction(rule, value, allData || data, function (message) {
  30476. callbackMessage = message;
  30477. });
  30478. case 5:
  30479. res = _context2.sent;
  30480. if (callbackMessage || typeof res === 'string' && res || res === false) {
  30481. result = this._getMessage(rule, callbackMessage || res, vt);
  30482. }
  30483. _context2.next = 12;
  30484. break;
  30485. case 9:
  30486. _context2.prev = 9;
  30487. _context2.t0 = _context2["catch"](1);
  30488. result = this._getMessage(rule, _context2.t0.message, vt);
  30489. case 12:
  30490. return _context2.abrupt("return", result);
  30491. case 13:
  30492. case "end":
  30493. return _context2.stop();
  30494. }
  30495. }
  30496. }, _callee2, this, [[1, 9]]);
  30497. }));
  30498. function validateFunction(_x6, _x7, _x8, _x9, _x10) {
  30499. return _validateFunction.apply(this, arguments);
  30500. }
  30501. return validateFunction;
  30502. }()
  30503. }, {
  30504. key: "_getMessage",
  30505. value: function _getMessage(rule, message, vt) {
  30506. return formatMessage(rule, message || rule.errorMessage || this._message[vt] || message['default']);
  30507. }
  30508. }, {
  30509. key: "_getValidateType",
  30510. value: function _getValidateType(rule) {
  30511. var result = '';
  30512. if (rule.required) {
  30513. result = 'required';
  30514. } else if (rule.format) {
  30515. result = 'format';
  30516. } else if (rule.arrayType) {
  30517. result = 'arrayTypeFormat';
  30518. } else if (rule.range) {
  30519. result = 'range';
  30520. } else if (rule.maximum !== undefined || rule.minimum !== undefined) {
  30521. result = 'rangeNumber';
  30522. } else if (rule.maxLength !== undefined || rule.minLength !== undefined) {
  30523. result = 'rangeLength';
  30524. } else if (rule.pattern) {
  30525. result = 'pattern';
  30526. } else if (rule.validateFunction) {
  30527. result = 'validateFunction';
  30528. }
  30529. return result;
  30530. }
  30531. }]);
  30532. return RuleValidator;
  30533. }();
  30534. var RuleValidatorHelper = {
  30535. required: function required(rule, value, message) {
  30536. if (rule.required && isEmptyValue(value, rule.format || (0, _typeof2.default)(value))) {
  30537. return formatMessage(rule, rule.errorMessage || message.required);
  30538. }
  30539. return null;
  30540. },
  30541. range: function range(rule, value, message) {
  30542. var range = rule.range,
  30543. errorMessage = rule.errorMessage;
  30544. var list = new Array(range.length);
  30545. for (var i = 0; i < range.length; i++) {
  30546. var item = range[i];
  30547. if (types.object(item) && item.value !== undefined) {
  30548. list[i] = item.value;
  30549. } else {
  30550. list[i] = item;
  30551. }
  30552. }
  30553. var result = false;
  30554. if (Array.isArray(value)) {
  30555. result = new Set(value.concat(list)).size === list.length;
  30556. } else {
  30557. if (list.indexOf(value) > -1) {
  30558. result = true;
  30559. }
  30560. }
  30561. if (!result) {
  30562. return formatMessage(rule, errorMessage || message['enum']);
  30563. }
  30564. return null;
  30565. },
  30566. rangeNumber: function rangeNumber(rule, value, message) {
  30567. if (!types.number(value)) {
  30568. return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
  30569. }
  30570. var minimum = rule.minimum,
  30571. maximum = rule.maximum,
  30572. exclusiveMinimum = rule.exclusiveMinimum,
  30573. exclusiveMaximum = rule.exclusiveMaximum;
  30574. var min = exclusiveMinimum ? value <= minimum : value < minimum;
  30575. var max = exclusiveMaximum ? value >= maximum : value > maximum;
  30576. if (minimum !== undefined && min) {
  30577. return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMinimum ? 'exclusiveMinimum' : 'minimum']);
  30578. } else if (maximum !== undefined && max) {
  30579. return formatMessage(rule, rule.errorMessage || message['number'][exclusiveMaximum ? 'exclusiveMaximum' : 'maximum']);
  30580. } else if (minimum !== undefined && maximum !== undefined && (min || max)) {
  30581. return formatMessage(rule, rule.errorMessage || message['number'].range);
  30582. }
  30583. return null;
  30584. },
  30585. rangeLength: function rangeLength(rule, value, message) {
  30586. if (!types.string(value) && !types.array(value)) {
  30587. return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
  30588. }
  30589. var min = rule.minLength;
  30590. var max = rule.maxLength;
  30591. var val = value.length;
  30592. if (min !== undefined && val < min) {
  30593. return formatMessage(rule, rule.errorMessage || message['length'].minLength);
  30594. } else if (max !== undefined && val > max) {
  30595. return formatMessage(rule, rule.errorMessage || message['length'].maxLength);
  30596. } else if (min !== undefined && max !== undefined && (val < min || val > max)) {
  30597. return formatMessage(rule, rule.errorMessage || message['length'].range);
  30598. }
  30599. return null;
  30600. },
  30601. pattern: function pattern(rule, value, message) {
  30602. if (!types['pattern'](rule.pattern, value)) {
  30603. return formatMessage(rule, rule.errorMessage || message.pattern.mismatch);
  30604. }
  30605. return null;
  30606. },
  30607. format: function format(rule, value, message) {
  30608. var customTypes = Object.keys(types);
  30609. var format = FORMAT_MAPPING[rule.format] ? FORMAT_MAPPING[rule.format] : rule.format || rule.arrayType;
  30610. if (customTypes.indexOf(format) > -1) {
  30611. if (!types[format](value)) {
  30612. return formatMessage(rule, rule.errorMessage || message.typeError);
  30613. }
  30614. }
  30615. return null;
  30616. },
  30617. arrayTypeFormat: function arrayTypeFormat(rule, value, message) {
  30618. if (!Array.isArray(value)) {
  30619. return formatMessage(rule, rule.errorMessage || message.typeError);
  30620. }
  30621. for (var i = 0; i < value.length; i++) {
  30622. var element = value[i];
  30623. var formatResult = this.format(rule, element, message);
  30624. if (formatResult !== null) {
  30625. return formatResult;
  30626. }
  30627. }
  30628. return null;
  30629. }
  30630. };
  30631. var SchemaValidator = /*#__PURE__*/function (_RuleValidator) {
  30632. (0, _inherits2.default)(SchemaValidator, _RuleValidator);
  30633. var _super = _createSuper(SchemaValidator);
  30634. function SchemaValidator(schema, options) {
  30635. var _this;
  30636. (0, _classCallCheck2.default)(this, SchemaValidator);
  30637. _this = _super.call(this, SchemaValidator.message);
  30638. _this._schema = schema;
  30639. _this._options = options || null;
  30640. return _this;
  30641. }
  30642. (0, _createClass2.default)(SchemaValidator, [{
  30643. key: "updateSchema",
  30644. value: function updateSchema(schema) {
  30645. this._schema = schema;
  30646. }
  30647. }, {
  30648. key: "validate",
  30649. value: function () {
  30650. var _validate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(data, allData) {
  30651. var result;
  30652. return _regenerator.default.wrap(function _callee3$(_context3) {
  30653. while (1) {
  30654. switch (_context3.prev = _context3.next) {
  30655. case 0:
  30656. result = this._checkFieldInSchema(data);
  30657. if (result) {
  30658. _context3.next = 5;
  30659. break;
  30660. }
  30661. _context3.next = 4;
  30662. return this.invokeValidate(data, false, allData);
  30663. case 4:
  30664. result = _context3.sent;
  30665. case 5:
  30666. return _context3.abrupt("return", result.length ? result[0] : null);
  30667. case 6:
  30668. case "end":
  30669. return _context3.stop();
  30670. }
  30671. }
  30672. }, _callee3, this);
  30673. }));
  30674. function validate(_x11, _x12) {
  30675. return _validate.apply(this, arguments);
  30676. }
  30677. return validate;
  30678. }()
  30679. }, {
  30680. key: "validateAll",
  30681. value: function () {
  30682. var _validateAll = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(data, allData) {
  30683. var result;
  30684. return _regenerator.default.wrap(function _callee4$(_context4) {
  30685. while (1) {
  30686. switch (_context4.prev = _context4.next) {
  30687. case 0:
  30688. result = this._checkFieldInSchema(data);
  30689. if (result) {
  30690. _context4.next = 5;
  30691. break;
  30692. }
  30693. _context4.next = 4;
  30694. return this.invokeValidate(data, true, allData);
  30695. case 4:
  30696. result = _context4.sent;
  30697. case 5:
  30698. return _context4.abrupt("return", result);
  30699. case 6:
  30700. case "end":
  30701. return _context4.stop();
  30702. }
  30703. }
  30704. }, _callee4, this);
  30705. }));
  30706. function validateAll(_x13, _x14) {
  30707. return _validateAll.apply(this, arguments);
  30708. }
  30709. return validateAll;
  30710. }()
  30711. }, {
  30712. key: "validateUpdate",
  30713. value: function () {
  30714. var _validateUpdate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(data, allData) {
  30715. var result;
  30716. return _regenerator.default.wrap(function _callee5$(_context5) {
  30717. while (1) {
  30718. switch (_context5.prev = _context5.next) {
  30719. case 0:
  30720. result = this._checkFieldInSchema(data);
  30721. if (result) {
  30722. _context5.next = 5;
  30723. break;
  30724. }
  30725. _context5.next = 4;
  30726. return this.invokeValidateUpdate(data, false, allData);
  30727. case 4:
  30728. result = _context5.sent;
  30729. case 5:
  30730. return _context5.abrupt("return", result.length ? result[0] : null);
  30731. case 6:
  30732. case "end":
  30733. return _context5.stop();
  30734. }
  30735. }
  30736. }, _callee5, this);
  30737. }));
  30738. function validateUpdate(_x15, _x16) {
  30739. return _validateUpdate.apply(this, arguments);
  30740. }
  30741. return validateUpdate;
  30742. }()
  30743. }, {
  30744. key: "invokeValidate",
  30745. value: function () {
  30746. var _invokeValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(data, all, allData) {
  30747. var result, schema, key, value, errorMessage;
  30748. return _regenerator.default.wrap(function _callee6$(_context6) {
  30749. while (1) {
  30750. switch (_context6.prev = _context6.next) {
  30751. case 0:
  30752. result = [];
  30753. schema = this._schema;
  30754. _context6.t0 = _regenerator.default.keys(schema);
  30755. case 3:
  30756. if ((_context6.t1 = _context6.t0()).done) {
  30757. _context6.next = 15;
  30758. break;
  30759. }
  30760. key = _context6.t1.value;
  30761. value = schema[key];
  30762. _context6.next = 8;
  30763. return this.validateRule(key, value, data[key], data, allData);
  30764. case 8:
  30765. errorMessage = _context6.sent;
  30766. if (!(errorMessage != null)) {
  30767. _context6.next = 13;
  30768. break;
  30769. }
  30770. result.push({
  30771. key: key,
  30772. errorMessage: errorMessage
  30773. });
  30774. if (all) {
  30775. _context6.next = 13;
  30776. break;
  30777. }
  30778. return _context6.abrupt("break", 15);
  30779. case 13:
  30780. _context6.next = 3;
  30781. break;
  30782. case 15:
  30783. return _context6.abrupt("return", result);
  30784. case 16:
  30785. case "end":
  30786. return _context6.stop();
  30787. }
  30788. }
  30789. }, _callee6, this);
  30790. }));
  30791. function invokeValidate(_x17, _x18, _x19) {
  30792. return _invokeValidate.apply(this, arguments);
  30793. }
  30794. return invokeValidate;
  30795. }()
  30796. }, {
  30797. key: "invokeValidateUpdate",
  30798. value: function () {
  30799. var _invokeValidateUpdate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(data, all, allData) {
  30800. var result, key, errorMessage;
  30801. return _regenerator.default.wrap(function _callee7$(_context7) {
  30802. while (1) {
  30803. switch (_context7.prev = _context7.next) {
  30804. case 0:
  30805. result = [];
  30806. _context7.t0 = _regenerator.default.keys(data);
  30807. case 2:
  30808. if ((_context7.t1 = _context7.t0()).done) {
  30809. _context7.next = 13;
  30810. break;
  30811. }
  30812. key = _context7.t1.value;
  30813. _context7.next = 6;
  30814. return this.validateRule(key, this._schema[key], data[key], data, allData);
  30815. case 6:
  30816. errorMessage = _context7.sent;
  30817. if (!(errorMessage != null)) {
  30818. _context7.next = 11;
  30819. break;
  30820. }
  30821. result.push({
  30822. key: key,
  30823. errorMessage: errorMessage
  30824. });
  30825. if (all) {
  30826. _context7.next = 11;
  30827. break;
  30828. }
  30829. return _context7.abrupt("break", 13);
  30830. case 11:
  30831. _context7.next = 2;
  30832. break;
  30833. case 13:
  30834. return _context7.abrupt("return", result);
  30835. case 14:
  30836. case "end":
  30837. return _context7.stop();
  30838. }
  30839. }
  30840. }, _callee7, this);
  30841. }));
  30842. function invokeValidateUpdate(_x20, _x21, _x22) {
  30843. return _invokeValidateUpdate.apply(this, arguments);
  30844. }
  30845. return invokeValidateUpdate;
  30846. }()
  30847. }, {
  30848. key: "_checkFieldInSchema",
  30849. value: function _checkFieldInSchema(data) {
  30850. var keys = Object.keys(data);
  30851. var keys2 = Object.keys(this._schema);
  30852. if (new Set(keys.concat(keys2)).size === keys2.length) {
  30853. return '';
  30854. }
  30855. var noExistFields = keys.filter(function (key) {
  30856. return keys2.indexOf(key) < 0;
  30857. });
  30858. var errorMessage = formatMessage({
  30859. field: JSON.stringify(noExistFields)
  30860. }, SchemaValidator.message.TAG + SchemaValidator.message['defaultInvalid']);
  30861. return [{
  30862. key: 'invalid',
  30863. errorMessage: errorMessage
  30864. }];
  30865. }
  30866. }]);
  30867. return SchemaValidator;
  30868. }(RuleValidator);
  30869. function Message() {
  30870. return {
  30871. TAG: "",
  30872. default: '验证错误',
  30873. defaultInvalid: '提交的字段{field}在数据库中并不存在',
  30874. validateFunction: '验证无效',
  30875. required: '{label}必填',
  30876. 'enum': '{label}超出范围',
  30877. timestamp: '{label}格式无效',
  30878. whitespace: '{label}不能为空',
  30879. typeError: '{label}类型无效',
  30880. date: {
  30881. format: '{label}日期{value}格式无效',
  30882. parse: '{label}日期无法解析,{value}无效',
  30883. invalid: '{label}日期{value}无效'
  30884. },
  30885. length: {
  30886. minLength: '{label}长度不能少于{minLength}',
  30887. maxLength: '{label}长度不能超过{maxLength}',
  30888. range: '{label}必须介于{minLength}和{maxLength}之间'
  30889. },
  30890. number: {
  30891. minimum: '{label}不能小于{minimum}',
  30892. maximum: '{label}不能大于{maximum}',
  30893. exclusiveMinimum: '{label}不能小于等于{minimum}',
  30894. exclusiveMaximum: '{label}不能大于等于{maximum}',
  30895. range: '{label}必须介于{minimum}and{maximum}之间'
  30896. },
  30897. pattern: {
  30898. mismatch: '{label}格式不匹配'
  30899. }
  30900. };
  30901. }
  30902. SchemaValidator.message = new Message();
  30903. var _default = SchemaValidator;
  30904. exports.default = _default;
  30905. /***/ }),
  30906. /* 483 */
  30907. /*!*********************************************************!*\
  30908. !*** ./node_modules/@babel/runtime/helpers/inherits.js ***!
  30909. \*********************************************************/
  30910. /*! no static exports found */
  30911. /***/ (function(module, exports, __webpack_require__) {
  30912. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  30913. function _inherits(subClass, superClass) {
  30914. if (typeof superClass !== "function" && superClass !== null) {
  30915. throw new TypeError("Super expression must either be null or a function");
  30916. }
  30917. subClass.prototype = Object.create(superClass && superClass.prototype, {
  30918. constructor: {
  30919. value: subClass,
  30920. writable: true,
  30921. configurable: true
  30922. }
  30923. });
  30924. Object.defineProperty(subClass, "prototype", {
  30925. writable: false
  30926. });
  30927. if (superClass) setPrototypeOf(subClass, superClass);
  30928. }
  30929. module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
  30930. /***/ }),
  30931. /* 484 */
  30932. /*!**************************************************************************!*\
  30933. !*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
  30934. \**************************************************************************/
  30935. /*! no static exports found */
  30936. /***/ (function(module, exports, __webpack_require__) {
  30937. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  30938. var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ 485);
  30939. function _possibleConstructorReturn(self, call) {
  30940. if (call && (_typeof(call) === "object" || typeof call === "function")) {
  30941. return call;
  30942. } else if (call !== void 0) {
  30943. throw new TypeError("Derived constructors may only return object or undefined");
  30944. }
  30945. return assertThisInitialized(self);
  30946. }
  30947. module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
  30948. /***/ }),
  30949. /* 485 */
  30950. /*!**********************************************************************!*\
  30951. !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
  30952. \**********************************************************************/
  30953. /*! no static exports found */
  30954. /***/ (function(module, exports) {
  30955. function _assertThisInitialized(self) {
  30956. if (self === void 0) {
  30957. throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  30958. }
  30959. return self;
  30960. }
  30961. module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
  30962. /***/ }),
  30963. /* 486 */
  30964. /*!***************************************************************!*\
  30965. !*** ./node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
  30966. \***************************************************************/
  30967. /*! no static exports found */
  30968. /***/ (function(module, exports) {
  30969. function _getPrototypeOf(o) {
  30970. module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
  30971. return o.__proto__ || Object.getPrototypeOf(o);
  30972. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  30973. return _getPrototypeOf(o);
  30974. }
  30975. module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  30976. /***/ }),
  30977. /* 487 */
  30978. /*!******************************************************************************************!*\
  30979. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-forms/components/uni-forms/utils.js ***!
  30980. \******************************************************************************************/
  30981. /*! no static exports found */
  30982. /***/ (function(module, exports, __webpack_require__) {
  30983. "use strict";
  30984. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  30985. Object.defineProperty(exports, "__esModule", {
  30986. value: true
  30987. });
  30988. exports.typeFilter = exports.type = exports.setDataValue = exports.realName = exports.rawData = exports.objSet = exports.objGet = exports.name2arr = exports.isRequiredField = exports.isRealName = exports.isNumber = exports.isEqual = exports.isBoolean = exports.getValue = exports.getDataValueType = exports.getDataValue = exports.deepCopy = void 0;
  30989. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  30990. /**
  30991. * 简单处理对象拷贝
  30992. * @param {Obejct} 被拷贝对象
  30993. * @@return {Object} 拷贝对象
  30994. */
  30995. var deepCopy = function deepCopy(val) {
  30996. return JSON.parse(JSON.stringify(val));
  30997. };
  30998. /**
  30999. * 过滤数字类型
  31000. * @param {String} format 数字类型
  31001. * @@return {Boolean} 返回是否为数字类型
  31002. */
  31003. exports.deepCopy = deepCopy;
  31004. var typeFilter = function typeFilter(format) {
  31005. return format === 'int' || format === 'double' || format === 'number' || format === 'timestamp';
  31006. };
  31007. /**
  31008. * 把 value 转换成指定的类型,用于处理初始值,原因是初始值需要入库不能为 undefined
  31009. * @param {String} key 字段名
  31010. * @param {any} value 字段值
  31011. * @param {Object} rules 表单校验规则
  31012. */
  31013. exports.typeFilter = typeFilter;
  31014. var getValue = function getValue(key, value, rules) {
  31015. var isRuleNumType = rules.find(function (val) {
  31016. return val.format && typeFilter(val.format);
  31017. });
  31018. var isRuleBoolType = rules.find(function (val) {
  31019. return val.format && val.format === 'boolean' || val.format === 'bool';
  31020. });
  31021. // 输入类型为 number
  31022. if (!!isRuleNumType) {
  31023. if (!value && value !== 0) {
  31024. value = null;
  31025. } else {
  31026. value = isNumber(Number(value)) ? Number(value) : value;
  31027. }
  31028. }
  31029. // 输入类型为 boolean
  31030. if (!!isRuleBoolType) {
  31031. value = isBoolean(value) ? value : false;
  31032. }
  31033. return value;
  31034. };
  31035. /**
  31036. * 获取表单数据
  31037. * @param {String|Array} name 真实名称,需要使用 realName 获取
  31038. * @param {Object} data 原始数据
  31039. * @param {any} value 需要设置的值
  31040. */
  31041. exports.getValue = getValue;
  31042. var setDataValue = function setDataValue(field, formdata, value) {
  31043. formdata[field] = value;
  31044. return value || '';
  31045. };
  31046. /**
  31047. * 获取表单数据
  31048. * @param {String|Array} field 真实名称,需要使用 realName 获取
  31049. * @param {Object} data 原始数据
  31050. */
  31051. exports.setDataValue = setDataValue;
  31052. var getDataValue = function getDataValue(field, data) {
  31053. return objGet(data, field);
  31054. };
  31055. /**
  31056. * 获取表单类型
  31057. * @param {String|Array} field 真实名称,需要使用 realName 获取
  31058. */
  31059. exports.getDataValue = getDataValue;
  31060. var getDataValueType = function getDataValueType(field, data) {
  31061. var value = getDataValue(field, data);
  31062. return {
  31063. type: type(value),
  31064. value: value
  31065. };
  31066. };
  31067. /**
  31068. * 获取表单可用的真实name
  31069. * @param {String|Array} name 表单name
  31070. * @@return {String} 表单可用的真实name
  31071. */
  31072. exports.getDataValueType = getDataValueType;
  31073. var realName = function realName(name) {
  31074. var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  31075. var base_name = _basePath(name);
  31076. if ((0, _typeof2.default)(base_name) === 'object' && Array.isArray(base_name) && base_name.length > 1) {
  31077. var realname = base_name.reduce(function (a, b) {
  31078. return a += "#".concat(b);
  31079. }, '_formdata_');
  31080. return realname;
  31081. }
  31082. return base_name[0] || name;
  31083. };
  31084. /**
  31085. * 判断是否表单可用的真实name
  31086. * @param {String|Array} name 表单name
  31087. * @@return {String} 表单可用的真实name
  31088. */
  31089. exports.realName = realName;
  31090. var isRealName = function isRealName(name) {
  31091. var reg = /^_formdata_#*/;
  31092. return reg.test(name);
  31093. };
  31094. /**
  31095. * 获取表单数据的原始格式
  31096. * @@return {Object|Array} object 需要解析的数据
  31097. */
  31098. exports.isRealName = isRealName;
  31099. var rawData = function rawData() {
  31100. var object = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  31101. var name = arguments.length > 1 ? arguments[1] : undefined;
  31102. var newData = JSON.parse(JSON.stringify(object));
  31103. var formData = {};
  31104. for (var i in newData) {
  31105. var path = name2arr(i);
  31106. objSet(formData, path, newData[i]);
  31107. }
  31108. return formData;
  31109. };
  31110. /**
  31111. * 真实name还原为 array
  31112. * @param {*} name
  31113. */
  31114. exports.rawData = rawData;
  31115. var name2arr = function name2arr(name) {
  31116. var field = name.replace('_formdata_#', '');
  31117. field = field.split('#').map(function (v) {
  31118. return isNumber(v) ? Number(v) : v;
  31119. });
  31120. return field;
  31121. };
  31122. /**
  31123. * 对象中设置值
  31124. * @param {Object|Array} object 源数据
  31125. * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c']
  31126. * @param {String} value 需要设置的值
  31127. */
  31128. exports.name2arr = name2arr;
  31129. var objSet = function objSet(object, path, value) {
  31130. if ((0, _typeof2.default)(object) !== 'object') return object;
  31131. _basePath(path).reduce(function (o, k, i, _) {
  31132. if (i === _.length - 1) {
  31133. // 若遍历结束直接赋值
  31134. o[k] = value;
  31135. return null;
  31136. } else if (k in o) {
  31137. // 若存在对应路径,则返回找到的对象,进行下一次遍历
  31138. return o[k];
  31139. } else {
  31140. // 若不存在对应路径,则创建对应对象,若下一路径是数字,新对象赋值为空数组,否则赋值为空对象
  31141. o[k] = /^[0-9]{1,}$/.test(_[i + 1]) ? [] : {};
  31142. return o[k];
  31143. }
  31144. }, object);
  31145. // 返回object
  31146. return object;
  31147. };
  31148. // 处理 path, path有三种形式:'a[0].b.c'、'a.0.b.c' 和 ['a','0','b','c'],需要统一处理成数组,便于后续使用
  31149. exports.objSet = objSet;
  31150. function _basePath(path) {
  31151. // 若是数组,则直接返回
  31152. if (Array.isArray(path)) return path;
  31153. // 若有 '[',']',则替换成将 '[' 替换成 '.',去掉 ']'
  31154. return path.replace(/\[/g, '.').replace(/\]/g, '').split('.');
  31155. }
  31156. /**
  31157. * 从对象中获取值
  31158. * @param {Object|Array} object 源数据
  31159. * @param {String| Array} path 'a.b.c' 或 ['a',0,'b','c']
  31160. * @param {String} defaultVal 如果无法从调用链中获取值的默认值
  31161. */
  31162. var objGet = function objGet(object, path) {
  31163. var defaultVal = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'undefined';
  31164. // 先将path处理成统一格式
  31165. var newPath = _basePath(path);
  31166. // 递归处理,返回最后结果
  31167. var val = newPath.reduce(function (o, k) {
  31168. return (o || {})[k];
  31169. }, object);
  31170. return !val || val !== undefined ? val : defaultVal;
  31171. };
  31172. /**
  31173. * 是否为 number 类型
  31174. * @param {any} num 需要判断的值
  31175. * @return {Boolean} 是否为 number
  31176. */
  31177. exports.objGet = objGet;
  31178. var isNumber = function isNumber(num) {
  31179. return !isNaN(Number(num));
  31180. };
  31181. /**
  31182. * 是否为 boolean 类型
  31183. * @param {any} bool 需要判断的值
  31184. * @return {Boolean} 是否为 boolean
  31185. */
  31186. exports.isNumber = isNumber;
  31187. var isBoolean = function isBoolean(bool) {
  31188. return typeof bool === 'boolean';
  31189. };
  31190. /**
  31191. * 是否有必填字段
  31192. * @param {Object} rules 规则
  31193. * @return {Boolean} 是否有必填字段
  31194. */
  31195. exports.isBoolean = isBoolean;
  31196. var isRequiredField = function isRequiredField(rules) {
  31197. var isNoField = false;
  31198. for (var i = 0; i < rules.length; i++) {
  31199. var ruleData = rules[i];
  31200. if (ruleData.required) {
  31201. isNoField = true;
  31202. break;
  31203. }
  31204. }
  31205. return isNoField;
  31206. };
  31207. /**
  31208. * 获取数据类型
  31209. * @param {Any} obj 需要获取数据类型的值
  31210. */
  31211. exports.isRequiredField = isRequiredField;
  31212. var type = function type(obj) {
  31213. var class2type = {};
  31214. // 生成class2type映射
  31215. "Boolean Number String Function Array Date RegExp Object Error".split(" ").map(function (item, index) {
  31216. class2type["[object " + item + "]"] = item.toLowerCase();
  31217. });
  31218. if (obj == null) {
  31219. return obj + "";
  31220. }
  31221. return (0, _typeof2.default)(obj) === "object" || typeof obj === "function" ? class2type[Object.prototype.toString.call(obj)] || "object" : (0, _typeof2.default)(obj);
  31222. };
  31223. /**
  31224. * 判断两个值是否相等
  31225. * @param {any} a 值
  31226. * @param {any} b 值
  31227. * @return {Boolean} 是否相等
  31228. */
  31229. exports.type = type;
  31230. var isEqual = function isEqual(a, b) {
  31231. //如果a和b本来就全等
  31232. if (a === b) {
  31233. //判断是否为0和-0
  31234. return a !== 0 || 1 / a === 1 / b;
  31235. }
  31236. //判断是否为null和undefined
  31237. if (a == null || b == null) {
  31238. return a === b;
  31239. }
  31240. //接下来判断a和b的数据类型
  31241. var classNameA = toString.call(a),
  31242. classNameB = toString.call(b);
  31243. //如果数据类型不相等,则返回false
  31244. if (classNameA !== classNameB) {
  31245. return false;
  31246. }
  31247. //如果数据类型相等,再根据不同数据类型分别判断
  31248. switch (classNameA) {
  31249. case '[object RegExp]':
  31250. case '[object String]':
  31251. //进行字符串转换比较
  31252. return '' + a === '' + b;
  31253. case '[object Number]':
  31254. //进行数字转换比较,判断是否为NaN
  31255. if (+a !== +a) {
  31256. return +b !== +b;
  31257. }
  31258. //判断是否为0或-0
  31259. return +a === 0 ? 1 / +a === 1 / b : +a === +b;
  31260. case '[object Date]':
  31261. case '[object Boolean]':
  31262. return +a === +b;
  31263. }
  31264. //如果是对象类型
  31265. if (classNameA == '[object Object]') {
  31266. //获取a和b的属性长度
  31267. var propsA = Object.getOwnPropertyNames(a),
  31268. propsB = Object.getOwnPropertyNames(b);
  31269. if (propsA.length != propsB.length) {
  31270. return false;
  31271. }
  31272. for (var i = 0; i < propsA.length; i++) {
  31273. var propName = propsA[i];
  31274. //如果对应属性对应值不相等,则返回false
  31275. if (a[propName] !== b[propName]) {
  31276. return false;
  31277. }
  31278. }
  31279. return true;
  31280. }
  31281. //如果是数组类型
  31282. if (classNameA == '[object Array]') {
  31283. if (a.toString() == b.toString()) {
  31284. return true;
  31285. }
  31286. return false;
  31287. }
  31288. };
  31289. exports.isEqual = isEqual;
  31290. /***/ }),
  31291. /* 488 */,
  31292. /* 489 */,
  31293. /* 490 */,
  31294. /* 491 */,
  31295. /* 492 */,
  31296. /* 493 */,
  31297. /* 494 */,
  31298. /* 495 */,
  31299. /* 496 */,
  31300. /* 497 */,
  31301. /* 498 */,
  31302. /* 499 */,
  31303. /* 500 */,
  31304. /* 501 */,
  31305. /* 502 */,
  31306. /* 503 */,
  31307. /* 504 */,
  31308. /* 505 */,
  31309. /* 506 */,
  31310. /* 507 */,
  31311. /* 508 */,
  31312. /* 509 */
  31313. /*!************************************************************************************!*\
  31314. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/uni-cloud/dist/index.js ***!
  31315. \************************************************************************************/
  31316. /*! no static exports found */
  31317. /***/ (function(module, exports, __webpack_require__) {
  31318. "use strict";
  31319. /* WEBPACK VAR INJECTION */(function(global, uni, wx) {
  31320. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  31321. Object.defineProperty(exports, "__esModule", {
  31322. value: true
  31323. });
  31324. exports.default = void 0;
  31325. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30));
  31326. var _assertThisInitialized2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ 485));
  31327. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  31328. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  31329. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  31330. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32));
  31331. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  31332. var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ 483));
  31333. var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ 484));
  31334. var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ 486));
  31335. var _wrapNativeSuper2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/wrapNativeSuper */ 510));
  31336. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  31337. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  31338. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  31339. var _pages = _interopRequireDefault(__webpack_require__(/*! @/pages.json */ 512));
  31340. function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e35) { throw _e35; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e36) { didErr = true; err = _e36; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
  31341. 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); }
  31342. 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; }
  31343. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  31344. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  31345. function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
  31346. function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
  31347. "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self && self;
  31348. function n(e) {
  31349. return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
  31350. }
  31351. function s(e, t, n) {
  31352. return e(n = {
  31353. path: t,
  31354. exports: {},
  31355. require: function require(e, t) {
  31356. return function () {
  31357. throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
  31358. }(null == t && n.path);
  31359. }
  31360. }, n.exports), n.exports;
  31361. }
  31362. var r = s(function (e, t) {
  31363. var n;
  31364. e.exports = (n = n || function (e, t) {
  31365. var n = Object.create || function () {
  31366. function e() {}
  31367. return function (t) {
  31368. var n;
  31369. return e.prototype = t, n = new e(), e.prototype = null, n;
  31370. };
  31371. }(),
  31372. s = {},
  31373. r = s.lib = {},
  31374. i = r.Base = {
  31375. extend: function extend(e) {
  31376. var t = n(this);
  31377. return e && t.mixIn(e), t.hasOwnProperty("init") && this.init !== t.init || (t.init = function () {
  31378. t.$super.init.apply(this, arguments);
  31379. }), t.init.prototype = t, t.$super = this, t;
  31380. },
  31381. create: function create() {
  31382. var e = this.extend();
  31383. return e.init.apply(e, arguments), e;
  31384. },
  31385. init: function init() {},
  31386. mixIn: function mixIn(e) {
  31387. for (var t in e) {
  31388. e.hasOwnProperty(t) && (this[t] = e[t]);
  31389. }
  31390. e.hasOwnProperty("toString") && (this.toString = e.toString);
  31391. },
  31392. clone: function clone() {
  31393. return this.init.prototype.extend(this);
  31394. }
  31395. },
  31396. o = r.WordArray = i.extend({
  31397. init: function init(e, n) {
  31398. e = this.words = e || [], this.sigBytes = n != t ? n : 4 * e.length;
  31399. },
  31400. toString: function toString(e) {
  31401. return (e || c).stringify(this);
  31402. },
  31403. concat: function concat(e) {
  31404. var t = this.words,
  31405. n = e.words,
  31406. s = this.sigBytes,
  31407. r = e.sigBytes;
  31408. if (this.clamp(), s % 4) for (var i = 0; i < r; i++) {
  31409. var o = n[i >>> 2] >>> 24 - i % 4 * 8 & 255;
  31410. t[s + i >>> 2] |= o << 24 - (s + i) % 4 * 8;
  31411. } else for (i = 0; i < r; i += 4) {
  31412. t[s + i >>> 2] = n[i >>> 2];
  31413. }
  31414. return this.sigBytes += r, this;
  31415. },
  31416. clamp: function clamp() {
  31417. var t = this.words,
  31418. n = this.sigBytes;
  31419. t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8, t.length = e.ceil(n / 4);
  31420. },
  31421. clone: function clone() {
  31422. var e = i.clone.call(this);
  31423. return e.words = this.words.slice(0), e;
  31424. },
  31425. random: function random(t) {
  31426. for (var n, s = [], r = function r(t) {
  31427. t = t;
  31428. var n = 987654321,
  31429. s = 4294967295;
  31430. return function () {
  31431. var r = ((n = 36969 * (65535 & n) + (n >> 16) & s) << 16) + (t = 18e3 * (65535 & t) + (t >> 16) & s) & s;
  31432. return r /= 4294967296, (r += .5) * (e.random() > .5 ? 1 : -1);
  31433. };
  31434. }, i = 0; i < t; i += 4) {
  31435. var a = r(4294967296 * (n || e.random()));
  31436. n = 987654071 * a(), s.push(4294967296 * a() | 0);
  31437. }
  31438. return new o.init(s, t);
  31439. }
  31440. }),
  31441. a = s.enc = {},
  31442. c = a.Hex = {
  31443. stringify: function stringify(e) {
  31444. for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) {
  31445. var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255;
  31446. s.push((i >>> 4).toString(16)), s.push((15 & i).toString(16));
  31447. }
  31448. return s.join("");
  31449. },
  31450. parse: function parse(e) {
  31451. for (var t = e.length, n = [], s = 0; s < t; s += 2) {
  31452. n[s >>> 3] |= parseInt(e.substr(s, 2), 16) << 24 - s % 8 * 4;
  31453. }
  31454. return new o.init(n, t / 2);
  31455. }
  31456. },
  31457. u = a.Latin1 = {
  31458. stringify: function stringify(e) {
  31459. for (var t = e.words, n = e.sigBytes, s = [], r = 0; r < n; r++) {
  31460. var i = t[r >>> 2] >>> 24 - r % 4 * 8 & 255;
  31461. s.push(String.fromCharCode(i));
  31462. }
  31463. return s.join("");
  31464. },
  31465. parse: function parse(e) {
  31466. for (var t = e.length, n = [], s = 0; s < t; s++) {
  31467. n[s >>> 2] |= (255 & e.charCodeAt(s)) << 24 - s % 4 * 8;
  31468. }
  31469. return new o.init(n, t);
  31470. }
  31471. },
  31472. h = a.Utf8 = {
  31473. stringify: function stringify(e) {
  31474. try {
  31475. return decodeURIComponent(escape(u.stringify(e)));
  31476. } catch (e) {
  31477. throw new Error("Malformed UTF-8 data");
  31478. }
  31479. },
  31480. parse: function parse(e) {
  31481. return u.parse(unescape(encodeURIComponent(e)));
  31482. }
  31483. },
  31484. l = r.BufferedBlockAlgorithm = i.extend({
  31485. reset: function reset() {
  31486. this._data = new o.init(), this._nDataBytes = 0;
  31487. },
  31488. _append: function _append(e) {
  31489. "string" == typeof e && (e = h.parse(e)), this._data.concat(e), this._nDataBytes += e.sigBytes;
  31490. },
  31491. _process: function _process(t) {
  31492. var n = this._data,
  31493. s = n.words,
  31494. r = n.sigBytes,
  31495. i = this.blockSize,
  31496. a = r / (4 * i),
  31497. c = (a = t ? e.ceil(a) : e.max((0 | a) - this._minBufferSize, 0)) * i,
  31498. u = e.min(4 * c, r);
  31499. if (c) {
  31500. for (var h = 0; h < c; h += i) {
  31501. this._doProcessBlock(s, h);
  31502. }
  31503. var l = s.splice(0, c);
  31504. n.sigBytes -= u;
  31505. }
  31506. return new o.init(l, u);
  31507. },
  31508. clone: function clone() {
  31509. var e = i.clone.call(this);
  31510. return e._data = this._data.clone(), e;
  31511. },
  31512. _minBufferSize: 0
  31513. });
  31514. r.Hasher = l.extend({
  31515. cfg: i.extend(),
  31516. init: function init(e) {
  31517. this.cfg = this.cfg.extend(e), this.reset();
  31518. },
  31519. reset: function reset() {
  31520. l.reset.call(this), this._doReset();
  31521. },
  31522. update: function update(e) {
  31523. return this._append(e), this._process(), this;
  31524. },
  31525. finalize: function finalize(e) {
  31526. return e && this._append(e), this._doFinalize();
  31527. },
  31528. blockSize: 16,
  31529. _createHelper: function _createHelper(e) {
  31530. return function (t, n) {
  31531. return new e.init(n).finalize(t);
  31532. };
  31533. },
  31534. _createHmacHelper: function _createHmacHelper(e) {
  31535. return function (t, n) {
  31536. return new d.HMAC.init(e, n).finalize(t);
  31537. };
  31538. }
  31539. });
  31540. var d = s.algo = {};
  31541. return s;
  31542. }(Math), n);
  31543. }),
  31544. i = r,
  31545. o = (s(function (e, t) {
  31546. var n;
  31547. e.exports = (n = i, function (e) {
  31548. var t = n,
  31549. s = t.lib,
  31550. r = s.WordArray,
  31551. i = s.Hasher,
  31552. o = t.algo,
  31553. a = [];
  31554. !function () {
  31555. for (var t = 0; t < 64; t++) {
  31556. a[t] = 4294967296 * e.abs(e.sin(t + 1)) | 0;
  31557. }
  31558. }();
  31559. var c = o.MD5 = i.extend({
  31560. _doReset: function _doReset() {
  31561. this._hash = new r.init([1732584193, 4023233417, 2562383102, 271733878]);
  31562. },
  31563. _doProcessBlock: function _doProcessBlock(e, t) {
  31564. for (var n = 0; n < 16; n++) {
  31565. var s = t + n,
  31566. r = e[s];
  31567. e[s] = 16711935 & (r << 8 | r >>> 24) | 4278255360 & (r << 24 | r >>> 8);
  31568. }
  31569. var i = this._hash.words,
  31570. o = e[t + 0],
  31571. c = e[t + 1],
  31572. p = e[t + 2],
  31573. f = e[t + 3],
  31574. g = e[t + 4],
  31575. m = e[t + 5],
  31576. y = e[t + 6],
  31577. _ = e[t + 7],
  31578. w = e[t + 8],
  31579. v = e[t + 9],
  31580. I = e[t + 10],
  31581. S = e[t + 11],
  31582. b = e[t + 12],
  31583. k = e[t + 13],
  31584. C = e[t + 14],
  31585. T = e[t + 15],
  31586. P = i[0],
  31587. A = i[1],
  31588. E = i[2],
  31589. O = i[3];
  31590. P = u(P, A, E, O, o, 7, a[0]), O = u(O, P, A, E, c, 12, a[1]), E = u(E, O, P, A, p, 17, a[2]), A = u(A, E, O, P, f, 22, a[3]), P = u(P, A, E, O, g, 7, a[4]), O = u(O, P, A, E, m, 12, a[5]), E = u(E, O, P, A, y, 17, a[6]), A = u(A, E, O, P, _, 22, a[7]), P = u(P, A, E, O, w, 7, a[8]), O = u(O, P, A, E, v, 12, a[9]), E = u(E, O, P, A, I, 17, a[10]), A = u(A, E, O, P, S, 22, a[11]), P = u(P, A, E, O, b, 7, a[12]), O = u(O, P, A, E, k, 12, a[13]), E = u(E, O, P, A, C, 17, a[14]), P = h(P, A = u(A, E, O, P, T, 22, a[15]), E, O, c, 5, a[16]), O = h(O, P, A, E, y, 9, a[17]), E = h(E, O, P, A, S, 14, a[18]), A = h(A, E, O, P, o, 20, a[19]), P = h(P, A, E, O, m, 5, a[20]), O = h(O, P, A, E, I, 9, a[21]), E = h(E, O, P, A, T, 14, a[22]), A = h(A, E, O, P, g, 20, a[23]), P = h(P, A, E, O, v, 5, a[24]), O = h(O, P, A, E, C, 9, a[25]), E = h(E, O, P, A, f, 14, a[26]), A = h(A, E, O, P, w, 20, a[27]), P = h(P, A, E, O, k, 5, a[28]), O = h(O, P, A, E, p, 9, a[29]), E = h(E, O, P, A, _, 14, a[30]), P = l(P, A = h(A, E, O, P, b, 20, a[31]), E, O, m, 4, a[32]), O = l(O, P, A, E, w, 11, a[33]), E = l(E, O, P, A, S, 16, a[34]), A = l(A, E, O, P, C, 23, a[35]), P = l(P, A, E, O, c, 4, a[36]), O = l(O, P, A, E, g, 11, a[37]), E = l(E, O, P, A, _, 16, a[38]), A = l(A, E, O, P, I, 23, a[39]), P = l(P, A, E, O, k, 4, a[40]), O = l(O, P, A, E, o, 11, a[41]), E = l(E, O, P, A, f, 16, a[42]), A = l(A, E, O, P, y, 23, a[43]), P = l(P, A, E, O, v, 4, a[44]), O = l(O, P, A, E, b, 11, a[45]), E = l(E, O, P, A, T, 16, a[46]), P = d(P, A = l(A, E, O, P, p, 23, a[47]), E, O, o, 6, a[48]), O = d(O, P, A, E, _, 10, a[49]), E = d(E, O, P, A, C, 15, a[50]), A = d(A, E, O, P, m, 21, a[51]), P = d(P, A, E, O, b, 6, a[52]), O = d(O, P, A, E, f, 10, a[53]), E = d(E, O, P, A, I, 15, a[54]), A = d(A, E, O, P, c, 21, a[55]), P = d(P, A, E, O, w, 6, a[56]), O = d(O, P, A, E, T, 10, a[57]), E = d(E, O, P, A, y, 15, a[58]), A = d(A, E, O, P, k, 21, a[59]), P = d(P, A, E, O, g, 6, a[60]), O = d(O, P, A, E, S, 10, a[61]), E = d(E, O, P, A, p, 15, a[62]), A = d(A, E, O, P, v, 21, a[63]), i[0] = i[0] + P | 0, i[1] = i[1] + A | 0, i[2] = i[2] + E | 0, i[3] = i[3] + O | 0;
  31591. },
  31592. _doFinalize: function _doFinalize() {
  31593. var t = this._data,
  31594. n = t.words,
  31595. s = 8 * this._nDataBytes,
  31596. r = 8 * t.sigBytes;
  31597. n[r >>> 5] |= 128 << 24 - r % 32;
  31598. var i = e.floor(s / 4294967296),
  31599. o = s;
  31600. n[15 + (r + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8), n[14 + (r + 64 >>> 9 << 4)] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8), t.sigBytes = 4 * (n.length + 1), this._process();
  31601. for (var a = this._hash, c = a.words, u = 0; u < 4; u++) {
  31602. var h = c[u];
  31603. c[u] = 16711935 & (h << 8 | h >>> 24) | 4278255360 & (h << 24 | h >>> 8);
  31604. }
  31605. return a;
  31606. },
  31607. clone: function clone() {
  31608. var e = i.clone.call(this);
  31609. return e._hash = this._hash.clone(), e;
  31610. }
  31611. });
  31612. function u(e, t, n, s, r, i, o) {
  31613. var a = e + (t & n | ~t & s) + r + o;
  31614. return (a << i | a >>> 32 - i) + t;
  31615. }
  31616. function h(e, t, n, s, r, i, o) {
  31617. var a = e + (t & s | n & ~s) + r + o;
  31618. return (a << i | a >>> 32 - i) + t;
  31619. }
  31620. function l(e, t, n, s, r, i, o) {
  31621. var a = e + (t ^ n ^ s) + r + o;
  31622. return (a << i | a >>> 32 - i) + t;
  31623. }
  31624. function d(e, t, n, s, r, i, o) {
  31625. var a = e + (n ^ (t | ~s)) + r + o;
  31626. return (a << i | a >>> 32 - i) + t;
  31627. }
  31628. t.MD5 = i._createHelper(c), t.HmacMD5 = i._createHmacHelper(c);
  31629. }(Math), n.MD5);
  31630. }), s(function (e, t) {
  31631. var n;
  31632. e.exports = (n = i, void function () {
  31633. var e = n,
  31634. t = e.lib.Base,
  31635. s = e.enc.Utf8;
  31636. e.algo.HMAC = t.extend({
  31637. init: function init(e, t) {
  31638. e = this._hasher = new e.init(), "string" == typeof t && (t = s.parse(t));
  31639. var n = e.blockSize,
  31640. r = 4 * n;
  31641. t.sigBytes > r && (t = e.finalize(t)), t.clamp();
  31642. for (var i = this._oKey = t.clone(), o = this._iKey = t.clone(), a = i.words, c = o.words, u = 0; u < n; u++) {
  31643. a[u] ^= 1549556828, c[u] ^= 909522486;
  31644. }
  31645. i.sigBytes = o.sigBytes = r, this.reset();
  31646. },
  31647. reset: function reset() {
  31648. var e = this._hasher;
  31649. e.reset(), e.update(this._iKey);
  31650. },
  31651. update: function update(e) {
  31652. return this._hasher.update(e), this;
  31653. },
  31654. finalize: function finalize(e) {
  31655. var t = this._hasher,
  31656. n = t.finalize(e);
  31657. return t.reset(), t.finalize(this._oKey.clone().concat(n));
  31658. }
  31659. });
  31660. }());
  31661. }), s(function (e, t) {
  31662. e.exports = i.HmacMD5;
  31663. })),
  31664. a = s(function (e, t) {
  31665. e.exports = i.enc.Utf8;
  31666. }),
  31667. c = s(function (e, t) {
  31668. var n;
  31669. e.exports = (n = i, function () {
  31670. var e = n,
  31671. t = e.lib.WordArray;
  31672. function s(e, n, s) {
  31673. for (var r = [], i = 0, o = 0; o < n; o++) {
  31674. if (o % 4) {
  31675. var a = s[e.charCodeAt(o - 1)] << o % 4 * 2,
  31676. c = s[e.charCodeAt(o)] >>> 6 - o % 4 * 2;
  31677. r[i >>> 2] |= (a | c) << 24 - i % 4 * 8, i++;
  31678. }
  31679. }
  31680. return t.create(r, i);
  31681. }
  31682. e.enc.Base64 = {
  31683. stringify: function stringify(e) {
  31684. var t = e.words,
  31685. n = e.sigBytes,
  31686. s = this._map;
  31687. e.clamp();
  31688. for (var r = [], i = 0; i < n; i += 3) {
  31689. for (var o = (t[i >>> 2] >>> 24 - i % 4 * 8 & 255) << 16 | (t[i + 1 >>> 2] >>> 24 - (i + 1) % 4 * 8 & 255) << 8 | t[i + 2 >>> 2] >>> 24 - (i + 2) % 4 * 8 & 255, a = 0; a < 4 && i + .75 * a < n; a++) {
  31690. r.push(s.charAt(o >>> 6 * (3 - a) & 63));
  31691. }
  31692. }
  31693. var c = s.charAt(64);
  31694. if (c) for (; r.length % 4;) {
  31695. r.push(c);
  31696. }
  31697. return r.join("");
  31698. },
  31699. parse: function parse(e) {
  31700. var t = e.length,
  31701. n = this._map,
  31702. r = this._reverseMap;
  31703. if (!r) {
  31704. r = this._reverseMap = [];
  31705. for (var i = 0; i < n.length; i++) {
  31706. r[n.charCodeAt(i)] = i;
  31707. }
  31708. }
  31709. var o = n.charAt(64);
  31710. if (o) {
  31711. var a = e.indexOf(o);
  31712. -1 !== a && (t = a);
  31713. }
  31714. return s(e, t, r);
  31715. },
  31716. _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
  31717. };
  31718. }(), n.enc.Base64);
  31719. });
  31720. var u = "FUNCTION",
  31721. h = "OBJECT",
  31722. l = "CLIENT_DB",
  31723. d = "pending",
  31724. p = "fullfilled",
  31725. f = "rejected";
  31726. function g(e) {
  31727. return Object.prototype.toString.call(e).slice(8, -1).toLowerCase();
  31728. }
  31729. function m(e) {
  31730. return "object" === g(e);
  31731. }
  31732. function y(e) {
  31733. return "function" == typeof e;
  31734. }
  31735. function _(e) {
  31736. return function () {
  31737. try {
  31738. return e.apply(e, arguments);
  31739. } catch (e) {
  31740. console.error(e);
  31741. }
  31742. };
  31743. }
  31744. var w = "REJECTED",
  31745. v = "NOT_PENDING";
  31746. var I = /*#__PURE__*/function () {
  31747. function I() {
  31748. var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  31749. e = _ref.createPromise,
  31750. _ref$retryRule = _ref.retryRule,
  31751. t = _ref$retryRule === void 0 ? w : _ref$retryRule;
  31752. (0, _classCallCheck2.default)(this, I);
  31753. this.createPromise = e, this.status = null, this.promise = null, this.retryRule = t;
  31754. }
  31755. (0, _createClass2.default)(I, [{
  31756. key: "needRetry",
  31757. get: function get() {
  31758. if (!this.status) return !0;
  31759. switch (this.retryRule) {
  31760. case w:
  31761. return this.status === f;
  31762. case v:
  31763. return this.status !== d;
  31764. }
  31765. }
  31766. }, {
  31767. key: "exec",
  31768. value: function exec() {
  31769. var _this = this;
  31770. return this.needRetry ? (this.status = d, this.promise = this.createPromise().then(function (e) {
  31771. return _this.status = p, Promise.resolve(e);
  31772. }, function (e) {
  31773. return _this.status = f, Promise.reject(e);
  31774. }), this.promise) : this.promise;
  31775. }
  31776. }]);
  31777. return I;
  31778. }();
  31779. function S(e) {
  31780. return e && "string" == typeof e ? JSON.parse(e) : e;
  31781. }
  31782. var b = "development" === "development",
  31783. k = "mp-weixin",
  31784. C = "true" === undefined || !0 === undefined,
  31785. T = S([]),
  31786. P = "h5" === k ? "web" : "app-plus" === k ? "app" : k,
  31787. A = S(undefined),
  31788. E = S([]) || [],
  31789. O = true;
  31790. var x = "";
  31791. try {
  31792. x = (__webpack_require__(/*! uni-stat-config */ 513).default || __webpack_require__(/*! uni-stat-config */ 513)).appid;
  31793. } catch (e) {}
  31794. var R = {};
  31795. function U(e) {
  31796. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  31797. var n, s;
  31798. return n = R, s = e, Object.prototype.hasOwnProperty.call(n, s) || (R[e] = t), R[e];
  31799. }
  31800. "app" === P && (R = uni._globalUniCloudObj ? uni._globalUniCloudObj : uni._globalUniCloudObj = {});
  31801. var L = ["invoke", "success", "fail", "complete"],
  31802. N = U("_globalUniCloudInterceptor");
  31803. function D(e, t) {
  31804. N[e] || (N[e] = {}), m(t) && Object.keys(t).forEach(function (n) {
  31805. L.indexOf(n) > -1 && function (e, t, n) {
  31806. var s = N[e][t];
  31807. s || (s = N[e][t] = []), -1 === s.indexOf(n) && y(n) && s.push(n);
  31808. }(e, n, t[n]);
  31809. });
  31810. }
  31811. function F(e, t) {
  31812. N[e] || (N[e] = {}), m(t) ? Object.keys(t).forEach(function (n) {
  31813. L.indexOf(n) > -1 && function (e, t, n) {
  31814. var s = N[e][t];
  31815. if (!s) return;
  31816. var r = s.indexOf(n);
  31817. r > -1 && s.splice(r, 1);
  31818. }(e, n, t[n]);
  31819. }) : delete N[e];
  31820. }
  31821. function q(e, t) {
  31822. return e && 0 !== e.length ? e.reduce(function (e, n) {
  31823. return e.then(function () {
  31824. return n(t);
  31825. });
  31826. }, Promise.resolve()) : Promise.resolve();
  31827. }
  31828. function M(e, t) {
  31829. return N[e] && N[e][t] || [];
  31830. }
  31831. function K(e) {
  31832. D("callObject", e);
  31833. }
  31834. var j = U("_globalUniCloudListener"),
  31835. B = "response",
  31836. $ = "needLogin",
  31837. W = "refreshToken",
  31838. z = "clientdb",
  31839. J = "cloudfunction",
  31840. H = "cloudobject";
  31841. function G(e) {
  31842. return j[e] || (j[e] = []), j[e];
  31843. }
  31844. function V(e, t) {
  31845. var n = G(e);
  31846. n.includes(t) || n.push(t);
  31847. }
  31848. function Y(e, t) {
  31849. var n = G(e),
  31850. s = n.indexOf(t);
  31851. -1 !== s && n.splice(s, 1);
  31852. }
  31853. function Q(e, t) {
  31854. var n = G(e);
  31855. for (var _e2 = 0; _e2 < n.length; _e2++) {
  31856. (0, n[_e2])(t);
  31857. }
  31858. }
  31859. var X,
  31860. Z = !1;
  31861. function ee() {
  31862. return X || (X = new Promise(function (e) {
  31863. Z && e(), function t() {
  31864. if ("function" == typeof getCurrentPages) {
  31865. var _t2 = getCurrentPages();
  31866. _t2 && _t2[0] && (Z = !0, e());
  31867. }
  31868. Z || setTimeout(function () {
  31869. t();
  31870. }, 30);
  31871. }();
  31872. }), X);
  31873. }
  31874. function te(e) {
  31875. var t = {};
  31876. for (var _n2 in e) {
  31877. var _s2 = e[_n2];
  31878. y(_s2) && (t[_n2] = _(_s2));
  31879. }
  31880. return t;
  31881. }
  31882. var ne = /*#__PURE__*/function (_Error) {
  31883. (0, _inherits2.default)(ne, _Error);
  31884. var _super = _createSuper(ne);
  31885. function ne(e) {
  31886. var _this2;
  31887. (0, _classCallCheck2.default)(this, ne);
  31888. _this2 = _super.call(this, e.message), _this2.errMsg = e.message || e.errMsg || "unknown system error", _this2.code = _this2.errCode = e.code || e.errCode || "SYSTEM_ERROR", _this2.errSubject = _this2.subject = e.subject || e.errSubject, _this2.cause = e.cause, _this2.requestId = e.requestId;
  31889. return _this2;
  31890. }
  31891. (0, _createClass2.default)(ne, [{
  31892. key: "toJson",
  31893. value: function toJson() {
  31894. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  31895. if (!(e >= 10)) return e++, {
  31896. errCode: this.errCode,
  31897. errMsg: this.errMsg,
  31898. errSubject: this.errSubject,
  31899. cause: this.cause && this.cause.toJson ? this.cause.toJson(e) : this.cause
  31900. };
  31901. }
  31902. }]);
  31903. return ne;
  31904. }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
  31905. var se = {
  31906. request: function request(e) {
  31907. return uni.request(e);
  31908. },
  31909. uploadFile: function uploadFile(e) {
  31910. return uni.uploadFile(e);
  31911. },
  31912. setStorageSync: function setStorageSync(e, t) {
  31913. return uni.setStorageSync(e, t);
  31914. },
  31915. getStorageSync: function getStorageSync(e) {
  31916. return uni.getStorageSync(e);
  31917. },
  31918. removeStorageSync: function removeStorageSync(e) {
  31919. return uni.removeStorageSync(e);
  31920. },
  31921. clearStorageSync: function clearStorageSync() {
  31922. return uni.clearStorageSync();
  31923. }
  31924. };
  31925. function re() {
  31926. return {
  31927. token: se.getStorageSync("uni_id_token") || se.getStorageSync("uniIdToken"),
  31928. tokenExpired: se.getStorageSync("uni_id_token_expired")
  31929. };
  31930. }
  31931. function ie() {
  31932. var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  31933. e = _ref2.token,
  31934. t = _ref2.tokenExpired;
  31935. e && se.setStorageSync("uni_id_token", e), t && se.setStorageSync("uni_id_token_expired", t);
  31936. }
  31937. var oe, ae;
  31938. function ce() {
  31939. return oe || (oe = uni.getSystemInfoSync()), oe;
  31940. }
  31941. function ue() {
  31942. var e, t;
  31943. try {
  31944. if (uni.getLaunchOptionsSync) {
  31945. if (uni.getLaunchOptionsSync.toString().indexOf("not yet implemented") > -1) return;
  31946. var _uni$getLaunchOptions = uni.getLaunchOptionsSync(),
  31947. _n3 = _uni$getLaunchOptions.scene,
  31948. _s3 = _uni$getLaunchOptions.channel;
  31949. e = _s3, t = _n3;
  31950. }
  31951. } catch (e) {}
  31952. return {
  31953. channel: e,
  31954. scene: t
  31955. };
  31956. }
  31957. function he() {
  31958. var e = uni.getLocale && uni.getLocale() || "en";
  31959. if (ae) return _objectSpread(_objectSpread({}, ae), {}, {
  31960. locale: e,
  31961. LOCALE: e
  31962. });
  31963. var t = ce(),
  31964. n = t.deviceId,
  31965. s = t.osName,
  31966. r = t.uniPlatform,
  31967. i = t.appId,
  31968. o = ["pixelRatio", "brand", "model", "system", "language", "version", "platform", "host", "SDKVersion", "swanNativeVersion", "app", "AppPlatform", "fontSizeSetting"];
  31969. for (var _e3 = 0; _e3 < o.length; _e3++) {
  31970. delete t[o[_e3]];
  31971. }
  31972. return ae = _objectSpread(_objectSpread({
  31973. PLATFORM: r,
  31974. OS: s,
  31975. APPID: i,
  31976. DEVICEID: n
  31977. }, ue()), t), _objectSpread(_objectSpread({}, ae), {}, {
  31978. locale: e,
  31979. LOCALE: e
  31980. });
  31981. }
  31982. var le = {
  31983. sign: function sign(e, t) {
  31984. var n = "";
  31985. return Object.keys(e).sort().forEach(function (t) {
  31986. e[t] && (n = n + "&" + t + "=" + e[t]);
  31987. }), n = n.slice(1), o(n, t).toString();
  31988. },
  31989. wrappedRequest: function wrappedRequest(e, t) {
  31990. return new Promise(function (n, s) {
  31991. t(Object.assign(e, {
  31992. complete: function complete(e) {
  31993. e || (e = {}), b && "web" === P && e.errMsg && 0 === e.errMsg.indexOf("request:fail") && console.warn("发布H5,需要在uniCloud后台操作,绑定安全域名,否则会因为跨域问题而无法访问。教程参考:https://uniapp.dcloud.io/uniCloud/quickstart?id=useinh5");
  31994. var t = e.data && e.data.header && e.data.header["x-serverless-request-id"] || e.header && e.header["request-id"];
  31995. if (!e.statusCode || e.statusCode >= 400) return s(new ne({
  31996. code: "SYS_ERR",
  31997. message: e.errMsg || "request:fail",
  31998. requestId: t
  31999. }));
  32000. var r = e.data;
  32001. if (r.error) return s(new ne({
  32002. code: r.error.code,
  32003. message: r.error.message,
  32004. requestId: t
  32005. }));
  32006. r.result = r.data, r.requestId = t, delete r.data, n(r);
  32007. }
  32008. }));
  32009. });
  32010. },
  32011. toBase64: function toBase64(e) {
  32012. return c.stringify(a.parse(e));
  32013. }
  32014. },
  32015. de = {
  32016. "uniCloud.init.paramRequired": "{param} required",
  32017. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  32018. };
  32019. var _e4 = (0, _uniI18n.initVueI18n)({
  32020. "zh-Hans": {
  32021. "uniCloud.init.paramRequired": "缺少参数:{param}",
  32022. "uniCloud.uploadFile.fileError": "filePath应为File对象"
  32023. },
  32024. "zh-Hant": {
  32025. "uniCloud.init.paramRequired": "缺少参数:{param}",
  32026. "uniCloud.uploadFile.fileError": "filePath应为File对象"
  32027. },
  32028. en: de,
  32029. fr: {
  32030. "uniCloud.init.paramRequired": "{param} required",
  32031. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  32032. },
  32033. es: {
  32034. "uniCloud.init.paramRequired": "{param} required",
  32035. "uniCloud.uploadFile.fileError": "filePath should be instance of File"
  32036. },
  32037. ja: de
  32038. }, "zh-Hans"),
  32039. pe = _e4.t;
  32040. var fe = /*#__PURE__*/function () {
  32041. function fe(e) {
  32042. var _this3 = this;
  32043. (0, _classCallCheck2.default)(this, fe);
  32044. ["spaceId", "clientSecret"].forEach(function (t) {
  32045. if (!Object.prototype.hasOwnProperty.call(e, t)) throw new Error(pe("uniCloud.init.paramRequired", {
  32046. param: t
  32047. }));
  32048. }), this.config = Object.assign({}, {
  32049. endpoint: 0 === e.spaceId.indexOf("mp-") ? "https://api.next.bspapp.com" : "https://api.bspapp.com"
  32050. }, e), this.config.provider = "aliyun", this.config.requestUrl = this.config.endpoint + "/client", this.config.envType = this.config.envType || "public", this.config.accessTokenKey = "access_token_" + this.config.spaceId, this.adapter = se, this._getAccessTokenPromiseHub = new I({
  32051. createPromise: function createPromise() {
  32052. return _this3.requestAuth(_this3.setupRequest({
  32053. method: "serverless.auth.user.anonymousAuthorize",
  32054. params: "{}"
  32055. }, "auth")).then(function (e) {
  32056. if (!e.result || !e.result.accessToken) throw new ne({
  32057. code: "AUTH_FAILED",
  32058. message: "获取accessToken失败"
  32059. });
  32060. _this3.setAccessToken(e.result.accessToken);
  32061. });
  32062. },
  32063. retryRule: v
  32064. });
  32065. }
  32066. (0, _createClass2.default)(fe, [{
  32067. key: "hasAccessToken",
  32068. get: function get() {
  32069. return !!this.accessToken;
  32070. }
  32071. }, {
  32072. key: "setAccessToken",
  32073. value: function setAccessToken(e) {
  32074. this.accessToken = e;
  32075. }
  32076. }, {
  32077. key: "requestWrapped",
  32078. value: function requestWrapped(e) {
  32079. return le.wrappedRequest(e, this.adapter.request);
  32080. }
  32081. }, {
  32082. key: "requestAuth",
  32083. value: function requestAuth(e) {
  32084. return this.requestWrapped(e);
  32085. }
  32086. }, {
  32087. key: "request",
  32088. value: function request(e, t) {
  32089. var _this4 = this;
  32090. return Promise.resolve().then(function () {
  32091. return _this4.hasAccessToken ? t ? _this4.requestWrapped(e) : _this4.requestWrapped(e).catch(function (t) {
  32092. return new Promise(function (e, n) {
  32093. !t || "GATEWAY_INVALID_TOKEN" !== t.code && "InvalidParameter.InvalidToken" !== t.code ? n(t) : e();
  32094. }).then(function () {
  32095. return _this4.getAccessToken();
  32096. }).then(function () {
  32097. var t = _this4.rebuildRequest(e);
  32098. return _this4.request(t, !0);
  32099. });
  32100. }) : _this4.getAccessToken().then(function () {
  32101. var t = _this4.rebuildRequest(e);
  32102. return _this4.request(t, !0);
  32103. });
  32104. });
  32105. }
  32106. }, {
  32107. key: "rebuildRequest",
  32108. value: function rebuildRequest(e) {
  32109. var t = Object.assign({}, e);
  32110. return t.data.token = this.accessToken, t.header["x-basement-token"] = this.accessToken, t.header["x-serverless-sign"] = le.sign(t.data, this.config.clientSecret), t;
  32111. }
  32112. }, {
  32113. key: "setupRequest",
  32114. value: function setupRequest(e, t) {
  32115. var n = Object.assign({}, e, {
  32116. spaceId: this.config.spaceId,
  32117. timestamp: Date.now()
  32118. }),
  32119. s = {
  32120. "Content-Type": "application/json"
  32121. };
  32122. return "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = le.sign(n, this.config.clientSecret), {
  32123. url: this.config.requestUrl,
  32124. method: "POST",
  32125. data: n,
  32126. dataType: "json",
  32127. header: s
  32128. };
  32129. }
  32130. }, {
  32131. key: "getAccessToken",
  32132. value: function getAccessToken() {
  32133. return this._getAccessTokenPromiseHub.exec();
  32134. }
  32135. }, {
  32136. key: "authorize",
  32137. value: function () {
  32138. var _authorize = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  32139. return _regenerator.default.wrap(function _callee$(_context) {
  32140. while (1) {
  32141. switch (_context.prev = _context.next) {
  32142. case 0:
  32143. _context.next = 2;
  32144. return this.getAccessToken();
  32145. case 2:
  32146. case "end":
  32147. return _context.stop();
  32148. }
  32149. }
  32150. }, _callee, this);
  32151. }));
  32152. function authorize() {
  32153. return _authorize.apply(this, arguments);
  32154. }
  32155. return authorize;
  32156. }()
  32157. }, {
  32158. key: "callFunction",
  32159. value: function callFunction(e) {
  32160. var t = {
  32161. method: "serverless.function.runtime.invoke",
  32162. params: JSON.stringify({
  32163. functionTarget: e.name,
  32164. functionArgs: e.data || {}
  32165. })
  32166. };
  32167. return this.request(this.setupRequest(t));
  32168. }
  32169. }, {
  32170. key: "getOSSUploadOptionsFromPath",
  32171. value: function getOSSUploadOptionsFromPath(e) {
  32172. var t = {
  32173. method: "serverless.file.resource.generateProximalSign",
  32174. params: JSON.stringify(e)
  32175. };
  32176. return this.request(this.setupRequest(t));
  32177. }
  32178. }, {
  32179. key: "uploadFileToOSS",
  32180. value: function uploadFileToOSS(_ref3) {
  32181. var _this5 = this;
  32182. var e = _ref3.url,
  32183. t = _ref3.formData,
  32184. n = _ref3.name,
  32185. s = _ref3.filePath,
  32186. r = _ref3.fileType,
  32187. i = _ref3.onUploadProgress;
  32188. return new Promise(function (o, a) {
  32189. var c = _this5.adapter.uploadFile({
  32190. url: e,
  32191. formData: t,
  32192. name: n,
  32193. filePath: s,
  32194. fileType: r,
  32195. header: {
  32196. "X-OSS-server-side-encrpytion": "AES256"
  32197. },
  32198. success: function success(e) {
  32199. e && e.statusCode < 400 ? o(e) : a(new ne({
  32200. code: "UPLOAD_FAILED",
  32201. message: "文件上传失败"
  32202. }));
  32203. },
  32204. fail: function fail(e) {
  32205. a(new ne({
  32206. code: e.code || "UPLOAD_FAILED",
  32207. message: e.message || e.errMsg || "文件上传失败"
  32208. }));
  32209. }
  32210. });
  32211. "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) {
  32212. i({
  32213. loaded: e.totalBytesSent,
  32214. total: e.totalBytesExpectedToSend
  32215. });
  32216. });
  32217. });
  32218. }
  32219. }, {
  32220. key: "reportOSSUpload",
  32221. value: function reportOSSUpload(e) {
  32222. var t = {
  32223. method: "serverless.file.resource.report",
  32224. params: JSON.stringify(e)
  32225. };
  32226. return this.request(this.setupRequest(t));
  32227. }
  32228. }, {
  32229. key: "uploadFile",
  32230. value: function () {
  32231. var _uploadFile = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(_ref4) {
  32232. var e, t, _ref4$fileType, n, _ref4$cloudPathAsReal, s, r, i, o, a, c, u, h, l, d, p, f, m, y, _, _e5, w;
  32233. return _regenerator.default.wrap(function _callee2$(_context2) {
  32234. while (1) {
  32235. switch (_context2.prev = _context2.next) {
  32236. case 0:
  32237. e = _ref4.filePath, t = _ref4.cloudPath, _ref4$fileType = _ref4.fileType, n = _ref4$fileType === void 0 ? "image" : _ref4$fileType, _ref4$cloudPathAsReal = _ref4.cloudPathAsRealPath, s = _ref4$cloudPathAsReal === void 0 ? !1 : _ref4$cloudPathAsReal, r = _ref4.onUploadProgress, i = _ref4.config;
  32238. if (!("string" !== g(t))) {
  32239. _context2.next = 3;
  32240. break;
  32241. }
  32242. throw new ne({
  32243. code: "INVALID_PARAM",
  32244. message: "cloudPath必须为字符串类型"
  32245. });
  32246. case 3:
  32247. if (t = t.trim()) {
  32248. _context2.next = 5;
  32249. break;
  32250. }
  32251. throw new ne({
  32252. code: "INVALID_PARAM",
  32253. message: "cloudPath不可为空"
  32254. });
  32255. case 5:
  32256. if (!/:\/\//.test(t)) {
  32257. _context2.next = 7;
  32258. break;
  32259. }
  32260. throw new ne({
  32261. code: "INVALID_PARAM",
  32262. message: "cloudPath不合法"
  32263. });
  32264. case 7:
  32265. o = i && i.envType || this.config.envType;
  32266. if (!(s && ("/" !== t[0] && (t = "/" + t), t.indexOf("\\") > -1))) {
  32267. _context2.next = 10;
  32268. break;
  32269. }
  32270. throw new ne({
  32271. code: "INVALID_PARAM",
  32272. message: "使用cloudPath作为路径时,cloudPath不可包含“\\”"
  32273. });
  32274. case 10:
  32275. _context2.next = 12;
  32276. return this.getOSSUploadOptionsFromPath({
  32277. env: o,
  32278. filename: s ? t.split("/").pop() : t,
  32279. fileId: s ? t : void 0
  32280. });
  32281. case 12:
  32282. a = _context2.sent.result;
  32283. c = "https://" + a.cdnDomain + "/" + a.ossPath;
  32284. u = a.securityToken;
  32285. h = a.accessKeyId;
  32286. l = a.signature;
  32287. d = a.host;
  32288. p = a.ossPath;
  32289. f = a.id;
  32290. m = a.policy;
  32291. y = a.ossCallbackUrl;
  32292. _ = {
  32293. "Cache-Control": "max-age=2592000",
  32294. "Content-Disposition": "attachment",
  32295. OSSAccessKeyId: h,
  32296. Signature: l,
  32297. host: d,
  32298. id: f,
  32299. key: p,
  32300. policy: m,
  32301. success_action_status: 200
  32302. };
  32303. if (u && (_["x-oss-security-token"] = u), y) {
  32304. _e5 = JSON.stringify({
  32305. callbackUrl: y,
  32306. callbackBody: JSON.stringify({
  32307. fileId: f,
  32308. spaceId: this.config.spaceId
  32309. }),
  32310. callbackBodyType: "application/json"
  32311. });
  32312. _.callback = le.toBase64(_e5);
  32313. }
  32314. w = {
  32315. url: "https://" + a.host,
  32316. formData: _,
  32317. fileName: "file",
  32318. name: "file",
  32319. filePath: e,
  32320. fileType: n
  32321. };
  32322. _context2.next = 27;
  32323. return this.uploadFileToOSS(Object.assign({}, w, {
  32324. onUploadProgress: r
  32325. }));
  32326. case 27:
  32327. if (!y) {
  32328. _context2.next = 29;
  32329. break;
  32330. }
  32331. return _context2.abrupt("return", {
  32332. success: !0,
  32333. filePath: e,
  32334. fileID: c
  32335. });
  32336. case 29:
  32337. _context2.next = 31;
  32338. return this.reportOSSUpload({
  32339. id: f
  32340. });
  32341. case 31:
  32342. if (!_context2.sent.success) {
  32343. _context2.next = 33;
  32344. break;
  32345. }
  32346. return _context2.abrupt("return", {
  32347. success: !0,
  32348. filePath: e,
  32349. fileID: c
  32350. });
  32351. case 33:
  32352. throw new ne({
  32353. code: "UPLOAD_FAILED",
  32354. message: "文件上传失败"
  32355. });
  32356. case 34:
  32357. case "end":
  32358. return _context2.stop();
  32359. }
  32360. }
  32361. }, _callee2, this);
  32362. }));
  32363. function uploadFile(_x) {
  32364. return _uploadFile.apply(this, arguments);
  32365. }
  32366. return uploadFile;
  32367. }()
  32368. }, {
  32369. key: "getTempFileURL",
  32370. value: function getTempFileURL() {
  32371. var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  32372. e = _ref5.fileList;
  32373. return new Promise(function (t, n) {
  32374. Array.isArray(e) && 0 !== e.length || n(new ne({
  32375. code: "INVALID_PARAM",
  32376. message: "fileList的元素必须是非空的字符串"
  32377. })), t({
  32378. fileList: e.map(function (e) {
  32379. return {
  32380. fileID: e,
  32381. tempFileURL: e
  32382. };
  32383. })
  32384. });
  32385. });
  32386. }
  32387. }, {
  32388. key: "getFileInfo",
  32389. value: function () {
  32390. var _getFileInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
  32391. var _ref6,
  32392. e,
  32393. t,
  32394. _args3 = arguments;
  32395. return _regenerator.default.wrap(function _callee3$(_context3) {
  32396. while (1) {
  32397. switch (_context3.prev = _context3.next) {
  32398. case 0:
  32399. _ref6 = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {}, e = _ref6.fileList;
  32400. if (!(!Array.isArray(e) || 0 === e.length)) {
  32401. _context3.next = 3;
  32402. break;
  32403. }
  32404. throw new ne({
  32405. code: "INVALID_PARAM",
  32406. message: "fileList的元素必须是非空的字符串"
  32407. });
  32408. case 3:
  32409. t = {
  32410. method: "serverless.file.resource.info",
  32411. params: JSON.stringify({
  32412. id: e.map(function (e) {
  32413. return e.split("?")[0];
  32414. }).join(",")
  32415. })
  32416. };
  32417. _context3.next = 6;
  32418. return this.request(this.setupRequest(t));
  32419. case 6:
  32420. _context3.t0 = _context3.sent.result;
  32421. return _context3.abrupt("return", {
  32422. fileList: _context3.t0
  32423. });
  32424. case 8:
  32425. case "end":
  32426. return _context3.stop();
  32427. }
  32428. }
  32429. }, _callee3, this);
  32430. }));
  32431. function getFileInfo() {
  32432. return _getFileInfo.apply(this, arguments);
  32433. }
  32434. return getFileInfo;
  32435. }()
  32436. }]);
  32437. return fe;
  32438. }();
  32439. var ge = {
  32440. init: function init(e) {
  32441. var t = new fe(e),
  32442. n = {
  32443. signInAnonymously: function signInAnonymously() {
  32444. return t.authorize();
  32445. },
  32446. getLoginState: function getLoginState() {
  32447. return Promise.resolve(!1);
  32448. }
  32449. };
  32450. return t.auth = function () {
  32451. return n;
  32452. }, t.customAuth = t.auth, t;
  32453. }
  32454. };
  32455. var me = "undefined" != typeof location && "http:" === location.protocol ? "http:" : "https:";
  32456. var ye;
  32457. !function (e) {
  32458. e.local = "local", e.none = "none", e.session = "session";
  32459. }(ye || (ye = {}));
  32460. var _e = function _e() {};
  32461. var we = function we() {
  32462. var e;
  32463. if (!Promise) {
  32464. e = function e() {}, e.promise = {};
  32465. var _t3 = function _t3() {
  32466. throw new ne({
  32467. message: 'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'
  32468. });
  32469. };
  32470. return Object.defineProperty(e.promise, "then", {
  32471. get: _t3
  32472. }), Object.defineProperty(e.promise, "catch", {
  32473. get: _t3
  32474. }), e;
  32475. }
  32476. var t = new Promise(function (t, n) {
  32477. e = function e(_e6, s) {
  32478. return _e6 ? n(_e6) : t(s);
  32479. };
  32480. });
  32481. return e.promise = t, e;
  32482. };
  32483. function ve(e) {
  32484. return void 0 === e;
  32485. }
  32486. function Ie(e) {
  32487. return "[object Null]" === Object.prototype.toString.call(e);
  32488. }
  32489. var Se;
  32490. function be(e) {
  32491. var t = (n = e, "[object Array]" === Object.prototype.toString.call(n) ? e : [e]);
  32492. var n;
  32493. var _iterator = _createForOfIteratorHelper(t),
  32494. _step;
  32495. try {
  32496. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  32497. var _e7 = _step.value;
  32498. var _t4 = _e7.isMatch,
  32499. _n4 = _e7.genAdapter,
  32500. _s4 = _e7.runtime;
  32501. if (_t4()) return {
  32502. adapter: _n4(),
  32503. runtime: _s4
  32504. };
  32505. }
  32506. } catch (err) {
  32507. _iterator.e(err);
  32508. } finally {
  32509. _iterator.f();
  32510. }
  32511. }
  32512. !function (e) {
  32513. e.WEB = "web", e.WX_MP = "wx_mp";
  32514. }(Se || (Se = {}));
  32515. var ke = {
  32516. adapter: null,
  32517. runtime: void 0
  32518. },
  32519. Ce = ["anonymousUuidKey"];
  32520. var Te = /*#__PURE__*/function (_e8) {
  32521. (0, _inherits2.default)(Te, _e8);
  32522. var _super2 = _createSuper(Te);
  32523. function Te() {
  32524. var _this6;
  32525. (0, _classCallCheck2.default)(this, Te);
  32526. _this6 = _super2.call(this), ke.adapter.root.tcbObject || (ke.adapter.root.tcbObject = {});
  32527. return _this6;
  32528. }
  32529. (0, _createClass2.default)(Te, [{
  32530. key: "setItem",
  32531. value: function setItem(e, t) {
  32532. ke.adapter.root.tcbObject[e] = t;
  32533. }
  32534. }, {
  32535. key: "getItem",
  32536. value: function getItem(e) {
  32537. return ke.adapter.root.tcbObject[e];
  32538. }
  32539. }, {
  32540. key: "removeItem",
  32541. value: function removeItem(e) {
  32542. delete ke.adapter.root.tcbObject[e];
  32543. }
  32544. }, {
  32545. key: "clear",
  32546. value: function clear() {
  32547. delete ke.adapter.root.tcbObject;
  32548. }
  32549. }]);
  32550. return Te;
  32551. }(_e);
  32552. function Pe(e, t) {
  32553. switch (e) {
  32554. case "local":
  32555. return t.localStorage || new Te();
  32556. case "none":
  32557. return new Te();
  32558. default:
  32559. return t.sessionStorage || new Te();
  32560. }
  32561. }
  32562. var Ae = /*#__PURE__*/function () {
  32563. function Ae(e) {
  32564. (0, _classCallCheck2.default)(this, Ae);
  32565. if (!this._storage) {
  32566. this._persistence = ke.adapter.primaryStorage || e.persistence, this._storage = Pe(this._persistence, ke.adapter);
  32567. var _t5 = "access_token_".concat(e.env),
  32568. _n5 = "access_token_expire_".concat(e.env),
  32569. _s5 = "refresh_token_".concat(e.env),
  32570. _r = "anonymous_uuid_".concat(e.env),
  32571. _i = "login_type_".concat(e.env),
  32572. _o = "user_info_".concat(e.env);
  32573. this.keys = {
  32574. accessTokenKey: _t5,
  32575. accessTokenExpireKey: _n5,
  32576. refreshTokenKey: _s5,
  32577. anonymousUuidKey: _r,
  32578. loginTypeKey: _i,
  32579. userInfoKey: _o
  32580. };
  32581. }
  32582. }
  32583. (0, _createClass2.default)(Ae, [{
  32584. key: "updatePersistence",
  32585. value: function updatePersistence(e) {
  32586. if (e === this._persistence) return;
  32587. var t = "local" === this._persistence;
  32588. this._persistence = e;
  32589. var n = Pe(e, ke.adapter);
  32590. for (var _e9 in this.keys) {
  32591. var _s6 = this.keys[_e9];
  32592. if (t && Ce.includes(_e9)) continue;
  32593. var _r2 = this._storage.getItem(_s6);
  32594. ve(_r2) || Ie(_r2) || (n.setItem(_s6, _r2), this._storage.removeItem(_s6));
  32595. }
  32596. this._storage = n;
  32597. }
  32598. }, {
  32599. key: "setStore",
  32600. value: function setStore(e, t, n) {
  32601. if (!this._storage) return;
  32602. var s = {
  32603. version: n || "localCachev1",
  32604. content: t
  32605. },
  32606. r = JSON.stringify(s);
  32607. try {
  32608. this._storage.setItem(e, r);
  32609. } catch (e) {
  32610. throw e;
  32611. }
  32612. }
  32613. }, {
  32614. key: "getStore",
  32615. value: function getStore(e, t) {
  32616. try {
  32617. if (!this._storage) return;
  32618. } catch (e) {
  32619. return "";
  32620. }
  32621. t = t || "localCachev1";
  32622. var n = this._storage.getItem(e);
  32623. if (!n) return "";
  32624. if (n.indexOf(t) >= 0) {
  32625. return JSON.parse(n).content;
  32626. }
  32627. return "";
  32628. }
  32629. }, {
  32630. key: "removeStore",
  32631. value: function removeStore(e) {
  32632. this._storage.removeItem(e);
  32633. }
  32634. }]);
  32635. return Ae;
  32636. }();
  32637. var Ee = {},
  32638. Oe = {};
  32639. function xe(e) {
  32640. return Ee[e];
  32641. }
  32642. var Re = /*#__PURE__*/(0, _createClass2.default)(function Re(e, t) {
  32643. (0, _classCallCheck2.default)(this, Re);
  32644. this.data = t || null, this.name = e;
  32645. });
  32646. var Ue = /*#__PURE__*/function (_Re) {
  32647. (0, _inherits2.default)(Ue, _Re);
  32648. var _super3 = _createSuper(Ue);
  32649. function Ue(e, t) {
  32650. var _this7;
  32651. (0, _classCallCheck2.default)(this, Ue);
  32652. _this7 = _super3.call(this, "error", {
  32653. error: e,
  32654. data: t
  32655. }), _this7.error = e;
  32656. return _this7;
  32657. }
  32658. return (0, _createClass2.default)(Ue);
  32659. }(Re);
  32660. var Le = new ( /*#__PURE__*/function () {
  32661. function _class() {
  32662. (0, _classCallCheck2.default)(this, _class);
  32663. this._listeners = {};
  32664. }
  32665. (0, _createClass2.default)(_class, [{
  32666. key: "on",
  32667. value: function on(e, t) {
  32668. return function (e, t, n) {
  32669. n[e] = n[e] || [], n[e].push(t);
  32670. }(e, t, this._listeners), this;
  32671. }
  32672. }, {
  32673. key: "off",
  32674. value: function off(e, t) {
  32675. return function (e, t, n) {
  32676. if (n && n[e]) {
  32677. var _s7 = n[e].indexOf(t);
  32678. -1 !== _s7 && n[e].splice(_s7, 1);
  32679. }
  32680. }(e, t, this._listeners), this;
  32681. }
  32682. }, {
  32683. key: "fire",
  32684. value: function fire(e, t) {
  32685. if (e instanceof Ue) return console.error(e.error), this;
  32686. var n = "string" == typeof e ? new Re(e, t || {}) : e;
  32687. var s = n.name;
  32688. if (this._listens(s)) {
  32689. n.target = this;
  32690. var _e10 = this._listeners[s] ? (0, _toConsumableArray2.default)(this._listeners[s]) : [];
  32691. var _iterator2 = _createForOfIteratorHelper(_e10),
  32692. _step2;
  32693. try {
  32694. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  32695. var _t6 = _step2.value;
  32696. _t6.call(this, n);
  32697. }
  32698. } catch (err) {
  32699. _iterator2.e(err);
  32700. } finally {
  32701. _iterator2.f();
  32702. }
  32703. }
  32704. return this;
  32705. }
  32706. }, {
  32707. key: "_listens",
  32708. value: function _listens(e) {
  32709. return this._listeners[e] && this._listeners[e].length > 0;
  32710. }
  32711. }]);
  32712. return _class;
  32713. }())();
  32714. function Ne(e, t) {
  32715. Le.on(e, t);
  32716. }
  32717. function De(e) {
  32718. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  32719. Le.fire(e, t);
  32720. }
  32721. function Fe(e, t) {
  32722. Le.off(e, t);
  32723. }
  32724. var qe = "loginStateChanged",
  32725. Me = "loginStateExpire",
  32726. Ke = "loginTypeChanged",
  32727. je = "anonymousConverted",
  32728. Be = "refreshAccessToken";
  32729. var $e;
  32730. !function (e) {
  32731. e.ANONYMOUS = "ANONYMOUS", e.WECHAT = "WECHAT", e.WECHAT_PUBLIC = "WECHAT-PUBLIC", e.WECHAT_OPEN = "WECHAT-OPEN", e.CUSTOM = "CUSTOM", e.EMAIL = "EMAIL", e.USERNAME = "USERNAME", e.NULL = "NULL";
  32732. }($e || ($e = {}));
  32733. var We = ["auth.getJwt", "auth.logout", "auth.signInWithTicket", "auth.signInAnonymously", "auth.signIn", "auth.fetchAccessTokenWithRefreshToken", "auth.signUpWithEmailAndPassword", "auth.activateEndUserMail", "auth.sendPasswordResetEmail", "auth.resetPasswordWithToken", "auth.isUsernameRegistered"],
  32734. ze = {
  32735. "X-SDK-Version": "1.3.5"
  32736. };
  32737. function Je(e, t, n) {
  32738. var s = e[t];
  32739. e[t] = function (t) {
  32740. var r = {},
  32741. i = {};
  32742. n.forEach(function (n) {
  32743. var _n$call = n.call(e, t),
  32744. s = _n$call.data,
  32745. o = _n$call.headers;
  32746. Object.assign(r, s), Object.assign(i, o);
  32747. });
  32748. var o = t.data;
  32749. return o && function () {
  32750. var e;
  32751. if (e = o, "[object FormData]" !== Object.prototype.toString.call(e)) t.data = _objectSpread(_objectSpread({}, o), r);else for (var _e11 in r) {
  32752. o.append(_e11, r[_e11]);
  32753. }
  32754. }(), t.headers = _objectSpread(_objectSpread({}, t.headers || {}), i), s.call(e, t);
  32755. };
  32756. }
  32757. function He() {
  32758. var e = Math.random().toString(16).slice(2);
  32759. return {
  32760. data: {
  32761. seqId: e
  32762. },
  32763. headers: _objectSpread(_objectSpread({}, ze), {}, {
  32764. "x-seqid": e
  32765. })
  32766. };
  32767. }
  32768. var Ge = /*#__PURE__*/function () {
  32769. function Ge() {
  32770. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  32771. (0, _classCallCheck2.default)(this, Ge);
  32772. var t;
  32773. this.config = e, this._reqClass = new ke.adapter.reqClass({
  32774. timeout: this.config.timeout,
  32775. timeoutMsg: "\u8BF7\u6C42\u5728".concat(this.config.timeout / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD"),
  32776. restrictedMethods: ["post"]
  32777. }), this._cache = xe(this.config.env), this._localCache = (t = this.config.env, Oe[t]), Je(this._reqClass, "post", [He]), Je(this._reqClass, "upload", [He]), Je(this._reqClass, "download", [He]);
  32778. }
  32779. (0, _createClass2.default)(Ge, [{
  32780. key: "post",
  32781. value: function () {
  32782. var _post = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(e) {
  32783. return _regenerator.default.wrap(function _callee4$(_context4) {
  32784. while (1) {
  32785. switch (_context4.prev = _context4.next) {
  32786. case 0:
  32787. _context4.next = 2;
  32788. return this._reqClass.post(e);
  32789. case 2:
  32790. return _context4.abrupt("return", _context4.sent);
  32791. case 3:
  32792. case "end":
  32793. return _context4.stop();
  32794. }
  32795. }
  32796. }, _callee4, this);
  32797. }));
  32798. function post(_x2) {
  32799. return _post.apply(this, arguments);
  32800. }
  32801. return post;
  32802. }()
  32803. }, {
  32804. key: "upload",
  32805. value: function () {
  32806. var _upload = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(e) {
  32807. return _regenerator.default.wrap(function _callee5$(_context5) {
  32808. while (1) {
  32809. switch (_context5.prev = _context5.next) {
  32810. case 0:
  32811. _context5.next = 2;
  32812. return this._reqClass.upload(e);
  32813. case 2:
  32814. return _context5.abrupt("return", _context5.sent);
  32815. case 3:
  32816. case "end":
  32817. return _context5.stop();
  32818. }
  32819. }
  32820. }, _callee5, this);
  32821. }));
  32822. function upload(_x3) {
  32823. return _upload.apply(this, arguments);
  32824. }
  32825. return upload;
  32826. }()
  32827. }, {
  32828. key: "download",
  32829. value: function () {
  32830. var _download = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(e) {
  32831. return _regenerator.default.wrap(function _callee6$(_context6) {
  32832. while (1) {
  32833. switch (_context6.prev = _context6.next) {
  32834. case 0:
  32835. _context6.next = 2;
  32836. return this._reqClass.download(e);
  32837. case 2:
  32838. return _context6.abrupt("return", _context6.sent);
  32839. case 3:
  32840. case "end":
  32841. return _context6.stop();
  32842. }
  32843. }
  32844. }, _callee6, this);
  32845. }));
  32846. function download(_x4) {
  32847. return _download.apply(this, arguments);
  32848. }
  32849. return download;
  32850. }()
  32851. }, {
  32852. key: "refreshAccessToken",
  32853. value: function () {
  32854. var _refreshAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
  32855. var e, t;
  32856. return _regenerator.default.wrap(function _callee7$(_context7) {
  32857. while (1) {
  32858. switch (_context7.prev = _context7.next) {
  32859. case 0:
  32860. this._refreshAccessTokenPromise || (this._refreshAccessTokenPromise = this._refreshAccessToken());
  32861. _context7.prev = 1;
  32862. _context7.next = 4;
  32863. return this._refreshAccessTokenPromise;
  32864. case 4:
  32865. e = _context7.sent;
  32866. _context7.next = 10;
  32867. break;
  32868. case 7:
  32869. _context7.prev = 7;
  32870. _context7.t0 = _context7["catch"](1);
  32871. t = _context7.t0;
  32872. case 10:
  32873. if (!(this._refreshAccessTokenPromise = null, this._shouldRefreshAccessTokenHook = null, t)) {
  32874. _context7.next = 12;
  32875. break;
  32876. }
  32877. throw t;
  32878. case 12:
  32879. return _context7.abrupt("return", e);
  32880. case 13:
  32881. case "end":
  32882. return _context7.stop();
  32883. }
  32884. }
  32885. }, _callee7, this, [[1, 7]]);
  32886. }));
  32887. function refreshAccessToken() {
  32888. return _refreshAccessToken2.apply(this, arguments);
  32889. }
  32890. return refreshAccessToken;
  32891. }()
  32892. }, {
  32893. key: "_refreshAccessToken",
  32894. value: function () {
  32895. var _refreshAccessToken3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
  32896. var _this$_cache$keys, e, t, n, s, r, i, o, a, _e12, _e13, _t7, _s8;
  32897. return _regenerator.default.wrap(function _callee8$(_context8) {
  32898. while (1) {
  32899. switch (_context8.prev = _context8.next) {
  32900. case 0:
  32901. _this$_cache$keys = this._cache.keys, e = _this$_cache$keys.accessTokenKey, t = _this$_cache$keys.accessTokenExpireKey, n = _this$_cache$keys.refreshTokenKey, s = _this$_cache$keys.loginTypeKey, r = _this$_cache$keys.anonymousUuidKey;
  32902. this._cache.removeStore(e), this._cache.removeStore(t);
  32903. i = this._cache.getStore(n);
  32904. if (i) {
  32905. _context8.next = 5;
  32906. break;
  32907. }
  32908. throw new ne({
  32909. message: "未登录CloudBase"
  32910. });
  32911. case 5:
  32912. o = {
  32913. refresh_token: i
  32914. };
  32915. _context8.next = 8;
  32916. return this.request("auth.fetchAccessTokenWithRefreshToken", o);
  32917. case 8:
  32918. a = _context8.sent;
  32919. if (!a.data.code) {
  32920. _context8.next = 21;
  32921. break;
  32922. }
  32923. _e12 = a.data.code;
  32924. if (!("SIGN_PARAM_INVALID" === _e12 || "REFRESH_TOKEN_EXPIRED" === _e12 || "INVALID_REFRESH_TOKEN" === _e12)) {
  32925. _context8.next = 20;
  32926. break;
  32927. }
  32928. if (!(this._cache.getStore(s) === $e.ANONYMOUS && "INVALID_REFRESH_TOKEN" === _e12)) {
  32929. _context8.next = 19;
  32930. break;
  32931. }
  32932. _e13 = this._cache.getStore(r);
  32933. _t7 = this._cache.getStore(n);
  32934. _context8.next = 17;
  32935. return this.send("auth.signInAnonymously", {
  32936. anonymous_uuid: _e13,
  32937. refresh_token: _t7
  32938. });
  32939. case 17:
  32940. _s8 = _context8.sent;
  32941. return _context8.abrupt("return", (this.setRefreshToken(_s8.refresh_token), this._refreshAccessToken()));
  32942. case 19:
  32943. De(Me), this._cache.removeStore(n);
  32944. case 20:
  32945. throw new ne({
  32946. code: a.data.code,
  32947. message: "\u5237\u65B0access token\u5931\u8D25\uFF1A".concat(a.data.code)
  32948. });
  32949. case 21:
  32950. if (!a.data.access_token) {
  32951. _context8.next = 23;
  32952. break;
  32953. }
  32954. return _context8.abrupt("return", (De(Be), this._cache.setStore(e, a.data.access_token), this._cache.setStore(t, a.data.access_token_expire + Date.now()), {
  32955. accessToken: a.data.access_token,
  32956. accessTokenExpire: a.data.access_token_expire
  32957. }));
  32958. case 23:
  32959. a.data.refresh_token && (this._cache.removeStore(n), this._cache.setStore(n, a.data.refresh_token), this._refreshAccessToken());
  32960. case 24:
  32961. case "end":
  32962. return _context8.stop();
  32963. }
  32964. }
  32965. }, _callee8, this);
  32966. }));
  32967. function _refreshAccessToken() {
  32968. return _refreshAccessToken3.apply(this, arguments);
  32969. }
  32970. return _refreshAccessToken;
  32971. }()
  32972. }, {
  32973. key: "getAccessToken",
  32974. value: function () {
  32975. var _getAccessToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
  32976. var _this$_cache$keys2, e, t, n, s, r, i;
  32977. return _regenerator.default.wrap(function _callee9$(_context9) {
  32978. while (1) {
  32979. switch (_context9.prev = _context9.next) {
  32980. case 0:
  32981. _this$_cache$keys2 = this._cache.keys, e = _this$_cache$keys2.accessTokenKey, t = _this$_cache$keys2.accessTokenExpireKey, n = _this$_cache$keys2.refreshTokenKey;
  32982. if (this._cache.getStore(n)) {
  32983. _context9.next = 3;
  32984. break;
  32985. }
  32986. throw new ne({
  32987. message: "refresh token不存在,登录状态异常"
  32988. });
  32989. case 3:
  32990. s = this._cache.getStore(e), r = this._cache.getStore(t), i = !0;
  32991. _context9.t0 = this._shouldRefreshAccessTokenHook;
  32992. if (!_context9.t0) {
  32993. _context9.next = 9;
  32994. break;
  32995. }
  32996. _context9.next = 8;
  32997. return this._shouldRefreshAccessTokenHook(s, r);
  32998. case 8:
  32999. _context9.t0 = !_context9.sent;
  33000. case 9:
  33001. _context9.t1 = _context9.t0;
  33002. if (!_context9.t1) {
  33003. _context9.next = 12;
  33004. break;
  33005. }
  33006. i = !1;
  33007. case 12:
  33008. return _context9.abrupt("return", (!s || !r || r < Date.now()) && i ? this.refreshAccessToken() : {
  33009. accessToken: s,
  33010. accessTokenExpire: r
  33011. });
  33012. case 13:
  33013. case "end":
  33014. return _context9.stop();
  33015. }
  33016. }
  33017. }, _callee9, this);
  33018. }));
  33019. function getAccessToken() {
  33020. return _getAccessToken.apply(this, arguments);
  33021. }
  33022. return getAccessToken;
  33023. }()
  33024. }, {
  33025. key: "request",
  33026. value: function () {
  33027. var _request = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(e, t, n) {
  33028. var s, r, i, _e14, o, _e15, _e16, a, c, u, h, l, d, p, f, g;
  33029. return _regenerator.default.wrap(function _callee10$(_context10) {
  33030. while (1) {
  33031. switch (_context10.prev = _context10.next) {
  33032. case 0:
  33033. s = "x-tcb-trace_".concat(this.config.env);
  33034. r = "application/x-www-form-urlencoded";
  33035. i = _objectSpread({
  33036. action: e,
  33037. env: this.config.env,
  33038. dataVersion: "2019-08-16"
  33039. }, t);
  33040. if (!(-1 === We.indexOf(e))) {
  33041. _context10.next = 10;
  33042. break;
  33043. }
  33044. _e14 = this._cache.keys.refreshTokenKey;
  33045. _context10.t0 = this._cache.getStore(_e14);
  33046. if (!_context10.t0) {
  33047. _context10.next = 10;
  33048. break;
  33049. }
  33050. _context10.next = 9;
  33051. return this.getAccessToken();
  33052. case 9:
  33053. i.access_token = _context10.sent.accessToken;
  33054. case 10:
  33055. if ("storage.uploadFile" === e) {
  33056. o = new FormData();
  33057. for (_e15 in o) {
  33058. o.hasOwnProperty(_e15) && void 0 !== o[_e15] && o.append(_e15, i[_e15]);
  33059. }
  33060. r = "multipart/form-data";
  33061. } else {
  33062. r = "application/json", o = {};
  33063. for (_e16 in i) {
  33064. void 0 !== i[_e16] && (o[_e16] = i[_e16]);
  33065. }
  33066. }
  33067. a = {
  33068. headers: {
  33069. "content-type": r
  33070. }
  33071. };
  33072. n && n.onUploadProgress && (a.onUploadProgress = n.onUploadProgress);
  33073. c = this._localCache.getStore(s);
  33074. c && (a.headers["X-TCB-Trace"] = c);
  33075. u = t.parse, h = t.inQuery, l = t.search;
  33076. d = {
  33077. env: this.config.env
  33078. };
  33079. u && (d.parse = !0), h && (d = _objectSpread(_objectSpread({}, h), d));
  33080. p = function (e, t) {
  33081. var n = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  33082. var s = /\?/.test(t);
  33083. var r = "";
  33084. for (var _e17 in n) {
  33085. "" === r ? !s && (t += "?") : r += "&", r += "".concat(_e17, "=").concat(encodeURIComponent(n[_e17]));
  33086. }
  33087. return /^http(s)?\:\/\//.test(t += r) ? t : "".concat(e).concat(t);
  33088. }(me, "//tcb-api.tencentcloudapi.com/web", d);
  33089. l && (p += l);
  33090. _context10.next = 22;
  33091. return this.post(_objectSpread({
  33092. url: p,
  33093. data: o
  33094. }, a));
  33095. case 22:
  33096. f = _context10.sent;
  33097. g = f.header && f.header["x-tcb-trace"];
  33098. if (!(g && this._localCache.setStore(s, g), 200 !== Number(f.status) && 200 !== Number(f.statusCode) || !f.data)) {
  33099. _context10.next = 26;
  33100. break;
  33101. }
  33102. throw new ne({
  33103. code: "NETWORK_ERROR",
  33104. message: "network request error"
  33105. });
  33106. case 26:
  33107. return _context10.abrupt("return", f);
  33108. case 27:
  33109. case "end":
  33110. return _context10.stop();
  33111. }
  33112. }
  33113. }, _callee10, this);
  33114. }));
  33115. function request(_x5, _x6, _x7) {
  33116. return _request.apply(this, arguments);
  33117. }
  33118. return request;
  33119. }()
  33120. }, {
  33121. key: "send",
  33122. value: function () {
  33123. var _send = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(e) {
  33124. var t,
  33125. n,
  33126. _n6,
  33127. _args11 = arguments;
  33128. return _regenerator.default.wrap(function _callee11$(_context11) {
  33129. while (1) {
  33130. switch (_context11.prev = _context11.next) {
  33131. case 0:
  33132. t = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
  33133. _context11.next = 3;
  33134. return this.request(e, t, {
  33135. onUploadProgress: t.onUploadProgress
  33136. });
  33137. case 3:
  33138. n = _context11.sent;
  33139. if (!("ACCESS_TOKEN_EXPIRED" === n.data.code && -1 === We.indexOf(e))) {
  33140. _context11.next = 13;
  33141. break;
  33142. }
  33143. _context11.next = 7;
  33144. return this.refreshAccessToken();
  33145. case 7:
  33146. _context11.next = 9;
  33147. return this.request(e, t, {
  33148. onUploadProgress: t.onUploadProgress
  33149. });
  33150. case 9:
  33151. _n6 = _context11.sent;
  33152. if (!_n6.data.code) {
  33153. _context11.next = 12;
  33154. break;
  33155. }
  33156. throw new ne({
  33157. code: _n6.data.code,
  33158. message: _n6.data.message
  33159. });
  33160. case 12:
  33161. return _context11.abrupt("return", _n6.data);
  33162. case 13:
  33163. if (!n.data.code) {
  33164. _context11.next = 15;
  33165. break;
  33166. }
  33167. throw new ne({
  33168. code: n.data.code,
  33169. message: n.data.message
  33170. });
  33171. case 15:
  33172. return _context11.abrupt("return", n.data);
  33173. case 16:
  33174. case "end":
  33175. return _context11.stop();
  33176. }
  33177. }
  33178. }, _callee11, this);
  33179. }));
  33180. function send(_x8) {
  33181. return _send.apply(this, arguments);
  33182. }
  33183. return send;
  33184. }()
  33185. }, {
  33186. key: "setRefreshToken",
  33187. value: function setRefreshToken(e) {
  33188. var _this$_cache$keys3 = this._cache.keys,
  33189. t = _this$_cache$keys3.accessTokenKey,
  33190. n = _this$_cache$keys3.accessTokenExpireKey,
  33191. s = _this$_cache$keys3.refreshTokenKey;
  33192. this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e);
  33193. }
  33194. }]);
  33195. return Ge;
  33196. }();
  33197. var Ve = {};
  33198. function Ye(e) {
  33199. return Ve[e];
  33200. }
  33201. var Qe = /*#__PURE__*/function () {
  33202. function Qe(e) {
  33203. (0, _classCallCheck2.default)(this, Qe);
  33204. this.config = e, this._cache = xe(e.env), this._request = Ye(e.env);
  33205. }
  33206. (0, _createClass2.default)(Qe, [{
  33207. key: "setRefreshToken",
  33208. value: function setRefreshToken(e) {
  33209. var _this$_cache$keys4 = this._cache.keys,
  33210. t = _this$_cache$keys4.accessTokenKey,
  33211. n = _this$_cache$keys4.accessTokenExpireKey,
  33212. s = _this$_cache$keys4.refreshTokenKey;
  33213. this._cache.removeStore(t), this._cache.removeStore(n), this._cache.setStore(s, e);
  33214. }
  33215. }, {
  33216. key: "setAccessToken",
  33217. value: function setAccessToken(e, t) {
  33218. var _this$_cache$keys5 = this._cache.keys,
  33219. n = _this$_cache$keys5.accessTokenKey,
  33220. s = _this$_cache$keys5.accessTokenExpireKey;
  33221. this._cache.setStore(n, e), this._cache.setStore(s, t);
  33222. }
  33223. }, {
  33224. key: "refreshUserInfo",
  33225. value: function () {
  33226. var _refreshUserInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
  33227. var _yield$this$_request$, e;
  33228. return _regenerator.default.wrap(function _callee12$(_context12) {
  33229. while (1) {
  33230. switch (_context12.prev = _context12.next) {
  33231. case 0:
  33232. _context12.next = 2;
  33233. return this._request.send("auth.getUserInfo", {});
  33234. case 2:
  33235. _yield$this$_request$ = _context12.sent;
  33236. e = _yield$this$_request$.data;
  33237. return _context12.abrupt("return", (this.setLocalUserInfo(e), e));
  33238. case 5:
  33239. case "end":
  33240. return _context12.stop();
  33241. }
  33242. }
  33243. }, _callee12, this);
  33244. }));
  33245. function refreshUserInfo() {
  33246. return _refreshUserInfo.apply(this, arguments);
  33247. }
  33248. return refreshUserInfo;
  33249. }()
  33250. }, {
  33251. key: "setLocalUserInfo",
  33252. value: function setLocalUserInfo(e) {
  33253. var t = this._cache.keys.userInfoKey;
  33254. this._cache.setStore(t, e);
  33255. }
  33256. }]);
  33257. return Qe;
  33258. }();
  33259. var Xe = /*#__PURE__*/function () {
  33260. function Xe(e) {
  33261. (0, _classCallCheck2.default)(this, Xe);
  33262. if (!e) throw new ne({
  33263. code: "PARAM_ERROR",
  33264. message: "envId is not defined"
  33265. });
  33266. this._envId = e, this._cache = xe(this._envId), this._request = Ye(this._envId), this.setUserInfo();
  33267. }
  33268. (0, _createClass2.default)(Xe, [{
  33269. key: "linkWithTicket",
  33270. value: function linkWithTicket(e) {
  33271. if ("string" != typeof e) throw new ne({
  33272. code: "PARAM_ERROR",
  33273. message: "ticket must be string"
  33274. });
  33275. return this._request.send("auth.linkWithTicket", {
  33276. ticket: e
  33277. });
  33278. }
  33279. }, {
  33280. key: "linkWithRedirect",
  33281. value: function linkWithRedirect(e) {
  33282. e.signInWithRedirect();
  33283. }
  33284. }, {
  33285. key: "updatePassword",
  33286. value: function updatePassword(e, t) {
  33287. return this._request.send("auth.updatePassword", {
  33288. oldPassword: t,
  33289. newPassword: e
  33290. });
  33291. }
  33292. }, {
  33293. key: "updateEmail",
  33294. value: function updateEmail(e) {
  33295. return this._request.send("auth.updateEmail", {
  33296. newEmail: e
  33297. });
  33298. }
  33299. }, {
  33300. key: "updateUsername",
  33301. value: function updateUsername(e) {
  33302. if ("string" != typeof e) throw new ne({
  33303. code: "PARAM_ERROR",
  33304. message: "username must be a string"
  33305. });
  33306. return this._request.send("auth.updateUsername", {
  33307. username: e
  33308. });
  33309. }
  33310. }, {
  33311. key: "getLinkedUidList",
  33312. value: function () {
  33313. var _getLinkedUidList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
  33314. var _yield$this$_request$2, e, t, n;
  33315. return _regenerator.default.wrap(function _callee13$(_context13) {
  33316. while (1) {
  33317. switch (_context13.prev = _context13.next) {
  33318. case 0:
  33319. _context13.next = 2;
  33320. return this._request.send("auth.getLinkedUidList", {});
  33321. case 2:
  33322. _yield$this$_request$2 = _context13.sent;
  33323. e = _yield$this$_request$2.data;
  33324. t = !1;
  33325. n = e.users;
  33326. return _context13.abrupt("return", (n.forEach(function (e) {
  33327. e.wxOpenId && e.wxPublicId && (t = !0);
  33328. }), {
  33329. users: n,
  33330. hasPrimaryUid: t
  33331. }));
  33332. case 7:
  33333. case "end":
  33334. return _context13.stop();
  33335. }
  33336. }
  33337. }, _callee13, this);
  33338. }));
  33339. function getLinkedUidList() {
  33340. return _getLinkedUidList.apply(this, arguments);
  33341. }
  33342. return getLinkedUidList;
  33343. }()
  33344. }, {
  33345. key: "setPrimaryUid",
  33346. value: function setPrimaryUid(e) {
  33347. return this._request.send("auth.setPrimaryUid", {
  33348. uid: e
  33349. });
  33350. }
  33351. }, {
  33352. key: "unlink",
  33353. value: function unlink(e) {
  33354. return this._request.send("auth.unlink", {
  33355. platform: e
  33356. });
  33357. }
  33358. }, {
  33359. key: "update",
  33360. value: function () {
  33361. var _update = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(e) {
  33362. var t, n, s, r, i, o, _yield$this$_request$3, a;
  33363. return _regenerator.default.wrap(function _callee14$(_context14) {
  33364. while (1) {
  33365. switch (_context14.prev = _context14.next) {
  33366. case 0:
  33367. t = e.nickName;
  33368. n = e.gender;
  33369. s = e.avatarUrl;
  33370. r = e.province;
  33371. i = e.country;
  33372. o = e.city;
  33373. _context14.next = 8;
  33374. return this._request.send("auth.updateUserInfo", {
  33375. nickName: t,
  33376. gender: n,
  33377. avatarUrl: s,
  33378. province: r,
  33379. country: i,
  33380. city: o
  33381. });
  33382. case 8:
  33383. _yield$this$_request$3 = _context14.sent;
  33384. a = _yield$this$_request$3.data;
  33385. this.setLocalUserInfo(a);
  33386. case 11:
  33387. case "end":
  33388. return _context14.stop();
  33389. }
  33390. }
  33391. }, _callee14, this);
  33392. }));
  33393. function update(_x9) {
  33394. return _update.apply(this, arguments);
  33395. }
  33396. return update;
  33397. }()
  33398. }, {
  33399. key: "refresh",
  33400. value: function () {
  33401. var _refresh = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
  33402. var _yield$this$_request$4, e;
  33403. return _regenerator.default.wrap(function _callee15$(_context15) {
  33404. while (1) {
  33405. switch (_context15.prev = _context15.next) {
  33406. case 0:
  33407. _context15.next = 2;
  33408. return this._request.send("auth.getUserInfo", {});
  33409. case 2:
  33410. _yield$this$_request$4 = _context15.sent;
  33411. e = _yield$this$_request$4.data;
  33412. return _context15.abrupt("return", (this.setLocalUserInfo(e), e));
  33413. case 5:
  33414. case "end":
  33415. return _context15.stop();
  33416. }
  33417. }
  33418. }, _callee15, this);
  33419. }));
  33420. function refresh() {
  33421. return _refresh.apply(this, arguments);
  33422. }
  33423. return refresh;
  33424. }()
  33425. }, {
  33426. key: "setUserInfo",
  33427. value: function setUserInfo() {
  33428. var _this8 = this;
  33429. var e = this._cache.keys.userInfoKey,
  33430. t = this._cache.getStore(e);
  33431. ["uid", "loginType", "openid", "wxOpenId", "wxPublicId", "unionId", "qqMiniOpenId", "email", "hasPassword", "customUserId", "nickName", "gender", "avatarUrl"].forEach(function (e) {
  33432. _this8[e] = t[e];
  33433. }), this.location = {
  33434. country: t.country,
  33435. province: t.province,
  33436. city: t.city
  33437. };
  33438. }
  33439. }, {
  33440. key: "setLocalUserInfo",
  33441. value: function setLocalUserInfo(e) {
  33442. var t = this._cache.keys.userInfoKey;
  33443. this._cache.setStore(t, e), this.setUserInfo();
  33444. }
  33445. }]);
  33446. return Xe;
  33447. }();
  33448. var Ze = /*#__PURE__*/function () {
  33449. function Ze(e) {
  33450. (0, _classCallCheck2.default)(this, Ze);
  33451. if (!e) throw new ne({
  33452. code: "PARAM_ERROR",
  33453. message: "envId is not defined"
  33454. });
  33455. this._cache = xe(e);
  33456. var _this$_cache$keys6 = this._cache.keys,
  33457. t = _this$_cache$keys6.refreshTokenKey,
  33458. n = _this$_cache$keys6.accessTokenKey,
  33459. s = _this$_cache$keys6.accessTokenExpireKey,
  33460. r = this._cache.getStore(t),
  33461. i = this._cache.getStore(n),
  33462. o = this._cache.getStore(s);
  33463. this.credential = {
  33464. refreshToken: r,
  33465. accessToken: i,
  33466. accessTokenExpire: o
  33467. }, this.user = new Xe(e);
  33468. }
  33469. (0, _createClass2.default)(Ze, [{
  33470. key: "isAnonymousAuth",
  33471. get: function get() {
  33472. return this.loginType === $e.ANONYMOUS;
  33473. }
  33474. }, {
  33475. key: "isCustomAuth",
  33476. get: function get() {
  33477. return this.loginType === $e.CUSTOM;
  33478. }
  33479. }, {
  33480. key: "isWeixinAuth",
  33481. get: function get() {
  33482. return this.loginType === $e.WECHAT || this.loginType === $e.WECHAT_OPEN || this.loginType === $e.WECHAT_PUBLIC;
  33483. }
  33484. }, {
  33485. key: "loginType",
  33486. get: function get() {
  33487. return this._cache.getStore(this._cache.keys.loginTypeKey);
  33488. }
  33489. }]);
  33490. return Ze;
  33491. }();
  33492. var et = /*#__PURE__*/function (_Qe) {
  33493. (0, _inherits2.default)(et, _Qe);
  33494. var _super4 = _createSuper(et);
  33495. function et() {
  33496. (0, _classCallCheck2.default)(this, et);
  33497. return _super4.apply(this, arguments);
  33498. }
  33499. (0, _createClass2.default)(et, [{
  33500. key: "signIn",
  33501. value: function () {
  33502. var _signIn = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
  33503. var _this$_cache$keys7, e, t, n, s, r, _e18;
  33504. return _regenerator.default.wrap(function _callee16$(_context16) {
  33505. while (1) {
  33506. switch (_context16.prev = _context16.next) {
  33507. case 0:
  33508. this._cache.updatePersistence("local");
  33509. _this$_cache$keys7 = this._cache.keys;
  33510. e = _this$_cache$keys7.anonymousUuidKey;
  33511. t = _this$_cache$keys7.refreshTokenKey;
  33512. n = this._cache.getStore(e) || void 0;
  33513. s = this._cache.getStore(t) || void 0;
  33514. _context16.next = 8;
  33515. return this._request.send("auth.signInAnonymously", {
  33516. anonymous_uuid: n,
  33517. refresh_token: s
  33518. });
  33519. case 8:
  33520. r = _context16.sent;
  33521. if (!(r.uuid && r.refresh_token)) {
  33522. _context16.next = 20;
  33523. break;
  33524. }
  33525. this._setAnonymousUUID(r.uuid);
  33526. this.setRefreshToken(r.refresh_token);
  33527. _context16.next = 14;
  33528. return this._request.refreshAccessToken();
  33529. case 14:
  33530. De(qe);
  33531. De(Ke, {
  33532. env: this.config.env,
  33533. loginType: $e.ANONYMOUS,
  33534. persistence: "local"
  33535. });
  33536. _e18 = new Ze(this.config.env);
  33537. _context16.next = 19;
  33538. return _e18.user.refresh();
  33539. case 19:
  33540. return _context16.abrupt("return", _e18);
  33541. case 20:
  33542. throw new ne({
  33543. message: "匿名登录失败"
  33544. });
  33545. case 21:
  33546. case "end":
  33547. return _context16.stop();
  33548. }
  33549. }
  33550. }, _callee16, this);
  33551. }));
  33552. function signIn() {
  33553. return _signIn.apply(this, arguments);
  33554. }
  33555. return signIn;
  33556. }()
  33557. }, {
  33558. key: "linkAndRetrieveDataWithTicket",
  33559. value: function () {
  33560. var _linkAndRetrieveDataWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(e) {
  33561. var _this$_cache$keys8, t, n, s, r, i;
  33562. return _regenerator.default.wrap(function _callee17$(_context17) {
  33563. while (1) {
  33564. switch (_context17.prev = _context17.next) {
  33565. case 0:
  33566. _this$_cache$keys8 = this._cache.keys;
  33567. t = _this$_cache$keys8.anonymousUuidKey;
  33568. n = _this$_cache$keys8.refreshTokenKey;
  33569. s = this._cache.getStore(t);
  33570. r = this._cache.getStore(n);
  33571. _context17.next = 7;
  33572. return this._request.send("auth.linkAndRetrieveDataWithTicket", {
  33573. anonymous_uuid: s,
  33574. refresh_token: r,
  33575. ticket: e
  33576. });
  33577. case 7:
  33578. i = _context17.sent;
  33579. if (!i.refresh_token) {
  33580. _context17.next = 16;
  33581. break;
  33582. }
  33583. this._clearAnonymousUUID();
  33584. this.setRefreshToken(i.refresh_token);
  33585. _context17.next = 13;
  33586. return this._request.refreshAccessToken();
  33587. case 13:
  33588. De(je, {
  33589. env: this.config.env
  33590. });
  33591. De(Ke, {
  33592. loginType: $e.CUSTOM,
  33593. persistence: "local"
  33594. });
  33595. return _context17.abrupt("return", {
  33596. credential: {
  33597. refreshToken: i.refresh_token
  33598. }
  33599. });
  33600. case 16:
  33601. throw new ne({
  33602. message: "匿名转化失败"
  33603. });
  33604. case 17:
  33605. case "end":
  33606. return _context17.stop();
  33607. }
  33608. }
  33609. }, _callee17, this);
  33610. }));
  33611. function linkAndRetrieveDataWithTicket(_x10) {
  33612. return _linkAndRetrieveDataWithTicket.apply(this, arguments);
  33613. }
  33614. return linkAndRetrieveDataWithTicket;
  33615. }()
  33616. }, {
  33617. key: "_setAnonymousUUID",
  33618. value: function _setAnonymousUUID(e) {
  33619. var _this$_cache$keys9 = this._cache.keys,
  33620. t = _this$_cache$keys9.anonymousUuidKey,
  33621. n = _this$_cache$keys9.loginTypeKey;
  33622. this._cache.removeStore(t), this._cache.setStore(t, e), this._cache.setStore(n, $e.ANONYMOUS);
  33623. }
  33624. }, {
  33625. key: "_clearAnonymousUUID",
  33626. value: function _clearAnonymousUUID() {
  33627. this._cache.removeStore(this._cache.keys.anonymousUuidKey);
  33628. }
  33629. }]);
  33630. return et;
  33631. }(Qe);
  33632. var tt = /*#__PURE__*/function (_Qe2) {
  33633. (0, _inherits2.default)(tt, _Qe2);
  33634. var _super5 = _createSuper(tt);
  33635. function tt() {
  33636. (0, _classCallCheck2.default)(this, tt);
  33637. return _super5.apply(this, arguments);
  33638. }
  33639. (0, _createClass2.default)(tt, [{
  33640. key: "signIn",
  33641. value: function () {
  33642. var _signIn2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(e) {
  33643. var t, n;
  33644. return _regenerator.default.wrap(function _callee18$(_context18) {
  33645. while (1) {
  33646. switch (_context18.prev = _context18.next) {
  33647. case 0:
  33648. if (!("string" != typeof e)) {
  33649. _context18.next = 2;
  33650. break;
  33651. }
  33652. throw new ne({
  33653. code: "PARAM_ERROR",
  33654. message: "ticket must be a string"
  33655. });
  33656. case 2:
  33657. t = this._cache.keys.refreshTokenKey;
  33658. _context18.next = 5;
  33659. return this._request.send("auth.signInWithTicket", {
  33660. ticket: e,
  33661. refresh_token: this._cache.getStore(t) || ""
  33662. });
  33663. case 5:
  33664. n = _context18.sent;
  33665. if (!n.refresh_token) {
  33666. _context18.next = 15;
  33667. break;
  33668. }
  33669. this.setRefreshToken(n.refresh_token);
  33670. _context18.next = 10;
  33671. return this._request.refreshAccessToken();
  33672. case 10:
  33673. De(qe);
  33674. De(Ke, {
  33675. env: this.config.env,
  33676. loginType: $e.CUSTOM,
  33677. persistence: this.config.persistence
  33678. });
  33679. _context18.next = 14;
  33680. return this.refreshUserInfo();
  33681. case 14:
  33682. return _context18.abrupt("return", new Ze(this.config.env));
  33683. case 15:
  33684. throw new ne({
  33685. message: "自定义登录失败"
  33686. });
  33687. case 16:
  33688. case "end":
  33689. return _context18.stop();
  33690. }
  33691. }
  33692. }, _callee18, this);
  33693. }));
  33694. function signIn(_x11) {
  33695. return _signIn2.apply(this, arguments);
  33696. }
  33697. return signIn;
  33698. }()
  33699. }]);
  33700. return tt;
  33701. }(Qe);
  33702. var nt = /*#__PURE__*/function (_Qe3) {
  33703. (0, _inherits2.default)(nt, _Qe3);
  33704. var _super6 = _createSuper(nt);
  33705. function nt() {
  33706. (0, _classCallCheck2.default)(this, nt);
  33707. return _super6.apply(this, arguments);
  33708. }
  33709. (0, _createClass2.default)(nt, [{
  33710. key: "signIn",
  33711. value: function () {
  33712. var _signIn3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19(e, t) {
  33713. var n, s, r, i, o;
  33714. return _regenerator.default.wrap(function _callee19$(_context19) {
  33715. while (1) {
  33716. switch (_context19.prev = _context19.next) {
  33717. case 0:
  33718. if (!("string" != typeof e)) {
  33719. _context19.next = 2;
  33720. break;
  33721. }
  33722. throw new ne({
  33723. code: "PARAM_ERROR",
  33724. message: "email must be a string"
  33725. });
  33726. case 2:
  33727. n = this._cache.keys.refreshTokenKey;
  33728. _context19.next = 5;
  33729. return this._request.send("auth.signIn", {
  33730. loginType: "EMAIL",
  33731. email: e,
  33732. password: t,
  33733. refresh_token: this._cache.getStore(n) || ""
  33734. });
  33735. case 5:
  33736. s = _context19.sent;
  33737. r = s.refresh_token;
  33738. i = s.access_token;
  33739. o = s.access_token_expire;
  33740. if (!r) {
  33741. _context19.next = 22;
  33742. break;
  33743. }
  33744. this.setRefreshToken(r);
  33745. if (!(i && o)) {
  33746. _context19.next = 15;
  33747. break;
  33748. }
  33749. this.setAccessToken(i, o);
  33750. _context19.next = 17;
  33751. break;
  33752. case 15:
  33753. _context19.next = 17;
  33754. return this._request.refreshAccessToken();
  33755. case 17:
  33756. _context19.next = 19;
  33757. return this.refreshUserInfo();
  33758. case 19:
  33759. De(qe);
  33760. De(Ke, {
  33761. env: this.config.env,
  33762. loginType: $e.EMAIL,
  33763. persistence: this.config.persistence
  33764. });
  33765. return _context19.abrupt("return", new Ze(this.config.env));
  33766. case 22:
  33767. throw s.code ? new ne({
  33768. code: s.code,
  33769. message: "\u90AE\u7BB1\u767B\u5F55\u5931\u8D25: ".concat(s.message)
  33770. }) : new ne({
  33771. message: "邮箱登录失败"
  33772. });
  33773. case 23:
  33774. case "end":
  33775. return _context19.stop();
  33776. }
  33777. }
  33778. }, _callee19, this);
  33779. }));
  33780. function signIn(_x12, _x13) {
  33781. return _signIn3.apply(this, arguments);
  33782. }
  33783. return signIn;
  33784. }()
  33785. }, {
  33786. key: "activate",
  33787. value: function () {
  33788. var _activate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(e) {
  33789. return _regenerator.default.wrap(function _callee20$(_context20) {
  33790. while (1) {
  33791. switch (_context20.prev = _context20.next) {
  33792. case 0:
  33793. return _context20.abrupt("return", this._request.send("auth.activateEndUserMail", {
  33794. token: e
  33795. }));
  33796. case 1:
  33797. case "end":
  33798. return _context20.stop();
  33799. }
  33800. }
  33801. }, _callee20, this);
  33802. }));
  33803. function activate(_x14) {
  33804. return _activate.apply(this, arguments);
  33805. }
  33806. return activate;
  33807. }()
  33808. }, {
  33809. key: "resetPasswordWithToken",
  33810. value: function () {
  33811. var _resetPasswordWithToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(e, t) {
  33812. return _regenerator.default.wrap(function _callee21$(_context21) {
  33813. while (1) {
  33814. switch (_context21.prev = _context21.next) {
  33815. case 0:
  33816. return _context21.abrupt("return", this._request.send("auth.resetPasswordWithToken", {
  33817. token: e,
  33818. newPassword: t
  33819. }));
  33820. case 1:
  33821. case "end":
  33822. return _context21.stop();
  33823. }
  33824. }
  33825. }, _callee21, this);
  33826. }));
  33827. function resetPasswordWithToken(_x15, _x16) {
  33828. return _resetPasswordWithToken.apply(this, arguments);
  33829. }
  33830. return resetPasswordWithToken;
  33831. }()
  33832. }]);
  33833. return nt;
  33834. }(Qe);
  33835. var st = /*#__PURE__*/function (_Qe4) {
  33836. (0, _inherits2.default)(st, _Qe4);
  33837. var _super7 = _createSuper(st);
  33838. function st() {
  33839. (0, _classCallCheck2.default)(this, st);
  33840. return _super7.apply(this, arguments);
  33841. }
  33842. (0, _createClass2.default)(st, [{
  33843. key: "signIn",
  33844. value: function () {
  33845. var _signIn4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22(e, t) {
  33846. var n, s, r, i, o;
  33847. return _regenerator.default.wrap(function _callee22$(_context22) {
  33848. while (1) {
  33849. switch (_context22.prev = _context22.next) {
  33850. case 0:
  33851. if (!("string" != typeof e)) {
  33852. _context22.next = 2;
  33853. break;
  33854. }
  33855. throw new ne({
  33856. code: "PARAM_ERROR",
  33857. message: "username must be a string"
  33858. });
  33859. case 2:
  33860. "string" != typeof t && (t = "", console.warn("password is empty"));
  33861. n = this._cache.keys.refreshTokenKey;
  33862. _context22.next = 6;
  33863. return this._request.send("auth.signIn", {
  33864. loginType: $e.USERNAME,
  33865. username: e,
  33866. password: t,
  33867. refresh_token: this._cache.getStore(n) || ""
  33868. });
  33869. case 6:
  33870. s = _context22.sent;
  33871. r = s.refresh_token;
  33872. i = s.access_token_expire;
  33873. o = s.access_token;
  33874. if (!r) {
  33875. _context22.next = 23;
  33876. break;
  33877. }
  33878. this.setRefreshToken(r);
  33879. if (!(o && i)) {
  33880. _context22.next = 16;
  33881. break;
  33882. }
  33883. this.setAccessToken(o, i);
  33884. _context22.next = 18;
  33885. break;
  33886. case 16:
  33887. _context22.next = 18;
  33888. return this._request.refreshAccessToken();
  33889. case 18:
  33890. _context22.next = 20;
  33891. return this.refreshUserInfo();
  33892. case 20:
  33893. De(qe);
  33894. De(Ke, {
  33895. env: this.config.env,
  33896. loginType: $e.USERNAME,
  33897. persistence: this.config.persistence
  33898. });
  33899. return _context22.abrupt("return", new Ze(this.config.env));
  33900. case 23:
  33901. throw s.code ? new ne({
  33902. code: s.code,
  33903. message: "\u7528\u6237\u540D\u5BC6\u7801\u767B\u5F55\u5931\u8D25: ".concat(s.message)
  33904. }) : new ne({
  33905. message: "用户名密码登录失败"
  33906. });
  33907. case 24:
  33908. case "end":
  33909. return _context22.stop();
  33910. }
  33911. }
  33912. }, _callee22, this);
  33913. }));
  33914. function signIn(_x17, _x18) {
  33915. return _signIn4.apply(this, arguments);
  33916. }
  33917. return signIn;
  33918. }()
  33919. }]);
  33920. return st;
  33921. }(Qe);
  33922. var rt = /*#__PURE__*/function () {
  33923. function rt(e) {
  33924. (0, _classCallCheck2.default)(this, rt);
  33925. this.config = e, this._cache = xe(e.env), this._request = Ye(e.env), this._onAnonymousConverted = this._onAnonymousConverted.bind(this), this._onLoginTypeChanged = this._onLoginTypeChanged.bind(this), Ne(Ke, this._onLoginTypeChanged);
  33926. }
  33927. (0, _createClass2.default)(rt, [{
  33928. key: "currentUser",
  33929. get: function get() {
  33930. var e = this.hasLoginState();
  33931. return e && e.user || null;
  33932. }
  33933. }, {
  33934. key: "loginType",
  33935. get: function get() {
  33936. return this._cache.getStore(this._cache.keys.loginTypeKey);
  33937. }
  33938. }, {
  33939. key: "anonymousAuthProvider",
  33940. value: function anonymousAuthProvider() {
  33941. return new et(this.config);
  33942. }
  33943. }, {
  33944. key: "customAuthProvider",
  33945. value: function customAuthProvider() {
  33946. return new tt(this.config);
  33947. }
  33948. }, {
  33949. key: "emailAuthProvider",
  33950. value: function emailAuthProvider() {
  33951. return new nt(this.config);
  33952. }
  33953. }, {
  33954. key: "usernameAuthProvider",
  33955. value: function usernameAuthProvider() {
  33956. return new st(this.config);
  33957. }
  33958. }, {
  33959. key: "signInAnonymously",
  33960. value: function () {
  33961. var _signInAnonymously = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
  33962. return _regenerator.default.wrap(function _callee23$(_context23) {
  33963. while (1) {
  33964. switch (_context23.prev = _context23.next) {
  33965. case 0:
  33966. return _context23.abrupt("return", new et(this.config).signIn());
  33967. case 1:
  33968. case "end":
  33969. return _context23.stop();
  33970. }
  33971. }
  33972. }, _callee23, this);
  33973. }));
  33974. function signInAnonymously() {
  33975. return _signInAnonymously.apply(this, arguments);
  33976. }
  33977. return signInAnonymously;
  33978. }()
  33979. }, {
  33980. key: "signInWithEmailAndPassword",
  33981. value: function () {
  33982. var _signInWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24(e, t) {
  33983. return _regenerator.default.wrap(function _callee24$(_context24) {
  33984. while (1) {
  33985. switch (_context24.prev = _context24.next) {
  33986. case 0:
  33987. return _context24.abrupt("return", new nt(this.config).signIn(e, t));
  33988. case 1:
  33989. case "end":
  33990. return _context24.stop();
  33991. }
  33992. }
  33993. }, _callee24, this);
  33994. }));
  33995. function signInWithEmailAndPassword(_x19, _x20) {
  33996. return _signInWithEmailAndPassword.apply(this, arguments);
  33997. }
  33998. return signInWithEmailAndPassword;
  33999. }()
  34000. }, {
  34001. key: "signInWithUsernameAndPassword",
  34002. value: function signInWithUsernameAndPassword(e, t) {
  34003. return new st(this.config).signIn(e, t);
  34004. }
  34005. }, {
  34006. key: "linkAndRetrieveDataWithTicket",
  34007. value: function () {
  34008. var _linkAndRetrieveDataWithTicket2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(e) {
  34009. return _regenerator.default.wrap(function _callee25$(_context25) {
  34010. while (1) {
  34011. switch (_context25.prev = _context25.next) {
  34012. case 0:
  34013. this._anonymousAuthProvider || (this._anonymousAuthProvider = new et(this.config)), Ne(je, this._onAnonymousConverted);
  34014. _context25.next = 3;
  34015. return this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e);
  34016. case 3:
  34017. return _context25.abrupt("return", _context25.sent);
  34018. case 4:
  34019. case "end":
  34020. return _context25.stop();
  34021. }
  34022. }
  34023. }, _callee25, this);
  34024. }));
  34025. function linkAndRetrieveDataWithTicket(_x21) {
  34026. return _linkAndRetrieveDataWithTicket2.apply(this, arguments);
  34027. }
  34028. return linkAndRetrieveDataWithTicket;
  34029. }()
  34030. }, {
  34031. key: "signOut",
  34032. value: function () {
  34033. var _signOut = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() {
  34034. var _this$_cache$keys10, e, t, n, s, r;
  34035. return _regenerator.default.wrap(function _callee26$(_context26) {
  34036. while (1) {
  34037. switch (_context26.prev = _context26.next) {
  34038. case 0:
  34039. if (!(this.loginType === $e.ANONYMOUS)) {
  34040. _context26.next = 2;
  34041. break;
  34042. }
  34043. throw new ne({
  34044. message: "匿名用户不支持登出操作"
  34045. });
  34046. case 2:
  34047. _this$_cache$keys10 = this._cache.keys, e = _this$_cache$keys10.refreshTokenKey, t = _this$_cache$keys10.accessTokenKey, n = _this$_cache$keys10.accessTokenExpireKey, s = this._cache.getStore(e);
  34048. if (s) {
  34049. _context26.next = 5;
  34050. break;
  34051. }
  34052. return _context26.abrupt("return");
  34053. case 5:
  34054. _context26.next = 7;
  34055. return this._request.send("auth.logout", {
  34056. refresh_token: s
  34057. });
  34058. case 7:
  34059. r = _context26.sent;
  34060. return _context26.abrupt("return", (this._cache.removeStore(e), this._cache.removeStore(t), this._cache.removeStore(n), De(qe), De(Ke, {
  34061. env: this.config.env,
  34062. loginType: $e.NULL,
  34063. persistence: this.config.persistence
  34064. }), r));
  34065. case 9:
  34066. case "end":
  34067. return _context26.stop();
  34068. }
  34069. }
  34070. }, _callee26, this);
  34071. }));
  34072. function signOut() {
  34073. return _signOut.apply(this, arguments);
  34074. }
  34075. return signOut;
  34076. }()
  34077. }, {
  34078. key: "signUpWithEmailAndPassword",
  34079. value: function () {
  34080. var _signUpWithEmailAndPassword = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(e, t) {
  34081. return _regenerator.default.wrap(function _callee27$(_context27) {
  34082. while (1) {
  34083. switch (_context27.prev = _context27.next) {
  34084. case 0:
  34085. return _context27.abrupt("return", this._request.send("auth.signUpWithEmailAndPassword", {
  34086. email: e,
  34087. password: t
  34088. }));
  34089. case 1:
  34090. case "end":
  34091. return _context27.stop();
  34092. }
  34093. }
  34094. }, _callee27, this);
  34095. }));
  34096. function signUpWithEmailAndPassword(_x22, _x23) {
  34097. return _signUpWithEmailAndPassword.apply(this, arguments);
  34098. }
  34099. return signUpWithEmailAndPassword;
  34100. }()
  34101. }, {
  34102. key: "sendPasswordResetEmail",
  34103. value: function () {
  34104. var _sendPasswordResetEmail = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(e) {
  34105. return _regenerator.default.wrap(function _callee28$(_context28) {
  34106. while (1) {
  34107. switch (_context28.prev = _context28.next) {
  34108. case 0:
  34109. return _context28.abrupt("return", this._request.send("auth.sendPasswordResetEmail", {
  34110. email: e
  34111. }));
  34112. case 1:
  34113. case "end":
  34114. return _context28.stop();
  34115. }
  34116. }
  34117. }, _callee28, this);
  34118. }));
  34119. function sendPasswordResetEmail(_x24) {
  34120. return _sendPasswordResetEmail.apply(this, arguments);
  34121. }
  34122. return sendPasswordResetEmail;
  34123. }()
  34124. }, {
  34125. key: "onLoginStateChanged",
  34126. value: function onLoginStateChanged(e) {
  34127. var _this9 = this;
  34128. Ne(qe, function () {
  34129. var t = _this9.hasLoginState();
  34130. e.call(_this9, t);
  34131. });
  34132. var t = this.hasLoginState();
  34133. e.call(this, t);
  34134. }
  34135. }, {
  34136. key: "onLoginStateExpired",
  34137. value: function onLoginStateExpired(e) {
  34138. Ne(Me, e.bind(this));
  34139. }
  34140. }, {
  34141. key: "onAccessTokenRefreshed",
  34142. value: function onAccessTokenRefreshed(e) {
  34143. Ne(Be, e.bind(this));
  34144. }
  34145. }, {
  34146. key: "onAnonymousConverted",
  34147. value: function onAnonymousConverted(e) {
  34148. Ne(je, e.bind(this));
  34149. }
  34150. }, {
  34151. key: "onLoginTypeChanged",
  34152. value: function onLoginTypeChanged(e) {
  34153. var _this10 = this;
  34154. Ne(Ke, function () {
  34155. var t = _this10.hasLoginState();
  34156. e.call(_this10, t);
  34157. });
  34158. }
  34159. }, {
  34160. key: "getAccessToken",
  34161. value: function () {
  34162. var _getAccessToken2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
  34163. return _regenerator.default.wrap(function _callee29$(_context29) {
  34164. while (1) {
  34165. switch (_context29.prev = _context29.next) {
  34166. case 0:
  34167. _context29.next = 2;
  34168. return this._request.getAccessToken();
  34169. case 2:
  34170. _context29.t0 = _context29.sent.accessToken;
  34171. _context29.t1 = this.config.env;
  34172. return _context29.abrupt("return", {
  34173. accessToken: _context29.t0,
  34174. env: _context29.t1
  34175. });
  34176. case 5:
  34177. case "end":
  34178. return _context29.stop();
  34179. }
  34180. }
  34181. }, _callee29, this);
  34182. }));
  34183. function getAccessToken() {
  34184. return _getAccessToken2.apply(this, arguments);
  34185. }
  34186. return getAccessToken;
  34187. }()
  34188. }, {
  34189. key: "hasLoginState",
  34190. value: function hasLoginState() {
  34191. var e = this._cache.keys.refreshTokenKey;
  34192. return this._cache.getStore(e) ? new Ze(this.config.env) : null;
  34193. }
  34194. }, {
  34195. key: "isUsernameRegistered",
  34196. value: function () {
  34197. var _isUsernameRegistered = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30(e) {
  34198. var _yield$this$_request$5, t;
  34199. return _regenerator.default.wrap(function _callee30$(_context30) {
  34200. while (1) {
  34201. switch (_context30.prev = _context30.next) {
  34202. case 0:
  34203. if (!("string" != typeof e)) {
  34204. _context30.next = 2;
  34205. break;
  34206. }
  34207. throw new ne({
  34208. code: "PARAM_ERROR",
  34209. message: "username must be a string"
  34210. });
  34211. case 2:
  34212. _context30.next = 4;
  34213. return this._request.send("auth.isUsernameRegistered", {
  34214. username: e
  34215. });
  34216. case 4:
  34217. _yield$this$_request$5 = _context30.sent;
  34218. t = _yield$this$_request$5.data;
  34219. return _context30.abrupt("return", t && t.isRegistered);
  34220. case 7:
  34221. case "end":
  34222. return _context30.stop();
  34223. }
  34224. }
  34225. }, _callee30, this);
  34226. }));
  34227. function isUsernameRegistered(_x25) {
  34228. return _isUsernameRegistered.apply(this, arguments);
  34229. }
  34230. return isUsernameRegistered;
  34231. }()
  34232. }, {
  34233. key: "getLoginState",
  34234. value: function getLoginState() {
  34235. return Promise.resolve(this.hasLoginState());
  34236. }
  34237. }, {
  34238. key: "signInWithTicket",
  34239. value: function () {
  34240. var _signInWithTicket = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31(e) {
  34241. return _regenerator.default.wrap(function _callee31$(_context31) {
  34242. while (1) {
  34243. switch (_context31.prev = _context31.next) {
  34244. case 0:
  34245. return _context31.abrupt("return", new tt(this.config).signIn(e));
  34246. case 1:
  34247. case "end":
  34248. return _context31.stop();
  34249. }
  34250. }
  34251. }, _callee31, this);
  34252. }));
  34253. function signInWithTicket(_x26) {
  34254. return _signInWithTicket.apply(this, arguments);
  34255. }
  34256. return signInWithTicket;
  34257. }()
  34258. }, {
  34259. key: "shouldRefreshAccessToken",
  34260. value: function shouldRefreshAccessToken(e) {
  34261. this._request._shouldRefreshAccessTokenHook = e.bind(this);
  34262. }
  34263. }, {
  34264. key: "getUserInfo",
  34265. value: function getUserInfo() {
  34266. return this._request.send("auth.getUserInfo", {}).then(function (e) {
  34267. return e.code ? e : _objectSpread(_objectSpread({}, e.data), {}, {
  34268. requestId: e.seqId
  34269. });
  34270. });
  34271. }
  34272. }, {
  34273. key: "getAuthHeader",
  34274. value: function getAuthHeader() {
  34275. var _this$_cache$keys11 = this._cache.keys,
  34276. e = _this$_cache$keys11.refreshTokenKey,
  34277. t = _this$_cache$keys11.accessTokenKey,
  34278. n = this._cache.getStore(e);
  34279. return {
  34280. "x-cloudbase-credentials": this._cache.getStore(t) + "/@@/" + n
  34281. };
  34282. }
  34283. }, {
  34284. key: "_onAnonymousConverted",
  34285. value: function _onAnonymousConverted(e) {
  34286. var t = e.data.env;
  34287. t === this.config.env && this._cache.updatePersistence(this.config.persistence);
  34288. }
  34289. }, {
  34290. key: "_onLoginTypeChanged",
  34291. value: function _onLoginTypeChanged(e) {
  34292. var _e$data = e.data,
  34293. t = _e$data.loginType,
  34294. n = _e$data.persistence,
  34295. s = _e$data.env;
  34296. s === this.config.env && (this._cache.updatePersistence(n), this._cache.setStore(this._cache.keys.loginTypeKey, t));
  34297. }
  34298. }]);
  34299. return rt;
  34300. }();
  34301. var it = function it(e, t) {
  34302. t = t || we();
  34303. var n = Ye(this.config.env),
  34304. s = e.cloudPath,
  34305. r = e.filePath,
  34306. i = e.onUploadProgress,
  34307. _e$fileType = e.fileType,
  34308. o = _e$fileType === void 0 ? "image" : _e$fileType;
  34309. return n.send("storage.getUploadMetadata", {
  34310. path: s
  34311. }).then(function (e) {
  34312. var _e$data2 = e.data,
  34313. a = _e$data2.url,
  34314. c = _e$data2.authorization,
  34315. u = _e$data2.token,
  34316. h = _e$data2.fileId,
  34317. l = _e$data2.cosFileId,
  34318. d = e.requestId,
  34319. p = {
  34320. key: s,
  34321. signature: c,
  34322. "x-cos-meta-fileid": l,
  34323. success_action_status: "201",
  34324. "x-cos-security-token": u
  34325. };
  34326. n.upload({
  34327. url: a,
  34328. data: p,
  34329. file: r,
  34330. name: s,
  34331. fileType: o,
  34332. onUploadProgress: i
  34333. }).then(function (e) {
  34334. 201 === e.statusCode ? t(null, {
  34335. fileID: h,
  34336. requestId: d
  34337. }) : t(new ne({
  34338. code: "STORAGE_REQUEST_FAIL",
  34339. message: "STORAGE_REQUEST_FAIL: ".concat(e.data)
  34340. }));
  34341. }).catch(function (e) {
  34342. t(e);
  34343. });
  34344. }).catch(function (e) {
  34345. t(e);
  34346. }), t.promise;
  34347. },
  34348. ot = function ot(e, t) {
  34349. t = t || we();
  34350. var n = Ye(this.config.env),
  34351. s = e.cloudPath;
  34352. return n.send("storage.getUploadMetadata", {
  34353. path: s
  34354. }).then(function (e) {
  34355. t(null, e);
  34356. }).catch(function (e) {
  34357. t(e);
  34358. }), t.promise;
  34359. },
  34360. at = function at(_ref7, t) {
  34361. var e = _ref7.fileList;
  34362. if (t = t || we(), !e || !Array.isArray(e)) return {
  34363. code: "INVALID_PARAM",
  34364. message: "fileList必须是非空的数组"
  34365. };
  34366. var _iterator3 = _createForOfIteratorHelper(e),
  34367. _step3;
  34368. try {
  34369. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  34370. var _t8 = _step3.value;
  34371. if (!_t8 || "string" != typeof _t8) return {
  34372. code: "INVALID_PARAM",
  34373. message: "fileList的元素必须是非空的字符串"
  34374. };
  34375. }
  34376. } catch (err) {
  34377. _iterator3.e(err);
  34378. } finally {
  34379. _iterator3.f();
  34380. }
  34381. var n = {
  34382. fileid_list: e
  34383. };
  34384. return Ye(this.config.env).send("storage.batchDeleteFile", n).then(function (e) {
  34385. e.code ? t(null, e) : t(null, {
  34386. fileList: e.data.delete_list,
  34387. requestId: e.requestId
  34388. });
  34389. }).catch(function (e) {
  34390. t(e);
  34391. }), t.promise;
  34392. },
  34393. ct = function ct(_ref8, t) {
  34394. var e = _ref8.fileList;
  34395. t = t || we(), e && Array.isArray(e) || t(null, {
  34396. code: "INVALID_PARAM",
  34397. message: "fileList必须是非空的数组"
  34398. });
  34399. var n = [];
  34400. var _iterator4 = _createForOfIteratorHelper(e),
  34401. _step4;
  34402. try {
  34403. for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
  34404. var _s9 = _step4.value;
  34405. "object" == (0, _typeof2.default)(_s9) ? (_s9.hasOwnProperty("fileID") && _s9.hasOwnProperty("maxAge") || t(null, {
  34406. code: "INVALID_PARAM",
  34407. message: "fileList的元素必须是包含fileID和maxAge的对象"
  34408. }), n.push({
  34409. fileid: _s9.fileID,
  34410. max_age: _s9.maxAge
  34411. })) : "string" == typeof _s9 ? n.push({
  34412. fileid: _s9
  34413. }) : t(null, {
  34414. code: "INVALID_PARAM",
  34415. message: "fileList的元素必须是字符串"
  34416. });
  34417. }
  34418. } catch (err) {
  34419. _iterator4.e(err);
  34420. } finally {
  34421. _iterator4.f();
  34422. }
  34423. var s = {
  34424. file_list: n
  34425. };
  34426. return Ye(this.config.env).send("storage.batchGetDownloadUrl", s).then(function (e) {
  34427. e.code ? t(null, e) : t(null, {
  34428. fileList: e.data.download_list,
  34429. requestId: e.requestId
  34430. });
  34431. }).catch(function (e) {
  34432. t(e);
  34433. }), t.promise;
  34434. },
  34435. ut = /*#__PURE__*/function () {
  34436. var _ref10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32(_ref9, t) {
  34437. var e, n, s, r;
  34438. return _regenerator.default.wrap(function _callee32$(_context32) {
  34439. while (1) {
  34440. switch (_context32.prev = _context32.next) {
  34441. case 0:
  34442. e = _ref9.fileID;
  34443. _context32.next = 3;
  34444. return ct.call(this, {
  34445. fileList: [{
  34446. fileID: e,
  34447. maxAge: 600
  34448. }]
  34449. });
  34450. case 3:
  34451. n = _context32.sent.fileList[0];
  34452. if (!("SUCCESS" !== n.code)) {
  34453. _context32.next = 6;
  34454. break;
  34455. }
  34456. return _context32.abrupt("return", t ? t(n) : new Promise(function (e) {
  34457. e(n);
  34458. }));
  34459. case 6:
  34460. s = Ye(this.config.env);
  34461. r = n.download_url;
  34462. if (!(r = encodeURI(r), !t)) {
  34463. _context32.next = 10;
  34464. break;
  34465. }
  34466. return _context32.abrupt("return", s.download({
  34467. url: r
  34468. }));
  34469. case 10:
  34470. _context32.t0 = t;
  34471. _context32.next = 13;
  34472. return s.download({
  34473. url: r
  34474. });
  34475. case 13:
  34476. _context32.t1 = _context32.sent;
  34477. (0, _context32.t0)(_context32.t1);
  34478. case 15:
  34479. case "end":
  34480. return _context32.stop();
  34481. }
  34482. }
  34483. }, _callee32, this);
  34484. }));
  34485. return function ut(_x27, _x28) {
  34486. return _ref10.apply(this, arguments);
  34487. };
  34488. }(),
  34489. ht = function ht(_ref11, i) {
  34490. var e = _ref11.name,
  34491. t = _ref11.data,
  34492. n = _ref11.query,
  34493. s = _ref11.parse,
  34494. r = _ref11.search;
  34495. var o = i || we();
  34496. var a;
  34497. try {
  34498. a = t ? JSON.stringify(t) : "";
  34499. } catch (e) {
  34500. return Promise.reject(e);
  34501. }
  34502. if (!e) return Promise.reject(new ne({
  34503. code: "PARAM_ERROR",
  34504. message: "函数名不能为空"
  34505. }));
  34506. var c = {
  34507. inQuery: n,
  34508. parse: s,
  34509. search: r,
  34510. function_name: e,
  34511. request_data: a
  34512. };
  34513. return Ye(this.config.env).send("functions.invokeFunction", c).then(function (e) {
  34514. if (e.code) o(null, e);else {
  34515. var _t9 = e.data.response_data;
  34516. if (s) o(null, {
  34517. result: _t9,
  34518. requestId: e.requestId
  34519. });else try {
  34520. _t9 = JSON.parse(e.data.response_data), o(null, {
  34521. result: _t9,
  34522. requestId: e.requestId
  34523. });
  34524. } catch (e) {
  34525. o(new ne({
  34526. message: "response data must be json"
  34527. }));
  34528. }
  34529. }
  34530. return o.promise;
  34531. }).catch(function (e) {
  34532. o(e);
  34533. }), o.promise;
  34534. },
  34535. lt = {
  34536. timeout: 15e3,
  34537. persistence: "session"
  34538. },
  34539. dt = {};
  34540. var pt = /*#__PURE__*/function () {
  34541. function pt(e) {
  34542. (0, _classCallCheck2.default)(this, pt);
  34543. this.config = e || this.config, this.authObj = void 0;
  34544. }
  34545. (0, _createClass2.default)(pt, [{
  34546. key: "init",
  34547. value: function init(e) {
  34548. switch (ke.adapter || (this.requestClient = new ke.adapter.reqClass({
  34549. timeout: e.timeout || 5e3,
  34550. timeoutMsg: "\u8BF7\u6C42\u5728".concat((e.timeout || 5e3) / 1e3, "s\u5185\u672A\u5B8C\u6210\uFF0C\u5DF2\u4E2D\u65AD")
  34551. })), this.config = _objectSpread(_objectSpread({}, lt), e), !0) {
  34552. case this.config.timeout > 6e5:
  34553. console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"), this.config.timeout = 6e5;
  34554. break;
  34555. case this.config.timeout < 100:
  34556. console.warn("timeout小于可配置下限[100ms],已重置为下限数值"), this.config.timeout = 100;
  34557. }
  34558. return new pt(this.config);
  34559. }
  34560. }, {
  34561. key: "auth",
  34562. value: function auth() {
  34563. var _ref12 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  34564. e = _ref12.persistence;
  34565. if (this.authObj) return this.authObj;
  34566. var t = e || ke.adapter.primaryStorage || lt.persistence;
  34567. var n;
  34568. return t !== this.config.persistence && (this.config.persistence = t), function (e) {
  34569. var t = e.env;
  34570. Ee[t] = new Ae(e), Oe[t] = new Ae(_objectSpread(_objectSpread({}, e), {}, {
  34571. persistence: "local"
  34572. }));
  34573. }(this.config), n = this.config, Ve[n.env] = new Ge(n), this.authObj = new rt(this.config), this.authObj;
  34574. }
  34575. }, {
  34576. key: "on",
  34577. value: function on(e, t) {
  34578. return Ne.apply(this, [e, t]);
  34579. }
  34580. }, {
  34581. key: "off",
  34582. value: function off(e, t) {
  34583. return Fe.apply(this, [e, t]);
  34584. }
  34585. }, {
  34586. key: "callFunction",
  34587. value: function callFunction(e, t) {
  34588. return ht.apply(this, [e, t]);
  34589. }
  34590. }, {
  34591. key: "deleteFile",
  34592. value: function deleteFile(e, t) {
  34593. return at.apply(this, [e, t]);
  34594. }
  34595. }, {
  34596. key: "getTempFileURL",
  34597. value: function getTempFileURL(e, t) {
  34598. return ct.apply(this, [e, t]);
  34599. }
  34600. }, {
  34601. key: "downloadFile",
  34602. value: function downloadFile(e, t) {
  34603. return ut.apply(this, [e, t]);
  34604. }
  34605. }, {
  34606. key: "uploadFile",
  34607. value: function uploadFile(e, t) {
  34608. return it.apply(this, [e, t]);
  34609. }
  34610. }, {
  34611. key: "getUploadMetadata",
  34612. value: function getUploadMetadata(e, t) {
  34613. return ot.apply(this, [e, t]);
  34614. }
  34615. }, {
  34616. key: "registerExtension",
  34617. value: function registerExtension(e) {
  34618. dt[e.name] = e;
  34619. }
  34620. }, {
  34621. key: "invokeExtension",
  34622. value: function () {
  34623. var _invokeExtension = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33(e, t) {
  34624. var n;
  34625. return _regenerator.default.wrap(function _callee33$(_context33) {
  34626. while (1) {
  34627. switch (_context33.prev = _context33.next) {
  34628. case 0:
  34629. n = dt[e];
  34630. if (n) {
  34631. _context33.next = 3;
  34632. break;
  34633. }
  34634. throw new ne({
  34635. message: "\u6269\u5C55".concat(e, " \u5FC5\u987B\u5148\u6CE8\u518C")
  34636. });
  34637. case 3:
  34638. _context33.next = 5;
  34639. return n.invoke(t, this);
  34640. case 5:
  34641. return _context33.abrupt("return", _context33.sent);
  34642. case 6:
  34643. case "end":
  34644. return _context33.stop();
  34645. }
  34646. }
  34647. }, _callee33, this);
  34648. }));
  34649. function invokeExtension(_x29, _x30) {
  34650. return _invokeExtension.apply(this, arguments);
  34651. }
  34652. return invokeExtension;
  34653. }()
  34654. }, {
  34655. key: "useAdapters",
  34656. value: function useAdapters(e) {
  34657. var _ref13 = be(e) || {},
  34658. t = _ref13.adapter,
  34659. n = _ref13.runtime;
  34660. t && (ke.adapter = t), n && (ke.runtime = n);
  34661. }
  34662. }]);
  34663. return pt;
  34664. }();
  34665. var ft = new pt();
  34666. function gt(e, t, n) {
  34667. void 0 === n && (n = {});
  34668. var s = /\?/.test(t),
  34669. r = "";
  34670. for (var i in n) {
  34671. "" === r ? !s && (t += "?") : r += "&", r += i + "=" + encodeURIComponent(n[i]);
  34672. }
  34673. return /^http(s)?:\/\//.test(t += r) ? t : "" + e + t;
  34674. }
  34675. var mt = /*#__PURE__*/function () {
  34676. function mt() {
  34677. (0, _classCallCheck2.default)(this, mt);
  34678. }
  34679. (0, _createClass2.default)(mt, [{
  34680. key: "post",
  34681. value: function post(e) {
  34682. var t = e.url,
  34683. n = e.data,
  34684. s = e.headers;
  34685. return new Promise(function (e, r) {
  34686. se.request({
  34687. url: gt("https:", t),
  34688. data: n,
  34689. method: "POST",
  34690. header: s,
  34691. success: function success(t) {
  34692. e(t);
  34693. },
  34694. fail: function fail(e) {
  34695. r(e);
  34696. }
  34697. });
  34698. });
  34699. }
  34700. }, {
  34701. key: "upload",
  34702. value: function upload(e) {
  34703. return new Promise(function (t, n) {
  34704. var s = e.url,
  34705. r = e.file,
  34706. i = e.data,
  34707. o = e.headers,
  34708. a = e.fileType,
  34709. c = se.uploadFile({
  34710. url: gt("https:", s),
  34711. name: "file",
  34712. formData: Object.assign({}, i),
  34713. filePath: r,
  34714. fileType: a,
  34715. header: o,
  34716. success: function success(e) {
  34717. var n = {
  34718. statusCode: e.statusCode,
  34719. data: e.data || {}
  34720. };
  34721. 200 === e.statusCode && i.success_action_status && (n.statusCode = parseInt(i.success_action_status, 10)), t(n);
  34722. },
  34723. fail: function fail(e) {
  34724. n(new Error(e.errMsg || "uploadFile:fail"));
  34725. }
  34726. });
  34727. "function" == typeof e.onUploadProgress && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (t) {
  34728. e.onUploadProgress({
  34729. loaded: t.totalBytesSent,
  34730. total: t.totalBytesExpectedToSend
  34731. });
  34732. });
  34733. });
  34734. }
  34735. }]);
  34736. return mt;
  34737. }();
  34738. var yt = {
  34739. setItem: function setItem(e, t) {
  34740. se.setStorageSync(e, t);
  34741. },
  34742. getItem: function getItem(e) {
  34743. return se.getStorageSync(e);
  34744. },
  34745. removeItem: function removeItem(e) {
  34746. se.removeStorageSync(e);
  34747. },
  34748. clear: function clear() {
  34749. se.clearStorageSync();
  34750. }
  34751. };
  34752. var _t = {
  34753. genAdapter: function genAdapter() {
  34754. return {
  34755. root: {},
  34756. reqClass: mt,
  34757. localStorage: yt,
  34758. primaryStorage: "local"
  34759. };
  34760. },
  34761. isMatch: function isMatch() {
  34762. return !0;
  34763. },
  34764. runtime: "uni_app"
  34765. };
  34766. ft.useAdapters(_t);
  34767. var wt = ft,
  34768. vt = wt.init;
  34769. wt.init = function (e) {
  34770. e.env = e.spaceId;
  34771. var t = vt.call(this, e);
  34772. t.config.provider = "tencent", t.config.spaceId = e.spaceId;
  34773. var n = t.auth;
  34774. return t.auth = function (e) {
  34775. var t = n.call(this, e);
  34776. return ["linkAndRetrieveDataWithTicket", "signInAnonymously", "signOut", "getAccessToken", "getLoginState", "signInWithTicket", "getUserInfo"].forEach(function (e) {
  34777. var n;
  34778. t[e] = (n = t[e], function (e) {
  34779. e = e || {};
  34780. var _te = te(e),
  34781. t = _te.success,
  34782. s = _te.fail,
  34783. r = _te.complete;
  34784. if (!(t || s || r)) return n.call(this, e);
  34785. n.call(this, e).then(function (e) {
  34786. t && t(e), r && r(e);
  34787. }, function (e) {
  34788. s && s(e), r && r(e);
  34789. });
  34790. }).bind(t);
  34791. }), t;
  34792. }, t.customAuth = t.auth, t;
  34793. };
  34794. var It = wt;
  34795. var St = /*#__PURE__*/function (_fe) {
  34796. (0, _inherits2.default)(St, _fe);
  34797. var _super8 = _createSuper(St);
  34798. function St() {
  34799. (0, _classCallCheck2.default)(this, St);
  34800. return _super8.apply(this, arguments);
  34801. }
  34802. (0, _createClass2.default)(St, [{
  34803. key: "getAccessToken",
  34804. value: function getAccessToken() {
  34805. var _this11 = this;
  34806. return new Promise(function (e, t) {
  34807. var n = "Anonymous_Access_token";
  34808. _this11.setAccessToken(n), e(n);
  34809. });
  34810. }
  34811. }, {
  34812. key: "setupRequest",
  34813. value: function setupRequest(e, t) {
  34814. var n = Object.assign({}, e, {
  34815. spaceId: this.config.spaceId,
  34816. timestamp: Date.now()
  34817. }),
  34818. s = {
  34819. "Content-Type": "application/json"
  34820. };
  34821. "auth" !== t && (n.token = this.accessToken, s["x-basement-token"] = this.accessToken), s["x-serverless-sign"] = le.sign(n, this.config.clientSecret);
  34822. var r = he();
  34823. s["x-client-info"] = encodeURIComponent(JSON.stringify(r));
  34824. var _re = re(),
  34825. i = _re.token;
  34826. return s["x-client-token"] = i, {
  34827. url: this.config.requestUrl,
  34828. method: "POST",
  34829. data: n,
  34830. dataType: "json",
  34831. header: JSON.parse(JSON.stringify(s))
  34832. };
  34833. }
  34834. }, {
  34835. key: "uploadFileToOSS",
  34836. value: function uploadFileToOSS(_ref14) {
  34837. var _this12 = this;
  34838. var e = _ref14.url,
  34839. t = _ref14.formData,
  34840. n = _ref14.name,
  34841. s = _ref14.filePath,
  34842. r = _ref14.fileType,
  34843. i = _ref14.onUploadProgress;
  34844. return new Promise(function (o, a) {
  34845. var c = _this12.adapter.uploadFile({
  34846. url: e,
  34847. formData: t,
  34848. name: n,
  34849. filePath: s,
  34850. fileType: r,
  34851. success: function success(e) {
  34852. e && e.statusCode < 400 ? o(e) : a(new ne({
  34853. code: "UPLOAD_FAILED",
  34854. message: "文件上传失败"
  34855. }));
  34856. },
  34857. fail: function fail(e) {
  34858. a(new ne({
  34859. code: e.code || "UPLOAD_FAILED",
  34860. message: e.message || e.errMsg || "文件上传失败"
  34861. }));
  34862. }
  34863. });
  34864. "function" == typeof i && c && "function" == typeof c.onProgressUpdate && c.onProgressUpdate(function (e) {
  34865. i({
  34866. loaded: e.totalBytesSent,
  34867. total: e.totalBytesExpectedToSend
  34868. });
  34869. });
  34870. });
  34871. }
  34872. }, {
  34873. key: "uploadFile",
  34874. value: function uploadFile(_ref15) {
  34875. var _this13 = this;
  34876. var e = _ref15.filePath,
  34877. t = _ref15.cloudPath,
  34878. _ref15$fileType = _ref15.fileType,
  34879. n = _ref15$fileType === void 0 ? "image" : _ref15$fileType,
  34880. s = _ref15.onUploadProgress;
  34881. if (!t) throw new ne({
  34882. code: "CLOUDPATH_REQUIRED",
  34883. message: "cloudPath不可为空"
  34884. });
  34885. var r;
  34886. return this.getOSSUploadOptionsFromPath({
  34887. cloudPath: t
  34888. }).then(function (t) {
  34889. var _t$result = t.result,
  34890. i = _t$result.url,
  34891. o = _t$result.formData,
  34892. a = _t$result.name;
  34893. r = t.result.fileUrl;
  34894. var c = {
  34895. url: i,
  34896. formData: o,
  34897. name: a,
  34898. filePath: e,
  34899. fileType: n
  34900. };
  34901. return _this13.uploadFileToOSS(Object.assign({}, c, {
  34902. onUploadProgress: s
  34903. }));
  34904. }).then(function () {
  34905. return _this13.reportOSSUpload({
  34906. cloudPath: t
  34907. });
  34908. }).then(function (t) {
  34909. return new Promise(function (n, s) {
  34910. t.success ? n({
  34911. success: !0,
  34912. filePath: e,
  34913. fileID: r
  34914. }) : s(new ne({
  34915. code: "UPLOAD_FAILED",
  34916. message: "文件上传失败"
  34917. }));
  34918. });
  34919. });
  34920. }
  34921. }, {
  34922. key: "deleteFile",
  34923. value: function deleteFile(_ref16) {
  34924. var e = _ref16.fileList;
  34925. var t = {
  34926. method: "serverless.file.resource.delete",
  34927. params: JSON.stringify({
  34928. fileList: e
  34929. })
  34930. };
  34931. return this.request(this.setupRequest(t)).then(function (e) {
  34932. if (e.success) return e.result;
  34933. throw new ne({
  34934. code: "DELETE_FILE_FAILED",
  34935. message: "删除文件失败"
  34936. });
  34937. });
  34938. }
  34939. }, {
  34940. key: "getTempFileURL",
  34941. value: function getTempFileURL() {
  34942. var _ref17 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  34943. e = _ref17.fileList;
  34944. if (!Array.isArray(e) || 0 === e.length) throw new ne({
  34945. code: "INVALID_PARAM",
  34946. message: "fileList的元素必须是非空的字符串"
  34947. });
  34948. var t = {
  34949. method: "serverless.file.resource.getTempFileURL",
  34950. params: JSON.stringify({
  34951. fileList: e
  34952. })
  34953. };
  34954. return this.request(this.setupRequest(t)).then(function (e) {
  34955. if (e.success) return {
  34956. fileList: e.result.fileList.map(function (e) {
  34957. return {
  34958. fileID: e.fileID,
  34959. tempFileURL: e.tempFileURL
  34960. };
  34961. })
  34962. };
  34963. throw new ne({
  34964. code: "GET_TEMP_FILE_URL_FAILED",
  34965. message: "获取临时文件链接失败"
  34966. });
  34967. });
  34968. }
  34969. }]);
  34970. return St;
  34971. }(fe);
  34972. var bt = {
  34973. init: function init(e) {
  34974. var t = new St(e),
  34975. n = {
  34976. signInAnonymously: function signInAnonymously() {
  34977. return t.authorize();
  34978. },
  34979. getLoginState: function getLoginState() {
  34980. return Promise.resolve(!1);
  34981. }
  34982. };
  34983. return t.auth = function () {
  34984. return n;
  34985. }, t.customAuth = t.auth, t;
  34986. }
  34987. };
  34988. function kt(_ref18) {
  34989. var e = _ref18.data;
  34990. var t;
  34991. t = he();
  34992. var n = JSON.parse(JSON.stringify(e || {}));
  34993. if (Object.assign(n, {
  34994. clientInfo: t
  34995. }), !n.uniIdToken) {
  34996. var _re2 = re(),
  34997. _e19 = _re2.token;
  34998. _e19 && (n.uniIdToken = _e19);
  34999. }
  35000. return n;
  35001. }
  35002. function Ct() {
  35003. return _Ct.apply(this, arguments);
  35004. }
  35005. function _Ct() {
  35006. _Ct = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
  35007. var _this26 = this;
  35008. var _ref60,
  35009. e,
  35010. t,
  35011. _this$__dev__,
  35012. n,
  35013. s,
  35014. r,
  35015. i,
  35016. o,
  35017. a,
  35018. _args6 = arguments;
  35019. return _regenerator.default.wrap(function _callee54$(_context54) {
  35020. while (1) {
  35021. switch (_context54.prev = _context54.next) {
  35022. case 0:
  35023. _ref60 = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}, e = _ref60.name, t = _ref60.data;
  35024. _context54.next = 3;
  35025. return this.__dev__.initLocalNetwork();
  35026. case 3:
  35027. _this$__dev__ = this.__dev__, n = _this$__dev__.localAddress, s = _this$__dev__.localPort, r = {
  35028. aliyun: "aliyun",
  35029. tencent: "tcb"
  35030. }[this.config.provider], i = this.config.spaceId, o = "http://".concat(n, ":").concat(s, "/system/check-function"), a = "http://".concat(n, ":").concat(s, "/cloudfunctions/").concat(e);
  35031. return _context54.abrupt("return", new Promise(function (t, n) {
  35032. se.request({
  35033. method: "POST",
  35034. url: o,
  35035. data: {
  35036. name: e,
  35037. platform: P,
  35038. provider: r,
  35039. spaceId: i
  35040. },
  35041. timeout: 3e3,
  35042. success: function success(e) {
  35043. t(e);
  35044. },
  35045. fail: function fail() {
  35046. t({
  35047. data: {
  35048. code: "NETWORK_ERROR",
  35049. message: "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下,自动切换为已部署的云函数。"
  35050. }
  35051. });
  35052. }
  35053. });
  35054. }).then(function () {
  35055. var _ref61 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  35056. e = _ref61.data;
  35057. var _ref62 = e || {},
  35058. t = _ref62.code,
  35059. n = _ref62.message;
  35060. return {
  35061. code: 0 === t ? 0 : t || "SYS_ERR",
  35062. message: n || "SYS_ERR"
  35063. };
  35064. }).then(function (_ref63) {
  35065. var n = _ref63.code,
  35066. s = _ref63.message;
  35067. if (0 !== n) {
  35068. switch (n) {
  35069. case "MODULE_ENCRYPTED":
  35070. console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u4F9D\u8D56\u52A0\u5BC6\u516C\u5171\u6A21\u5757\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570"));
  35071. break;
  35072. case "FUNCTION_ENCRYPTED":
  35073. console.error("\u6B64\u4E91\u51FD\u6570\uFF08".concat(e, "\uFF09\u5DF2\u52A0\u5BC6\u4E0D\u53EF\u672C\u5730\u8C03\u8BD5\uFF0C\u81EA\u52A8\u5207\u6362\u4E3A\u4E91\u7AEF\u5DF2\u90E8\u7F72\u7684\u4E91\u51FD\u6570"));
  35074. break;
  35075. case "ACTION_ENCRYPTED":
  35076. console.error(s || "需要访问加密的uni-clientDB-action,自动切换为云端环境");
  35077. break;
  35078. case "NETWORK_ERROR":
  35079. {
  35080. var _e31 = "连接本地调试服务失败,请检查客户端是否和主机在同一局域网下";
  35081. throw console.error(_e31), new Error(_e31);
  35082. }
  35083. case "SWITCH_TO_CLOUD":
  35084. break;
  35085. default:
  35086. {
  35087. var _e32 = "\u68C0\u6D4B\u672C\u5730\u8C03\u8BD5\u670D\u52A1\u51FA\u73B0\u9519\u8BEF\uFF1A".concat(s, "\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u73AF\u5883\u6216\u91CD\u542F\u5BA2\u6237\u7AEF\u518D\u8BD5");
  35088. throw console.error(_e32), new Error(_e32);
  35089. }
  35090. }
  35091. return _this26._callCloudFunction({
  35092. name: e,
  35093. data: t
  35094. });
  35095. }
  35096. return new Promise(function (e, n) {
  35097. var s = kt.call(_this26, {
  35098. data: t
  35099. });
  35100. se.request({
  35101. method: "POST",
  35102. url: a,
  35103. data: {
  35104. provider: r,
  35105. platform: P,
  35106. param: s
  35107. },
  35108. success: function success() {
  35109. var _ref64 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  35110. t = _ref64.statusCode,
  35111. s = _ref64.data;
  35112. return !t || t >= 400 ? n(new ne({
  35113. code: s.code || "SYS_ERR",
  35114. message: s.message || "request:fail"
  35115. })) : e({
  35116. result: s
  35117. });
  35118. },
  35119. fail: function fail(e) {
  35120. n(new ne({
  35121. code: e.code || e.errCode || "SYS_ERR",
  35122. message: e.message || e.errMsg || "request:fail"
  35123. }));
  35124. }
  35125. });
  35126. });
  35127. }));
  35128. case 5:
  35129. case "end":
  35130. return _context54.stop();
  35131. }
  35132. }
  35133. }, _callee54, this);
  35134. }));
  35135. return _Ct.apply(this, arguments);
  35136. }
  35137. var Tt = [{
  35138. rule: /fc_function_not_found|FUNCTION_NOT_FOUND/,
  35139. content: ",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",
  35140. mode: "append"
  35141. }];
  35142. var Pt = /[\\^$.*+?()[\]{}|]/g,
  35143. At = RegExp(Pt.source);
  35144. function Et(e, t, n) {
  35145. return e.replace(new RegExp((s = t) && At.test(s) ? s.replace(Pt, "\\$&") : s, "g"), n);
  35146. var s;
  35147. }
  35148. var Ot = "none",
  35149. xt = "request",
  35150. Rt = "response",
  35151. Ut = "both";
  35152. var Lt = /*#__PURE__*/function () {
  35153. function Lt() {
  35154. var _ref19 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  35155. e = _ref19.secretType,
  35156. t = _ref19.uniCloudIns;
  35157. (0, _classCallCheck2.default)(this, Lt);
  35158. this.clientType = "", this.secretType = e || Ot, this.uniCloudIns = t;
  35159. var _this$uniCloudIns$con = this.uniCloudIns.config,
  35160. n = _this$uniCloudIns$con.provider,
  35161. s = _this$uniCloudIns$con.spaceId;
  35162. var r;
  35163. this.provider = n, this.spaceId = s, this.scopedGlobalCache = (r = this.uniCloudIns, U("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", r.config.spaceId)));
  35164. }
  35165. (0, _createClass2.default)(Lt, [{
  35166. key: "getSystemInfo",
  35167. value: function getSystemInfo() {
  35168. return this._systemInfo || (this._systemInfo = ce()), this._systemInfo;
  35169. }
  35170. }, {
  35171. key: "appId",
  35172. get: function get() {
  35173. return this.getSystemInfo().appId;
  35174. }
  35175. }, {
  35176. key: "deviceId",
  35177. get: function get() {
  35178. return this.getSystemInfo().deviceId;
  35179. }
  35180. }, {
  35181. key: "encryptData",
  35182. value: function () {
  35183. var _encryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34(e) {
  35184. return _regenerator.default.wrap(function _callee34$(_context34) {
  35185. while (1) {
  35186. switch (_context34.prev = _context34.next) {
  35187. case 0:
  35188. return _context34.abrupt("return", this.secretType === Ot ? e : this.platformEncryptData(e));
  35189. case 1:
  35190. case "end":
  35191. return _context34.stop();
  35192. }
  35193. }
  35194. }, _callee34, this);
  35195. }));
  35196. function encryptData(_x31) {
  35197. return _encryptData.apply(this, arguments);
  35198. }
  35199. return encryptData;
  35200. }()
  35201. }, {
  35202. key: "decryptResult",
  35203. value: function () {
  35204. var _decryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35(e) {
  35205. var _ref20, t, n;
  35206. return _regenerator.default.wrap(function _callee35$(_context35) {
  35207. while (1) {
  35208. switch (_context35.prev = _context35.next) {
  35209. case 0:
  35210. if (!(this.secretType === Ot)) {
  35211. _context35.next = 2;
  35212. break;
  35213. }
  35214. return _context35.abrupt("return", e);
  35215. case 2:
  35216. _ref20 = e || {}, t = _ref20.errCode, n = _ref20.content;
  35217. return _context35.abrupt("return", t || !n ? e : this.secretType === xt ? n : this.platformDecryptResult(e));
  35218. case 4:
  35219. case "end":
  35220. return _context35.stop();
  35221. }
  35222. }
  35223. }, _callee35, this);
  35224. }));
  35225. function decryptResult(_x32) {
  35226. return _decryptResult.apply(this, arguments);
  35227. }
  35228. return decryptResult;
  35229. }()
  35230. }, {
  35231. key: "wrapVerifyClientCallFunction",
  35232. value: function wrapVerifyClientCallFunction(e) {
  35233. var t = this;
  35234. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
  35235. var _ref22,
  35236. n,
  35237. _ref22$data,
  35238. s,
  35239. r,
  35240. _args36 = arguments;
  35241. return _regenerator.default.wrap(function _callee36$(_context36) {
  35242. while (1) {
  35243. switch (_context36.prev = _context36.next) {
  35244. case 0:
  35245. _ref22 = _args36.length > 0 && _args36[0] !== undefined ? _args36[0] : {}, n = _ref22.name, _ref22$data = _ref22.data, s = _ref22$data === void 0 ? {} : _ref22$data;
  35246. _context36.next = 3;
  35247. return t.prepare();
  35248. case 3:
  35249. _context36.next = 5;
  35250. return t.platformGetSignOption();
  35251. case 5:
  35252. (s = JSON.parse(JSON.stringify(s)))._uniCloudOptions = _context36.sent;
  35253. _context36.next = 8;
  35254. return e({
  35255. name: n,
  35256. data: s
  35257. });
  35258. case 8:
  35259. r = _context36.sent;
  35260. _context36.t0 = t.isClientKeyNotFound(r);
  35261. if (!_context36.t0) {
  35262. _context36.next = 19;
  35263. break;
  35264. }
  35265. _context36.next = 13;
  35266. return t.prepare({
  35267. forceUpdate: !0
  35268. });
  35269. case 13:
  35270. _context36.next = 15;
  35271. return t.platformGetSignOption();
  35272. case 15:
  35273. s._uniCloudOptions = _context36.sent;
  35274. _context36.next = 18;
  35275. return e({
  35276. name: n,
  35277. data: s
  35278. });
  35279. case 18:
  35280. r = _context36.sent;
  35281. case 19:
  35282. return _context36.abrupt("return", r);
  35283. case 20:
  35284. case "end":
  35285. return _context36.stop();
  35286. }
  35287. }
  35288. }, _callee36);
  35289. }));
  35290. }
  35291. }, {
  35292. key: "wrapEncryptDataCallFunction",
  35293. value: function wrapEncryptDataCallFunction(e) {
  35294. var t = this;
  35295. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37() {
  35296. var _ref24,
  35297. n,
  35298. _ref24$data,
  35299. s,
  35300. r,
  35301. i,
  35302. _r3,
  35303. _args37 = arguments;
  35304. return _regenerator.default.wrap(function _callee37$(_context37) {
  35305. while (1) {
  35306. switch (_context37.prev = _context37.next) {
  35307. case 0:
  35308. _ref24 = _args37.length > 0 && _args37[0] !== undefined ? _args37[0] : {}, n = _ref24.name, _ref24$data = _ref24.data, s = _ref24$data === void 0 ? {} : _ref24$data;
  35309. _context37.next = 3;
  35310. return t.prepare();
  35311. case 3:
  35312. _context37.next = 5;
  35313. return t.encryptData(s);
  35314. case 5:
  35315. r = _context37.sent;
  35316. _context37.next = 8;
  35317. return e({
  35318. name: n,
  35319. data: r
  35320. });
  35321. case 8:
  35322. i = _context37.sent;
  35323. if (!t.isClientKeyNotFound(i)) {
  35324. _context37.next = 21;
  35325. break;
  35326. }
  35327. _context37.next = 12;
  35328. return t.prepare({
  35329. forceUpdate: !0
  35330. });
  35331. case 12:
  35332. _context37.next = 14;
  35333. return t.encryptData(s);
  35334. case 14:
  35335. _r3 = _context37.sent;
  35336. _context37.next = 17;
  35337. return t.platformGetSignOption();
  35338. case 17:
  35339. s._uniCloudOptions = _context37.sent;
  35340. _context37.next = 20;
  35341. return e({
  35342. name: n,
  35343. data: _r3
  35344. });
  35345. case 20:
  35346. i = _context37.sent;
  35347. case 21:
  35348. _context37.next = 23;
  35349. return t.decryptResult(i.result);
  35350. case 23:
  35351. i.result = _context37.sent;
  35352. return _context37.abrupt("return", i);
  35353. case 25:
  35354. case "end":
  35355. return _context37.stop();
  35356. }
  35357. }
  35358. }, _callee37);
  35359. }));
  35360. }
  35361. }]);
  35362. return Lt;
  35363. }();
  35364. /*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
  35365. function Nt(e) {
  35366. return parseInt(e) === e;
  35367. }
  35368. function Dt(e) {
  35369. if (!Nt(e.length)) return !1;
  35370. for (var t = 0; t < e.length; t++) {
  35371. if (!Nt(e[t]) || e[t] < 0 || e[t] > 255) return !1;
  35372. }
  35373. return !0;
  35374. }
  35375. function Ft(e, t) {
  35376. if (e.buffer && "Uint8Array" === e.name) return t && (e = e.slice ? e.slice() : Array.prototype.slice.call(e)), e;
  35377. if (Array.isArray(e)) {
  35378. if (!Dt(e)) throw new Error("Array contains invalid value: " + e);
  35379. return new Uint8Array(e);
  35380. }
  35381. if (Nt(e.length) && Dt(e)) return new Uint8Array(e);
  35382. throw new Error("unsupported array-like object");
  35383. }
  35384. function qt(e) {
  35385. return new Uint8Array(e);
  35386. }
  35387. function Mt(e, t, n, s, r) {
  35388. null == s && null == r || (e = e.slice ? e.slice(s, r) : Array.prototype.slice.call(e, s, r)), t.set(e, n);
  35389. }
  35390. var Kt,
  35391. jt = {
  35392. toBytes: function toBytes(e) {
  35393. var t = [],
  35394. n = 0;
  35395. for (e = encodeURI(e); n < e.length;) {
  35396. var s = e.charCodeAt(n++);
  35397. 37 === s ? (t.push(parseInt(e.substr(n, 2), 16)), n += 2) : t.push(s);
  35398. }
  35399. return Ft(t);
  35400. },
  35401. fromBytes: function fromBytes(e) {
  35402. for (var t = [], n = 0; n < e.length;) {
  35403. var s = e[n];
  35404. s < 128 ? (t.push(String.fromCharCode(s)), n++) : s > 191 && s < 224 ? (t.push(String.fromCharCode((31 & s) << 6 | 63 & e[n + 1])), n += 2) : (t.push(String.fromCharCode((15 & s) << 12 | (63 & e[n + 1]) << 6 | 63 & e[n + 2])), n += 3);
  35405. }
  35406. return t.join("");
  35407. }
  35408. },
  35409. Bt = (Kt = "0123456789abcdef", {
  35410. toBytes: function toBytes(e) {
  35411. for (var t = [], n = 0; n < e.length; n += 2) {
  35412. t.push(parseInt(e.substr(n, 2), 16));
  35413. }
  35414. return t;
  35415. },
  35416. fromBytes: function fromBytes(e) {
  35417. for (var t = [], n = 0; n < e.length; n++) {
  35418. var s = e[n];
  35419. t.push(Kt[(240 & s) >> 4] + Kt[15 & s]);
  35420. }
  35421. return t.join("");
  35422. }
  35423. }),
  35424. $t = {
  35425. 16: 10,
  35426. 24: 12,
  35427. 32: 14
  35428. },
  35429. Wt = [1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145],
  35430. zt = [99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22],
  35431. Jt = [82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125],
  35432. Ht = [3328402341, 4168907908, 4000806809, 4135287693, 4294111757, 3597364157, 3731845041, 2445657428, 1613770832, 33620227, 3462883241, 1445669757, 3892248089, 3050821474, 1303096294, 3967186586, 2412431941, 528646813, 2311702848, 4202528135, 4026202645, 2992200171, 2387036105, 4226871307, 1101901292, 3017069671, 1604494077, 1169141738, 597466303, 1403299063, 3832705686, 2613100635, 1974974402, 3791519004, 1033081774, 1277568618, 1815492186, 2118074177, 4126668546, 2211236943, 1748251740, 1369810420, 3521504564, 4193382664, 3799085459, 2883115123, 1647391059, 706024767, 134480908, 2512897874, 1176707941, 2646852446, 806885416, 932615841, 168101135, 798661301, 235341577, 605164086, 461406363, 3756188221, 3454790438, 1311188841, 2142417613, 3933566367, 302582043, 495158174, 1479289972, 874125870, 907746093, 3698224818, 3025820398, 1537253627, 2756858614, 1983593293, 3084310113, 2108928974, 1378429307, 3722699582, 1580150641, 327451799, 2790478837, 3117535592, 0, 3253595436, 1075847264, 3825007647, 2041688520, 3059440621, 3563743934, 2378943302, 1740553945, 1916352843, 2487896798, 2555137236, 2958579944, 2244988746, 3151024235, 3320835882, 1336584933, 3992714006, 2252555205, 2588757463, 1714631509, 293963156, 2319795663, 3925473552, 67240454, 4269768577, 2689618160, 2017213508, 631218106, 1269344483, 2723238387, 1571005438, 2151694528, 93294474, 1066570413, 563977660, 1882732616, 4059428100, 1673313503, 2008463041, 2950355573, 1109467491, 537923632, 3858759450, 4260623118, 3218264685, 2177748300, 403442708, 638784309, 3287084079, 3193921505, 899127202, 2286175436, 773265209, 2479146071, 1437050866, 4236148354, 2050833735, 3362022572, 3126681063, 840505643, 3866325909, 3227541664, 427917720, 2655997905, 2749160575, 1143087718, 1412049534, 999329963, 193497219, 2353415882, 3354324521, 1807268051, 672404540, 2816401017, 3160301282, 369822493, 2916866934, 3688947771, 1681011286, 1949973070, 336202270, 2454276571, 201721354, 1210328172, 3093060836, 2680341085, 3184776046, 1135389935, 3294782118, 965841320, 831886756, 3554993207, 4068047243, 3588745010, 2345191491, 1849112409, 3664604599, 26054028, 2983581028, 2622377682, 1235855840, 3630984372, 2891339514, 4092916743, 3488279077, 3395642799, 4101667470, 1202630377, 268961816, 1874508501, 4034427016, 1243948399, 1546530418, 941366308, 1470539505, 1941222599, 2546386513, 3421038627, 2715671932, 3899946140, 1042226977, 2521517021, 1639824860, 227249030, 260737669, 3765465232, 2084453954, 1907733956, 3429263018, 2420656344, 100860677, 4160157185, 470683154, 3261161891, 1781871967, 2924959737, 1773779408, 394692241, 2579611992, 974986535, 664706745, 3655459128, 3958962195, 731420851, 571543859, 3530123707, 2849626480, 126783113, 865375399, 765172662, 1008606754, 361203602, 3387549984, 2278477385, 2857719295, 1344809080, 2782912378, 59542671, 1503764984, 160008576, 437062935, 1707065306, 3622233649, 2218934982, 3496503480, 2185314755, 697932208, 1512910199, 504303377, 2075177163, 2824099068, 1841019862, 739644986],
  35433. Gt = [2781242211, 2230877308, 2582542199, 2381740923, 234877682, 3184946027, 2984144751, 1418839493, 1348481072, 50462977, 2848876391, 2102799147, 434634494, 1656084439, 3863849899, 2599188086, 1167051466, 2636087938, 1082771913, 2281340285, 368048890, 3954334041, 3381544775, 201060592, 3963727277, 1739838676, 4250903202, 3930435503, 3206782108, 4149453988, 2531553906, 1536934080, 3262494647, 484572669, 2923271059, 1783375398, 1517041206, 1098792767, 49674231, 1334037708, 1550332980, 4098991525, 886171109, 150598129, 2481090929, 1940642008, 1398944049, 1059722517, 201851908, 1385547719, 1699095331, 1587397571, 674240536, 2704774806, 252314885, 3039795866, 151914247, 908333586, 2602270848, 1038082786, 651029483, 1766729511, 3447698098, 2682942837, 454166793, 2652734339, 1951935532, 775166490, 758520603, 3000790638, 4004797018, 4217086112, 4137964114, 1299594043, 1639438038, 3464344499, 2068982057, 1054729187, 1901997871, 2534638724, 4121318227, 1757008337, 0, 750906861, 1614815264, 535035132, 3363418545, 3988151131, 3201591914, 1183697867, 3647454910, 1265776953, 3734260298, 3566750796, 3903871064, 1250283471, 1807470800, 717615087, 3847203498, 384695291, 3313910595, 3617213773, 1432761139, 2484176261, 3481945413, 283769337, 100925954, 2180939647, 4037038160, 1148730428, 3123027871, 3813386408, 4087501137, 4267549603, 3229630528, 2315620239, 2906624658, 3156319645, 1215313976, 82966005, 3747855548, 3245848246, 1974459098, 1665278241, 807407632, 451280895, 251524083, 1841287890, 1283575245, 337120268, 891687699, 801369324, 3787349855, 2721421207, 3431482436, 959321879, 1469301956, 4065699751, 2197585534, 1199193405, 2898814052, 3887750493, 724703513, 2514908019, 2696962144, 2551808385, 3516813135, 2141445340, 1715741218, 2119445034, 2872807568, 2198571144, 3398190662, 700968686, 3547052216, 1009259540, 2041044702, 3803995742, 487983883, 1991105499, 1004265696, 1449407026, 1316239930, 504629770, 3683797321, 168560134, 1816667172, 3837287516, 1570751170, 1857934291, 4014189740, 2797888098, 2822345105, 2754712981, 936633572, 2347923833, 852879335, 1133234376, 1500395319, 3084545389, 2348912013, 1689376213, 3533459022, 3762923945, 3034082412, 4205598294, 133428468, 634383082, 2949277029, 2398386810, 3913789102, 403703816, 3580869306, 2297460856, 1867130149, 1918643758, 607656988, 4049053350, 3346248884, 1368901318, 600565992, 2090982877, 2632479860, 557719327, 3717614411, 3697393085, 2249034635, 2232388234, 2430627952, 1115438654, 3295786421, 2865522278, 3633334344, 84280067, 33027830, 303828494, 2747425121, 1600795957, 4188952407, 3496589753, 2434238086, 1486471617, 658119965, 3106381470, 953803233, 334231800, 3005978776, 857870609, 3151128937, 1890179545, 2298973838, 2805175444, 3056442267, 574365214, 2450884487, 550103529, 1233637070, 4289353045, 2018519080, 2057691103, 2399374476, 4166623649, 2148108681, 387583245, 3664101311, 836232934, 3330556482, 3100665960, 3280093505, 2955516313, 2002398509, 287182607, 3413881008, 4238890068, 3597515707, 975967766],
  35434. Vt = [1671808611, 2089089148, 2006576759, 2072901243, 4061003762, 1807603307, 1873927791, 3310653893, 810573872, 16974337, 1739181671, 729634347, 4263110654, 3613570519, 2883997099, 1989864566, 3393556426, 2191335298, 3376449993, 2106063485, 4195741690, 1508618841, 1204391495, 4027317232, 2917941677, 3563566036, 2734514082, 2951366063, 2629772188, 2767672228, 1922491506, 3227229120, 3082974647, 4246528509, 2477669779, 644500518, 911895606, 1061256767, 4144166391, 3427763148, 878471220, 2784252325, 3845444069, 4043897329, 1905517169, 3631459288, 827548209, 356461077, 67897348, 3344078279, 593839651, 3277757891, 405286936, 2527147926, 84871685, 2595565466, 118033927, 305538066, 2157648768, 3795705826, 3945188843, 661212711, 2999812018, 1973414517, 152769033, 2208177539, 745822252, 439235610, 455947803, 1857215598, 1525593178, 2700827552, 1391895634, 994932283, 3596728278, 3016654259, 695947817, 3812548067, 795958831, 2224493444, 1408607827, 3513301457, 0, 3979133421, 543178784, 4229948412, 2982705585, 1542305371, 1790891114, 3410398667, 3201918910, 961245753, 1256100938, 1289001036, 1491644504, 3477767631, 3496721360, 4012557807, 2867154858, 4212583931, 1137018435, 1305975373, 861234739, 2241073541, 1171229253, 4178635257, 33948674, 2139225727, 1357946960, 1011120188, 2679776671, 2833468328, 1374921297, 2751356323, 1086357568, 2408187279, 2460827538, 2646352285, 944271416, 4110742005, 3168756668, 3066132406, 3665145818, 560153121, 271589392, 4279952895, 4077846003, 3530407890, 3444343245, 202643468, 322250259, 3962553324, 1608629855, 2543990167, 1154254916, 389623319, 3294073796, 2817676711, 2122513534, 1028094525, 1689045092, 1575467613, 422261273, 1939203699, 1621147744, 2174228865, 1339137615, 3699352540, 577127458, 712922154, 2427141008, 2290289544, 1187679302, 3995715566, 3100863416, 339486740, 3732514782, 1591917662, 186455563, 3681988059, 3762019296, 844522546, 978220090, 169743370, 1239126601, 101321734, 611076132, 1558493276, 3260915650, 3547250131, 2901361580, 1655096418, 2443721105, 2510565781, 3828863972, 2039214713, 3878868455, 3359869896, 928607799, 1840765549, 2374762893, 3580146133, 1322425422, 2850048425, 1823791212, 1459268694, 4094161908, 3928346602, 1706019429, 2056189050, 2934523822, 135794696, 3134549946, 2022240376, 628050469, 779246638, 472135708, 2800834470, 3032970164, 3327236038, 3894660072, 3715932637, 1956440180, 522272287, 1272813131, 3185336765, 2340818315, 2323976074, 1888542832, 1044544574, 3049550261, 1722469478, 1222152264, 50660867, 4127324150, 236067854, 1638122081, 895445557, 1475980887, 3117443513, 2257655686, 3243809217, 489110045, 2662934430, 3778599393, 4162055160, 2561878936, 288563729, 1773916777, 3648039385, 2391345038, 2493985684, 2612407707, 505560094, 2274497927, 3911240169, 3460925390, 1442818645, 678973480, 3749357023, 2358182796, 2717407649, 2306869641, 219617805, 3218761151, 3862026214, 1120306242, 1756942440, 1103331905, 2578459033, 762796589, 252780047, 2966125488, 1425844308, 3151392187, 372911126],
  35435. Yt = [1667474886, 2088535288, 2004326894, 2071694838, 4075949567, 1802223062, 1869591006, 3318043793, 808472672, 16843522, 1734846926, 724270422, 4278065639, 3621216949, 2880169549, 1987484396, 3402253711, 2189597983, 3385409673, 2105378810, 4210693615, 1499065266, 1195886990, 4042263547, 2913856577, 3570689971, 2728590687, 2947541573, 2627518243, 2762274643, 1920112356, 3233831835, 3082273397, 4261223649, 2475929149, 640051788, 909531756, 1061110142, 4160160501, 3435941763, 875846760, 2779116625, 3857003729, 4059105529, 1903268834, 3638064043, 825316194, 353713962, 67374088, 3351728789, 589522246, 3284360861, 404236336, 2526454071, 84217610, 2593830191, 117901582, 303183396, 2155911963, 3806477791, 3958056653, 656894286, 2998062463, 1970642922, 151591698, 2206440989, 741110872, 437923380, 454765878, 1852748508, 1515908788, 2694904667, 1381168804, 993742198, 3604373943, 3014905469, 690584402, 3823320797, 791638366, 2223281939, 1398011302, 3520161977, 0, 3991743681, 538992704, 4244381667, 2981218425, 1532751286, 1785380564, 3419096717, 3200178535, 960056178, 1246420628, 1280103576, 1482221744, 3486468741, 3503319995, 4025428677, 2863326543, 4227536621, 1128514950, 1296947098, 859002214, 2240123921, 1162203018, 4193849577, 33687044, 2139062782, 1347481760, 1010582648, 2678045221, 2829640523, 1364325282, 2745433693, 1077985408, 2408548869, 2459086143, 2644360225, 943212656, 4126475505, 3166494563, 3065430391, 3671750063, 555836226, 269496352, 4294908645, 4092792573, 3537006015, 3452783745, 202118168, 320025894, 3974901699, 1600119230, 2543297077, 1145359496, 387397934, 3301201811, 2812801621, 2122220284, 1027426170, 1684319432, 1566435258, 421079858, 1936954854, 1616945344, 2172753945, 1330631070, 3705438115, 572679748, 707427924, 2425400123, 2290647819, 1179044492, 4008585671, 3099120491, 336870440, 3739122087, 1583276732, 185277718, 3688593069, 3772791771, 842159716, 976899700, 168435220, 1229577106, 101059084, 606366792, 1549591736, 3267517855, 3553849021, 2897014595, 1650632388, 2442242105, 2509612081, 3840161747, 2038008818, 3890688725, 3368567691, 926374254, 1835907034, 2374863873, 3587531953, 1313788572, 2846482505, 1819063512, 1448540844, 4109633523, 3941213647, 1701162954, 2054852340, 2930698567, 134748176, 3132806511, 2021165296, 623210314, 774795868, 471606328, 2795958615, 3031746419, 3334885783, 3907527627, 3722280097, 1953799400, 522133822, 1263263126, 3183336545, 2341176845, 2324333839, 1886425312, 1044267644, 3048588401, 1718004428, 1212733584, 50529542, 4143317495, 235803164, 1633788866, 892690282, 1465383342, 3115962473, 2256965911, 3250673817, 488449850, 2661202215, 3789633753, 4177007595, 2560144171, 286339874, 1768537042, 3654906025, 2391705863, 2492770099, 2610673197, 505291324, 2273808917, 3924369609, 3469625735, 1431699370, 673740880, 3755965093, 2358021891, 2711746649, 2307489801, 218961690, 3217021541, 3873845719, 1111672452, 1751693520, 1094828930, 2576986153, 757954394, 252645662, 2964376443, 1414855848, 3149649517, 370555436],
  35436. Qt = [1374988112, 2118214995, 437757123, 975658646, 1001089995, 530400753, 2902087851, 1273168787, 540080725, 2910219766, 2295101073, 4110568485, 1340463100, 3307916247, 641025152, 3043140495, 3736164937, 632953703, 1172967064, 1576976609, 3274667266, 2169303058, 2370213795, 1809054150, 59727847, 361929877, 3211623147, 2505202138, 3569255213, 1484005843, 1239443753, 2395588676, 1975683434, 4102977912, 2572697195, 666464733, 3202437046, 4035489047, 3374361702, 2110667444, 1675577880, 3843699074, 2538681184, 1649639237, 2976151520, 3144396420, 4269907996, 4178062228, 1883793496, 2403728665, 2497604743, 1383856311, 2876494627, 1917518562, 3810496343, 1716890410, 3001755655, 800440835, 2261089178, 3543599269, 807962610, 599762354, 33778362, 3977675356, 2328828971, 2809771154, 4077384432, 1315562145, 1708848333, 101039829, 3509871135, 3299278474, 875451293, 2733856160, 92987698, 2767645557, 193195065, 1080094634, 1584504582, 3178106961, 1042385657, 2531067453, 3711829422, 1306967366, 2438237621, 1908694277, 67556463, 1615861247, 429456164, 3602770327, 2302690252, 1742315127, 2968011453, 126454664, 3877198648, 2043211483, 2709260871, 2084704233, 4169408201, 0, 159417987, 841739592, 504459436, 1817866830, 4245618683, 260388950, 1034867998, 908933415, 168810852, 1750902305, 2606453969, 607530554, 202008497, 2472011535, 3035535058, 463180190, 2160117071, 1641816226, 1517767529, 470948374, 3801332234, 3231722213, 1008918595, 303765277, 235474187, 4069246893, 766945465, 337553864, 1475418501, 2943682380, 4003061179, 2743034109, 4144047775, 1551037884, 1147550661, 1543208500, 2336434550, 3408119516, 3069049960, 3102011747, 3610369226, 1113818384, 328671808, 2227573024, 2236228733, 3535486456, 2935566865, 3341394285, 496906059, 3702665459, 226906860, 2009195472, 733156972, 2842737049, 294930682, 1206477858, 2835123396, 2700099354, 1451044056, 573804783, 2269728455, 3644379585, 2362090238, 2564033334, 2801107407, 2776292904, 3669462566, 1068351396, 742039012, 1350078989, 1784663195, 1417561698, 4136440770, 2430122216, 775550814, 2193862645, 2673705150, 1775276924, 1876241833, 3475313331, 3366754619, 270040487, 3902563182, 3678124923, 3441850377, 1851332852, 3969562369, 2203032232, 3868552805, 2868897406, 566021896, 4011190502, 3135740889, 1248802510, 3936291284, 699432150, 832877231, 708780849, 3332740144, 899835584, 1951317047, 4236429990, 3767586992, 866637845, 4043610186, 1106041591, 2144161806, 395441711, 1984812685, 1139781709, 3433712980, 3835036895, 2664543715, 1282050075, 3240894392, 1181045119, 2640243204, 25965917, 4203181171, 4211818798, 3009879386, 2463879762, 3910161971, 1842759443, 2597806476, 933301370, 1509430414, 3943906441, 3467192302, 3076639029, 3776767469, 2051518780, 2631065433, 1441952575, 404016761, 1942435775, 1408749034, 1610459739, 3745345300, 2017778566, 3400528769, 3110650942, 941896748, 3265478751, 371049330, 3168937228, 675039627, 4279080257, 967311729, 135050206, 3635733660, 1683407248, 2076935265, 3576870512, 1215061108, 3501741890],
  35437. Xt = [1347548327, 1400783205, 3273267108, 2520393566, 3409685355, 4045380933, 2880240216, 2471224067, 1428173050, 4138563181, 2441661558, 636813900, 4233094615, 3620022987, 2149987652, 2411029155, 1239331162, 1730525723, 2554718734, 3781033664, 46346101, 310463728, 2743944855, 3328955385, 3875770207, 2501218972, 3955191162, 3667219033, 768917123, 3545789473, 692707433, 1150208456, 1786102409, 2029293177, 1805211710, 3710368113, 3065962831, 401639597, 1724457132, 3028143674, 409198410, 2196052529, 1620529459, 1164071807, 3769721975, 2226875310, 486441376, 2499348523, 1483753576, 428819965, 2274680428, 3075636216, 598438867, 3799141122, 1474502543, 711349675, 129166120, 53458370, 2592523643, 2782082824, 4063242375, 2988687269, 3120694122, 1559041666, 730517276, 2460449204, 4042459122, 2706270690, 3446004468, 3573941694, 533804130, 2328143614, 2637442643, 2695033685, 839224033, 1973745387, 957055980, 2856345839, 106852767, 1371368976, 4181598602, 1033297158, 2933734917, 1179510461, 3046200461, 91341917, 1862534868, 4284502037, 605657339, 2547432937, 3431546947, 2003294622, 3182487618, 2282195339, 954669403, 3682191598, 1201765386, 3917234703, 3388507166, 0, 2198438022, 1211247597, 2887651696, 1315723890, 4227665663, 1443857720, 507358933, 657861945, 1678381017, 560487590, 3516619604, 975451694, 2970356327, 261314535, 3535072918, 2652609425, 1333838021, 2724322336, 1767536459, 370938394, 182621114, 3854606378, 1128014560, 487725847, 185469197, 2918353863, 3106780840, 3356761769, 2237133081, 1286567175, 3152976349, 4255350624, 2683765030, 3160175349, 3309594171, 878443390, 1988838185, 3704300486, 1756818940, 1673061617, 3403100636, 272786309, 1075025698, 545572369, 2105887268, 4174560061, 296679730, 1841768865, 1260232239, 4091327024, 3960309330, 3497509347, 1814803222, 2578018489, 4195456072, 575138148, 3299409036, 446754879, 3629546796, 4011996048, 3347532110, 3252238545, 4270639778, 915985419, 3483825537, 681933534, 651868046, 2755636671, 3828103837, 223377554, 2607439820, 1649704518, 3270937875, 3901806776, 1580087799, 4118987695, 3198115200, 2087309459, 2842678573, 3016697106, 1003007129, 2802849917, 1860738147, 2077965243, 164439672, 4100872472, 32283319, 2827177882, 1709610350, 2125135846, 136428751, 3874428392, 3652904859, 3460984630, 3572145929, 3593056380, 2939266226, 824852259, 818324884, 3224740454, 930369212, 2801566410, 2967507152, 355706840, 1257309336, 4148292826, 243256656, 790073846, 2373340630, 1296297904, 1422699085, 3756299780, 3818836405, 457992840, 3099667487, 2135319889, 77422314, 1560382517, 1945798516, 788204353, 1521706781, 1385356242, 870912086, 325965383, 2358957921, 2050466060, 2388260884, 2313884476, 4006521127, 901210569, 3990953189, 1014646705, 1503449823, 1062597235, 2031621326, 3212035895, 3931371469, 1533017514, 350174575, 2256028891, 2177544179, 1052338372, 741876788, 1606591296, 1914052035, 213705253, 2334669897, 1107234197, 1899603969, 3725069491, 2631447780, 2422494913, 1635502980, 1893020342, 1950903388, 1120974935],
  35438. Zt = [2807058932, 1699970625, 2764249623, 1586903591, 1808481195, 1173430173, 1487645946, 59984867, 4199882800, 1844882806, 1989249228, 1277555970, 3623636965, 3419915562, 1149249077, 2744104290, 1514790577, 459744698, 244860394, 3235995134, 1963115311, 4027744588, 2544078150, 4190530515, 1608975247, 2627016082, 2062270317, 1507497298, 2200818878, 567498868, 1764313568, 3359936201, 2305455554, 2037970062, 1047239e3, 1910319033, 1337376481, 2904027272, 2892417312, 984907214, 1243112415, 830661914, 861968209, 2135253587, 2011214180, 2927934315, 2686254721, 731183368, 1750626376, 4246310725, 1820824798, 4172763771, 3542330227, 48394827, 2404901663, 2871682645, 671593195, 3254988725, 2073724613, 145085239, 2280796200, 2779915199, 1790575107, 2187128086, 472615631, 3029510009, 4075877127, 3802222185, 4107101658, 3201631749, 1646252340, 4270507174, 1402811438, 1436590835, 3778151818, 3950355702, 3963161475, 4020912224, 2667994737, 273792366, 2331590177, 104699613, 95345982, 3175501286, 2377486676, 1560637892, 3564045318, 369057872, 4213447064, 3919042237, 1137477952, 2658625497, 1119727848, 2340947849, 1530455833, 4007360968, 172466556, 266959938, 516552836, 0, 2256734592, 3980931627, 1890328081, 1917742170, 4294704398, 945164165, 3575528878, 958871085, 3647212047, 2787207260, 1423022939, 775562294, 1739656202, 3876557655, 2530391278, 2443058075, 3310321856, 547512796, 1265195639, 437656594, 3121275539, 719700128, 3762502690, 387781147, 218828297, 3350065803, 2830708150, 2848461854, 428169201, 122466165, 3720081049, 1627235199, 648017665, 4122762354, 1002783846, 2117360635, 695634755, 3336358691, 4234721005, 4049844452, 3704280881, 2232435299, 574624663, 287343814, 612205898, 1039717051, 840019705, 2708326185, 793451934, 821288114, 1391201670, 3822090177, 376187827, 3113855344, 1224348052, 1679968233, 2361698556, 1058709744, 752375421, 2431590963, 1321699145, 3519142200, 2734591178, 188127444, 2177869557, 3727205754, 2384911031, 3215212461, 2648976442, 2450346104, 3432737375, 1180849278, 331544205, 3102249176, 4150144569, 2952102595, 2159976285, 2474404304, 766078933, 313773861, 2570832044, 2108100632, 1668212892, 3145456443, 2013908262, 418672217, 3070356634, 2594734927, 1852171925, 3867060991, 3473416636, 3907448597, 2614737639, 919489135, 164948639, 2094410160, 2997825956, 590424639, 2486224549, 1723872674, 3157750862, 3399941250, 3501252752, 3625268135, 2555048196, 3673637356, 1343127501, 4130281361, 3599595085, 2957853679, 1297403050, 81781910, 3051593425, 2283490410, 532201772, 1367295589, 3926170974, 895287692, 1953757831, 1093597963, 492483431, 3528626907, 1446242576, 1192455638, 1636604631, 209336225, 344873464, 1015671571, 669961897, 3375740769, 3857572124, 2973530695, 3747192018, 1933530610, 3464042516, 935293895, 3454686199, 2858115069, 1863638845, 3683022916, 4085369519, 3292445032, 875313188, 1080017571, 3279033885, 621591778, 1233856572, 2504130317, 24197544, 3017672716, 3835484340, 3247465558, 2220981195, 3060847922, 1551124588, 1463996600],
  35439. en = [4104605777, 1097159550, 396673818, 660510266, 2875968315, 2638606623, 4200115116, 3808662347, 821712160, 1986918061, 3430322568, 38544885, 3856137295, 718002117, 893681702, 1654886325, 2975484382, 3122358053, 3926825029, 4274053469, 796197571, 1290801793, 1184342925, 3556361835, 2405426947, 2459735317, 1836772287, 1381620373, 3196267988, 1948373848, 3764988233, 3385345166, 3263785589, 2390325492, 1480485785, 3111247143, 3780097726, 2293045232, 548169417, 3459953789, 3746175075, 439452389, 1362321559, 1400849762, 1685577905, 1806599355, 2174754046, 137073913, 1214797936, 1174215055, 3731654548, 2079897426, 1943217067, 1258480242, 529487843, 1437280870, 3945269170, 3049390895, 3313212038, 923313619, 679998e3, 3215307299, 57326082, 377642221, 3474729866, 2041877159, 133361907, 1776460110, 3673476453, 96392454, 878845905, 2801699524, 777231668, 4082475170, 2330014213, 4142626212, 2213296395, 1626319424, 1906247262, 1846563261, 562755902, 3708173718, 1040559837, 3871163981, 1418573201, 3294430577, 114585348, 1343618912, 2566595609, 3186202582, 1078185097, 3651041127, 3896688048, 2307622919, 425408743, 3371096953, 2081048481, 1108339068, 2216610296, 0, 2156299017, 736970802, 292596766, 1517440620, 251657213, 2235061775, 2933202493, 758720310, 265905162, 1554391400, 1532285339, 908999204, 174567692, 1474760595, 4002861748, 2610011675, 3234156416, 3693126241, 2001430874, 303699484, 2478443234, 2687165888, 585122620, 454499602, 151849742, 2345119218, 3064510765, 514443284, 4044981591, 1963412655, 2581445614, 2137062819, 19308535, 1928707164, 1715193156, 4219352155, 1126790795, 600235211, 3992742070, 3841024952, 836553431, 1669664834, 2535604243, 3323011204, 1243905413, 3141400786, 4180808110, 698445255, 2653899549, 2989552604, 2253581325, 3252932727, 3004591147, 1891211689, 2487810577, 3915653703, 4237083816, 4030667424, 2100090966, 865136418, 1229899655, 953270745, 3399679628, 3557504664, 4118925222, 2061379749, 3079546586, 2915017791, 983426092, 2022837584, 1607244650, 2118541908, 2366882550, 3635996816, 972512814, 3283088770, 1568718495, 3499326569, 3576539503, 621982671, 2895723464, 410887952, 2623762152, 1002142683, 645401037, 1494807662, 2595684844, 1335535747, 2507040230, 4293295786, 3167684641, 367585007, 3885750714, 1865862730, 2668221674, 2960971305, 2763173681, 1059270954, 2777952454, 2724642869, 1320957812, 2194319100, 2429595872, 2815956275, 77089521, 3973773121, 3444575871, 2448830231, 1305906550, 4021308739, 2857194700, 2516901860, 3518358430, 1787304780, 740276417, 1699839814, 1592394909, 2352307457, 2272556026, 188821243, 1729977011, 3687994002, 274084841, 3594982253, 3613494426, 2701949495, 4162096729, 322734571, 2837966542, 1640576439, 484830689, 1202797690, 3537852828, 4067639125, 349075736, 3342319475, 4157467219, 4255800159, 1030690015, 1155237496, 2951971274, 1757691577, 607398968, 2738905026, 499347990, 3794078908, 1011452712, 227885567, 2818666809, 213114376, 3034881240, 1455525988, 3414450555, 850817237, 1817998408, 3092726480],
  35440. tn = [0, 235474187, 470948374, 303765277, 941896748, 908933415, 607530554, 708780849, 1883793496, 2118214995, 1817866830, 1649639237, 1215061108, 1181045119, 1417561698, 1517767529, 3767586992, 4003061179, 4236429990, 4069246893, 3635733660, 3602770327, 3299278474, 3400528769, 2430122216, 2664543715, 2362090238, 2193862645, 2835123396, 2801107407, 3035535058, 3135740889, 3678124923, 3576870512, 3341394285, 3374361702, 3810496343, 3977675356, 4279080257, 4043610186, 2876494627, 2776292904, 3076639029, 3110650942, 2472011535, 2640243204, 2403728665, 2169303058, 1001089995, 899835584, 666464733, 699432150, 59727847, 226906860, 530400753, 294930682, 1273168787, 1172967064, 1475418501, 1509430414, 1942435775, 2110667444, 1876241833, 1641816226, 2910219766, 2743034109, 2976151520, 3211623147, 2505202138, 2606453969, 2302690252, 2269728455, 3711829422, 3543599269, 3240894392, 3475313331, 3843699074, 3943906441, 4178062228, 4144047775, 1306967366, 1139781709, 1374988112, 1610459739, 1975683434, 2076935265, 1775276924, 1742315127, 1034867998, 866637845, 566021896, 800440835, 92987698, 193195065, 429456164, 395441711, 1984812685, 2017778566, 1784663195, 1683407248, 1315562145, 1080094634, 1383856311, 1551037884, 101039829, 135050206, 437757123, 337553864, 1042385657, 807962610, 573804783, 742039012, 2531067453, 2564033334, 2328828971, 2227573024, 2935566865, 2700099354, 3001755655, 3168937228, 3868552805, 3902563182, 4203181171, 4102977912, 3736164937, 3501741890, 3265478751, 3433712980, 1106041591, 1340463100, 1576976609, 1408749034, 2043211483, 2009195472, 1708848333, 1809054150, 832877231, 1068351396, 766945465, 599762354, 159417987, 126454664, 361929877, 463180190, 2709260871, 2943682380, 3178106961, 3009879386, 2572697195, 2538681184, 2236228733, 2336434550, 3509871135, 3745345300, 3441850377, 3274667266, 3910161971, 3877198648, 4110568485, 4211818798, 2597806476, 2497604743, 2261089178, 2295101073, 2733856160, 2902087851, 3202437046, 2968011453, 3936291284, 3835036895, 4136440770, 4169408201, 3535486456, 3702665459, 3467192302, 3231722213, 2051518780, 1951317047, 1716890410, 1750902305, 1113818384, 1282050075, 1584504582, 1350078989, 168810852, 67556463, 371049330, 404016761, 841739592, 1008918595, 775550814, 540080725, 3969562369, 3801332234, 4035489047, 4269907996, 3569255213, 3669462566, 3366754619, 3332740144, 2631065433, 2463879762, 2160117071, 2395588676, 2767645557, 2868897406, 3102011747, 3069049960, 202008497, 33778362, 270040487, 504459436, 875451293, 975658646, 675039627, 641025152, 2084704233, 1917518562, 1615861247, 1851332852, 1147550661, 1248802510, 1484005843, 1451044056, 933301370, 967311729, 733156972, 632953703, 260388950, 25965917, 328671808, 496906059, 1206477858, 1239443753, 1543208500, 1441952575, 2144161806, 1908694277, 1675577880, 1842759443, 3610369226, 3644379585, 3408119516, 3307916247, 4011190502, 3776767469, 4077384432, 4245618683, 2809771154, 2842737049, 3144396420, 3043140495, 2673705150, 2438237621, 2203032232, 2370213795],
  35441. nn = [0, 185469197, 370938394, 487725847, 741876788, 657861945, 975451694, 824852259, 1483753576, 1400783205, 1315723890, 1164071807, 1950903388, 2135319889, 1649704518, 1767536459, 2967507152, 3152976349, 2801566410, 2918353863, 2631447780, 2547432937, 2328143614, 2177544179, 3901806776, 3818836405, 4270639778, 4118987695, 3299409036, 3483825537, 3535072918, 3652904859, 2077965243, 1893020342, 1841768865, 1724457132, 1474502543, 1559041666, 1107234197, 1257309336, 598438867, 681933534, 901210569, 1052338372, 261314535, 77422314, 428819965, 310463728, 3409685355, 3224740454, 3710368113, 3593056380, 3875770207, 3960309330, 4045380933, 4195456072, 2471224067, 2554718734, 2237133081, 2388260884, 3212035895, 3028143674, 2842678573, 2724322336, 4138563181, 4255350624, 3769721975, 3955191162, 3667219033, 3516619604, 3431546947, 3347532110, 2933734917, 2782082824, 3099667487, 3016697106, 2196052529, 2313884476, 2499348523, 2683765030, 1179510461, 1296297904, 1347548327, 1533017514, 1786102409, 1635502980, 2087309459, 2003294622, 507358933, 355706840, 136428751, 53458370, 839224033, 957055980, 605657339, 790073846, 2373340630, 2256028891, 2607439820, 2422494913, 2706270690, 2856345839, 3075636216, 3160175349, 3573941694, 3725069491, 3273267108, 3356761769, 4181598602, 4063242375, 4011996048, 3828103837, 1033297158, 915985419, 730517276, 545572369, 296679730, 446754879, 129166120, 213705253, 1709610350, 1860738147, 1945798516, 2029293177, 1239331162, 1120974935, 1606591296, 1422699085, 4148292826, 4233094615, 3781033664, 3931371469, 3682191598, 3497509347, 3446004468, 3328955385, 2939266226, 2755636671, 3106780840, 2988687269, 2198438022, 2282195339, 2501218972, 2652609425, 1201765386, 1286567175, 1371368976, 1521706781, 1805211710, 1620529459, 2105887268, 1988838185, 533804130, 350174575, 164439672, 46346101, 870912086, 954669403, 636813900, 788204353, 2358957921, 2274680428, 2592523643, 2441661558, 2695033685, 2880240216, 3065962831, 3182487618, 3572145929, 3756299780, 3270937875, 3388507166, 4174560061, 4091327024, 4006521127, 3854606378, 1014646705, 930369212, 711349675, 560487590, 272786309, 457992840, 106852767, 223377554, 1678381017, 1862534868, 1914052035, 2031621326, 1211247597, 1128014560, 1580087799, 1428173050, 32283319, 182621114, 401639597, 486441376, 768917123, 651868046, 1003007129, 818324884, 1503449823, 1385356242, 1333838021, 1150208456, 1973745387, 2125135846, 1673061617, 1756818940, 2970356327, 3120694122, 2802849917, 2887651696, 2637442643, 2520393566, 2334669897, 2149987652, 3917234703, 3799141122, 4284502037, 4100872472, 3309594171, 3460984630, 3545789473, 3629546796, 2050466060, 1899603969, 1814803222, 1730525723, 1443857720, 1560382517, 1075025698, 1260232239, 575138148, 692707433, 878443390, 1062597235, 243256656, 91341917, 409198410, 325965383, 3403100636, 3252238545, 3704300486, 3620022987, 3874428392, 3990953189, 4042459122, 4227665663, 2460449204, 2578018489, 2226875310, 2411029155, 3198115200, 3046200461, 2827177882, 2743944855],
  35442. sn = [0, 218828297, 437656594, 387781147, 875313188, 958871085, 775562294, 590424639, 1750626376, 1699970625, 1917742170, 2135253587, 1551124588, 1367295589, 1180849278, 1265195639, 3501252752, 3720081049, 3399941250, 3350065803, 3835484340, 3919042237, 4270507174, 4085369519, 3102249176, 3051593425, 2734591178, 2952102595, 2361698556, 2177869557, 2530391278, 2614737639, 3145456443, 3060847922, 2708326185, 2892417312, 2404901663, 2187128086, 2504130317, 2555048196, 3542330227, 3727205754, 3375740769, 3292445032, 3876557655, 3926170974, 4246310725, 4027744588, 1808481195, 1723872674, 1910319033, 2094410160, 1608975247, 1391201670, 1173430173, 1224348052, 59984867, 244860394, 428169201, 344873464, 935293895, 984907214, 766078933, 547512796, 1844882806, 1627235199, 2011214180, 2062270317, 1507497298, 1423022939, 1137477952, 1321699145, 95345982, 145085239, 532201772, 313773861, 830661914, 1015671571, 731183368, 648017665, 3175501286, 2957853679, 2807058932, 2858115069, 2305455554, 2220981195, 2474404304, 2658625497, 3575528878, 3625268135, 3473416636, 3254988725, 3778151818, 3963161475, 4213447064, 4130281361, 3599595085, 3683022916, 3432737375, 3247465558, 3802222185, 4020912224, 4172763771, 4122762354, 3201631749, 3017672716, 2764249623, 2848461854, 2331590177, 2280796200, 2431590963, 2648976442, 104699613, 188127444, 472615631, 287343814, 840019705, 1058709744, 671593195, 621591778, 1852171925, 1668212892, 1953757831, 2037970062, 1514790577, 1463996600, 1080017571, 1297403050, 3673637356, 3623636965, 3235995134, 3454686199, 4007360968, 3822090177, 4107101658, 4190530515, 2997825956, 3215212461, 2830708150, 2779915199, 2256734592, 2340947849, 2627016082, 2443058075, 172466556, 122466165, 273792366, 492483431, 1047239e3, 861968209, 612205898, 695634755, 1646252340, 1863638845, 2013908262, 1963115311, 1446242576, 1530455833, 1277555970, 1093597963, 1636604631, 1820824798, 2073724613, 1989249228, 1436590835, 1487645946, 1337376481, 1119727848, 164948639, 81781910, 331544205, 516552836, 1039717051, 821288114, 669961897, 719700128, 2973530695, 3157750862, 2871682645, 2787207260, 2232435299, 2283490410, 2667994737, 2450346104, 3647212047, 3564045318, 3279033885, 3464042516, 3980931627, 3762502690, 4150144569, 4199882800, 3070356634, 3121275539, 2904027272, 2686254721, 2200818878, 2384911031, 2570832044, 2486224549, 3747192018, 3528626907, 3310321856, 3359936201, 3950355702, 3867060991, 4049844452, 4234721005, 1739656202, 1790575107, 2108100632, 1890328081, 1402811438, 1586903591, 1233856572, 1149249077, 266959938, 48394827, 369057872, 418672217, 1002783846, 919489135, 567498868, 752375421, 209336225, 24197544, 376187827, 459744698, 945164165, 895287692, 574624663, 793451934, 1679968233, 1764313568, 2117360635, 1933530610, 1343127501, 1560637892, 1243112415, 1192455638, 3704280881, 3519142200, 3336358691, 3419915562, 3907448597, 3857572124, 4075877127, 4294704398, 3029510009, 3113855344, 2927934315, 2744104290, 2159976285, 2377486676, 2594734927, 2544078150],
  35443. rn = [0, 151849742, 303699484, 454499602, 607398968, 758720310, 908999204, 1059270954, 1214797936, 1097159550, 1517440620, 1400849762, 1817998408, 1699839814, 2118541908, 2001430874, 2429595872, 2581445614, 2194319100, 2345119218, 3034881240, 3186202582, 2801699524, 2951971274, 3635996816, 3518358430, 3399679628, 3283088770, 4237083816, 4118925222, 4002861748, 3885750714, 1002142683, 850817237, 698445255, 548169417, 529487843, 377642221, 227885567, 77089521, 1943217067, 2061379749, 1640576439, 1757691577, 1474760595, 1592394909, 1174215055, 1290801793, 2875968315, 2724642869, 3111247143, 2960971305, 2405426947, 2253581325, 2638606623, 2487810577, 3808662347, 3926825029, 4044981591, 4162096729, 3342319475, 3459953789, 3576539503, 3693126241, 1986918061, 2137062819, 1685577905, 1836772287, 1381620373, 1532285339, 1078185097, 1229899655, 1040559837, 923313619, 740276417, 621982671, 439452389, 322734571, 137073913, 19308535, 3871163981, 4021308739, 4104605777, 4255800159, 3263785589, 3414450555, 3499326569, 3651041127, 2933202493, 2815956275, 3167684641, 3049390895, 2330014213, 2213296395, 2566595609, 2448830231, 1305906550, 1155237496, 1607244650, 1455525988, 1776460110, 1626319424, 2079897426, 1928707164, 96392454, 213114376, 396673818, 514443284, 562755902, 679998e3, 865136418, 983426092, 3708173718, 3557504664, 3474729866, 3323011204, 4180808110, 4030667424, 3945269170, 3794078908, 2507040230, 2623762152, 2272556026, 2390325492, 2975484382, 3092726480, 2738905026, 2857194700, 3973773121, 3856137295, 4274053469, 4157467219, 3371096953, 3252932727, 3673476453, 3556361835, 2763173681, 2915017791, 3064510765, 3215307299, 2156299017, 2307622919, 2459735317, 2610011675, 2081048481, 1963412655, 1846563261, 1729977011, 1480485785, 1362321559, 1243905413, 1126790795, 878845905, 1030690015, 645401037, 796197571, 274084841, 425408743, 38544885, 188821243, 3613494426, 3731654548, 3313212038, 3430322568, 4082475170, 4200115116, 3780097726, 3896688048, 2668221674, 2516901860, 2366882550, 2216610296, 3141400786, 2989552604, 2837966542, 2687165888, 1202797690, 1320957812, 1437280870, 1554391400, 1669664834, 1787304780, 1906247262, 2022837584, 265905162, 114585348, 499347990, 349075736, 736970802, 585122620, 972512814, 821712160, 2595684844, 2478443234, 2293045232, 2174754046, 3196267988, 3079546586, 2895723464, 2777952454, 3537852828, 3687994002, 3234156416, 3385345166, 4142626212, 4293295786, 3841024952, 3992742070, 174567692, 57326082, 410887952, 292596766, 777231668, 660510266, 1011452712, 893681702, 1108339068, 1258480242, 1343618912, 1494807662, 1715193156, 1865862730, 1948373848, 2100090966, 2701949495, 2818666809, 3004591147, 3122358053, 2235061775, 2352307457, 2535604243, 2653899549, 3915653703, 3764988233, 4219352155, 4067639125, 3444575871, 3294430577, 3746175075, 3594982253, 836553431, 953270745, 600235211, 718002117, 367585007, 484830689, 133361907, 251657213, 2041877159, 1891211689, 1806599355, 1654886325, 1568718495, 1418573201, 1335535747, 1184342925];
  35444. function on(e) {
  35445. for (var t = [], n = 0; n < e.length; n += 4) {
  35446. t.push(e[n] << 24 | e[n + 1] << 16 | e[n + 2] << 8 | e[n + 3]);
  35447. }
  35448. return t;
  35449. }
  35450. var an = /*#__PURE__*/function () {
  35451. function an(e) {
  35452. (0, _classCallCheck2.default)(this, an);
  35453. if (!(this instanceof an)) throw Error("AES must be instanitated with `new`");
  35454. Object.defineProperty(this, "key", {
  35455. value: Ft(e, !0)
  35456. }), this._prepare();
  35457. }
  35458. (0, _createClass2.default)(an, [{
  35459. key: "_prepare",
  35460. value: function _prepare() {
  35461. var e = $t[this.key.length];
  35462. if (null == e) throw new Error("invalid key size (must be 16, 24 or 32 bytes)");
  35463. this._Ke = [], this._Kd = [];
  35464. for (var t = 0; t <= e; t++) {
  35465. this._Ke.push([0, 0, 0, 0]), this._Kd.push([0, 0, 0, 0]);
  35466. }
  35467. var n,
  35468. s = 4 * (e + 1),
  35469. r = this.key.length / 4,
  35470. i = on(this.key);
  35471. for (t = 0; t < r; t++) {
  35472. n = t >> 2, this._Ke[n][t % 4] = i[t], this._Kd[e - n][t % 4] = i[t];
  35473. }
  35474. for (var o, a = 0, c = r; c < s;) {
  35475. if (o = i[r - 1], i[0] ^= zt[o >> 16 & 255] << 24 ^ zt[o >> 8 & 255] << 16 ^ zt[255 & o] << 8 ^ zt[o >> 24 & 255] ^ Wt[a] << 24, a += 1, 8 != r) for (t = 1; t < r; t++) {
  35476. i[t] ^= i[t - 1];
  35477. } else {
  35478. for (t = 1; t < r / 2; t++) {
  35479. i[t] ^= i[t - 1];
  35480. }
  35481. o = i[r / 2 - 1], i[r / 2] ^= zt[255 & o] ^ zt[o >> 8 & 255] << 8 ^ zt[o >> 16 & 255] << 16 ^ zt[o >> 24 & 255] << 24;
  35482. for (t = r / 2 + 1; t < r; t++) {
  35483. i[t] ^= i[t - 1];
  35484. }
  35485. }
  35486. for (t = 0; t < r && c < s;) {
  35487. u = c >> 2, h = c % 4, this._Ke[u][h] = i[t], this._Kd[e - u][h] = i[t++], c++;
  35488. }
  35489. }
  35490. for (var u = 1; u < e; u++) {
  35491. for (var h = 0; h < 4; h++) {
  35492. o = this._Kd[u][h], this._Kd[u][h] = tn[o >> 24 & 255] ^ nn[o >> 16 & 255] ^ sn[o >> 8 & 255] ^ rn[255 & o];
  35493. }
  35494. }
  35495. }
  35496. }, {
  35497. key: "encrypt",
  35498. value: function encrypt(e) {
  35499. if (16 != e.length) throw new Error("invalid plaintext size (must be 16 bytes)");
  35500. for (var t = this._Ke.length - 1, n = [0, 0, 0, 0], s = on(e), r = 0; r < 4; r++) {
  35501. s[r] ^= this._Ke[0][r];
  35502. }
  35503. for (var i = 1; i < t; i++) {
  35504. for (r = 0; r < 4; r++) {
  35505. n[r] = Ht[s[r] >> 24 & 255] ^ Gt[s[(r + 1) % 4] >> 16 & 255] ^ Vt[s[(r + 2) % 4] >> 8 & 255] ^ Yt[255 & s[(r + 3) % 4]] ^ this._Ke[i][r];
  35506. }
  35507. s = n.slice();
  35508. }
  35509. var o,
  35510. a = qt(16);
  35511. for (r = 0; r < 4; r++) {
  35512. o = this._Ke[t][r], a[4 * r] = 255 & (zt[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (zt[s[(r + 1) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (zt[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (zt[255 & s[(r + 3) % 4]] ^ o);
  35513. }
  35514. return a;
  35515. }
  35516. }, {
  35517. key: "decrypt",
  35518. value: function decrypt(e) {
  35519. if (16 != e.length) throw new Error("invalid ciphertext size (must be 16 bytes)");
  35520. for (var t = this._Kd.length - 1, n = [0, 0, 0, 0], s = on(e), r = 0; r < 4; r++) {
  35521. s[r] ^= this._Kd[0][r];
  35522. }
  35523. for (var i = 1; i < t; i++) {
  35524. for (r = 0; r < 4; r++) {
  35525. n[r] = Qt[s[r] >> 24 & 255] ^ Xt[s[(r + 3) % 4] >> 16 & 255] ^ Zt[s[(r + 2) % 4] >> 8 & 255] ^ en[255 & s[(r + 1) % 4]] ^ this._Kd[i][r];
  35526. }
  35527. s = n.slice();
  35528. }
  35529. var o,
  35530. a = qt(16);
  35531. for (r = 0; r < 4; r++) {
  35532. o = this._Kd[t][r], a[4 * r] = 255 & (Jt[s[r] >> 24 & 255] ^ o >> 24), a[4 * r + 1] = 255 & (Jt[s[(r + 3) % 4] >> 16 & 255] ^ o >> 16), a[4 * r + 2] = 255 & (Jt[s[(r + 2) % 4] >> 8 & 255] ^ o >> 8), a[4 * r + 3] = 255 & (Jt[255 & s[(r + 1) % 4]] ^ o);
  35533. }
  35534. return a;
  35535. }
  35536. }]);
  35537. return an;
  35538. }();
  35539. var cn = /*#__PURE__*/function () {
  35540. function cn(e) {
  35541. (0, _classCallCheck2.default)(this, cn);
  35542. if (!(this instanceof cn)) throw Error("AES must be instanitated with `new`");
  35543. this.description = "Electronic Code Block", this.name = "ecb", this._aes = new an(e);
  35544. }
  35545. (0, _createClass2.default)(cn, [{
  35546. key: "encrypt",
  35547. value: function encrypt(e) {
  35548. if ((e = Ft(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)");
  35549. for (var t = qt(e.length), n = qt(16), s = 0; s < e.length; s += 16) {
  35550. Mt(e, n, 0, s, s + 16), Mt(n = this._aes.encrypt(n), t, s);
  35551. }
  35552. return t;
  35553. }
  35554. }, {
  35555. key: "decrypt",
  35556. value: function decrypt(e) {
  35557. if ((e = Ft(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");
  35558. for (var t = qt(e.length), n = qt(16), s = 0; s < e.length; s += 16) {
  35559. Mt(e, n, 0, s, s + 16), Mt(n = this._aes.decrypt(n), t, s);
  35560. }
  35561. return t;
  35562. }
  35563. }]);
  35564. return cn;
  35565. }();
  35566. var un = /*#__PURE__*/function () {
  35567. function un(e, t) {
  35568. (0, _classCallCheck2.default)(this, un);
  35569. if (!(this instanceof un)) throw Error("AES must be instanitated with `new`");
  35570. if (this.description = "Cipher Block Chaining", this.name = "cbc", t) {
  35571. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)");
  35572. } else t = qt(16);
  35573. this._lastCipherblock = Ft(t, !0), this._aes = new an(e);
  35574. }
  35575. (0, _createClass2.default)(un, [{
  35576. key: "encrypt",
  35577. value: function encrypt(e) {
  35578. if ((e = Ft(e)).length % 16 != 0) throw new Error("invalid plaintext size (must be multiple of 16 bytes)");
  35579. for (var t = qt(e.length), n = qt(16), s = 0; s < e.length; s += 16) {
  35580. Mt(e, n, 0, s, s + 16);
  35581. for (var r = 0; r < 16; r++) {
  35582. n[r] ^= this._lastCipherblock[r];
  35583. }
  35584. this._lastCipherblock = this._aes.encrypt(n), Mt(this._lastCipherblock, t, s);
  35585. }
  35586. return t;
  35587. }
  35588. }, {
  35589. key: "decrypt",
  35590. value: function decrypt(e) {
  35591. if ((e = Ft(e)).length % 16 != 0) throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");
  35592. for (var t = qt(e.length), n = qt(16), s = 0; s < e.length; s += 16) {
  35593. Mt(e, n, 0, s, s + 16), n = this._aes.decrypt(n);
  35594. for (var r = 0; r < 16; r++) {
  35595. t[s + r] = n[r] ^ this._lastCipherblock[r];
  35596. }
  35597. Mt(e, this._lastCipherblock, 0, s, s + 16);
  35598. }
  35599. return t;
  35600. }
  35601. }]);
  35602. return un;
  35603. }();
  35604. var hn = /*#__PURE__*/function () {
  35605. function hn(e, t, n) {
  35606. (0, _classCallCheck2.default)(this, hn);
  35607. if (!(this instanceof hn)) throw Error("AES must be instanitated with `new`");
  35608. if (this.description = "Cipher Feedback", this.name = "cfb", t) {
  35609. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 size)");
  35610. } else t = qt(16);
  35611. n || (n = 1), this.segmentSize = n, this._shiftRegister = Ft(t, !0), this._aes = new an(e);
  35612. }
  35613. (0, _createClass2.default)(hn, [{
  35614. key: "encrypt",
  35615. value: function encrypt(e) {
  35616. if (e.length % this.segmentSize != 0) throw new Error("invalid plaintext size (must be segmentSize bytes)");
  35617. for (var t, n = Ft(e, !0), s = 0; s < n.length; s += this.segmentSize) {
  35618. t = this._aes.encrypt(this._shiftRegister);
  35619. for (var r = 0; r < this.segmentSize; r++) {
  35620. n[s + r] ^= t[r];
  35621. }
  35622. Mt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Mt(n, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize);
  35623. }
  35624. return n;
  35625. }
  35626. }, {
  35627. key: "decrypt",
  35628. value: function decrypt(e) {
  35629. if (e.length % this.segmentSize != 0) throw new Error("invalid ciphertext size (must be segmentSize bytes)");
  35630. for (var t, n = Ft(e, !0), s = 0; s < n.length; s += this.segmentSize) {
  35631. t = this._aes.encrypt(this._shiftRegister);
  35632. for (var r = 0; r < this.segmentSize; r++) {
  35633. n[s + r] ^= t[r];
  35634. }
  35635. Mt(this._shiftRegister, this._shiftRegister, 0, this.segmentSize), Mt(e, this._shiftRegister, 16 - this.segmentSize, s, s + this.segmentSize);
  35636. }
  35637. return n;
  35638. }
  35639. }]);
  35640. return hn;
  35641. }();
  35642. var ln = /*#__PURE__*/function () {
  35643. function ln(e, t) {
  35644. (0, _classCallCheck2.default)(this, ln);
  35645. if (!(this instanceof ln)) throw Error("AES must be instanitated with `new`");
  35646. if (this.description = "Output Feedback", this.name = "ofb", t) {
  35647. if (16 != t.length) throw new Error("invalid initialation vector size (must be 16 bytes)");
  35648. } else t = qt(16);
  35649. this._lastPrecipher = Ft(t, !0), this._lastPrecipherIndex = 16, this._aes = new an(e);
  35650. }
  35651. (0, _createClass2.default)(ln, [{
  35652. key: "encrypt",
  35653. value: function encrypt(e) {
  35654. for (var t = Ft(e, !0), n = 0; n < t.length; n++) {
  35655. 16 === this._lastPrecipherIndex && (this._lastPrecipher = this._aes.encrypt(this._lastPrecipher), this._lastPrecipherIndex = 0), t[n] ^= this._lastPrecipher[this._lastPrecipherIndex++];
  35656. }
  35657. return t;
  35658. }
  35659. }, {
  35660. key: "decrypt",
  35661. value: function decrypt(e) {
  35662. return this.encrypt(e);
  35663. }
  35664. }]);
  35665. return ln;
  35666. }();
  35667. var dn = /*#__PURE__*/function () {
  35668. function dn(e) {
  35669. (0, _classCallCheck2.default)(this, dn);
  35670. if (!(this instanceof dn)) throw Error("Counter must be instanitated with `new`");
  35671. 0 === e || e || (e = 1), "number" == typeof e ? (this._counter = qt(16), this.setValue(e)) : this.setBytes(e);
  35672. }
  35673. (0, _createClass2.default)(dn, [{
  35674. key: "setValue",
  35675. value: function setValue(e) {
  35676. if ("number" != typeof e || parseInt(e) != e) throw new Error("invalid counter value (must be an integer)");
  35677. if (e > Number.MAX_SAFE_INTEGER) throw new Error("integer value out of safe range");
  35678. for (var t = 15; t >= 0; --t) {
  35679. this._counter[t] = e % 256, e = parseInt(e / 256);
  35680. }
  35681. }
  35682. }, {
  35683. key: "setBytes",
  35684. value: function setBytes(e) {
  35685. if (16 != (e = Ft(e, !0)).length) throw new Error("invalid counter bytes size (must be 16 bytes)");
  35686. this._counter = e;
  35687. }
  35688. }, {
  35689. key: "increment",
  35690. value: function increment() {
  35691. for (var e = 15; e >= 0; e--) {
  35692. if (255 !== this._counter[e]) {
  35693. this._counter[e]++;
  35694. break;
  35695. }
  35696. this._counter[e] = 0;
  35697. }
  35698. }
  35699. }]);
  35700. return dn;
  35701. }();
  35702. var pn = /*#__PURE__*/function () {
  35703. function pn(e, t) {
  35704. (0, _classCallCheck2.default)(this, pn);
  35705. if (!(this instanceof pn)) throw Error("AES must be instanitated with `new`");
  35706. this.description = "Counter", this.name = "ctr", t instanceof dn || (t = new dn(t)), this._counter = t, this._remainingCounter = null, this._remainingCounterIndex = 16, this._aes = new an(e);
  35707. }
  35708. (0, _createClass2.default)(pn, [{
  35709. key: "encrypt",
  35710. value: function encrypt(e) {
  35711. for (var t = Ft(e, !0), n = 0; n < t.length; n++) {
  35712. 16 === this._remainingCounterIndex && (this._remainingCounter = this._aes.encrypt(this._counter._counter), this._remainingCounterIndex = 0, this._counter.increment()), t[n] ^= this._remainingCounter[this._remainingCounterIndex++];
  35713. }
  35714. return t;
  35715. }
  35716. }, {
  35717. key: "decrypt",
  35718. value: function decrypt(e) {
  35719. return this.encrypt(e);
  35720. }
  35721. }]);
  35722. return pn;
  35723. }();
  35724. var fn = {
  35725. AES: an,
  35726. Counter: dn,
  35727. ModeOfOperation: {
  35728. ecb: cn,
  35729. cbc: un,
  35730. cfb: hn,
  35731. ofb: ln,
  35732. ctr: pn
  35733. },
  35734. utils: {
  35735. hex: Bt,
  35736. utf8: jt
  35737. },
  35738. padding: {
  35739. pkcs7: {
  35740. pad: function pad(e) {
  35741. var t = 16 - (e = Ft(e, !0)).length % 16,
  35742. n = qt(e.length + t);
  35743. Mt(e, n);
  35744. for (var s = e.length; s < n.length; s++) {
  35745. n[s] = t;
  35746. }
  35747. return n;
  35748. },
  35749. strip: function strip(e) {
  35750. if ((e = Ft(e, !0)).length < 16) throw new Error("PKCS#7 invalid length");
  35751. var t = e[e.length - 1];
  35752. if (t > 16) throw new Error("PKCS#7 padding byte out of range");
  35753. for (var n = e.length - t, s = 0; s < t; s++) {
  35754. if (e[n + s] !== t) throw new Error("PKCS#7 invalid padding byte");
  35755. }
  35756. var r = qt(n);
  35757. return Mt(e, r, 0, 0, n), r;
  35758. }
  35759. }
  35760. },
  35761. _arrayTest: {
  35762. coerceArray: Ft,
  35763. createArray: qt,
  35764. copyArray: Mt
  35765. }
  35766. };
  35767. function gn(e, t, n) {
  35768. var s = new Uint8Array(uni.base64ToArrayBuffer(t)),
  35769. r = fn.utils.utf8.toBytes(n),
  35770. i = fn.utils.utf8.toBytes(e),
  35771. o = new fn.ModeOfOperation.cbc(s, r),
  35772. a = fn.padding.pkcs7.pad(i),
  35773. c = o.encrypt(a);
  35774. return uni.arrayBufferToBase64(c);
  35775. }
  35776. var mn = {
  35777. code: 2e4,
  35778. message: "System error"
  35779. },
  35780. yn = {
  35781. code: 20101,
  35782. message: "Invalid client"
  35783. },
  35784. _n = {
  35785. code: 20102,
  35786. message: "Get encrypt key failed"
  35787. },
  35788. wn = {
  35789. 10001: "Secure network is not supported on current playground or unimpsdk",
  35790. 10003: "Config missing in current app. If the problem pesist, please contact DCloud.",
  35791. 10009: "Encrypt payload failed",
  35792. 10010: "Decrypt response failed"
  35793. };
  35794. function vn(e) {
  35795. var _ref25 = e || {},
  35796. t = _ref25.errSubject,
  35797. n = _ref25.subject,
  35798. s = _ref25.errCode,
  35799. r = _ref25.errMsg,
  35800. i = _ref25.code,
  35801. o = _ref25.message,
  35802. a = _ref25.cause;
  35803. return new ne({
  35804. subject: t || n || "uni-secure-network",
  35805. code: s || i || mn.code,
  35806. message: r || o,
  35807. cause: a
  35808. });
  35809. }
  35810. var In,
  35811. Sn,
  35812. bn = null;
  35813. var kn = /*#__PURE__*/function (_Lt) {
  35814. (0, _inherits2.default)(kn, _Lt);
  35815. var _super9 = _createSuper(kn);
  35816. function kn(e) {
  35817. var _this14;
  35818. (0, _classCallCheck2.default)(this, kn);
  35819. _this14 = _super9.call(this, e), _this14.clientType = "mp-weixin", _this14.userEncryptKey = null;
  35820. return _this14;
  35821. }
  35822. (0, _createClass2.default)(kn, [{
  35823. key: "isLogin",
  35824. value: function isLogin() {
  35825. return !!this.scopedGlobalCache.mpWeixinCode || !!this.scopedGlobalCache.mpWeixinOpenid;
  35826. }
  35827. }, {
  35828. key: "prepare",
  35829. value: function () {
  35830. var _prepare2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
  35831. return _regenerator.default.wrap(function _callee38$(_context38) {
  35832. while (1) {
  35833. switch (_context38.prev = _context38.next) {
  35834. case 0:
  35835. if (this.isLogin()) {
  35836. _context38.next = 7;
  35837. break;
  35838. }
  35839. if (this.scopedGlobalCache.initPromise) {
  35840. _context38.next = 3;
  35841. break;
  35842. }
  35843. throw new Error("`uniCloud.initSecureNetworkByWeixin` has not yet been called");
  35844. case 3:
  35845. _context38.next = 5;
  35846. return this.scopedGlobalCache.initPromise;
  35847. case 5:
  35848. if (this.isLogin()) {
  35849. _context38.next = 7;
  35850. break;
  35851. }
  35852. throw new Error("uniCloud.initSecureNetworkByWeixin` has not yet been called or successfully excuted");
  35853. case 7:
  35854. case "end":
  35855. return _context38.stop();
  35856. }
  35857. }
  35858. }, _callee38, this);
  35859. }));
  35860. function prepare() {
  35861. return _prepare2.apply(this, arguments);
  35862. }
  35863. return prepare;
  35864. }()
  35865. }, {
  35866. key: "getUserEncryptKey",
  35867. value: function () {
  35868. var _getUserEncryptKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
  35869. var _this15 = this;
  35870. var e;
  35871. return _regenerator.default.wrap(function _callee39$(_context39) {
  35872. while (1) {
  35873. switch (_context39.prev = _context39.next) {
  35874. case 0:
  35875. if (!this.userEncryptKey) {
  35876. _context39.next = 2;
  35877. break;
  35878. }
  35879. return _context39.abrupt("return", this.userEncryptKey);
  35880. case 2:
  35881. if (!(bn && bn.expireTime)) {
  35882. _context39.next = 6;
  35883. break;
  35884. }
  35885. e = Date.now();
  35886. if (!(bn.expireTime - e > 0)) {
  35887. _context39.next = 6;
  35888. break;
  35889. }
  35890. return _context39.abrupt("return", (this.userEncryptKey = bn, this.userEncryptKey));
  35891. case 6:
  35892. return _context39.abrupt("return", new Promise(function (e, t) {
  35893. uni.getUserCryptoManager().getLatestUserKey({
  35894. success: function success(t) {
  35895. bn = t, _this15.userEncryptKey = t, e(_this15.userEncryptKey);
  35896. },
  35897. fail: function fail(e) {
  35898. t(vn(_objectSpread(_objectSpread({}, _n), {}, {
  35899. cause: e
  35900. })));
  35901. }
  35902. });
  35903. }));
  35904. case 7:
  35905. case "end":
  35906. return _context39.stop();
  35907. }
  35908. }
  35909. }, _callee39, this);
  35910. }));
  35911. function getUserEncryptKey() {
  35912. return _getUserEncryptKey.apply(this, arguments);
  35913. }
  35914. return getUserEncryptKey;
  35915. }()
  35916. }, {
  35917. key: "getWxAppId",
  35918. value: function getWxAppId() {
  35919. return wx.getAccountInfoSync().miniProgram.appId;
  35920. }
  35921. }, {
  35922. key: "platformGetSignOption",
  35923. value: function () {
  35924. var _platformGetSignOption = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
  35925. var _yield$this$getUserEn, e, t, n;
  35926. return _regenerator.default.wrap(function _callee40$(_context40) {
  35927. while (1) {
  35928. switch (_context40.prev = _context40.next) {
  35929. case 0:
  35930. _context40.next = 2;
  35931. return this.getUserEncryptKey();
  35932. case 2:
  35933. _yield$this$getUserEn = _context40.sent;
  35934. e = _yield$this$getUserEn.encryptKey;
  35935. t = _yield$this$getUserEn.iv;
  35936. n = _yield$this$getUserEn.version;
  35937. return _context40.abrupt("return", {
  35938. verifyClientSign: gn(JSON.stringify({
  35939. data: JSON.stringify({}),
  35940. appId: this.appId,
  35941. deviceId: this.deviceId,
  35942. wxAppId: this.getWxAppId(),
  35943. simulator: "devtools" === ce().platform,
  35944. timestamp: Date.now()
  35945. }), e, t),
  35946. encryptKeyId: n,
  35947. mpWeixinCode: this.scopedGlobalCache.mpWeixinCode,
  35948. mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid
  35949. });
  35950. case 7:
  35951. case "end":
  35952. return _context40.stop();
  35953. }
  35954. }
  35955. }, _callee40, this);
  35956. }));
  35957. function platformGetSignOption() {
  35958. return _platformGetSignOption.apply(this, arguments);
  35959. }
  35960. return platformGetSignOption;
  35961. }()
  35962. }, {
  35963. key: "platformEncryptData",
  35964. value: function () {
  35965. var _platformEncryptData = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41(e) {
  35966. var _yield$this$getUserEn2, t, n, s, r;
  35967. return _regenerator.default.wrap(function _callee41$(_context41) {
  35968. while (1) {
  35969. switch (_context41.prev = _context41.next) {
  35970. case 0:
  35971. _context41.next = 2;
  35972. return this.getUserEncryptKey();
  35973. case 2:
  35974. _yield$this$getUserEn2 = _context41.sent;
  35975. t = _yield$this$getUserEn2.encryptKey;
  35976. n = _yield$this$getUserEn2.iv;
  35977. s = _yield$this$getUserEn2.version;
  35978. r = {
  35979. secretType: this.secretType,
  35980. encryptKeyId: s,
  35981. mpWeixinCode: this.scopedGlobalCache.mpWeixinCode,
  35982. mpWeixinOpenid: this.scopedGlobalCache.mpWeixinOpenid
  35983. };
  35984. return _context41.abrupt("return", this.secretType === Rt ? {
  35985. content: e,
  35986. _uniCloudOptions: r
  35987. } : {
  35988. content: gn(JSON.stringify({
  35989. data: JSON.stringify(e),
  35990. appId: this.appId,
  35991. deviceId: this.deviceId,
  35992. wxAppId: this.getWxAppId(),
  35993. simulator: "devtools" === ce().platform,
  35994. timestamp: Date.now()
  35995. }), t, n),
  35996. _uniCloudOptions: r
  35997. });
  35998. case 8:
  35999. case "end":
  36000. return _context41.stop();
  36001. }
  36002. }
  36003. }, _callee41, this);
  36004. }));
  36005. function platformEncryptData(_x33) {
  36006. return _platformEncryptData.apply(this, arguments);
  36007. }
  36008. return platformEncryptData;
  36009. }()
  36010. }, {
  36011. key: "platformDecryptResult",
  36012. value: function () {
  36013. var _platformDecryptResult = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42(e) {
  36014. var t, _yield$this$getUserEn3, n, s;
  36015. return _regenerator.default.wrap(function _callee42$(_context42) {
  36016. while (1) {
  36017. switch (_context42.prev = _context42.next) {
  36018. case 0:
  36019. t = e.content;
  36020. _context42.next = 3;
  36021. return this.getUserEncryptKey();
  36022. case 3:
  36023. _yield$this$getUserEn3 = _context42.sent;
  36024. n = _yield$this$getUserEn3.encryptKey;
  36025. s = _yield$this$getUserEn3.iv;
  36026. return _context42.abrupt("return", JSON.parse(function (e, t, n) {
  36027. var s = new Uint8Array(uni.base64ToArrayBuffer(e)),
  36028. r = new Uint8Array(uni.base64ToArrayBuffer(t)),
  36029. i = fn.utils.utf8.toBytes(n),
  36030. o = new fn.ModeOfOperation.cbc(r, i),
  36031. a = fn.padding.pkcs7.strip(o.decrypt(s));
  36032. return fn.utils.utf8.fromBytes(a);
  36033. }(t, n, s)));
  36034. case 7:
  36035. case "end":
  36036. return _context42.stop();
  36037. }
  36038. }
  36039. }, _callee42, this);
  36040. }));
  36041. function platformDecryptResult(_x34) {
  36042. return _platformDecryptResult.apply(this, arguments);
  36043. }
  36044. return platformDecryptResult;
  36045. }()
  36046. }, {
  36047. key: "isClientKeyNotFound",
  36048. value: function isClientKeyNotFound() {
  36049. return !1;
  36050. }
  36051. }]);
  36052. return kn;
  36053. }(Lt);
  36054. function Cn(e) {
  36055. var t = ["hasClientKey", "encryptGetClientKeyPayload", "setClientKey", "encrypt", "decrypt"],
  36056. n = {};
  36057. var _loop = function _loop(_s10) {
  36058. var r = t[_s10];
  36059. n[r] = function () {
  36060. for (var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++) {
  36061. t[_key] = arguments[_key];
  36062. }
  36063. return new Promise(function (n, s) {
  36064. "function" == typeof e[r] ? e[r].apply(e, t.concat([function () {
  36065. var _ref26 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36066. e = _ref26.type,
  36067. t = _ref26.data,
  36068. r = _ref26.errCode,
  36069. i = _ref26.errMsg,
  36070. o = _ref26.errSubject,
  36071. a = _ref26.message;
  36072. "success" === e ? n(t) : s(vn({
  36073. errCode: r,
  36074. errMsg: wn[r] || i || a,
  36075. errSubject: o
  36076. }));
  36077. }])) : s(vn({
  36078. message: "请检查manifest.json内是否开启安全网络模块,另外注意标准基座不支持安全网络模块"
  36079. }));
  36080. });
  36081. };
  36082. };
  36083. for (var _s10 = 0; _s10 < t.length; _s10++) {
  36084. _loop(_s10);
  36085. }
  36086. return n;
  36087. }
  36088. var Tn = /*#__PURE__*/function (_Lt2) {
  36089. (0, _inherits2.default)(Tn, _Lt2);
  36090. var _super10 = _createSuper(Tn);
  36091. function Tn(e) {
  36092. var _this16;
  36093. (0, _classCallCheck2.default)(this, Tn);
  36094. _this16 = _super10.call(this, e), _this16.clientType = "app", _this16.appUtils = _objectSpread({}, Cn(uni.requireNativePlugin("plus"))), _this16.systemInfo = In || (In = ce());
  36095. return _this16;
  36096. }
  36097. (0, _createClass2.default)(Tn, [{
  36098. key: "hasClientKey",
  36099. value: function () {
  36100. var _hasClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
  36101. return _regenerator.default.wrap(function _callee43$(_context43) {
  36102. while (1) {
  36103. switch (_context43.prev = _context43.next) {
  36104. case 0:
  36105. _context43.next = 2;
  36106. return this.appUtils.hasClientKey({
  36107. provider: this.provider,
  36108. spaceId: this.spaceId
  36109. });
  36110. case 2:
  36111. this._hasClientKey = _context43.sent;
  36112. return _context43.abrupt("return", this._hasClientKey);
  36113. case 4:
  36114. case "end":
  36115. return _context43.stop();
  36116. }
  36117. }
  36118. }, _callee43, this);
  36119. }));
  36120. function hasClientKey() {
  36121. return _hasClientKey.apply(this, arguments);
  36122. }
  36123. return hasClientKey;
  36124. }()
  36125. }, {
  36126. key: "getAppClientKey",
  36127. value: function () {
  36128. var _getAppClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
  36129. var _yield$this$appUtils$, e, t, n, s, r;
  36130. return _regenerator.default.wrap(function _callee44$(_context44) {
  36131. while (1) {
  36132. switch (_context44.prev = _context44.next) {
  36133. case 0:
  36134. _context44.next = 2;
  36135. return this.appUtils.encryptGetClientKeyPayload({
  36136. data: JSON.stringify({})
  36137. });
  36138. case 2:
  36139. _yield$this$appUtils$ = _context44.sent;
  36140. e = _yield$this$appUtils$.data;
  36141. t = _yield$this$appUtils$.key;
  36142. _context44.next = 7;
  36143. return this.uniCloudIns.callFunction({
  36144. name: "DCloud-clientDB",
  36145. data: {
  36146. redirectTo: "encryption",
  36147. action: "getAppClientKey",
  36148. data: e,
  36149. key: t
  36150. }
  36151. });
  36152. case 7:
  36153. _context44.t0 = _context44.sent.result;
  36154. if (_context44.t0) {
  36155. _context44.next = 10;
  36156. break;
  36157. }
  36158. _context44.t0 = {};
  36159. case 10:
  36160. n = _context44.t0;
  36161. if (!(0 !== n.errCode)) {
  36162. _context44.next = 13;
  36163. break;
  36164. }
  36165. throw function (e) {
  36166. return new ne({
  36167. subject: e.errSubject || "uni-secure-network",
  36168. code: e.errCode || e.code || mn.code,
  36169. message: e.errMsg || e.message
  36170. });
  36171. }(n);
  36172. case 13:
  36173. s = n.clientKey, r = n.key;
  36174. _context44.next = 16;
  36175. return this.appUtils.setClientKey({
  36176. provider: this.provider,
  36177. spaceId: this.spaceId,
  36178. clientKey: s,
  36179. key: r
  36180. });
  36181. case 16:
  36182. case "end":
  36183. return _context44.stop();
  36184. }
  36185. }
  36186. }, _callee44, this);
  36187. }));
  36188. function getAppClientKey() {
  36189. return _getAppClientKey.apply(this, arguments);
  36190. }
  36191. return getAppClientKey;
  36192. }()
  36193. }, {
  36194. key: "ensureClientKey",
  36195. value: function () {
  36196. var _ensureClientKey = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
  36197. var _this17 = this;
  36198. var _ref27,
  36199. _ref27$forceUpdate,
  36200. e,
  36201. _args45 = arguments;
  36202. return _regenerator.default.wrap(function _callee45$(_context45) {
  36203. while (1) {
  36204. switch (_context45.prev = _context45.next) {
  36205. case 0:
  36206. _ref27 = _args45.length > 0 && _args45[0] !== undefined ? _args45[0] : {}, _ref27$forceUpdate = _ref27.forceUpdate, e = _ref27$forceUpdate === void 0 ? !1 : _ref27$forceUpdate;
  36207. _context45.t1 = !0;
  36208. _context45.next = 4;
  36209. return this.hasClientKey();
  36210. case 4:
  36211. _context45.t2 = _context45.sent;
  36212. _context45.t0 = _context45.t1 !== _context45.t2;
  36213. if (_context45.t0) {
  36214. _context45.next = 8;
  36215. break;
  36216. }
  36217. _context45.t0 = e;
  36218. case 8:
  36219. if (!_context45.t0) {
  36220. _context45.next = 10;
  36221. break;
  36222. }
  36223. return _context45.abrupt("return", (e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus === d || !e && this.scopedGlobalCache.initPromise && this.scopedGlobalCache.initStatus !== f || (this.scopedGlobalCache.initPromise = this.getAppClientKey(), this.scopedGlobalCache.initPromise.then(function (e) {
  36224. _this17.scopedGlobalCache.initStatus = p;
  36225. }).catch(function (e) {
  36226. throw _this17.scopedGlobalCache.initStatus = f, e;
  36227. }), this.scopedGlobalCache.initStatus = d), this.scopedGlobalCache.initPromise));
  36228. case 10:
  36229. case "end":
  36230. return _context45.stop();
  36231. }
  36232. }
  36233. }, _callee45, this);
  36234. }));
  36235. function ensureClientKey() {
  36236. return _ensureClientKey.apply(this, arguments);
  36237. }
  36238. return ensureClientKey;
  36239. }()
  36240. }, {
  36241. key: "prepare",
  36242. value: function () {
  36243. var _prepare3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
  36244. var _ref28,
  36245. _ref28$forceUpdate,
  36246. e,
  36247. _args46 = arguments;
  36248. return _regenerator.default.wrap(function _callee46$(_context46) {
  36249. while (1) {
  36250. switch (_context46.prev = _context46.next) {
  36251. case 0:
  36252. _ref28 = _args46.length > 0 && _args46[0] !== undefined ? _args46[0] : {}, _ref28$forceUpdate = _ref28.forceUpdate, e = _ref28$forceUpdate === void 0 ? !1 : _ref28$forceUpdate;
  36253. _context46.next = 3;
  36254. return this.ensureClientKey({
  36255. forceUpdate: e
  36256. });
  36257. case 3:
  36258. case "end":
  36259. return _context46.stop();
  36260. }
  36261. }
  36262. }, _callee46, this);
  36263. }));
  36264. function prepare() {
  36265. return _prepare3.apply(this, arguments);
  36266. }
  36267. return prepare;
  36268. }()
  36269. }, {
  36270. key: "platformGetSignOption",
  36271. value: function () {
  36272. var _platformGetSignOption2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
  36273. var _yield$this$appUtils$2, e, t;
  36274. return _regenerator.default.wrap(function _callee47$(_context47) {
  36275. while (1) {
  36276. switch (_context47.prev = _context47.next) {
  36277. case 0:
  36278. _context47.next = 2;
  36279. return this.appUtils.encrypt({
  36280. provider: this.provider,
  36281. spaceId: this.spaceId,
  36282. data: JSON.stringify({})
  36283. });
  36284. case 2:
  36285. _yield$this$appUtils$2 = _context47.sent;
  36286. e = _yield$this$appUtils$2.data;
  36287. t = _yield$this$appUtils$2.key;
  36288. return _context47.abrupt("return", {
  36289. verifyClientSign: e,
  36290. encryptKeyId: t
  36291. });
  36292. case 6:
  36293. case "end":
  36294. return _context47.stop();
  36295. }
  36296. }
  36297. }, _callee47, this);
  36298. }));
  36299. function platformGetSignOption() {
  36300. return _platformGetSignOption2.apply(this, arguments);
  36301. }
  36302. return platformGetSignOption;
  36303. }()
  36304. }, {
  36305. key: "platformEncryptData",
  36306. value: function () {
  36307. var _platformEncryptData2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48(e) {
  36308. var _yield$this$appUtils$3, t, n, s;
  36309. return _regenerator.default.wrap(function _callee48$(_context48) {
  36310. while (1) {
  36311. switch (_context48.prev = _context48.next) {
  36312. case 0:
  36313. _context48.next = 2;
  36314. return this.appUtils.encrypt({
  36315. provider: this.provider,
  36316. spaceId: this.spaceId,
  36317. data: JSON.stringify(e)
  36318. });
  36319. case 2:
  36320. _yield$this$appUtils$3 = _context48.sent;
  36321. t = _yield$this$appUtils$3.data;
  36322. n = _yield$this$appUtils$3.key;
  36323. s = {
  36324. secretType: this.secretType,
  36325. encryptKeyId: n
  36326. };
  36327. return _context48.abrupt("return", this.secretType === Rt ? {
  36328. content: e,
  36329. _uniCloudOptions: s
  36330. } : {
  36331. content: t,
  36332. _uniCloudOptions: s
  36333. });
  36334. case 7:
  36335. case "end":
  36336. return _context48.stop();
  36337. }
  36338. }
  36339. }, _callee48, this);
  36340. }));
  36341. function platformEncryptData(_x35) {
  36342. return _platformEncryptData2.apply(this, arguments);
  36343. }
  36344. return platformEncryptData;
  36345. }()
  36346. }, {
  36347. key: "platformDecryptResult",
  36348. value: function () {
  36349. var _platformDecryptResult2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49(e) {
  36350. var t, _e$_uniCloudOptions, n, s, r;
  36351. return _regenerator.default.wrap(function _callee49$(_context49) {
  36352. while (1) {
  36353. switch (_context49.prev = _context49.next) {
  36354. case 0:
  36355. t = e.content;
  36356. _e$_uniCloudOptions = e._uniCloudOptions;
  36357. n = _e$_uniCloudOptions === void 0 ? {} : _e$_uniCloudOptions;
  36358. s = n.encryptKeyId;
  36359. _context49.next = 6;
  36360. return this.appUtils.decrypt({
  36361. provider: this.provider,
  36362. spaceId: this.spaceId,
  36363. data: t,
  36364. key: s
  36365. });
  36366. case 6:
  36367. r = _context49.sent;
  36368. return _context49.abrupt("return", JSON.parse(r.data));
  36369. case 8:
  36370. case "end":
  36371. return _context49.stop();
  36372. }
  36373. }
  36374. }, _callee49, this);
  36375. }));
  36376. function platformDecryptResult(_x36) {
  36377. return _platformDecryptResult2.apply(this, arguments);
  36378. }
  36379. return platformDecryptResult;
  36380. }()
  36381. }, {
  36382. key: "isClientKeyNotFound",
  36383. value: function isClientKeyNotFound() {
  36384. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  36385. var t = e.result || {};
  36386. return 70009 === t.errCode && "uni-secure-network" === t.errSubject;
  36387. }
  36388. }]);
  36389. return Tn;
  36390. }(Lt);
  36391. function Pn() {
  36392. var _ref29 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36393. e = _ref29.secretType;
  36394. return e === xt || e === Rt || e === Ut;
  36395. }
  36396. function An() {
  36397. var _ref30 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36398. e = _ref30.name,
  36399. _ref30$data = _ref30.data,
  36400. t = _ref30$data === void 0 ? {} : _ref30$data;
  36401. return "app" === P && "DCloud-clientDB" === e && "encryption" === t.redirectTo && "getAppClientKey" === t.action;
  36402. }
  36403. function En() {
  36404. var _ref31 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36405. e = _ref31.provider,
  36406. t = _ref31.spaceId,
  36407. n = _ref31.functionName;
  36408. var _ce = ce(),
  36409. s = _ce.appId,
  36410. r = _ce.uniPlatform,
  36411. i = _ce.osName;
  36412. var o = r;
  36413. "app" === r && (o = i);
  36414. var a = function () {
  36415. var _ref32 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36416. e = _ref32.provider,
  36417. t = _ref32.spaceId;
  36418. var n = T;
  36419. if (!n) return {};
  36420. e = function (e) {
  36421. return "tencent" === e ? "tcb" : e;
  36422. }(e);
  36423. var s = n.find(function (n) {
  36424. return n.provider === e && n.spaceId === t;
  36425. });
  36426. return s && s.config;
  36427. }({
  36428. provider: e,
  36429. spaceId: t
  36430. });
  36431. if (!a || !a.accessControl || !a.accessControl.enable) return !1;
  36432. var c = a.accessControl.function || {},
  36433. u = Object.keys(c);
  36434. if (0 === u.length) return !0;
  36435. var h = function (e, t) {
  36436. var n, s, r;
  36437. for (var _i2 = 0; _i2 < e.length; _i2++) {
  36438. var _o2 = e[_i2];
  36439. _o2 !== t ? "*" !== _o2 ? _o2.split(",").map(function (e) {
  36440. return e.trim();
  36441. }).indexOf(t) > -1 && (s = _o2) : r = _o2 : n = _o2;
  36442. }
  36443. return n || s || r;
  36444. }(u, n);
  36445. if (!h) return !1;
  36446. if ((c[h] || []).find(function () {
  36447. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  36448. return e.appId === s && (e.platform || "").toLowerCase() === o.toLowerCase();
  36449. })) return !0;
  36450. throw console.error("\u6B64\u5E94\u7528[appId: ".concat(s, ", platform: ").concat(o, "]\u4E0D\u5728\u4E91\u7AEF\u914D\u7F6E\u7684\u5141\u8BB8\u8BBF\u95EE\u7684\u5E94\u7528\u5217\u8868\u5185\uFF0C\u53C2\u8003\uFF1Ahttps://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")), vn(yn);
  36451. }
  36452. function On(_ref33) {
  36453. var e = _ref33.functionName,
  36454. t = _ref33.result,
  36455. n = _ref33.logPvd;
  36456. if (b && this.__dev__.debugLog && t && t.requestId) {
  36457. var _s11 = JSON.stringify({
  36458. spaceId: this.config.spaceId,
  36459. functionName: e,
  36460. requestId: t.requestId
  36461. });
  36462. console.log("[".concat(n, "-request]").concat(_s11, "[/").concat(n, "-request]"));
  36463. }
  36464. }
  36465. function xn(e) {
  36466. var t = e.callFunction,
  36467. n = function n(_n7) {
  36468. var _this18 = this;
  36469. var s = _n7.name;
  36470. _n7.data = kt.call(e, {
  36471. data: _n7.data
  36472. });
  36473. var r = {
  36474. aliyun: "aliyun",
  36475. tencent: "tcb",
  36476. tcb: "tcb"
  36477. }[this.config.provider],
  36478. i = Pn(_n7),
  36479. o = An(_n7),
  36480. a = i || o;
  36481. return t.call(this, _n7).then(function (e) {
  36482. return e.errCode = 0, !a && On.call(_this18, {
  36483. functionName: s,
  36484. result: e,
  36485. logPvd: r
  36486. }), Promise.resolve(e);
  36487. }, function (e) {
  36488. return !a && On.call(_this18, {
  36489. functionName: s,
  36490. result: e,
  36491. logPvd: r
  36492. }), e && e.message && (e.message = function () {
  36493. var _ref34 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36494. _ref34$message = _ref34.message,
  36495. e = _ref34$message === void 0 ? "" : _ref34$message,
  36496. _ref34$extraInfo = _ref34.extraInfo,
  36497. t = _ref34$extraInfo === void 0 ? {} : _ref34$extraInfo,
  36498. _ref34$formatter = _ref34.formatter,
  36499. n = _ref34$formatter === void 0 ? [] : _ref34$formatter;
  36500. for (var _s12 = 0; _s12 < n.length; _s12++) {
  36501. var _n$_s = n[_s12],
  36502. _r4 = _n$_s.rule,
  36503. _i3 = _n$_s.content,
  36504. _o3 = _n$_s.mode,
  36505. _a = e.match(_r4);
  36506. if (!_a) continue;
  36507. var _c = _i3;
  36508. for (var _e20 = 1; _e20 < _a.length; _e20++) {
  36509. _c = Et(_c, "{$".concat(_e20, "}"), _a[_e20]);
  36510. }
  36511. for (var _e21 in t) {
  36512. _c = Et(_c, "{".concat(_e21, "}"), t[_e21]);
  36513. }
  36514. return "replace" === _o3 ? _c : e + _c;
  36515. }
  36516. return e;
  36517. }({
  36518. message: "[".concat(_n7.name, "]: ").concat(e.message),
  36519. formatter: Tt,
  36520. extraInfo: {
  36521. functionName: s
  36522. }
  36523. })), Promise.reject(e);
  36524. });
  36525. };
  36526. e.callFunction = function (t) {
  36527. var _e$config = e.config,
  36528. s = _e$config.provider,
  36529. r = _e$config.spaceId,
  36530. i = t.name;
  36531. var o, a;
  36532. if (t.data = t.data || {}, b && e.__dev__.debugInfo && !e.__dev__.debugInfo.forceRemote && E ? (e._callCloudFunction || (e._callCloudFunction = n, e._callLocalFunction = Ct), o = Ct) : o = n, o = o.bind(e), An(t)) a = n.call(e, t);else if (function (_ref35) {
  36533. var e = _ref35.name,
  36534. _ref35$data = _ref35.data,
  36535. t = _ref35$data === void 0 ? {} : _ref35$data;
  36536. return "mp-weixin" === P && "uni-id-co" === e && "secureNetworkHandshakeByWeixin" === t.method;
  36537. }(t)) a = o.call(e, t);else if (Pn(t)) {
  36538. a = new Sn({
  36539. secretType: t.secretType,
  36540. uniCloudIns: e
  36541. }).wrapEncryptDataCallFunction(n.bind(e))(t);
  36542. } else if (En({
  36543. provider: s,
  36544. spaceId: r,
  36545. functionName: i
  36546. })) {
  36547. a = new Sn({
  36548. secretType: t.secretType,
  36549. uniCloudIns: e
  36550. }).wrapVerifyClientCallFunction(n.bind(e))(t);
  36551. } else a = o(t);
  36552. return Object.defineProperty(a, "result", {
  36553. get: function get() {
  36554. return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"), {};
  36555. }
  36556. }), a;
  36557. };
  36558. }
  36559. Sn = "mp-weixin" !== P && "app" !== P ? /*#__PURE__*/function () {
  36560. function _class2() {
  36561. (0, _classCallCheck2.default)(this, _class2);
  36562. throw vn({
  36563. message: "Platform ".concat(P, " is not supported by secure network")
  36564. });
  36565. }
  36566. return (0, _createClass2.default)(_class2);
  36567. }() : C ? "mp-weixin" === P ? kn : Tn : /*#__PURE__*/function () {
  36568. function _class3() {
  36569. (0, _classCallCheck2.default)(this, _class3);
  36570. throw vn({
  36571. message: "Platform ".concat(P, " is not enabled, please check whether secure network module is enabled in your manifest.json")
  36572. });
  36573. }
  36574. return (0, _createClass2.default)(_class3);
  36575. }();
  36576. var Rn = Symbol("CLIENT_DB_INTERNAL");
  36577. function Un(e, t) {
  36578. return e.then = "DoNotReturnProxyWithAFunctionNamedThen", e._internalType = Rn, e.inspect = null, e.__ob__ = void 0, new Proxy(e, {
  36579. get: function get(e, n, s) {
  36580. if ("_uniClient" === n) return null;
  36581. if ("symbol" == (0, _typeof2.default)(n)) return e[n];
  36582. if (n in e || "string" != typeof n) {
  36583. var _t10 = e[n];
  36584. return "function" == typeof _t10 ? _t10.bind(e) : _t10;
  36585. }
  36586. return t.get(e, n, s);
  36587. }
  36588. });
  36589. }
  36590. function Ln(e) {
  36591. return {
  36592. on: function on(t, n) {
  36593. e[t] = e[t] || [], e[t].indexOf(n) > -1 || e[t].push(n);
  36594. },
  36595. off: function off(t, n) {
  36596. e[t] = e[t] || [];
  36597. var s = e[t].indexOf(n);
  36598. -1 !== s && e[t].splice(s, 1);
  36599. }
  36600. };
  36601. }
  36602. var Nn = ["db.Geo", "db.command", "command.aggregate"];
  36603. function Dn(e, t) {
  36604. return Nn.indexOf("".concat(e, ".").concat(t)) > -1;
  36605. }
  36606. function Fn(e) {
  36607. switch (g(e)) {
  36608. case "array":
  36609. return e.map(function (e) {
  36610. return Fn(e);
  36611. });
  36612. case "object":
  36613. return e._internalType === Rn || Object.keys(e).forEach(function (t) {
  36614. e[t] = Fn(e[t]);
  36615. }), e;
  36616. case "regexp":
  36617. return {
  36618. $regexp: {
  36619. source: e.source,
  36620. flags: e.flags
  36621. }
  36622. };
  36623. case "date":
  36624. return {
  36625. $date: e.toISOString()
  36626. };
  36627. default:
  36628. return e;
  36629. }
  36630. }
  36631. function qn(e) {
  36632. return e && e.content && e.content.$method;
  36633. }
  36634. var Mn = /*#__PURE__*/function () {
  36635. function Mn(e, t, n) {
  36636. (0, _classCallCheck2.default)(this, Mn);
  36637. this.content = e, this.prevStage = t || null, this.udb = null, this._database = n;
  36638. }
  36639. (0, _createClass2.default)(Mn, [{
  36640. key: "toJSON",
  36641. value: function toJSON() {
  36642. var e = this;
  36643. var t = [e.content];
  36644. for (; e.prevStage;) {
  36645. e = e.prevStage, t.push(e.content);
  36646. }
  36647. return {
  36648. $db: t.reverse().map(function (e) {
  36649. return {
  36650. $method: e.$method,
  36651. $param: Fn(e.$param)
  36652. };
  36653. })
  36654. };
  36655. }
  36656. }, {
  36657. key: "toString",
  36658. value: function toString() {
  36659. return JSON.stringify(this.toJSON());
  36660. }
  36661. }, {
  36662. key: "getAction",
  36663. value: function getAction() {
  36664. var e = this.toJSON().$db.find(function (e) {
  36665. return "action" === e.$method;
  36666. });
  36667. return e && e.$param && e.$param[0];
  36668. }
  36669. }, {
  36670. key: "getCommand",
  36671. value: function getCommand() {
  36672. return {
  36673. $db: this.toJSON().$db.filter(function (e) {
  36674. return "action" !== e.$method;
  36675. })
  36676. };
  36677. }
  36678. }, {
  36679. key: "isAggregate",
  36680. get: function get() {
  36681. var e = this;
  36682. for (; e;) {
  36683. var t = qn(e),
  36684. _n8 = qn(e.prevStage);
  36685. if ("aggregate" === t && "collection" === _n8 || "pipeline" === t) return !0;
  36686. e = e.prevStage;
  36687. }
  36688. return !1;
  36689. }
  36690. }, {
  36691. key: "isCommand",
  36692. get: function get() {
  36693. var e = this;
  36694. for (; e;) {
  36695. if ("command" === qn(e)) return !0;
  36696. e = e.prevStage;
  36697. }
  36698. return !1;
  36699. }
  36700. }, {
  36701. key: "isAggregateCommand",
  36702. get: function get() {
  36703. var e = this;
  36704. for (; e;) {
  36705. var t = qn(e),
  36706. _n9 = qn(e.prevStage);
  36707. if ("aggregate" === t && "command" === _n9) return !0;
  36708. e = e.prevStage;
  36709. }
  36710. return !1;
  36711. }
  36712. }, {
  36713. key: "getNextStageFn",
  36714. value: function getNextStageFn(e) {
  36715. var t = this;
  36716. return function () {
  36717. return Kn({
  36718. $method: e,
  36719. $param: Fn(Array.from(arguments))
  36720. }, t, t._database);
  36721. };
  36722. }
  36723. }, {
  36724. key: "count",
  36725. get: function get() {
  36726. return this.isAggregate ? this.getNextStageFn("count") : function () {
  36727. return this._send("count", Array.from(arguments));
  36728. };
  36729. }
  36730. }, {
  36731. key: "remove",
  36732. get: function get() {
  36733. return this.isCommand ? this.getNextStageFn("remove") : function () {
  36734. return this._send("remove", Array.from(arguments));
  36735. };
  36736. }
  36737. }, {
  36738. key: "get",
  36739. value: function get() {
  36740. return this._send("get", Array.from(arguments));
  36741. }
  36742. }, {
  36743. key: "add",
  36744. get: function get() {
  36745. return this.isCommand ? this.getNextStageFn("add") : function () {
  36746. return this._send("add", Array.from(arguments));
  36747. };
  36748. }
  36749. }, {
  36750. key: "update",
  36751. value: function update() {
  36752. return this._send("update", Array.from(arguments));
  36753. }
  36754. }, {
  36755. key: "end",
  36756. value: function end() {
  36757. return this._send("end", Array.from(arguments));
  36758. }
  36759. }, {
  36760. key: "set",
  36761. get: function get() {
  36762. return this.isCommand ? this.getNextStageFn("set") : function () {
  36763. throw new Error("JQL禁止使用set方法");
  36764. };
  36765. }
  36766. }, {
  36767. key: "_send",
  36768. value: function _send(e, t) {
  36769. var n = this.getAction(),
  36770. s = this.getCommand();
  36771. if (s.$db.push({
  36772. $method: e,
  36773. $param: Fn(t)
  36774. }), b) {
  36775. var _e22 = s.$db.find(function (e) {
  36776. return "collection" === e.$method;
  36777. }),
  36778. _t11 = _e22 && _e22.$param;
  36779. _t11 && 1 === _t11.length && "string" == typeof _e22.$param[0] && _e22.$param[0].indexOf(",") > -1 && console.warn("检测到使用JQL语法联表查询时,未使用getTemp先过滤主表数据,在主表数据量大的情况下可能会查询缓慢。\n- 如何优化请参考此文档:https://uniapp.dcloud.net.cn/uniCloud/jql?id=lookup-with-temp \n- 如果主表数据量很小请忽略此信息,项目发行时不会出现此提示。");
  36780. }
  36781. return this._database._callCloudFunction({
  36782. action: n,
  36783. command: s
  36784. });
  36785. }
  36786. }]);
  36787. return Mn;
  36788. }();
  36789. function Kn(e, t, n) {
  36790. return Un(new Mn(e, t, n), {
  36791. get: function get(e, t) {
  36792. var s = "db";
  36793. return e && e.content && (s = e.content.$method), Dn(s, t) ? Kn({
  36794. $method: t
  36795. }, e, n) : function () {
  36796. return Kn({
  36797. $method: t,
  36798. $param: Fn(Array.from(arguments))
  36799. }, e, n);
  36800. };
  36801. }
  36802. });
  36803. }
  36804. function jn(_ref36) {
  36805. var e = _ref36.path,
  36806. t = _ref36.method;
  36807. return /*#__PURE__*/function () {
  36808. function _class4() {
  36809. (0, _classCallCheck2.default)(this, _class4);
  36810. this.param = Array.from(arguments);
  36811. }
  36812. (0, _createClass2.default)(_class4, [{
  36813. key: "toJSON",
  36814. value: function toJSON() {
  36815. return {
  36816. $newDb: [].concat((0, _toConsumableArray2.default)(e.map(function (e) {
  36817. return {
  36818. $method: e
  36819. };
  36820. })), [{
  36821. $method: t,
  36822. $param: this.param
  36823. }])
  36824. };
  36825. }
  36826. }, {
  36827. key: "toString",
  36828. value: function toString() {
  36829. return JSON.stringify(this.toJSON());
  36830. }
  36831. }]);
  36832. return _class4;
  36833. }();
  36834. }
  36835. function Bn(e) {
  36836. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  36837. return Un(new e(t), {
  36838. get: function get(e, t) {
  36839. return Dn("db", t) ? Kn({
  36840. $method: t
  36841. }, null, e) : function () {
  36842. return Kn({
  36843. $method: t,
  36844. $param: Fn(Array.from(arguments))
  36845. }, null, e);
  36846. };
  36847. }
  36848. });
  36849. }
  36850. var $n = /*#__PURE__*/function (_ref37) {
  36851. (0, _inherits2.default)($n, _ref37);
  36852. var _super11 = _createSuper($n);
  36853. function $n() {
  36854. (0, _classCallCheck2.default)(this, $n);
  36855. return _super11.apply(this, arguments);
  36856. }
  36857. (0, _createClass2.default)($n, [{
  36858. key: "_parseResult",
  36859. value: function _parseResult(e) {
  36860. return this._isJQL ? e.result : e;
  36861. }
  36862. }, {
  36863. key: "_callCloudFunction",
  36864. value: function _callCloudFunction(_ref38) {
  36865. var _this19 = this;
  36866. var e = _ref38.action,
  36867. t = _ref38.command,
  36868. n = _ref38.multiCommand,
  36869. s = _ref38.queryList;
  36870. function r(e, t) {
  36871. if (n && s) for (var _n10 = 0; _n10 < s.length; _n10++) {
  36872. var _r5 = s[_n10];
  36873. _r5.udb && "function" == typeof _r5.udb.setResult && (t ? _r5.udb.setResult(t) : _r5.udb.setResult(e.result.dataList[_n10]));
  36874. }
  36875. }
  36876. var i = this,
  36877. o = this._isJQL ? "databaseForJQL" : "database";
  36878. function a(e) {
  36879. return i._callback("error", [e]), q(M(o, "fail"), e).then(function () {
  36880. return q(M(o, "complete"), e);
  36881. }).then(function () {
  36882. return r(null, e), Q(B, {
  36883. type: z,
  36884. content: e
  36885. }), Promise.reject(e);
  36886. });
  36887. }
  36888. var c = q(M(o, "invoke")),
  36889. u = this._uniClient;
  36890. return c.then(function () {
  36891. return u.callFunction({
  36892. name: "DCloud-clientDB",
  36893. type: l,
  36894. data: {
  36895. action: e,
  36896. command: t,
  36897. multiCommand: n
  36898. }
  36899. });
  36900. }).then(function (e) {
  36901. var _e$result = e.result,
  36902. t = _e$result.code,
  36903. n = _e$result.message,
  36904. s = _e$result.token,
  36905. c = _e$result.tokenExpired,
  36906. _e$result$systemInfo = _e$result.systemInfo,
  36907. u = _e$result$systemInfo === void 0 ? [] : _e$result$systemInfo;
  36908. if (u) for (var _e23 = 0; _e23 < u.length; _e23++) {
  36909. var _u$_e = u[_e23],
  36910. _t12 = _u$_e.level,
  36911. _n11 = _u$_e.message,
  36912. _s13 = _u$_e.detail,
  36913. _r6 = console["app" === P && "warn" === _t12 ? "error" : _t12] || console.log;
  36914. var _i4 = "[System Info]" + _n11;
  36915. _s13 && (_i4 = "".concat(_i4, "\n\u8BE6\u7EC6\u4FE1\u606F\uFF1A").concat(_s13)), _r6(_i4);
  36916. }
  36917. if (t) {
  36918. return a(new ne({
  36919. code: t,
  36920. message: n,
  36921. requestId: e.requestId
  36922. }));
  36923. }
  36924. e.result.errCode = e.result.errCode || e.result.code, e.result.errMsg = e.result.errMsg || e.result.message, s && c && (ie({
  36925. token: s,
  36926. tokenExpired: c
  36927. }), _this19._callbackAuth("refreshToken", [{
  36928. token: s,
  36929. tokenExpired: c
  36930. }]), _this19._callback("refreshToken", [{
  36931. token: s,
  36932. tokenExpired: c
  36933. }]), Q(W, {
  36934. token: s,
  36935. tokenExpired: c
  36936. }));
  36937. var h = [{
  36938. prop: "affectedDocs",
  36939. tips: "affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"
  36940. }, {
  36941. prop: "code",
  36942. tips: "code不再推荐使用,请使用errCode替代"
  36943. }, {
  36944. prop: "message",
  36945. tips: "message不再推荐使用,请使用errMsg替代"
  36946. }];
  36947. var _loop2 = function _loop2(_t13) {
  36948. var _h$_t = h[_t13],
  36949. n = _h$_t.prop,
  36950. s = _h$_t.tips;
  36951. if (n in e.result) {
  36952. var _t14 = e.result[n];
  36953. Object.defineProperty(e.result, n, {
  36954. get: function get() {
  36955. return console.warn(s), _t14;
  36956. }
  36957. });
  36958. }
  36959. };
  36960. for (var _t13 = 0; _t13 < h.length; _t13++) {
  36961. _loop2(_t13);
  36962. }
  36963. return function (e) {
  36964. return q(M(o, "success"), e).then(function () {
  36965. return q(M(o, "complete"), e);
  36966. }).then(function () {
  36967. r(e, null);
  36968. var t = i._parseResult(e);
  36969. return Q(B, {
  36970. type: z,
  36971. content: t
  36972. }), Promise.resolve(t);
  36973. });
  36974. }(e);
  36975. }, function (e) {
  36976. /fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message) && console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB");
  36977. return a(new ne({
  36978. code: e.code || "SYSTEM_ERROR",
  36979. message: e.message,
  36980. requestId: e.requestId
  36981. }));
  36982. });
  36983. }
  36984. }]);
  36985. return $n;
  36986. }( /*#__PURE__*/function () {
  36987. function _class5() {
  36988. var _ref39 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  36989. _ref39$uniClient = _ref39.uniClient,
  36990. e = _ref39$uniClient === void 0 ? {} : _ref39$uniClient,
  36991. _ref39$isJQL = _ref39.isJQL,
  36992. t = _ref39$isJQL === void 0 ? !1 : _ref39$isJQL;
  36993. (0, _classCallCheck2.default)(this, _class5);
  36994. this._uniClient = e, this._authCallBacks = {}, this._dbCallBacks = {}, e._isDefault && (this._dbCallBacks = U("_globalUniCloudDatabaseCallback")), t || (this.auth = Ln(this._authCallBacks)), this._isJQL = t, Object.assign(this, Ln(this._dbCallBacks)), this.env = Un({}, {
  36995. get: function get(e, t) {
  36996. return {
  36997. $env: t
  36998. };
  36999. }
  37000. }), this.Geo = Un({}, {
  37001. get: function get(e, t) {
  37002. return jn({
  37003. path: ["Geo"],
  37004. method: t
  37005. });
  37006. }
  37007. }), this.serverDate = jn({
  37008. path: [],
  37009. method: "serverDate"
  37010. }), this.RegExp = jn({
  37011. path: [],
  37012. method: "RegExp"
  37013. });
  37014. }
  37015. (0, _createClass2.default)(_class5, [{
  37016. key: "getCloudEnv",
  37017. value: function getCloudEnv(e) {
  37018. if ("string" != typeof e || !e.trim()) throw new Error("getCloudEnv参数错误");
  37019. return {
  37020. $env: e.replace("$cloudEnv_", "")
  37021. };
  37022. }
  37023. }, {
  37024. key: "_callback",
  37025. value: function _callback(e, t) {
  37026. var n = this._dbCallBacks;
  37027. n[e] && n[e].forEach(function (e) {
  37028. e.apply(void 0, (0, _toConsumableArray2.default)(t));
  37029. });
  37030. }
  37031. }, {
  37032. key: "_callbackAuth",
  37033. value: function _callbackAuth(e, t) {
  37034. var n = this._authCallBacks;
  37035. n[e] && n[e].forEach(function (e) {
  37036. e.apply(void 0, (0, _toConsumableArray2.default)(t));
  37037. });
  37038. }
  37039. }, {
  37040. key: "multiSend",
  37041. value: function multiSend() {
  37042. var e = Array.from(arguments),
  37043. t = e.map(function (e) {
  37044. var t = e.getAction(),
  37045. n = e.getCommand();
  37046. if ("getTemp" !== n.$db[n.$db.length - 1].$method) throw new Error("multiSend只支持子命令内使用getTemp");
  37047. return {
  37048. action: t,
  37049. command: n
  37050. };
  37051. });
  37052. return this._callCloudFunction({
  37053. multiCommand: t,
  37054. queryList: e
  37055. });
  37056. }
  37057. }]);
  37058. return _class5;
  37059. }());
  37060. var Wn = "token无效,跳转登录页面",
  37061. zn = "token过期,跳转登录页面",
  37062. Jn = {
  37063. TOKEN_INVALID_TOKEN_EXPIRED: zn,
  37064. TOKEN_INVALID_INVALID_CLIENTID: Wn,
  37065. TOKEN_INVALID: Wn,
  37066. TOKEN_INVALID_WRONG_TOKEN: Wn,
  37067. TOKEN_INVALID_ANONYMOUS_USER: Wn
  37068. },
  37069. Hn = {
  37070. "uni-id-token-expired": zn,
  37071. "uni-id-check-token-failed": Wn,
  37072. "uni-id-token-not-exist": Wn,
  37073. "uni-id-check-device-feature-failed": Wn
  37074. };
  37075. function Gn(e, t) {
  37076. var n = "";
  37077. return n = e ? "".concat(e, "/").concat(t) : t, n.replace(/^\//, "");
  37078. }
  37079. function Vn() {
  37080. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  37081. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
  37082. var n = [],
  37083. s = [];
  37084. return e.forEach(function (e) {
  37085. !0 === e.needLogin ? n.push(Gn(t, e.path)) : !1 === e.needLogin && s.push(Gn(t, e.path));
  37086. }), {
  37087. needLoginPage: n,
  37088. notNeedLoginPage: s
  37089. };
  37090. }
  37091. function Yn(e) {
  37092. return e.split("?")[0].replace(/^\//, "");
  37093. }
  37094. function Qn() {
  37095. return function (e) {
  37096. var t = e && e.$page && e.$page.fullPath || "";
  37097. return t ? ("/" !== t.charAt(0) && (t = "/" + t), t) : t;
  37098. }(function () {
  37099. var e = getCurrentPages();
  37100. return e[e.length - 1];
  37101. }());
  37102. }
  37103. function Xn() {
  37104. return Yn(Qn());
  37105. }
  37106. function Zn() {
  37107. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
  37108. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  37109. if (!e) return !1;
  37110. if (!(t && t.list && t.list.length)) return !1;
  37111. var n = t.list,
  37112. s = Yn(e);
  37113. return n.some(function (e) {
  37114. return e.pagePath === s;
  37115. });
  37116. }
  37117. var es = !!_pages.default.uniIdRouter;
  37118. var _ref40 = function () {
  37119. var _ref21 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _pages.default,
  37120. _ref21$pages = _ref21.pages,
  37121. e = _ref21$pages === void 0 ? [] : _ref21$pages,
  37122. _ref21$subPackages = _ref21.subPackages,
  37123. n = _ref21$subPackages === void 0 ? [] : _ref21$subPackages,
  37124. _ref21$uniIdRouter = _ref21.uniIdRouter,
  37125. s = _ref21$uniIdRouter === void 0 ? {} : _ref21$uniIdRouter,
  37126. _ref21$tabBar = _ref21.tabBar,
  37127. r = _ref21$tabBar === void 0 ? {} : _ref21$tabBar;
  37128. var i = s.loginPage,
  37129. _s$needLogin = s.needLogin,
  37130. o = _s$needLogin === void 0 ? [] : _s$needLogin,
  37131. _s$resToLogin = s.resToLogin,
  37132. a = _s$resToLogin === void 0 ? !0 : _s$resToLogin,
  37133. _Vn = Vn(e),
  37134. c = _Vn.needLoginPage,
  37135. u = _Vn.notNeedLoginPage,
  37136. _ref23 = function () {
  37137. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  37138. var t = [],
  37139. n = [];
  37140. return e.forEach(function (e) {
  37141. var s = e.root,
  37142. _e$pages = e.pages,
  37143. r = _e$pages === void 0 ? [] : _e$pages,
  37144. _Vn2 = Vn(r, s),
  37145. i = _Vn2.needLoginPage,
  37146. o = _Vn2.notNeedLoginPage;
  37147. t.push.apply(t, (0, _toConsumableArray2.default)(i)), n.push.apply(n, (0, _toConsumableArray2.default)(o));
  37148. }), {
  37149. needLoginPage: t,
  37150. notNeedLoginPage: n
  37151. };
  37152. }(n),
  37153. h = _ref23.needLoginPage,
  37154. l = _ref23.notNeedLoginPage;
  37155. return {
  37156. loginPage: i,
  37157. routerNeedLogin: o,
  37158. resToLogin: a,
  37159. needLoginPage: [].concat((0, _toConsumableArray2.default)(c), (0, _toConsumableArray2.default)(h)),
  37160. notNeedLoginPage: [].concat((0, _toConsumableArray2.default)(u), (0, _toConsumableArray2.default)(l)),
  37161. loginPageInTabBar: Zn(i, r)
  37162. };
  37163. }(),
  37164. ts = _ref40.loginPage,
  37165. ns = _ref40.routerNeedLogin,
  37166. ss = _ref40.resToLogin,
  37167. rs = _ref40.needLoginPage,
  37168. is = _ref40.notNeedLoginPage,
  37169. os = _ref40.loginPageInTabBar;
  37170. if (rs.indexOf(ts) > -1) throw new Error("Login page [".concat(ts, "] should not be \"needLogin\", please check your pages.json"));
  37171. function as(e) {
  37172. var t = Xn();
  37173. if ("/" === e.charAt(0)) return e;
  37174. var _e$split = e.split("?"),
  37175. _e$split2 = (0, _slicedToArray2.default)(_e$split, 2),
  37176. n = _e$split2[0],
  37177. s = _e$split2[1],
  37178. r = n.replace(/^\//, "").split("/"),
  37179. i = t.split("/");
  37180. i.pop();
  37181. for (var _e24 = 0; _e24 < r.length; _e24++) {
  37182. var _t15 = r[_e24];
  37183. ".." === _t15 ? i.pop() : "." !== _t15 && i.push(_t15);
  37184. }
  37185. return "" === i[0] && i.shift(), "/" + i.join("/") + (s ? "?" + s : "");
  37186. }
  37187. function cs(e) {
  37188. var t = Yn(as(e));
  37189. return !(is.indexOf(t) > -1) && (rs.indexOf(t) > -1 || ns.some(function (t) {
  37190. return function (e, t) {
  37191. return new RegExp(t).test(e);
  37192. }(e, t);
  37193. }));
  37194. }
  37195. function us(_ref41) {
  37196. var e = _ref41.redirect;
  37197. var t = Yn(e),
  37198. n = Yn(ts);
  37199. return Xn() !== n && t !== n;
  37200. }
  37201. function hs() {
  37202. var _ref42 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  37203. e = _ref42.api,
  37204. t = _ref42.redirect;
  37205. if (!t || !us({
  37206. redirect: t
  37207. })) return;
  37208. var n = function (e, t) {
  37209. return "/" !== e.charAt(0) && (e = "/" + e), t ? e.indexOf("?") > -1 ? e + "&uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e + "?uniIdRedirectUrl=".concat(encodeURIComponent(t)) : e;
  37210. }(ts, t);
  37211. os ? "navigateTo" !== e && "redirectTo" !== e || (e = "switchTab") : "switchTab" === e && (e = "navigateTo");
  37212. var s = {
  37213. navigateTo: uni.navigateTo,
  37214. redirectTo: uni.redirectTo,
  37215. switchTab: uni.switchTab,
  37216. reLaunch: uni.reLaunch
  37217. };
  37218. setTimeout(function () {
  37219. s[e]({
  37220. url: n
  37221. });
  37222. });
  37223. }
  37224. function ls() {
  37225. var _ref43 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  37226. e = _ref43.url;
  37227. var t = {
  37228. abortLoginPageJump: !1,
  37229. autoToLoginPage: !1
  37230. },
  37231. n = function () {
  37232. var _re3 = re(),
  37233. e = _re3.token,
  37234. t = _re3.tokenExpired;
  37235. var n;
  37236. if (e) {
  37237. if (t < Date.now()) {
  37238. var _e25 = "uni-id-token-expired";
  37239. n = {
  37240. errCode: _e25,
  37241. errMsg: Hn[_e25]
  37242. };
  37243. }
  37244. } else {
  37245. var _e26 = "uni-id-check-token-failed";
  37246. n = {
  37247. errCode: _e26,
  37248. errMsg: Hn[_e26]
  37249. };
  37250. }
  37251. return n;
  37252. }();
  37253. if (cs(e) && n) {
  37254. n.uniIdRedirectUrl = e;
  37255. if (G($).length > 0) return setTimeout(function () {
  37256. Q($, n);
  37257. }, 0), t.abortLoginPageJump = !0, t;
  37258. t.autoToLoginPage = !0;
  37259. }
  37260. return t;
  37261. }
  37262. function ds() {
  37263. !function () {
  37264. var e = Qn(),
  37265. _ls = ls({
  37266. url: e
  37267. }),
  37268. t = _ls.abortLoginPageJump,
  37269. n = _ls.autoToLoginPage;
  37270. t || n && hs({
  37271. api: "redirectTo",
  37272. redirect: e
  37273. });
  37274. }();
  37275. var e = ["navigateTo", "redirectTo", "reLaunch", "switchTab"];
  37276. var _loop3 = function _loop3(_t16) {
  37277. var n = e[_t16];
  37278. uni.addInterceptor(n, {
  37279. invoke: function invoke(e) {
  37280. var _ls2 = ls({
  37281. url: e.url
  37282. }),
  37283. t = _ls2.abortLoginPageJump,
  37284. s = _ls2.autoToLoginPage;
  37285. return t ? e : s ? (hs({
  37286. api: n,
  37287. redirect: as(e.url)
  37288. }), !1) : e;
  37289. }
  37290. });
  37291. };
  37292. for (var _t16 = 0; _t16 < e.length; _t16++) {
  37293. _loop3(_t16);
  37294. }
  37295. }
  37296. function ps() {
  37297. this.onResponse(function (e) {
  37298. var t = e.type,
  37299. n = e.content;
  37300. var s = !1;
  37301. switch (t) {
  37302. case "cloudobject":
  37303. s = function (e) {
  37304. if ("object" != (0, _typeof2.default)(e)) return !1;
  37305. var _ref44 = e || {},
  37306. t = _ref44.errCode;
  37307. return t in Hn;
  37308. }(n);
  37309. break;
  37310. case "clientdb":
  37311. s = function (e) {
  37312. if ("object" != (0, _typeof2.default)(e)) return !1;
  37313. var _ref45 = e || {},
  37314. t = _ref45.errCode;
  37315. return t in Jn;
  37316. }(n);
  37317. }
  37318. s && function () {
  37319. var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  37320. var t = G($);
  37321. ee().then(function () {
  37322. var n = Qn();
  37323. if (n && us({
  37324. redirect: n
  37325. })) return t.length > 0 ? Q($, Object.assign({
  37326. uniIdRedirectUrl: n
  37327. }, e)) : void (ts && hs({
  37328. api: "navigateTo",
  37329. redirect: n
  37330. }));
  37331. });
  37332. }(n);
  37333. });
  37334. }
  37335. function fs(e) {
  37336. !function (e) {
  37337. e.onResponse = function (e) {
  37338. V(B, e);
  37339. }, e.offResponse = function (e) {
  37340. Y(B, e);
  37341. };
  37342. }(e), function (e) {
  37343. e.onNeedLogin = function (e) {
  37344. V($, e);
  37345. }, e.offNeedLogin = function (e) {
  37346. Y($, e);
  37347. }, es && (U("_globalUniCloudStatus").needLoginInit || (U("_globalUniCloudStatus").needLoginInit = !0, ee().then(function () {
  37348. ds.call(e);
  37349. }), ss && ps.call(e)));
  37350. }(e), function (e) {
  37351. e.onRefreshToken = function (e) {
  37352. V(W, e);
  37353. }, e.offRefreshToken = function (e) {
  37354. Y(W, e);
  37355. };
  37356. }(e);
  37357. }
  37358. var gs;
  37359. var ms = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  37360. ys = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  37361. function _s() {
  37362. var e = re().token || "",
  37363. t = e.split(".");
  37364. if (!e || 3 !== t.length) return {
  37365. uid: null,
  37366. role: [],
  37367. permission: [],
  37368. tokenExpired: 0
  37369. };
  37370. var n;
  37371. try {
  37372. n = JSON.parse((s = t[1], decodeURIComponent(gs(s).split("").map(function (e) {
  37373. return "%" + ("00" + e.charCodeAt(0).toString(16)).slice(-2);
  37374. }).join(""))));
  37375. } catch (e) {
  37376. throw new Error("获取当前用户信息出错,详细错误信息为:" + e.message);
  37377. }
  37378. var s;
  37379. return n.tokenExpired = 1e3 * n.exp, delete n.exp, delete n.iat, n;
  37380. }
  37381. gs = "function" != typeof atob ? function (e) {
  37382. if (e = String(e).replace(/[\t\n\f\r ]+/g, ""), !ys.test(e)) throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  37383. var t;
  37384. e += "==".slice(2 - (3 & e.length));
  37385. for (var n, s, r = "", i = 0; i < e.length;) {
  37386. t = ms.indexOf(e.charAt(i++)) << 18 | ms.indexOf(e.charAt(i++)) << 12 | (n = ms.indexOf(e.charAt(i++))) << 6 | (s = ms.indexOf(e.charAt(i++))), r += 64 === n ? String.fromCharCode(t >> 16 & 255) : 64 === s ? String.fromCharCode(t >> 16 & 255, t >> 8 & 255) : String.fromCharCode(t >> 16 & 255, t >> 8 & 255, 255 & t);
  37387. }
  37388. return r;
  37389. } : atob;
  37390. var ws = s(function (e, t) {
  37391. Object.defineProperty(t, "__esModule", {
  37392. value: !0
  37393. });
  37394. var n = "chooseAndUploadFile:ok",
  37395. s = "chooseAndUploadFile:fail";
  37396. function r(e, t) {
  37397. return e.tempFiles.forEach(function (e, n) {
  37398. e.name || (e.name = e.path.substring(e.path.lastIndexOf("/") + 1)), t && (e.fileType = t), e.cloudPath = Date.now() + "_" + n + e.name.substring(e.name.lastIndexOf("."));
  37399. }), e.tempFilePaths || (e.tempFilePaths = e.tempFiles.map(function (e) {
  37400. return e.path;
  37401. })), e;
  37402. }
  37403. function i(e, t, _ref46) {
  37404. var s = _ref46.onChooseFile,
  37405. r = _ref46.onUploadProgress;
  37406. return t.then(function (e) {
  37407. if (s) {
  37408. var _t17 = s(e);
  37409. if (void 0 !== _t17) return Promise.resolve(_t17).then(function (t) {
  37410. return void 0 === t ? e : t;
  37411. });
  37412. }
  37413. return e;
  37414. }).then(function (t) {
  37415. return !1 === t ? {
  37416. errMsg: n,
  37417. tempFilePaths: [],
  37418. tempFiles: []
  37419. } : function (e, t) {
  37420. var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5;
  37421. var r = arguments.length > 3 ? arguments[3] : undefined;
  37422. (t = Object.assign({}, t)).errMsg = n;
  37423. var i = t.tempFiles,
  37424. o = i.length;
  37425. var a = 0;
  37426. return new Promise(function (n) {
  37427. for (; a < s;) {
  37428. c();
  37429. }
  37430. function c() {
  37431. var s = a++;
  37432. if (s >= o) return void (!i.find(function (e) {
  37433. return !e.url && !e.errMsg;
  37434. }) && n(t));
  37435. var u = i[s];
  37436. e.uploadFile({
  37437. filePath: u.path,
  37438. cloudPath: u.cloudPath,
  37439. fileType: u.fileType,
  37440. onUploadProgress: function onUploadProgress(e) {
  37441. e.index = s, e.tempFile = u, e.tempFilePath = u.path, r && r(e);
  37442. }
  37443. }).then(function (e) {
  37444. u.url = e.fileID, s < o && c();
  37445. }).catch(function (e) {
  37446. u.errMsg = e.errMsg || e.message, s < o && c();
  37447. });
  37448. }
  37449. });
  37450. }(e, t, 5, r);
  37451. });
  37452. }
  37453. t.initChooseAndUploadFile = function (e) {
  37454. return function () {
  37455. var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
  37456. type: "all"
  37457. };
  37458. return "image" === t.type ? i(e, function (e) {
  37459. var t = e.count,
  37460. n = e.sizeType,
  37461. _e$sourceType = e.sourceType,
  37462. i = _e$sourceType === void 0 ? ["album", "camera"] : _e$sourceType,
  37463. o = e.extension;
  37464. return new Promise(function (e, a) {
  37465. uni.chooseImage({
  37466. count: t,
  37467. sizeType: n,
  37468. sourceType: i,
  37469. extension: o,
  37470. success: function success(t) {
  37471. e(r(t, "image"));
  37472. },
  37473. fail: function fail(e) {
  37474. a({
  37475. errMsg: e.errMsg.replace("chooseImage:fail", s)
  37476. });
  37477. }
  37478. });
  37479. });
  37480. }(t), t) : "video" === t.type ? i(e, function (e) {
  37481. var t = e.camera,
  37482. n = e.compressed,
  37483. i = e.maxDuration,
  37484. _e$sourceType2 = e.sourceType,
  37485. o = _e$sourceType2 === void 0 ? ["album", "camera"] : _e$sourceType2,
  37486. a = e.extension;
  37487. return new Promise(function (e, c) {
  37488. uni.chooseVideo({
  37489. camera: t,
  37490. compressed: n,
  37491. maxDuration: i,
  37492. sourceType: o,
  37493. extension: a,
  37494. success: function success(t) {
  37495. var n = t.tempFilePath,
  37496. s = t.duration,
  37497. i = t.size,
  37498. o = t.height,
  37499. a = t.width;
  37500. e(r({
  37501. errMsg: "chooseVideo:ok",
  37502. tempFilePaths: [n],
  37503. tempFiles: [{
  37504. name: t.tempFile && t.tempFile.name || "",
  37505. path: n,
  37506. size: i,
  37507. type: t.tempFile && t.tempFile.type || "",
  37508. width: a,
  37509. height: o,
  37510. duration: s,
  37511. fileType: "video",
  37512. cloudPath: ""
  37513. }]
  37514. }, "video"));
  37515. },
  37516. fail: function fail(e) {
  37517. c({
  37518. errMsg: e.errMsg.replace("chooseVideo:fail", s)
  37519. });
  37520. }
  37521. });
  37522. });
  37523. }(t), t) : i(e, function (e) {
  37524. var t = e.count,
  37525. n = e.extension;
  37526. return new Promise(function (e, i) {
  37527. var o = uni.chooseFile;
  37528. if ("undefined" != typeof wx && "function" == typeof wx.chooseMessageFile && (o = wx.chooseMessageFile), "function" != typeof o) return i({
  37529. errMsg: s + " 请指定 type 类型,该平台仅支持选择 image 或 video。"
  37530. });
  37531. o({
  37532. type: "all",
  37533. count: t,
  37534. extension: n,
  37535. success: function success(t) {
  37536. e(r(t));
  37537. },
  37538. fail: function fail(e) {
  37539. i({
  37540. errMsg: e.errMsg.replace("chooseFile:fail", s)
  37541. });
  37542. }
  37543. });
  37544. });
  37545. }(t), t);
  37546. };
  37547. };
  37548. }),
  37549. vs = n(ws);
  37550. var Is = "manual";
  37551. function Ss(e) {
  37552. return {
  37553. props: {
  37554. localdata: {
  37555. type: Array,
  37556. default: function _default() {
  37557. return [];
  37558. }
  37559. },
  37560. options: {
  37561. type: [Object, Array],
  37562. default: function _default() {
  37563. return {};
  37564. }
  37565. },
  37566. spaceInfo: {
  37567. type: Object,
  37568. default: function _default() {
  37569. return {};
  37570. }
  37571. },
  37572. collection: {
  37573. type: [String, Array],
  37574. default: ""
  37575. },
  37576. action: {
  37577. type: String,
  37578. default: ""
  37579. },
  37580. field: {
  37581. type: String,
  37582. default: ""
  37583. },
  37584. orderby: {
  37585. type: String,
  37586. default: ""
  37587. },
  37588. where: {
  37589. type: [String, Object],
  37590. default: ""
  37591. },
  37592. pageData: {
  37593. type: String,
  37594. default: "add"
  37595. },
  37596. pageCurrent: {
  37597. type: Number,
  37598. default: 1
  37599. },
  37600. pageSize: {
  37601. type: Number,
  37602. default: 20
  37603. },
  37604. getcount: {
  37605. type: [Boolean, String],
  37606. default: !1
  37607. },
  37608. gettree: {
  37609. type: [Boolean, String],
  37610. default: !1
  37611. },
  37612. gettreepath: {
  37613. type: [Boolean, String],
  37614. default: !1
  37615. },
  37616. startwith: {
  37617. type: String,
  37618. default: ""
  37619. },
  37620. limitlevel: {
  37621. type: Number,
  37622. default: 10
  37623. },
  37624. groupby: {
  37625. type: String,
  37626. default: ""
  37627. },
  37628. groupField: {
  37629. type: String,
  37630. default: ""
  37631. },
  37632. distinct: {
  37633. type: [Boolean, String],
  37634. default: !1
  37635. },
  37636. foreignKey: {
  37637. type: String,
  37638. default: ""
  37639. },
  37640. loadtime: {
  37641. type: String,
  37642. default: "auto"
  37643. },
  37644. manual: {
  37645. type: Boolean,
  37646. default: !1
  37647. }
  37648. },
  37649. data: function data() {
  37650. return {
  37651. mixinDatacomLoading: !1,
  37652. mixinDatacomHasMore: !1,
  37653. mixinDatacomResData: [],
  37654. mixinDatacomErrorMessage: "",
  37655. mixinDatacomPage: {}
  37656. };
  37657. },
  37658. created: function created() {
  37659. var _this20 = this;
  37660. this.mixinDatacomPage = {
  37661. current: this.pageCurrent,
  37662. size: this.pageSize,
  37663. count: 0
  37664. }, this.$watch(function () {
  37665. var e = [];
  37666. return ["pageCurrent", "pageSize", "localdata", "collection", "action", "field", "orderby", "where", "getont", "getcount", "gettree", "groupby", "groupField", "distinct"].forEach(function (t) {
  37667. e.push(_this20[t]);
  37668. }), e;
  37669. }, function (e, t) {
  37670. if (_this20.loadtime === Is) return;
  37671. var n = !1;
  37672. var s = [];
  37673. for (var _r7 = 2; _r7 < e.length; _r7++) {
  37674. e[_r7] !== t[_r7] && (s.push(e[_r7]), n = !0);
  37675. }
  37676. e[0] !== t[0] && (_this20.mixinDatacomPage.current = _this20.pageCurrent), _this20.mixinDatacomPage.size = _this20.pageSize, _this20.onMixinDatacomPropsChange(n, s);
  37677. });
  37678. },
  37679. methods: {
  37680. onMixinDatacomPropsChange: function onMixinDatacomPropsChange(e, t) {},
  37681. mixinDatacomEasyGet: function mixinDatacomEasyGet() {
  37682. var _this21 = this;
  37683. var _ref47 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  37684. _ref47$getone = _ref47.getone,
  37685. e = _ref47$getone === void 0 ? !1 : _ref47$getone,
  37686. t = _ref47.success,
  37687. n = _ref47.fail;
  37688. this.mixinDatacomLoading || (this.mixinDatacomLoading = !0, this.mixinDatacomErrorMessage = "", this.mixinDatacomGet().then(function (n) {
  37689. _this21.mixinDatacomLoading = !1;
  37690. var _n$result = n.result,
  37691. s = _n$result.data,
  37692. r = _n$result.count;
  37693. _this21.getcount && (_this21.mixinDatacomPage.count = r), _this21.mixinDatacomHasMore = s.length < _this21.pageSize;
  37694. var i = e ? s.length ? s[0] : void 0 : s;
  37695. _this21.mixinDatacomResData = i, t && t(i);
  37696. }).catch(function (e) {
  37697. _this21.mixinDatacomLoading = !1, _this21.mixinDatacomErrorMessage = e, n && n(e);
  37698. }));
  37699. },
  37700. mixinDatacomGet: function mixinDatacomGet() {
  37701. var _n12;
  37702. var t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  37703. var n = e.database(this.spaceInfo);
  37704. var s = t.action || this.action;
  37705. s && (n = n.action(s));
  37706. var r = t.collection || this.collection;
  37707. n = Array.isArray(r) ? (_n12 = n).collection.apply(_n12, (0, _toConsumableArray2.default)(r)) : n.collection(r);
  37708. var i = t.where || this.where;
  37709. i && Object.keys(i).length && (n = n.where(i));
  37710. var o = t.field || this.field;
  37711. o && (n = n.field(o));
  37712. var a = t.foreignKey || this.foreignKey;
  37713. a && (n = n.foreignKey(a));
  37714. var c = t.groupby || this.groupby;
  37715. c && (n = n.groupBy(c));
  37716. var u = t.groupField || this.groupField;
  37717. u && (n = n.groupField(u));
  37718. !0 === (void 0 !== t.distinct ? t.distinct : this.distinct) && (n = n.distinct());
  37719. var h = t.orderby || this.orderby;
  37720. h && (n = n.orderBy(h));
  37721. var l = void 0 !== t.pageCurrent ? t.pageCurrent : this.mixinDatacomPage.current,
  37722. d = void 0 !== t.pageSize ? t.pageSize : this.mixinDatacomPage.size,
  37723. p = void 0 !== t.getcount ? t.getcount : this.getcount,
  37724. f = void 0 !== t.gettree ? t.gettree : this.gettree,
  37725. g = void 0 !== t.gettreepath ? t.gettreepath : this.gettreepath,
  37726. m = {
  37727. getCount: p
  37728. },
  37729. y = {
  37730. limitLevel: void 0 !== t.limitlevel ? t.limitlevel : this.limitlevel,
  37731. startWith: void 0 !== t.startwith ? t.startwith : this.startwith
  37732. };
  37733. return f && (m.getTree = y), g && (m.getTreePath = y), n = n.skip(d * (l - 1)).limit(d).get(m), n;
  37734. }
  37735. }
  37736. };
  37737. }
  37738. function bs(e) {
  37739. return function (t) {
  37740. var n = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  37741. n = function (e) {
  37742. var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  37743. return e.customUI = t.customUI || e.customUI, e.parseSystemError = t.parseSystemError || e.parseSystemError, Object.assign(e.loadingOptions, t.loadingOptions), Object.assign(e.errorOptions, t.errorOptions), "object" == (0, _typeof2.default)(t.secretMethods) && (e.secretMethods = t.secretMethods), e;
  37744. }({
  37745. customUI: !1,
  37746. loadingOptions: {
  37747. title: "加载中...",
  37748. mask: !0
  37749. },
  37750. errorOptions: {
  37751. type: "modal",
  37752. retry: !1
  37753. }
  37754. }, n);
  37755. var _n13 = n,
  37756. s = _n13.customUI,
  37757. r = _n13.loadingOptions,
  37758. i = _n13.errorOptions,
  37759. o = _n13.parseSystemError,
  37760. a = !s;
  37761. return new Proxy({}, {
  37762. get: function get(s, c) {
  37763. return function () {
  37764. var _ref48 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  37765. e = _ref48.fn,
  37766. t = _ref48.interceptorName,
  37767. n = _ref48.getCallbackArgs;
  37768. return /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
  37769. var _len2,
  37770. s,
  37771. _key2,
  37772. r,
  37773. i,
  37774. o,
  37775. _args = arguments;
  37776. return _regenerator.default.wrap(function _callee50$(_context50) {
  37777. while (1) {
  37778. switch (_context50.prev = _context50.next) {
  37779. case 0:
  37780. for (_len2 = _args.length, s = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  37781. s[_key2] = _args[_key2];
  37782. }
  37783. r = n ? n({
  37784. params: s
  37785. }) : {};
  37786. _context50.prev = 2;
  37787. _context50.next = 5;
  37788. return q(M(t, "invoke"), _objectSpread({}, r));
  37789. case 5:
  37790. _context50.next = 7;
  37791. return e.apply(void 0, s);
  37792. case 7:
  37793. i = _context50.sent;
  37794. _context50.next = 10;
  37795. return q(M(t, "success"), _objectSpread(_objectSpread({}, r), {}, {
  37796. result: i
  37797. }));
  37798. case 10:
  37799. return _context50.abrupt("return", i);
  37800. case 13:
  37801. _context50.prev = 13;
  37802. _context50.t0 = _context50["catch"](2);
  37803. o = _context50.t0;
  37804. _context50.next = 18;
  37805. return q(M(t, "fail"), _objectSpread(_objectSpread({}, r), {}, {
  37806. error: o
  37807. }));
  37808. case 18:
  37809. throw o;
  37810. case 19:
  37811. _context50.prev = 19;
  37812. _context50.next = 22;
  37813. return q(M(t, "complete"), o ? _objectSpread(_objectSpread({}, r), {}, {
  37814. error: o
  37815. }) : _objectSpread(_objectSpread({}, r), {}, {
  37816. result: i
  37817. }));
  37818. case 22:
  37819. return _context50.finish(19);
  37820. case 23:
  37821. case "end":
  37822. return _context50.stop();
  37823. }
  37824. }
  37825. }, _callee50, null, [[2, 13, 19, 23]]);
  37826. }));
  37827. }({
  37828. fn: function () {
  37829. var _s14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
  37830. var l,
  37831. _len3,
  37832. u,
  37833. _key3,
  37834. d,
  37835. p,
  37836. _ref50,
  37837. f,
  37838. g,
  37839. m,
  37840. y,
  37841. _e27,
  37842. _yield,
  37843. _t18,
  37844. _n14,
  37845. _args4 = arguments;
  37846. return _regenerator.default.wrap(function _callee52$(_context52) {
  37847. while (1) {
  37848. switch (_context52.prev = _context52.next) {
  37849. case 0:
  37850. a && uni.showLoading({
  37851. title: r.title,
  37852. mask: r.mask
  37853. });
  37854. for (_len3 = _args4.length, u = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  37855. u[_key3] = _args4[_key3];
  37856. }
  37857. d = {
  37858. name: t,
  37859. type: h,
  37860. data: {
  37861. method: c,
  37862. params: u
  37863. }
  37864. };
  37865. "object" == (0, _typeof2.default)(n.secretMethods) && function (e, t) {
  37866. var n = t.data.method,
  37867. s = e.secretMethods || {},
  37868. r = s[n] || s["*"];
  37869. r && (t.secretType = r);
  37870. }(n, d);
  37871. p = !1;
  37872. _context52.prev = 5;
  37873. _context52.next = 8;
  37874. return e.callFunction(d);
  37875. case 8:
  37876. l = _context52.sent;
  37877. _context52.next = 14;
  37878. break;
  37879. case 11:
  37880. _context52.prev = 11;
  37881. _context52.t0 = _context52["catch"](5);
  37882. p = !0, l = {
  37883. result: new ne(_context52.t0)
  37884. };
  37885. case 14:
  37886. _ref50 = l.result || {}, f = _ref50.errSubject, g = _ref50.errCode, m = _ref50.errMsg, y = _ref50.newToken;
  37887. if (!(a && uni.hideLoading(), y && y.token && y.tokenExpired && (ie(y), Q(W, _objectSpread({}, y))), g)) {
  37888. _context52.next = 39;
  37889. break;
  37890. }
  37891. _e27 = m;
  37892. if (!(p && o)) {
  37893. _context52.next = 24;
  37894. break;
  37895. }
  37896. _context52.next = 20;
  37897. return o({
  37898. objectName: t,
  37899. methodName: c,
  37900. params: u,
  37901. errSubject: f,
  37902. errCode: g,
  37903. errMsg: m
  37904. });
  37905. case 20:
  37906. _context52.t1 = _context52.sent.errMsg;
  37907. if (_context52.t1) {
  37908. _context52.next = 23;
  37909. break;
  37910. }
  37911. _context52.t1 = m;
  37912. case 23:
  37913. _e27 = _context52.t1;
  37914. case 24:
  37915. if (!a) {
  37916. _context52.next = 37;
  37917. break;
  37918. }
  37919. if (!("toast" === i.type)) {
  37920. _context52.next = 29;
  37921. break;
  37922. }
  37923. uni.showToast({
  37924. title: _e27,
  37925. icon: "none"
  37926. });
  37927. _context52.next = 37;
  37928. break;
  37929. case 29:
  37930. if (!("modal" !== i.type)) {
  37931. _context52.next = 31;
  37932. break;
  37933. }
  37934. throw new Error("Invalid errorOptions.type: ".concat(i.type));
  37935. case 31:
  37936. _context52.next = 33;
  37937. return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
  37938. var _ref52,
  37939. e,
  37940. t,
  37941. n,
  37942. s,
  37943. r,
  37944. _args2 = arguments;
  37945. return _regenerator.default.wrap(function _callee51$(_context51) {
  37946. while (1) {
  37947. switch (_context51.prev = _context51.next) {
  37948. case 0:
  37949. _ref52 = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {}, e = _ref52.title, t = _ref52.content, n = _ref52.showCancel, s = _ref52.cancelText, r = _ref52.confirmText;
  37950. return _context51.abrupt("return", new Promise(function (i, o) {
  37951. uni.showModal({
  37952. title: e,
  37953. content: t,
  37954. showCancel: n,
  37955. cancelText: s,
  37956. confirmText: r,
  37957. success: function success(e) {
  37958. i(e);
  37959. },
  37960. fail: function fail() {
  37961. i({
  37962. confirm: !1,
  37963. cancel: !0
  37964. });
  37965. }
  37966. });
  37967. }));
  37968. case 2:
  37969. case "end":
  37970. return _context51.stop();
  37971. }
  37972. }
  37973. }, _callee51);
  37974. }))({
  37975. title: "提示",
  37976. content: _e27,
  37977. showCancel: i.retry,
  37978. cancelText: "取消",
  37979. confirmText: i.retry ? "重试" : "确定"
  37980. });
  37981. case 33:
  37982. _yield = _context52.sent;
  37983. _t18 = _yield.confirm;
  37984. if (!(i.retry && _t18)) {
  37985. _context52.next = 37;
  37986. break;
  37987. }
  37988. return _context52.abrupt("return", s.apply(void 0, u));
  37989. case 37:
  37990. _n14 = new ne({
  37991. subject: f,
  37992. code: g,
  37993. message: m,
  37994. requestId: l.requestId
  37995. });
  37996. throw _n14.detail = l.result, Q(B, {
  37997. type: H,
  37998. content: _n14
  37999. }), _n14;
  38000. case 39:
  38001. return _context52.abrupt("return", (Q(B, {
  38002. type: H,
  38003. content: l.result
  38004. }), l.result));
  38005. case 40:
  38006. case "end":
  38007. return _context52.stop();
  38008. }
  38009. }
  38010. }, _callee52, null, [[5, 11]]);
  38011. }));
  38012. function s() {
  38013. return _s14.apply(this, arguments);
  38014. }
  38015. return s;
  38016. }(),
  38017. interceptorName: "callObject",
  38018. getCallbackArgs: function getCallbackArgs() {
  38019. var _ref53 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  38020. e = _ref53.params;
  38021. return {
  38022. objectName: t,
  38023. methodName: c,
  38024. params: e
  38025. };
  38026. }
  38027. });
  38028. }
  38029. });
  38030. };
  38031. }
  38032. function ks(e) {
  38033. return U("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}", e.config.spaceId));
  38034. }
  38035. function Cs() {
  38036. return _Cs.apply(this, arguments);
  38037. }
  38038. function _Cs() {
  38039. _Cs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
  38040. var _ref65,
  38041. e,
  38042. _ref65$callLoginByWei,
  38043. t,
  38044. n,
  38045. s,
  38046. r,
  38047. _args7 = arguments;
  38048. return _regenerator.default.wrap(function _callee55$(_context55) {
  38049. while (1) {
  38050. switch (_context55.prev = _context55.next) {
  38051. case 0:
  38052. _ref65 = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}, e = _ref65.openid, _ref65$callLoginByWei = _ref65.callLoginByWeixin, t = _ref65$callLoginByWei === void 0 ? !1 : _ref65$callLoginByWei;
  38053. n = ks(this);
  38054. if (!("mp-weixin" !== P)) {
  38055. _context55.next = 4;
  38056. break;
  38057. }
  38058. throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(P, "`"));
  38059. case 4:
  38060. if (!(e && t)) {
  38061. _context55.next = 6;
  38062. break;
  38063. }
  38064. throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");
  38065. case 6:
  38066. if (!e) {
  38067. _context55.next = 8;
  38068. break;
  38069. }
  38070. return _context55.abrupt("return", (n.mpWeixinOpenid = e, {}));
  38071. case 8:
  38072. _context55.next = 10;
  38073. return new Promise(function (e, t) {
  38074. uni.login({
  38075. success: function success(t) {
  38076. e(t.code);
  38077. },
  38078. fail: function fail(e) {
  38079. t(new Error(e.errMsg));
  38080. }
  38081. });
  38082. });
  38083. case 10:
  38084. s = _context55.sent;
  38085. r = this.importObject("uni-id-co", {
  38086. customUI: !0
  38087. });
  38088. _context55.next = 14;
  38089. return r.secureNetworkHandshakeByWeixin({
  38090. code: s,
  38091. callLoginByWeixin: t
  38092. });
  38093. case 14:
  38094. n.mpWeixinCode = s;
  38095. return _context55.abrupt("return", {
  38096. code: s
  38097. });
  38098. case 16:
  38099. case "end":
  38100. return _context55.stop();
  38101. }
  38102. }
  38103. }, _callee55, this);
  38104. }));
  38105. return _Cs.apply(this, arguments);
  38106. }
  38107. function Ts(_x37) {
  38108. return _Ts.apply(this, arguments);
  38109. }
  38110. function _Ts() {
  38111. _Ts = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56(e) {
  38112. var t;
  38113. return _regenerator.default.wrap(function _callee56$(_context56) {
  38114. while (1) {
  38115. switch (_context56.prev = _context56.next) {
  38116. case 0:
  38117. t = ks(this);
  38118. return _context56.abrupt("return", (t.initPromise || (t.initPromise = Cs.call(this, e)), t.initPromise));
  38119. case 2:
  38120. case "end":
  38121. return _context56.stop();
  38122. }
  38123. }
  38124. }, _callee56, this);
  38125. }));
  38126. return _Ts.apply(this, arguments);
  38127. }
  38128. function Ps(e) {
  38129. return function () {
  38130. var _ref54 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  38131. t = _ref54.openid,
  38132. _ref54$callLoginByWei = _ref54.callLoginByWeixin,
  38133. n = _ref54$callLoginByWei === void 0 ? !1 : _ref54$callLoginByWei;
  38134. return Ts.call(e, {
  38135. openid: t,
  38136. callLoginByWeixin: n
  38137. });
  38138. };
  38139. }
  38140. function As(e) {
  38141. var t = {
  38142. getSystemInfo: uni.getSystemInfo,
  38143. getPushClientId: uni.getPushClientId
  38144. };
  38145. return function (n) {
  38146. return new Promise(function (s, r) {
  38147. t[e](_objectSpread(_objectSpread({}, n), {}, {
  38148. success: function success(e) {
  38149. s(e);
  38150. },
  38151. fail: function fail(e) {
  38152. r(e);
  38153. }
  38154. }));
  38155. });
  38156. };
  38157. }
  38158. var Es = /*#__PURE__*/function (_ref55) {
  38159. (0, _inherits2.default)(Es, _ref55);
  38160. var _super12 = _createSuper(Es);
  38161. function Es() {
  38162. var _this22;
  38163. (0, _classCallCheck2.default)(this, Es);
  38164. _this22 = _super12.call(this), _this22._uniPushMessageCallback = _this22._receivePushMessage.bind((0, _assertThisInitialized2.default)(_this22)), _this22._currentMessageId = -1, _this22._payloadQueue = [];
  38165. return _this22;
  38166. }
  38167. (0, _createClass2.default)(Es, [{
  38168. key: "init",
  38169. value: function init() {
  38170. var _this23 = this;
  38171. return Promise.all([As("getSystemInfo")(), As("getPushClientId")()]).then(function () {
  38172. var _ref56 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [],
  38173. _ref57 = (0, _slicedToArray2.default)(_ref56, 2),
  38174. _ref57$ = _ref57[0];
  38175. _ref57$ = _ref57$ === void 0 ? {} : _ref57$;
  38176. var e = _ref57$.appId,
  38177. _ref57$2 = _ref57[1];
  38178. _ref57$2 = _ref57$2 === void 0 ? {} : _ref57$2;
  38179. var t = _ref57$2.cid;
  38180. if (!e) throw new Error("Invalid appId, please check the manifest.json file");
  38181. if (!t) throw new Error("Invalid push client id");
  38182. _this23._appId = e, _this23._pushClientId = t, _this23._seqId = Date.now() + "-" + Math.floor(9e5 * Math.random() + 1e5), _this23.emit("open"), _this23._initMessageListener();
  38183. }, function (e) {
  38184. throw _this23.emit("error", e), _this23.close(), e;
  38185. });
  38186. }
  38187. }, {
  38188. key: "open",
  38189. value: function () {
  38190. var _open = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
  38191. return _regenerator.default.wrap(function _callee53$(_context53) {
  38192. while (1) {
  38193. switch (_context53.prev = _context53.next) {
  38194. case 0:
  38195. return _context53.abrupt("return", this.init());
  38196. case 1:
  38197. case "end":
  38198. return _context53.stop();
  38199. }
  38200. }
  38201. }, _callee53, this);
  38202. }));
  38203. function open() {
  38204. return _open.apply(this, arguments);
  38205. }
  38206. return open;
  38207. }()
  38208. }, {
  38209. key: "_isUniCloudSSE",
  38210. value: function _isUniCloudSSE(e) {
  38211. if ("receive" !== e.type) return !1;
  38212. var t = e && e.data && e.data.payload;
  38213. return !(!t || "UNI_CLOUD_SSE" !== t.channel || t.seqId !== this._seqId);
  38214. }
  38215. }, {
  38216. key: "_receivePushMessage",
  38217. value: function _receivePushMessage(e) {
  38218. if (!this._isUniCloudSSE(e)) return;
  38219. var t = e && e.data && e.data.payload,
  38220. n = t.action,
  38221. s = t.messageId,
  38222. r = t.message;
  38223. this._payloadQueue.push({
  38224. action: n,
  38225. messageId: s,
  38226. message: r
  38227. }), this._consumMessage();
  38228. }
  38229. }, {
  38230. key: "_consumMessage",
  38231. value: function _consumMessage() {
  38232. var _this24 = this;
  38233. for (;;) {
  38234. var _e28 = this._payloadQueue.find(function (e) {
  38235. return e.messageId === _this24._currentMessageId + 1;
  38236. });
  38237. if (!_e28) break;
  38238. this._currentMessageId++, this._parseMessagePayload(_e28);
  38239. }
  38240. }
  38241. }, {
  38242. key: "_parseMessagePayload",
  38243. value: function _parseMessagePayload(e) {
  38244. var t = e.action,
  38245. n = e.messageId,
  38246. s = e.message;
  38247. "end" === t ? this._end({
  38248. messageId: n,
  38249. message: s
  38250. }) : "message" === t && this._appendMessage({
  38251. messageId: n,
  38252. message: s
  38253. });
  38254. }
  38255. }, {
  38256. key: "_appendMessage",
  38257. value: function _appendMessage() {
  38258. var _ref58 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  38259. e = _ref58.messageId,
  38260. t = _ref58.message;
  38261. this.emit("message", t);
  38262. }
  38263. }, {
  38264. key: "_end",
  38265. value: function _end() {
  38266. var _ref59 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
  38267. e = _ref59.messageId,
  38268. t = _ref59.message;
  38269. this.emit("end", t), this.close();
  38270. }
  38271. }, {
  38272. key: "_initMessageListener",
  38273. value: function _initMessageListener() {
  38274. uni.onPushMessage(this._uniPushMessageCallback);
  38275. }
  38276. }, {
  38277. key: "_destroy",
  38278. value: function _destroy() {
  38279. uni.offPushMessage(this._uniPushMessageCallback);
  38280. }
  38281. }, {
  38282. key: "toJSON",
  38283. value: function toJSON() {
  38284. return {
  38285. appId: this._appId,
  38286. pushClientId: this._pushClientId,
  38287. seqId: this._seqId
  38288. };
  38289. }
  38290. }, {
  38291. key: "close",
  38292. value: function close() {
  38293. this._destroy(), this.emit("close");
  38294. }
  38295. }]);
  38296. return Es;
  38297. }( /*#__PURE__*/function () {
  38298. function _class6() {
  38299. (0, _classCallCheck2.default)(this, _class6);
  38300. this._callback = {};
  38301. }
  38302. (0, _createClass2.default)(_class6, [{
  38303. key: "addListener",
  38304. value: function addListener(e, t) {
  38305. this._callback[e] || (this._callback[e] = []), this._callback[e].push(t);
  38306. }
  38307. }, {
  38308. key: "on",
  38309. value: function on(e, t) {
  38310. return this.addListener(e, t);
  38311. }
  38312. }, {
  38313. key: "removeListener",
  38314. value: function removeListener(e, t) {
  38315. if (!t) throw new Error('The "listener" argument must be of type function. Received undefined');
  38316. var n = this._callback[e];
  38317. if (!n) return;
  38318. var s = function (e, t) {
  38319. for (var _n15 = e.length - 1; _n15 >= 0; _n15--) {
  38320. if (e[_n15] === t) return _n15;
  38321. }
  38322. return -1;
  38323. }(n, t);
  38324. n.splice(s, 1);
  38325. }
  38326. }, {
  38327. key: "off",
  38328. value: function off(e, t) {
  38329. return this.removeListener(e, t);
  38330. }
  38331. }, {
  38332. key: "removeAllListener",
  38333. value: function removeAllListener(e) {
  38334. delete this._callback[e];
  38335. }
  38336. }, {
  38337. key: "emit",
  38338. value: function emit(e) {
  38339. var n = this._callback[e];
  38340. for (var _len4 = arguments.length, t = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
  38341. t[_key4 - 1] = arguments[_key4];
  38342. }
  38343. if (n) for (var _e29 = 0; _e29 < n.length; _e29++) {
  38344. n[_e29].apply(n, t);
  38345. }
  38346. }
  38347. }]);
  38348. return _class6;
  38349. }());
  38350. function Os(_x38, _x39) {
  38351. return _Os.apply(this, arguments);
  38352. }
  38353. function _Os() {
  38354. _Os = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57(e, t) {
  38355. var n, _e33, s;
  38356. return _regenerator.default.wrap(function _callee57$(_context57) {
  38357. while (1) {
  38358. switch (_context57.prev = _context57.next) {
  38359. case 0:
  38360. n = "http://".concat(e, ":").concat(t, "/system/ping");
  38361. _context57.prev = 1;
  38362. _context57.next = 4;
  38363. return s = {
  38364. url: n,
  38365. timeout: 500
  38366. }, new Promise(function (e, t) {
  38367. se.request(_objectSpread(_objectSpread({}, s), {}, {
  38368. success: function success(t) {
  38369. e(t);
  38370. },
  38371. fail: function fail(e) {
  38372. t(e);
  38373. }
  38374. }));
  38375. });
  38376. case 4:
  38377. _e33 = _context57.sent;
  38378. return _context57.abrupt("return", !(!_e33.data || 0 !== _e33.data.code));
  38379. case 8:
  38380. _context57.prev = 8;
  38381. _context57.t0 = _context57["catch"](1);
  38382. return _context57.abrupt("return", !1);
  38383. case 11:
  38384. case "end":
  38385. return _context57.stop();
  38386. }
  38387. }
  38388. }, _callee57, null, [[1, 8]]);
  38389. }));
  38390. return _Os.apply(this, arguments);
  38391. }
  38392. function xs(_x40) {
  38393. return _xs.apply(this, arguments);
  38394. }
  38395. function _xs() {
  38396. _xs = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59(e) {
  38397. var _ce2, _e34, _t20, t, _t$debugInfo, n, s, _yield2, r, i, o;
  38398. return _regenerator.default.wrap(function _callee59$(_context59) {
  38399. while (1) {
  38400. switch (_context59.prev = _context59.next) {
  38401. case 0:
  38402. if (b) {
  38403. _context59.next = 2;
  38404. break;
  38405. }
  38406. return _context59.abrupt("return", Promise.resolve());
  38407. case 2:
  38408. if ("app" === P) {
  38409. _ce2 = ce(), _e34 = _ce2.osName, _t20 = _ce2.osVersion;
  38410. "ios" === _e34 && function (e) {
  38411. if (!e || "string" != typeof e) return 0;
  38412. var t = e.match(/^(\d+)./);
  38413. return t && t[1] ? parseInt(t[1]) : 0;
  38414. }(_t20) >= 14 && console.warn("iOS 14及以上版本连接uniCloud本地调试服务需要允许客户端查找并连接到本地网络上的设备(仅开发模式生效,发行模式会连接uniCloud云端服务)");
  38415. }
  38416. t = e.__dev__;
  38417. if (t.debugInfo) {
  38418. _context59.next = 6;
  38419. break;
  38420. }
  38421. return _context59.abrupt("return");
  38422. case 6:
  38423. _t$debugInfo = t.debugInfo;
  38424. n = _t$debugInfo.address;
  38425. s = _t$debugInfo.servePort;
  38426. _context59.next = 11;
  38427. return function () {
  38428. var _ref66 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58(e, t) {
  38429. var n, _s15, _r8;
  38430. return _regenerator.default.wrap(function _callee58$(_context58) {
  38431. while (1) {
  38432. switch (_context58.prev = _context58.next) {
  38433. case 0:
  38434. _s15 = 0;
  38435. case 1:
  38436. if (!(_s15 < e.length)) {
  38437. _context58.next = 11;
  38438. break;
  38439. }
  38440. _r8 = e[_s15];
  38441. _context58.next = 5;
  38442. return Os(_r8, t);
  38443. case 5:
  38444. if (!_context58.sent) {
  38445. _context58.next = 8;
  38446. break;
  38447. }
  38448. n = _r8;
  38449. return _context58.abrupt("break", 11);
  38450. case 8:
  38451. _s15++;
  38452. _context58.next = 1;
  38453. break;
  38454. case 11:
  38455. return _context58.abrupt("return", {
  38456. address: n,
  38457. port: t
  38458. });
  38459. case 12:
  38460. case "end":
  38461. return _context58.stop();
  38462. }
  38463. }
  38464. }, _callee58);
  38465. }));
  38466. return function (_x41, _x42) {
  38467. return _ref66.apply(this, arguments);
  38468. };
  38469. }()(n, s);
  38470. case 11:
  38471. _yield2 = _context59.sent;
  38472. r = _yield2.address;
  38473. if (!r) {
  38474. _context59.next = 15;
  38475. break;
  38476. }
  38477. return _context59.abrupt("return", (t.localAddress = r, void (t.localPort = s)));
  38478. case 15:
  38479. i = console["app" === P ? "error" : "warn"];
  38480. o = "";
  38481. if (!("remote" === t.debugInfo.initialLaunchType ? (t.debugInfo.forceRemote = !0, o = "当前客户端和HBuilderX不在同一局域网下(或其他网络原因无法连接HBuilderX),uniCloud本地调试服务不对当前客户端生效。\n- 如果不使用uniCloud本地调试服务,请直接忽略此信息。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。") : o = "无法连接uniCloud本地调试服务,请检查当前客户端是否与主机在同一局域网下。\n- 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。", o += "\n- 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试\n- 检查系统防火墙是否拦截了HBuilderX自带的nodejs\n- 检查是否错误的使用拦截器修改uni.request方法的参数", "web" === P && (o += "\n- 部分浏览器开启节流模式之后访问本地地址受限,请检查是否启用了节流模式"), 0 === P.indexOf("mp-") && (o += "\n- 小程序中如何使用uniCloud,请参考:https://uniapp.dcloud.net.cn/uniCloud/publish.html#useinmp"), !t.debugInfo.forceRemote)) {
  38482. _context59.next = 19;
  38483. break;
  38484. }
  38485. throw new Error(o);
  38486. case 19:
  38487. i(o);
  38488. case 20:
  38489. case "end":
  38490. return _context59.stop();
  38491. }
  38492. }
  38493. }, _callee59);
  38494. }));
  38495. return _xs.apply(this, arguments);
  38496. }
  38497. function Rs(e) {
  38498. e._initPromiseHub || (e._initPromiseHub = new I({
  38499. createPromise: function createPromise() {
  38500. var t = Promise.resolve();
  38501. var n;
  38502. n = 1, t = new Promise(function (e) {
  38503. setTimeout(function () {
  38504. e();
  38505. }, n);
  38506. });
  38507. var s = e.auth();
  38508. return t.then(function () {
  38509. return s.getLoginState();
  38510. }).then(function (e) {
  38511. return e ? Promise.resolve() : s.signInAnonymously();
  38512. });
  38513. }
  38514. }));
  38515. }
  38516. var Us = {
  38517. tcb: It,
  38518. tencent: It,
  38519. aliyun: ge,
  38520. private: bt
  38521. };
  38522. var Ls = new ( /*#__PURE__*/function () {
  38523. function _class7() {
  38524. (0, _classCallCheck2.default)(this, _class7);
  38525. }
  38526. (0, _createClass2.default)(_class7, [{
  38527. key: "init",
  38528. value: function init(e) {
  38529. var t = {};
  38530. var n = Us[e.provider];
  38531. if (!n) throw new Error("未提供正确的provider参数");
  38532. t = n.init(e), b && function (e) {
  38533. if (!b) return;
  38534. var t = {};
  38535. e.__dev__ = t, t.debugLog = b && ("web" === P && navigator.userAgent.indexOf("HBuilderX") > 0 || "app" === P);
  38536. var n = A;
  38537. n && !n.code && (t.debugInfo = n);
  38538. var s = new I({
  38539. createPromise: function createPromise() {
  38540. return xs(e);
  38541. }
  38542. });
  38543. t.initLocalNetwork = function () {
  38544. return s.exec();
  38545. };
  38546. }(t), Rs(t), xn(t), function (e) {
  38547. var t = e.uploadFile;
  38548. e.uploadFile = function (e) {
  38549. return t.call(this, e);
  38550. };
  38551. }(t), function (e) {
  38552. e.database = function (t) {
  38553. if (t && Object.keys(t).length > 0) return e.init(t).database();
  38554. if (this._database) return this._database;
  38555. var n = Bn($n, {
  38556. uniClient: e
  38557. });
  38558. return this._database = n, n;
  38559. }, e.databaseForJQL = function (t) {
  38560. if (t && Object.keys(t).length > 0) return e.init(t).databaseForJQL();
  38561. if (this._databaseForJQL) return this._databaseForJQL;
  38562. var n = Bn($n, {
  38563. uniClient: e,
  38564. isJQL: !0
  38565. });
  38566. return this._databaseForJQL = n, n;
  38567. };
  38568. }(t), function (e) {
  38569. e.getCurrentUserInfo = _s, e.chooseAndUploadFile = vs.initChooseAndUploadFile(e), Object.assign(e, {
  38570. get mixinDatacom() {
  38571. return Ss(e);
  38572. }
  38573. }), e.SSEChannel = Es, e.initSecureNetworkByWeixin = Ps(e), e.importObject = bs(e);
  38574. }(t);
  38575. return ["callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "chooseAndUploadFile"].forEach(function (e) {
  38576. if (!t[e]) return;
  38577. var n = t[e];
  38578. t[e] = function () {
  38579. return n.apply(t, Array.from(arguments));
  38580. }, t[e] = function (e, t) {
  38581. return function (n) {
  38582. var _this25 = this;
  38583. var s = !1;
  38584. if ("callFunction" === t) {
  38585. var _e30 = n && n.type || u;
  38586. s = _e30 !== u;
  38587. }
  38588. var r = "callFunction" === t && !s,
  38589. i = this._initPromiseHub.exec();
  38590. n = n || {};
  38591. var _te2 = te(n),
  38592. o = _te2.success,
  38593. a = _te2.fail,
  38594. c = _te2.complete,
  38595. h = i.then(function () {
  38596. return s ? Promise.resolve() : q(M(t, "invoke"), n);
  38597. }).then(function () {
  38598. return e.call(_this25, n);
  38599. }).then(function (e) {
  38600. return s ? Promise.resolve(e) : q(M(t, "success"), e).then(function () {
  38601. return q(M(t, "complete"), e);
  38602. }).then(function () {
  38603. return r && Q(B, {
  38604. type: J,
  38605. content: e
  38606. }), Promise.resolve(e);
  38607. });
  38608. }, function (e) {
  38609. return s ? Promise.reject(e) : q(M(t, "fail"), e).then(function () {
  38610. return q(M(t, "complete"), e);
  38611. }).then(function () {
  38612. return Q(B, {
  38613. type: J,
  38614. content: e
  38615. }), Promise.reject(e);
  38616. });
  38617. });
  38618. if (!(o || a || c)) return h;
  38619. h.then(function (e) {
  38620. o && o(e), c && c(e), r && Q(B, {
  38621. type: J,
  38622. content: e
  38623. });
  38624. }, function (e) {
  38625. a && a(e), c && c(e), r && Q(B, {
  38626. type: J,
  38627. content: e
  38628. });
  38629. });
  38630. };
  38631. }(t[e], e).bind(t);
  38632. }), t.init = this.init, t;
  38633. }
  38634. }]);
  38635. return _class7;
  38636. }())();
  38637. (function () {
  38638. var e = E;
  38639. var t = {};
  38640. if (e && 1 === e.length) t = e[0], Ls = Ls.init(t), Ls._isDefault = !0;else {
  38641. var _t19 = ["auth", "callFunction", "uploadFile", "deleteFile", "getTempFileURL", "downloadFile", "database", "getCurrentUSerInfo", "importObject"];
  38642. var _n16;
  38643. _n16 = e && e.length > 0 ? "应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间" : O ? "应用未关联服务空间,请在uniCloud目录右键关联服务空间" : "uni-app cli项目内使用uniCloud需要使用HBuilderX的运行菜单运行项目,且需要在uniCloud目录关联服务空间", _t19.forEach(function (e) {
  38644. Ls[e] = function () {
  38645. return console.error(_n16), Promise.reject(new ne({
  38646. code: "SYS_ERR",
  38647. message: _n16
  38648. }));
  38649. };
  38650. });
  38651. }
  38652. Object.assign(Ls, {
  38653. get mixinDatacom() {
  38654. return Ss(Ls);
  38655. }
  38656. }), fs(Ls), Ls.addInterceptor = D, Ls.removeInterceptor = F, Ls.interceptObject = K, b && "web" === P && (window.uniCloud = Ls);
  38657. })();
  38658. var Ns = Ls;
  38659. exports.default = Ns;
  38660. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3), __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  38661. /***/ }),
  38662. /* 510 */
  38663. /*!****************************************************************!*\
  38664. !*** ./node_modules/@babel/runtime/helpers/wrapNativeSuper.js ***!
  38665. \****************************************************************/
  38666. /*! no static exports found */
  38667. /***/ (function(module, exports, __webpack_require__) {
  38668. var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ 486);
  38669. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  38670. var isNativeFunction = __webpack_require__(/*! ./isNativeFunction.js */ 511);
  38671. var construct = __webpack_require__(/*! ./construct.js */ 15);
  38672. function _wrapNativeSuper(Class) {
  38673. var _cache = typeof Map === "function" ? new Map() : undefined;
  38674. module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {
  38675. if (Class === null || !isNativeFunction(Class)) return Class;
  38676. if (typeof Class !== "function") {
  38677. throw new TypeError("Super expression must either be null or a function");
  38678. }
  38679. if (typeof _cache !== "undefined") {
  38680. if (_cache.has(Class)) return _cache.get(Class);
  38681. _cache.set(Class, Wrapper);
  38682. }
  38683. function Wrapper() {
  38684. return construct(Class, arguments, getPrototypeOf(this).constructor);
  38685. }
  38686. Wrapper.prototype = Object.create(Class.prototype, {
  38687. constructor: {
  38688. value: Wrapper,
  38689. enumerable: false,
  38690. writable: true,
  38691. configurable: true
  38692. }
  38693. });
  38694. return setPrototypeOf(Wrapper, Class);
  38695. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  38696. return _wrapNativeSuper(Class);
  38697. }
  38698. module.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports["default"] = module.exports;
  38699. /***/ }),
  38700. /* 511 */
  38701. /*!*****************************************************************!*\
  38702. !*** ./node_modules/@babel/runtime/helpers/isNativeFunction.js ***!
  38703. \*****************************************************************/
  38704. /*! no static exports found */
  38705. /***/ (function(module, exports) {
  38706. function _isNativeFunction(fn) {
  38707. return Function.toString.call(fn).indexOf("[native code]") !== -1;
  38708. }
  38709. module.exports = _isNativeFunction, module.exports.__esModule = true, module.exports["default"] = module.exports;
  38710. /***/ }),
  38711. /* 512 */
  38712. /*!******************************************************************************!*\
  38713. !*** D:/project/神鹿峰旅游/travel_applet/pages.json?{"type":"origin-pages-json"} ***!
  38714. \******************************************************************************/
  38715. /*! no static exports found */
  38716. /***/ (function(module, exports, __webpack_require__) {
  38717. "use strict";
  38718. Object.defineProperty(exports, "__esModule", {
  38719. value: true
  38720. });
  38721. exports.default = void 0;
  38722. var _default = {
  38723. "pages": [{
  38724. "path": "pages/index/index",
  38725. "style": {
  38726. "navigationBarTitleText": "系统首页"
  38727. }
  38728. }, {
  38729. "path": "pages/home/index",
  38730. "style": {
  38731. "navigationBarTitleText": "神鹿峰旅游度假区",
  38732. "enablePullDownRefresh": true
  38733. }
  38734. }, {
  38735. "path": "pages/map/index",
  38736. "style": {
  38737. "navigationBarTitleText": "地图"
  38738. }
  38739. }, {
  38740. "path": "pages/customer/index",
  38741. "style": {
  38742. "navigationBarTitleText": "客服"
  38743. }
  38744. }, {
  38745. "path": "pages/my/index",
  38746. "style": {
  38747. "navigationBarTitleText": "我的"
  38748. }
  38749. }],
  38750. "subPackages": [{
  38751. "root": "pagesIndex",
  38752. "pages": [{
  38753. "path": "login/index",
  38754. "style": {
  38755. "navigationBarTitleText": "登录"
  38756. }
  38757. }, {
  38758. "path": "like/index",
  38759. "style": {
  38760. "navigationBarTitleText": "点赞",
  38761. "enablePullDownRefresh": true
  38762. }
  38763. }, {
  38764. "path": "comment/index",
  38765. "style": {
  38766. "navigationBarTitleText": "评论",
  38767. "enablePullDownRefresh": true
  38768. }
  38769. }, {
  38770. "path": "collect/index",
  38771. "style": {
  38772. "navigationBarTitleText": "收藏",
  38773. "enablePullDownRefresh": true
  38774. }
  38775. }, {
  38776. "path": "order/index",
  38777. "style": {
  38778. "navigationBarTitleText": "我的订单",
  38779. "enablePullDownRefresh": true
  38780. }
  38781. }, {
  38782. "path": "order/order",
  38783. "style": {
  38784. "navigationBarTitleText": "提交订单",
  38785. "navigationBarBackgroundColor": "#0000ff"
  38786. }
  38787. }]
  38788. }, {
  38789. "root": "pagesMy",
  38790. "pages": [{
  38791. "path": "coupon/index",
  38792. "style": {
  38793. "navigationBarTitleText": "优惠卷"
  38794. }
  38795. }, {
  38796. "path": "article/add",
  38797. "style": {
  38798. "navigationBarTitleText": "发布作品"
  38799. }
  38800. }, {
  38801. "path": "article/index",
  38802. "style": {
  38803. "navigationBarTitleText": "我的作品",
  38804. "enablePullDownRefresh": true
  38805. }
  38806. }, {
  38807. "path": "opinion/index",
  38808. "style": {
  38809. "navigationBarTitleText": "意见反馈"
  38810. }
  38811. }, {
  38812. "path": "service/index",
  38813. "style": {
  38814. "navigationBarTitleText": "客服电话"
  38815. }
  38816. }, {
  38817. "path": "account/index",
  38818. "style": {
  38819. "navigationBarTitleText": "账号设置"
  38820. }
  38821. }]
  38822. }, {
  38823. "root": "pagesHome",
  38824. "pages": [{
  38825. "path": "article/index",
  38826. "style": {
  38827. "navigationBarTitleText": "文章详情"
  38828. }
  38829. }, {
  38830. "path": "info/index",
  38831. "style": {
  38832. "navigationBarTitleText": "神鹿峰"
  38833. }
  38834. }, {
  38835. "path": "type/index",
  38836. "style": {
  38837. "navigationBarTitleText": "分类",
  38838. "enablePullDownRefresh": true
  38839. }
  38840. }, {
  38841. "path": "type/info",
  38842. "style": {
  38843. "navigationBarTitleText": "详情"
  38844. }
  38845. }, {
  38846. "path": "hotel/index",
  38847. "style": {
  38848. "navigationBarTitleText": "酒店民宿",
  38849. "enablePullDownRefresh": true
  38850. }
  38851. }, {
  38852. "path": "hotel/info",
  38853. "style": {
  38854. "navigationBarTitleText": "酒店详情"
  38855. }
  38856. }, {
  38857. "path": "hotel/detail",
  38858. "style": {
  38859. "navigationBarTitleText": "房间信息"
  38860. }
  38861. }, {
  38862. "path": "ticket/index",
  38863. "style": {
  38864. "navigationBarTitleText": "景区门票",
  38865. "enablePullDownRefresh": true
  38866. }
  38867. }, {
  38868. "path": "ticket/info",
  38869. "style": {
  38870. "navigationBarTitleText": "门票详情"
  38871. }
  38872. }, {
  38873. "path": "weather/index",
  38874. "style": {
  38875. "navigationBarTitleText": "天气预报",
  38876. "enablePullDownRefresh": true
  38877. }
  38878. }, {
  38879. "path": "notice/index",
  38880. "style": {
  38881. "navigationBarTitleText": "公告",
  38882. "enablePullDownRefresh": true
  38883. }
  38884. }, {
  38885. "path": "notice/detail",
  38886. "style": {
  38887. "navigationBarTitleText": "公告详情"
  38888. }
  38889. }, {
  38890. "path": "news/index",
  38891. "style": {
  38892. "navigationBarTitleText": "新闻",
  38893. "enablePullDownRefresh": true
  38894. }
  38895. }, {
  38896. "path": "news/detail",
  38897. "style": {
  38898. "navigationBarTitleText": "新闻详情"
  38899. }
  38900. }]
  38901. }],
  38902. "globalStyle": {
  38903. "pageOrientation": "portrait",
  38904. "navigationBarTitleText": "神鹿峰小程序",
  38905. "navigationBarTextStyle": "black",
  38906. "navigationBarBackgroundColor": "#F8F8F8",
  38907. "backgroundColor": "#F8F8F8",
  38908. "backgroundColorTop": "#F4F5F6",
  38909. "backgroundColorBottom": "#F4F5F6"
  38910. },
  38911. "tabBar": {
  38912. "color": "#7A7E83",
  38913. "selectedColor": "#007AFF",
  38914. "borderStyle": "black",
  38915. "backgroundColor": "#F8F8F8",
  38916. "list": [{
  38917. "pagePath": "pages/home/index",
  38918. "iconPath": "static/home.png",
  38919. "selectedIconPath": "static/homeHL.png",
  38920. "text": "首页"
  38921. }, {
  38922. "pagePath": "pages/map/index",
  38923. "iconPath": "static/map.png",
  38924. "selectedIconPath": "static/mapHL.png",
  38925. "text": "地图"
  38926. }, {
  38927. "pagePath": "pages/customer/index",
  38928. "iconPath": "static/kf.png",
  38929. "selectedIconPath": "static/kfHL.png",
  38930. "text": "客服"
  38931. }, {
  38932. "pagePath": "pages/my/index",
  38933. "iconPath": "static/my.png",
  38934. "selectedIconPath": "static/myHL.png",
  38935. "text": "我的"
  38936. }]
  38937. },
  38938. "condition": {
  38939. "current": 0,
  38940. "list": [{
  38941. "name": "系统首页",
  38942. "path": "pages/index/index",
  38943. "query": ""
  38944. }]
  38945. }
  38946. };
  38947. exports.default = _default;
  38948. /***/ }),
  38949. /* 513 */
  38950. /*!*****************************************************************!*\
  38951. !*** D:/project/神鹿峰旅游/travel_applet/pages.json?{"type":"stat"} ***!
  38952. \*****************************************************************/
  38953. /*! no static exports found */
  38954. /***/ (function(module, exports, __webpack_require__) {
  38955. "use strict";
  38956. Object.defineProperty(exports, "__esModule", {
  38957. value: true
  38958. });
  38959. exports.default = void 0;
  38960. var _default = {
  38961. "appid": "__UNI__6867529"
  38962. };
  38963. exports.default = _default;
  38964. /***/ }),
  38965. /* 514 */,
  38966. /* 515 */,
  38967. /* 516 */,
  38968. /* 517 */,
  38969. /* 518 */,
  38970. /* 519 */,
  38971. /* 520 */,
  38972. /* 521 */,
  38973. /* 522 */,
  38974. /* 523 */,
  38975. /* 524 */,
  38976. /* 525 */,
  38977. /* 526 */,
  38978. /* 527 */,
  38979. /* 528 */
  38980. /*!******************************************************************************************!*\
  38981. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-icons/components/uni-icons/icons.js ***!
  38982. \******************************************************************************************/
  38983. /*! no static exports found */
  38984. /***/ (function(module, exports, __webpack_require__) {
  38985. "use strict";
  38986. Object.defineProperty(exports, "__esModule", {
  38987. value: true
  38988. });
  38989. exports.default = void 0;
  38990. var _default = {
  38991. "id": "2852637",
  38992. "name": "uniui图标库",
  38993. "font_family": "uniicons",
  38994. "css_prefix_text": "uniui-",
  38995. "description": "",
  38996. "glyphs": [{
  38997. "icon_id": "25027049",
  38998. "name": "yanse",
  38999. "font_class": "color",
  39000. "unicode": "e6cf",
  39001. "unicode_decimal": 59087
  39002. }, {
  39003. "icon_id": "25027048",
  39004. "name": "wallet",
  39005. "font_class": "wallet",
  39006. "unicode": "e6b1",
  39007. "unicode_decimal": 59057
  39008. }, {
  39009. "icon_id": "25015720",
  39010. "name": "settings-filled",
  39011. "font_class": "settings-filled",
  39012. "unicode": "e6ce",
  39013. "unicode_decimal": 59086
  39014. }, {
  39015. "icon_id": "25015434",
  39016. "name": "shimingrenzheng-filled",
  39017. "font_class": "auth-filled",
  39018. "unicode": "e6cc",
  39019. "unicode_decimal": 59084
  39020. }, {
  39021. "icon_id": "24934246",
  39022. "name": "shop-filled",
  39023. "font_class": "shop-filled",
  39024. "unicode": "e6cd",
  39025. "unicode_decimal": 59085
  39026. }, {
  39027. "icon_id": "24934159",
  39028. "name": "staff-filled-01",
  39029. "font_class": "staff-filled",
  39030. "unicode": "e6cb",
  39031. "unicode_decimal": 59083
  39032. }, {
  39033. "icon_id": "24932461",
  39034. "name": "VIP-filled",
  39035. "font_class": "vip-filled",
  39036. "unicode": "e6c6",
  39037. "unicode_decimal": 59078
  39038. }, {
  39039. "icon_id": "24932462",
  39040. "name": "plus_circle_fill",
  39041. "font_class": "plus-filled",
  39042. "unicode": "e6c7",
  39043. "unicode_decimal": 59079
  39044. }, {
  39045. "icon_id": "24932463",
  39046. "name": "folder_add-filled",
  39047. "font_class": "folder-add-filled",
  39048. "unicode": "e6c8",
  39049. "unicode_decimal": 59080
  39050. }, {
  39051. "icon_id": "24932464",
  39052. "name": "yanse-filled",
  39053. "font_class": "color-filled",
  39054. "unicode": "e6c9",
  39055. "unicode_decimal": 59081
  39056. }, {
  39057. "icon_id": "24932465",
  39058. "name": "tune-filled",
  39059. "font_class": "tune-filled",
  39060. "unicode": "e6ca",
  39061. "unicode_decimal": 59082
  39062. }, {
  39063. "icon_id": "24932455",
  39064. "name": "a-rilidaka-filled",
  39065. "font_class": "calendar-filled",
  39066. "unicode": "e6c0",
  39067. "unicode_decimal": 59072
  39068. }, {
  39069. "icon_id": "24932456",
  39070. "name": "notification-filled",
  39071. "font_class": "notification-filled",
  39072. "unicode": "e6c1",
  39073. "unicode_decimal": 59073
  39074. }, {
  39075. "icon_id": "24932457",
  39076. "name": "wallet-filled",
  39077. "font_class": "wallet-filled",
  39078. "unicode": "e6c2",
  39079. "unicode_decimal": 59074
  39080. }, {
  39081. "icon_id": "24932458",
  39082. "name": "paihangbang-filled",
  39083. "font_class": "medal-filled",
  39084. "unicode": "e6c3",
  39085. "unicode_decimal": 59075
  39086. }, {
  39087. "icon_id": "24932459",
  39088. "name": "gift-filled",
  39089. "font_class": "gift-filled",
  39090. "unicode": "e6c4",
  39091. "unicode_decimal": 59076
  39092. }, {
  39093. "icon_id": "24932460",
  39094. "name": "fire-filled",
  39095. "font_class": "fire-filled",
  39096. "unicode": "e6c5",
  39097. "unicode_decimal": 59077
  39098. }, {
  39099. "icon_id": "24928001",
  39100. "name": "refreshempty",
  39101. "font_class": "refreshempty",
  39102. "unicode": "e6bf",
  39103. "unicode_decimal": 59071
  39104. }, {
  39105. "icon_id": "24926853",
  39106. "name": "location-ellipse",
  39107. "font_class": "location-filled",
  39108. "unicode": "e6af",
  39109. "unicode_decimal": 59055
  39110. }, {
  39111. "icon_id": "24926735",
  39112. "name": "person-filled",
  39113. "font_class": "person-filled",
  39114. "unicode": "e69d",
  39115. "unicode_decimal": 59037
  39116. }, {
  39117. "icon_id": "24926703",
  39118. "name": "personadd-filled",
  39119. "font_class": "personadd-filled",
  39120. "unicode": "e698",
  39121. "unicode_decimal": 59032
  39122. }, {
  39123. "icon_id": "24923351",
  39124. "name": "back",
  39125. "font_class": "back",
  39126. "unicode": "e6b9",
  39127. "unicode_decimal": 59065
  39128. }, {
  39129. "icon_id": "24923352",
  39130. "name": "forward",
  39131. "font_class": "forward",
  39132. "unicode": "e6ba",
  39133. "unicode_decimal": 59066
  39134. }, {
  39135. "icon_id": "24923353",
  39136. "name": "arrowthinright",
  39137. "font_class": "arrow-right",
  39138. "unicode": "e6bb",
  39139. "unicode_decimal": 59067
  39140. }, {
  39141. "icon_id": "24923353",
  39142. "name": "arrowthinright",
  39143. "font_class": "arrowthinright",
  39144. "unicode": "e6bb",
  39145. "unicode_decimal": 59067
  39146. }, {
  39147. "icon_id": "24923354",
  39148. "name": "arrowthinleft",
  39149. "font_class": "arrow-left",
  39150. "unicode": "e6bc",
  39151. "unicode_decimal": 59068
  39152. }, {
  39153. "icon_id": "24923354",
  39154. "name": "arrowthinleft",
  39155. "font_class": "arrowthinleft",
  39156. "unicode": "e6bc",
  39157. "unicode_decimal": 59068
  39158. }, {
  39159. "icon_id": "24923355",
  39160. "name": "arrowthinup",
  39161. "font_class": "arrow-up",
  39162. "unicode": "e6bd",
  39163. "unicode_decimal": 59069
  39164. }, {
  39165. "icon_id": "24923355",
  39166. "name": "arrowthinup",
  39167. "font_class": "arrowthinup",
  39168. "unicode": "e6bd",
  39169. "unicode_decimal": 59069
  39170. }, {
  39171. "icon_id": "24923356",
  39172. "name": "arrowthindown",
  39173. "font_class": "arrow-down",
  39174. "unicode": "e6be",
  39175. "unicode_decimal": 59070
  39176. }, {
  39177. "icon_id": "24923356",
  39178. "name": "arrowthindown",
  39179. "font_class": "arrowthindown",
  39180. "unicode": "e6be",
  39181. "unicode_decimal": 59070
  39182. }, {
  39183. "icon_id": "24923349",
  39184. "name": "arrowdown",
  39185. "font_class": "bottom",
  39186. "unicode": "e6b8",
  39187. "unicode_decimal": 59064
  39188. }, {
  39189. "icon_id": "24923349",
  39190. "name": "arrowdown",
  39191. "font_class": "arrowdown",
  39192. "unicode": "e6b8",
  39193. "unicode_decimal": 59064
  39194. }, {
  39195. "icon_id": "24923346",
  39196. "name": "arrowright",
  39197. "font_class": "right",
  39198. "unicode": "e6b5",
  39199. "unicode_decimal": 59061
  39200. }, {
  39201. "icon_id": "24923346",
  39202. "name": "arrowright",
  39203. "font_class": "arrowright",
  39204. "unicode": "e6b5",
  39205. "unicode_decimal": 59061
  39206. }, {
  39207. "icon_id": "24923347",
  39208. "name": "arrowup",
  39209. "font_class": "top",
  39210. "unicode": "e6b6",
  39211. "unicode_decimal": 59062
  39212. }, {
  39213. "icon_id": "24923347",
  39214. "name": "arrowup",
  39215. "font_class": "arrowup",
  39216. "unicode": "e6b6",
  39217. "unicode_decimal": 59062
  39218. }, {
  39219. "icon_id": "24923348",
  39220. "name": "arrowleft",
  39221. "font_class": "left",
  39222. "unicode": "e6b7",
  39223. "unicode_decimal": 59063
  39224. }, {
  39225. "icon_id": "24923348",
  39226. "name": "arrowleft",
  39227. "font_class": "arrowleft",
  39228. "unicode": "e6b7",
  39229. "unicode_decimal": 59063
  39230. }, {
  39231. "icon_id": "24923334",
  39232. "name": "eye",
  39233. "font_class": "eye",
  39234. "unicode": "e651",
  39235. "unicode_decimal": 58961
  39236. }, {
  39237. "icon_id": "24923335",
  39238. "name": "eye-filled",
  39239. "font_class": "eye-filled",
  39240. "unicode": "e66a",
  39241. "unicode_decimal": 58986
  39242. }, {
  39243. "icon_id": "24923336",
  39244. "name": "eye-slash",
  39245. "font_class": "eye-slash",
  39246. "unicode": "e6b3",
  39247. "unicode_decimal": 59059
  39248. }, {
  39249. "icon_id": "24923337",
  39250. "name": "eye-slash-filled",
  39251. "font_class": "eye-slash-filled",
  39252. "unicode": "e6b4",
  39253. "unicode_decimal": 59060
  39254. }, {
  39255. "icon_id": "24923305",
  39256. "name": "info-filled",
  39257. "font_class": "info-filled",
  39258. "unicode": "e649",
  39259. "unicode_decimal": 58953
  39260. }, {
  39261. "icon_id": "24923299",
  39262. "name": "reload-01",
  39263. "font_class": "reload",
  39264. "unicode": "e6b2",
  39265. "unicode_decimal": 59058
  39266. }, {
  39267. "icon_id": "24923195",
  39268. "name": "mic_slash_fill",
  39269. "font_class": "micoff-filled",
  39270. "unicode": "e6b0",
  39271. "unicode_decimal": 59056
  39272. }, {
  39273. "icon_id": "24923165",
  39274. "name": "map-pin-ellipse",
  39275. "font_class": "map-pin-ellipse",
  39276. "unicode": "e6ac",
  39277. "unicode_decimal": 59052
  39278. }, {
  39279. "icon_id": "24923166",
  39280. "name": "map-pin",
  39281. "font_class": "map-pin",
  39282. "unicode": "e6ad",
  39283. "unicode_decimal": 59053
  39284. }, {
  39285. "icon_id": "24923167",
  39286. "name": "location",
  39287. "font_class": "location",
  39288. "unicode": "e6ae",
  39289. "unicode_decimal": 59054
  39290. }, {
  39291. "icon_id": "24923064",
  39292. "name": "starhalf",
  39293. "font_class": "starhalf",
  39294. "unicode": "e683",
  39295. "unicode_decimal": 59011
  39296. }, {
  39297. "icon_id": "24923065",
  39298. "name": "star",
  39299. "font_class": "star",
  39300. "unicode": "e688",
  39301. "unicode_decimal": 59016
  39302. }, {
  39303. "icon_id": "24923066",
  39304. "name": "star-filled",
  39305. "font_class": "star-filled",
  39306. "unicode": "e68f",
  39307. "unicode_decimal": 59023
  39308. }, {
  39309. "icon_id": "24899646",
  39310. "name": "a-rilidaka",
  39311. "font_class": "calendar",
  39312. "unicode": "e6a0",
  39313. "unicode_decimal": 59040
  39314. }, {
  39315. "icon_id": "24899647",
  39316. "name": "fire",
  39317. "font_class": "fire",
  39318. "unicode": "e6a1",
  39319. "unicode_decimal": 59041
  39320. }, {
  39321. "icon_id": "24899648",
  39322. "name": "paihangbang",
  39323. "font_class": "medal",
  39324. "unicode": "e6a2",
  39325. "unicode_decimal": 59042
  39326. }, {
  39327. "icon_id": "24899649",
  39328. "name": "font",
  39329. "font_class": "font",
  39330. "unicode": "e6a3",
  39331. "unicode_decimal": 59043
  39332. }, {
  39333. "icon_id": "24899650",
  39334. "name": "gift",
  39335. "font_class": "gift",
  39336. "unicode": "e6a4",
  39337. "unicode_decimal": 59044
  39338. }, {
  39339. "icon_id": "24899651",
  39340. "name": "link",
  39341. "font_class": "link",
  39342. "unicode": "e6a5",
  39343. "unicode_decimal": 59045
  39344. }, {
  39345. "icon_id": "24899652",
  39346. "name": "notification",
  39347. "font_class": "notification",
  39348. "unicode": "e6a6",
  39349. "unicode_decimal": 59046
  39350. }, {
  39351. "icon_id": "24899653",
  39352. "name": "staff",
  39353. "font_class": "staff",
  39354. "unicode": "e6a7",
  39355. "unicode_decimal": 59047
  39356. }, {
  39357. "icon_id": "24899654",
  39358. "name": "VIP",
  39359. "font_class": "vip",
  39360. "unicode": "e6a8",
  39361. "unicode_decimal": 59048
  39362. }, {
  39363. "icon_id": "24899655",
  39364. "name": "folder_add",
  39365. "font_class": "folder-add",
  39366. "unicode": "e6a9",
  39367. "unicode_decimal": 59049
  39368. }, {
  39369. "icon_id": "24899656",
  39370. "name": "tune",
  39371. "font_class": "tune",
  39372. "unicode": "e6aa",
  39373. "unicode_decimal": 59050
  39374. }, {
  39375. "icon_id": "24899657",
  39376. "name": "shimingrenzheng",
  39377. "font_class": "auth",
  39378. "unicode": "e6ab",
  39379. "unicode_decimal": 59051
  39380. }, {
  39381. "icon_id": "24899565",
  39382. "name": "person",
  39383. "font_class": "person",
  39384. "unicode": "e699",
  39385. "unicode_decimal": 59033
  39386. }, {
  39387. "icon_id": "24899566",
  39388. "name": "email-filled",
  39389. "font_class": "email-filled",
  39390. "unicode": "e69a",
  39391. "unicode_decimal": 59034
  39392. }, {
  39393. "icon_id": "24899567",
  39394. "name": "phone-filled",
  39395. "font_class": "phone-filled",
  39396. "unicode": "e69b",
  39397. "unicode_decimal": 59035
  39398. }, {
  39399. "icon_id": "24899568",
  39400. "name": "phone",
  39401. "font_class": "phone",
  39402. "unicode": "e69c",
  39403. "unicode_decimal": 59036
  39404. }, {
  39405. "icon_id": "24899570",
  39406. "name": "email",
  39407. "font_class": "email",
  39408. "unicode": "e69e",
  39409. "unicode_decimal": 59038
  39410. }, {
  39411. "icon_id": "24899571",
  39412. "name": "personadd",
  39413. "font_class": "personadd",
  39414. "unicode": "e69f",
  39415. "unicode_decimal": 59039
  39416. }, {
  39417. "icon_id": "24899558",
  39418. "name": "chatboxes-filled",
  39419. "font_class": "chatboxes-filled",
  39420. "unicode": "e692",
  39421. "unicode_decimal": 59026
  39422. }, {
  39423. "icon_id": "24899559",
  39424. "name": "contact",
  39425. "font_class": "contact",
  39426. "unicode": "e693",
  39427. "unicode_decimal": 59027
  39428. }, {
  39429. "icon_id": "24899560",
  39430. "name": "chatbubble-filled",
  39431. "font_class": "chatbubble-filled",
  39432. "unicode": "e694",
  39433. "unicode_decimal": 59028
  39434. }, {
  39435. "icon_id": "24899561",
  39436. "name": "contact-filled",
  39437. "font_class": "contact-filled",
  39438. "unicode": "e695",
  39439. "unicode_decimal": 59029
  39440. }, {
  39441. "icon_id": "24899562",
  39442. "name": "chatboxes",
  39443. "font_class": "chatboxes",
  39444. "unicode": "e696",
  39445. "unicode_decimal": 59030
  39446. }, {
  39447. "icon_id": "24899563",
  39448. "name": "chatbubble",
  39449. "font_class": "chatbubble",
  39450. "unicode": "e697",
  39451. "unicode_decimal": 59031
  39452. }, {
  39453. "icon_id": "24881290",
  39454. "name": "upload-filled",
  39455. "font_class": "upload-filled",
  39456. "unicode": "e68e",
  39457. "unicode_decimal": 59022
  39458. }, {
  39459. "icon_id": "24881292",
  39460. "name": "upload",
  39461. "font_class": "upload",
  39462. "unicode": "e690",
  39463. "unicode_decimal": 59024
  39464. }, {
  39465. "icon_id": "24881293",
  39466. "name": "weixin",
  39467. "font_class": "weixin",
  39468. "unicode": "e691",
  39469. "unicode_decimal": 59025
  39470. }, {
  39471. "icon_id": "24881274",
  39472. "name": "compose",
  39473. "font_class": "compose",
  39474. "unicode": "e67f",
  39475. "unicode_decimal": 59007
  39476. }, {
  39477. "icon_id": "24881275",
  39478. "name": "qq",
  39479. "font_class": "qq",
  39480. "unicode": "e680",
  39481. "unicode_decimal": 59008
  39482. }, {
  39483. "icon_id": "24881276",
  39484. "name": "download-filled",
  39485. "font_class": "download-filled",
  39486. "unicode": "e681",
  39487. "unicode_decimal": 59009
  39488. }, {
  39489. "icon_id": "24881277",
  39490. "name": "pengyouquan",
  39491. "font_class": "pyq",
  39492. "unicode": "e682",
  39493. "unicode_decimal": 59010
  39494. }, {
  39495. "icon_id": "24881279",
  39496. "name": "sound",
  39497. "font_class": "sound",
  39498. "unicode": "e684",
  39499. "unicode_decimal": 59012
  39500. }, {
  39501. "icon_id": "24881280",
  39502. "name": "trash-filled",
  39503. "font_class": "trash-filled",
  39504. "unicode": "e685",
  39505. "unicode_decimal": 59013
  39506. }, {
  39507. "icon_id": "24881281",
  39508. "name": "sound-filled",
  39509. "font_class": "sound-filled",
  39510. "unicode": "e686",
  39511. "unicode_decimal": 59014
  39512. }, {
  39513. "icon_id": "24881282",
  39514. "name": "trash",
  39515. "font_class": "trash",
  39516. "unicode": "e687",
  39517. "unicode_decimal": 59015
  39518. }, {
  39519. "icon_id": "24881284",
  39520. "name": "videocam-filled",
  39521. "font_class": "videocam-filled",
  39522. "unicode": "e689",
  39523. "unicode_decimal": 59017
  39524. }, {
  39525. "icon_id": "24881285",
  39526. "name": "spinner-cycle",
  39527. "font_class": "spinner-cycle",
  39528. "unicode": "e68a",
  39529. "unicode_decimal": 59018
  39530. }, {
  39531. "icon_id": "24881286",
  39532. "name": "weibo",
  39533. "font_class": "weibo",
  39534. "unicode": "e68b",
  39535. "unicode_decimal": 59019
  39536. }, {
  39537. "icon_id": "24881288",
  39538. "name": "videocam",
  39539. "font_class": "videocam",
  39540. "unicode": "e68c",
  39541. "unicode_decimal": 59020
  39542. }, {
  39543. "icon_id": "24881289",
  39544. "name": "download",
  39545. "font_class": "download",
  39546. "unicode": "e68d",
  39547. "unicode_decimal": 59021
  39548. }, {
  39549. "icon_id": "24879601",
  39550. "name": "help",
  39551. "font_class": "help",
  39552. "unicode": "e679",
  39553. "unicode_decimal": 59001
  39554. }, {
  39555. "icon_id": "24879602",
  39556. "name": "navigate-filled",
  39557. "font_class": "navigate-filled",
  39558. "unicode": "e67a",
  39559. "unicode_decimal": 59002
  39560. }, {
  39561. "icon_id": "24879603",
  39562. "name": "plusempty",
  39563. "font_class": "plusempty",
  39564. "unicode": "e67b",
  39565. "unicode_decimal": 59003
  39566. }, {
  39567. "icon_id": "24879604",
  39568. "name": "smallcircle",
  39569. "font_class": "smallcircle",
  39570. "unicode": "e67c",
  39571. "unicode_decimal": 59004
  39572. }, {
  39573. "icon_id": "24879605",
  39574. "name": "minus-filled",
  39575. "font_class": "minus-filled",
  39576. "unicode": "e67d",
  39577. "unicode_decimal": 59005
  39578. }, {
  39579. "icon_id": "24879606",
  39580. "name": "micoff",
  39581. "font_class": "micoff",
  39582. "unicode": "e67e",
  39583. "unicode_decimal": 59006
  39584. }, {
  39585. "icon_id": "24879588",
  39586. "name": "closeempty",
  39587. "font_class": "closeempty",
  39588. "unicode": "e66c",
  39589. "unicode_decimal": 58988
  39590. }, {
  39591. "icon_id": "24879589",
  39592. "name": "clear",
  39593. "font_class": "clear",
  39594. "unicode": "e66d",
  39595. "unicode_decimal": 58989
  39596. }, {
  39597. "icon_id": "24879590",
  39598. "name": "navigate",
  39599. "font_class": "navigate",
  39600. "unicode": "e66e",
  39601. "unicode_decimal": 58990
  39602. }, {
  39603. "icon_id": "24879591",
  39604. "name": "minus",
  39605. "font_class": "minus",
  39606. "unicode": "e66f",
  39607. "unicode_decimal": 58991
  39608. }, {
  39609. "icon_id": "24879592",
  39610. "name": "image",
  39611. "font_class": "image",
  39612. "unicode": "e670",
  39613. "unicode_decimal": 58992
  39614. }, {
  39615. "icon_id": "24879593",
  39616. "name": "mic",
  39617. "font_class": "mic",
  39618. "unicode": "e671",
  39619. "unicode_decimal": 58993
  39620. }, {
  39621. "icon_id": "24879594",
  39622. "name": "paperplane",
  39623. "font_class": "paperplane",
  39624. "unicode": "e672",
  39625. "unicode_decimal": 58994
  39626. }, {
  39627. "icon_id": "24879595",
  39628. "name": "close",
  39629. "font_class": "close",
  39630. "unicode": "e673",
  39631. "unicode_decimal": 58995
  39632. }, {
  39633. "icon_id": "24879596",
  39634. "name": "help-filled",
  39635. "font_class": "help-filled",
  39636. "unicode": "e674",
  39637. "unicode_decimal": 58996
  39638. }, {
  39639. "icon_id": "24879597",
  39640. "name": "plus-filled",
  39641. "font_class": "paperplane-filled",
  39642. "unicode": "e675",
  39643. "unicode_decimal": 58997
  39644. }, {
  39645. "icon_id": "24879598",
  39646. "name": "plus",
  39647. "font_class": "plus",
  39648. "unicode": "e676",
  39649. "unicode_decimal": 58998
  39650. }, {
  39651. "icon_id": "24879599",
  39652. "name": "mic-filled",
  39653. "font_class": "mic-filled",
  39654. "unicode": "e677",
  39655. "unicode_decimal": 58999
  39656. }, {
  39657. "icon_id": "24879600",
  39658. "name": "image-filled",
  39659. "font_class": "image-filled",
  39660. "unicode": "e678",
  39661. "unicode_decimal": 59000
  39662. }, {
  39663. "icon_id": "24855900",
  39664. "name": "locked-filled",
  39665. "font_class": "locked-filled",
  39666. "unicode": "e668",
  39667. "unicode_decimal": 58984
  39668. }, {
  39669. "icon_id": "24855901",
  39670. "name": "info",
  39671. "font_class": "info",
  39672. "unicode": "e669",
  39673. "unicode_decimal": 58985
  39674. }, {
  39675. "icon_id": "24855903",
  39676. "name": "locked",
  39677. "font_class": "locked",
  39678. "unicode": "e66b",
  39679. "unicode_decimal": 58987
  39680. }, {
  39681. "icon_id": "24855884",
  39682. "name": "camera-filled",
  39683. "font_class": "camera-filled",
  39684. "unicode": "e658",
  39685. "unicode_decimal": 58968
  39686. }, {
  39687. "icon_id": "24855885",
  39688. "name": "chat-filled",
  39689. "font_class": "chat-filled",
  39690. "unicode": "e659",
  39691. "unicode_decimal": 58969
  39692. }, {
  39693. "icon_id": "24855886",
  39694. "name": "camera",
  39695. "font_class": "camera",
  39696. "unicode": "e65a",
  39697. "unicode_decimal": 58970
  39698. }, {
  39699. "icon_id": "24855887",
  39700. "name": "circle",
  39701. "font_class": "circle",
  39702. "unicode": "e65b",
  39703. "unicode_decimal": 58971
  39704. }, {
  39705. "icon_id": "24855888",
  39706. "name": "checkmarkempty",
  39707. "font_class": "checkmarkempty",
  39708. "unicode": "e65c",
  39709. "unicode_decimal": 58972
  39710. }, {
  39711. "icon_id": "24855889",
  39712. "name": "chat",
  39713. "font_class": "chat",
  39714. "unicode": "e65d",
  39715. "unicode_decimal": 58973
  39716. }, {
  39717. "icon_id": "24855890",
  39718. "name": "circle-filled",
  39719. "font_class": "circle-filled",
  39720. "unicode": "e65e",
  39721. "unicode_decimal": 58974
  39722. }, {
  39723. "icon_id": "24855891",
  39724. "name": "flag",
  39725. "font_class": "flag",
  39726. "unicode": "e65f",
  39727. "unicode_decimal": 58975
  39728. }, {
  39729. "icon_id": "24855892",
  39730. "name": "flag-filled",
  39731. "font_class": "flag-filled",
  39732. "unicode": "e660",
  39733. "unicode_decimal": 58976
  39734. }, {
  39735. "icon_id": "24855893",
  39736. "name": "gear-filled",
  39737. "font_class": "gear-filled",
  39738. "unicode": "e661",
  39739. "unicode_decimal": 58977
  39740. }, {
  39741. "icon_id": "24855894",
  39742. "name": "home",
  39743. "font_class": "home",
  39744. "unicode": "e662",
  39745. "unicode_decimal": 58978
  39746. }, {
  39747. "icon_id": "24855895",
  39748. "name": "home-filled",
  39749. "font_class": "home-filled",
  39750. "unicode": "e663",
  39751. "unicode_decimal": 58979
  39752. }, {
  39753. "icon_id": "24855896",
  39754. "name": "gear",
  39755. "font_class": "gear",
  39756. "unicode": "e664",
  39757. "unicode_decimal": 58980
  39758. }, {
  39759. "icon_id": "24855897",
  39760. "name": "smallcircle-filled",
  39761. "font_class": "smallcircle-filled",
  39762. "unicode": "e665",
  39763. "unicode_decimal": 58981
  39764. }, {
  39765. "icon_id": "24855898",
  39766. "name": "map-filled",
  39767. "font_class": "map-filled",
  39768. "unicode": "e666",
  39769. "unicode_decimal": 58982
  39770. }, {
  39771. "icon_id": "24855899",
  39772. "name": "map",
  39773. "font_class": "map",
  39774. "unicode": "e667",
  39775. "unicode_decimal": 58983
  39776. }, {
  39777. "icon_id": "24855825",
  39778. "name": "refresh-filled",
  39779. "font_class": "refresh-filled",
  39780. "unicode": "e656",
  39781. "unicode_decimal": 58966
  39782. }, {
  39783. "icon_id": "24855826",
  39784. "name": "refresh",
  39785. "font_class": "refresh",
  39786. "unicode": "e657",
  39787. "unicode_decimal": 58967
  39788. }, {
  39789. "icon_id": "24855808",
  39790. "name": "cloud-upload",
  39791. "font_class": "cloud-upload",
  39792. "unicode": "e645",
  39793. "unicode_decimal": 58949
  39794. }, {
  39795. "icon_id": "24855809",
  39796. "name": "cloud-download-filled",
  39797. "font_class": "cloud-download-filled",
  39798. "unicode": "e646",
  39799. "unicode_decimal": 58950
  39800. }, {
  39801. "icon_id": "24855810",
  39802. "name": "cloud-download",
  39803. "font_class": "cloud-download",
  39804. "unicode": "e647",
  39805. "unicode_decimal": 58951
  39806. }, {
  39807. "icon_id": "24855811",
  39808. "name": "cloud-upload-filled",
  39809. "font_class": "cloud-upload-filled",
  39810. "unicode": "e648",
  39811. "unicode_decimal": 58952
  39812. }, {
  39813. "icon_id": "24855813",
  39814. "name": "redo",
  39815. "font_class": "redo",
  39816. "unicode": "e64a",
  39817. "unicode_decimal": 58954
  39818. }, {
  39819. "icon_id": "24855814",
  39820. "name": "images-filled",
  39821. "font_class": "images-filled",
  39822. "unicode": "e64b",
  39823. "unicode_decimal": 58955
  39824. }, {
  39825. "icon_id": "24855815",
  39826. "name": "undo-filled",
  39827. "font_class": "undo-filled",
  39828. "unicode": "e64c",
  39829. "unicode_decimal": 58956
  39830. }, {
  39831. "icon_id": "24855816",
  39832. "name": "more",
  39833. "font_class": "more",
  39834. "unicode": "e64d",
  39835. "unicode_decimal": 58957
  39836. }, {
  39837. "icon_id": "24855817",
  39838. "name": "more-filled",
  39839. "font_class": "more-filled",
  39840. "unicode": "e64e",
  39841. "unicode_decimal": 58958
  39842. }, {
  39843. "icon_id": "24855818",
  39844. "name": "undo",
  39845. "font_class": "undo",
  39846. "unicode": "e64f",
  39847. "unicode_decimal": 58959
  39848. }, {
  39849. "icon_id": "24855819",
  39850. "name": "images",
  39851. "font_class": "images",
  39852. "unicode": "e650",
  39853. "unicode_decimal": 58960
  39854. }, {
  39855. "icon_id": "24855821",
  39856. "name": "paperclip",
  39857. "font_class": "paperclip",
  39858. "unicode": "e652",
  39859. "unicode_decimal": 58962
  39860. }, {
  39861. "icon_id": "24855822",
  39862. "name": "settings",
  39863. "font_class": "settings",
  39864. "unicode": "e653",
  39865. "unicode_decimal": 58963
  39866. }, {
  39867. "icon_id": "24855823",
  39868. "name": "search",
  39869. "font_class": "search",
  39870. "unicode": "e654",
  39871. "unicode_decimal": 58964
  39872. }, {
  39873. "icon_id": "24855824",
  39874. "name": "redo-filled",
  39875. "font_class": "redo-filled",
  39876. "unicode": "e655",
  39877. "unicode_decimal": 58965
  39878. }, {
  39879. "icon_id": "24841702",
  39880. "name": "list",
  39881. "font_class": "list",
  39882. "unicode": "e644",
  39883. "unicode_decimal": 58948
  39884. }, {
  39885. "icon_id": "24841489",
  39886. "name": "mail-open-filled",
  39887. "font_class": "mail-open-filled",
  39888. "unicode": "e63a",
  39889. "unicode_decimal": 58938
  39890. }, {
  39891. "icon_id": "24841491",
  39892. "name": "hand-thumbsdown-filled",
  39893. "font_class": "hand-down-filled",
  39894. "unicode": "e63c",
  39895. "unicode_decimal": 58940
  39896. }, {
  39897. "icon_id": "24841492",
  39898. "name": "hand-thumbsdown",
  39899. "font_class": "hand-down",
  39900. "unicode": "e63d",
  39901. "unicode_decimal": 58941
  39902. }, {
  39903. "icon_id": "24841493",
  39904. "name": "hand-thumbsup-filled",
  39905. "font_class": "hand-up-filled",
  39906. "unicode": "e63e",
  39907. "unicode_decimal": 58942
  39908. }, {
  39909. "icon_id": "24841494",
  39910. "name": "hand-thumbsup",
  39911. "font_class": "hand-up",
  39912. "unicode": "e63f",
  39913. "unicode_decimal": 58943
  39914. }, {
  39915. "icon_id": "24841496",
  39916. "name": "heart-filled",
  39917. "font_class": "heart-filled",
  39918. "unicode": "e641",
  39919. "unicode_decimal": 58945
  39920. }, {
  39921. "icon_id": "24841498",
  39922. "name": "mail-open",
  39923. "font_class": "mail-open",
  39924. "unicode": "e643",
  39925. "unicode_decimal": 58947
  39926. }, {
  39927. "icon_id": "24841488",
  39928. "name": "heart",
  39929. "font_class": "heart",
  39930. "unicode": "e639",
  39931. "unicode_decimal": 58937
  39932. }, {
  39933. "icon_id": "24839963",
  39934. "name": "loop",
  39935. "font_class": "loop",
  39936. "unicode": "e633",
  39937. "unicode_decimal": 58931
  39938. }, {
  39939. "icon_id": "24839866",
  39940. "name": "pulldown",
  39941. "font_class": "pulldown",
  39942. "unicode": "e632",
  39943. "unicode_decimal": 58930
  39944. }, {
  39945. "icon_id": "24813798",
  39946. "name": "scan",
  39947. "font_class": "scan",
  39948. "unicode": "e62a",
  39949. "unicode_decimal": 58922
  39950. }, {
  39951. "icon_id": "24813786",
  39952. "name": "bars",
  39953. "font_class": "bars",
  39954. "unicode": "e627",
  39955. "unicode_decimal": 58919
  39956. }, {
  39957. "icon_id": "24813788",
  39958. "name": "cart-filled",
  39959. "font_class": "cart-filled",
  39960. "unicode": "e629",
  39961. "unicode_decimal": 58921
  39962. }, {
  39963. "icon_id": "24813790",
  39964. "name": "checkbox",
  39965. "font_class": "checkbox",
  39966. "unicode": "e62b",
  39967. "unicode_decimal": 58923
  39968. }, {
  39969. "icon_id": "24813791",
  39970. "name": "checkbox-filled",
  39971. "font_class": "checkbox-filled",
  39972. "unicode": "e62c",
  39973. "unicode_decimal": 58924
  39974. }, {
  39975. "icon_id": "24813794",
  39976. "name": "shop",
  39977. "font_class": "shop",
  39978. "unicode": "e62f",
  39979. "unicode_decimal": 58927
  39980. }, {
  39981. "icon_id": "24813795",
  39982. "name": "headphones",
  39983. "font_class": "headphones",
  39984. "unicode": "e630",
  39985. "unicode_decimal": 58928
  39986. }, {
  39987. "icon_id": "24813796",
  39988. "name": "cart",
  39989. "font_class": "cart",
  39990. "unicode": "e631",
  39991. "unicode_decimal": 58929
  39992. }]
  39993. };
  39994. exports.default = _default;
  39995. /***/ }),
  39996. /* 529 */,
  39997. /* 530 */,
  39998. /* 531 */,
  39999. /* 532 */,
  40000. /* 533 */,
  40001. /* 534 */,
  40002. /* 535 */,
  40003. /* 536 */,
  40004. /* 537 */,
  40005. /* 538 */,
  40006. /* 539 */,
  40007. /* 540 */,
  40008. /* 541 */,
  40009. /* 542 */,
  40010. /* 543 */
  40011. /*!*******************************************************************************************!*\
  40012. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/index.js ***!
  40013. \*******************************************************************************************/
  40014. /*! no static exports found */
  40015. /***/ (function(module, exports, __webpack_require__) {
  40016. "use strict";
  40017. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  40018. Object.defineProperty(exports, "__esModule", {
  40019. value: true
  40020. });
  40021. exports.default = void 0;
  40022. var _en = _interopRequireDefault(__webpack_require__(/*! ./en.json */ 544));
  40023. var _zhHans = _interopRequireDefault(__webpack_require__(/*! ./zh-Hans.json */ 545));
  40024. var _zhHant = _interopRequireDefault(__webpack_require__(/*! ./zh-Hant.json */ 546));
  40025. var _default = {
  40026. en: _en.default,
  40027. 'zh-Hans': _zhHans.default,
  40028. 'zh-Hant': _zhHant.default
  40029. };
  40030. exports.default = _default;
  40031. /***/ }),
  40032. /* 544 */
  40033. /*!******************************************************************************************!*\
  40034. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/en.json ***!
  40035. \******************************************************************************************/
  40036. /*! exports provided: uni-fav.collect, uni-fav.collected, default */
  40037. /***/ (function(module) {
  40038. module.exports = JSON.parse("{\"uni-fav.collect\":\"collect\",\"uni-fav.collected\":\"collected\"}");
  40039. /***/ }),
  40040. /* 545 */
  40041. /*!***********************************************************************************************!*\
  40042. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hans.json ***!
  40043. \***********************************************************************************************/
  40044. /*! exports provided: uni-fav.collect, uni-fav.collected, default */
  40045. /***/ (function(module) {
  40046. module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
  40047. /***/ }),
  40048. /* 546 */
  40049. /*!***********************************************************************************************!*\
  40050. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-fav/components/uni-fav/i18n/zh-Hant.json ***!
  40051. \***********************************************************************************************/
  40052. /*! exports provided: uni-fav.collect, uni-fav.collected, default */
  40053. /***/ (function(module) {
  40054. module.exports = JSON.parse("{\"uni-fav.collect\":\"收藏\",\"uni-fav.collected\":\"已收藏\"}");
  40055. /***/ }),
  40056. /* 547 */,
  40057. /* 548 */,
  40058. /* 549 */,
  40059. /* 550 */,
  40060. /* 551 */,
  40061. /* 552 */,
  40062. /* 553 */,
  40063. /* 554 */,
  40064. /* 555 */,
  40065. /* 556 */,
  40066. /* 557 */,
  40067. /* 558 */,
  40068. /* 559 */,
  40069. /* 560 */,
  40070. /* 561 */,
  40071. /* 562 */,
  40072. /* 563 */,
  40073. /* 564 */,
  40074. /* 565 */,
  40075. /* 566 */,
  40076. /* 567 */,
  40077. /* 568 */,
  40078. /* 569 */,
  40079. /* 570 */,
  40080. /* 571 */,
  40081. /* 572 */,
  40082. /* 573 */,
  40083. /* 574 */,
  40084. /* 575 */
  40085. /*!**************************************************************************************************************!*\
  40086. !*** D:/project/神鹿峰旅游/travel_applet/uni_modules/uni-transition/components/uni-transition/createAnimation.js ***!
  40087. \**************************************************************************************************************/
  40088. /*! no static exports found */
  40089. /***/ (function(module, exports, __webpack_require__) {
  40090. "use strict";
  40091. /* WEBPACK VAR INJECTION */(function(uni) {
  40092. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  40093. Object.defineProperty(exports, "__esModule", {
  40094. value: true
  40095. });
  40096. exports.createAnimation = createAnimation;
  40097. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  40098. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  40099. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  40100. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  40101. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  40102. // const defaultOption = {
  40103. // duration: 300,
  40104. // timingFunction: 'linear',
  40105. // delay: 0,
  40106. // transformOrigin: '50% 50% 0'
  40107. // }
  40108. var MPAnimation = /*#__PURE__*/function () {
  40109. function MPAnimation(options, _this) {
  40110. (0, _classCallCheck2.default)(this, MPAnimation);
  40111. this.options = options;
  40112. // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误
  40113. this.animation = uni.createAnimation(_objectSpread({}, options));
  40114. this.currentStepAnimates = {};
  40115. this.next = 0;
  40116. this.$ = _this;
  40117. }
  40118. (0, _createClass2.default)(MPAnimation, [{
  40119. key: "_nvuePushAnimates",
  40120. value: function _nvuePushAnimates(type, args) {
  40121. var aniObj = this.currentStepAnimates[this.next];
  40122. var styles = {};
  40123. if (!aniObj) {
  40124. styles = {
  40125. styles: {},
  40126. config: {}
  40127. };
  40128. } else {
  40129. styles = aniObj;
  40130. }
  40131. if (animateTypes1.includes(type)) {
  40132. if (!styles.styles.transform) {
  40133. styles.styles.transform = '';
  40134. }
  40135. var unit = '';
  40136. if (type === 'rotate') {
  40137. unit = 'deg';
  40138. }
  40139. styles.styles.transform += "".concat(type, "(").concat(args + unit, ") ");
  40140. } else {
  40141. styles.styles[type] = "".concat(args);
  40142. }
  40143. this.currentStepAnimates[this.next] = styles;
  40144. }
  40145. }, {
  40146. key: "_animateRun",
  40147. value: function _animateRun() {
  40148. var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  40149. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  40150. var ref = this.$.$refs['ani'].ref;
  40151. if (!ref) return;
  40152. return new Promise(function (resolve, reject) {
  40153. nvueAnimation.transition(ref, _objectSpread({
  40154. styles: styles
  40155. }, config), function (res) {
  40156. resolve();
  40157. });
  40158. });
  40159. }
  40160. }, {
  40161. key: "_nvueNextAnimate",
  40162. value: function _nvueNextAnimate(animates) {
  40163. var _this2 = this;
  40164. var step = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  40165. var fn = arguments.length > 2 ? arguments[2] : undefined;
  40166. var obj = animates[step];
  40167. if (obj) {
  40168. var styles = obj.styles,
  40169. config = obj.config;
  40170. this._animateRun(styles, config).then(function () {
  40171. step += 1;
  40172. _this2._nvueNextAnimate(animates, step, fn);
  40173. });
  40174. } else {
  40175. this.currentStepAnimates = {};
  40176. typeof fn === 'function' && fn();
  40177. this.isEnd = true;
  40178. }
  40179. }
  40180. }, {
  40181. key: "step",
  40182. value: function step() {
  40183. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  40184. this.animation.step(config);
  40185. return this;
  40186. }
  40187. }, {
  40188. key: "run",
  40189. value: function run(fn) {
  40190. this.$.animationData = this.animation.export();
  40191. this.$.timer = setTimeout(function () {
  40192. typeof fn === 'function' && fn();
  40193. }, this.$.durationTime);
  40194. }
  40195. }]);
  40196. return MPAnimation;
  40197. }();
  40198. var animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d', 'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY', 'translateZ'];
  40199. var animateTypes2 = ['opacity', 'backgroundColor'];
  40200. var animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom'];
  40201. animateTypes1.concat(animateTypes2, animateTypes3).forEach(function (type) {
  40202. MPAnimation.prototype[type] = function () {
  40203. var _this$animation;
  40204. (_this$animation = this.animation)[type].apply(_this$animation, arguments);
  40205. return this;
  40206. };
  40207. });
  40208. function createAnimation(option, _this) {
  40209. if (!_this) return;
  40210. clearTimeout(_this.timer);
  40211. return new MPAnimation(option, _this);
  40212. }
  40213. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  40214. /***/ })
  40215. ]]);
  40216. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map